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(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return tt}});var b=re(32855),pe=re(59301),we={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=we,_e=re(7657),Ue=function(Le,ke){return pe.createElement(_e.Z,(0,b.Z)({},Le,{ref:ke,icon:Ae}))},De=pe.forwardRef(Ue),tt=De},12893:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return tt}});var b=re(32855),pe=re(59301),we={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=we,_e=re(7657),Ue=function(Le,ke){return pe.createElement(_e.Z,(0,b.Z)({},Le,{ref:ke,icon:Ae}))},De=pe.forwardRef(Ue),tt=De},32134:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return tt}});var b=re(32855),pe=re(59301),we={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=we,_e=re(7657),Ue=function(Le,ke){return pe.createElement(_e.Z,(0,b.Z)({},Le,{ref:ke,icon:Ae}))},De=pe.forwardRef(Ue),tt=De},21697:function(Et,Mt){"use strict";Mt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},69092:function(Et,Mt){"use strict";Mt.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"}},81025:function(Et,Mt){"use strict";Mt.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"}},68503:function(Et,Mt,re){"use strict";var b=re(59301),pe=Object.defineProperty,we=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,Ue=(Me,Le,ke)=>Le in Me?pe(Me,Le,{enumerable:!0,configurable:!0,writable:!0,value:ke}):Me[Le]=ke,De=(Me,Le)=>{for(var ke in Le||(Le={}))Ae.call(Le,ke)&&Ue(Me,ke,Le[ke]);if(we)for(var ke of we(Le))_e.call(Le,ke)&&Ue(Me,ke,Le[ke]);return Me};const tt=Me=>React.createElement("svg",De({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"}));Mt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUuMTkgMS40ODhhMi4xMzMgMi4xMzMgMCAwIDEgMy42MiAwbC45NiAxLjU0YS4yNS4yNSAwIDAgMCAuMTUyLjExbDEuNzYuNDM3YTIuMTMzIDIuMTMzIDAgMCAxIDEuMTIgMy40NDNsLTEuMjM0IDEuNDY1LjEzNiAxLjkxMmEyLjEzMyAyLjEzMyAwIDAgMS0xLjgyMyAyLjI2M2wtLjE1Mi4wMTZhMi4xMzMgMi4xMzMgMCAwIDEtLjk1NC0uMTVsLTEuNjgxLS42ODNhLjI1LjI1IDAgMCAwLS4xODggMGwtMS42ODEuNjgyYTIuMTMzIDIuMTMzIDAgMCAxLTIuOTMtMi4xMjhsLjEzLTEuODFhLjI1LjI1IDAgMCAwLS4wNTgtLjE3OEwxLjE5OCA3LjAxOGEyLjEzMyAyLjEzMyAwIDAgMSAxLjEyLTMuNDQzbDEuNzYtLjQzNmEuMjUuMjUgMCAwIDAgLjE1Mi0uMTFabTIuMDUzLjU0M2EuNjMzLjYzMyAwIDAgMC0uNzguMjVsLS45NiAxLjU0YTEuNzUgMS43NSAwIDAgMS0xLjA2NC43NzRsLTEuNzYxLjQzNmEuNjMzLjYzMyAwIDAgMC0uMzMyIDEuMDIyTDMuNTE0IDcuNDRjLjI5NC4zNDguNDQuNzk3LjQwNyAxLjI1MWwtLjEzIDEuODFhLjYzMy42MzMgMCAwIDAgLjg3LjYzMWwxLjY4MS0uNjgyYTEuNzUgMS43NSAwIDAgMSAxLjMxNiAwbDEuNjgxLjY4MmEuNjMzLjYzMyAwIDAgMCAuODctLjYzMWwtLjE4LTIuNTE4IDEuNjI1LTEuOTMxYS42MzMuNjMzIDAgMCAwLS4zMzItMS4wMjJsLTEuNzYxLS40MzZhMS43NSAxLjc1IDAgMCAxLTEuMDY1LS43NzRsLS45NTktMS41NGEuNjMzLjYzMyAwIDAgMC0uMjAzLS4yMDNabTEuNTQ0IDUuMjNhLjc1Ljc1IDAgMCAxIC4xMDIgMS40OTNsLS4xMDIuMDA3SDUuMzYyYS43NS43NSAwIDAgMS0uMTAyLTEuNDk0bC4xMDItLjAwNmgzLjQyNVoiIGZpbGw9IiMzMDYxRDAiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg=="},9164:function(Et,Mt,re){"use strict";var b=re(59301),pe=Object.defineProperty,we=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,Ue=(Me,Le,ke)=>Le in Me?pe(Me,Le,{enumerable:!0,configurable:!0,writable:!0,value:ke}):Me[Le]=ke,De=(Me,Le)=>{for(var ke in Le||(Le={}))Ae.call(Le,ke)&&Ue(Me,ke,Le[ke]);if(we)for(var ke of we(Le))_e.call(Le,ke)&&Ue(Me,ke,Le[ke]);return Me};const tt=Me=>React.createElement("svg",De({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"}));Mt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},11237:function(Et,Mt,re){"use strict";var b=re(59301),pe=Object.defineProperty,we=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,Ue=(Me,Le,ke)=>Le in Me?pe(Me,Le,{enumerable:!0,configurable:!0,writable:!0,value:ke}):Me[Le]=ke,De=(Me,Le)=>{for(var ke in Le||(Le={}))Ae.call(Le,ke)&&Ue(Me,ke,Le[ke]);if(we)for(var ke of we(Le))_e.call(Le,ke)&&Ue(Me,ke,Le[ke]);return Me};const tt=Me=>React.createElement("svg",De({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"}));Mt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},20397:function(){"use strict";function Et(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(Et.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(Et.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(Et.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(Et.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 Et))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 Mt=[];function re(le,E){var a=Mt.pop();return a===void 0?new go.Point(le,E):(a.x=le,a.y=E,a)}function b(){var le=Mt.pop();return le===void 0?new go.Point:le}function pe(le){Mt.push(le)}function we(le,E,a,x,y,z,te,ae,se){se||(se=new go.Point);var ie=le-a,he=y-te,be=NaN,He=NaN;if(ie===0)if(he===0)le===a&&(be=le,He=E);else{var Ne=(z-ae)/he,dt=z-Ne*y;be=le,He=Ne*be+dt}else if(he===0){var Re=(E-x)/ie,Ye=E-Re*le;be=y,He=Re*be+Ye}else{var Re=(E-x)/ie,Ne=(z-ae)/he,Ye=E-Re*le,dt=z-Ne*y;be=(dt-Ye)/(Re-Ne),He=Re*be+Ye}return se.x=be,se.y=He,se}function Ae(le,E,a,x,y,z,te,ae,se,ie,he,be,He,Ne){var dt=1-se,Re=se,Ye=le*dt+a*Re,We=E*dt+x*Re,qe=a*dt+y*Re,xe=x*dt+z*Re,gt=y*dt+te*Re,lt=z*dt+ae*Re,At=Ye*dt+qe*Re,mt=We*dt+xe*Re,Pn=qe*dt+gt*Re,un=xe*dt+lt*Re,Zt=At*dt+Pn*Re,_t=mt*dt+un*Re;ie.x=Ye,ie.y=We,he.x=At,he.y=mt,be.x=Zt,be.y=_t,He.x=Pn,He.y=un,Ne.x=gt,Ne.y=lt}var _e=new go.Spot(.156,.156),Ue=new go.Spot(.844,.844),De=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Et("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*De,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=_e,y.spot2=Ue,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,De*E,0,E,(1-De)*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,De*a,(1-De)*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,De*a,De*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-De)*E,0,0,(1-De)*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 Et("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 Et("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 Et("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 Et("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 Et("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 ke(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 Ge(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=ke(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],he=E[(x+te+z)%y];a[te*2]=ae,a[te*2+1]=we(ae.x,ae.y,ie.x,ie.y,se.x,se.y,he.x,he.y,new go.Point)}return a[a.length]=a[0],Le(E),a}go.Shape.defineFigureGenerator("Pentagon",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<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=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<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=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<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=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<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=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<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=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<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=ke(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=Ge(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=Ge(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=Ge(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=Ge(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=Ge(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=Ge(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 Et("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new Et("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 Et("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=_e,z.spot2=Ue,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 Et("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Et("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=De/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 Et("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 Et("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 Et("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,he=new go.PathFigure(se,0,!0);return y.add(he),he.add(new go.PathSegment(go.PathSegment.Line,z,.2*a)),he.add(new go.PathSegment(go.PathSegment.Line,E-se,0)),he.add(new go.PathSegment(go.PathSegment.Line,E,ie)),he.add(new go.PathSegment(go.PathSegment.Line,.8*E,te)),he.add(new go.PathSegment(go.PathSegment.Line,E,a-ie)),he.add(new go.PathSegment(go.PathSegment.Line,E-se,a)),he.add(new go.PathSegment(go.PathSegment.Line,z,.8*a)),he.add(new go.PathSegment(go.PathSegment.Line,se,a)),he.add(new go.PathSegment(go.PathSegment.Line,0,a-ie)),he.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),he.add(new go.PathSegment(go.PathSegment.Line,0,ie).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new Et("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 Et("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 Et("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,De*E,0,E,(.5-De/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,(.5+De/2)*a,De*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*De;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*De,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*De,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=De*.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=De*.4;var ie=b(),he=b(),be=b(),He=b();Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.42,ie,he,be,He,He);var Ne=b(),dt=b(),Re=b();Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.58,He,He,Re,Ne,dt);var Ye=b(),We=b(),qe=b();Ae(te,ae+z,te-y,ae+z,te-z,ae+y,te-z,ae,.42,Ye,We,qe,He,He);var xe=b(),gt=b(),lt=b();return Ae(te,ae+z,te-y,ae+z,te-z,ae+y,te-z,ae,.58,He,He,lt,xe,gt),se.add(new go.PathSegment(go.PathSegment.Move,lt.x*E,lt.y*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,xe.x*E,xe.y*a,gt.x*E,gt.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,be.x*E,be.y*a,ie.x*E,ie.y*a,he.x*E,he.y*a)),se.add(new go.PathSegment(go.PathSegment.Line,lt.x*E,lt.y*a).close()),se.add(new go.PathSegment(go.PathSegment.Move,qe.x*E,qe.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,dt.x*E,dt.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,qe.x*E,qe.y*a,Ye.x*E,Ye.y*a,We.x*E,We.y*a).close()),pe(ie),pe(he),pe(be),pe(He),pe(Ne),pe(dt),pe(Re),pe(Ye),pe(We),pe(qe),pe(xe),pe(gt),pe(lt),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 Et("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=De*.4,z=.4,te=.5,ae=.5,se=b(),ie=b(),he=b(),be=b(),He=new go.PathFigure((te-z)*E,ae*a,!1);x.add(He),He.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,he,be,ie,se,se),He.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*E,ie.y*a,he.x*E,he.y*a,be.x*E,be.y*a));var Ne=re(ie.x,ie.y);Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.56,se,se,ie,he,be);var dt=re(ie.x,ie.y);He.add(new go.PathSegment(go.PathSegment.Line,(Ne.x*.1+.95*.9)*E,Ne.y*.1*a)),He.add(new go.PathSegment(go.PathSegment.Line,.85*E,Ne.y*.1*a)),He.add(new go.PathSegment(go.PathSegment.Line,.85*E,0)),He.add(new go.PathSegment(go.PathSegment.Line,E,0)),He.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),He.add(new go.PathSegment(go.PathSegment.Line,(dt.x*.1+.9)*E,.15*a)),He.add(new go.PathSegment(go.PathSegment.Line,(dt.x*.1+.9)*E,(dt.y*.1+.05*.9)*a)),He.add(new go.PathSegment(go.PathSegment.Line,dt.x*E,dt.y*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,he.x*E,he.y*a,be.x*E,be.y*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te+z)*E,(ae+y)*a,(te+y)*E,(ae+z)*a)),He.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=De*.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 Ye=new go.PathFigure((te-z)*E,ae*a,!1);return x.add(Ye),pe(se),pe(ie),pe(he),pe(be),pe(Ne),pe(dt),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*De,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*De;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 Et("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Et("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 he=we(0,ae/a,1,ae/a,z/E,1,1,.5,b());return se.spot2=new go.Spot(he.x,he.y),pe(he),se}),go.Shape.setFigureParameter("Arrow2",0,new Et("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Et("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 he=we(0,ae/a,1,ae/a,z/E,1,1,.5,b());return se.spot2=new go.Spot(he.x,he.y),pe(he),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 Et("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=we(0,.5,.3,0,0,y/a,.1,y/a,b());return te.spot1=new go.Spot(se.x,se.y),se=we(.7,1,1,.5,0,z/a,1,z/a,se),te.spot2=new go.Spot(se.x,se.y),pe(se),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Et("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Et("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,he=new go.PathFigure(E,.5*a,!0);ie.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.7*E,se)),he.add(new go.PathSegment(go.PathSegment.Line,.7*E,te)),he.add(new go.PathSegment(go.PathSegment.Line,.3*E,te)),he.add(new go.PathSegment(go.PathSegment.Line,.3*E,se)),he.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),he.add(new go.PathSegment(go.PathSegment.Line,.3*E,ae)),he.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),he.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),he.add(new go.PathSegment(go.PathSegment.Line,.7*E,ae).close());var be=we(0,.5,.3,ae/a,0,z/a,1,z/a,b());return ie.spot1=new go.Spot(be.x,be.y),be=we(.7,se/a,1,.5,0,te/a,1,te/a,be),ie.spot2=new go.Spot(be.x,be.y),pe(be),ie}),go.Shape.setFigureParameter("IBeamArrow",0,new Et("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=we(.7,1,1,.5,0,z/a,1,z/a,b());return te.spot2=new go.Spot(se.x,se.y),pe(se),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new Et("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Et("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,he=new go.PathFigure(E,.5*a,!0);ie.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.7*E,se)),he.add(new go.PathSegment(go.PathSegment.Line,.7*E,te)),he.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),he.add(new go.PathSegment(go.PathSegment.Line,.2*E,se)),he.add(new go.PathSegment(go.PathSegment.Line,0,se)),he.add(new go.PathSegment(go.PathSegment.Line,0,ae)),he.add(new go.PathSegment(go.PathSegment.Line,.2*E,ae)),he.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),he.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),he.add(new go.PathSegment(go.PathSegment.Line,.7*E,ae).close()),ie.spot1=new go.Spot(0,z/a);var be=we(.7,se/a,1,.5,0,te/a,1,te/a,b());return ie.spot2=new go.Spot(be.x,be.y),pe(be),ie}),go.Shape.setFigureParameter("Pointer",0,new Et("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=we(.2,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(te.x,te.y),pe(te),y}),go.Shape.setFigureParameter("RoundedPointer",0,new Et("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=we(0,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(te.x,te.y),pe(te),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new Et("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=we(.7,1,1,.5,0,z/a,1,z/a,b());return te.spot2=new go.Spot(se.x,se.y),pe(se),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Et("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=we(.7,1,1,.5,0,z/a,1,z/a,b());return te.spot2=new go.Spot(se.x,se.y),pe(se),te}),go.Shape.setFigureParameter("SquareArrow",0,new Et("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=De*.5,z=De*.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=De*.5,te=new go.PathFigure(0,x,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,De*x,(.5-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*E,x,(.5+z)*E,0,1*E,De*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-De*x,(.5+z)*E,1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,1*a,0,a-De*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-De*x,(.5+z)*E,2*x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*E,2*x,0,2*x-De*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=De*.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,De*x,(.5-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,x,(.5+z)*E,0,E,De*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-De*x,(.5+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,a,0,a-De*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-De*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-De*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=De*.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-De*x,0,E,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-De*x,a)),te.add(new go.PathSegment(go.PathSegment.Line,x,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,De*x,a,0,(.5+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,De*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+De*x,0,2*x,(.5-z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,x,a,2*x,(.5+z)*a,x+De*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=De*.5,te=new go.PathFigure(E-x,0,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-De*x,0,E,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-De*x,a)),te.add(new go.PathSegment(go.PathSegment.Line,x,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,De*x,a,0,(.5+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,De*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-De*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-De*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=De*y,ae=De*z,se=.5,ie=.1,he=new go.PathFigure(se*E,(ie+z)*a,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(se-y)*E,ie*a,(se-te)*E,(ie+z)*a,(se-y)*E,(ie+ae)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-z)*a,(se-y)*E,(ie-ae)*a,(se-te)*E,(ie-z)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(se+y)*E,ie*a,(se+te)*E,(ie-z)*a,(se+y)*E,(ie-ae)*a)),he.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 be=.05,He=De*be;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+be)*E,ie*a,(se+He)*E,(ie-be)*a,(se+be)*E,(ie-He)*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)),be=.025,He=De*be,se=.825,ie=.35,Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-be)*a,(se+be)*E,(ie-He)*a,(se+He)*E,(ie-be)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(se-be)*E,ie*a,(se-He)*E,(ie-be)*a,(se-be)*E,(ie-He)*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)),be=.05,He=De*be,se=.5,ie=.7,Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-be)*a,(se+be)*E,(ie-He)*a,(se+He)*E,(ie-be)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(se-be)*E,ie*a,(se-He)*E,(ie-be)*a,(se-be)*E,(ie-He)*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)),be=.025,He=De*be,se=.175,ie=.35,Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-be)*a,(se+be)*E,(ie-He)*a,(se+He)*E,(ie-be)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(se-be)*E,ie*a,(se-He)*E,(ie-be)*a,(se-be)*E,(ie-He)*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)),be=.05,He=De*be,se=.05,ie=.25,Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-be)*a,(se-be)*E,(ie-He)*a,(se-He)*E,(ie-be)*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 Et("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=De*.5,z=De*.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=De*.5,z=De*.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=De*.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=De*.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=De*.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=De*.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=De*.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=De*.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=De*.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=De*.5,z=De*.4,te=De*.1,ae=.1,se=.9,ie=.5,he=new go.PathFigure(.8*E,.5*a,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,.8*E,(.5+z)*a,(.4+y)*E,a)),he.add(new go.PathSegment(go.PathSegment.Line,0,a)),he.add(new go.PathSegment(go.PathSegment.Line,0,0)),he.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),he.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(.4+y)*E,0,.8*E,(.5-z)*a));var be=new go.PathFigure((se+ae)*E,ie*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie+ae)*a,(se+ae)*E,(ie+te)*a,(se+te)*E,(ie+ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae)*E,ie*a,(se-te)*E,(ie+ae)*a,(se-ae)*E,(ie+te)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-ae)*a,(se-ae)*E,(ie-te)*a,(se-te)*E,(ie-ae)*a)),be.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=De*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=De*.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=De*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=De*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=De*.1,te=.9,ae=.5;var he=new go.PathFigure((te-y)*E,ae*a,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-y)*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,ae*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+y)*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),he.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=De*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=De*.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=De*.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=De*.8,ae=.8,se=0,ie=.5,he=(y-E)/2,be=(z-a)/2,He=new go.PathFigure(se*E+he,(ie+ae)*a+be,!0);x.add(He),He.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae)*E+he,ie*a+be,(se-te)*E+he,(ie+ae)*a+be,(se-ae)*E+he,(ie+te)*a+be)),He.add(new go.PathSegment(go.PathSegment.Bezier,se*E+he,(ie-ae)*a+be,(se-ae)*E+he,(ie-te)*a+be,(se-te)*E+he,(ie-ae)*a+be)),He.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae+te*.5)*E+he,ie*a+be,se*E+he,(ie-ae)*a+be,(se-ae+te*.5)*E+he,(ie-te)*a+be)),He.add(new go.PathSegment(go.PathSegment.Bezier,se*E+he,(ie+ae)*a+be,(se-ae+te*.5)*E+he,(ie+te)*a+be,se*E+he,(ie+ae)*a+be).close()),te=De*.4,ae=.4,se=.2,ie=.5;var Ne=new go.PathFigure(se*E+he,(ie+ae)*a+be,!0);x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae)*E+he,ie*a+be,(se-te)*E+he,(ie+ae)*a+be,(se-ae)*E+he,(ie+te)*a+be)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E+he,(ie-ae)*a+be,(se-ae)*E+he,(ie-te)*a+be,(se-te)*E+he,(ie-ae)*a+be)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae+te*.5)*E+he,ie*a+be,se*E+he,(ie-ae)*a+be,(se-ae+te*.5)*E+he,(ie-te)*a+be)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E+he,(ie+ae)*a+be,(se-ae+te*.5)*E+he,(ie+te)*a+be,se*E+he,(ie+ae)*a+be).close()),te=De*.2,ae=.2,se=.5,ie=.5;var dt=new go.PathFigure((se-ae)*E+he,ie*a+be,!0);x.add(dt),dt.add(new go.PathSegment(go.PathSegment.Bezier,se*E+he,(ie-ae)*a+be,(se-ae)*E+he,(ie-te)*a+be,(se-te)*E+he,(ie-ae)*a+be)),dt.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae)*E+he,ie*a+be,(se+te)*E+he,(ie-ae)*a+be,(se+ae)*E+he,(ie-te)*a+be)),dt.add(new go.PathSegment(go.PathSegment.Bezier,se*E+he,(ie+ae)*a+be,(se+ae)*E+he,(ie+te)*a+be,(se+te)*E+he,(ie+ae)*a+be)),dt.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae)*E+he,ie*a+be,(se-te)*E+he,(ie+ae)*a+be,(se-ae)*E+he,(ie+te)*a+be)),te=De*.4,ae=.4,se=.8,ie=.5;var Re=new go.PathFigure(se*E+he,(ie-ae)*a+be,!0);x.add(Re),Re.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae)*E+he,ie*a+be,(se+te)*E+he,(ie-ae)*a+be,(se+ae)*E+he,(ie-te)*a+be)),Re.add(new go.PathSegment(go.PathSegment.Bezier,se*E+he,(ie+ae)*a+be,(se+ae)*E+he,(ie+te)*a+be,(se+te)*E+he,(ie+ae)*a+be)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae-te*.5)*E+he,ie*a+be,se*E+he,(ie+ae)*a+be,(se+ae-te*.5)*E+he,(ie+te)*a+be)),Re.add(new go.PathSegment(go.PathSegment.Bezier,se*E+he,(ie-ae)*a+be,(se+ae-te*.5)*E+he,(ie-te)*a+be,se*E+he,(ie-ae)*a+be).close()),te=De*.8,ae=.8,se=1,ie=.5;var Ye=new go.PathFigure(se*E+he,(ie-ae)*a+be,!0);return x.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae)*E+he,ie*a+be,(se+te)*E+he,(ie-ae)*a+be,(se+ae)*E+he,(ie-te)*a+be)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,se*E+he,(ie+ae)*a+be,(se+ae)*E+he,(ie+te)*a+be,(se+te)*E+he,(ie+ae)*a+be)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae-te*.5)*E+he,ie*a+be,se*E+he,(ie+ae)*a+be,(se+ae-te*.5)*E+he,(ie+te)*a+be)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,se*E+he,(ie-ae)*a+be,(se+ae-te*.5)*E+he,(ie-te)*a+be,se*E+he,(ie-ae)*a+be).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=De*.4,z=.4,te=.5,ae=.5,se=b(),ie=b(),he=b(),be=b();Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.5,se,se,ie,he,be);var He=re(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,he.x*E,he.y*a,be.x*E,be.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,he,be,ie,se,se),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*E,ie.y*a,he.x*E,he.y*a,be.x*E,be.y*a)),y=De*.3,z=.3,Ae(te-z,ae,te-z,ae-y,te-y,ae-z,te,ae-z,.5,he,be,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,be.x*E,be.y*a,he.x*E,he.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,he,be),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*E,ie.y*a,be.x*E,be.y*a,he.x*E,he.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()),pe(se),pe(ie),pe(he),pe(be),pe(He),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*De,se=.4*Math.SQRT2/2+.5,ie=.5-.5*Math.SQRT2/2,he=1,be=.5,He=.5,Ne=0,dt=new go.PathFigure(se*E,(1-ie)*a,!1);return x.add(dt),dt.add(new go.PathSegment(go.PathSegment.Bezier,he*E,be*a,he*E,.7*a,he*E,be*a)),dt.add(new go.PathSegment(go.PathSegment.Bezier,(He+z)*E,(Ne+z)*a,(.5+y+z)*E,(.5-ae+z)*a,(.5+ae+z)*E,(.5-y+z)*a)),dt.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)),dt.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)),dt.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*E,.8*a)),dt.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*E,.9*a)),dt.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,he=4*(1-Math.cos(ie))/(3*Math.sin(ie)),be=he*.5,He=te,Ne=te,dt=he*He,Re=he*Ne;z.add(new go.PathSegment(go.PathSegment.Bezier,(ae-He)*E,se*a,(ae-(dt+He)/2)*E,(se+(Ne+Re)/2)*a,(ae-He)*E,(se+Re)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(se-Ne)*a,(ae-He)*E,(se-Re)*a,(ae-dt)*E,(se-Ne)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(ae+He)*E,se*a,(ae+dt)*E,(se-Ne)*a,(ae+He)*E,(se-Re)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*E,(1-.595)*a,(ae+He)*E,(se+Re)*a,(ae+(dt+He)/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 Ye=new go.PathFigure(.2*E,a,!1);x.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Line,.2*E,.8*a));var We=new go.PathFigure(.8*E,a,!1);return x.add(We),We.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=De*.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=De*.1,se=.2,ie=.9,he=new go.PathFigure((se-te)*E,ie*a,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-te)*a,(se-te)*E,(ie-ae)*a,(se-ae)*E,(ie-te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(se+te)*E,ie*a,(se+ae)*E,(ie-te)*a,(se+te)*E,(ie-ae)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie+te)*a,(se+te)*E,(ie+ae)*a,(se+ae)*E,(ie+te)*a)),he.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=De*.1,se=.8,ie=.9;var be=new go.PathFigure((se-te)*E,ie*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-te)*a,(se-te)*E,(ie-ae)*a,(se-ae)*E,(ie-te)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(se+te)*E,ie*a,(se+ae)*E,(ie-te)*a,(se+te)*E,(ie-ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie+te)*a,(se+te)*E,(ie+ae)*a,(se+ae)*E,(ie+te)*a)),be.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=De*.1,he=.1,be=.9,He=new go.PathFigure((he-se)*E,be*a,!0);x.add(He),He.add(new go.PathSegment(go.PathSegment.Bezier,he*E,(be-se)*a,(he-se)*E,(be-ie)*a,(he-ie)*E,(be-se)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(he+se)*E,be*a,(he+ie)*E,(be-se)*a,(he+se)*E,(be-ie)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,he*E,(be+se)*a,(he+se)*E,(be+ie)*a,(he+ie)*E,(be+se)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(he-se)*E,be*a,(he-ie)*E,(be+se)*a,(he-se)*E,(be+ie)*a)),se=.1,ie=De*.1,he=.4,be=.9;var Ne=new go.PathFigure((he-se)*E,be*a,!0);return x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,he*E,(be-se)*a,(he-se)*E,(be-ie)*a,(he-ie)*E,(be-se)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(he+se)*E,be*a,(he+ie)*E,(be-se)*a,(he+se)*E,(be-ie)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,he*E,(be+se)*a,(he+se)*E,(be+ie)*a,(he+ie)*E,(be+se)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(he-se)*E,be*a,(he-ie)*E,(be+se)*a,(he-se)*E,(be+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 he=.05,be=De*.05,He=.175,Ne=.95,ae=new go.PathFigure((He-he)*E,Ne*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,He*E,(Ne-he)*a,(He-he)*E,(Ne-be)*a,(He-be)*E,(Ne-he)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(He+he)*E,Ne*a,(He+be)*E,(Ne-he)*a,(He+he)*E,(Ne-be)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,He*E,(Ne+he)*a,(He+he)*E,(Ne+be)*a,(He+be)*E,(Ne+he)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(He-he)*E,Ne*a,(He-be)*E,(Ne+he)*a,(He-he)*E,(Ne+be)*a));var he=.05,be=De*.05,He=.375,Ne=.95,se=new go.PathFigure((He-he)*E,Ne*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,He*E,(Ne-he)*a,(He-he)*E,(Ne-be)*a,(He-be)*E,(Ne-he)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(He+he)*E,Ne*a,(He+be)*E,(Ne-he)*a,(He+he)*E,(Ne-be)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,He*E,(Ne+he)*a,(He+he)*E,(Ne+be)*a,(He+be)*E,(Ne+he)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(He-he)*E,Ne*a,(He-be)*E,(Ne+he)*a,(He-he)*E,(Ne+be)*a));var he=.05,be=De*.05,He=.625,Ne=.95,ie=new go.PathFigure((He-he)*E,Ne*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,He*E,(Ne-he)*a,(He-he)*E,(Ne-be)*a,(He-be)*E,(Ne-he)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(He+he)*E,Ne*a,(He+be)*E,(Ne-he)*a,(He+he)*E,(Ne-be)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,He*E,(Ne+he)*a,(He+he)*E,(Ne+be)*a,(He+be)*E,(Ne+he)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(He-he)*E,Ne*a,(He-be)*E,(Ne+he)*a,(He-he)*E,(Ne+be)*a));var he=.05,be=De*.05,He=.825,Ne=.95,dt=new go.PathFigure((He-he)*E,Ne*a,!0);x.add(dt),dt.add(new go.PathSegment(go.PathSegment.Bezier,He*E,(Ne-he)*a,(He-he)*E,(Ne-be)*a,(He-be)*E,(Ne-he)*a)),dt.add(new go.PathSegment(go.PathSegment.Bezier,(He+he)*E,Ne*a,(He+be)*E,(Ne-he)*a,(He+he)*E,(Ne-be)*a)),dt.add(new go.PathSegment(go.PathSegment.Bezier,He*E,(Ne+he)*a,(He+he)*E,(Ne+be)*a,(He+be)*E,(Ne+he)*a)),dt.add(new go.PathSegment(go.PathSegment.Bezier,(He-he)*E,Ne*a,(He-be)*E,(Ne+he)*a,(He-he)*E,(Ne+be)*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=De*.05,ie=.35,he=.775,be=new go.PathFigure((ie-ae)*E,he*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(he-ae)*a,(ie-ae)*E,(he-se)*a,(ie-se)*E,(he-ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ae)*E,he*a,(ie+se)*E,(he-ae)*a,(ie+ae)*E,(he-se)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(he+ae)*a,(ie+ae)*E,(he+se)*a,(ie+se)*E,(he+ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ae)*E,he*a,(ie-se)*E,(he+ae)*a,(ie-ae)*E,(he+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=De*.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=De*.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=De*.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=De*.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*De,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*De,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*De,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")},11081:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Et={},Mt="5.0",re={},b=null,pe=!1,we=!1,Ae=null,_e=!1,Ue=null,De=null,tt=0;tt<arguments.length;tt++){var Me=arguments[tt];if(Me!==null)switch(typeof Me){case"number":Mt=Me.toFixed(1);break;case"string":Me.match(new RegExp("^[0-9]\\.[0-9]+$"))?Mt=Me:Ae=Me;break;case"object":typeof Me.is3D!="undefined"?b=Me:re=Me;break;case"boolean":pe=Me,we=!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},re.material_id!==void 0&&!we&&(pe=!0)),Ae!==null&&re.id===void 0&&(re.id=Ae);var Le="",ke="",Ge=!1,Ke=null,le=null,E=null,a=!1,x=null,y=null,z=null,te=null,ae=null;re.height!==void 0&&(re.height=Math.round(re.height)),re.width!==void 0&&(re.width=Math.round(re.width));var se=function(Te){return parseFloat(Te)>4?parseFloat(Te):5};Et.setHTML5Codebase=function(Te,ot){De=Te,un(Te,ot)},Et.setJavaCodebase=Et.setJavaCodebaseVersion=Et.isCompiledInstalled=Et.setPreCompiledScriptPath=Et.setPreCompiledResourcePath=function(){},Et.setHTML5CodebaseVersion=function(Te,ot){var Rt=parseFloat(Te);if(Rt!==NaN&&Rt<5){console.log("The GeoGebra HTML5 codebase version "+Rt+" is deprecated. Using version latest instead.");return}Ue=Te,Pn(Te,ot)},Et.getHTML5CodebaseVersion=function(){return le},Et.getParameters=function(){return re},Et.setFontsCSSURL=function(Te){te=Te},Et.setGiacJSURL=function(Te){},Et.setJNLPFile=function(Te){Le=Te},Et.setJNLPBaseDir=function(Te){},Et.inject=function(){function Te(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ot="auto",Rt=re.id,hn,Ft=!1,sn=0;sn<arguments.length;sn++){var Ce=arguments[sn];typeof Ce=="string"?(Ce=Ce.toLowerCase(),Ce.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?ot=Ce:Rt=arguments[sn]):typeof Ce=="boolean"?Ft=Ce:Ce instanceof HTMLElement&&(hn=Ce)}it();function it(){if(!_e){setTimeout(it,200);return}ot=At(ot);var Qt=hn||document.getElementById(Rt);if(!Qt){console.log("possibly bug on ajax loading? ");return}if(Et.removeExistingApplet(Qt,!1),re.width===void 0&&Qt.clientWidth&&(re.width=Qt.clientWidth),re.height===void 0&&Qt.clientHeight&&(re.height=Qt.clientHeight),!(re.width&&re.height)&&ot==="html5"&&(delete re.width,delete re.height),Ke=ot,ot==="screenshot")We(Qt,re);else{var nt=!1;re.hasOwnProperty("playButton")&&re.playButton||re.hasOwnProperty("clickToLoad")&&re.clickToLoad?nt=!0:re.hasOwnProperty("playButtonAutoDecide")&&re.playButtonAutoDecide&&(nt=(!ie()||Te())&&he()),nt?(Ke="screenshot",xe(Qt,re,Ft,ot)):Ye(Qt,re,Ft)}}};function ie(){try{return window.self!==window.top}catch(Te){return!0}}function he(){return re.hasOwnProperty("screenshotGenerator")&&re.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Et.getViews=function(){return b},Et.isJavaInstalled=function(){return!1};var be=function(Te){var ot=function(sn){var Ce=JSON.parse(sn),it=function(ht){return ht.type=="G"||ht.type=="E"},Qt=Ce.elements?Ce.elements.filter(it)[0]:Ce;if(!Qt||!Qt.url){Rt();return}re.fileName=Qt.url,He(Qt.settings||{}),b.is3D=!0;var nt="https://www.geogebra.org/images/";Et.setPreviewImage(x||Qt.previewUrl,nt+"GeoGebra_loading.png",nt+"applet_play.png"),Te()},Rt=function(){re.onError&&re.onError(),Zt("Error: Fetching material (id "+re.material_id+") failed.",re)},hn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Ft="/materials/"+re.material_id+"?scope=basic";Ne("https://"+hn+"/api/proxy.php?path="+encodeURIComponent(Ft),ot,Rt)};function He(Te){var ot=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Rt){Te[Rt]=!!Te[Rt]}),ot.forEach(function(Rt){re[Rt]===void 0&&Te[Rt]!==void 0&&(re[Rt]=Te[Rt])}),re.showToolBarHelp===void 0&&(re.showToolBarHelp=re.showToolBar)}function Ne(Te,ot,Rt){var hn=new XMLHttpRequest;hn.open("GET",Te),hn.onload=function(){ot(hn.responseText)},hn.onerror=Rt,hn.send()}Et.isHTML5Installed=function(){return!0},Et.getLoadedAppletType=function(){return Ke},Et.setPreviewImage=function(Te,ot,Rt){x=Te,y=ot,z=Rt},Et.removeExistingApplet=function(Te,ot){var Rt;typeof Te=="string"&&(Te=document.getElementById(Te)),Ke=null;var hn=null;for(Rt=0;Rt<Te.childNodes.length;Rt++){var Ft=Te.childNodes[Rt],sn=Ft.className;sn==="applet_screenshot"?ot?(Ft.style.display="block",Ke="screenshot"):Ft.style.display="none":sn!=="applet_scaler prerender"&&(Te.removeChild(Ft),hn=sn&&sn.indexOf("appletParameters")!=-1?Ft.id:null,Rt--)}var Ce=re.id!==void 0?re.id:hn,it=window[Ce];it&&typeof it.getBase64=="function"&&(it.remove(),window[Ce]=null)},Et.refreshHitPoints=function(){if(se(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Te=Et.getAppletObject();return Te&&typeof Te.recalculateEnvironments=="function"?(Te.recalculateEnvironments(),!0):!1},Et.startAnimation=function(){var Te=Et.getAppletObject();return Te&&typeof Te.startAnimation=="function"?(Te.startAnimation(),!0):!1},Et.stopAnimation=function(){var Te=Et.getAppletObject();return Te&&typeof Te.stopAnimation=="function"?(Te.stopAnimation(),!0):!1},Et.getAppletObject=function(){var Te=re.id!==void 0?re.id:"ggbApplet";return window[Te]},Et.resize=function(){};var dt=function(Te,ot,Rt){var hn=document.createElement("param");hn.setAttribute("name",ot),hn.setAttribute("value",Rt),Te.appendChild(hn)},Re=function(Te){return Te&&Te!=="false"},Ye=function(Te,ot,Rt){se(le)<=4.2&&(Rt=!0);var hn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==le||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(hn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Ft=document.createElement("div");Ft.classList.add("appletParameters","notranslate");var sn=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,sn=605);else{var it=100;(Re(ot.showToolBar)||Re(ot.showMenuBar))&&(ot.hasOwnProperty("customToolBar")&&(ot.customToolbar=ot.customToolBar),it=Re(ot.showMenuBar)?245:155),sn<it&&(ot.width=it,sn=it)}Ft.style.border="none",Ft.style.display="inline-block";for(var Qt in ot)ot.hasOwnProperty(Qt)&&Qt!=="appletOnLoad"&&Ft.setAttribute("data-param-"+Qt,ot[Qt]);te&&Ft.setAttribute("data-param-fontscssurl",te),Et.resize=function(){GGBAppletUtils.responsiveResize(Te,ot)},window.addEventListener("resize",function(On){Et.resize()});var nt=typeof ot.appletOnLoad=="function"?ot.appletOnLoad:function(){};if(!Rt&&ot.width!==void 0){ot.hasOwnProperty("showSplash")||Ft.setAttribute("data-param-showSplash","false");var ht=Te.querySelector(".applet_scaler.prerender"),Tn=ht!==null;if(Tn)var kt=ht.querySelector(".ggb_preview");else{var kt=lt(sn,Ce,ot.borderColor,!1);ht=document.createElement("div"),ht.className="applet_scaler",ht.style.position="relative",ht.style.display="block",ht.style.width=sn+"px",ht.style.height=Ce+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ht,"66%"),se(le)>=5?(ot.appletOnLoad=function(On){var Sa=Te.querySelector(".ggb_preview");Sa&&Sa.parentNode.removeChild(Sa),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ht),window.GGBT_wsf_view&&$(window).trigger("resize"),nt(On)},Tn||ht.appendChild(kt)):Ft.appendChild(kt),ht.appendChild(Ft),Tn||Te.appendChild(ht),setTimeout(function(){Et.resize()},1)}else{var yt=document.createElement("div");yt.className="applet_scaler",yt.style.position="relative",yt.style.display="block",yt.appendChild(Ft),Te.appendChild(yt),ot.appletOnLoad=function(On){Et.resize(),nt(On)}}function Pt(On,Sa){Sa&&typeof Sa.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(On,Sa.appletOnLoad):renderGGBElement(On),Zt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Sa)}function Hn(On,Sa){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:On,params:Sa}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Oa){Pt(Oa.article,Oa.params)}),html5AppletsToProcess=null)},se(le)<5&&(On.className+=" geogebraweb")):Pt(On,Sa)}if(hn){scriptLoadStarted=!0;for(var Wn=0;Wn<Ft.childNodes.length;Wn++){var an=Ft.childNodes[Wn].tagName;an==="TABLE"&&(Ft.removeChild(Ft.childNodes[Wn]),Wn--)}if(ggbHTML5LoadedScript!==null){var oa=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');oa!=null&&oa.parentNode.removeChild(oa)}var Ea=document.createElement("script"),qn=function(){Hn(Ft,ot)};Ea.src=ke+E,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=le,ggbHTML5LoadedScript=Ea.src,Zt("GeoGebra HTML5 codebase loaded: '"+ke+"'.",ot),!De&&(!Ue||Ue=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),qn()):ke.requirejs?__webpack_require__.e(981).then(function(){var On=[__webpack_require__(60981)];qn.apply(null,On)}.bind(this)).catch(__webpack_require__.oe):(Ea.onload=qn,Te.appendChild(Ea))}else Hn(Ft,ot);ot.height=Ce,ot.width=sn},We=function(Te,ot,Rt){var hn=lt(ot.width,ot.height,ot.borderColor,Rt),Ft=document.createElement("div");Ft.style.position="relative",Ft.style.display="block",Ft.style.width=ot.width+"px",Ft.style.height=ot.height+"px",Ft.className="applet_screenshot applet_scaler"+(Rt?" applet_screenshot_play":""),Ft.appendChild(hn);var sn=GGBAppletUtils.getScale(ot,Te,Rt);Rt?(Te.appendChild(gt()),window.GGBT_wsf_view||(Te.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Ft,"66%"),Te.appendChild(Ft),sn!==1&&!isNaN(sn)&&(GGBAppletUtils.scaleElement(Ft,sn),Ft.style.width=ot.width+"px",Ft.style.height=ot.height+"px",Ft.parentNode.style.width=ot.width*sn+"px",Ft.parentNode.style.height=ot.height*sn+"px"),Et.resize=function(){qe(Te,hn,Ft,Rt)},window.addEventListener("resize",function(Ce){Et.resize()}),Et.resize()};function qe(Te,ot,Rt,hn){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 Ft=GGBAppletUtils.getScale(re,Te,hn);Rt.parentNode!==null&&(!isNaN(Ft)&&Ft!==1?(GGBAppletUtils.scaleElement(Rt,Ft),Rt.parentNode.style.width=re.width*Ft+"px",Rt.parentNode.style.height=re.height*Ft+"px"):(GGBAppletUtils.scaleElement(Rt,1),Rt.parentNode.style.width=re.width+"px",Rt.parentNode.style.height=re.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()}}Et.onExitFullscreen=function(Te,ot){ot.appendChild(Te)};var xe=function(Te,ot,Rt,hn){We(Te,ot,!0);for(var Ft=function(){var it=[];for(Ce=0;Ce<Te.childNodes.length;Ce++)it.push(Te.childNodes[Ce]);if(window.GGBT_wsf_view){var Qt=window.GGBT_wsf_view.renderFullScreen(Te,ot.id),nt=document.getElementById("fullscreencontainer"),ht=jQuery(Te).find(".fullscreencontent");ht.length>0?(Qt.remove(),ht.attr("id","fullscreencontent").show(),jQuery(nt).append(ht),window.dispatchEvent(new Event("resize"))):Ye(Qt,ot,!1),window.GGBT_wsf_view.launchFullScreen(nt)}else Ke=hn,Ye(Te,ot,!1);if(!window.GGBT_wsf_view)for(Ce=0;Ce<it.length;Ce++)Te.removeChild(it[Ce])},sn=Te.getElementsByClassName("ggb_preview_play"),Ce=0;Ce<sn.length;Ce++)sn[Ce].addEventListener("click",Ft,!1),sn[Ce].addEventListener("ontouchstart",Ft,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Te),he()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},gt=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");}',Rt=document.createElement("style");Rt.styleSheet?Rt.styleSheet.cssText=ot:Rt.appendChild(document.createTextNode(ot)),document.getElementsByTagName("head")[0].appendChild(Rt)}return Te},lt=function(Te,ot,Rt,hn){var Ft=document.createElement("div");Ft.className="ggb_preview",Ft.style.position="absolute",Ft.style.zIndex="90",Ft.style.width=Te-2+"px",Ft.style.height=ot-2+"px",Ft.style.top="0px",Ft.style.left="0px",Ft.style.overflow="hidden",Ft.style.backgroundColor="white";var sn="lightgrey";Rt!==void 0&&(Rt==="none"?sn="transparent":sn=Rt),Ft.style.border="1px solid "+sn;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 it,Qt,nt;if(!hn){it=document.createElement("img"),it.style.position="absolute",it.style.zIndex="1001",it.style.opacity=1,Ce.style.opacity=.3,Qt=360,Qt>Te/4*3&&(Qt=Te/4*3),nt=Qt/5.8,it.setAttribute("src",y),it.setAttribute("width",Qt),it.setAttribute("height",nt);var ht=(Te-Qt)/2,Tn=(ot-nt)/2;it.style.left=ht+"px",it.style.top=Tn+"px",Ft.appendChild(it)}}return Ft.appendChild(Ce),Ft},At=function(Te){return Te=Te.toLowerCase(),Te==="html5"||Te==="screenshot"?Te:"html5"},mt=["web","webSimple","web3d","tablet","tablet3d","phone"],Pn=function(Te,ot){if(le=Te,ot){un(le,!0);return}var Rt=!pe;if(Rt){var hn=se(le);!isNaN(hn)&&hn<4.4&&(Rt=!1)}var Ft,sn;window.location.protocol.substr(0,4)==="http"?Ft=window.location.protocol:Ft="http:";var Ce=le.indexOf("//");Ce>0?sn=le:Ce===0?sn=Ft+le:sn="https://www.geogebra.org/apps/5.2.814.0/";for(var it in mt)if(le.slice(mt[it].length*-1)===mt[it]||le.slice((mt[it].length+1)*-1)===mt[it]+"/"){un(sn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Rt&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!Re(re.showToolBar)&&!Re(re.showMenuBar)&&!Re(re.showAlgebraInput)&&!Re(re.enableRightClick)&&(!re.appName||re.appName=="classic")?sn+="webSimple/":sn+="web3d/",un(sn,!1)},un=function(Te,ot){if(Te.requirejs){ke=Te;return}Te.slice(-1)!=="/"&&(Te+="/"),ke=Te,ot===null&&(ot=Te.indexOf("http")===-1),Ge=ot,E="web.nocache.js",a=!1;var Rt=ke.split("/");Rt.length>1&&(!ot&&Rt[Rt.length-2]==="webSimple"?(E="webSimple.nocache.js",a=!0):mt.indexOf(Rt[Rt.length-2])>=0&&(E=Rt[Rt.length-2]+".nocache.js")),Rt=Te.split("/"),le=Rt[Rt.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 hn=parseFloat(le);hn!==NaN&&hn<5&&Te.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+hn+" is deprecated. Using version latest instead."),Pn("5.0",ot))},Zt=function(Te,ot){window.console&&window.console.log&&(!ot||typeof ot.showLogging=="undefined"||ot.showLogging&&ot.showLogging!=="false")&&console.log(Te)};re.material_id!==void 0?be(_t):_t();function _t(){var Te=Mt;Ue!==null?Te=Ue:parseFloat(Te)<5&&(Te="5.0"),Pn(Te,!1),De!==null&&un(De,Ge),_e=!0}return Et},GGBAppletUtils=function(){"use strict";function Et(){return window.GGBT_wsf_edit!==void 0}function Mt(_e,Ue){Ue!=1?(_e.style.transformOrigin="0% 0% 0px",_e.style.webkitTransformOrigin="0% 0% 0px",_e.style.transform="scale("+Ue+","+Ue+")",_e.style.webkitTransform="scale("+Ue+","+Ue+")",_e.style.maxWidth="initial",_e.querySelector(".ggb_preview")!==null&&(_e.querySelector(".ggb_preview").style.maxWidth="initial"),_e.querySelectorAll(".ggb_preview img")[0]!==void 0&&(_e.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),_e.querySelectorAll(".ggb_preview img")[1]!==void 0&&(_e.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(_e.style.transform="none",_e.style.webkitTransform="none")}function re(_e,Ue,De,tt,Me,Le){var ke=null;if(Le!=null&&Le!="")for(var Ge=_e.parentNode;Ge!=null;)if((" "+Ge.className+" ").indexOf(" "+Le+" ")>-1){ke=Ge;break}else Ge=Ge.parentNode;var Ke=0,le=0,E=0,a=0,x=0,y=0,z=0;if(ke)Ke=ke.offsetWidth,le=Math.max(tt?ke.offsetWidth:0,ke.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),_e){var te=_e.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(_e&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ae=_e.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,z=40)}}return _e&&((De===void 0||!De)&&Ue>0&&Ue+a<Ke?Ke=Ue:Ke-=a,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(De===void 0||!De)&&(le-=z)),{width:Ke,height:le}}function b(_e,Ue,De,tt,Me){if(_e.isScreenshoGenerator)return 1;var Le=tt!==void 0&&tt,ke=_e.noScaleMargin!=null&&_e.noScaleMargin,Ge=function(ae){return ae&&ae!=="false"},Ke=Ge(_e.autoHeight),le=re(Ue,_e.width,De,Ke,Le&&window.GGBT_wsf_view||ke,Me),E=parseInt(le.width),a=_e.width,x=_e.height;if(a===void 0){var y=Ue.querySelector(".appletParameters");y&&(a=y.offsetWidth,x=y.offsetHeight)}var z=E/a,te=Le?1:le.height/x;return De!==void 0&&!De&&(z=Math.min(1,z),te=Math.min(1,te)),Math.min(z,te)}function pe(_e,Ue,De){var tt=1,Me,Le=!1;if(_e.hasOwnProperty("allowUpscale")&&(Le=_e.allowUpscale),_e.hasOwnProperty("scale")&&(tt=parseFloat(_e.scale),(isNaN(tt)||tt===null||tt===0)&&(tt=1),tt>1&&(Le=!0)),Ue&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Le=!0),!(_e.hasOwnProperty("disableAutoScale")&&_e.disableAutoScale))Me=b(_e,Ue,Le,De,_e.scaleContainerClass);else return tt;return Le&&(!_e.hasOwnProperty("scale")||tt===1)?Me:Math.min(tt,Me)}function we(_e){var Ue=Math.min(window.innerWidth,document.documentElement.clientWidth),De=Math.min(window.innerHeight,document.documentElement.clientHeight),tt=_e.getBoundingClientRect(),Me=(Ue-tt.width)/2,Le=(De-tt.height)/2;Le<0&&(Le=0),_e.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Me<40?_e.style.left="40px":_e.style.left=Me+"px",_e.style.top=Le+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Le<40?_e.style.top="40px":_e.style.top=Le+"px",_e.style.left=Me+"px")}function Ae(_e,Ue){var De=_e.querySelector(".appletParameters");if(De){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ue.id!==De.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(_e)}if(De.parentElement&&/fullscreen/.test(De.parentElement.className))return;var tt=pe(Ue,_e);Et()&&De.setAttribute("data-param-scale",tt);for(var Me=null,Le=0;Le<_e.childNodes.length;Le++)if(_e.childNodes[Le].className!==void 0&&_e.childNodes[Le].className.match(/^applet_scaler/)){Me=_e.childNodes[Le];break}if(Me!==null&&Me.querySelector(".noscale")!==null)return;var ke=Ue.id!==void 0?Ue.id:"ggbApplet",Ge=window[ke];(Ge==null||!Ge.recalculateEnvironments)&&Me!==null&&!Me.className.match(/fullscreen/)&&(Me.parentNode.style.transform="",!isNaN(tt)&&tt!==1?(Me.parentNode.style.width=Ue.width*tt+"px",Me.parentNode.style.height=Ue.height*tt+"px",Mt(Me,tt)):(Mt(Me,1),Me.parentNode.style.width=Ue.width+"px",Me.parentNode.style.height=Ue.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&we(_e),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(De).parents(".content-added-content"))}}return{responsiveResize:Ae,isFlexibleWorksheetEditor:Et,positionCenter:we,getScale:pe,scaleElement:Mt}}();__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 Et=n.location.search;return Et.indexOf(J)!=-1||Et.indexOf(K)!=-1}function q(Et,Mt){}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(Et){var Mt=s[L].bindings;s[L].bindings=function(){for(var re=Mt?Mt():{},b=Et[webModule.__softPermutationId],pe=O;pe<b.length;pe++){var we=b[pe];re[we[O]]=we[P]}return re}};var t;function u(){return v(),t}function v(){if(!t){var Et=o.createElement(Q);if(Et.id=L,Et.style.cssText=R+S,Et.tabIndex=-1,o.body.appendChild(Et),t=Et.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Mt=document.compatMode==U?V:W;t.write(Mt+X),t.close()}}}function w(Et){function Mt(b){function pe(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var we=pe();if(we){b();return}function Ae(){if(!we){if(!pe())return;we=!0,b(),o.removeEventListener&&o.removeEventListener(Z,Ae,!1),_e&&clearInterval(_e)}}o.addEventListener&&o.addEventListener(Z,Ae,!1);var _e=setInterval(function(){Ae()},$)}function re(b){var pe=u(),we=pe.body,Ae=pe.createElement(_);Ae.language=ab,Ae.crossOrigin=W,Ae.src=b,webModule.__errFn&&(Ae.onerror=function(){webModule.__errFn(L,new Error(bb+b))}),we.appendChild(Ae)}Mt(function(){re(Et)})}webModule.__startLoadingFragment=function(Et){return C(Et)},webModule.__installRunAsyncCode=function(Et){var Mt=u(),re=Mt.body,b=Mt.createElement(_);b.language=ab,b.text=Et,re.appendChild(b),re.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(Et){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Et){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Et){var Mt=c[Et];return Mt==null?null:Mt},r=d,webModule.__errFn=e}function B(){function Et(_e){var Ue=_e.lastIndexOf(rb);Ue==-1&&(Ue=_e.length);var De=_e.indexOf(sb);De==-1&&(De=_e.length);var tt=_e.lastIndexOf(tb,Math.min(De,Ue));return tt>=O?_e.substring(O,tt+P):W}function Mt(_e){if(!_e.match(/^\w+:\/\//)){var Ue=o.createElement(ub);Ue.src=_e+vb,_e=Et(Ue.src)}return _e}function re(){var _e=__gwt_getMetaProperty(wb);return _e!=null?_e:W}function b(){for(var _e=o.getElementsByTagName(_),Ue=O;Ue<_e.length;++Ue)if(_e[Ue].src.indexOf(xb)!=-1)return Et(_e[Ue].src);return W}function pe(){var _e=o.getElementsByTagName(yb);return _e.length>O?_e[_e.length-P].href:W}function we(){var _e=o.location;return _e.href==_e.protocol+zb+_e.host+_e.pathname+_e.search+_e.hash}var Ae=re();return Ae==W&&(Ae=b()),Ae==W&&(Ae=pe()),Ae==W&&we()&&(Ae=Et(o.location.href)),Ae=Mt(Ae),Ae}function C(Et){return Et.match(/^\//)||Et.match(/^[a-zA-Z]+:\/\//)?Et:webModule.__moduleBase+Et}function D(){var Et=[],Mt=O,re=[],b=[];function pe(_e){var Ue=b[_e](),De=re[_e];if(Ue in De)return Ue;var tt=[];for(var Me in De)tt[De[Me]]=Me;throw r&&r(_e,tt,Ue),null}if(__gwt_isKnownPropertyValue=function(_e,Ue){return Ue in re[_e]},webModule.__getPropMap=function(){var _e={};for(var Ue in re)re.hasOwnProperty(Ue)&&(_e[Ue]=pe(Ue));return _e},webModule.__computePropValue=pe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var we;try{we=Cb;var Ae=we.indexOf(Db);Ae!=-1&&(Mt=parseInt(we.substring(Ae+P),$),we=we.substring(O,Ae))}catch(_e){}return webModule.__softPermutationId=Mt,C(we+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},67303:function(Et,Mt,re){"use strict";re.d(Mt,{Ax:function(){return Ae},Ds:function(){return _e},KI:function(){return De},SI:function(){return we},f1:function(){return pe}});var b=re(90524);function pe(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 we(tt,Me=""){let Le=[];for(let ke=0;ke<tt.length;ke++){let Ge=tt[ke],Ke=Me?`${Me}/${Ge.name}`:`${Ge.name}`;Le.push({title:Ge.name,type:Ge.type,isLeaf:Ge.type!=="tree",key:Ke})}return Le}function Ae(tt,Me,Le){for(let ke=0;ke<tt.length;ke++){let Ge=tt[ke];if(Ge.key===Me){Ge.children=Le;break}Ge.children&&Ae(Ge.children,Me,Le)}return tt}function _e(tt,Me,Le){let ke;return function(){let Ge=this,Ke=arguments,le=function(){ke=null,Le||tt.apply(Ge,Ke)},E=Le&&!ke;clearTimeout(ke),ke=setTimeout(le,Me),E&&tt.apply(Ge,Ke)}}const Ue=!0,De=b.Z.API_SERVER},64885:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return le}});var b=re(3113),pe=re(59301),we=Object.defineProperty,Ae=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,tt=Object.prototype.propertyIsEnumerable,Me=(E,a,x)=>a in E?we(E,a,{enumerable:!0,configurable:!0,writable:!0,value:x}):E[a]=x,Le=(E,a)=>{for(var x in a||(a={}))De.call(a,x)&&Me(E,x,a[x]);if(Ue)for(var x of Ue(a))tt.call(a,x)&&Me(E,x,a[x]);return E},ke=(E,a)=>Ae(E,_e(a)),Ge=(E,a)=>{var x={};for(var y in E)De.call(E,y)&&a.indexOf(y)<0&&(x[y]=E[y]);if(E!=null&&Ue)for(var y of Ue(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(he){z(he)}},ae=ie=>{try{se(x.throw(ie))}catch(he){z(he)}},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=Ge(a,["children"]);const[z,te]=(0,pe.useState)(!1);return pe.createElement(b.ZP,ke(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)}},6725:function(Et,Mt,re){"use strict";var b=re(86204),pe=re.n(b),we=Object.defineProperty,Ae=(tt,Me,Le)=>Me in tt?we(tt,Me,{enumerable:!0,configurable:!0,writable:!0,value:Le}):tt[Me]=Le,_e=(tt,Me,Le)=>Ae(tt,typeof Me!="symbol"?Me+"":Me,Le),Ue=(tt,Me,Le)=>new Promise((ke,Ge)=>{var Ke=a=>{try{E(Le.next(a))}catch(x){Ge(x)}},le=a=>{try{E(Le.throw(a))}catch(x){Ge(x)}},E=a=>a.done?ke(a.value):Promise.resolve(a.value).then(Ke,le);E((Le=Le.apply(tt,Me)).next())});class De extends b.EventEmitter{constructor(Me,Le){super(),_e(this,"url"),_e(this,"body"),_e(this,"fullContent",""),_e(this,"controller",null),_e(this,"buffer",""),this.url=Me,this.body=Le}startStream(){return Ue(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 ke=Le.headers.get("content-type");if(!ke)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(ke.includes("application/json")){const le=yield Le.json();this.emit("error",le);return}if(!ke.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Ge=Le.body.getReader(),Ke=new TextDecoder("utf-8");for(;;){const{done:le,value:E}=yield Ge.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()}}Mt.Z=De},86059:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return mt}});var b=re(59301),pe=re(97831),we=re(77596),Ae=re(3977),_e=re(14179),Ue=re(56102),De={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},tt=re(8591),Me=re(11611),Le=re(13058),ke=re(30084),Ge=re(10787),Ke=re(88831),le=re(43428),E=re(95237),a=re(43604),x={smartWrp:"smartWrp___NjRcB"},y=re(51124),z=re(71360),te=re(64885),ae=re(59301),se=(Pn,un,Zt)=>new Promise((_t,Te)=>{var ot=Ft=>{try{hn(Zt.next(Ft))}catch(sn){Te(sn)}},Rt=Ft=>{try{hn(Zt.throw(Ft))}catch(sn){Te(sn)}},hn=Ft=>Ft.done?_t(Ft.value):Promise.resolve(Ft.value).then(ot,Rt);hn((Zt=Zt.apply(Pn,un)).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 he({open:Pn=!0,onChange:un,defaultValue:Zt,placement:_t,width:Te,height:ot,extra:Rt,onDynamic:hn,showExtra:Ft=!0}){const sn=(0,b.useRef)(null),Ce=(0,b.useRef)(null),[it,Qt]=(0,b.useState)(Zt||""),[nt,ht]=(0,b.useState)(Zt||""),[Tn,kt]=(0,b.useState)(!!Pn),[yt,Pt]=(0,b.useState)(1),Hn={selectOnLineNumbers:!0};(0,b.useEffect)(()=>{Pn&&(Qt(Zt),ht(Zt),kt(!0))},[Pn,Zt]),(0,b.useEffect)(()=>{it!==""&&(clearTimeout(Ce.current),Ce.current=setTimeout(()=>{const an=document.createElement("iframe");if(an.style.width="100%",an.style.height="100%",an.style.border="0",sn.current){sn.current.innerHTML="",sn.current.appendChild(an);const oa=an.contentDocument||an.contentWindow.document;oa.open(),oa.write(it),oa.close()}},1e3))},[Pn,it]);const Wn=an=>{Qt(an),un==null||un(an,nt)};return ae.createElement(le.Z,{title:"\u667A\u80FD\u52A8\u6548",placement:"right",open:Tn,width:Ft?700:"100%",height:ot||"100vh",rootClassName:x.smartWrp,destroyOnClose:!0,onClose:()=>kt(!1),extra:Ft&&ae.createElement("div",null,ae.createElement(z.tp,{dataSource:[{name:"\u9884\u89C8",id:1},{name:"\u4EE3\u7801",id:2}],value:yt,onChange:an=>Pt(an)}),ae.createElement(te.Z,{type:"primary",className:"ml20",onClick:()=>se(this,null,function*(){yield hn(it,()=>{kt(!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:yt===1?"block":"none"}},ae.createElement("div",{className:"h100",ref:sn})),ae.createElement(a.Z,{flex:"1",style:{display:yt===2?"block":"none"}},ae.createElement(y.ZP,{height:"90vh",value:Zt,language:"html",theme:"vs",showMiniMap:!1,options:Hn,onChange:Wn}))))}var be=he,He=Object.defineProperty,Ne=Object.defineProperties,dt=Object.getOwnPropertyDescriptors,Re=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,qe=(Pn,un,Zt)=>un in Pn?He(Pn,un,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Pn[un]=Zt,xe=(Pn,un)=>{for(var Zt in un||(un={}))Ye.call(un,Zt)&&qe(Pn,Zt,un[Zt]);if(Re)for(var Zt of Re(un))We.call(un,Zt)&&qe(Pn,Zt,un[Zt]);return Pn},gt=(Pn,un)=>Ne(Pn,dt(un)),lt=(Pn,un)=>{var Zt={};for(var _t in Pn)Ye.call(Pn,_t)&&un.indexOf(_t)<0&&(Zt[_t]=Pn[_t]);if(Pn!=null&&Re)for(var _t of Re(Pn))un.indexOf(_t)<0&&We.call(Pn,_t)&&(Zt[_t]=Pn[_t]);return Zt},mt=({onFinish:Pn,value:un,streamingStatus:Zt,cancelIndex:_t,loadImage:Te,onDynamic:ot})=>{const[Rt,hn]=(0,b.useState)(""),[Ft,sn]=(0,b.useState)({defaultValue:"",open:0,language:"",placement:"right",height:"100vh"}),[Ce,it]=(0,b.useState)(0),[Qt,nt]=(0,b.useState)(!1),ht=yt=>yt.replace(/`(\$\$.*?\$\$)`/g,"$1").replace(/\$\$([\s\S]*?)\$\$/g,(Pt,Hn)=>`<mathx data-text="${Hn.trim()}">$$${Hn.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,"`$&`"),Tn=()=>{nt(!0),Pn==null||Pn()};(0,b.useEffect)(()=>{const yt=Te?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A
${un}`:un,Pt=ht(yt);if(!Qt)if(Te||!Zt||_t>0){hn(Pt),it(Pt.length),(!Zt||_t>0)&&!Te&&Tn();return}else if((Pt==null?void 0:Pt.length)<4)hn(Pt),it(Pt.length);else if(Ce<Pt.length){const Hn=Pt.length-Ce,Wn=setInterval(()=>{hn(Pt.slice(0,Ce+2)),it(an=>an+2)},Hn>10?Math.max(500/(Hn/2),20):50);return()=>clearInterval(Wn)}else Zt||Tn()},[un,Zt,_t,Te,Ce]);const kt=(0,b.useMemo)(()=>b.createElement("section",{className:`${De.answer} fadeIn animated edu_md`},b.createElement(pe.UG,{remarkPlugins:[ke.Z,Ge.Z],rehypePlugins:[Le.Z,Ae.Z],components:{code(yt){var Pt=yt,{node:Hn,inline:Wn,className:an,children:oa}=Pt,Ea=lt(Pt,["node","inline","className","children"]);const qn=/language-(\w+)/.exec(an||""),On=String(oa).trim();return Wn||!qn?b.createElement("code",xe({className:an},Ea),oa):b.createElement("code",{className:De.codeCopy,"data-text":`\`\`\`${qn?qn[1]:""}
${oa}
\`\`\``},b.createElement(Ue.CopyToClipboard,{text:On,onCopy:()=>tt.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},b.createElement("button",null,"\u590D\u5236")),qn[1]==="html"&&Qt&&b.createElement("button",{className:De.runCode,onClick:()=>{sn(xe({},gt(xe({},Ft),{open:++Ft.open,defaultValue:On,language:qn[1]})))}},"\u8FD0\u884CHTML"),b.createElement(we.Z,xe({wrapLongLines:!0,style:_e.Z,language:qn[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},Ea),On))},img({node:yt}){var Pt;const Hn=(Pt=yt.properties)==null?void 0:Pt.src;return b.createElement(Me.Z,{src:Hn,width:320,"data-text":Hn,onLoad:()=>Te&&setTimeout(()=>Tn(),500)})}}},Qt?Rt:`${Rt}__`)),[Rt]);return b.createElement(b.Fragment,null,b.createElement(be,{defaultValue:Ft.defaultValue,open:Ft.open,language:Ft.language,height:Ft.height,onChange:(yt,Pt)=>{hn(Rt.replaceAll(Pt,yt))},onDynamic:ot}),kt)}},74049:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return be}});var b=re(59301),pe=re(8591),we=re(43428),Ae=re(95237),_e=re(43418),Ue=re(92832),De=re(54580),tt=re(6848),Me=re(43604),Le=re(5871),ke={wrap:"wrap___Yz6fc",left:"left___F0axg",tip:"tip___nCmqI",bottomBtn:"bottomBtn___x70Gq",disabled:"disabled___CWzre"},Ge=re(71360),Ke=re(90524),le=re(30008),E=re(82093),a=re(67556),x=re(49661),y=re(11196),z=re(53010),te=re(95795),ae=re(24754),se="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAHr1JREFUaEPNmweYnVW1/n/7a6fMmcm0ZEoSUkkCSQgJCVWKoAI2FAH1iqBYwXvFLogF8S9XvRYElUeqIJegFOmEKgiICUkgJBBCkpnMZHoyc6ad9pW9r3t/58wEsJfn+Z8z5zn9fN+711rvetdaewT/rsvi073GBEsdrIN8214WOfbCyLHnSks0SSGqFCCFlSOS/VLKNhXJbULKTVYgXwhKwWZevNX/d5ya+Ff+6OzZx9WGycRbhZs+JbKdYyPbmqZsR5Qsi7xrIS2LSAgQFuh7fdHIVQRSmZsVhsqSciARyifswL/LsuX9w8/fOfyvOs9/CeB5845bEuJ9WljidOm6tZHtEjkOkWPjuw4l2yZMJAk1UKsMVh9ZCVAqBhxJiEJzE2GEE0Z4ocSOwmEnCm9VxfDy7M77tvyzwP8pwAfMPG6JtOyLI0e8M7SEi2UTuB7SdlGOi+85+K5NyfEIXBdcrwy4YmENVsVgZQhBBKEPUYQVBNhBSDKMEGGAG8nAlvJuEfoX9+986B8G/g8Bnlt3yBQvk/m6tKxPKWElIhvjrhpk6HjmPkh4+K5L0XUpWTaJVIJpDfU01VVTP6Uaz3OMsXL5En3ZEfZkcwwNZZFBYMCLIDSgnSAkEfiIKMSNFLYMS1akflokuiTb9sjI32vxvxvwouY3HIdrXQtirvZI6XhISyFtB8qAQ8+jaFuQTvGGlQdy5klHcvji+TTV1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AAABJRU5ErkJggg==",ie=(He,Ne,dt)=>new Promise((Re,Ye)=>{var We=gt=>{try{xe(dt.next(gt))}catch(lt){Ye(lt)}},qe=gt=>{try{xe(dt.throw(gt))}catch(lt){Ye(lt)}},xe=gt=>gt.done?Re(gt.value):Promise.resolve(gt.value).then(We,qe);xe((dt=dt.apply(He,Ne)).next())}),be=(0,b.forwardRef)(({onUpdateNum:He,onSave:Ne},dt)=>{var Re;const Ye=`\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%`,[We,qe]=(0,b.useState)(!1),[xe,gt]=(0,b.useState)([]),[lt,At]=(0,b.useState)(null),[mt,Pn]=(0,b.useState)([]),[un,Zt]=(0,b.useState)(0),[_t,Te]=(0,b.useState)(0),[ot,Rt]=(0,b.useState)(!1),[hn,Ft]=(0,b.useState)(""),[sn,Ce]=(0,b.useState)(0),[it,Qt]=(0,b.useState)(0),[nt,ht]=(0,b.useState)(0),[Tn,kt]=(0,b.useState)(0),[yt,Pt]=(0,b.useState)(0),[Hn,Wn]=(0,b.useState)(0),[an,oa]=(0,b.useState)(0),[Ea,qn]=(0,b.useState)(0),[On,Sa]=(0,b.useState)(ae.Q),{contentRef:Oa,value:ka,status:va,open:Ua,close:Ta}=On,ga=(0,z.Z)({contentRef:Oa,status:va}),{openProgress:Ra,closeProgress:qa,CreateProgressModal:Zn,progressOpen:yn}=(0,y.Z)();(0,b.useEffect)(()=>{lt&&xa(),lt===!1&&(Ta(),He==null||He(),gt([]),Ft(""),Ce(0),Qt(0),ht(0),kt(0),Pt(0),Wn(0),oa(0),qn(0))},[lt]);const Gt=()=>{At(!0)};(0,b.useImperativeHandle)(dt,()=>({onClick:Gt}));const rn=ia=>{Rt(!0),Zt(ia),Te(0)},Ca=ia=>ie(void 0,null,function*(){const Rr=ia.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(Rr)==-1?(pe.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u683C\u5F0F\u6709\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),Promise.reject()):ia.size/1024/1024>10?(pe.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u5927\u5C0F\u9650\u523610MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),Promise.reject()):!0}),xa=()=>ie(void 0,null,function*(){const ia=yield(0,E.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});ia.status===0&&(Zt(ia.total_number),Te(ia.remaining_number))}),_a=ia=>(ia=ia||"",ia=String(ia),ia=ia.replace(/\s+/g,""),ia),La=(ia=!0)=>ie(void 0,null,function*(){var Rr,Lt;const xn=[{name:"\u5355\u9009\u9898",num:sn||0},{name:"\u591A\u9009\u9898",num:it||0},{name:"\u5224\u65AD\u9898",num:nt||0},{name:"\u586B\u7A7A\u9898",num:Tn||0},{name:"\u7B80\u7B54\u9898",num:yt||0},{name:"\u7EC4\u5408\u9898",num:Ea||0},{name:"\u7F16\u7A0B\u9898",num:Hn||0},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",num:an||0}];if(ia){if(_a(hn)){if(hn.length>1e3){pe.ZP.warning("\u51FA\u9898\u8981\u6C42\u5B57\u6570\u9650\u5236\u4E3A1000\u5B57");return}}else{pe.ZP.warning("\u8BF7\u5148\u8F93\u5165\u51FA\u9898\u8981\u6C42");return}if(!_a(hn)&&!(xe!=null&&xe.length)){pe.ZP.warning("\u8BF7\u4E0A\u4F20\u6750\u6599\u6587\u6863\u6216\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6750\u6599\u5185\u5BB9");return}const Be=xn.reduce((at,ct)=>at+ct.num,0);if(Be===0){pe.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}if(Be>30){pe.ZP.warning("\u51FA\u9898\u6570\u91CF\u8FBE\u5230\u9650\u5236");return}if(un!==-1){Rt(!0);return}}Rt(!1);const pa={scene_type:6,request_identifier:Math.random(),file_id:(Lt=(Rr=xe[0])==null?void 0:Rr.response)==null?void 0:Lt.id,content:hn,count_arr:xn.map(Be=>Be.num).join(",")};yield Ua(pa),xa()}),za=()=>ie(void 0,null,function*(){const ia=ga();if(Ne){At(!1),Ne(ia);return}Ra(),qe(!0),Pn([]);const Rr=new FormData;Rr.append("html",ia);const Lt=yield(0,E.ZP)("/api/intelligent_imports/import.json",{method:"post",body:Rr},!0);if((Lt==null?void 0:Lt.status)===0)if(Lt!=null&&Lt.data){qa(100),Pn(Lt==null?void 0:Lt.data);return}else pe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898");qe(!1),qa()}),sr=()=>ie(void 0,null,function*(){const ia=ga();(0,x.RG)(ia)}),$a=["uploading","error"].includes((Re=xe==null?void 0:xe[0])==null?void 0:Re.status);return b.createElement(b.Fragment,null,b.createElement(te.Z,{visible:ot,totalCount:un,usedCount:_t,onCancel:()=>Rt(!1),onOk:()=>La(!1)}),b.createElement(we.Z,{title:"\u667A\u80FD\u51FA\u9898",extra:b.createElement("div",{className:ke.extraHeader},b.createElement(Ae.Z,{align:"middle"},!va&&!!ka&&b.createElement(b.Fragment,null,b.createElement(Ge.op,{onClick:za,className:"mr15",shape:"default"},"\u4FDD\u5B58\u8BD5\u9898"),b.createElement(Ge.op,{onClick:sr,shape:"default",type:"text"},b.createElement("i",{className:"iconfont icon-fuzhi8 mr5 font14"}),"\u590D\u5236")),b.createElement("i",{onClick:()=>{const ia=Rr=>{_e.default.confirm({centered:!0,icon:null,width:500,zIndex:1101,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:Rr,onOk:()=>{At(!1)}})};if(va){ia("\u6B63\u5728\u751F\u6210\u8BD5\u9898\u4E2D\uFF0C\u786E\u5B9A\u8981\u9000\u51FA\u5417\uFF1F");return}else ka?ia("\u8BD5\u9898\u672A\u4FDD\u5B58\uFF0C\u786E\u5B9A\u8981\u9000\u51FA\u5417\uFF1F"):At(!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:lt},b.createElement("div",{className:ke.wrap},b.createElement("div",{className:ke.left},b.createElement("div",{className:ke.tip},b.createElement("img",{src:se}),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(Ue.default.TextArea,{style:{height:160},className:"mb20",value:hn,placeholder:Ye,onChange:ia=>{Ft(ia.target.value)}}),b.createElement(De.default,{accept:".doc,.docx,.pdf,.png,.jpg",action:`${Ke.Z.API_SERVER}/api/attachments.json`,maxCount:1,fileList:xe,withCredentials:!0,data:{upload_type:1},beforeUpload:Ca,onChange:({file:ia})=>{var Rr,Lt;ia.status!=="removed"&&(ia.status==="done"&&((Rr=ia==null?void 0:ia.response)==null?void 0:Rr.status)!==0&&(ia.status="error",ia.response=(Lt=ia==null?void 0:ia.response)==null?void 0:Lt.message),gt([ia]))},onRemove:()=>gt([])},b.createElement(tt.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(Ge.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(Ae.Z,{style:{gap:16}},b.createElement(Me.Z,null,b.createElement("label",null,"\u5355\u9009\u9898"),b.createElement(Le.Z,{min:0,max:10,value:sn,onChange:Ce,style:{marginLeft:"8px"}})),b.createElement(Me.Z,null,b.createElement("label",null,"\u591A\u9009\u9898"),b.createElement(Le.Z,{min:0,max:10,value:it,onChange:Qt,style:{marginLeft:"8px"}})),b.createElement(Me.Z,null,b.createElement("label",null,"\u5224\u65AD\u9898"),b.createElement(Le.Z,{min:0,max:10,value:nt,onChange:ht,style:{marginLeft:"8px"}})),b.createElement(Me.Z,null,b.createElement("label",null,"\u586B\u7A7A\u9898"),b.createElement(Le.Z,{min:0,max:10,value:Tn,onChange:kt,style:{marginLeft:"8px"}})),b.createElement(Me.Z,null,b.createElement("label",null,"\u7B80\u7B54\u9898"),b.createElement(Le.Z,{min:0,max:10,value:yt,onChange:Pt,style:{marginLeft:"8px"}})))),va?b.createElement("div",{onClick:Ta,className:ke.bottomBtn},b.createElement("i",{className:"iconfont icon-tingzhihuida"}),"\u505C\u6B62\u51FA\u9898"):$a?b.createElement("div",{className:`${ke.bottomBtn} ${ke.disabled}`},b.createElement("i",{className:"iconfont icon-kaishichuti font14"}),"\u5F00\u59CB\u51FA\u9898"):b.createElement("div",{onClick:()=>{La()},className:ke.bottomBtn},b.createElement("i",{className:"iconfont icon-kaishichuti font14"}),"\u5F00\u59CB\u51FA\u9898")),b.createElement(ae.Z,{onStatusChange:Sa,loadingText:"\u8BD5\u9898\u751F\u6210\u4E2D",fetchUrl:"/api/stream/intelligent_imports/stream.json",showEditableToolbar:!yn,noRestrictModal:rn,stringTransformer:a.o,onError:ia=>{Object.prototype.toString.call(ia)==="[object Object]"&&ia.status===-9&&rn(ia.data)}}))),b.createElement(we.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:We},b.createElement(Ae.Z,{align:"middle",style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},b.createElement("img",{src:re(36413),alt:"\u667A\u80FD\u51FA\u9898"}),b.createElement("span",{className:"ml10"},"\u667A\u80FD\u51FA\u9898")),b.createElement(le.Z,{stickyTop:-24,hideWordFeatures:!0,dataSource:mt,isRefreshItemBank:!0,okText:"\u5BFC\u5165\u9898\u5E93",mode:1,onCancel:()=>qe(!1),onSuccess:()=>{qe(!1),At(!1)}}),b.createElement("div",{style:{height:70}})),Zn("\u5904\u7406\u4E2D"))})},23479:function(Et,Mt,re){"use strict";var b=re(59301);const pe=({scrollBoxRef:we,bottomInspectRef:Ae,contentRef:_e,status:Ue,rootMargin:De="70px",bottomOffset:tt=110})=>{const[Me,Le]=(0,b.useState)(!0),ke=(0,b.useRef)(!1);return(0,b.useEffect)(()=>{if(!we.current||!Ae.current)return;const Ge=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:we.current,rootMargin:De,threshold:0});return Ge.observe(Ae.current),()=>{Ge.disconnect()}},[we.current,Ae.current,De]),(0,b.useEffect)(()=>{if(!Ue)return;const Ge=we.current,Ke=_e.current;ke.current=!1;let le=Ge.scrollTop;const E=()=>{const{scrollTop:x,scrollHeight:y,clientHeight:z}=Ge;x>le?x+z>=y-tt&&(Ge.scrollTop=Ge.scrollHeight,ke.current=!1):x<le&&(ke.current=!0),le=x};Ge.addEventListener("scroll",E);const a=new ResizeObserver(()=>{ke.current||(Ge.scrollTop=Ge.scrollHeight)});return a.observe(Ke),()=>{setTimeout(()=>{a.unobserve(Ke)},250),Ge.removeEventListener("scroll",E)}},[Ue]),Me};Mt.Z=pe},53010:function(Et,Mt,re){"use strict";var b=re(59301);const pe=({contentRef:we,status:Ae})=>((0,b.useEffect)(()=>{!Ae&&(we!=null&&we.current)&&we.current.querySelectorAll("code[data-text], mathx[data-text]").forEach(De=>{De.tagName.toLowerCase()==="code"?De.parentElement&&(De.parentElement.contentEditable="false"):De.tagName.toLowerCase()==="mathx"&&(De.contentEditable="false")})},[Ae]),(Ue=!1)=>{const De=ke=>{const Ge={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&nbsp;":" ","&copy;":"\xA9","&reg;":"\xAE","&euro;":"\u20AC"};return ke.replace(/&[^;]+;/g,Ke=>Ge[Ke]||Ke)};if(!we.current)return"";const tt=we.current.cloneNode(!0);tt.querySelectorAll("code[data-text], mathx[data-text]").forEach(ke=>{let Ge=ke.getAttribute("data-text");ke.tagName.toLowerCase()==="code"?Ge=Ge.replace(/```.*\n|\n```/g,""):ke.tagName.toLowerCase()==="mathx"&&(Ge=`$$${Ge}$$`);const Ke=document.createTextNode(Ge);ke.parentNode.replaceChild(Ke,ke)}),Ue&&tt.querySelectorAll('[data-select="disabled"]').forEach(Ge=>{var Ke;const le=Ge.textContent||"",E=document.createTextNode(le+`
`);(Ke=Ge.parentNode)==null||Ke.replaceChild(E,Ge)});let Le=tt.innerHTML;return Ue||(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=De(Le),Le});Mt.Z=pe},11196:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return Ge}});var b=re(59301),pe=re(43418),we=re(95237),Ae=re(93948),_e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGIAAABYCAYAAAAORCLFAAAAAXNSR0IArs4c6QAAIABJREFUeF7lfQecXFXZ/nNumT6zvWeTTSWkEEJooUgRpSMooiLfxycqTcQGIvipAf1UsNFEUAQBQTpSDCgtIQVTSAgJ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7EM69d/+XROG1BGGic508Kav7Ev5FCctp8+rx0Aox8cPNf2VAxAf9Z49k5yNw3g7bualQDK7wfemy7puFk2TplgYL89psNDZEoLCyKVoVY3gvLqpKCcBcrD+Uw2PPDCEzxpQ99TjXTX4Y/H7XXy14+fUG4NWe/6wAIj7oT/8gu8CXzo1SOjcXPf9yL5Au83IpvsjeLY22AqWpkeFtoatbuTBjArBMo8wF2LhpBK8cyGrrTDgjYeB/+pXt+/4aT14bdZ56taR6fY8/64CI3+5//mZuoXTstwewbvK94DI/IKdE1pctMavJxrzZDurrLGV5DY4E2H+4gF2dY8jmQ139KsVj+Xzx9v1fWtD1+pLy33b2sxqI+K3d+U250Pdz7wiRuMn3/UuDQLpFz1ftgIIw1LXN7G7gk3tYbWT1e2H4yR33tH1NG7Nn9/ZrA0ScjB/8x9zCQijfIWHd5BWDS4t+6KpWC4FAoejl/NB+oFD0/9uWP5914uwmf3l0v5ZAxIn7nr/MdWSRv84vhA1eaO3PZ/Kbnv7cnN5fFwDMOP8vz4/Uk8nae+oAAAAASUVORK5CYII=",tt={dotLoading:"dotLoading___s6Sh4",showHide:"showHide___Dfprh",progress:"progress___QUpqo"},Me=re(59301);const Le=["\u6587\u4EF6\u89E3\u6790\u8BFB\u53D6\u4E2D","\u5185\u5BB9\u7406\u89E3\u5206\u6790\u4E2D","\u7ED3\u6784\u5316\u63D0\u53D6\u4E2D"];var Ge=()=>{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 be=()=>{le(He=>He>=99?(clearInterval(z.current),99):He+1)};return z.current=setInterval(be,5e4/99),()=>clearInterval(z.current)},[x]);const te=()=>{le(0),a(!0),y(!1)},ae=(be=0)=>{y(!0),le(be),a(!1)},se=be=>{const He=be/1048576;let Ne;return He<=.3?Ne=3:He<=.5?Ne=5:He<=1?Ne=10:He<=2?Ne=20:He<=3?Ne=30:He<=10?Ne=He*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(be=>!be),CreateProgressModal:(be=Le,He)=>(typeof be=="string"&&(be=[be,be,be]),Me.createElement(pe.default,{centered:!0,closable:!1,destroyOnClose:!0,zIndex:1200,open:E,title:null,footer:null,width:500,afterClose:()=>le(0)},Me.createElement(we.Z,{align:"middle",className:"mt40 mb20",style:{flexDirection:"column"}},Ke<=30&&Me.createElement(Me.Fragment,null,Me.createElement("img",{src:_e,alt:"Step 1"}),Me.createElement("div",{className:"mt20 c-light-primary"},be[0],ie())),Ke>30&&Ke<60&&Me.createElement(Me.Fragment,null,Me.createElement("img",{src:Ue,alt:"Step 2"}),Me.createElement("div",{className:"mt20 c-light-primary"},be[1],ie())),Ke>=60&&Me.createElement(Me.Fragment,null,Me.createElement("img",{src:De,alt:"Step 3"}),Me.createElement("div",{className:"mt20 c-light-primary"},be[2],ie())),Me.createElement(Ae.Z,{className:tt.progress,status:"active",style:{width:"auto"},size:[300,8],percent:Ke}),!!He&&Me.createElement("div",{className:"c-grey-999"},se(He)))))}}},59934:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return un}});var b=re(59301),pe=re(38854),we=re(8591),Ae=re(6848),_e=re(92832),Ue=re(3113),De=re(86059),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:Zt,children:_t})=>{const{left:Te=0,top:ot=0}=Zt||{},[Rt,hn]=(0,b.useState)(Te),[Ft,sn]=(0,b.useState)(ot),Ce=(0,b.useRef)(null),it=()=>{if(Ce.current){const Qt=Ce.current.offsetWidth,nt=Ce.current.offsetHeight,ht=window.innerWidth,Tn=window.innerHeight;let kt=Te,yt=ot;Te+Qt>ht&&(kt=ht-Qt),kt<0&&(kt=0),ot+nt>Tn&&(yt=Tn-nt),yt<0&&(yt=0),hn(kt),sn(yt)}};return(0,b.useEffect)(()=>{if(!Ce.current||!Zt)return;const Qt=new ResizeObserver(()=>{it()});return Qt.observe(Ce.current),()=>{Qt.disconnect()}},[Te,ot,Zt]),(0,b.useEffect)(()=>{Zt&&it()},[Te,ot,Zt]),Zt?b.createElement("div",{ref:Ce,style:{position:"fixed",left:`${Rt}px`,top:`${Ft}px`,zIndex:1050}},_t):null},ke=re(90524),Ge=re(56102),Ke=re(6725),le=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(Zt,_t,Te)=>_t in Zt?le(Zt,_t,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Zt[_t]=Te,ae=(Zt,_t)=>{for(var Te in _t||(_t={}))y.call(_t,Te)&&te(Zt,Te,_t[Te]);if(x)for(var Te of x(_t))z.call(_t,Te)&&te(Zt,Te,_t[Te]);return Zt},se=(Zt,_t)=>E(Zt,a(_t)),ie=(Zt,_t,Te)=>new Promise((ot,Rt)=>{var hn=Ce=>{try{sn(Te.next(Ce))}catch(it){Rt(it)}},Ft=Ce=>{try{sn(Te.throw(Ce))}catch(it){Rt(it)}},sn=Ce=>Ce.done?ot(Ce.value):Promise.resolve(Ce.value).then(hn,Ft);sn((Te=Te.apply(Zt,_t)).next())}),be=({visible:Zt,position:_t,selectText:Te,applyRefinedText:ot,fetchUrl:Rt,noRestrictModal:hn})=>{var Ft;const[sn,Ce]=(0,b.useState)(!1),[it,Qt]=(0,b.useState)([]),[nt,ht]=(0,b.useState)(""),[Tn,kt]=(0,b.useState)(1),[yt,Pt]=(0,b.useState)(""),[Hn,Wn]=(0,b.useState)(!1),an=(0,b.useRef)(null),[oa,Ea]=(0,b.useState)(!1),[qn,On]=(0,b.useState)(0),Sa=(0,b.useRef)(!1),Oa=((Ft=it==null?void 0:it[(it==null?void 0:it.length)-1])==null?void 0:Ft.loading)===!0;(0,b.useEffect)(()=>{if(Zt){kt(1);return}Ea(!1),Ce(!1),ka(),On(0),Qt([]),kt(0)},[Zt]);const ka=()=>{var La,za;ht(""),Pt(""),(za=(La=an.current)==null?void 0:La.cancelRequest)==null||za.call(La)},va=(...La)=>ie(void 0,[...La],function*(za="",sr=it){const $a=Date.now(),ia=[...sr,{text:za,key:$a,sender:"user",show:!0},{loading:!0,key:$a,sender:"AI",show:!0}];kt(2),Qt(ia);const Rr=Ta(sr),Lt={no_record_times:!0,prompt:za,history:Rr};an.current=new Ke.Z(ke.Z.API_SERVER+Rt,Lt),yield new Promise(xn=>{an.current.on("data",na=>{const{chunk:{msg:pa},full:Be}=na,at=pa==="error";Ea(!0),Pt(yn(Be)),Qt(ct=>ct.map((bt,St)=>St===ct.length-1?se(ae({},bt),{text:Be,loading:!1,error:at}):bt))}),an.current.on("done",()=>xn()),an.current.on("error",na=>{const pa="\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(na)==="[object Object]"&&na.status===-9&&(kt(1),hn(na.data)),Qt(Be=>Be.map((at,ct)=>ct===Be.length-1?se(ae({},at),{text:pa,loading:!1,error:!0}):at)),xn()}),an.current.on("cancelled",()=>xn()),an.current.startStream()}),Ce(!1)}),Ua=La=>{ht(La.target.value)},Ta=La=>La.reduce((sr,$a)=>{if($a.sender==="user"){const ia=La.find(Rr=>Rr.key===$a.key&&Rr.sender==="AI");ia&&(ia!=null&&ia.text)&&!(ia!=null&&ia.error)&&sr.push({question:$a.text,answer:ia.text})}return sr},[]),ga=()=>{if(_a)return;const La=Gt("\u6539\u5199");ka(),Ce(!0),va(La)},Ra=La=>{if(La.key==="Enter"&&!La.shiftKey){if(La.preventDefault(),Sa.current||xa)return;ga()}},qa=()=>{var La,za;On(sr=>sr+1),(za=(La=an.current)==null?void 0:La.cancelRequest)==null||za.call(La),Ce(!1),Ea(!1)},Zn=[{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")}],yn=(La="")=>{const za=["\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((sr,$a)=>{za.push(`\u7B54\u6848${$a+1}\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${$a+1})\u8F93\u5165\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${$a+1})\u8F93\u51FA\uFF1A`)}),za.forEach(sr=>{const $a=new RegExp(sr,"g");La=La.replace($a,`**${sr}** `)}),La},Gt=La=>La==="\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${La}\u4E0A\u9762\u8FD9\u53E5\u8BDD\uFF0C\u6839\u636E\u539F\u683C\u5F0F\u8FD4\u56DE\u7ED9\u6211\uFF0C\u4E0D\u8981\u53BB\u6389\u63D0\u793A\u8BED`,rn=La=>{let za="";La.key==="1"&&(za=Gt("\u6DA6\u8272")),La.key==="2"&&(za=Gt("\u6269\u5199")),La.key==="3"&&(za=Gt("\u7F29\u5199")),ka(),Ce(!0),va(za)},Ca=()=>{const La=it.splice(it.length-2),{text:za}=(La==null?void 0:La[0])||{};ka(),Ce(!0),va(za,it)},xa=sn||oa,_a=(nt==null?void 0:nt.trim())==="";return Zt?b.createElement(pe.Z,{open:_a&&!xa&&(Hn||!yt),overlayStyle:{minWidth:200},menu:{items:Zn,onClick:rn}},b.createElement(Le,{position:_t},b.createElement("div",{className:tt.wrap},Tn===2&&b.createElement(b.Fragment,null,b.createElement("div",{className:tt.chatContainer},Oa&&b.createElement("div",{className:tt.loadingWrp},b.createElement("span",null,"\u6B63\u5728\u751F\u6210\u4E2D"),b.createElement("div",{className:"ai-loading"})),yt&&b.createElement(De.Z,{cancelIndex:qn,streamingStatus:sn,loadImage:!1,onFinish:()=>ie(void 0,null,function*(){On(0),setTimeout(()=>Ea(!1),0)}),value:yt})),b.createElement("div",{className:tt.btnContainer},b.createElement("div",{onClick:()=>ot(!0,yt),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,yt),className:tt.btn,style:{padding:"0 16px",width:"initial"}},b.createElement("i",{className:"iconfont icon-charu mr10 font14"}),"\u63D2\u5165"),b.createElement(Ge.CopyToClipboard,{text:yt,onCopy:()=>we.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:Ca,className:tt.btn},b.createElement("i",{className:"iciconfontonfot icon-gengxin-genghuan-tihuan font17"}))),b.createElement(Ae.Z,{title:"\u5220\u9664"},b.createElement("div",{onClick:()=>{kt(1),ka(),Qt([])},className:tt.btn},b.createElement("i",{className:"iconfont icon-shanchu14 font14"}))))),b.createElement("div",{className:tt.inputContainer},b.createElement(_e.default.TextArea,{placeholder:"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u7684\u6587\u672C\u4F18\u5316\u5EFA\u8BAE",value:nt,bordered:!1,onFocus:()=>Wn(!0),onBlur:()=>setTimeout(()=>Wn(!1),300),onChange:Ua,onPressEnter:Ra,onCompositionStart:()=>Sa.current=!0,onCompositionEnd:()=>Sa.current=!1}),oa?b.createElement("div",{className:`iconfont icon-tingzhihuida ${tt.cancelBtn}`,onClick:qa}):b.createElement(Ue.ZP,{className:_a?tt.sendBtnDisabled:tt.sendBtn,icon:b.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:xa,onClick:ga}))))):b.createElement(b.Fragment,null)},He={"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,dt=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,We=(Zt,_t,Te)=>_t in Zt?Ne(Zt,_t,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Zt[_t]=Te,qe=(Zt,_t)=>{for(var Te in _t||(_t={}))Re.call(_t,Te)&&We(Zt,Te,_t[Te]);if(dt)for(var Te of dt(_t))Ye.call(_t,Te)&&We(Zt,Te,_t[Te]);return Zt};const xe=Zt=>React.createElement("svg",qe({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},Zt),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 gt="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIyNi43OTclIiB5MT0iMjIuMDczJSIgeDI9IjgyLjE4MSUiIHkyPSI4MC40NzQlIiBpZD0iYSI+PHN0b3Agc3RvcC1jb2xvcj0iIzVDNjRGRiIgb2Zmc2V0PSIwJSIvPjxzdG9wIHN0b3AtY29sb3I9IiM2OTg4RjgiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxwYXRoIGQ9Im0xMC40MDYgNC43NDEuMDA3LjAxNWgtLjAwN3YtLjAyMi4wMDdabS0uMDQtLjA0Ljg1NS0xLjQ5NSAxLjQ5Ny0uODU1LTEuNDk2LS44NTVMMTAuMzY2IDBsLS44NTQgMS40OTctMS40OTcuODU1IDEuNDk2Ljg1NC44NTUgMS40OTVaTTMuMSA4LjQ0MmwxLjcxIDMuMSAxLjYwMy0zLjEgMy4xLTEuNzFMNi41MiA1LjAyM2wtMS43MS0zLjEtMS43MSAzLjFMMCA2LjczM2wzLjA5OSAxLjcwOUgzLjFabTYuODQgMy4xIDEuMDY5IDEuOTI0IDEuMDY4LTEuOTI0TDE0IDEwLjQ3M2wtMS45MjQtMS4wNjktMS4wNjktMS45MjNMOS45NCA5LjQwNWwtMS45MjQgMS4wNjggMS45MjQgMS4wN3YtLjAwMVoiIGZpbGw9InVybCgjYSkiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg==",At=(0,b.forwardRef)(({initialContent:Zt,onButtonClick:_t},Te)=>{const[ot,Rt]=(0,b.useState)(null),[hn,Ft]=(0,b.useState)(null),[sn,Ce]=(0,b.useState)(""),[it,Qt]=(0,b.useState)(null),nt=Te,ht=an=>{const oa=document.elementFromPoint(10,an),Ea=document.createRange();let qn=null;const On=document.createTreeWalker(nt.current,NodeFilter.SHOW_TEXT,{acceptNode:ga=>{const Ra=document.createRange();Ra.selectNodeContents(ga);const qa=Ra.getBoundingClientRect();return qa.top<=an&&qa.bottom>=an?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let Sa="",Oa,ka,va=null,Ua=null,Ta=null;for(;Oa=On.nextNode();){Oa.parentNode.getAttribute("data-select")==="disabled"&&(ka=!0),Sa+=Oa.textContent,Ua||(Ua=Oa),Ta=Oa;const ga=document.createRange();ga.selectNodeContents(Oa);const Ra=ga.getBoundingClientRect();va===null&&(va=Ra.top)}if(Ua&&Ta&&!ka){const ga=document.createRange();ga.setStart(Ua,0),ga.setEnd(Ta,Ta.textContent.length),Qt(ga)}else Qt(null);return Ft(va-1),ka?"":Sa.trim()};function Tn(an){for(;an.parentElement&&an.parentElement.tagName.toLowerCase()!=="section";){var oa=window.getComputedStyle(an.parentElement);if(oa.pointerEvents==="none")return!0;an=an.parentElement}return!1}const kt=an=>{var oa,Ea;if(Tn(an.target)){Ft(-1e6);return}if(((Ea=(oa=document.getSelection())==null?void 0:oa.toString)==null?void 0:Ea.call(oa))!==""){Ft(-1e6);return}const qn=ht(an.clientY);if((qn==null?void 0:qn.trim())===""){Ft(-1e6);return}const On=nt.current.getBoundingClientRect();Rt(On.left-30),Ce(qn)},yt=()=>{},Pt=an=>{_t&&sn&&_t(sn,an.clientX,an.clientY,it)},Hn=()=>{if(it){const an=window.getSelection();an.removeAllRanges(),an.addRange(it)}},Wn=()=>{window.getSelection().removeAllRanges()};return(0,b.useEffect)(()=>{const an=nt.current;return an.addEventListener("mousemove",kt),an.addEventListener("mouseleave",yt),()=>{an.removeEventListener("mousemove",kt),an.removeEventListener("mouseleave",yt),Wn()}},[Zt]),b.createElement("div",{className:He["hover-line-container2"]},hn!==null&&b.createElement("div",{className:He["line-button-container"],style:{top:hn,left:ot},onMouseEnter:()=>{Hn()},onMouseLeave:()=>{Wn(),Ft(null),Ce(""),Qt(null)}},b.createElement("div",{className:He.button,onClick:Pt},b.createElement("img",{src:gt}),b.createElement("span",null,"AI\u6539\u5199"))))}),mt={toolbar:"toolbar___qYQBF","chat-dialog":"chat-dialog___AUJYU",button:"button___VhNes"},un=({nodeRef:Zt,noRestrictModal:_t})=>{const[Te,ot]=(0,b.useState)(null),[Rt,hn]=(0,b.useState)(null),[Ft,sn]=(0,b.useState)(!1),[Ce,it]=(0,b.useState)(null),[Qt,nt]=(0,b.useState)(!1),[ht,Tn]=(0,b.useState)(!1),kt=Zt,yt=(0,b.useRef)(null),Pt=(0,b.useRef)(null),[Hn,Wn]=(0,b.useState)("");(0,b.useEffect)(()=>{Te!=null&&Te.toString()&&Wn(Te==null?void 0:Te.toString())},[Te==null?void 0:Te.toString()]);const an=()=>{const On=window.getSelection(),Sa=kt.current.scrollTop,Oa=kt.current.getBoundingClientRect();if(On.rangeCount>0&&On.toString().length>0){const ka=On.getRangeAt(0);ot(ka.cloneRange());const va=ka.getBoundingClientRect(),Ua=40;let Ta=va.top+Sa-5+Ua;Ta<Sa&&(Ta=va.bottom-Oa.top+Sa+5);const ga=kt.current.scrollHeight-Ua;Ta=Math.min(Math.max(Ta,Sa),ga),hn({top:Ta+6,left:va.left})}else ot(null),hn(null),sn(!1);oa(On)},oa=On=>{if(!On||On.rangeCount===0){nt(!1);return}const Oa=On.getRangeAt(0).getBoundingClientRect(),ka=window.getComputedStyle(kt.current),va=parseInt(ka.lineHeight),Ua=parseInt(ka.paddingTop),Ta=kt.current.scrollTop,ga=kt.current.getBoundingClientRect(),Ra=Oa.top-ga.top+Ta,qa=Math.floor((Ra-Ua)/va),Zn=Ua+qa*va-Ta;it(Zn),nt(!0)},Ea=On=>{kt.current&&!kt.current.contains(On.target)&&Tn(!1)};(0,b.useEffect)(()=>{const On=kt.current;return On.addEventListener("scroll",an),On.addEventListener("input",an),On.addEventListener("click",an),On.addEventListener("mouseup",an),On.addEventListener("keyup",an),On.addEventListener("click",an),document.addEventListener("mousedown",Ea),()=>{On.removeEventListener("scroll",an),On.removeEventListener("input",an),On.removeEventListener("click",an),On.removeEventListener("mouseup",an),On.removeEventListener("keyup",an),On.removeEventListener("click",an),document.removeEventListener("mousedown",Ea)}},[]);const qn=(On=!0,Sa)=>{if(!Te)return;const Oa=Pt.current.querySelector("section.edu_md").innerHTML.replace(/<p[^>]*>([\s\S]*?)<\/p>/g,"$1"),ka=Te.cloneRange(),va=window.getSelection();if(va.removeAllRanges(),va.addRange(ka),On){ka.deleteContents();const Ua=document.createElement("div");Ua.innerHTML=Oa;const Ta=Array.from(Ua.childNodes);for(;Ta.length>0;)ka.insertNode(Ta.pop())}else{ka.collapse(!1);const Ua=document.createElement("div");Ua.innerHTML=" "+Oa;const Ta=Array.from(Ua.childNodes);for(;Ta.length>0;)ka.insertNode(Ta.pop())}va.removeAllRanges(),ot(null),sn(!1),hn(null)};return b.createElement("section",{ref:Pt},Rt&&b.createElement("div",{ref:yt,className:mt.toolbar,style:{top:Rt==null?void 0:Rt.top,left:Rt==null?void 0:Rt.left}},b.createElement("div",{className:mt.button,onClick:()=>sn(!0)},b.createElement("img",{src:gt}),b.createElement("span",null,"AI\u6539\u5199"))),b.createElement(be,{key:JSON.stringify(Rt),noRestrictModal:_t,visible:Ft,position:Rt,selectText:Hn,applyRefinedText:qn,fetchUrl:"/api/stream/intelligent_imports/stream.json"}),kt.current&&b.createElement(At,{ref:kt,onButtonClick:(On,Sa,Oa,ka)=>{ot(ka),sn(!0),Wn(On),hn({left:Sa,top:Oa+20})}}))}},95795:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return _e}});var b=re(59301),pe=re(43418),we={num:"num___VQiqB"},_e=({visible:Ue,usedCount:De,totalCount:tt,onOk:Me,onCancel:Le})=>{const ke=()=>De>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:we.num},De),"\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:we.num},De),"\u6B21\uFF09\u3002");return b.createElement(pe.default,{centered:!0,open:Ue,title:"\u63D0\u793A",width:620,zIndex:1100,onCancel:Le,onOk:Me,footer:De>0?void 0:null},ke())}},24754:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return a},Q:function(){return le}});var b=re(59301),pe={container:"container___DAVRd",katex:"katex___oS9Qs",liWrap:"liWrap___pAkIe",backBottom:"backBottom___kT237",imgBox:"imgBox___O8q6M"},we=re(6725),Ae=re(90524),_e=re(86059),Ue=re(59934),De=re(23479),tt=re(26381),Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAAB4CAYAAAAqs3YmAAAAAXNSR0IArs4c6QAADGlJREFUeF7tnVlQHMcZx7/umT0AcSjGBonDOmxdgV2Ww0iWIsmxrfIhJ1VJ2W+uilgEjqtclTwmLxQvyYur8uCKYmFQXMmbXUlV4lw+YsmHkBECdhdkSZZlyUJgScEWh7h2d7pTvcUuw2hhp3dm2dmleWPn66+/+f+me7p7vplGkOQfpRTVt56vgJCyARAtpAg5knS1JosRhBQMdMpJbddPd+68jhCiyQiBkil0sO2qc2J4yoMQLU6mvCizVAFCyLdFlUX9p9o3z/Fqww2Qtbxa7+BuAY9X6pXtGcSBEzVneFsiN8C6lqFKqihuc8MX3pgCTrAFurt2fc2jBj/AI/5GiuGBaCVIgtv2vOnAmd89OstT8Vq33fPL7pzgdJ6LKotaAoLx/k73Jzza8ANs8h1SD1gcBdMfCHg8ki/aMojzk3lPRH9hAxtfp+tfPN64AdZ6/c+pK+jvcr/DU6GwXaqAUT0FwDRfUQJgmgEYrV4ANKpgmssLgGkGYLR6AdCogmkuLwCmGYDR6gVAowqmubwAmGYARqsXAI0qmObyAmCaARitXgA0qmCaywuAaQZgtHoB0KiCaS4vAKYZgNHqBUCjCqa5vACYZgBGqxcAjSqY5vKmARR5nmkmmaD65fJII0/kRZ6nteFpo1PnkSKR55lZ8KLRxvJIRZ5nZgJkUbM8UlSnyfPcXpkLPz1QBPm5mXti2Rj51AzAXz4ah0vXZxZPD8E4qtPkef76xY0CnkWvAAbxN38ejUXHBjZIO4z9betGi4YvwmIK/Or4IkD2vwCYYdeFAJhhwLThCoACYIYrkOHhixYoAGa4AiaHr20R2lG89ri2et5Rv2iBAqDJCmS4O9ECBUAuBUQXyiWX9YwFQOsx4YpIAOSSy3rGAqD1mHBFJAByyWU9YwHQeky4IhIAueS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TA6IZ4YnvJkM8SsBsggRl5pbj1fASFlQ6IlpkRXkRWPZwrA/wPlJnpuyspBOgAAAABJRU5ErkJggg==",Le=re(92310),ke=re.n(Le),Ge=re(8591),Ke=(x,y,z)=>new Promise((te,ae)=>{var se=be=>{try{he(z.next(be))}catch(He){ae(He)}},ie=be=>{try{he(z.throw(be))}catch(He){ae(He)}},he=be=>be.done?te(be.value):Promise.resolve(be.value).then(se,ie);he((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:he=()=>{},showEditableToolbar:be,bottomOffset:He=110,loadingText:Ne,showEmptyData:dt=!0,onStatusChange:Re,stringTransformer:Ye,bottomContainerNode:We})=>{const[qe,xe]=(0,b.useState)(!1),[gt,lt]=(0,b.useState)(""),[At,mt]=(0,b.useState)(0),[Pn,un]=(0,b.useState)(!1),Zt=(0,b.useRef)(null),_t=(0,b.useRef)(null),Te=(0,b.useRef)(null),ot=(0,b.useRef)(null),Rt=(0,De.Z)({scrollBoxRef:ot,bottomInspectRef:Te,contentRef:_t,status:Pn,bottomOffset:He}),hn=qe||Pn;(0,b.useEffect)(()=>{z==null||z(gt)},[gt]),(0,b.useEffect)(()=>{Re==null||Re({contentRef:_t,status:hn,value:gt,open:Ft,close:sn})},[hn,gt]);const Ft=it=>Ke(void 0,null,function*(){xe(!0),lt(""),mt(0);const Qt=ie;it!=null&&it.fetchUrl&&delete it.fetchUrl,Zt.current=new we.Z(`${Ae.Z.API_SERVER}${Qt}`,it),yield new Promise((nt,ht)=>{Zt.current.on("data",Tn=>{let{chunk:{content:kt,type:yt}}=Tn;un(!0),yt==="text"&&lt(Pt=>Ye?Ye(Pt+kt):Pt+kt)}),Zt.current.on("done",()=>{nt()}),Zt.current.on("error",Tn=>{Object.prototype.toString.call(Tn)==="[object Object]"&&Tn.status===-1&&Ge.ZP.warning((Tn==null?void 0:Tn.message)||""),nt(),se==null||se(Tn)}),Zt.current.on("cancelled",()=>{nt(),ae==null||ae()}),Zt.current.startStream()}),xe(!1)}),sn=()=>{var it,Qt;mt(1),(Qt=(it=Zt.current)==null?void 0:it.cancelRequest)==null||Qt.call(it),xe(!1),un(!1)},Ce=(0,b.useMemo)(()=>_t.current?b.createElement(Ue.Z,{noRestrictModal:he,nodeRef:_t}):b.createElement(b.Fragment,null),[_t.current]);return b.createElement(b.Fragment,null,b.createElement("div",{className:ke()(pe.container,x),style:y,ref:ot},b.createElement("div",{ref:_t,className:pe.liWrap,contentEditable:!hn},gt&&b.createElement(_e.Z,{cancelIndex:At,streamingStatus:qe,loadImage:!1,onFinish:()=>Ke(void 0,null,function*(){mt(0),setTimeout(()=>un(!1),0),te==null||te(gt)}),value:gt})),!gt&&!hn&&b.createElement("div",{className:pe.imgBox},b.createElement("img",{width:56,src:Me}),b.createElement("span",null,"\u9884\u89C8\u533A")),dt&&hn&&b.createElement(tt.Z,{text:Ne}),!Rt&&b.createElement("div",{className:pe.backBottom,onClick:()=>{ot.current.scrollTop=ot.current.scrollHeight}},b.createElement("i",{className:"iconfont icon-huidaodibu"})),b.createElement("div",{ref:Te}),We),!hn&&be&&Ce)}},26381:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return Ae}});var b=re(59301),pe={loading:"loading___SifAS",dot:"dot___J5R0d","dot-fade":"dot-fade___BPUGC"},Ae=({text:_e})=>b.createElement("div",null,b.createElement("div",{className:pe.loading},b.createElement("div",{className:pe.dot}),b.createElement("div",{className:pe.dot}),b.createElement("div",{className:pe.dot})),!!_e&&b.createElement("div",{className:"mt5"},_e))},67556:function(Et,Mt,re){"use strict";re.d(Mt,{o:function(){return b}});const b=pe=>(pe=pe.replace(new RegExp("(?<!\\*)\\*\\*\\*\\*([^\\n*]+?)\\*\\*\\*\\*(?!\\*)","g"),'<h2 data-select="disabled" data-type="title" contenteditable="false" class="c-black">$1</h2>'),pe=pe.replace(new RegExp("(?<!\\*)\\*\\*\\*([^\\n*]+?)\\*\\*\\*(?!\\*)","g"),`
<h3 data-select="disabled" contenteditable="false" class="c-black font18">$1</h3>
`),pe)},15395:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return x}});var b=re(59301),pe=re(17574),we=re(70610),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"},_e=Object.defineProperty,Ue=Object.defineProperties,De=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,ke=(y,z,te)=>z in y?_e(y,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):y[z]=te,Ge=(y,z)=>{for(var te in z||(z={}))Me.call(z,te)&&ke(y,te,z[te]);if(tt)for(var te of tt(z))Le.call(z,te)&&ke(y,te,z[te]);return y},Ke=(y,z)=>Ue(y,De(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=He=>{try{be(te.next(He))}catch(Ne){se(Ne)}},he=He=>{try{be(te.throw(He))}catch(Ne){se(Ne)}},be=He=>He.done?ae(He.value):Promise.resolve(He.value).then(ie,he);be((te=te.apply(y,z)).next())}),x=y=>{var z=y,{value:te,onChange:ae,defaultValue:se,disabled:ie}=z,he=le(z,["value","onChange","defaultValue","disabled"]);const[be,He]=(0,b.useState)([]),[Ne,dt]=(0,b.useState)("1");(0,b.useEffect)(()=>{Re()},[]);const Re=()=>E(void 0,null,function*(){const qe=yield(0,we.NZ)({});if(qe!=null&&qe.data){const xe=[{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:Ye(qe.data||[])}];He(xe),dt("2")}}),Ye=qe=>{function xe(gt){const lt=gt.children,At=Array.isArray(lt)&&lt.length>0,mt=gt==null?void 0:gt.group_id;return{title:b.createElement("div",{title:gt==null?void 0:gt.name,className:Ae.name},gt==null?void 0:gt.name),value:mt,key:mt,icon:b.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:At?lt==null?void 0:lt.map(Pn=>xe(Pn)):[]}}return qe==null?void 0:qe.map(gt=>xe(gt))},We=se?{defaultExpandedKeys:[0],defaultSelectedKeys:[0]}:{selectedKeys:te,defaultExpandedKeys:te};return b.createElement("div",{className:Ae.customTree},b.createElement(pe.default,Ge(Ke(Ge({key:Ne},We),{showIcon:!0,treeData:be,onSelect:ae,disabled:ie}),he)))}},24108:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return Ae}});var b=re(59301),pe={digitalLabel:"digitalLabel___tImKs",active:"active___Ck70Q"},Ae=({number:_e,active:Ue,className:De})=>b.createElement("div",{className:`${pe.digitalLabel} ${Ue?pe.active:""} ${De}`},_e)},79934:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return y}});var b=re(59301),pe=re(17574),we={folderWrapper:"folderWrapper___G__0a",folderIcon:"folderIcon___oTG6c"},Ae=re(73631),_e=re(5623),Ue=re(70610),De=Object.defineProperty,tt=Object.defineProperties,Me=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,Ke=(z,te,ae)=>te in z?De(z,te,{enumerable:!0,configurable:!0,writable:!0,value:ae}):z[te]=ae,le=(z,te)=>{for(var ae in te||(te={}))ke.call(te,ae)&&Ke(z,ae,te[ae]);if(Le)for(var ae of Le(te))Ge.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 he=Ne=>{try{He(ae.next(Ne))}catch(dt){ie(dt)}},be=Ne=>{try{He(ae.throw(Ne))}catch(dt){ie(dt)}},He=Ne=>Ne.done?se(Ne.value):Promise.resolve(Ne.value).then(he,be);He((ae=ae.apply(z,te)).next())}),y=({value:z,onChange:te,scrollId:ae})=>{const[se,ie]=(0,b.useState)([]);(0,b.useEffect)(()=>{he()},[]);const he=()=>a(void 0,null,function*(){const Ye=yield(0,Ue.NZ)({});if(Ye!=null&&Ye.data){const We=[{title:"\u6839\u76EE\u5F55",value:0,key:0,icon:b.createElement("img",{src:Ae,className:we.folderIcon}),isLeaf:!1,children:be(Ye.data||[])}];ie(We)}}),be=Ye=>Ye.map(We=>({title:We.name,key:We.group_id,icon:b.createElement("img",{src:Ae,className:we.folderIcon}),isLeaf:We.children.length===0,children:be(We.children)})),He=(Ye,We,qe)=>Ye.map(xe=>xe.key===We?le(le({},xe),qe):xe.children?E(le({},xe),{children:He(xe.children,We,qe)}):xe),Ne=(Ye,We,qe)=>Ye.map(xe=>{if(xe.key===We)return E(le({},xe),{icon:qe?b.createElement("img",{src:_e,className:we.folderIcon}):b.createElement("img",{src:Ae,className:we.folderIcon})});if(xe.children)return E(le({},xe),{children:Ne(xe.children,We,qe)})}),dt=(Ye,We)=>{ie(qe=>Ne(qe,We.node.key,We.expanded))},Re=z?{selectedKeys:z,defaultExpandedKeys:z}:{};return se.length>0&&b.createElement("div",{id:ae||""},b.createElement(pe.default,le({showLine:{showLeafIcon:!1},showIcon:!0,treeData:se,className:we.folderWrapper,onSelect:te,onExpand:dt},Re)))}},84216:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return Ue}});var b=re(60324),pe={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},we=re(32637),Ae=re(59301),Ue=({type:De,style:tt})=>{const Me=Ae.createElement("div",{className:pe.wrap,onClick:Le=>{Le.preventDefault(),Le.stopPropagation()}},Ae.createElement("p",null,De==="shixun"||De==="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",De==="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:pe.contact},Ae.createElement("div",{className:pe.img},Ae.createElement("img",{src:we,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:pe.text,style:tt},"\u9AD8\u6D88\u8017"))}},6077:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return ke}});var b=re(59301),pe={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},we=re(92310),Ae=re.n(we),_e=re(71418),Ue=re(2859),De=re(82093),tt=re(49661),Me=(Ge,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(Ge,Ke)).next())}),ke=({data:Ge,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),[he,be]=(0,b.useState)(!1),[He,Ne]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>{se.current||(se.current=document.createElement("style"),document.head.appendChild(se.current)),Ge!=null&&Ge.visible?(document.body.setAttribute("data-custom","y-hidden"),se.current.innerHTML=" html { overflow-y: hidden; }",Ge!=null&&Ge.src&&dt()):(document.body.removeAttribute("data-custom"),se.current&&(document.head.removeChild(se.current),se.current=null))},[Ge==null?void 0:Ge.visible]);const dt=()=>Me(void 0,null,function*(){be(!0),Ne("\u6B63\u5728\u52A0\u8F7D\u4E2D");const xe=yield(0,tt.ZJ)(Ge==null?void 0:Ge.src);te.current.src="",te.current.src=xe,te.current.onload=function(){qe()},be(!1),Ne("")}),Re=()=>{document.body.removeAttribute("data-custom"),se.current.innerHTML=" ",a()},Ye=xe=>Me(void 0,null,function*(){be(!0),Ne("\u6B63\u5728\u4FDD\u5B58\u4E2D");const gt=yield(0,De.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Ge.title,file:xe.dataUrl}});gt!=null&&gt.id&&!z?(yield(0,De.ZP)(`/api/attachments/${Ge.id}/add_subitem.json`,{method:"post",body:{subitem_id:gt==null?void 0:gt.id,settings:JSON.stringify(xe.state)}})).status===0&&x():gt!=null&&gt.id&&x(gt),document.body.removeAttribute("data-custom"),se.current.innerHTML=" ",be(!1),Ne("")}),We=()=>{const xe=document.querySelector('a[href="https://markerjs.com/"]');xe&&xe.parentNode&&(xe.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(lt=>{const At=document.querySelector(lt.name);At&&At.setAttribute("title",lt.title)})},qe=()=>{ae.current=new Ue.hP(te.current),ae.current.targetRoot=ie.current,ae.current.addEventListener("render",Ye),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(),Ge!=null&&Ge.snapshotData&&ae.current.restoreState(Ge.snapshotData),setTimeout(()=>{window.scrollTo(0,0),We()},300)};return b.createElement(b.Fragment,null,(Ge==null?void 0:Ge.visible)&&b.createElement(_e.Z,{spinning:he,tip:He,style:{position:"absolute"}},b.createElement("div",{ref:ie,className:Ae()(pe.imageDimensions,Ke,le?pe.fullWidth:""),style:E},b.createElement("img",{className:pe.img,ref:te}))))}},30008:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return Tn},$:function(){return ht}});var b=re(59301),pe={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"},we=re(92310),Ae=re.n(we),_e=re(78241),Ue=re(8591),De=re(43418),tt=re(5871),Me=re(95237),Le=re(24905),ke=re(38854),Ge=re(54580),Ke=re(3113),le=re(93948),E=re(19842),a=re(92832),x=re(71360),y=re(90524),z="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAUCAYAAADC1B7dAAAAAXNSR0IArs4c6QAABk1JREFUWEd1lwlsVkUQx3/7ClGMSMSrHCKXHCpQhYhCNB5AYqRQGq1AiKgEEAiokAJFFIoipcVE5EYFyn23IGCJgoTDQimWSJSzCIKIcglUEIGu2bdv3+77vo+XfPl2Z2Zn5z8zuzsjSPDJ0tZV2ftfGog0BG0Q1AbuRABCgJDBvxorWqDE5xkZh+4porNGjRXNyKvlMuCbf2OXDPRIWYHnnQJKqaSQOimFos3s67HmG1NCupzxWDcgD2Qjf0P1qT/fqGAcGh4Yb4x1ZZSsCySy3oAV4LnOCByi9Pl7CQ00HPvIDb0cz8sUqSUFLqgQkJRjPCavzEFUZoaecz2oNjYAjXGJgEQi5Bio1kYiZYDEOEt5z4+ecZ4D2I2kGePl0eWlkUJkVxp/+yvkpOa5IDOtxxIAiE2nuEg5RhjZ2EiFhgYpF6ZfTNq662KzI+TpgOGJPJFaMjwEJCc06YZgtY5AENLM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n=>{try{Ea(Pt.next(qn))}catch(On){Wn(On)}},oa=qn=>{try{Ea(Pt.throw(qn))}catch(On){Wn(On)}},Ea=qn=>qn.done?Hn(qn.value):Promise.resolve(qn.value).then(an,oa);Ea((Pt=Pt.apply(kt,yt)).next())}),xe=b.memo(({tagName:kt="div",value:yt="",className:Pt,style:Hn={},onBlur:Wn,id:an})=>{const oa=(0,b.useRef)(null);(0,b.useEffect)(()=>{if(!oa.current)return;We(void 0,null,function*(){const On=oa.current;On.innerHTML="";const Sa=yt==null?void 0:yt.split(/(`?\$\$[\s\S]*?\$\$`?)/g);for(const Oa of Sa)if(Oa.startsWith("$$")&&Oa.endsWith("$$")||Oa.startsWith("`$$")&&Oa.endsWith("$$`")){const ka=Oa.startsWith("`$$")?Oa.slice(3,-3):Oa.slice(2,-2),va=document.createElement("span");va.setAttribute("contentEditable","false"),va.setAttribute("title",Oa),va.className="edu_latex",On.appendChild(va),Ye().render(ka,va,{throwOnError:!1})}else{const ka=Oa==null?void 0:Oa.replace(/<[^>]*>/g,va=>va.startsWith("<img")?va:va.replace(/</g,"&lt;"));On.insertAdjacentHTML("beforeend",ka)}})},[an]);const Ea=()=>{var qn,On;if(Wn&&oa.current){const Oa=oa.current.cloneNode(!0),ka=Oa.querySelectorAll("span.edu_latex");for(let va of ka){const Ua=va.getAttribute("title"),Ta=document.createTextNode(Ua||""),ga=va;(On=(qn=ga.parentNode)==null?void 0:qn.replaceChild)==null||On.call(qn,Ta,ga)}Wn(Oa.innerHTML)}};return b.createElement(b.Fragment,null,b.createElement(kt,{ref:oa,contentEditable:!0,className:Pt,style:Hn,onBlur:Ea}))}),gt=re(34055),lt=re(33796),At=re(74049),mt=Object.defineProperty,Pn=Object.defineProperties,un=Object.getOwnPropertyDescriptors,Zt=Object.getOwnPropertySymbols,_t=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,ot=(kt,yt,Pt)=>yt in kt?mt(kt,yt,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):kt[yt]=Pt,Rt=(kt,yt)=>{for(var Pt in yt||(yt={}))_t.call(yt,Pt)&&ot(kt,Pt,yt[Pt]);if(Zt)for(var Pt of Zt(yt))Te.call(yt,Pt)&&ot(kt,Pt,yt[Pt]);return kt},hn=(kt,yt)=>Pn(kt,un(yt)),Ft=(kt,yt,Pt)=>new Promise((Hn,Wn)=>{var an=qn=>{try{Ea(Pt.next(qn))}catch(On){Wn(On)}},oa=qn=>{try{Ea(Pt.throw(qn))}catch(On){Wn(On)}},Ea=qn=>qn.done?Hn(qn.value):Promise.resolve(qn.value).then(an,oa);Ea((Pt=Pt.apply(kt,yt)).next())});const sn=kt=>{kt.preventDefault();let Pt=(kt.clipboardData||window.clipboardData).getData("Text");document.execCommand("insertText",!1,Pt)},Ce=kt=>{kt.key==="Enter"&&kt.preventDefault()},it=({children:kt,style:yt})=>b.createElement("div",{className:pe.leftBox,style:yt,onPaste:sn},kt),Qt=({children:kt,style:yt,className:Pt})=>b.createElement("div",{className:Ae()(pe.rightBox,Pt),style:yt,onPaste:sn},kt),nt=({className:kt,style:yt={},width:Pt=1200,onCancel:Hn=()=>{},onSuccess:Wn=()=>{},gather:an={},mode:oa=1,stickyTop:Ea=0,subDisciplineId:qn=[],hideWordFeatures:On,dataSource:Sa=[],customLeftHeadNode:Oa,customRightHeadNode:ka,customLeftContent:va,hideRecognition:Ua=!1,onExchange:Ta,isSingleSelection:ga=!1,underpinBackgroundStyle:Ra={},headExtraNode:qa,isRefreshItemBank:Zn=!1,okText:yn="\u786E\u5B9A\u5BFC\u5165",onSave:Gt})=>{var rn;const[Ca,xa]=(0,b.useState)(1),[_a,La]=(0,b.useState)(0),[za,sr]=(0,b.useState)(""),[$a,ia]=(0,b.useState)(!1),[Rr,Lt]=(0,b.useState)([]),[xn,na]=(0,b.useState)([]),[pa,Be]=(0,b.useState)(!1),[at,ct]=(0,b.useState)(!1),[bt,St]=(0,b.useState)(!1),[vn,qt]=(0,b.useState)(!1),[ze,Xe]=(0,b.useState)([]),[Qe,Tt]=(0,b.useState)(1),[gn,En]=(0,b.useState)(!1),[ua,Jn]=(0,b.useState)(!0),[Mn,ea]=(0,b.useState)(0),[Un,Wt]=(0,b.useState)(!1),[Na]=_e.default.useForm(),[nr]=_e.default.useForm(),lo=(0,b.useRef)(null),Wa=(0,b.useRef)(null),Vt=(0,b.useRef)(),zr=(0,b.useRef)(null),Aa=["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"],dr=["C","C++","Java","Python","JavaScript","Ruby"];(0,b.useEffect)(()=>{Sa!=null&&Sa.length&&Vo(Sa)},[Sa]),(0,b.useEffect)(()=>{Ca===2&&lo.current.focus()},[Ca]),(0,b.useEffect)(()=>{bt&&Kr()},[bt]);const rr=()=>{if(Ca===1){Ue.ZP.warning("\u8BF7\u5148\u4E0A\u4F20\u8BD5\u9898\uFF01");return}De.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:()=>Ft(void 0,null,function*(){xa(1)})})},Kr=()=>Ft(void 0,null,function*(){const Se=yield(0,ie.ZP)("/api/disciplines.json",{method:"get",params:{source:oa===1?"new_question":"subject"}});Xe(Se.disciplines||[])}),xr=Se=>{const xt=[],Kt=(bn,Ct)=>{bn.length>=2&&xt.push(bn.join(""));for(let Vn=Ct;Vn<Se.length;Vn++)bn.push(Se[Vn]),Kt(bn,Vn+1),bn.pop()};return Kt([],0),xt},ar=Se=>(Se=Se||"",Se=String(Se),Se=Se.replace(/\s+/g,""),Se),cr=Se=>(Se=Se||"",Se=String(Se),Se=Se.replace(/<div>/g,""),Se=Se.replace(/<br>/g,`
`),Se=Se.replace(/<\/div>/g,`
`),Se=nn(Se),Se),ma=Se=>Se.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;"),nn=Se=>Se.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#39;/g,"'"),or=Se=>{var xt;const Kt=Se.clipboardData;if(Kt){const bn=Kt.types.toString(),Ct=Kt.items;if(bn==="Files"||Kt.types.indexOf("Files")>-1){Se.preventDefault();try{let Vn=Ct[1];((xt=Ct[0])==null?void 0:xt.kind)==="file"&&(Vn=Ct[0]);const Xn=Vn.getAsFile();(0,dt.I)(Xn,Sn=>{var Ln;if(Sn.id){if(((Ln=Xn==null?void 0:Xn.type)==null?void 0:Ln.indexOf("image"))>-1){const Za=`<img src='${y.Z.API_SERVER}${Sn.url}'>`;document.execCommand("insertText",!1,Za)}}else(Sn==null?void 0:Sn.status)===401&&(document.location.href="/user/login")})}catch(Vn){Ue.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};function Pr(Se,xt){return Ft(this,null,function*(){if(typeof Se=="string")return yield xt(Se);if(typeof Se!="object"||Se===null)return Se;if(Array.isArray(Se))return yield Promise.all(Se.map(Ct=>Ft(this,null,function*(){return yield Pr(Ct,xt)})));const Kt={};for(const bn in Se)if(Object.prototype.hasOwnProperty.call(Se,bn)){const Ct=Se[bn];typeof Ct=="string"?Kt[bn]=yield xt(Ct):typeof Ct=="object"?Kt[bn]=yield Pr(Ct,xt):Kt[bn]=Ct}return Kt})}const Dr=()=>Ft(void 0,null,function*(){var Se;ia(!0),sr("\u5904\u7406\u4E2D"),yield new Promise(bn=>setTimeout(bn,1e3));let xt=(Se=Wa.current)==null?void 0:Se.querySelectorAll('[data-text="edit"]'),Kt="";try{xt.forEach(function(bn){var Ct,Vn,Xn,Sn;const Ln=bn.cloneNode(!0),Za=Ln.querySelectorAll("span.edu_latex");for(let tn of Za){const Yt=tn.getAttribute("title"),Bn=document.createTextNode(Yt),Ba=tn;(Vn=(Ct=Ba.parentNode)==null?void 0:Ct.replaceChild)==null||Vn.call(Ct,Bn,Ba)}const Gn=Ln.querySelectorAll("span[style]");for(let tn of Gn)if(tn.style.fontFamily){const Yt=tn.innerHTML,Bn=document.createTextNode(Yt),Ba=tn;(Sn=(Xn=Ba.parentNode)==null?void 0:Xn.replaceChild)==null||Sn.call(Xn,Bn,Ba)}Ln==null||Ln.childNodes.forEach(function(tn){tn.nodeType===Node.ELEMENT_NODE&&tn.localName!=="h5"&&tn.localName!=="h4"?Kt+=`<p>${tn.innerHTML}</p>`:tn.nodeType===Node.TEXT_NODE&&(Kt+=`<p>${tn.textContent}</p>`)})}),Yo("/api/intelligent_imports/import.json",{html:nn(Kt)})}catch(bn){console.error("\u5904\u7406\u8282\u70B9\u9519\u8BEF:",bn)}}),Ka=Se=>{let xt=Se.filter(Kt=>!!(Kt!=null&&Kt.type));return xt=xt.map(Kt=>{var bn;const Ct=(bn=Zr.find(Xn=>Xn.id===(Kt==null?void 0:Kt.type)))==null?void 0:bn.deal,Vn=hn(Rt({},Kt),{id:String(Math.random()).slice(-6),knowledgePoint:ar(Kt==null?void 0:Kt.knowledgePoint)});return Ct?Ct(Vn):Vn}),xt},wn=()=>{if(Ca===1){Ue.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!");return}De.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:Dr})},la=()=>b.createElement("div",{className:pe.row},b.createElement("div",{className:pe.leftLayout},b.createElement(it,{style:{height:675}},Ca===1&&b.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center"},onClick:()=>xa(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:pe.imgBox,style:{marginTop:75}},b.createElement("img",{width:56,src:te}),b.createElement("span",null,"\u7F16\u8F91\u533A"))),Ca===2&&b.createElement("div",{"data-text":"edit",onBlur:()=>{lo.current.innerHTML||xa(1)},ref:lo,contentEditable:!0,style:{color:"#9096A3",height:"100%",overflow:"auto"}}))),b.createElement("div",{className:pe.rightLayout,style:{display:"flex",alignItems:"start",justifyContent:"center"}},b.createElement("div",{className:pe.imgBox,style:{marginTop:240}},b.createElement("img",{width:56,src:ae}),b.createElement("span",null,"\u9884\u89C8\u533A")))),Qn=(Se,xt,Kt,bn)=>{var Ct;console.log(Se,xt,Kt,bn,"onDataChange\u4FEE\u6539\u6570\u503C");const Vn=JSON.parse(JSON.stringify(xn));bn===void 0?Vn[xt][Se]=Kt:Vn[xt].questions[bn][Se]=Kt;const Xn=Rt({},Vn[xt]),Sn=(Ct=Zr.find(Ln=>Ln.id===(Xn==null?void 0:Xn.type)))==null?void 0:Ct.deal;Vn[xt]=Sn(Xn),na(Vn)},zn=(Se,xt,Kt)=>{var bn;const Ct=Kt!==void 0,Vn=(bn=Zr.find(Ln=>Ln.id===(Se==null?void 0:Se.type)))==null?void 0:bn.type,Xn=`${xt+1}.${Kt===void 0?"":Kt+1+"."}`,Sn=`${(Se==null?void 0:Se.type)==="7"?"{{":""}${Xn}\u3010${Vn}\u3011${(Se==null?void 0:Se.question)||""}`;return b.createElement(b.Fragment,null,Ct&&b.createElement("h4",{contentEditable:!0}),b.createElement(xe,{id:Se==null?void 0:Se.id,tagName:"div",value:Sn}))},er=(Se,xt)=>Ft(void 0,null,function*(){var Kt;const bn=yield Ta(Se,xt),Ct=(Kt=bn==null?void 0:bn.data)==null?void 0:Kt.content;if(Ct!=null&&Ct.length){const Vn=Ka(Ct)[0];Rr.splice(xt,1,Vn),xn.splice(xt,1,Vn),Lt([...Rr]),na([...xn])}}),yr=(Se,xt,Kt)=>{var bn;const Ct=Kt!==void 0,Vn=(bn=Zr.find(Sn=>Sn.id===(Se==null?void 0:Se.type)))==null?void 0:bn.type,Xn=`${xt+1}.${Kt===void 0?"":Kt+1+"."}`;return Ct?b.createElement("div",{style:{padding:"10px 18px"}},`${Xn}\u3010${Vn}\u3011`,b.createElement(xe,{id:Se==null?void 0:Se.id,tagName:"span",className:pe.edit,onBlur:Sn=>Qn("question",xt,Sn,Kt),value:(Se==null?void 0:Se.question)||""})):b.createElement(b.Fragment,null,b.createElement("div",{className:pe.actionHead},b.createElement("div",{className:"c-light-primary"},`${Xn}\u3010${Vn}\u3011`),oa!==1&&b.createElement(tt.Z,{disabled:(Se==null?void 0:Se.type)==="7",min:0,max:100,style:{width:100,marginLeft:10},addonAfter:"\u5206",precision:1,size:"middle",onChange:Sn=>Qn("score",xt,Sn,Kt),value:Se==null?void 0:Se.score}),b.createElement(Me.Z,{align:"middle",style:{marginLeft:"auto"}},!!Ta&&b.createElement("span",{className:"current c-light-primary mr30",onClick:()=>er(Se,xt)},b.createElement("i",{className:"iconfont icon-huanyihuan mr5"}),"\u6362\u4E00\u6362"),b.createElement(Le.default,{onChange:Sn=>Qn("checked",xt,Sn.target.checked,Kt),checked:!!(Se!=null&&Se.checked)},"\u4E0D\u5BFC\u5165\u6B64\u9898"))),b.createElement(xe,{id:Se==null?void 0:Se.id,tagName:"div",style:{padding:"10px 18px"},className:pe.edit,onBlur:Sn=>Qn("question",xt,Sn,Kt),value:Se==null?void 0:Se.question}))},hr=(Se,xt,Kt)=>b.createElement(b.Fragment,null,["0","1","2","4"].includes(Se==null?void 0:Se.type)&&b.createElement(xe,{id:Se==null?void 0:Se.id,value:`\u7B54\u6848\uFF1A${xt||""}`,tagName:"p"}),!Kt&&b.createElement(xe,{id:Se==null?void 0:Se.id,value:`\u96BE\u5EA6\uFF1A${(Se==null?void 0:Se.difficulty)||""}`,tagName:"p"}),(Se==null?void 0:Se.type)!=="7"&&b.createElement(xe,{id:Se==null?void 0:Se.id,value:`\u89E3\u6790\uFF1A${(Se==null?void 0:Se.analyze)||""}`,tagName:"p"}),!Kt&&b.createElement(xe,{id:Se==null?void 0:Se.id,value:`\u77E5\u8BC6\u70B9\uFF1A${(Se==null?void 0:Se.knowledgePoint)||""}`,tagName:"p"})),fr=(Se,xt,Kt,bn)=>{const Ct=bn!==void 0,Vn=["\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],Xn=Ct&&!Se.last&&!Se.errorMsg?{marginBottom:10}:{},Sn=Vn.map(Ln=>({key:Ln,label:Ln,onClick:()=>Qn("difficulty",Kt,Ln,bn)}));return b.createElement("div",{className:pe.liWrap,style:Xn},["4"].includes(Se==null?void 0:Se.type)&&b.createElement("div",{className:pe.li},b.createElement("aside",null,"\u7B54\xA0\xA0\xA0\xA0\u6848\uFF1A"),b.createElement(xe,{id:Se==null?void 0:Se.id,tagName:"div",className:`${pe.edit} c-black`,onBlur:Ln=>Qn("answer",Kt,[Ln],bn),value:xt})),!Ct&&b.createElement("div",{className:pe.li},b.createElement("aside",null,"\u96BE\xA0\xA0\xA0\xA0\u5EA6\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(ke.Z,{menu:{items:Sn}},b.createElement("span",{className:"c-light-primary"},Se==null?void 0:Se.difficulty,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),(Se==null?void 0:Se.type)!=="7"&&b.createElement("div",{className:pe.li},b.createElement("aside",null,"\u89E3\xA0\xA0\xA0\xA0\u6790\uFF1A"),b.createElement(xe,{id:Se==null?void 0:Se.id,tagName:"div",className:`${pe.edit} c-grey-333`,onBlur:Ln=>Qn("analyze",Kt,Ln,bn),value:Se==null?void 0:Se.analyze})),!Ct&&b.createElement("div",{onKeyDown:Ce,className:pe.li},b.createElement("aside",null,"\u77E5\u8BC6\u70B9\uFF1A"),b.createElement(xe,{id:Se==null?void 0:Se.id,tagName:"div",value:(Se==null?void 0:Se.knowledgePoint)||"",className:`${pe.edit} c-grey-333`,onBlur:Ln=>Qn("knowledgePoint",Kt,ar(cr(Ln)),bn)})))},Ga=Se=>b.createElement(b.Fragment,null,typeof(Se==null?void 0:Se.errorMsg)=="string"&&!!(Se!=null&&Se.errorMsg)&&b.createElement("h5",{contentEditable:!1},b.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),b.createElement("div",null,Se==null?void 0:Se.errorMsg))),po=Se=>b.createElement(b.Fragment,null,typeof(Se==null?void 0:Se.errorMsg)=="string"&&!!(Se!=null&&Se.errorMsg)&&b.createElement("h5",null,b.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),b.createElement("div",null,Se==null?void 0:Se.errorMsg))),Po=(Se,xt,Kt,bn)=>{let Ct="flex";return(ga&&Mn!==bn||pa&&!(Kt!=null&&Kt.errorMsg))&&(Ct="none"),b.createElement("div",{className:pe.row,style:{display:Ct}},b.createElement("div",{className:pe.leftLayout},va||b.createElement(it,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:pe.question},Se))),b.createElement("div",{className:pe.rightLayout},b.createElement(Qt,{className:Kt!=null&&Kt.errorMsg?pe.error:""},xt)))},Zr=[{id:"0",type:"\u5355\u9009\u9898",element:(Se,xt,Kt)=>{var bn,Ct;const Vn=Kt!==void 0;let Xn=(bn=Se==null?void 0:Se.answer)==null?void 0:bn[0];const Sn=b.createElement(b.Fragment,null,zn(Se,xt,Kt),(Ct=Se==null?void 0:Se.options)==null?void 0:Ct.map((tn,Yt)=>b.createElement(xe,{id:Se==null?void 0:Se.id,key:Yt,value:`${Aa[Yt]}.${tn}`,tagName:"p"})),hr(Se,Xn,Vn),Ga(Se));let Ln=Vn?Se:xn[xt];const Za=Ln==null?void 0:Ln.options,Gn=b.createElement(b.Fragment,null,yr(Ln,xt,Kt),Za==null?void 0:Za.map((tn,Yt)=>{var Bn;return b.createElement("div",{key:Yt,className:pe.option},b.createElement("aside",{className:((Bn=Ln==null?void 0:Ln.answer)==null?void 0:Bn[0])===Aa[Yt]?pe.active:"",onClick:()=>Qn("answer",xt,[Aa[Yt]],Kt)},Aa[Yt]),b.createElement(xe,{id:Ln==null?void 0:Ln.id,tagName:"div",className:`${pe.text}`,onBlur:Ba=>{Za[Yt]=Ba,Qn("options",xt,Za,Kt)},value:tn}))}),fr(Ln,"",xt,Kt),po(Ln));return Vn?[Sn,Gn]:Po(Sn,Gn,Ln,xt)},deal:Se=>{var xt,Kt,bn;Se.score=Se.score===void 0?2:Se.score;let Ct=ar((xt=Se==null?void 0:Se.answer)==null?void 0:xt[0]).toUpperCase();Se.answer=Ct?[Ct]:[];let Vn=[];if(!(Se!=null&&Se.options))Vn.push("\u672A\u8BC6\u522B\u5230\u9009\u9879\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C A.\u9009\u9879\u4E00 B.\u9009\u9879\u4E8C C.\u9009\u9879\u4E09 \u201D");else{Se.options=(Kt=Se.options)==null?void 0:Kt.slice(0,8);const Xn=Se.options.map(Ln=>Ln==null?void 0:Ln.trim().replace(/^\s+|\s+$/g,""));new Set(Xn).size!==Xn.length&&Vn.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return Ct||Vn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D"),Ct&&(Aa.slice(0,((bn=Se==null?void 0:Se.options)==null?void 0:bn.length)||8).includes(Ct)||Vn.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")),ar(Se==null?void 0:Se.question)||Vn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Se.errorMsg=Vn.join(`
`),Se}},{id:"1",type:"\u591A\u9009\u9898",element:(Se,xt,Kt)=>{var bn,Ct;const Vn=Kt!==void 0;let Xn=(bn=Se==null?void 0:Se.answer)==null?void 0:bn[0];const Sn=b.createElement(b.Fragment,null,zn(Se,xt,Kt),(Ct=Se==null?void 0:Se.options)==null?void 0:Ct.map((tn,Yt)=>b.createElement(xe,{id:Se==null?void 0:Se.id,key:Yt,value:`${Aa[Yt]}.${tn}`,tagName:"p"})),hr(Se,Xn,Vn),Ga(Se));let Ln=Vn?Se:xn[xt];const Za=Ln==null?void 0:Ln.options,Gn=b.createElement(b.Fragment,null,yr(Ln,xt,Kt),Za==null?void 0:Za.map((tn,Yt)=>{var Bn,Ba;return b.createElement("div",{key:Yt,className:pe.option},b.createElement("aside",{className:(Ba=(Bn=Ln==null?void 0:Ln.answer)==null?void 0:Bn[0])!=null&&Ba.includes(Aa[Yt])?pe.active:"",onClick:()=>{var pr;let eo=((pr=Ln==null?void 0:Ln.answer)==null?void 0:pr[0])||"";const fo=Aa[Yt];eo.includes(fo)?eo=eo.replace(new RegExp(fo,"g"),""):eo+=fo,eo=eo.split("").sort().join(""),Qn("answer",xt,[eo],Kt)}},Aa[Yt]),b.createElement(xe,{id:Ln==null?void 0:Ln.id,tagName:"div",className:`${pe.text}`,onBlur:pr=>{Za[Yt]=pr,Qn("options",xt,Za,Kt)},value:tn}))}),fr(Ln,"",xt,Kt),po(Ln));return Vn?[Sn,Gn]:Po(Sn,Gn,Ln,xt)},deal:Se=>{var xt,Kt,bn;Se.score=Se.score===void 0?2:Se.score;let Ct=ar((xt=Se==null?void 0:Se.answer)==null?void 0:xt[0]).toUpperCase().split("").sort().join("");Se.answer=Ct?[Ct]:[];let Vn=[];if(!(Se!=null&&Se.options))Vn.push("\u672A\u8BC6\u522B\u5230\u9009\u9879\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C A.\u9009\u9879\u4E00 B.\u9009\u9879\u4E8C C.\u9009\u9879\u4E09 \u201D");else{Se.options=(Kt=Se.options)==null?void 0:Kt.slice(0,8);const Xn=Se.options.map(Ln=>Ln==null?void 0:Ln.trim().replace(/^\s+|\s+$/g,""));new Set(Xn).size!==Xn.length&&Vn.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}if(Ct||Vn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D"),Ct){const Xn=Aa.slice(0,((bn=Se==null?void 0:Se.options)==null?void 0:bn.length)||8);xr(Xn).includes(Ct)||Vn.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 ar(Se==null?void 0:Se.question)||Vn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Se.errorMsg=Vn.join(`
`),Se}},{id:"2",type:"\u5224\u65AD\u9898",element:(Se,xt,Kt)=>{var bn,Ct;const Vn=Kt!==void 0;let Xn=(bn=Se==null?void 0:Se.answer)==null?void 0:bn[0];const Sn=b.createElement(b.Fragment,null,zn(Se,xt,Kt),hr(Se,Xn,Vn),Ga(Se));let Ln=Vn?Se:xn[xt];const Za=["\u6B63\u786E","\u9519\u8BEF"];let Gn=((Ct=Ln==null?void 0:Ln.answer)==null?void 0:Ct[0])||"";["\u6B63\u786E","\u5BF9","T","True","t","true"].includes(Gn)?Gn="\u6B63\u786E":["\u9519\u8BEF","\u9519","T","true","t","false"].includes(Gn)&&(Gn="\u9519\u8BEF");const tn=b.createElement(b.Fragment,null,yr(Ln,xt,Kt),Za==null?void 0:Za.map((Yt,Bn)=>b.createElement("div",{key:Bn,className:pe.option},b.createElement("aside",{style:{borderRadius:2},className:Gn===Yt?pe.active:"",onClick:()=>Qn("answer",xt,[Yt],Kt)},Yt==="\u6B63\u786E"?"T":"F"),b.createElement("div",{style:{pointerEvents:"none"},className:`${pe.text}`},Yt))),fr(Ln,"",xt,Kt),po(Ln));return Vn?[Sn,tn]:Po(Sn,tn,Ln,xt)},deal:Se=>{var xt;Se.score=Se.score===void 0?2:Se.score;let Kt=ar((xt=Se==null?void 0:Se.answer)==null?void 0:xt[0]);Se.answer=Kt?[Kt]:[];let bn=[];return Kt||bn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),Kt&&!["\u6B63\u786E","\u5BF9","T","True","t","true","\u9519\u8BEF","\u9519","T","true","t","false"].includes(Kt)&&bn.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),ar(Se==null?void 0:Se.question)||bn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Se.errorMsg=bn.join(`
`),Se}},{id:"3",type:"\u586B\u7A7A\u9898",element:(Se,xt,Kt)=>{var bn,Ct;const Vn=Kt!==void 0,Xn=b.createElement(b.Fragment,null,zn(Se,xt,Kt),(bn=Se==null?void 0:Se.answer)==null?void 0:bn.map((Za,Gn)=>b.createElement(xe,{id:Se==null?void 0:Se.id,key:Gn,tagName:"p",value:`\u7B54\u6848${Gn+1}\uFF1A${Za.text||""}`})),hr(Se,"",Vn),Ga(Se));let Sn=Vn?Se:xn[xt];const Ln=b.createElement(b.Fragment,null,yr(Sn,xt,Kt),(Ct=Sn==null?void 0:Sn.answer)==null?void 0:Ct.map((Za,Gn)=>b.createElement("div",{key:Gn,className:pe.option},b.createElement("aside",{className:pe.fill},"\u586B\u7A7A\u9879",Gn+1),Za.model===1&&b.createElement(xe,{id:Sn==null?void 0:Sn.id,tagName:"div",onBlur:tn=>{Sn.answer[Gn].latex=cr(tn),Qn("answer",xt,Sn.answer,Kt)},className:`${pe.text}`,value:Za.latex}),Za.model===2&&b.createElement(Ne.Z,{value:Za.latex,onChange:tn=>{Sn.answer[Gn].latex=tn,Qn("answer",xt,Sn.answer,Kt)}}))),fr(Sn,"",xt,Kt),po(Sn));return Vn?[Xn,Ln]:Po(Xn,Ln,Sn,xt)},deal:Se=>{var xt,Kt,bn,Ct;Se.score=Se.score===void 0?2:Se.score,Se.question=(xt=Se.question)==null?void 0:xt.replaceAll("\u2581","_");const Vn=(Kt=Se.answer)==null?void 0:Kt.map(Sn=>{if(Object.prototype.toString.call(Sn)==="[object Object]")return Sn;Sn=Sn==null?void 0:Sn.trim();const Ln={model:1,text:Sn,latex:Sn};return Sn.startsWith("$$")&&Sn.endsWith("$$")||Sn.startsWith("`$$")&&Sn.endsWith("$$`")?(Ln.model=2,Ln.latex=Sn.slice(2,-2)):Ln.latex=cr(Sn),Ln});Se.answer=Vn;let Xn=[];return Vn||Xn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1A\u4E2D\u56FD\uFF1B\u7B54\u68482\uFF1A\u4E16\u754C"),ar(Se==null?void 0:Se.question)?Se!=null&&Se.question.includes("_")?(bn=Se==null?void 0:Se.answer)!=null&&bn.length&&((Se==null?void 0:Se.question.match(/_+/g))||[]).length!==((Ct=Se==null?void 0:Se.answer)==null?void 0:Ct.length)&&Xn.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):Xn.push("\u586B\u7A7A\u9879\u672A\u8BBE\u7F6E\uFF0C\u8BF7\u4F7F\u7528\u82F1\u6587\u4E0B\u5212\u7EBF\u201C___\u201D\u8868\u793A\u586B\u7A7A\u9879"):Xn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Se.errorMsg=Xn.join(`
`),Se}},{id:"4",type:"\u7B80\u7B54\u9898",element:(Se,xt,Kt)=>{var bn,Ct;const Vn=Kt!==void 0;let Xn=(bn=Se==null?void 0:Se.answer)==null?void 0:bn[0];const Sn=b.createElement(b.Fragment,null,zn(Se,xt,Kt),hr(Se,Xn,Vn),Ga(Se));let Ln=Vn?Se:xn[xt];const Za=b.createElement(b.Fragment,null,yr(Ln,xt,Kt),fr(Ln,(Ct=Ln==null?void 0:Ln.answer)==null?void 0:Ct[0],xt,Kt),po(Ln));return Vn?[Sn,Za]:Po(Sn,Za,Ln,xt)},deal:Se=>{Se.score=Se.score===void 0?5:Se.score;let xt=[];return ar(Se==null?void 0:Se.question)||xt.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Se.errorMsg=xt.join(`
`),Se}},{id:"6",type:"\u7F16\u7A0B\u9898",element:(Se,xt)=>{var Kt,bn;const Ct=xn[xt],Vn=dr.slice(0,4).map(Xn=>({key:Xn,label:Xn,onClick:()=>Qn("platform",xt,Xn)}));return b.createElement("div",{className:pe.row,style:{display:pa?Ct!=null&&Ct.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:pe.leftLayout},b.createElement(it,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:pe.question},zn(Se,xt),b.createElement(xe,{id:Se==null?void 0:Se.id,value:`\u8BD5\u9898\u63CF\u8FF0\uFF1A${(Se==null?void 0:Se.description)||""}`,tagName:"p"}),hr(Se),b.createElement(xe,{id:Se==null?void 0:Se.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${Se==null?void 0:Se.timeLimit}`,tagName:"p"}),b.createElement(xe,{id:Se==null?void 0:Se.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(Se==null?void 0:Se.platform)||""}`,tagName:"p"}),b.createElement("p",{contentEditable:!0},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),b.createElement("h4",null),b.createElement(xe,{id:Se==null?void 0:Se.id,value:(Se==null?void 0:Se.code)||"",tagName:"div"}),(Kt=Se==null?void 0:Se.inputs)==null?void 0:Kt.map((Xn,Sn)=>{var Ln;return b.createElement(b.Fragment,{key:Sn},b.createElement("h4",null),b.createElement(xe,{id:Se==null?void 0:Se.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${Sn+1})\u8F93\u5165\uFF1A${Xn||""}`,tagName:"div"}),b.createElement(xe,{id:Se==null?void 0:Se.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${Sn+1})\u8F93\u51FA\uFF1A${((Ln=Se==null?void 0:Se.outputs)==null?void 0:Ln[Sn])||""}`,tagName:"div"}))}),Ga(Se)))),b.createElement("div",{className:pe.rightLayout},b.createElement(Qt,{className:Ct!=null&&Ct.errorMsg?pe.error:""},yr(Ct,xt),b.createElement("div",{className:pe.liWrap,style:{background:"transparent",marginBottom:0,padding:0}},b.createElement("div",{className:pe.li},b.createElement("aside",null,"\u8BD5\u9898\u63CF\u8FF0\uFF1A"),b.createElement(xe,{className:pe.edit,id:Ct==null?void 0:Ct.id,value:Ct==null?void 0:Ct.description,tagName:"div",onBlur:Xn=>Qn("description",xt,Xn)}))),fr(Ct,"",xt),b.createElement("div",{className:pe.liWrap},b.createElement("div",{className:pe.li},b.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),b.createElement(xe,{className:pe.edit,id:Ct==null?void 0:Ct.id,value:Ct==null?void 0:Ct.timeLimit,tagName:"div",onBlur:Xn=>Qn("timeLimit",xt,cr(Xn))})),b.createElement("div",{className:pe.li},b.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(ke.Z,{menu:{items:Vn}},b.createElement("span",{className:"c-light-primary"},Ct==null?void 0:Ct.platform,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),b.createElement("div",{className:pe.li,style:{flexDirection:"column",alignItems:"start"}},b.createElement("aside",{className:"mb10"},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),b.createElement(xe,{className:pe.edit,id:Ct==null?void 0:Ct.id,value:(Ct==null?void 0:Ct.code)||"",onBlur:Xn=>Qn("code",xt,cr(Xn)),tagName:"div"}))),(bn=Ct==null?void 0:Ct.inputs)==null?void 0:bn.map((Xn,Sn)=>{var Ln;return b.createElement("div",{className:pe.liWrap,key:Sn},b.createElement("div",{className:pe.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",Sn+1,")\u8F93\u5165\uFF1A"),b.createElement(xe,{id:Ct==null?void 0:Ct.id,value:Xn||"",className:pe.edit,onBlur:Za=>{const Gn=[...(Ct==null?void 0:Ct.inputs)||[]];Gn[Sn]=cr(Za),Qn("inputs",xt,Gn)},tagName:"div"})),b.createElement("div",{className:pe.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",Sn+1,")\u8F93\u51FA\uFF1A"),b.createElement(xe,{id:Ct==null?void 0:Ct.id,value:((Ln=Ct==null?void 0:Ct.outputs)==null?void 0:Ln[Sn])||"",className:pe.edit,onBlur:Za=>{const Gn=[...(Ct==null?void 0:Ct.outputs)||[]];Gn[Sn]=cr(Za),Qn("outputs",xt,Gn)},tagName:"div"})))}),po(Ct))))},deal:Se=>{var xt,Kt,bn;Se.score=Se.score===void 0?10:Se.score,Se.code=(xt=Se.code)==null?void 0:xt.trim();let Ct=[];ar(Se==null?void 0:Se.question)?((Kt=Se==null?void 0:Se.question)==null?void 0:Kt.length)>60&&Ct.push("\u7F16\u7A0B\u9898\u540D\u79F0\u9650\u523660\u4E2A\u5B57\u7B26"):Ct.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),ar(Se==null?void 0:Se.description)||Ct.push("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\u63CF\u8FF0");const Vn=ar(String((Se==null?void 0:Se.timeLimit)||""));if(Se.timeLimit=Vn,(!Vn||Vn&&!["3","4","5","6","7","8","9","10"].includes(Vn))&&Ct.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),Se.platform=ar(Se==null?void 0:Se.platform),Se!=null&&Se.platform){const Xn=["c","c++","java","python"],Sn=(bn=Se==null?void 0:Se.platform)==null?void 0:bn.toLowerCase(),Ln=Xn.findIndex(Za=>Za===Sn);Ln>-1?Se.platform=dr[Ln]:Ct.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00")}else Ct.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00");if(!(Se!=null&&Se.inputs)||!(Se!=null&&Se.outputs))Se.inputs=[],Se.outputs=[],Ct.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 Xn=Math.min(Se.inputs.length,Se.outputs.length);Se.inputs=Se.inputs.slice(0,Xn),Se.outputs=Se.outputs.slice(0,Xn),Se.outputs.some(Sn=>!ar(Sn))&&Ct.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879")}return Se.errorMsg=Ct.join(`
`),Se}},{id:"7",type:"\u7EC4\u5408\u9898",element:(Se,xt)=>{var Kt,bn;const Ct=xn[xt];return b.createElement("div",{className:pe.row,style:{display:pa?Ct!=null&&Ct.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:pe.leftLayout},b.createElement(it,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:pe.question},zn(Se,xt),hr(Se),(Kt=Se==null?void 0:Se.questions)==null?void 0:Kt.map((Vn,Xn)=>{var Sn;const Ln=(Sn=Zr.find(Za=>Za.id===(Vn==null?void 0:Vn.type)))==null?void 0:Sn.element;return b.createElement(b.Fragment,{key:`left-${Se.id}-${Xn}`},Ln(Vn,xt,Xn)[0])}),Ga(Se),b.createElement("p",{contentEditable:!0},"}}")))),b.createElement("div",{className:pe.rightLayout},b.createElement(Qt,{className:Ct!=null&&Ct.errorMsg?pe.error:""},yr(Ct,xt),fr(Ct,"",xt),(bn=Ct==null?void 0:Ct.questions)==null?void 0:bn.map((Vn,Xn)=>{var Sn;const Ln=(Sn=Zr.find(Za=>Za.id===(Vn==null?void 0:Vn.type)))==null?void 0:Sn.element;return b.createElement(b.Fragment,{key:`right-${Ct.id}-${Xn}`},Ln(Vn,xt,Xn)[1])}),po(Ct))))},deal:Se=>{var xt,Kt,bn,Ct,Vn;const Xn=Ka,Sn=[...Zr],Ln=Sn.findIndex(Yt=>Yt.id==="0"),Za=Sn.findIndex(Yt=>Yt.id==="1");if(Ln!==-1){const Yt=Sn[Ln].deal;Sn[Ln].deal=Bn=>{const Ba=Yt(Bn);return Ba.errorMsg&&(Ba.errorMsg=Ba.errorMsg.split(`
`).filter(pr=>pr!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),Ba}}if(Za!==-1){const Yt=Sn[Za].deal;Sn[Za].deal=Bn=>{const Ba=Yt(Bn);return Ba.errorMsg&&(Ba.errorMsg=Ba.errorMsg.split(`
`).filter(pr=>pr!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),Ba}}Se.questions=(xt=Se.questions)!=null&&xt.length?Ka(Se.questions.slice(0,20)):[],Se.questions=(Kt=Se.questions)==null?void 0:Kt.map((Yt,Bn)=>{var Ba;if(Yt.type==="0"||Yt.type==="1"){const pr=(Ba=Yt.options)==null?void 0:Ba.map(eo=>eo==null?void 0:eo.trim().replace(/^\s+|\s+$/g,""));pr&&new Set(pr).size!==pr.length&&(Yt.errorMsg=(Yt.errorMsg?Yt.errorMsg+`
`:"")+"\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return hn(Rt({},Yt),{last:Bn===Se.questions.length-1})});const Gn=(bn=Se.questions)==null?void 0:bn.reduce((Yt,Bn)=>{const Ba=parseFloat(Bn.score);return isNaN(Ba)?Yt:Yt+Ba},0);Se.score=Gn;let tn=[];return(Ct=Se.questions)!=null&&Ct.length?Se.errorMsg=((Vn=Se.questions)==null?void 0:Vn.findIndex(Yt=>!!Yt.errorMsg))>-1:tn.push("\u8BF7\u6DFB\u52A0\u5C0F\u9898"),ar(Se==null?void 0:Se.question)||tn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),tn.length&&(Se.errorMsg=tn.join(`
`)),Se}},{id:"8",type:"\u7A0B\u5E8F\u586B\u7A7A\u9898",element:(Se,xt)=>{var Kt,bn;const Ct=xn[xt],Vn=dr.map(Xn=>({key:Xn,label:Xn,onClick:()=>Qn("platform",xt,Xn)}));return b.createElement("div",{className:pe.row,style:{display:pa?Ct!=null&&Ct.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:pe.leftLayout},b.createElement(it,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:pe.question},zn(Se,xt),hr(Se),b.createElement(xe,{id:Se==null?void 0:Se.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${Se==null?void 0:Se.timeLimit}`,tagName:"p"}),b.createElement(xe,{id:Se==null?void 0:Se.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(Se==null?void 0:Se.platform)||""}`,tagName:"p"}),b.createElement("p",{contentEditable:!0},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),b.createElement("h4",null),b.createElement(xe,{id:Se==null?void 0:Se.id,value:(Se==null?void 0:Se.code)||"",tagName:"div"}),b.createElement("h4",null),b.createElement(xe,{id:Se==null?void 0:Se.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A${(Se==null?void 0:Se.input)||""}`,tagName:"p"}),b.createElement(xe,{id:Se==null?void 0:Se.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A${(Se==null?void 0:Se.output)||""}`,tagName:"p"}),(Kt=Se==null?void 0:Se.answer)==null?void 0:Kt.map((Xn,Sn)=>b.createElement(xe,{key:Sn,id:Se==null?void 0:Se.id,value:`\u7B54\u6848${Sn+1}\uFF1A${Xn||""}`,tagName:"p"})),Ga(Se)))),b.createElement("div",{className:pe.rightLayout},b.createElement(Qt,{className:Ct!=null&&Ct.errorMsg?pe.error:""},yr(Ct,xt),fr(Ct,"",xt),b.createElement("div",{className:pe.liWrap},b.createElement("div",{className:pe.li,onKeyDown:Ce},b.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),b.createElement(xe,{className:pe.edit,id:Ct==null?void 0:Ct.id,value:Ct==null?void 0:Ct.timeLimit,tagName:"div",onBlur:Xn=>Qn("timeLimit",xt,cr(Xn))})),b.createElement("div",{className:pe.li},b.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(ke.Z,{menu:{items:Vn}},b.createElement("span",{className:"c-light-primary"},Ct==null?void 0:Ct.platform,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),b.createElement("div",{className:pe.li,style:{flexDirection:"column",alignItems:"start"}},b.createElement("aside",{className:"mb10"},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),b.createElement(xe,{className:pe.edit,id:Ct==null?void 0:Ct.id,value:(Ct==null?void 0:Ct.code)||"",onBlur:Xn=>Qn("code",xt,cr(Xn)),tagName:"div"})),b.createElement("div",{className:pe.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A"),b.createElement(xe,{className:pe.edit,id:Ct==null?void 0:Ct.id,value:(Ct==null?void 0:Ct.input)||"",onBlur:Xn=>Qn("input",xt,cr(Xn)),tagName:"div"})),b.createElement("div",{className:pe.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"),b.createElement(xe,{className:pe.edit,id:Ct==null?void 0:Ct.id,value:(Ct==null?void 0:Ct.output)||"",onBlur:Xn=>Qn("output",xt,cr(Xn)),tagName:"div"}))),b.createElement("div",{className:pe.liWrap},(bn=Ct==null?void 0:Ct.answer)==null?void 0:bn.map((Xn,Sn)=>b.createElement("div",{className:pe.li,key:Sn},b.createElement("aside",null,"\u7B54\u6848",Sn+1,"\uFF1A"),b.createElement(xe,{id:Ct==null?void 0:Ct.id,value:Xn||"",className:pe.edit,onBlur:Ln=>{const Za=[...(Ct==null?void 0:Ct.answer)||[]];Za[Sn]=cr(Ln),Qn("output",xt,Za)},tagName:"div"})))),po(Ct))))},deal:Se=>{var xt,Kt,bn,Ct,Vn,Xn,Sn,Ln;Se.score=Se.score===void 0?10:Se.score,Se.code=(bn=(Kt=(xt=Se.code)==null?void 0:xt.trim())==null?void 0:Kt.replace(/@_@/g,"@\u2581@"))==null?void 0:bn.replace(/@__@/g,"@\u2581\u2581@");let Za=[];if(ar(Se==null?void 0:Se.question)||Za.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),ar(Se==null?void 0:Se.code)?/@▁@|@▁▁@/.test(Se==null?void 0:Se.code)?(Ct=Se==null?void 0:Se.answer)!=null&&Ct.length&&((Vn=Se==null?void 0:Se.code.match(/@▁@|@▁▁@/g))==null?void 0:Vn.length)!==((Xn=Se==null?void 0:Se.answer)==null?void 0:Xn.length)&&Za.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):Za.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"):Za.push("\u672A\u8BC6\u522B\u5230\u7A0B\u5E8F\u4EE3\u7801"),Se!=null&&Se.answer?(Sn=Se.answer)!=null&&Sn.some(tn=>!ar(tn))&&Za.push("\u7B54\u6848\u4E3A\u5FC5\u586B\u9879"):Za.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1AHello\uFF1B\u7B54\u68482\uFF1AWorld"),Se.platform=ar(Se==null?void 0:Se.platform),Se!=null&&Se.platform){const tn=["c","c++","java","python","javascript","ruby"],Yt=(Ln=Se==null?void 0:Se.platform)==null?void 0:Ln.toLowerCase(),Bn=tn.findIndex(Ba=>Ba===Yt);Bn>-1?Se.platform=dr[Bn]:Za.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00")}else Za.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00");ar(Se==null?void 0:Se.output)||Za.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879");const Gn=ar(String((Se==null?void 0:Se.timeLimit)||""));return Se.timeLimit=Gn,(!Gn||Gn&&!["3","4","5","6","7","8","9","10"].includes(Gn))&&Za.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),Se.errorMsg=Za.join(`
`),Se}}],Ho=()=>b.createElement(b.Fragment,null,Rr.filter(Se=>{var xt;return!!((xt=Zr.find(bn=>bn.id===(Se==null?void 0:Se.type)))==null?void 0:xt.element)}).map((Se,xt)=>{var Kt;const bn=(Kt=Zr.find(Ct=>Ct.id===(Se==null?void 0:Se.type)))==null?void 0:Kt.element;return b.createElement(b.Fragment,{key:Se.id},bn(Se,xt))})),ho=()=>Ft(void 0,null,function*(){const Se=xn.filter(xt=>!xt.checked);if(Ca!==3||!Se.length){Ue.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\uFF01");return}if(Gt){Wt(!0),yield Gt(xn),Wt(!1);return}Na.setFieldsValue({sub_discipline_id:qn}),St(!0)}),Qa=(Se,xt=[])=>{if(typeof Se=="string")return Se.trim();if(Array.isArray(Se))return Se.map(Kt=>Qa(Kt,xt));if(typeof Se=="object"&&Se!==null){const Kt={};for(const bn in Se)Se.hasOwnProperty(bn)&&(xt.includes(bn)?Kt[bn]=Se[bn]:Kt[bn]=Qa(Se[bn],xt));return Kt}return Se},Vo=Se=>Ft(void 0,null,function*(){const xt=Ka(Qa(Se));Lt(xt),na(JSON.parse(JSON.stringify(xt))),xa(3),ia(!1),Be(!1)});(0,b.useEffect)(()=>{if(ua)return;const Se=()=>{La(xt=>xt>=90?(clearInterval(Vt.current),90):xt+1)};return Vt.current=setInterval(Se,5e4/90),()=>clearInterval(Vt.current)},[ua]);const Yo=(Se,xt)=>{Jn(!1);const Kt=new FormData;Object.keys(xt).forEach(Ct=>{Kt.append(Ct,xt[Ct])});const bn=new window.XMLHttpRequest;bn.withCredentials=!0,bn.addEventListener("load",function(Ct){return Ft(this,null,function*(){var Vn,Xn;try{const Sn=JSON.parse((Vn=Ct==null?void 0:Ct.target)==null?void 0:Vn.response);if(Jn(!0),La(100),yield new Promise(Ln=>setTimeout(()=>Ln(),780)),Sn.status===0){if(!((Xn=Sn==null?void 0:Sn.data)!=null&&Xn.length)){Ue.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!"),ia(!1);return}Vo((Sn==null?void 0:Sn.data)||[])}else ia(!1),Ue.ZP.warning(Sn==null?void 0:Sn.message)}catch(Sn){console.log("\u8BF7\u6C42\u9519\u8BEF\uFF1A",Sn)}})}),bn.addEventListener("error",()=>{ia(!1)}),bn.open("POST",`${y.Z.API_SERVER}${Se}`),bn.send(Kt)},ii=Se=>Ft(void 0,null,function*(){const xt=Se.name.split(".").slice(-1)[0].toLowerCase();return["docx"].indexOf(xt)==-1?(Ue.ZP.error(`${Se.name}\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\uFF0C\u5F53\u524D\u4EC5\u9650\u652F\u6301\u683C\u5F0F\u4E3Adocx\u6587\u4EF6\uFF08Microsoft Word 2007\u4EE5\u4E0A\u7684\u7248\u672C\uFF09`),Promise.reject()):(ia(!0),sr("\u5904\u7406\u4E2D"),Yo("/api/intelligent_imports/import.json",{file:Se}),Promise.reject())});let Ir=[{key:1,label:b.createElement(Ge.default,{showUploadList:!1,accept:".docx",maxCount:1,beforeUpload:ii},b.createElement("div",{style:{padding:"0 5px",width:108,height:35,lineHeight:"35px"}},"\u672C\u5730\u5BFC\u5165"))}];((0,gt.Ny)()||(0,gt.$O)())&&Ir.push({key:2,label:b.createElement("div",{style:{padding:"0 5px"}},"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898"),onClick:()=>{zr.current.onClick()}});const ni=[xn.length,(rn=xn.filter(Se=>!!(Se!=null&&Se.errorMsg)))==null?void 0:rn.length];return b.createElement("div",{className:Ae()(pe.intelligentBox,"intelligent-body-curb",kt),style:hn(Rt({},yt),{width:Pt}),ref:Wa},b.createElement("div",{className:pe.underpin},b.createElement("b",{style:Ra}),b.createElement("b",{style:Ra})),b.createElement("div",{className:pe.head,style:{top:Ea}},b.createElement("div",{className:pe.leftLayout},Oa||b.createElement(b.Fragment,null,b.createElement(Me.Z,{align:"middle"},b.createElement("div",{className:pe.title},"\u8BD5\u9898\u7F16\u8F91"),!On&&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:rr,shape:"default"},"\u4E00\u952E\u6E05\u7A7A"),!On&&b.createElement(ke.Z,{overlayClassName:pe.menu,menu:{items:Ir}},b.createElement(x.op,{className:"ml20",type:"primary",shape:"default"},"\u5BFC\u5165\u8BD5\u9898")),!!qa&&qa),b.createElement("div",{className:pe.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:pe.rightLayout,style:{alignItems:"start"}},ka||b.createElement(b.Fragment,null,b.createElement("div",{className:pe.title,style:{marginRight:0}},"\u8BD5\u9898\u9884\u89C8"),[3].includes(Ca)&&b.createElement(Le.default,{className:"ml20",checked:pa,onChange:Se=>Be(Se.target.checked)},"\u4EC5\u67E5\u770B\u9519\u8BEF\u8BD5\u9898"),[3].includes(Ca)&&b.createElement("div",{style:{color:"#5F6368",marginLeft:"auto"}},"\u5171\u8BC6\u522B",b.createElement("span",{className:"ml5 mr5 c-light-primary"},ni[0]),"\u9898\uFF0C\u5176\u4E2D\u8BC6\u522B\u6709\u8BEF",b.createElement("span",{className:"ml5 mr5 c-red-e53"},ni[1]),"\u9898")),ga&&b.createElement("div",{className:pe.tabs},Rr==null?void 0:Rr.map((Se,xt)=>b.createElement("div",{onClick:()=>{ea(xt)},className:Mn===xt&&pe.active,key:xt},"\u65B0\u9898",xt+1)))),b.createElement("div",{className:pe.centerBox},b.createElement("img",{className:"mb10",src:se,width:56}),!Ua&&b.createElement(x.op,{onClick:wn},"\u8BC6\u522B"))),[1,2].includes(Ca)&&la(),[3].includes(Ca)&&Ho(),b.createElement("div",{className:"pb10"}),b.createElement("div",{className:pe.buttonFixed},b.createElement("div",{className:pe.buttonWrap},b.createElement(Ke.ZP,{size:"middle",className:`${pe.button} mr20`,onClick:Hn},"\u53D6\u6D88"),b.createElement(Ke.ZP,{size:"middle",type:"primary",loading:Un,className:`${pe.button}`,onClick:ho},yn))),b.createElement(De.default,{centered:!0,closable:!1,destroyOnClose:!0,open:$a,title:null,footer:null,width:320,afterClose:()=>La(0)},b.createElement(Me.Z,{align:"middle",style:{flexDirection:"column"}},b.createElement("b",{style:{color:"#5F6368"},className:"font16 mb5 mt20"},za,b.createElement("span",{className:pe.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:_a}),b.createElement("div",{style:{color:"#5F6368"},className:"mb20"},"\u6B63\u5728\u8BC6\u522B\uFF0C\u5DF2\u5B8C\u6210",b.createElement("span",{className:"ml5 c-light-primary"},_a,"%")))),b.createElement(De.default,{centered:!0,open:bt,title:"\u8BD5\u9898\u5BFC\u5165\u8BBE\u7F6E",confirmLoading:at,width:480,onCancel:()=>St(!1),onOk:()=>Na.submit(),afterClose:()=>{Na.resetFields()}},b.createElement(_e.default,{style:{maxHeight:550},form:Na,layout:"horizontal",colon:!1,size:"large",onFinish:Se=>Ft(void 0,null,function*(){var xt,Kt,bn,Ct,Vn;const Xn=xn.filter(Za=>!Za.checked&&!Za.errorMsg);ct(!0);const Sn=()=>Ft(void 0,null,function*(){var Za,Gn;const tn=yield(0,ie.ZP)("/api/intelligent_imports/save.json",{method:"post",body:hn(Rt(Rt({},an),Se),{list:Xn,mode:oa})});tn.status===0&&(Zn&&((Za=tn==null?void 0:tn.data)!=null&&Za.success)&&window.location.pathname==="/problemset"&&(lt.Z.publish("refresh-item-bank",Se.group_id),yield new Promise(Yt=>setTimeout(()=>Yt(),1500))),Ue.ZP.success(`\u6210\u529F\u5BFC\u5165${(Gn=tn==null?void 0:tn.data)==null?void 0:Gn.success}\u9053\u8BD5\u9898`,3),Wn(tn),St(!1)),ct(!1)});if(oa!==1){yield Sn();return}const Ln=yield(0,ie.ZP)("/api/intelligent_imports/is_repeated.json",{method:"post",body:{list:xn,mode:oa}});if(Ln.status===0){if(!((xt=Ln==null?void 0:Ln.data)!=null&&xt.error_size)){yield Sn();return}De.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onCancel:()=>{ct(!1)},title:"\u63D0\u793A",content:b.createElement("div",{style:{overflow:"auto",maxHeight:500}},"\u5171",b.createElement("span",{className:"c-light-primary ml5 mr5"},(Kt=Ln==null?void 0:Ln.data)==null?void 0:Kt.all_size),"\u9053\u8BD5\u9898\uFF0C\u5176\u4E2D",b.createElement("span",{style:{color:"#FF9D18"},className:"ml5 mr5"},(bn=Ln==null?void 0:Ln.data)==null?void 0:bn.error_size),"\u9053\u8BD5\u9898\u91CD\u590D\uFF08\u7B2C",b.createElement("span",{className:"ml5 mr5"},(Vn=(Ct=Ln==null?void 0:Ln.data)==null?void 0:Ct.index)==null?void 0:Vn.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:Sn})}})},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(_e.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:ze})),oa===1&&b.createElement(_e.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:()=>qt(!0),style:{marginLeft:211,transform:"translateX(14px)",display:"flex",color:"#5F6368",cursor:"pointer"}},b.createElement("img",{className:"mr5 primary-hover",src:be}),"\u65B0\u5EFA\u6587\u4EF6\u5939")),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"group_id",labelCol:{span:24},wrapperCol:{span:24}},b.createElement(he.Z,{key:Qe})))),b.createElement(De.default,{centered:!0,open:vn,title:"\u65B0\u5EFA\u6587\u4EF6\u5939",destroyOnClose:!0,width:480,confirmLoading:gn,onCancel:()=>qt(!1),onOk:()=>nr.submit(),afterClose:()=>{nr.resetFields()}},b.createElement(_e.default,{style:{maxHeight:550},form:nr,layout:"horizontal",colon:!1,size:"large",onFinish:Se=>Ft(void 0,null,function*(){var xt;En(!0),(yield(0,ie.ZP)("/api/item_banks_groups.json",{method:"post",body:{name:Se.name,parent_id:(xt=Se==null?void 0:Se.parent_id)==null?void 0:xt[0]}})).status===0?(Tt(Qe+1),setTimeout(()=>{Ue.ZP.success("\u64CD\u4F5C\u6210\u529F"),qt(!1),En(!1)},1e3)):En(!1)})},b.createElement(_e.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(_e.default.Item,{label:"\u6587\u4EF6\u5939\u4F4D\u7F6E",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"parent_id"},b.createElement(he.Z,null)))),b.createElement(At.Z,{onSave:Se=>{ia(!0),sr("\u5904\u7406\u4E2D"),Yo("/api/intelligent_imports/import.json",{html:Se})},ref:zr}))},ht=z;var Tn=nt},65986:function(Et,Mt,re){"use strict";var b=re(59301),pe=re(21697),we=re(48136),Ae=re(88615),_e=re(43418),Ue=re(59301);const De=(0,b.forwardRef)(({callback:tt,width:Me,onChange:Le,disabled:ke,readOnly:Ge,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,he]=(0,b.useState)(!1),be=()=>{var Re=document.createElement("div");Re.innerHTML=x.current.getValue();var Ye=Re.innerText;return tt&&tt(Ye),Ye};(0,b.useImperativeHandle)(a,()=>({getData:be}));const He=Re=>{Re.preventDefault();const Ye=Re.clientX-z,We=Re.clientY-ae;document.body.onmousemove=qe=>{let xe=qe.clientX-Ye,gt=qe.clientY-We;const lt=document.getElementsByClassName("markdown-popup-form")[0],At=window.innerWidth-lt.offsetWidth,mt=window.innerHeight-lt.offsetHeight;xe=Math.max(0,Math.min(xe,At)),gt=Math.max(0,Math.min(gt,mt)),Ne(qe.clientX,qe.clientY,Ye,We)&&(te(xe),se(gt))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ne=(Re,Ye,We,qe)=>{const xe=document.body.clientHeight,gt=document.body.clientWidth;return Re<20&&We>Re||Re>gt-20&&We<Re||Ye<20&&qe>Ye||Ye>xe-20&&qe<Ye?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};(0,b.useEffect)(()=>{ie&&setTimeout(()=>{const Re=document.getElementsByClassName("markdown-popup-form")[0],Ye=window.innerWidth/2-Re.offsetWidth/2,We=window.innerHeight/2-Re.offsetHeight/2;te(Ye),se(We)},0)},[ie]);const dt=()=>{ke||Ge||he(!0)};return Ue.createElement("div",{style:E},Ue.createElement("div",{style:{width:Me||"100%",position:"relative"},className:`${pe.Z.mathFillWrap} ${ke||Ge?"cursorDefault":""}`,onClick:()=>dt()},Ue.createElement("math-field",{disabled:ke,locale:"zh_cn",class:`${pe.Z.mathField} ${Ke}`,readOnly:Ge,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:x,style:{width:"100%",fontSize:le?18:14},value:le||""})),Ue.createElement(_e.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:z,top:ae},title:Ue.createElement("div",{style:{cursor:"move"},onMouseDown:He},"\u8F93\u5165\u516C\u5F0F"),open:ie,onOk:()=>{const Re=y.current.getData();x.current.setValue(Re),Le(Re),he(!1)},onCancel:()=>{he(!1)},destroyOnClose:!0,className:"markdown-popup-form"},Ue.createElement(Ae.Z,{value:le,ref:y,onChange:Le,showSaveButton:!1})))});Mt.Z=De},88615:function(Et,Mt,re){"use strict";var b=re(59301),pe=re(95237),we=re(43604),Ae=re(99313),_e=re(3113),Ue=re(7664),De=re(21697),tt=re(48136),Me=re(59301);const Le=(0,b.forwardRef)(({callback:ke,showSaveButton:Ge,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(pe.Z,{className:De.Z.lists,gutter:[10,10]},a.map((ae,se)=>Me.createElement(we.Z,{flex:"110px",className:De.Z.item},Me.createElement("div",null,Me.createElement(Ue.Z,{value:`$$${ae.value}$$`}),ae.name),Me.createElement("div",{className:De.Z.children},ae.children.map((ie,he)=>Me.createElement("div",{key:he},Me.createElement("h1",null,ie.name),Me.createElement(pe.Z,{gutter:[10,10]},ie.data.map((be,He)=>Me.createElement(we.Z,{key:He,onClick:()=>y(be),className:De.Z.diamond},Me.createElement(Ue.Z,{value:"`$$"+be.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Me.createElement(pe.Z,{className:De.Z.lists,gutter:[10,10]},x.map((ae,se)=>Me.createElement(we.Z,{flex:"110px",className:De.Z.item},Me.createElement("div",null,Me.createElement(Ue.Z,{value:"`$$"+ae.value+"$$`"}),ae.name),Me.createElement("div",{className:De.Z.children},ae.children.map((ie,he)=>Me.createElement("div",{key:he},ie.name&&Me.createElement("h1",null,ie.name),Me.createElement(pe.Z,{gutter:[10,10]},ie.data.map((be,He)=>Me.createElement(we.Z,{key:He,onClick:()=>y(be),className:De.Z.diamond},Me.createElement(Ue.Z,{value:"`$$"+be.value+"$$`"}))))))))))}],te=()=>{var ae=document.createElement("div");ae.innerHTML=E.current.getValue();var se=ae.innerText;return ke&&ke(se),se};return(0,b.useImperativeHandle)(le,()=>({getData:te})),Me.createElement("div",{className:De.Z.mathWrap},Me.createElement(Ae.default,{defaultActiveKey:"1",items:z}),Me.createElement("math-field",{locale:"zh_cn",className:De.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:E,style:{width:800,marginTop:30,fontSize:18}},Ke||""),Ge&&Me.createElement("div",{className:De.Z.button},Me.createElement(_e.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Mt.Z=Le},66052:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return Ge}});var b=re(59301),pe=re(78241),we=re(43418),Ae=re(92832),_e=re(87169),Ue=re(82093),De={publicQuest:"publicQuest___iYvzo",publicQuestContent:"publicQuestContent___vgbKh",public_tips:"public_tips___UX0Dn",concat:"concat___wOfND"},tt=re(54579),Me=re(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())}),Ge=({type:Ke="subject",open:le,onCancel:E,onOkClick:a,subDisciplineId:x})=>{const[y]=pe.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 he=yield(0,Ue.ZP)("/api/disciplines.json",{method:"get",params:{source:Ke}});te(he.disciplines||[])}});return Me.createElement(we.default,{title:Me.createElement("div",{style:{fontWeight:"bold"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9"),open:le,width:558,centered:!0,className:De.publicQuest,onCancel:()=>{E(),y.resetFields()},onOk:()=>{y.validateFields().then(he=>Le(void 0,null,function*(){const be=yield(0,Ue.ZP)("/api/tag_disciplines.json",{method:"post",body:{name:he==null?void 0:he.name,sub_discipline_id:x}});(be==null?void 0:be.status)===0&&a({name:he==null?void 0:he.name,id:be==null?void 0:be.tag_discipline_id,public:!1,type:"personal"}),y.resetFields(),E()}))}},Me.createElement("div",{className:De.publicQuestContent},Me.createElement("div",{className:De.public_tips},Me.createElement(_e.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(pe.default,{labelAlign:"left",form:y,colon:!1},Me.createElement(pe.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)}})))}},65526:function(Et,Mt,re){"use strict";re.d(Mt,{Q:function(){return Me},Z:function(){return ke}});var b=re(59301),pe={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"},we=re(92310),Ae=re.n(we),_e=re(43418),Ue=re(8591),De=re(24905),tt=(Ge,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(Ge,Ke)).next())});const Me=({title:Ge="\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(_e.default,{centered:!0,open:le,title:Ge,confirmLoading:te,width:564,onOk:()=>tt(void 0,null,function*(){if(!y.length){Ue.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(De.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 ke=({title:Ge="\u5141\u8BB8\u7F16\u7A0B\u7684\u8BED\u8A00",className:Ke,style:le={},onEdit:E,dataSource:a=[]})=>{const x={C:b.createElement("div",{className:pe.c},"C"),"C++":b.createElement("div",{className:pe.cpp},"C++"),Java:b.createElement("div",{className:pe.java},"Java"),Python:b.createElement("div",{className:pe.python},"Python")};return b.createElement("div",{className:Ae()(pe.tags,Ke),style:le},!!Ge&&b.createElement("div",{className:pe.text},Ge),b.createElement("div",{className:pe.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 ${pe.edit}`}))}},51110:function(Et,Mt,re){"use strict";re.d(Mt,{t:function(){return Tn}});var b=re(59301),pe=re(92832),we=re(78241),Ae=re(43418),_e=re(95237),Ue=re(43604),De=re(5871),tt=re(57809),Me=re(5112),Le=re(54657),ke=re(76560),Ge=re(69092),Ke=re(8591),le=re(3113),E=re(71418),a=re(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=re(82093),z=re(50582),te=re(89389),ae=re(56102),se=re(55956),ie=re(59301),he=Object.defineProperty,be=Object.defineProperties,He=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,dt=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,Ye=(kt,yt,Pt)=>yt in kt?he(kt,yt,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):kt[yt]=Pt,We=(kt,yt)=>{for(var Pt in yt||(yt={}))dt.call(yt,Pt)&&Ye(kt,Pt,yt[Pt]);if(Ne)for(var Pt of Ne(yt))Re.call(yt,Pt)&&Ye(kt,Pt,yt[Pt]);return kt},qe=(kt,yt)=>be(kt,He(yt)),xe=(kt,yt,Pt)=>new Promise((Hn,Wn)=>{var an=qn=>{try{Ea(Pt.next(qn))}catch(On){Wn(On)}},oa=qn=>{try{Ea(Pt.throw(qn))}catch(On){Wn(On)}},Ea=qn=>qn.done?Hn(qn.value):Promise.resolve(qn.value).then(an,oa);Ea((Pt=Pt.apply(kt,yt)).next())}),lt=({buttonProps:kt,buttonText:yt,form:Pt,hackIdentifier:Hn="",answerKey:Wn,data:an})=>{const[oa,Ea]=(0,b.useState)(!1),[qn,On]=(0,b.useState)(!1),[Sa,Oa]=(0,b.useState)(!1),[ka,va]=(0,b.useState)({}),[Ua,Ta]=(0,b.useState)(""),[ga,Ra]=(0,b.useState)(""),qa=(0,b.useRef)(Hn),Zn=(0,b.useRef)(""),yn=(0,b.useRef)(!1);(0,b.useEffect)(()=>{Sa&&xa()},[Sa]),(0,b.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const Gt=()=>new Date().getTime(),rn=an==null?void 0:an.code,Ca=()=>{var za,sr;let $a=rn?an==null?void 0:an.code:(za=Pt.getFieldValue("hack_codes"))==null?void 0:za.code,ia=rn?an==null?void 0:an.answer_content:Pt.getFieldValue(Wn),Rr=rn?an==null?void 0:an.input:(sr=Pt.getFieldValue("hack_sets"))==null?void 0:sr.input;ia==null||ia.forEach(Lt=>{const xn=Lt.value||Lt.answer_text||"";$a=$a.replace(/(@▁@|@▁▁@)/,xn)}),Ra(Rr),Ta($a),va({}),Oa(!0)},xa=()=>xe(void 0,null,function*(){var za,sr,$a,ia;const Rr=Gt(),Lt=rn?an==null?void 0:an.time_limit:(za=Pt.getFieldsValue())==null?void 0:za.hack.time_limit,xn=rn?(sr=an==null?void 0:an.answer_content)==null?void 0:sr.length:(ia=($a=Pt.getFieldsValue())==null?void 0:$a.standard_answers)==null?void 0:ia.length;Ea(!0),yield(0,z.bM)(Zn.current,{test_hack_code:Ua,test_input:ga});function na(){return xe(this,null,function*(){const{status:pa,data:Be}=yield(0,z.rX)(Zn.current,"submit"),ct=Gt()-Rr>(Lt+3)*1e3*xn;if(yn.current){if(ct){Ke.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),Ea(!1);return}if(pa===0){Ea(!1),va(qe(We({},Be),{showText:!0}));return}setTimeout(na,1e3)}})}na()}),_a=()=>xe(void 0,null,function*(){var za,sr,$a,ia,Rr,Lt,xn;if(!an){try{yield Pt.validateFields()}catch(at){($a=(sr=(za=at==null?void 0:at.errorFields)==null?void 0:za[0])==null?void 0:sr.name)!=null&&$a.includes("standard_answers")?Ke.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Ke.ZP.error(at.errorFields[0].errors[0]),Pt.scrollToField(at.errorFields[0].name,{behavior:"smooth",block:"center"});return}On(!0);let pa="";const Be=Pt.getFieldsValue();qa.current?pa=yield(0,y.ZP)(`/api/problems/${qa.current}.json`,{method:"put",body:qe(We({},Be),{hack:qe(We({},Be==null?void 0:Be.hack),{sub_discipline_id:(xn=(Lt=Be==null?void 0:Be.hack)==null?void 0:Lt.sub_discipline_id)==null?void 0:xn[1],difficult:Be.difficulty,item_banks_group_id:Be.item_banks_group_id}),hack_codes:qe(We({},Be.hack_codes),{code:a.Base64.encode(Be.hack_codes.code)}),update_hack_sets:[We({},Be.hack_sets)],is_blank:!0})}):(pa=yield(0,y.ZP)("/api/problems.json",{method:"post",body:qe(We({},Be),{hack:qe(We({},Be==null?void 0:Be.hack),{sub_discipline_id:(Rr=(ia=Be==null?void 0:Be.hack)==null?void 0:ia.sub_discipline_id)==null?void 0:Rr[1],difficult:Be.difficulty,item_banks_group_id:Be.item_banks_group_id}),hack_codes:qe(We({},Be.hack_codes),{code:a.Base64.encode(Be.hack_codes.code)}),hack_sets:[We({},Be.hack_sets)],is_blank:!0})}),qa.current=pa==null?void 0:pa.identifier,sessionStorage.projectFill=pa==null?void 0:pa.identifier)}const na=yield(0,y.ZP)(`/api/problems/${qa.current}/start.json`,{method:"get"});if((na==null?void 0:na.status)===0){Zn.current=na==null?void 0:na.identifier,yn.current=!0,On(!1),Ca();return}On(!1)}),La=za=>{const{status:sr,error_msg:$a,execute_time:ia,output:Rr,input:Lt,expected_output:xn}=za;let na=null;switch(sr){case se.h.OK:na=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",ia/1e3,"\u79D2"),ie.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case se.h.NOMATCH:na=ie.createElement(ie.Fragment,null,ie.createElement("div",null,"\u8F93\u5165\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},Lt),ie.createElement("div",null,"\u8F93\u51FA\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},Rr&&a.Base64.decode(Rr)),ie.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},xn&&a.Base64.decode(xn)));break;case se.h.EXECUTEFAILURE:na=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ie.createElement("pre",null,Lt)),ie.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ie.createElement("pre",{className:"error"},a.Base64.decode($a)));break;case se.h.COMPILEFAILURE:na=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ie.createElement("pre",null,Lt)),ie.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ie.createElement("pre",{className:"error"},a.Base64.decode($a)));break;case se.h.PODFAILURE:na=ie.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case se.h.TIMEOUT:na=ie.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return ie.createElement(ie.Fragment,null," ",na," ")};return ie.createElement("div",null,ie.createElement(le.ZP,qe(We({loading:qn},kt),{onClick:_a}),yt),ie.createElement(Ae.default,{open:Sa,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:oa,cancelButtonProps:{style:{display:"none"}},onOk:()=>xa(),onCancel:()=>{yn.current=!1,Oa(!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"),!an&&ie.createElement(ae.CopyToClipboard,{text:Ua,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:Ua,onChange:za=>Ta(za)})),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(pe.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:ga,onChange:za=>Ra(za.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:oa,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},ie.createElement("div",{className:x.li,style:{height:196,overflow:"auto",padding:10}},La(ka))))))))},At=re(87169),mt=re(59301),Pn=Object.defineProperty,un=Object.defineProperties,Zt=Object.getOwnPropertyDescriptors,_t=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,Rt=(kt,yt,Pt)=>yt in kt?Pn(kt,yt,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):kt[yt]=Pt,hn=(kt,yt)=>{for(var Pt in yt||(yt={}))Te.call(yt,Pt)&&Rt(kt,Pt,yt[Pt]);if(_t)for(var Pt of _t(yt))ot.call(yt,Pt)&&Rt(kt,Pt,yt[Pt]);return kt},Ft=(kt,yt)=>un(kt,Zt(yt)),sn=(kt,yt)=>{var Pt={};for(var Hn in kt)Te.call(kt,Hn)&&yt.indexOf(Hn)<0&&(Pt[Hn]=kt[Hn]);if(kt!=null&&_t)for(var Hn of _t(kt))yt.indexOf(Hn)<0&&ot.call(kt,Hn)&&(Pt[Hn]=kt[Hn]);return Pt};const{TextArea:Ce}=pe.default,it=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],Qt=({value:kt,onChange:yt})=>mt.createElement(Switch,{checked:kt,onChange:Pt=>{yt(Pt)}}),nt="@\u2581@",ht="@\u2581\u2581@",Tn=({questionTitlePlaceholder:kt,form:yt,scoreByBlank:Pt=!1,hackidentifier:Hn,answerKey:Wn})=>{const[an,oa]=(0,b.useState)(!1),[Ea,qn]=(0,b.useState)(!1),Sa=(0,ke.useParams)().type==="edit",Oa=(Zn,yn)=>{const Gt=yn.line;let rn=0;for(let xa=0;xa<Gt;xa++)rn+=Zn.getLine(xa).split(nt).length-1;for(let xa=0;xa<Gt;xa++)rn+=Zn.getLine(xa).split(ht).length-1;const Ca=Zn.getLine(Gt).substring(0,yn.ch);return rn+=Ca.split(nt).length-1,rn+=Ca.split(ht).length-1,rn},ka=(Zn,yn,Gt,rn)=>{const Ca=Zn.getRange(yn.from,yn.to);let xa=0;if(yn.text.forEach(_a=>{xa+=_a.split(nt).length-1}),yn.text.forEach(_a=>{xa+=_a.split(ht).length-1}),yn.origin!=="setValue"){if(Ca&&(Ca.indexOf(nt)!==-1||Ca.indexOf(ht)!==-1)){const _a=Ca.split(nt).length-1+Ca.split(ht).length-1,La=Oa(Zn,yn.from);if(console.log(`\u5220\u9664${_a}\u4E2A\uFF0C \u524D\u9762\u6709${La}\u4E2A\uFF0C\u65B0\u589E${xa}\u4E2A`),_a>1){const za=Array.from({length:_a},(sr,$a)=>La+$a);rn(za)}else rn(La)}else if(xa>0){const _a=Oa(Zn,yn.from);console.log(`\u65B0\u589E${xa}\u4E2A\uFF0C\u4E4B\u524D\u6709${_a}\u4E2A`),Gt(xa,_a)}}},va=()=>{const Zn=yt.getFieldValue(Wn);yt.setFieldsValue({[Wn]:Zn==null?void 0:Zn.map((yn,Gt)=>Ft(hn({},yn),{position:Gt+1}))})},Ua=(0,b.useRef)(),Ta=(Zn,yn)=>{for(let Gt=0;Gt<Zn;Gt++)Ua.current({position:null,answer_text:""},yn+Gt);va()},ga=(0,b.useRef)(),Ra=Zn=>{ga.current(Zn),va()},qa=we.default.useWatch(Wn,yt);return mt.createElement("div",{className:Ge.Z.wrap},mt.createElement(we.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},mt.createElement(Le.h,{scrollId:"name",watch:!0,height:140})),mt.createElement("div",{className:Ge.Z.questionTitleEditorWrap},mt.createElement(we.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},mt.createElement(Le.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(Zn,yn)=>{const Gt=yt.getFieldValue(Wn);console.log("--preAnswerData",Gt,yn),yt.setFieldsValue({[Wn]:Gt==null?void 0:Gt.map((rn,Ca)=>{var xa;return Ft(hn({},rn),{position:Ca+1,multi_line:(xa=yn==null?void 0:yn[Ca])==null?void 0:xa.multiLine})})})},placeholder:kt,onCMBeforeChange:(Zn,yn)=>{ka(Zn,yn,Ta,Ra)}}))),mt.createElement(we.default.List,{name:Wn,rules:[{validator(Zn,yn){if(!(yn!=null&&yn.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const Gt of yn){const{answer_text:rn}=Gt||{};if((rn==null?void 0:rn.length)===0)return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Zn,{add:yn,remove:Gt},{errors:rn})=>(Ua.current=yn,ga.current=Gt,mt.createElement(mt.Fragment,null,mt.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},mt.createElement(we.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),mt.createElement("div",{onClick:()=>{Ae.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:mt.createElement("div",null,mt.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",mt.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),mt.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"}},mt.createElement(At.Z,{style:{marginRight:3,color:"#3061D0"}}),mt.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),Zn.map((Ca,xa)=>{var _a=Ca,{key:La,name:za}=_a,sr=sn(_a,["key","name"]),$a,ia;return mt.createElement(_e.Z,{className:"mb20",key:La,align:"middle",wrap:!1},mt.createElement(Ue.Z,{flex:"0 0 auto",className:`${Ge.Z.blankIndex}`},"\u586B\u7A7A\u9879",xa+1),mt.createElement(Ue.Z,{flex:1},mt.createElement(_e.Z,{align:"top",justify:"space-between",wrap:!1},mt.createElement(Ue.Z,null,mt.createElement(we.default.Item,Ft(hn({},sr),{name:[za,"answer_text"],noStyle:!0}),($a=qa==null?void 0:qa[za])!=null&&$a.multi_line||(ia=qa==null?void 0:qa[za])!=null&&ia.multiLine?mt.createElement(Ce,{spellCheck:!1,style:{marginLeft:10,width:550}}):mt.createElement(pe.default,{style:{marginLeft:10,width:550},className:Ge.Z.blankInput,size:"large",maxLength:1e3,onBlur:Rr=>{}}))),Pt&&mt.createElement(Ue.Z,{flex:"224px"},mt.createElement(we.default.Item,Ft(hn({},sr),{name:[za,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),mt.createElement(De.Z,{size:"large",className:Ge.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),mt.createElement("div",{onClick:()=>oa(!0)},mt.createElement(we.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},mt.createElement(Le.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:an}))),mt.createElement(we.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"}]},mt.createElement(tt.default,{size:"large"},it.map(Zn=>mt.createElement(tt.default.Option,{key:Zn.title,value:Zn.key}," ",Zn.title)))),mt.createElement(we.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},mt.createElement(we.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},mt.createElement(De.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),mt.createElement("span",{className:"ml10 font14"},"\u79D2")),mt.createElement(we.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"}]},mt.createElement(Me.ZP.Group,{style:{marginTop:-10}},mt.createElement(Me.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),mt.createElement(Me.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),mt.createElement(Me.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),mt.createElement(we.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),mt.createElement("div",{style:{background:"#F6F7F9",padding:15}},mt.createElement(we.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},mt.createElement(Ce,{rows:4})),mt.createElement(we.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24},name:["hack_sets","output"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F93\u51FA\u5185\u5BB9"}]},mt.createElement(Ce,{rows:4}))),mt.createElement(lt,{form:yt,answerKey:Wn,hackIdentifier:Hn,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:mt.createElement("i",{className:"iconfont icon-ceshi"}),style:{background:"rgba(55,173,131,0.05)",borderRadius:19,border:"1px solid #37AD83",width:116,height:38,display:"inline-flex",fontSize:14,alignItems:"center",justifyContent:"center",marginTop:20,cursor:"pointer",color:"#37AD83"}}}))}},82482:function(Et,Mt,re){"use strict";re.d(Mt,{u:function(){return ie}});var b=re(59301),pe=re(95237),we=re(43604),Ae=re(6848),_e=re(78241),Ue=re(69092),De=re(32134),tt=re(12893),Me=re(54657),Le=re(59301),ke=Object.defineProperty,Ge=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(he,be,He)=>be in he?ke(he,be,{enumerable:!0,configurable:!0,writable:!0,value:He}):he[be]=He,y=(he,be)=>{for(var He in be||(be={}))E.call(be,He)&&x(he,He,be[He]);if(le)for(var He of le(be))a.call(be,He)&&x(he,He,be[He]);return he},z=(he,be)=>Ge(he,Ke(be)),te=(he,be)=>{var He={};for(var Ne in he)E.call(he,Ne)&&be.indexOf(Ne)<0&&(He[Ne]=he[Ne]);if(he!=null&&le)for(var Ne of le(he))be.indexOf(Ne)<0&&a.call(he,Ne)&&(He[Ne]=he[Ne]);return He};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:he,onChange:be,choiceTextKey:He,answerKey:Ne,index:dt,isEdit:Re,setInputActive:Ye,form:We,choiceOptionsPath:qe,allowChangeMode:xe,showAddIcon:gt,addItem:lt,deleteItem:At})=>{console.log(he,"value");const mt=(he==null?void 0:he[Ne])===1,Pn=()=>{const Zt=We.getFieldValue(qe);We.setFieldValue(qe,Zt.map(_t=>z(y({},_t),{[Ne]:0})))},un=()=>{mt?be(z(y({},he),{[Ne]:0})):(xe||Pn(),be(z(y({},he),{[Ne]:1})))};return Le.createElement(pe.Z,{className:Ue.Z.choiceWrap,align:"middle",wrap:!1},Le.createElement(we.Z,{onClick:un,className:`${Ue.Z.choiceIndex} ${mt?Ue.Z.activeAnswer:""}`},ae[dt]),Le.createElement(we.Z,{flex:1,className:`${Ue.Z.editorWrap} ml15`,onClick:Ye},Le.createElement(Me.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:Re,value:he==null?void 0:he[He],onChange:Zt=>{be(z(y({},he),{[He]:Zt}))}})),Le.createElement(we.Z,{flex:"0 0 auto",className:"ml15"},Le.createElement("div",{onClick:un,className:`${Ue.Z.setAnswerBtn} ${mt?Ue.Z.activeAnswer:""}`},mt?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),Le.createElement(we.Z,{className:Ue.Z.actionWrapper},Le.createElement(Ae.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},Le.createElement(De.Z,{className:Ue.Z.addIcon,onClick:lt,style:{visibility:gt?"visible":"hidden"}})),Le.createElement(Ae.Z,{title:"\u5220\u9664"},Le.createElement(tt.Z,{className:Ue.Z.deleteIcon,onClick:At,style:{visibility:dt>1?"visible":"hidden"}}))))},ie=({questionTitlePlaceholder:he,titleKey:be,choiceKey:He,analysisKey:Ne,choiceTextKey:dt,answerKey:Re,choiceOptionsPath:Ye,allowChangeMode:We=!0,form:qe,showAnalysis:xe=!0})=>{const[gt,lt]=(0,b.useState)(),[At,mt]=(0,b.useState)(!1);return Le.createElement("div",{className:Ue.Z.wrap},Le.createElement("div",{className:Ue.Z.questionTitleEditorWrap},Le.createElement(_e.default.Item,{label:"\u9898\u5E72",name:be,labelCol:{span:24},rules:[{required:!0}]},Le.createElement(Me.h,{scrollId:Array.isArray(be)?be.join("_"):`${be}`,watch:!0,height:140,placeholder:he}))),Le.createElement(_e.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),Le.createElement(_e.default.List,{name:He,rules:[{validator(Pn,un){const Zt=un.some(Te=>Te[Re]===1),_t=un.findIndex(Te=>{var ot;return((ot=Te[dt])==null?void 0:ot.length)<=0});return _t!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${ae[_t]}\u9009\u9879\u7684\u5185\u5BB9`)):Zt?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(Pn,{add:un,remove:Zt})=>Le.createElement("div",{id:Array.isArray(Ye)?Ye.join("_"):`${Ye}`},Pn.map((_t,Te)=>{var ot=_t,{key:Rt,name:hn}=ot,Ft=te(ot,["key","name"]);const sn=gt===Rt,Ce=()=>{lt(Rt)},it=Te<7&&Te===Pn.length-1,Qt=()=>un({[dt]:"",[Re]:0}),nt=()=>Zt(hn);return Le.createElement(_e.default.Item,z(y({},Ft),{key:Rt,name:hn,className:Ue.Z.choiceListWrap,rules:[{validator(ht,Tn){return Tn!=null&&Tn.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${ae[Te]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),Le.createElement(se,{choiceTextKey:dt,answerKey:Re,index:Te,isEdit:sn,setInputActive:Ce,form:qe,choiceOptionsPath:Ye,allowChangeMode:We,showAddIcon:it,addItem:Qt,deleteItem:nt}))}),Pn.length<8&&Le.createElement("div",{className:`${Ue.Z.addBtn} mb30`,onClick:()=>un({[dt]:"",[Re]:0})},"\u6DFB\u52A0\u9009\u9879"))),xe&&Le.createElement("div",{onClick:()=>mt(!0)},Le.createElement(_e.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:At}))))}},15460:function(Et,Mt,re){"use strict";re.d(Mt,{u:function(){return We}});var b=re(59301),pe=re(43418),we=re(95237),Ae=re(43604),_e=re(92832),Ue=re(6848),De=re(78673),tt=re(78241),Me=re(5112),Le=re(5871),ke=re(54657),Ge=re(12893),Ke=re(61485),le=re(69092),E=re(65986),a=re(59301),x=Object.defineProperty,y=Object.defineProperties,z=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ie=(qe,xe,gt)=>xe in qe?x(qe,xe,{enumerable:!0,configurable:!0,writable:!0,value:gt}):qe[xe]=gt,he=(qe,xe)=>{for(var gt in xe||(xe={}))ae.call(xe,gt)&&ie(qe,gt,xe[gt]);if(te)for(var gt of te(xe))se.call(xe,gt)&&ie(qe,gt,xe[gt]);return qe},be=(qe,xe)=>y(qe,z(xe)),He=(qe,xe)=>{var gt={};for(var lt in qe)ae.call(qe,lt)&&xe.indexOf(lt)<0&&(gt[lt]=qe[lt]);if(qe!=null&&te)for(var lt of te(qe))xe.indexOf(lt)<0&&se.call(qe,lt)&&(gt[lt]=qe[lt]);return gt};const Ne=({value:qe,onChange:xe})=>{const gt=At=>{pe.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 mt=[...qe];mt.splice(At,1),xe(mt)}})},lt=()=>{const At=[...qe];At.push(""),xe(At)};return a.createElement(we.Z,{className:"ml20"},a.createElement(Ae.Z,{flex:1},qe==null?void 0:qe.map((At,mt)=>a.createElement(we.Z,{key:`${At}_${mt}`,className:"mb20"},a.createElement(_e.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:At,autoSize:{maxRows:3},maxLength:1e3,onBlur:Pn=>{const un=[...qe],Zt=Pn.target.value.trim();un[mt]=Zt,xe(un)}}),a.createElement(Ue.Z,{title:"\u5220\u9664"},a.createElement(Ge.Z,{className:le.Z.deleteIcon,style:{marginLeft:15,visibility:mt>0?"visible":"hidden"},onClick:()=>gt(mt)}))))),a.createElement(Ae.Z,null,a.createElement("div",{className:`${le.Z.addBtn}`,onClick:()=>{lt()}},"\u65B0\u589E\u7B54\u6848")))},dt=({value:qe,onChange:xe})=>{const gt=At=>{pe.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 mt=[...qe];mt.splice(At,1),xe(mt)}})},lt=()=>{const At=[...qe];At.push(""),xe(At)};return a.createElement(we.Z,{className:"ml20"},a.createElement(Ae.Z,{flex:1},qe==null?void 0:qe.map((At,mt)=>a.createElement(we.Z,{key:`${At}_${mt}`,align:"middle",className:"mb20"},a.createElement(E.Z,{value:At,style:{flex:1},onChange:Pn=>{const un=[...qe];un[mt]=Pn,xe(un)}}),a.createElement(Ue.Z,{title:"\u5220\u9664"},a.createElement(Ge.Z,{className:le.Z.deleteIcon,style:{marginLeft:15,visibility:mt>0?"visible":"hidden"},onClick:()=>gt(mt)}))))),a.createElement(Ae.Z,null,a.createElement("div",{className:`${le.Z.addBtn}`,onClick:()=>{lt()}},"\u65B0\u589E\u7B54\u6848")))},Re=({value:qe=!0,onChange:xe})=>a.createElement(De.Z,{checked:!qe,onChange:gt=>{xe(!gt)}}),Ye="\u2581",We=({questionTitlePlaceholder:qe,form:xe,scoreByBlank:gt=!1,answerKey:lt})=>{const[At,mt]=(0,b.useState)(!1),Pn=(Ft,sn)=>{const Ce=sn.line;let it=0;for(let nt=0;nt<Ce;nt++)it+=Ft.getLine(nt).split(Ye).length-1;const Qt=Ft.getLine(Ce).substring(0,sn.ch);return it+=Qt.split(Ye).length-1,it},un=(Ft,sn,Ce,it)=>{const Qt=Ft.getRange(sn.from,sn.to);let nt=0;if(sn.text.forEach(ht=>{nt+=ht.split(Ye).length-1}),sn.origin!=="setValue"){if(Qt&&Qt.indexOf(Ye)!==-1){const ht=Qt.split(Ye).length-1,Tn=Pn(Ft,sn.from);if(console.log(`\u5220\u9664${ht}\u4E2A\uFF0C \u524D\u9762\u6709${Tn}\u4E2A\uFF0C\u65B0\u589E${nt}\u4E2A`),ht>1){const kt=Array.from({length:ht},(yt,Pt)=>Tn+Pt);it(kt)}else it(Tn)}else if(nt>0){const ht=Pn(Ft,sn.from);console.log(`\u65B0\u589E${nt}\u4E2A\uFF0C\u4E4B\u524D\u6709${ht}\u4E2A`),Ce(nt,ht)}}},Zt=()=>{const Ft=xe.getFieldValue(lt);xe.setFieldsValue({[lt]:Ft.map((sn,Ce)=>be(he({},sn),{position:Ce+1}))})},_t=(0,b.useRef)(),Te=(Ft,sn)=>{for(let Ce=0;Ce<Ft;Ce++)_t.current({position:null,answer_text:[""],model:1},sn+Ce);Zt()},ot=(0,b.useRef)(),Rt=Ft=>{ot.current(Ft),Zt()},hn=tt.default.useWatch(lt,xe);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(ke.h,{scrollId:"name",watch:!0,height:140,placeholder:qe,showNullButton:!0,onCMBeforeChange:(Ft,sn)=>{un(Ft,sn,Te,Rt)}}))),a.createElement(tt.default.List,{name:lt,rules:[{validator(Ft,sn){if(!(sn!=null&&sn.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Ce of sn){const{answer_text:it}=Ce||{};if(it!=null&&it.some(Qt=>(Qt==null?void 0:Qt.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Ft,{add:sn,remove:Ce},{errors:it})=>(_t.current=sn,ot.current=Ce,a.createElement(a.Fragment,null,a.createElement(tt.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Ft!=null&&Ft.length)&&a.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),Ft.map((Qt,nt)=>{var ht=Qt,{key:Tn,name:kt}=ht,yt=He(ht,["key","name"]),Pt,Hn;return a.createElement("div",{style:{marginBottom:10},key:Tn},a.createElement(we.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,be(he({},yt),{name:[kt,"model"],noStyle:!0}),a.createElement(Me.ZP.Group,{onChange:()=>{const Wn=xe.getFieldValue(lt);xe.setFieldsValue({[lt]:Wn.map((an,oa)=>be(he({},an),{answer_text:kt===oa?[""]:an.answer_text}))})}},a.createElement(Me.ZP,{value:1},"\u6587\u672C\u6A21\u5F0F ",a.createElement(Ue.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(Ue.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(we.Z,{style:{marginLeft:20},align:"middle",wrap:!1},a.createElement(Ae.Z,{flex:1},a.createElement(we.Z,{align:"top",justify:"space-between",wrap:!1},a.createElement(Ae.Z,{flex:1},a.createElement(tt.default.Item,be(he({},yt),{name:[kt,"answer_text"],noStyle:!0}),((Hn=(Pt=xe.getFieldValue(lt))==null?void 0:Pt[kt])==null?void 0:Hn.model)===1?a.createElement(Ne,null):a.createElement(dt,null))),gt&&a.createElement(Ae.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement(tt.default.Item,be(he({},yt),{name:[kt,"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,be(he({},yt),{name:[kt,"position"],noStyle:!0}),a.createElement(_e.default,{type:"hidden"})))))})))),a.createElement(we.Z,{align:"middle"},a.createElement(tt.default.Item,{name:"downcase",valuePropName:"checked"},a.createElement(De.Z,null)),a.createElement(Ae.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),a.createElement(we.Z,{align:"middle"},a.createElement(tt.default.Item,{name:"no_space",valuePropName:"checked"},a.createElement(De.Z,null)),a.createElement(Ae.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(hn==null?void 0:hn.length)>1&&a.createElement(we.Z,{align:"middle",className:(hn==null?void 0:hn.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:()=>mt(!0)},a.createElement(tt.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},a.createElement(ke.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:At}))))}},98815:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return te}});var b=re(59301),pe=re(95237),we=re(43604),Ae=re(78241),_e=re(69092),Ue=re(54657),De=re(59301),tt=Object.defineProperty,Me=Object.defineProperties,Le=Object.getOwnPropertyDescriptors,ke=Object.getOwnPropertySymbols,Ge=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={}))Ge.call(se,ie)&&le(ae,ie,se[ie]);if(ke)for(var ie of ke(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 he in ae)Ge.call(ae,he)&&se.indexOf(he)<0&&(ie[he]=ae[he]);if(ae!=null&&ke)for(var he of ke(ae))se.indexOf(he)<0&&Ke.call(ae,he)&&(ie[he]=ae[he]);return ie};const y={\u6B63\u786E:"T",\u9519\u8BEF:"F"},z=({value:ae,onChange:se,form:ie})=>{const he=(ae==null?void 0:ae.is_answer)===1,be=ae==null?void 0:ae.choice_text,He=()=>{const Ne=ie.getFieldsValue().choices.map(dt=>({choice_text:dt.choice_text,is_answer:0}));ie.setFieldsValue({choices:Ne}),se(a(E({},ae),{is_answer:1}))};return De.createElement(pe.Z,{className:_e.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},De.createElement(we.Z,{onClick:He,className:`${_e.Z.choiceIndex} ${_e.Z.judgementIndex} ${he?_e.Z.activeAnswer:""}`},y[be]),De.createElement(we.Z,{flex:1,className:`${_e.Z.editorWrap} ml15`},De.createElement("div",{className:`${_e.Z.inputBorder} ${_e.Z.placeholder} ${he?_e.Z.activeJudgementAnswer:""}`},be)),De.createElement(we.Z,{flex:"0 0 auto",className:"ml15"},De.createElement("div",{onClick:He,className:`${_e.Z.setAnswerBtn} ${he?_e.Z.activeAnswer:""}`},he?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},te=({questionTitlePlaceholder:ae,choiceKey:se,form:ie})=>{const[he,be]=(0,b.useState)(!1);return De.createElement("div",{className:_e.Z.wrap},De.createElement("div",{className:_e.Z.questionTitleEditorWrap},De.createElement(Ae.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},De.createElement(Ue.h,{scrollId:"name",watch:!0,height:140,placeholder:ae}))),De.createElement(Ae.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},De.createElement(Ae.default.List,{name:"choices",rules:[{validator(He,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"))}}]},He=>De.createElement("div",{id:"choices"},He.map(Ne=>{var dt=Ne,{key:Re,name:Ye}=dt,We=x(dt,["key","name"]);return De.createElement(Ae.default.Item,a(E({},We),{key:Re,name:Ye,noStyle:!0}),De.createElement(z,{form:ie}))})))),De.createElement("div",{onClick:()=>be(!0)},De.createElement(Ae.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},De.createElement(Ue.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:he}))))}},54657:function(Et,Mt,re){"use strict";re.d(Mt,{h:function(){return E},x:function(){return a}});var b=re(89389),pe=re(69092),we=re(7664),Ae=re(59301),_e=Object.defineProperty,Ue=Object.defineProperties,De=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,ke=(x,y,z)=>y in x?_e(x,y,{enumerable:!0,configurable:!0,writable:!0,value:z}):x[y]=z,Ge=(x,y)=>{for(var z in y||(y={}))Me.call(y,z)&&ke(x,z,y[z]);if(tt)for(var z of tt(y))Le.call(y,z)&&ke(x,z,y[z]);return x},Ke=(x,y)=>Ue(x,De(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(Ge({},se),{defaultValue:z,onChange:(ie,he)=>{he!=null&&he.length?te(ie,he):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(we.Z,{className:pe.Z.inputBorder,value:x}):Ae.createElement("div",{className:`${pe.Z.inputBorder} ${pe.Z.placeholder} inputBorderError`},z))},84635:function(Et,Mt,re){"use strict";re.d(Mt,{W:function(){return dt}});var b=re(59301),pe=re(8591),we=re(12563),Ae=re(78241),_e=re(78673),Ue=re(95237),De=re(43604),tt=re(6848),Me=re(92832),Le=re(5871),ke=re(69092),Ge=re(54657),Ke=re(89389),le=re(61485),E=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,ae=(Re,Ye,We)=>Ye in Re?E(Re,Ye,{enumerable:!0,configurable:!0,writable:!0,value:We}):Re[Ye]=We,se=(Re,Ye)=>{for(var We in Ye||(Ye={}))z.call(Ye,We)&&ae(Re,We,Ye[We]);if(y)for(var We of y(Ye))te.call(Ye,We)&&ae(Re,We,Ye[We]);return Re},ie=(Re,Ye)=>a(Re,x(Ye)),he=(Re,Ye)=>{var We={};for(var qe in Re)z.call(Re,qe)&&Ye.indexOf(qe)<0&&(We[qe]=Re[qe]);if(Re!=null&&y)for(var qe of y(Re))Ye.indexOf(qe)<0&&te.call(Re,qe)&&(We[qe]=Re[qe]);return We};const be=Re=>{var Ye=Re,{value:We,onChange:qe}=Ye,xe=he(Ye,["value","onChange"]);const gt=lt=>{qe([lt])};return b.createElement(Ke.Z,ie(se({},xe),{defaultValue:We==null?void 0:We[0],onChange:gt}))},He=Re=>{if(!Re)return!1;if(/^s*$/.test(Re)||Re.trim()===""){pe.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let Ye=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==="|"?(pe.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Ne=({value:Re=[],onClose:Ye})=>b.createElement(we.default,{closable:!0,onClose:Ye,className:ke.Z.keywordTag},b.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},Re.join(" \u6216 "))),dt=({questionTitlePlaceholder:Re,form:Ye,showKeywords:We,isMustKeyWords:qe=We})=>{const[xe,gt]=(0,b.useState)(!1),[lt,At]=(0,b.useState)(""),mt=Ae.default.useWatch("use_keywords",Ye),Pn=Ae.default.useWatch("question_score",Ye);return b.createElement("div",{className:ke.Z.wrap},b.createElement("div",{className:ke.Z.questionTitleEditorWrap},b.createElement(Ae.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},b.createElement(Ge.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(be,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),We&&!qe&&b.createElement(Ae.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},b.createElement(_e.Z,{defaultChecked:!0})),We&&qe&&b.createElement(Ue.Z,{align:"middle",className:"mb30"},b.createElement(Ae.default.Item,{name:"use_keywords",valuePropName:"checked"},b.createElement(_e.Z,null)),b.createElement(De.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),b.createElement(De.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"}})))),(mt||!qe)&&b.createElement(Ae.default.List,{name:"keywords",rules:[{validator(un,Zt){return qe?Zt!=null&&Zt.length?(Zt==null?void 0:Zt.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()}}]},(un,{add:Zt,remove:_t})=>b.createElement(b.Fragment,null,b.createElement("div",{className:`${ke.Z.title} mb10`},qe?"\u5173\u952E\u8BCD":b.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),b.createElement(Ue.Z,{align:"middle",className:"font14 mb30"},b.createElement(De.Z,{flex:1},b.createElement(Me.default,{value:lt,onChange:Te=>{At(Te.target.value)},maxLength:50,allowClear:!0,onPressEnter:Te=>{var ot,Rt,hn,Ft;const sn=`${(ot=Te.target)==null?void 0:ot.value}`,Ce=(hn=(Rt=sn==null?void 0:sn.split("|"))==null?void 0:Rt.filter(nt=>!!nt))==null?void 0:hn.map(nt=>nt==null?void 0:nt.trim()),it=Ye.getFieldValue("keywords"),Qt=((Ft=it==null?void 0:it.map(nt=>nt==null?void 0:nt.keyword))==null?void 0:Ft.flat())||[];for(const nt of Ce)if(Qt.includes(nt)){pe.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}He(sn)&&(Zt({keyword:Ce,score:1}),At(""))},className:ke.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(De.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),un.map(Te=>{var ot=Te,{key:Rt,name:hn}=ot,Ft=he(ot,["key","name"]);return b.createElement(Ue.Z,{key:Rt,className:"mb20",style:{marginRight:148}},b.createElement(De.Z,{flex:1},b.createElement(Ue.Z,{align:"middle",justify:"space-between"},b.createElement(Ae.default.Item,ie(se({},Ft),{name:[hn,"keyword"]}),b.createElement(Ne,{onClose:()=>_t(hn)})),qe&&b.createElement(Ae.default.Item,ie(se({},Ft),{name:[hn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:ke.Z.blankInputNumberWrapper}),b.createElement(Le.Z,{className:ke.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),b.createElement("div",{onClick:()=>gt(!0)},b.createElement(Ae.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(Ge.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:xe}))))}},48477:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return _e}});var b={text:"text___bQulM",sup:"sup___rX_Y3"},pe=re(78241),we=re(59301),_e=({text:Ue,name:De="question_score"})=>{const tt=({value:Me})=>we.createElement("div",{className:b.text},we.createElement("span",{className:b.sup},"*"),we.createElement("span",{className:"mr10"},"\u5206\u503C"),we.createElement("span",null,Me||"--"),we.createElement("span",{className:"c-grey-999"},Ue));return we.createElement(pe.default.Item,{noStyle:!0,name:De},we.createElement(tt,null))}},35724:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return He},P:function(){return ie}});var b=re(59301),pe=re(78241),we=re(43418),Ae=re(5112),_e=re(92832),Ue=re(1710),De={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=re(67135),Me=Object.defineProperty,Le=Object.defineProperties,ke=Object.getOwnPropertyDescriptors,Ge=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,E=(Ne,dt,Re)=>dt in Ne?Me(Ne,dt,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ne[dt]=Re,a=(Ne,dt)=>{for(var Re in dt||(dt={}))Ke.call(dt,Re)&&E(Ne,Re,dt[Re]);if(Ge)for(var Re of Ge(dt))le.call(dt,Re)&&E(Ne,Re,dt[Re]);return Ne},x=(Ne,dt)=>Le(Ne,ke(dt)),y=(Ne,dt)=>{var Re={};for(var Ye in Ne)Ke.call(Ne,Ye)&&dt.indexOf(Ye)<0&&(Re[Ye]=Ne[Ye]);if(Ne!=null&&Ge)for(var Ye of Ge(Ne))dt.indexOf(Ye)<0&&le.call(Ne,Ye)&&(Re[Ye]=Ne[Ye]);return Re},z=(Ne,dt,Re)=>new Promise((Ye,We)=>{var qe=lt=>{try{gt(Re.next(lt))}catch(At){We(At)}},xe=lt=>{try{gt(Re.throw(lt))}catch(At){We(At)}},gt=lt=>lt.done?Ye(lt.value):Promise.resolve(lt.value).then(qe,xe);gt((Re=Re.apply(Ne,dt)).next())});const te=({studentNames:Ne,total:dt})=>{const Re=["","\u4E00","\u4E24","\u4E09"];return dt>3?b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:De.orangeColor},Ne==null?void 0:Ne.join("\u3001")),"\u7B49",b.createElement("span",{className:De.orangeColor},dt),"\u540D\u5B66\u751F"):b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:De.orangeColor},Ne==null?void 0:Ne.join("\u3001")),Re[dt],"\u540D\u5B66\u751F")},ae=({used:Ne,copy:dt,canNotCopy:Re,studentNames:Ye,studentCount:We,inPaper:qe,is_random:xe=!1,position:gt=""})=>{const lt=()=>{if(dt>0&&Re>0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:De.orangeColor},dt),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C",b.createElement("span",{className:De.orangeColor},Re),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236");if(dt>0&&Re===0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:De.orangeColor},dt),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236");if(dt===0&&Re>0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:De.orangeColor},Re),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236")},At=gt||(qe?"\u8BD5\u5377":"\u8BFE\u7A0B");return b.createElement("span",null,b.createElement(te,{studentNames:Ye,total:We}),"\u5B66\u4E60\u8FC7",At,"\u4E2D\u7684",b.createElement("span",{className:De.orangeColor},Ne),"\u4E2A\u9879\u76EE\uFF0C",lt(),"\u3002\u8BF7\u9009\u62E9",xe?"":"\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:dt,visible:Re,inPaper:Ye,renderData:We,type:qe,isMultipleCourse:xe=!1})=>{const[gt]=pe.default.useForm(),[lt,At]=(0,b.useState)(1),[mt,Pn]=(0,b.useState)(!1),un=(0,b.useMemo)(()=>(We==null?void 0:We.total_num)===1&&(We==null?void 0:We.can_copy_num)===1,[We]),Zt=(0,b.useMemo)(()=>{var _t;return(_t=We==null?void 0:We.course_data_list)==null?void 0:_t.filter(Te=>Te.is_show)},[We]);return b.createElement(b.Fragment,null,un?b.createElement(we.default,{centered:!0,closable:!0,open:Re,destroyOnClose:!0,title:"\u63D0\u793A",className:De.antdModal,width:682,confirmLoading:mt,onCancel:Ne,onOk:()=>z(void 0,null,function*(){var _t;Pn(!0);let Te=lt;if(xe){const ot=a({},gt.getFieldsValue());Te=(_t=We==null?void 0:We.course_data_list)==null?void 0:_t.map(Rt=>ot[Rt.id]!==void 0?x(a({},Rt),{is_copy:ot[Rt.id]}):Rt)}yield dt(Te),Pn(!1)})},b.createElement("div",{className:De.content,style:{marginBottom:20}},xe?"\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:We==null?void 0:We.student_names,total:We==null?void 0:We.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")),xe?b.createElement(pe.default,{form:gt,preserve:!1},Zt==null?void 0:Zt.map(_t=>b.createElement(b.Fragment,{key:_t.id},b.createElement("h3",{className:"ml15 mb5"},_t.name),b.createElement(pe.default.Item,{name:_t.id,initialValue:1},b.createElement(Ae.ZP.Group,{className:De.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:lt,onChange:_t=>At(_t.target.value),className:De.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:De.content,style:{marginBottom:10}},"* \u8BF4\u660E\uFF1A"),b.createElement("div",{className:De.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:`${De.content} ${De.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(we.default,{centered:!0,closable:!0,destroyOnClose:!0,open:Re,confirmLoading:mt,title:"\u63D0\u793A",width:682,onCancel:Ne,onOk:()=>z(void 0,null,function*(){var _t;Pn(!0);let Te=0;if(xe){const ot=a({},gt.getFieldsValue());Te=(_t=We==null?void 0:We.course_data_list)==null?void 0:_t.map(Rt=>ot[Rt.id]!==void 0?x(a({},Rt),{is_use:ot[Rt.id]}):Rt)}yield dt(Te),Pn(!1)})},b.createElement("div",{className:De.content},b.createElement(te,{studentNames:We==null?void 0:We.student_names,total:We==null?void 0:We.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002",xe?b.createElement(pe.default,{form:gt,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"),Zt==null?void 0:Zt.map(_t=>b.createElement(b.Fragment,{key:_t.id},b.createElement("h3",{className:"ml15 mb5"},_t.name),b.createElement(pe.default.Item,{name:_t.id,initialValue:1},b.createElement(Ae.ZP.Group,{className:De.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:De.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,dt]=(0,b.useState)(!1),[Re,Ye]=(0,b.useState)();return[Ne,()=>dt(!1),Re,xe=>z(this,null,function*(){var gt;const lt=xe,{isImportMultipleCourse:At=!1}=lt,mt=y(lt,["isImportMultipleCourse"]);console.log(xe);const Pn=(xe==null?void 0:xe.result)||(yield(0,tt.Tr)(mt));return"status"in Pn?!1:At?((gt=Pn==null?void 0:Pn.course_data_list)==null?void 0:gt.some(Zt=>Zt.is_show))?(Ye(Pn),dt(!0),!0):Pn.course_data_list||[]:Pn.student_count===0?!1:(Ye(Pn),dt(!0),!0)})]},he=Ne=>{const[dt]=pe.default.useForm(),[Re,Ye]=(0,b.useState)(!1),{onCancel:We,onOk:qe,visible:xe,inPaper:gt=!1,renderData:lt,type:At,isMultipleCourse:mt=!1,position:Pn}=Ne;let un=(0,b.useMemo)(()=>gt?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:De.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(pe.default.Item,{name:[`${At==="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(pe.default.Item,{name:[`${At==="subject"?ot==null?void 0:ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(_e.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:De.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(pe.default.Item,{name:[`${At==="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(pe.default.Item,{name:[`${At==="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")))}],[gt]),Zt=(0,b.useMemo)(()=>gt?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:De.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(pe.default.Item,{name:[`${At==="subject"?ot==null?void 0:ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(_e.default,{type:"hidden"})),b.createElement(pe.default.Item,{name:[`${At==="subject"?ot==null?void 0:ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(_e.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:De.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(pe.default.Item,{name:[`${At==="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(pe.default.Item,{name:[`${At==="subject"?ot==null?void 0:ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(_e.default,{type:"hidden"})))}],[gt]);if(mt){const Te={title:"\u8BFE\u5802\u540D\u79F0",ellipsis:!0,dataIndex:"course_name",width:190,align:"center",className:De.tableCell,render:(ot,Rt)=>b.createElement("a",{href:`/classrooms/${Rt.course_id}`},ot)};un=[Te,...un],Zt=[Te,...Zt]}const _t=(0,b.useMemo)(()=>ae({used:lt==null?void 0:lt.repeat_shixun_num,copy:lt==null?void 0:lt.can_copy_num,canNotCopy:lt==null?void 0:lt.no_copy_num,studentNames:lt==null?void 0:lt.student_names,studentCount:lt==null?void 0:lt.student_count,is_random:lt==null?void 0:lt.is_random,inPaper:gt,position:Pn}),[lt,gt,Pn]);return b.createElement(we.default,{title:"\u63D0\u793A",centered:!0,open:xe,confirmLoading:Re,onOk:()=>z(void 0,null,function*(){Ye(!0);const Te=dt.getFieldsValue(),ot=Object.keys(Te).map(Rt=>({id:parseInt(Rt.split("_")[0]),course_id:parseInt(Rt.split("_")[1]),is_use:Te[Rt].is_use,is_copy:Te[Rt].is_copy}));yield qe(ot),Ye(!1)}),onCancel:We,width:880,okText:"\u786E\u8BA4",className:De.antdModal,destroyOnClose:!0},b.createElement(pe.default,{form:dt,preserve:!1},b.createElement("div",{className:De.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:De.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")),(lt==null?void 0:lt.can_copy_num)>0&&b.createElement("div",null,b.createElement("div",{className:De.contentTitle},"\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),b.createElement(Ue.default,{columns:un,className:De.antdTable,dataSource:lt==null?void 0:lt.can_copy_list,rowKey:At==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:240},bordered:!0})),(lt==null?void 0:lt.no_copy_num)>0&&b.createElement("div",null,b.createElement("div",{className:De.contentTitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),b.createElement(Ue.default,{columns:Zt,className:De.antdTable,dataSource:lt==null?void 0:lt.no_copy_list,rowKey:At==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:200},bordered:!0})),(lt==null?void 0:lt.no_use_list.length)>0&&(lt==null?void 0:lt.no_use_list.map(Te=>b.createElement("div",{key:At==="subject"?Te.stage_shixun_id:Te.shixun_course_id||Te.id},b.createElement(pe.default.Item,{name:[`${At==="subject"?Te==null?void 0:Te.stage_shixun_id:Te.shixun_course_id||Te.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(_e.default,{type:"hidden"})),b.createElement(pe.default.Item,{name:[`${At==="subject"?Te==null?void 0:Te.stage_shixun_id:Te.shixun_course_id||Te.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(_e.default,{type:"hidden"})))))))};var He=Ne=>{const{modalType:dt}=Ne;return dt==="multiple"?b.createElement(he,a({},Ne)):b.createElement(se,a({},Ne))}},6681:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return tt}});var b=re(59301),pe={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"},we=re(43418),Ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",_e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",Ue=(Me,Le,ke)=>new Promise((Ge,Ke)=>{var le=x=>{try{a(ke.next(x))}catch(y){Ke(y)}},E=x=>{try{a(ke.throw(x))}catch(y){Ke(y)}},a=x=>x.done?Ge(x.value):Promise.resolve(x.value).then(le,E);a((ke=ke.apply(Me,Le)).next())}),tt=({type:Me,resdata:Le,onok:ke,oktext:Ge,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:he,student_count:be,total_num:He,use_num:Ne}=Le;let dt=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:pe.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:pe.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:pe.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:pe.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:pe.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:pe.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:pe.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:pe.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:pe.orangeColor},be),"\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:pe.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:pe.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:pe.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:pe.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:pe.orangeColor},be)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",b.createElement("span",{className:pe.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:pe.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:pe.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",b.createElement("span",{className:pe.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",b.createElement("span",{className:pe.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:pe.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:pe.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:pe.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:pe.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",b.createElement("span",{className:pe.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:pe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Ye=()=>{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:pe.flex},b.createElement("img",{src:_e,style:{width:14}}),b.createElement("span",{className:pe.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:pe.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:pe.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",dt&&b.createElement("span",{className:pe.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",dt&&b.createElement("span",{className:pe.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((We,qe)=>b.createElement("a",{href:`/shixuns/${We.identifier}/challenges`,target:"_blank"},"\u300A",We==null?void 0:We.name,"\u300B",qe+1!==ae&&"\u3001"))))),x>0&&b.createElement("div",{style:{marginTop:20}},b.createElement("span",{className:pe.flex},b.createElement("img",{src:Ae,style:{width:14}}),b.createElement("span",{className:pe.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:pe.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((We,qe)=>b.createElement("a",{href:`/shixuns/${We.identifier}/challenges`,target:"_blank"},"\u300A",We==null?void 0:We.name,"\u300B",qe+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(we.default,{open:le,onCancel:()=>{E(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!dt&&"none"}},zIndex:1003,confirmLoading:Ke,okText:dt?Ge:"\u6211\u77E5\u9053\u4E86",onOk:()=>Ue(void 0,null,function*(){dt?yield ke([...a,...se]):E(!1)})},b.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Re(),Ye()))}},44905:function(Et,Mt,re){"use strict";re.d(Mt,{h:function(){return ae}});var b=re(59301),pe=re(57809),we=re(78241),Ae=re(3113),_e=re(89780),Ue=re.n(_e),De=re(66543),tt=re(59598),Me=Object.defineProperty,Le=Object.defineProperties,ke=Object.getOwnPropertyDescriptors,Ge=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,E=(se,ie,he)=>ie in se?Me(se,ie,{enumerable:!0,configurable:!0,writable:!0,value:he}):se[ie]=he,a=(se,ie)=>{for(var he in ie||(ie={}))Ke.call(ie,he)&&E(se,he,ie[he]);if(Ge)for(var he of Ge(ie))le.call(ie,he)&&E(se,he,ie[he]);return se},x=(se,ie)=>Le(se,ke(ie));const y=pe.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"]};Mt.Z=({callback:se,onCancel:ie})=>{const[he,be]=(0,b.useState)("python");function He(dt){be(te[dt][1])}function Ne(dt){se(dt)}return b.createElement(we.default,x(a({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ne,style:{width:500}}),b.createElement(we.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},b.createElement(pe.default,{getPopupContainer:dt=>dt.parentNode,onChange:He},Object.keys(te).map(dt=>b.createElement(y,{key:dt,value:dt},te[dt][0])))),b.createElement(we.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},b.createElement(ae,{mode:he})),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:he,options:be={}}){const He=(0,b.useRef)(),[Ne,dt]=(0,b.useState)();return(0,b.useEffect)(()=>{if(Ne){let Re=function(Ye){const We=Ye.getValue();ie&&ie(We)};return Ne.on("change",Re),()=>{Ne.off("change",Re)}}},[Ne,ie]),(0,b.useEffect)(()=>{Ne&&Ne.setOption("mode",he)},[Ne,he]),(0,b.useEffect)(()=>{Ne&&(se!==Ne.getValue()||se==="")&&setTimeout(()=>{Ne.setValue(se||"")},300)},[Ne,se]),(0,b.useEffect)(()=>{if(He.current&&!Ne){const Re=Ue().fromTextArea(He.current,a({mode:he,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},be));dt(Re)}},[He.current,Ne]),b.createElement("div",{className:"my-codemirror-container"},b.createElement("textarea",{ref:He}))}},89389:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return qt}});var b=re(59301),pe=re(89780),we=re.n(pe),Ae=re(76374),_e=re(66543),Ue=re(6313),De=re(25717),tt=re(99498),Me=re(25419),Le=re(67549),ke=re(7664),Ge=({value:ze="",className:Xe,showTextOnly:Qe,showLines:Tt,style:gn={}})=>{const En=(0,b.useMemo)(()=>"",[ze]);return b.createElement(b.Fragment,null,b.createElement("div",{dangerouslySetInnerHTML:{__html:En}}))},Ke=re(59301),le=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(ze,Xe,Qe)=>Xe in ze?le(ze,Xe,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):ze[Xe]=Qe,ae=(ze,Xe)=>{for(var Qe in Xe||(Xe={}))y.call(Xe,Qe)&&te(ze,Qe,Xe[Qe]);if(x)for(var Qe of x(Xe))z.call(Xe,Qe)&&te(ze,Qe,Xe[Qe]);return ze},se=(ze,Xe)=>E(ze,a(Xe));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 he({onActionCallback:ze,title:Xe,icon:Qe,actionName:Tt,className:gn="",children:En}){function ua(){ze(Tt)}return Ke.createElement("a",{title:Xe,className:gn,onClick:ua},Ke.createElement("i",{className:`${Qe}`}),En)}var be=({watch:ze,showNullButton:Xe,showNullProgramButton:Qe,onActionCallback:Tt,fullScreen:gn,insertTemp:En,hidetoolBar:ua,extraUse:Jn})=>{const Mn=[...ie,{title:`${ze?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${ze?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ke.createElement("ul",{className:"markdown-toolbar-container"},!ua&&Mn.map((ea,Un)=>Ke.createElement("li",{key:Un},ea.actionName?Ke.createElement(he,se(ae({},ea),{onActionCallback:Tt})):Ke.createElement("span",{className:"v-line"}))),Xe?Ke.createElement("li",null,Ke.createElement(he,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Tt},Ke.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Qe?Ke.createElement(Ke.Fragment,null,Ke.createElement("li",null,Ke.createElement(he,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Tt},Ke.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ke.createElement("li",null,Ke.createElement(he,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Tt},Ke.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,En&&Ke.createElement("li",null,Ke.createElement(he,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${En}`,onActionCallback:Tt},Ke.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Jn&&Ke.createElement("li",null,Jn),Ke.createElement("li",{className:"btn-full-screen"},Ke.createElement(he,{icon:`${gn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:gn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Tt})))},He=re(75790),Ne=re(78241),dt=re(92832),Re=re(3113),Ye=Object.defineProperty,We=Object.defineProperties,qe=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,At=(ze,Xe,Qe)=>Xe in ze?Ye(ze,Xe,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):ze[Xe]=Qe,mt=(ze,Xe)=>{for(var Qe in Xe||(Xe={}))gt.call(Xe,Qe)&&At(ze,Qe,Xe[Qe]);if(xe)for(var Qe of xe(Xe))lt.call(Xe,Qe)&&At(ze,Qe,Xe[Qe]);return ze},Pn=(ze,Xe)=>We(ze,qe(Xe));const un={labelCol:{span:4},wrapperCol:{span:20}};var Zt=({callback:ze,onCancel:Xe})=>{function Qe(Tt){ze(Tt)}return b.createElement(Ne.default,Pn(mt({},un),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Qe,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(dt.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(dt.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:Xe},"\u53D6\u6D88")))},_t=re(44905),Te=re(45596),ot=re(43418),Rt=re(95237),hn=re(6077),Ft=re(59301),sn=({callback:ze,onCancel:Xe})=>{const Qe=document.createElement("canvas"),Tt=Qe.getContext("2d");Qe.width=1e3,Qe.height=800,Tt.fillStyle="#ffffff",Tt.fillRect(0,0,Qe.width,Qe.height);const gn=Qe.toDataURL("image/png");return Ft.createElement(ot.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Ft.createElement(Rt.Z,{style:{height:"100vh"}},Ft.createElement(hn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:gn,visible:!0,title:String(Date.now())},onOk:En=>{ze({src:En.url})},onClose:Xe})))},Ce=re(12378);function it(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(it,go.CommandHandler),it.prototype.canAlignSelection=function(){var ze=this.diagram;return!(ze===null||ze.isReadOnly||ze.isModelReadOnly||ze.selection.count<2)},it.prototype.alignLeft=function(){var ze=this.diagram;ze.startTransaction("aligning left");var Xe=1/0;ze.selection.each(function(Qe){Qe instanceof go.Link||(Xe=Math.min(Qe.position.x,Xe))}),ze.selection.each(function(Qe){Qe instanceof go.Link||Qe.move(new go.Point(Xe,Qe.position.y))}),ze.commitTransaction("aligning left")},it.prototype.alignRight=function(){var ze=this.diagram;ze.startTransaction("aligning right");var Xe=-1/0;ze.selection.each(function(Qe){if(!(Qe instanceof go.Link)){var Tt=Qe.actualBounds.x+Qe.actualBounds.width;Xe=Math.max(Tt,Xe)}}),ze.selection.each(function(Qe){Qe instanceof go.Link||Qe.move(new go.Point(Xe-Qe.actualBounds.width,Qe.position.y))}),ze.commitTransaction("aligning right")},it.prototype.alignTop=function(){var ze=this.diagram;ze.startTransaction("alignTop");var Xe=1/0;ze.selection.each(function(Qe){Qe instanceof go.Link||(Xe=Math.min(Qe.position.y,Xe))}),ze.selection.each(function(Qe){Qe instanceof go.Link||Qe.move(new go.Point(Qe.position.x,Xe))}),ze.commitTransaction("alignTop")},it.prototype.alignBottom=function(){var ze=this.diagram;ze.startTransaction("aligning bottom");var Xe=-1/0;ze.selection.each(function(Qe){if(!(Qe instanceof go.Link)){var Tt=Qe.actualBounds.y+Qe.actualBounds.height;Xe=Math.max(Tt,Xe)}}),ze.selection.each(function(Qe){Qe instanceof go.Link||Qe.move(new go.Point(Qe.actualBounds.x,Xe-Qe.actualBounds.height))}),ze.commitTransaction("aligning bottom")},it.prototype.alignCenterX=function(){var ze=this.diagram,Xe=ze.selection.first();if(Xe){ze.startTransaction("aligning Center X");var Qe=Xe.actualBounds.x+Xe.actualBounds.width/2;ze.selection.each(function(Tt){Tt instanceof go.Link||Tt.move(new go.Point(Qe-Tt.actualBounds.width/2,Tt.actualBounds.y))}),ze.commitTransaction("aligning Center X")}},it.prototype.alignCenterY=function(){var ze=this.diagram,Xe=ze.selection.first();if(Xe){ze.startTransaction("aligning Center Y");var Qe=Xe.actualBounds.y+Xe.actualBounds.height/2;ze.selection.each(function(Tt){Tt instanceof go.Link||Tt.move(new go.Point(Tt.actualBounds.x,Qe-Tt.actualBounds.height/2))}),ze.commitTransaction("aligning Center Y")}},it.prototype.alignColumn=function(ze){var Xe=this.diagram;Xe.startTransaction("align Column"),ze===void 0&&(ze=0),ze=parseFloat(ze);var Qe=new Array;Xe.selection.each(function(Jn){Jn instanceof go.Link||Qe.push(Jn)});for(var Tt=0;Tt<Qe.length-1;Tt++){var gn=Qe[Tt],En=gn.actualBounds.y+gn.actualBounds.height+ze,ua=Qe[Tt+1];ua.move(new go.Point(gn.actualBounds.x,En))}Xe.commitTransaction("align Column")},it.prototype.alignRow=function(ze){ze===void 0&&(ze=0),ze=parseFloat(ze);var Xe=this.diagram;Xe.startTransaction("align Row");var Qe=new Array;Xe.selection.each(function(Jn){Jn instanceof go.Link||Qe.push(Jn)});for(var Tt=0;Tt<Qe.length-1;Tt++){var gn=Qe[Tt],En=gn.actualBounds.x+gn.actualBounds.width+ze,ua=Qe[Tt+1];ua.move(new go.Point(En,gn.actualBounds.y))}Xe.commitTransaction("align Row")},it.prototype.canRotate=function(ze){var Xe=this.diagram;return!(Xe===null||Xe.isReadOnly||Xe.isModelReadOnly||Xe.selection.count<1)},it.prototype.rotate=function(ze){ze===void 0&&(ze=90);var Xe=this.diagram;Xe.startTransaction("rotate "+ze.toString());var Xe=this.diagram;Xe.selection.each(function(Qe){Qe instanceof go.Link||Qe instanceof go.Group||(Qe.angle+=ze)}),Xe.commitTransaction("rotate "+ze.toString())},it.prototype.pullToFront=function(){var ze=this.diagram;ze.startTransaction("pullToFront");var Xe=new go.Map;ze.selection.each(function(Qe){Xe.set(Qe.layer,0)}),Xe.iteratorKeys.each(function(Qe){var Tt=0;Qe.parts.each(function(gn){if(!gn.isSelected){var En=gn.zOrder;isNaN(En)?gn.zOrder=0:Tt=Math.max(Tt,En)}}),Xe.set(Qe,Tt)}),ze.selection.each(function(Qe){it._assignZOrder(Qe,Xe.get(Qe.layer)+1)}),ze.commitTransaction("pullToFront")},it.prototype.pushToBack=function(){var ze=this.diagram;ze.startTransaction("pushToBack");var Xe=new go.Map;ze.selection.each(function(Qe){Xe.set(Qe.layer,0)}),Xe.iteratorKeys.each(function(Qe){var Tt=0;Qe.parts.each(function(gn){if(!gn.isSelected){var En=gn.zOrder;isNaN(En)?gn.zOrder=0:Tt=Math.min(Tt,En)}}),Xe.set(Qe,Tt)}),ze.selection.each(function(Qe){it._assignZOrder(Qe,Xe.get(Qe.layer)-1-it._findGroupDepth(Qe))}),ze.commitTransaction("pushToBack")},it._assignZOrder=function(ze,Xe,Qe){Qe===void 0&&(Qe=ze),ze.layer===Qe.layer&&(ze.zOrder=Xe),ze instanceof go.Group&&ze.memberParts.each(function(Tt){it._assignZOrder(Tt,Xe+1,Qe)})},it._findGroupDepth=function(ze){if(ze instanceof go.Group){var Xe=0;return ze.memberParts.each(function(Qe){Xe=Math.max(Xe,it._findGroupDepth(Qe))}),Xe+1}else return 0},it.prototype.doKeyDown=function(){var ze=this.diagram;if(ze!==null){var Xe=ze.lastInput;if(Xe.key==="Up"||Xe.key==="Down"||Xe.key==="Left"||Xe.key==="Right"){var Qe=this.arrowKeyBehavior;if(Qe==="none")return;if(Qe==="select"){this._arrowKeySelect();return}else if(Qe==="move"){this._arrowKeyMove();return}else if(Qe==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},it.prototype._getAllParts=function(){var ze=new Array;return this.diagram.nodes.each(function(Xe){ze.push(Xe)}),this.diagram.parts.each(function(Xe){ze.push(Xe)}),ze},it.prototype._arrowKeyMove=function(){var ze=this.diagram,Xe=ze.lastInput,Qe=0,Tt=0;if(Xe.control||Xe.meta)Qe=1,Tt=1;else if(ze.grid!==null){var gn=ze.grid.gridCellSize;Tt=gn.width,Qe=gn.height}ze.startTransaction("arrowKeyMove"),ze.selection.each(function(En){Xe.key==="Up"?En.move(new go.Point(En.actualBounds.x,En.actualBounds.y-Qe)):Xe.key==="Down"?En.move(new go.Point(En.actualBounds.x,En.actualBounds.y+Qe)):Xe.key==="Left"?En.move(new go.Point(En.actualBounds.x-Tt,En.actualBounds.y)):Xe.key==="Right"&&En.move(new go.Point(En.actualBounds.x+Tt,En.actualBounds.y))}),ze.commitTransaction("arrowKeyMove")},it.prototype._arrowKeySelect=function(){var ze=this.diagram,Xe=ze.lastInput,Qe=null;Xe.key==="Up"?Qe=this._findNearestPartTowards(270):Xe.key==="Down"?Qe=this._findNearestPartTowards(90):Xe.key==="Left"?Qe=this._findNearestPartTowards(180):Xe.key==="Right"&&(Qe=this._findNearestPartTowards(0)),Qe!==null&&(Xe.shift?Qe.isSelected=!0:Xe.control||Xe.meta?Qe.isSelected=!Qe.isSelected:ze.select(Qe))},it.prototype._findNearestPartTowards=function(ze){var Xe=this.diagram.selection.first();if(Xe===null)return null;for(var Qe=Xe.actualBounds.center,Tt=this._getAllParts(),gn=1/0,En=Xe,ua=0;ua<Tt.length;ua++){var Jn=Tt[ua];if(Jn!==Xe&&Jn.canSelect()){var Mn=Jn.actualBounds.center,ea=Qe.directionPoint(Mn),Un=this._angleCloseness(ea,ze);if(Un<=45){var Wt=Qe.distanceSquaredPoint(Mn);Wt*=1+Math.sin(Un*Math.PI/180),Wt<gn&&(gn=Wt,En=Jn)}}}return En},it.prototype._angleCloseness=function(ze,Xe){return Math.min(Math.abs(Xe-ze),Math.min(Math.abs(Xe+360-ze),Math.abs(Xe-360-ze)))},it.prototype._arrowKeyTree=function(){var ze=this.diagram,Xe=ze.selection.first();if(Xe instanceof go.Node){var Qe=ze.lastInput;if(Qe.key==="Right"){if(!Xe.isTreeLeaf)if(!Xe.isTreeExpanded)ze.commandHandler.canExpandTree(Xe)&&ze.commandHandler.expandTree(Xe);else{var Tt=this._sortTreeChildrenByY(Xe).first();Tt!==null&&ze.select(Tt)}}else if(Qe.key==="Left")if(!Xe.isTreeLeaf&&Xe.isTreeExpanded)ze.commandHandler.canCollapseTree(Xe)&&ze.commandHandler.collapseTree(Xe);else{var gn=Xe.findTreeParentNode();gn!==null&&ze.select(gn)}else if(Qe.key==="Up"){var gn=Xe.findTreeParentNode();if(gn!==null){var En=this._sortTreeChildrenByY(gn),ua=En.indexOf(Xe);if(ua>0){for(var Jn=En.elt(ua-1);Jn!==null&&Jn.isTreeExpanded&&!Jn.isTreeLeaf;){var Mn=this._sortTreeChildrenByY(Jn);Jn=Mn.last()}Jn!==null&&ze.select(Jn)}else ze.select(gn)}}else if(Qe.key==="Down")if(Xe.isTreeExpanded&&!Xe.isTreeLeaf){var Tt=this._sortTreeChildrenByY(Xe).first();Tt!==null&&ze.select(Tt)}else for(;Xe!==null;){var gn=Xe.findTreeParentNode();if(gn===null)break;var En=this._sortTreeChildrenByY(gn),ua=En.indexOf(Xe);if(ua<En.length-1){ze.select(En.elt(ua+1));break}else Xe=gn}var ea=ze.selection.first();ea!==null&&ze.scrollToRect(ea.actualBounds)}},it.prototype._sortTreeChildrenByY=function(ze){var Xe=new go.List().addAll(ze.findTreeChildrenNodes());return Xe.sort(function(Qe,Tt){var gn=Qe.location,En=Tt.location;return gn.y<En.y?-1:gn.y>En.y?1:gn.x<En.x?-1:gn.x>En.x?1:0}),Xe},it.prototype.copyToClipboard=function(ze){go.CommandHandler.prototype.copyToClipboard.call(this,ze),this._lastPasteOffset.set(this.pasteOffset)},it.prototype.pasteFromClipboard=function(){var ze=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(ze,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),ze},Object.defineProperty(it.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(ze){if(ze!=="move"&&ze!=="select"&&ze!=="scroll"&&ze!=="tree"&&ze!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+ze);this._arrowKeyBehavior=ze}}),Object.defineProperty(it.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(ze){if(!(ze instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+ze);this._pasteOffset.set(ze)}});var Qt=it,nt=re(20397),ht=re(43604),Tn=re(82093),kt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},yt=re(59301),Pt=(ze,Xe,Qe)=>new Promise((Tt,gn)=>{var En=Mn=>{try{Jn(Qe.next(Mn))}catch(ea){gn(ea)}},ua=Mn=>{try{Jn(Qe.throw(Mn))}catch(ea){gn(ea)}},Jn=Mn=>Mn.done?Tt(Mn.value):Promise.resolve(Mn.value).then(En,ua);Jn((Qe=Qe.apply(ze,Xe)).next())});function Hn({onCancel:ze,callback:Xe}){let Qe=(0,b.useRef)(),Tt=(0,b.useRef)(),gn=(0,b.useRef)(),En=(0,b.useRef)(!1);const ua=(0,b.useRef)(!1),[Jn,Mn]=(0,b.useState)(0);function ea(){const Wt=Ce.bx.make,Na={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"};Qe.current=new Ce.S0(Tt.current,{padding:20,grid:Wt(Ce.s_,"Grid",Wt(Ce.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Wt(Ce.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:wn=>{var la=wn.diagram.commandHandler.addTopLevelParts(wn.diagram.selection,!0);la||wn.diagram.currentTool.doCancel()},commandHandler:Wt(Qt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:wn=>{var la=wn.subject;la.location=la.location.copy().snapToGridPoint(wn.diagram.grid.gridOrigin,wn.diagram.grid.gridCellSize),setTimeout(()=>{wn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:wn=>{var la=wn.subject;setTimeout(()=>{wn.diagram.commandHandler.editTextBlock()})},LinkRelinked:wn=>{var la=wn.parameter.part;la.invalidateConnectedLinks();var Qn=wn.subject;wn.diagram.toolManager.linkingTool.isForwards?Qn.toNode.invalidateConnectedLinks():Qn.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Qe.current.nodeTemplate=Wt(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),Wt(Ce.bn,{name:"SHAPE",fill:Na.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")),Wt(Ce.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Wt(Ce.al,{margin:1,textAlign:"center",overflow:Ce.al.OverflowEllipsis,editable:!0},new Ce.KX("text").makeTwoWay(),new Ce.KX("stroke","color"))),Qe.current.nodeTemplate.toolTip=Wt("ToolTip",Wt(Ce.s_,"Vertical",{maxSize:new Ce.$u(200,NaN)},Wt(Ce.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ce.KX("text")),Wt(Ce.al,{font:"10pt sans-serif",textAlign:"center"},new Ce.KX("text","details"))));function nr(wn,la){var Qn=(zn,er)=>{zn.handled=!0,zn.diagram.model.commit(yr=>{var hr=er.part.adornedPart,fr=new Ce.E9().setRectSpot(hr.actualBounds,wn);fr.subtract(hr.location),fr.scale(2,2),fr.x+=Math.sign(fr.x)*130,fr.y+=Math.sign(fr.y)*130,fr.add(hr.location),fr.snapToGridPoint(zn.diagram.grid.gridOrigin,zn.diagram.grid.gridCellSize);var Ga=yr.copyNodeData(hr.data);yr.setGroupKeyForNodeData(Ga,yr.getGroupKeyForNodeData(hr.data)),yr.addNodeData(Ga);var po={from:hr.key,to:yr.getKeyForNodeData(Ga)};yr.addLinkData(po);var Po=zn.diagram.findNodeForData(Ga);Po.location=fr,zn.diagram.select(Po),setTimeout(()=>{zn.diagram.commandHandler.editTextBlock()},20)})};return Wt(Ce.bn,{figure:la,alignment:wn,alignmentFocus:wn.opposite(),width:wn.equals(Ce.z6.Top)||wn.equals(Ce.z6.Bottom)?25:18,height:wn.equals(Ce.z6.Top)||wn.equals(Ce.z6.Bottom)?18:25,fill:"orange",stroke:Na.white,strokeWidth:4,mouseEnter:(zn,er)=>er.fill="dodgerblue",mouseLeave:(zn,er)=>er.fill="orange",isActionable:!0,click:Qn,contextClick:Qn})}function lo(wn){return Wt(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:(la,Qn)=>Qn.fill="dodgerblue",mouseLeave:(la,Qn)=>Qn.fill="orange",click:(la,Qn)=>{la.diagram.commandHandler.showContextMenu(Qn.part.adornedPart)}},wn||{})}Qe.current.nodeTemplate.selectionAdornmentTemplate=Wt(Ce.uz,"Spot",Wt(Ce.Vm,{padding:10}),nr(Ce.z6.Top,"TriangleUp"),nr(Ce.z6.Left,"TriangleLeft"),nr(Ce.z6.Right,"TriangleRight"),nr(Ce.z6.Bottom,"TriangleDown"),lo({alignment:new Ce.z6(.75,0)}));function Wa(wn,la){return(Qn,zn)=>{Qn.handled=!0,Qn.diagram.model.commit(er=>{er.set(zn.part.adornedPart.data,wn,la)})}}function Vt(wn,la){return la||(la="color"),Wt(Ce.bn,{width:16,height:16,stroke:"lightgray",fill:wn,margin:1,background:"transparent",mouseEnter:(Qn,zn)=>zn.stroke="dodgerblue",mouseLeave:(Qn,zn)=>zn.stroke="lightgray",click:Wa(la,wn),contextClick:Wa(la,wn)})}function zr(){return[Wt("ContextMenuButton",Wt(Ce.s_,"Horizontal",Vt(Na.white,"fill"),Vt(Na.beige,"fill"),Vt(Na.extralightblue,"fill"),Vt(Na.extralightred,"fill"))),Wt("ContextMenuButton",Wt(Ce.s_,"Horizontal",Vt(Na.lightgray,"fill"),Vt(Na.lightgreen,"fill"),Vt(Na.lightblue,"fill"),Vt(Na.lightred,"fill")))]}function Aa(){return[Wt("ContextMenuButton",Wt(Ce.s_,"Horizontal",Vt(Na.black),Vt(Na.green),Vt(Na.blue),Vt(Na.red))),Wt("ContextMenuButton",Wt(Ce.s_,"Horizontal",Vt(Na.white),Vt(Na.magenta),Vt(Na.purple),Vt(Na.orange)))]}function dr(wn,la){return la||(la="thickness"),Wt(Ce.bn,"LineH",{width:16,height:16,strokeWidth:wn,margin:1,background:"transparent",mouseEnter:(Qn,zn)=>zn.background="dodgerblue",mouseLeave:(Qn,zn)=>zn.background="transparent",click:Wa(la,wn),contextClick:Wa(la,wn)})}function rr(wn,la){return la||(la="dash"),Wt(Ce.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:wn,margin:1,background:"transparent",mouseEnter:(Qn,zn)=>zn.background="dodgerblue",mouseLeave:(Qn,zn)=>zn.background="transparent",click:Wa(la,wn),contextClick:Wa(la,wn)})}function Kr(){return[Wt("ContextMenuButton",Wt(Ce.s_,"Horizontal",dr(1),dr(2),dr(3),dr(4))),Wt("ContextMenuButton",Wt(Ce.s_,"Horizontal",rr(null),rr([2,4]),rr([4,4])))]}function xr(wn,la){return la||(la="figure"),Wt(Ce.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:wn,margin:1,background:"transparent",mouseEnter:(Qn,zn)=>zn.fill="dodgerblue",mouseLeave:(Qn,zn)=>zn.fill="lightgray",click:Wa(la,wn),contextClick:Wa(la,wn)})}Qe.current.nodeTemplate.contextMenu=Wt("ContextMenu",Wt("ContextMenuButton",Wt(Ce.s_,"Horizontal",xr("Rectangle"),xr("RoundedRectangle"),xr("Ellipse"),xr("Diamond"))),Wt("ContextMenuButton",Wt(Ce.s_,"Horizontal",xr("Parallelogram2"),xr("ManualOperation"),xr("Procedure"),xr("Cylinder1"))),Wt("ContextMenuButton",Wt(Ce.s_,"Horizontal",xr("Terminator"),xr("CreateRequest"),xr("Document"),xr("TriangleDown"))),zr(),Aa(),Kr()),Qe.current.groupTemplate=Wt(Ce.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ce.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(wn,la)=>{var Qn=la.addMembers(la.diagram.selection,!0);Qn||la.diagram.currentTool.doCancel()},avoidable:!1},new Ce.KX("location","loc",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),Wt(Ce.s_,"Auto",{name:"BODY"},Wt(Ce.bn,{parameter1:10,fill:Na.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")),Wt(Ce.Vm,{background:"transparent",margin:20})),Wt(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"))),Qe.current.groupTemplate.selectionAdornmentTemplate=Wt(Ce.uz,"Spot",Wt(Ce.s_,"Auto",Wt(Ce.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Wt(Ce.Vm,{margin:1.5})),lo({alignment:Ce.z6.TopRight,alignmentFocus:Ce.z6.BottomRight})),Qe.current.groupTemplate.contextMenu=Wt("ContextMenu",zr(),Aa(),Kr()),Qe.current.linkTemplate=Wt(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",wn=>wn>=1?10:0),new Ce.KX("toShortLength","dir",wn=>wn>=1?10:0),new Ce.KX("points").makeTwoWay(),Wt(Ce.bn,{strokeWidth:2},new Ce.KX("stroke","color"),new Ce.KX("strokeWidth","thickness"),new Ce.KX("strokeDashArray","dash")),Wt(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",wn=>wn===1)),Wt(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",wn=>wn>=1),new Ce.KX("width","thickness",wn=>7+3*wn),new Ce.KX("height","thickness",wn=>7+3*wn),new Ce.KX("segmentOffset","thickness",wn=>new Ce.E9(-15,4+1.5*wn))),Wt(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",wn=>wn===2),new Ce.KX("width","thickness",wn=>7+3*wn),new Ce.KX("height","thickness",wn=>7+3*wn),new Ce.KX("segmentOffset","thickness",wn=>new Ce.E9(-15,4+1.5*wn))),Wt(Ce.al,{alignmentFocus:new Ce.z6(0,1,-4,0),editable:!0},new Ce.KX("text").makeTwoWay(),new Ce.KX("stroke","color"))),Qe.current.linkTemplate.selectionAdornmentTemplate=Wt(Ce.uz,Wt(Ce.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:ar(2)},new Ce.KX("pathPattern","thickness",ar)),lo({alignmentFocus:new Ce.z6(0,0,-6,-4)}));function ar(wn){return Wt(Ce.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(wn+4).toString()+" H3"})}function cr(wn){var la="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return wn===0?la="M0 0 M16 16 M0 8 L16 8":wn===2&&(la="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Wt(Ce.bn,{geometryString:la,margin:2,background:"transparent",mouseEnter:(Qn,zn)=>zn.background="dodgerblue",mouseLeave:(Qn,zn)=>zn.background="transparent",click:Wa("dir",wn),contextClick:Wa("dir",wn)})}function ma(wn){var la=(Qn,zn)=>{Qn.handled=!0,Qn.diagram.model.commit(er=>{var yr=zn.part.adornedPart;er.set(yr.data,wn?"toSpot":"fromSpot",Ce.z6.stringify(Ce.z6.AllSides)),(wn?yr.toNode:yr.fromNode).invalidateConnectedLinks()})};return Wt(Ce.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Qn,zn)=>zn.background="dodgerblue",mouseLeave:(Qn,zn)=>zn.background="transparent",click:la,contextClick:la})}function nn(wn,la){var Qn=0,zn=Ce.z6.RightSide;wn.equals(Ce.z6.Top)?(Qn=270,zn=Ce.z6.TopSide):wn.equals(Ce.z6.Left)?(Qn=180,zn=Ce.z6.LeftSide):wn.equals(Ce.z6.Bottom)&&(Qn=90,zn=Ce.z6.BottomSide),la||(Qn-=180);var er=(yr,hr)=>{yr.handled=!0,yr.diagram.model.commit(fr=>{var Ga=hr.part.adornedPart;fr.set(Ga.data,la?"toSpot":"fromSpot",Ce.z6.stringify(zn)),(la?Ga.toNode:Ga.fromNode).invalidateConnectedLinks()})};return Wt(Ce.bn,{alignment:wn,alignmentFocus:wn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Qn,background:"transparent",mouseEnter:(yr,hr)=>hr.background="dodgerblue",mouseLeave:(yr,hr)=>hr.background="transparent",click:er,contextClick:er})}Qe.current.linkTemplate.contextMenu=Wt("ContextMenu",Aa(),Kr(),Wt("ContextMenuButton",Wt(Ce.s_,"Horizontal",cr(0),cr(1),cr(2))),Wt("ContextMenuButton",Wt(Ce.s_,"Horizontal",Wt(Ce.s_,"Spot",ma(!1),nn(Ce.z6.Top,!1),nn(Ce.z6.Left,!1),nn(Ce.z6.Right,!1),nn(Ce.z6.Bottom,!1)),Wt(Ce.s_,"Spot",{margin:new Ce.Zt(0,0,0,2)},ma(!0),nn(Ce.z6.Top,!0),nn(Ce.z6.Left,!0),nn(Ce.z6.Right,!0),nn(Ce.z6.Bottom,!0)))));const or=`{ "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 Pr=["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 Dr(wn){return console.log("shapeName:",wn),Pr.indexOf(wn)>=0}var Ka=new Ce.YI(gn.current,{maxSelectionCount:1,linkTemplate:Wt(Ce.rU,{locationSpot:Ce.z6.Center,selectionAdornmentTemplate:Wt(Ce.uz,"Link",{locationSpot:Ce.z6.Center},Wt(Ce.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Wt(Ce.bn,{toArrow:"Standard",stroke:null}))},{routing:Ce.rU.AvoidsNodes,curve:Ce.rU.JumpOver,corner:5,toShortLength:4},new Ce.KX("points"),Wt(Ce.bn,{isPanelMain:!0,strokeWidth:2}),Wt(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(wn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:wn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Qe.current.addDiagramListener("TextEdited",function(wn){var la;const Qn=wn.subject.part;var zn=(la=document.activeElement)==null?void 0:la.value;typeof zn=="string"&&zn.trim()===""&&Qe.current.model.commit(function(er){er.set(Qn.data,"text","\u672A\u547D\u540D"),Qe.current.commandHandler.stopCommand()},"increment")}),Ka.nodeTemplate=Wt(Ce.NB,"Auto",{locationSpot:Ce.z6.Center},new Ce.KX("location","location",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),Wt(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")),Wt(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(()=>{Qe.current.grid=Wt(Ce.s_,"Grid",Wt(Ce.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Wt(Ce.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Qe.current.grid.visible=!0,Qe.current.grid.gridCellStroke="darkgray",Qe.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Qe.current,Qe.current}const Un=()=>Pt(this,null,function*(){var Wt=Qe.current.makeImage();const Na=yield(0,Tn.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Wt.src}});Xe({src:Na.url})});return(0,b.useEffect)(()=>(setTimeout(()=>{ea()},500),Mn(Jn+1),()=>{Qe.current=null}),[]),yt.createElement("div",{ref:ua,className:En.current?`${kt.maxH60} body-overflow-initial`:"body-overflow-initial"},yt.createElement(ot.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Jn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:yt.createElement(Rt.Z,null,yt.createElement(ht.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),yt.createElement(ht.Z,{onClick:()=>{var Wt,Na,nr=Qe.current.selection.first();if(En.current=!En.current,document.activeElement&&nr){let lo=(Na=(Wt=document.activeElement)==null?void 0:Wt.value)==null?void 0:Na.trim();typeof lo=="string"&&Qe.current.model.commit(function(Wa){Wa.set(nr.data,"text",lo||"\u672A\u547D\u540D"),Qe.current.commandHandler.stopCommand()},"increment")}Mn(Jn+1)}},yt.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:ze},yt.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:kt.flowChartWrp},yt.createElement("div",{style:{display:"flex",height:"100%"}},yt.createElement("div",{style:{width:"300px",height:"100%"}},yt.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),yt.createElement("div",{style:{height:"calc(100% - 50px)"},className:kt.myPaletteDiv,ref:gn})),yt.createElement("div",{style:{flex:1,position:"relative"}},yt.createElement("div",{ref:Tt,style:{height:"80vh"}}))),yt.createElement("div",{className:"tr"},yt.createElement(Re.ZP,{size:"large",onClick:Un,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Wn=Hn,an=re(5112),oa=re(5871);const Ea=an.ZP.Group,qn={margin:"0 8px"};var On=({callback:ze,onCancel:Xe})=>{function Qe(Tt){ze(Tt)}return b.createElement(Ne.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Qe},b.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},b.createElement("span",{style:qn},"\u5355\u5143\u683C\u6570\uFF1A"),b.createElement("span",{style:qn},"\u884C\u6570"),b.createElement(Ne.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},b.createElement(oa.Z,null)),b.createElement("span",{style:qn},"\u5217\u6570"),b.createElement(Ne.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},b.createElement(oa.Z,null))),b.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},b.createElement("span",{style:qn},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),b.createElement(Ne.default.Item,{name:"align"},b.createElement(Ea,null,b.createElement(an.ZP,{value:"default"},b.createElement("i",{className:"fa fa-align-justify"})),b.createElement(an.ZP,{value:"left"},b.createElement("i",{className:"fa fa-align-left"})),b.createElement(an.ZP,{value:"center"},b.createElement("i",{className:"fa fa-align-center"})),b.createElement(an.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:Xe},"\u53D6\u6D88")))},Sa=re(78673),Oa=re(11081),ka=re.n(Oa),Ua=(0,b.forwardRef)(({use3d:ze,width:Xe,height:Qe,callback:Tt,showSaveButton:gn},En)=>{const ua=(0,b.useRef)(),Jn=(0,b.useRef)(),[Mn,ea]=(0,b.useState)(!1),Un=(0,b.useRef)({id:ua,appName:"graphing",width:Xe||1e3,height:Qe||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)(()=>{Jn.current=new(ka())(Un.current,!0),window.onload=function(){Jn.current.inject("applet_container")}},[]);const Wt=()=>{var Na=window.ggbApplet.getPNGBase64(1,!0,72);return Tt&&Tt(Na),Na};return(0,b.useEffect)(()=>{Un.current.appName=Mn?"3D":"graphing",Jn.current.inject("applet_container")},[Mn]),(0,b.useEffect)(()=>{ea(ze)},[ze]),(0,b.useImperativeHandle)(En,()=>({getImgData:Wt})),b.createElement(b.Fragment,null,b.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:ua}),b.createElement(Rt.Z,{align:"middle"},b.createElement(ht.Z,{flex:1},b.createElement(Sa.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Mn,onChange:Na=>ea(Na)})),b.createElement(ht.Z,null,b.createElement(Re.ZP,{size:"large",onClick:Wt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Ta=re(88615),ga=re(1012),Ra=re(8591);const qa="link",Zn="upload-image",yn="add-flowchart",Gt="draw-image",rn="add-flowchart",Ca="code-block",xa="add-table",_a="------------",La={default:_a,left:`:${_a}`,center:`:${_a}:`,right:`${_a}:`};var za=re(17904),sr=(ze,Xe,Qe)=>new Promise((Tt,gn)=>{var En=Mn=>{try{Jn(Qe.next(Mn))}catch(ea){gn(ea)}},ua=Mn=>{try{Jn(Qe.throw(Mn))}catch(ea){gn(ea)}},Jn=Mn=>Mn.done?Tt(Mn.value):Promise.resolve(Mn.value).then(En,ua);Jn((Qe=Qe.apply(ze,Xe)).next())});function $a(){}let ia=0;const Rr=1e4,Lt="\u2581",xn="@\u2581\u2581@",na="@\u2581@",pa=`
**\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(ze){return/^\d+$/.test(ze)?`${ze}px`:ze}const bt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",St={[bt+"-B"]:"bold",[bt+"-I"]:"italic"},vn={[qa]:"\u6DFB\u52A0\u94FE\u63A5",[Ca]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Zn]:"\u6DFB\u52A0\u56FE\u7247",[Gt]:"\u6DFB\u52A0\u753B\u56FE",[yn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[xa]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var qt=({defaultValue:ze="",onChange:Xe,width:Qe="100%",height:Tt=400,miniToolbar:gn=!1,isFocus:En=!1,watch:ua,insertTemp:Jn,mode:Mn="markdown",id:ea="markdown-editor-id",showResizeBar:Un=!1,noStorage:Wt=!1,showNullButton:Na=!1,showNullProgramButton:nr=!1,hidetoolBar:lo=!1,fullScreen:Wa=!1,onBlur:Vt,onCMBeforeChange:zr,onFullScreen:Aa,className:dr="",disablePaste:rr=!1,disabled:Kr=!1,disabledFill:xr=!1,placeholder:ar="",values:cr="",extraUse:ma})=>{const[nn,or]=(0,b.useState)(null),[Pr,Dr]=(0,b.useState)(ze),[Ka,wn]=(0,b.useState)(ua),[la,Qn]=(0,b.useState)(Wa),[zn,er]=(0,b.useState)(""),[yr,hr]=(0,b.useState)(0),[fr,Ga]=(0,b.useState)(Tt),[po,Po]=(0,b.useState)(!1),Ci=(0,b.useRef)((0,ga.Z)()),Fr=(0,b.useRef)(!1),br=(0,b.useRef)(),[co,Jr]=(0,b.useState)(0),[mo,Vr]=(0,b.useState)(0),vr=(0,b.useRef)(),Zr=(0,b.useRef)(),Ho=(0,b.useRef)(),ho=(0,b.useRef)(),Qa=()=>sr(void 0,null,function*(){var Gn;const tn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Ci.current}});(Gn=tn==null?void 0:tn.attachments)!=null&&Gn.length&&(console.log("cm:",nn,vr),tn.attachments.map(Yt=>{Yt.content_type.indexOf("image")>-1?nn.replaceSelection(`![,](/api/attachments/${Yt.id}?type=${Yt.content_type})`):Yt.content_type.indexOf("video")>-1?nn.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):Yt.content_type.indexOf("pdf")>-1?nn.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${Yt.id}?type=${Yt.content_type}&disposition=inline" target="_blank">${Yt.name}</a>`):nn.replaceSelection(`[${Yt.name}](${ENV.API_SERVER}/api/attachments/${Yt.id}?type=${Yt.content_type})`)}))});(0,b.useEffect)(()=>{const Gn=window.scrollY||window.pageYOffset;Dr(cr),nn==null||nn.setValue(cr),window.scrollTo(0,Gn)},[cr]),(0,b.useEffect)(()=>{Aa==null||Aa(la)},[la]),(0,b.useEffect)(()=>{if(vr.current){let Gn=function(Yt,Bn){var Ba;if(rr){Bn.preventDefault();return}const pr=Bn.clipboardData;if(pr){const eo=pr.types.toString(),fo=pr.items;if(eo==="Files"||pr.types.indexOf("Files")>-1){if(Bn.preventDefault(),Mn=="stex")return;try{let qo=fo[1];((Ba=fo[0])==null?void 0:Ba.kind)==="file"&&(qo=fo[0]);const Bo=qo.getAsFile(),Oi=Bo.name.split(".").pop();(0,Te.I)(Bo,si=>{var tl,li,Ml;si.id?((tl=Bo==null?void 0:Bo.type)==null?void 0:tl.indexOf("image"))>-1?tn.replaceSelection(`<img width="100%" src="/api/attachments/${si.id}?type=${si.content_type})" alt="" />`):((li=Bo==null?void 0:Bo.type)==null?void 0:li.indexOf("video"))>-1?tn.replaceSelection(`<video width="100%" controls src="/api/attachments/${si.id}"></video>`):((Ml=Bo==null?void 0:Bo.type)==null?void 0:Ml.indexOf("pdf"))>-1?tn.replaceSelection(`<a href="/api/attachments/${si.id}?type=${Bo.type}&disposition=inline" target="_blank">${Bo.name}</a>`):Be.includes(Oi)?tn.replaceSelection(`<a href="/api/attachments/${si.id}?type=office&disposition=inline" target="_blank">${Bo.name}</a>`):tn.replaceSelection(`[${Bo.name}](/api/attachments/${si.id}?type=${si.content_type})`):(si==null?void 0:si.status)===401&&(Ra.ZP.warning((si==null?void 0:si.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(qo){Ra.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const tn=we().fromTextArea(vr.current,{mode:Mn,lineNumbers:!gn,lineWrapping:!0,value:ze,autoCloseTags:!nr,autoCloseBrackets:!0});return tn.on("keyup",function(Yt,Bn){Bn.keyCode===8&&(Yt.getValue()==""?tn.setOption("placeholder",ar):tn.setOption("placeholder",null))}),tn.on("keydown",function(Yt,Bn){if(Bn.keyCode===8){var Ba=Yo(Yt);Ba&&Bn.preventDefault()}}),En&&tn.focus(),tn.on("paste",Gn),tn.on("dragleave",function(Yt,Bn){Zr.current.classList.remove("mouse-hover-md")}),Kr&&tn.on("beforeChange",function(Yt,Bn){(Bn.origin==="paste"||Bn.origin==="+input")&&Bn.cancel()}),or(tn),()=>{tn.off("paste",Gn)}}},[]);const Vo=(0,b.useCallback)(()=>{if(Zr.current)try{}catch(Gn){console.log(Gn,"---- to set md editor body height")}},[fr,Zr,la]);(0,b.useEffect)(()=>{function Gn(){let tn=new Ae.Z(Yt=>{for(let Bn of Yt)(Bn.target.offsetHeight>0||Bn.target.offsetWidth>0)&&(Vo(),nn.setSize("100%","100%"),nn.refresh())});return tn.observe(vr.current.parentElement),tn}if(nn){const tn=Gn();return()=>{var Yt,Bn;(Yt=vr.current)!=null&&Yt.parentElement&&tn.unobserve((Bn=vr.current)==null?void 0:Bn.parentElement)}}},[nn,Vo]),(0,b.useEffect)(()=>{if(nn){let Gn=[];for(const[tn,Yt]of Object.entries(St)){let Bn={[tn]:()=>{ii(Yt)}};Gn.push(Bn),nn.addKeyMap(Bn)}return br.current=setInterval(()=>{Fr.current&&Qa()},4e3),()=>{clearInterval(br.current);for(let tn of Gn)nn.removeKeyMap(tn)}}},[nn]),(0,b.useEffect)(()=>{Wa!==la&&Qn(Wa)},[Wa]),(0,za.Z)(()=>{if(!Wt&&yr>0){let Gn=new Date().getTime(),tn=window.sessionStorage.getItem(ea);Gn>=yr+Rr&&(!tn||tn!==Pr)&&(window.sessionStorage.setItem(ea,Pr),Po(!0))}},Rr),(0,b.useEffect)(()=>{wn(ua)},[nn,ua]),(0,b.useEffect)(()=>{nn&&En&&nn.focus()},[nn,En]),(0,b.useEffect)(()=>{if(Ka&&nn){let Gn=function(Yt){let Bn=Yt.target;if(ho.current){let Ba=Bn.scrollTop/Bn.scrollHeight;ho.current.scrollTop=ho.current.scrollHeight*Ba}};const tn=nn.getScrollerElement();return tn.addEventListener("scroll",Gn),()=>{tn.removeEventListener("scroll",Gn)}}},[nn,Ka]),(0,b.useEffect)(()=>{if(nn&&zr){let Gn=function(tn,Yt){zr(tn,Yt)};return nn.on("beforeChange",Gn),()=>{nn.off("beforeChange",Gn)}}},[nn,zr]),(0,b.useEffect)(()=>{if(nn&&Vt){let Gn=function(){Vt(nn.getValue())};return nn.on("blur",Gn),()=>{nn.off("blur",Gn)}}},[nn,Vt]);function Yo(Gn,tn){var Yt=Gn.getDoc(),Bn=Yt.getCursor(),Ba=Yt.getLine(Bn.line),pr=Ba.charAt(Bn.ch-1),eo=Ba.lastIndexOf("@\u2581@",Bn.ch),fo=Ba.lastIndexOf("@\u2581\u2581@",Bn.ch),qo=eo>fo?eo:fo,Bo=eo>fo?3:4;if(xn.indexOf(pr)===-1)return null;if(console.log("change1:",tn,Gn,Ba,Bn,qo,eo,fo,pr),qo>=0&&Bn.ch-qo<5){var Oi=qo+Bo;return Yt.replaceRange("",{line:Bn.line,ch:qo},{line:Bn.line,ch:Oi}),{line:Bn.line,ch:Oi}}return null}(0,b.useEffect)(()=>{if(nn){let Gn=function(tn,Yt){const Bn=tn.getValue();Dr(Bn),hr(new Date().getTime()),tn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Xe&&(nr?Xe(Bn,Vn(Bn)):Xe(Bn))};return nn.on("change",Gn),()=>{nn.off("change",Gn)}}},[nn,Xe]),(0,b.useEffect)(()=>{if(nn)if(ze==null)nn.setValue(""),Dr("");else{const Gn=window.scrollY||window.pageYOffset;ze!==nn.getValue()&&(nn.setValue(ze),Dr(ze),nn.setCursor(Kr?1:nn.lineCount(),0),window.scrollTo(0,Gn))}},[nn,ze]);const ii=(0,b.useCallback)(Gn=>{const tn=nn.getCursor(),Yt=nn.getSelection();let Bn=Yt.split(`
`);switch(Gn){case"bold":return nn.replaceSelection("**"+Yt+"**"),Yt===""&&nn.setCursor(tn.line,tn.ch+2),nn.focus();case"italic":return nn.replaceSelection("*"+Yt+"*"),Yt===""&&nn.setCursor(tn.line,tn.ch+1),nn.focus();case"code":return nn.replaceSelection("`"+Yt+"`"),Yt===""&&nn.setCursor(tn.line,tn.ch+1),nn.focus();case"inline-latex":return er("inline-latex"),nn.focus();case"latex":return nn.replaceSelection("```latex\n"+Yt+"\n```"),nn.setCursor(tn.line+1,Yt.length+1),nn.focus();case"line-break":return nn.replaceSelection(`<br/>
`),nn.focus();case"list-ul":return Yt===""?nn.replaceSelection("- "+Yt):nn.replaceSelection(Bn.map(Ba=>Ba===""?"":`- ${Ba}`).join(`
`)),nn.focus();case"list-ol":return Yt===""?nn.replaceSelection("1. "+Yt):nn.replaceSelection(Bn.map((Ba,pr)=>Ba===""?"":`${pr+1}. ${Ba}`).join(`
`)),nn.focus();case"add-null-ch":return Yt===""&&nn.setCursor(tn.line,tn.ch),nn.replaceSelection(Lt),nn.focus();case"add-signal":return Yt===""&&nn.setCursor(tn.line,tn.ch),nn.replaceSelection(na),nn.focus();case"add-multiple":return Yt===""&&nn.setCursor(tn.line,tn.ch),nn.replaceSelection(xn),nn.focus();case"inster-template-1":return Yt===""&&nn.setCursor(tn.line,tn.ch),nn.replaceSelection(pa),nn.focus();case"eraser":return nn.setValue(""),nn.focus();case"trigger-watch":return wn(!Ka),nn.focus();case"trigger-full-screen":return Qn(!la),nn.focus();case qa:er(qa);return;case Ca:er(Ca);return;case Zn:er(Zn);return;case Gt:er(Gt);return;case"maths-latex":er("maths-latex");return;case yn:er(yn);return;case xa:er(xa);return;default:throw new Error}},[nn,Ka,la]),Ir=(0,b.useCallback)((Gn,tn)=>{var Yt,Bn,Ba,pr,eo,fo;switch(er(""),zn){case qa:const{title:tl,link:li}=Gn;return nn.replaceSelection(`[${tl}](${li})`),nn.focus();case Ca:const{language:Ml,content:ao}=Gn;return nn.replaceSelection(["```"+Ml,ao,"```"].join(`
`)),nn.focus();case"maths-latex":for(var qo=atob(Gn),Bo=new Uint8Array(qo.length),Oi=0;Oi<qo.length;Oi++)Bo[Oi]=qo.charCodeAt(Oi);var si=new Blob([Bo],{type:"image/png"});(0,Te.I)(si,mi=>{mi.id?nn.replaceSelection(`![,](/api/attachments/${mi.id}?type=${mi.content_type})`):(mi==null?void 0:mi.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":nn.replaceSelection("`$$"+Gn+"$$`");break;case Zn:case Gt:case rn:const{src:Ha,alt:Co}=Gn,Or=tn,Mi=(Ba=(Bn=(Yt=Or==null?void 0:Or.name)==null?void 0:Yt.split("."))==null?void 0:Bn.pop)==null?void 0:Ba.call(Bn);return((pr=Or==null?void 0:Or.type)==null?void 0:pr.indexOf("image"))>-1||!(Or!=null&&Or.type)?Or.align||Or.width?nn.replaceSelection(`<p style="text-align:${Or.align||"initial"}"><img width="${Or.width?Or.width+"%":"initial"}" src="${Ha}" alt="${Co||""}" /></p>`):nn.replaceSelection(`<img width="100%" src="${Ha}" alt="${Co||""}" />`):((eo=Or==null?void 0:Or.type)==null?void 0:eo.indexOf("video"))>-1?nn.replaceSelection(`<video width="100%" controls src="${Ha}"></video>`):((fo=Or==null?void 0:Or.type)==null?void 0:fo.indexOf("pdf"))>-1?nn.replaceSelection(`<a href="${Ha}?type=${Or.type}&disposition=inline" target="_blank">${Or.name}</a>`):Be.includes(Mi)?nn.replaceSelection(`<a href="${Ha}?type=office&disposition=inline" target="_blank">${Or.name}</a>`):nn.replaceSelection(`[${Or.name}](${Ha})`),nn.focus();case xa:const{row:gi,col:ko,align:Ko}=Gn;let ui=`
`;for(let mi=0;mi<gi;mi++){let bl=[],nl=[];for(let al=0;al<ko;al++)mi===1&&nl.push(La[Ko]),bl.push(" ");mi===1&&(ui+=`| ${nl.join(" | ")} |
`),ui+=`| ${bl.join(ko===1?"":" | ")} |
`}return nn.replaceSelection(ui+`
`),nn.focus();default:throw new Error}},[nn,zn]),ni=(0,b.useMemo)(()=>{switch(zn){case qa:return b.createElement(Zt,{callback:Ir,onCancel:Se});case Ca:return b.createElement(_t.Z,{callback:Ir,onCancel:Se});case Zn:return b.createElement(Te.Z,{callback:Ir,onCancel:Se});case yn:return b.createElement(Wn,{callback:Ir,onCancel:Se});case xa:return b.createElement(On,{callback:Ir,onCancel:Se});case"maths-latex":return b.createElement(Ua,{showSaveButton:!0,callback:Ir});case"inline-latex":return b.createElement(Ta.Z,{showSaveButton:!0,callback:Ir});default:return null}},[zn]);function Se(){er("")}(0,b.useEffect)(()=>{if(Ho.current){let Gn=function(eo){Ba=!0,pr=eo.pageY},tn=function(){Ba=!1},Yt=function(eo){if(Ba){let fo=eo.pageY-pr;fo<0&&(fo=0),fo>300&&(fo=300);let qo=Tt+fo+"px";Ga(qo)}},Bn=Ho.current,Ba=!1,pr=0;return Bn.addEventListener("mousedown",Gn),document.addEventListener("mousemove",Yt),document.addEventListener("mouseup",tn),()=>{Bn.removeEventListener("mousedown",Gn),document.removeEventListener("mousemove",Yt),document.removeEventListener("mouseup",tn)}}},[nn,Ho]),(0,b.useEffect)(()=>{Ga(Tt)},[Tt]);const xt=at(Qe),Kt=at(fr),bn={width:xt,height:Kt},Ct=(0,b.useMemo)(()=>{if(yr){let Gn=new Date(yr),tn=Gn.getHours(),Yt=Gn.getMinutes(),Bn=Gn.getSeconds();return tn=tn<10?"0"+tn:tn,Yt=Yt<10?"0"+Yt:Yt,Bn=Bn<10?"0"+Bn:Bn,`${tn}:${Yt}:${Bn}`}return 0},[yr]),Vn=Gn=>{const tn=[];if(nr){let Yt=-1;Gn=Gn.replace(/(@▁▁@|@▁@)/g,function(Bn,Ba,pr){tn.push({multiLine:Bn!==na})})}return tn};function Xn(){window.sessionStorage.removeItem(ea),Po(!1),hr(0)}function Sn(){Po(!1),hr(0),nn.setValue(window.sessionStorage.getItem(ea))}(0,b.useEffect)(()=>{vn[zn]&&zn!==Gt&&zn!==yn&&setTimeout(()=>{const Gn=document.getElementsByClassName("markdown-popup-form")[0],tn=window.innerWidth/2-Gn.offsetWidth/2,Yt=window.innerHeight/2-Gn.offsetHeight/2;Jr(tn),Vr(Yt)},0)},[zn]);const Ln=Gn=>{Gn.preventDefault();const tn=Gn.clientX-co,Yt=Gn.clientY-mo;document.body.onmousemove=Bn=>{let Ba=Bn.clientX-tn,pr=Bn.clientY-Yt;const eo=document.getElementsByClassName("markdown-popup-form")[0],fo=window.innerWidth-eo.offsetWidth,qo=window.innerHeight-eo.offsetHeight;Ba=Math.max(0,Math.min(Ba,fo)),pr=Math.max(0,Math.min(pr,qo)),Za(Bn.clientX,Bn.clientY,tn,Yt)&&(Jr(Ba),Vr(pr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Za=(Gn,tn,Yt,Bn)=>{const Ba=document.body.clientHeight,pr=document.body.clientWidth;return Gn<20&&Yt>Gn||Gn>pr-20&&Yt<Gn||tn<20&&Bn>tn||tn>Ba-20&&Bn<tn?(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 ${dr} ${Ka?"on-preview":""} ${gn?"mini":""} ${la?"full-screen":""}`,style:bn},b.createElement(be,{insertTemp:Jn,watch:Ka,fullScreen:la,showNullButton:Na,showNullProgramButton:nr,onActionCallback:ii,hidetoolBar:lo,extraUse:ma}),b.createElement("div",{className:"markdown-editor-body"},b.createElement("div",{className:"codemirror-container"},b.createElement("textarea",{ref:vr,placeholder:ar})),Ka?b.createElement("div",{ref:ho,className:"preview-container"},Mn==="stex"&&b.createElement(Ge,{value:Pr}),Mn!=="stex"&&b.createElement(ke.Z,{disabledFill:xr,showProgramFill:nr,value:Pr})):null))),Un?b.createElement("a",{ref:Ho,className:"editor-resize"}):null,zn===Gt&&b.createElement(sn,{callback:Ir,onCancel:Se}),zn===yn&&b.createElement(Wn,{callback:Ir,onCancel:Se}),b.createElement(He.Z,null,vn[zn]&&zn!==Gt&&zn!==yn?b.createElement(ot.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:co,top:mo},title:b.createElement("div",{style:{cursor:"move"},onMouseDown:Ln},vn[zn]),open:!0,onCancel:Se,footer:null,destroyOnClose:!0,width:zn===yn?"1200px":null,height:zn===yn?"80vh":null,className:"markdown-popup-form"},ni):null))}},45596:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return he},I:function(){return He}});var b=re(78241),pe=re(8591),we=re(92832),Ae=re(81327),_e=re(5871),Ue=re(5112),De=re(3113),tt=re(67303),Me=re(59301),Le=re(34055),ke=re(59301),Ge=Object.defineProperty,Ke=Object.defineProperties,le=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,y=(Ne,dt,Re)=>dt in Ne?Ge(Ne,dt,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ne[dt]=Re,z=(Ne,dt)=>{for(var Re in dt||(dt={}))a.call(dt,Re)&&y(Ne,Re,dt[Re]);if(E)for(var Re of E(dt))x.call(dt,Re)&&y(Ne,Re,dt[Re]);return Ne},te=(Ne,dt)=>Ke(Ne,le(dt));const{useForm:ae}=b.default,se={width:280,marginRight:10},ie={labelCol:{span:5},wrapperCol:{span:19}};var he=({callback:Ne,onCancel:dt})=>{const[Re]=ae();let Ye=(0,Me.useRef)();function We(gt){Ye.current.width=Re.getFieldValue("width"),Ye.current.align=Re.getFieldValue("align"),Ne(gt,Ye.current)}function qe(gt,lt){if(gt.status===-1){pe.ZP.error(gt.message);return}Re.setFieldsValue({src:`/api/attachments/${gt.id}`,type:lt.type})}function xe(gt){let lt=gt.target.files[0];Ye.current=lt,He(lt,qe)}return ke.createElement(b.default,te(z({form:Re},ie),{className:"upload-image-panel",onFinish:We,style:{width:470,overflow:"hidden"}}),ke.createElement(b.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ke.createElement("div",{className:"flex-container"},ke.createElement(b.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ke.createElement(we.default,{style:se})),ke.createElement(be,{onFileChange:xe}))),ke.createElement(b.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ke.createElement(we.default,{style:{width:264}})),ke.createElement(b.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ke.createElement(Ae.Z,null,ke.createElement(b.default.Item,{name:"width",style:{margin:0}},ke.createElement(_e.Z,{style:{width:264}})),ke.createElement("span",{className:"ml8"},"%"))),ke.createElement(b.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ke.createElement(Ue.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"}]})),ke.createElement("aside",null,ke.createElement(b.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ke.createElement(De.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ke.createElement(De.ZP,{type:"default",onClick:dt},"\u53D6\u6D88"))))};function be({onFileChange:Ne}){return ke.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ke.createElement("input",{type:"file",onChange:Ne}))}function He(Ne,dt){if(!Ne)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Le.bg)())throw pe.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 Ye=new window.XMLHttpRequest;Ye.withCredentials=!0,Ye.addEventListener("load",function(We){dt(JSON.parse(We.target.responseText),Ne)},!1),Ye.addEventListener("error",function(We){console.error(We)},!1),Ye.open("POST",`${tt.KI}/api/attachments.json`),Ye.send(Re)}},75790:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return we}});var b=re(59301),pe=re(4676);class we extends b.Component{constructor(_e){super(_e);const Ue=window.document;this.node=Ue.createElement("div"),Ue.body.appendChild(this.node)}render(){const{children:_e}=this.props;return(0,pe.createPortal)(_e,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},4573:function(Et,Mt,re){"use strict";re.d(Mt,{i:function(){return se},Z:function(){return he}});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"},pe=re(71418),we=re(6848),Ae=re(92310),_e=re.n(Ae),Ue=re(49661),De=re(57884),tt=re(34055),Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57d0WUK6DuigYSeglFMJQIhBJSIIYUQgohObPP9/1l/pmcE7h9nvCcc+bMzJn53v/9vvcrW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CglP/0qgjYNKAh2oH6vANrJ4kejl6qIReYrwtzgmT/LwknSFTisazUUITWNi5vmiDaDdydqHxIGNgGycki263pBtRjDLMbY1MhICnprTPJluBONyjvj7tAPq5cMEjq+x8ZJJ5AcRDceZL3LHhhINn/lUUySVsXSIJlbgvNCx4WHv3+VWPXvL6sZt8/v/t/ZcDiwhxFgaLp8YdFs4Dx64oxwbfTrmwDrBivpR4DVDQDF/VqYsf+ef3L5SDvAGCVcy/4GKCimrho1yv3tWdR3xgzD9ssC8H6ko8BKpqBi3q1I77sXvBef9M0HX3kxwAV1cRFu95PALhFw2OAimbgol7tB5BbNDwGqKgmLtr1nhJaFw2PASqagYt6db45jhQNMf0Xi7mnon7V4+sfxQIFJqFMNES/v3D+oyz8+Jp/jgX+AT+bS/shEzsoAAAAAElFTkSuQmCC",ae=re(59301);const se=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Me,swimg:Le},{name:"101\u8BA1\u5212",ptimg:ke,swimg:Ge},{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 he=({className:be,dataSource:He=[],col:Ne=4,right:dt,bottom:Re=23,precision:Ye=0,wrapWidth:We=1200,trackEventItems:qe,loading:xe,onRemove:gt=()=>{},isCurrent:lt=!0,showAlias:At=!1})=>{const mt=Math.floor((We-(Ne-1)*dt)/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(un=>(window.ENV==="build"&&(un.ptimg=`/react/build${un.ptimg}`,un.swimg=`/react/build${un.swimg}`),un));return ae.createElement(pe.Z,{spinning:xe},ae.createElement("div",{className:_e()(b.list,be)},!!(He!=null&&He.length)&&(He==null?void 0:He.map((un,Zt)=>{var _t;const{name:Te,id:ot,identifier:Rt,featured:hn,school_name:Ft,image_url:sn,excellent:Ce,is_plan:it}=un;return ae.createElement("div",{key:ot,className:b.wrap,style:{width:mt,marginRight:(1+Zt)%Ne===0?0:dt+Ye,marginBottom:Re}},ae.createElement("a",{className:b.li,onClick:Qt=>{Qt.preventDefault(),Qt.stopPropagation(),qe&&(0,Ue.L9)([qe]),(0,Ue.xg)(`/paths/${Rt}`)}},ae.createElement("div",{className:b.img},ae.createElement("img",{className:b.cover,src:`${sn}`}),lt&&(0,tt.bg)()&&(un==null?void 0:un.studying)&&ae.createElement("div",{className:`${b.movebq} user-path-items`,onClick:Qt=>{Qt.stopPropagation(),gt(un)}},ae.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ae.createElement("span",{className:"c-red"},"\u79FB\u9664")),(_t=un==null?void 0:un.subject_tags)==null?void 0:_t.map((Qt,nt)=>{var ht,Tn;if(nt===0){const yt=(ht=Pn.find(Pt=>Pt.name==Qt))==null?void 0:ht.swimg;return ae.createElement("img",{className:b.sign,src:yt,style:{left:"-4px"}})}const kt=(Tn=Pn.find(yt=>yt.name==Qt))==null?void 0:Tn.ptimg;return ae.createElement("img",{className:b.sign,src:kt,style:{left:`${48+52*(nt-1)+2*nt}px`}})}),ae.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(un==null?void 0:un.excellent)&&ae.createElement("div",{className:b.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ae.createElement("div",{className:b.name},ae.createElement(we.Z,{title:At&&(un!=null&&un.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${un==null?void 0:un.excellent_alias_name}`)):Te},ae.createElement("span",{className:b.e},At&&(un==null?void 0:un.excellent_alias_name)||Te))),ae.createElement("div",{className:b.tags},ae.createElement("div",null,ae.createElement(we.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ae.createElement("span",null,un.stages_count))),ae.createElement(we.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,un.members_count)))))))})),!He.length&&ae.createElement(De.Z,null)))}},71360:function(Et,Mt,re){"use strict";re.d(Mt,{jL:function(){return _e},w9:function(){return un},QD:function(){return Ta},cQ:function(){return gt.Z},op:function(){return On},O5:function(){return pa},_b:function(){return Gt},t7:function(){return y},Gi:function(){return hn},YG:function(){return ot},qp:function(){return ke},vr:function(){return qa},qE:function(){return ka},Je:function(){return ae},wb:function(){return xe},cq:function(){return nt},tp:function(){return le}});var b=re(59301),pe={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"},we="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNk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4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",_e=({dataSource:Be=[],img:at,imgWidth:ct=346,title:bt,sunTitle:St,bannerExtraContent:vn})=>b.createElement("div",{className:pe.banner},b.createElement("div",{className:pe.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:pe.btns},Be.map((qt,ze)=>b.createElement("div",{key:ze,onClick:qt.click},qt.name,qt.sign?b.createElement("img",{src:we,width:39}):null))),vn),at&&b.createElement("img",{style:{marginTop:33,marginRight:38},src:at,width:ct}))),Ue={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"},De=re(92310),tt=re.n(De),Me=re(89392),ke=({dataSource:Be=[],value:at,onChange:ct,onTitleChange:bt,className:St,title:vn,titleWidth:qt=41,style:ze={},fontColor:Xe="#6A7283",showCount:Qe})=>{const[Tt,gn]=(0,b.useState)(0),[En,ua]=(0,b.useState)(!1),Jn=(0,b.useRef)(null),Mn=(0,b.useRef)(null);return(0,b.useEffect)(()=>{var ea;Be.length!==0&&(((ea=Jn==null?void 0:Jn.current)==null?void 0:ea.clientHeight)>97?gn(1):gn(0)),Be.length===0&&gn(0),ua(!1)},[Be]),b.createElement("div",{className:tt()(Ue.row,St),style:ze},b.createElement("div",{onClick:(0,Me.throttle)(()=>bt==null?void 0:bt(),2e3),style:{width:qt,marginTop:En?12:4},className:`${Ue.title} ${bt?"current":""}`},vn),b.createElement("div",{className:En?`${Ue.tagsWrap} ${Ue.tagsBorderWrap}`:Ue.tagsWrap},b.createElement("div",{className:Ue.bar,ref:Mn,style:Tt>0?{height:Tt===1?97:"auto",overflow:Tt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},b.createElement("div",{className:Ue.tag,ref:Jn},Be==null?void 0:Be.map(ea=>b.createElement("span",{onClick:()=>ct(ea.id),key:ea.id,style:{color:Xe},className:at===ea.id?Ue.active:""},b.createElement("span",{title:ea.name,className:Ue.name},ea.name),!!Qe&&b.createElement("span",{className:Ue.num},ea.count))))),!!Tt&&b.createElement(b.Fragment,null,Tt===1?b.createElement("div",{onClick:()=>{var ea;gn(2),((ea=Jn==null?void 0:Jn.current)==null?void 0:ea.clientHeight)>245?ua(!0):ua(!1)},className:Ue.action},"\u5C55\u5F00",b.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):b.createElement("div",{onClick:()=>{Mn.current.scrollTop=0,gn(1),ua(!1)},className:Ue.action},"\u6536\u8D77",b.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Ge={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:ct,className:bt,style:St={}})=>b.createElement("div",{style:St,className:tt()(Ge.tabs,bt)},Be.map(vn=>b.createElement("span",{onClick:()=>ct(vn.id),className:at===vn.id?Ge.active:"",key:vn.id},vn.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=re(92832),y=({dataSource:Be=[],value:at="",onChange:ct,onInputChange:bt=()=>{},className:St,style:vn={},placeholder:qt,allowClear:ze=!1})=>{var Xe;const[Qe,Tt]=(0,b.useState)(""),[gn,En]=(0,b.useState)("");(0,b.useEffect)(()=>{var Mn;let ea=at;(Mn=JSON.stringify(at))!=null&&Mn.includes("{")&&(Tt(at.id),ea=at.value||"");try{En(decodeURIComponent(ea||""))}catch(Un){En(decodeURIComponent(ea||""))}},[at]);const ua=()=>{ct(encodeURIComponent(gn),Qe||null)},Jn=Mn=>{Mn!==Qe&&(Tt(Mn),ct(encodeURIComponent(gn),Mn))};return b.createElement("div",{className:tt()(E.input,St),style:vn},!!Be.length&&b.createElement("div",{className:E.dropdown},b.createElement("div",{className:E.text},(Xe=Be.find(Mn=>Mn.id===Qe))==null?void 0:Xe.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((Mn,ea)=>b.createElement("div",{key:ea,onClick:()=>Jn(Mn.id)},Mn.name)))),b.createElement(a.default,{onPressEnter:ua,value:gn,onChange:Mn=>{En(Mn.target.value),bt(encodeURIComponent(Mn.target.value),Qe||null)},bordered:!1,placeholder:qt}),b.createElement("i",{onClick:ua,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:ct,total:bt,pageSize:St,style:vn={}})=>{const qt=Be<2,ze=Be>=Math.ceil(bt/St);return bt<=St?b.createElement(b.Fragment,null):b.createElement("div",{className:tt()(z.quickPager,ct),style:vn},b.createElement("div",{onClick:()=>{qt||at(Be-1,"prev")},className:qt?z.disabled:""},"\u4E0A\u4E00\u9875"),b.createElement("div",{onClick:()=>{ze||at(Be+1,"next")},className:ze?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=re(71418),he=re(6848),be=re(13570),He=re(90524),Ne=re(49661),dt=re(96908),Re=re(57177),Ye=re(81378),We=re(57884),xe=({className:Be,dataSource:at=[],col:ct=4,right:bt,bottom:St=23,precision:vn=0,wrapWidth:qt=1200,trackEventItems:ze,loading:Xe})=>{const Qe=Math.floor((qt-(ct-1)*bt)/ct);return b.createElement(ie.Z,{spinning:Xe},b.createElement("div",{className:tt()(se.list,Be)},!!at.length&&at.map((Tt,gn)=>{const{name:En,id:ua,identifier:Jn,power:Mn,cover_image_id:ea,pic:Un}=Tt;return b.createElement("div",{className:se.wrap,key:ua,style:{width:Qe,marginRight:(1+gn)%ct===0?0:bt+vn,marginBottom:St}},b.createElement("a",{target:"_blank",href:`/shixuns/${Jn}/challenges`,className:se.li,onClick:Wt=>{Wt.preventDefault(),ze&&(0,Ne.L9)([ze]),Mn&&(0,Ne.xg)(`/shixuns/${Jn}/challenges`)}},b.createElement("div",{className:se.img},b.createElement("img",{className:se.cover,src:`${Un}`}),Tt.is_jupyter&&b.createElement("img",{className:se.sign,src:dt}),Tt.is_jupyter_lab&&b.createElement("img",{className:se.sign,src:Re}),Tt.is_unity_3d&&b.createElement("img",{className:se.sign,src:Ye})),b.createElement("div",{className:se.name},b.createElement(he.Z,{title:En||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},b.createElement("span",{className:se.e},En||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),b.createElement("div",{className:se.tags},b.createElement(he.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),b.createElement("span",null,Tt.challenges_count))),!!Tt.myshixuns_count&&b.createElement(he.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,Tt.myshixuns_count))),b.createElement(he.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},b.createElement("span",null,b.createElement("span",null,Tt.level))),b.createElement("div",{className:se.rate},b.createElement(be.Z,{allowHalf:!0,disabled:!0,defaultValue:Tt.score_info}),b.createElement("span",null,"\xA0",Tt.score_info?`${Tt.score_info}\u5206`:"5\u5206")))),!Mn&&b.createElement("div",{className:se.lockWrap},b.createElement("img",{src:`${He.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(We.Z,null)))},gt=re(4573),lt={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"},At="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JE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2oSudhdo5e+n6ajr3ionqHQylo4B9im59Ase6EFmbhCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",mt=re(59301),un=({className:Be,dataSource:at=[],col:ct=4,right:bt,bottom:St=23,precision:vn=0,wrapWidth:qt=1200,trackEventItems:ze,loading:Xe})=>{const Qe=Math.floor((qt-(ct-1)*bt)/ct);return mt.createElement(ie.Z,{spinning:Xe},mt.createElement("div",{className:tt()(lt.list,Be)},!!at.length&&at.map((Tt,gn)=>{const{subject_identifier:En,id:ua,identifier:Jn,power:Mn}=Tt,ea=Tt.is_public!=0&&Tt.is_public;return mt.createElement("div",{className:lt.wrap,key:ua,style:{width:Qe,marginRight:(1+gn)%ct===0?0:bt+vn,marginBottom:St}},mt.createElement("a",{className:lt.li,onClick:Un=>{Un.preventDefault(),ze&&(0,Ne.L9)([ze]),(0,Ne.xg)(Tt.first_category_url)}},mt.createElement("div",{className:lt.top},mt.createElement(he.Z,{title:Tt.name},mt.createElement("div",{className:lt.name},Tt.name)),mt.createElement("img",{className:lt.img,src:He.Z.IMG_SERVER+"/images/"+Tt.avatar_url}),mt.createElement("div",{className:lt.text,title:Tt.creator},Tt.creator),En&&mt.createElement("div",{className:lt.btns},mt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),mt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),ea&&mt.createElement("div",{className:lt.sign},"\u516C\u5F00")),mt.createElement("div",{className:lt.bottom},Tt.visits>0&&mt.createElement(he.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},mt.createElement("span",null,mt.createElement("i",{className:"iconfont icon-liulanyan"}),mt.createElement("span",null,Tt.visits))),Tt.course_members_count>0&&mt.createElement(he.Z,{title:"\u6210\u5458",placement:"bottom"},mt.createElement("span",null,mt.createElement("i",{className:"iconfont icon-chengyuan"}),Tt.course_members_count)),Tt.tasks_count>0&&mt.createElement(he.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},mt.createElement("span",null,mt.createElement("i",{className:"iconfont icon-zuoye"}),Tt.tasks_count)),Tt.is_end?mt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):mt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Tt.is_accessible&&mt.createElement("div",{className:lt.lockWrap},mt.createElement("img",{src:`${He.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),mt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!at.length&&mt.createElement(We.Z,null)))},Zt={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=re(76560),ot=({dataSource:Be=[],value:at,onChange:ct,className:bt,style:St={},tabBarExtraContent:vn})=>b.createElement("div",{className:tt()(Zt.tabs,bt),style:St},b.createElement("div",{className:Zt.tabsWrap},Be.map((qt,ze)=>b.createElement("aside",{className:Zt.tab,onClick:()=>{ct(qt.id),qt.link&&_t.history.push(qt.link)},key:ze},b.createElement("div",{className:at===qt.id?Zt.active:""},qt.name),(qt==null?void 0:qt.resetCount)==null&&(qt==null?void 0:qt.total)!==void 0&&b.createElement("span",null,"\uFF08",qt==null?void 0:qt.total,"\uFF09"),(qt==null?void 0:qt.resetCount)!==void 0&&(qt==null?void 0:qt.total)!==void 0&&b.createElement(he.Z,{title:(qt==null?void 0:qt.tip)!=null?qt==null?void 0:qt.tip:""},b.createElement("span",{style:{color:"#9096A3"}},"\uFF08",b.createElement("span",{style:{color:"#000"}},qt==null?void 0:qt.resetCount),"/",b.createElement("span",null,qt==null?void 0:qt.total),"\uFF09"))))),b.createElement("div",{className:Zt.tabBar},vn)),hn=({className:Be,style:at={},children:ct})=>b.createElement("div",{className:tt()(Be),style:at},ct),Ft={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"},sn=re(38854),Ce=re(20834);const it=[{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:ct,onSort:bt,onDrop:St,dataSource:vn=it})=>{var qt;return b.createElement("div",{className:tt()(Ft.orderWrap,ct)},b.createElement(sn.Z,{dropdownRender:()=>b.createElement(Ce.default,null,vn.map((ze,Xe)=>b.createElement(Ce.default.Item,{key:Xe,onClick:()=>St(ze.id)},ze.name)))},b.createElement("span",{className:Ft.orderTextWrap},(qt=vn.find(ze=>at===ze.id))==null?void 0:qt.name)),b.createElement("span",{className:Ft.orderIconWrap},b.createElement("span",{className:Ft.orderAsc},b.createElement("i",{className:Be==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Ft.cursorPointer} ${Ft.active}`:`iconfont icon-sanjiaoxing-up font12 ${Ft.cursorPointer}`,onClick:()=>bt(Be==="asc"?"desc":"asc")})),b.createElement("span",{className:Ft.orderDesc},b.createElement("i",{className:Be==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Ft.cursorPointer} ${Ft.active}`:`iconfont icon-sanjiaoxing-down font12 ${Ft.cursorPointer}`,onClick:()=>bt(Be==="asc"?"desc":"asc")}))))},ht={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"},Tn=re(3113),kt=Object.defineProperty,yt=Object.getOwnPropertySymbols,Pt=Object.prototype.hasOwnProperty,Hn=Object.prototype.propertyIsEnumerable,Wn=(Be,at,ct)=>at in Be?kt(Be,at,{enumerable:!0,configurable:!0,writable:!0,value:ct}):Be[at]=ct,an=(Be,at)=>{for(var ct in at||(at={}))Pt.call(at,ct)&&Wn(Be,ct,at[ct]);if(yt)for(var ct of yt(at))Hn.call(at,ct)&&Wn(Be,ct,at[ct]);return Be},oa=(Be,at)=>{var ct={};for(var bt in Be)Pt.call(Be,bt)&&at.indexOf(bt)<0&&(ct[bt]=Be[bt]);if(Be!=null&&yt)for(var bt of yt(Be))at.indexOf(bt)<0&&Hn.call(Be,bt)&&(ct[bt]=Be[bt]);return ct},Ea=(Be,at,ct)=>new Promise((bt,St)=>{var vn=Xe=>{try{ze(ct.next(Xe))}catch(Qe){St(Qe)}},qt=Xe=>{try{ze(ct.throw(Xe))}catch(Qe){St(Qe)}},ze=Xe=>Xe.done?bt(Xe.value):Promise.resolve(Xe.value).then(vn,qt);ze((ct=ct.apply(Be,at)).next())}),On=Be=>{var at=Be,{className:ct,style:bt,children:St,loading:vn=!1,openLoading:qt,onClick:ze=()=>{},size:Xe="middle",shape:Qe="round"}=at,Tt=oa(at,["className","style","children","loading","openLoading","onClick","size","shape"]);const[gn,En]=(0,b.useState)(!1);return b.createElement(Tn.ZP,an({onClick:(0,Me.throttle)(ua=>Ea(void 0,null,function*(){qt&&En(!0);try{yield ze(ua)}catch(Jn){console.log("error",Jn)}qt&&En(!1)}),2e3,{leading:!0,trailing:!1}),className:tt()(ht.btn,ht[`${Xe}-${Qe}`],ct),style:bt,size:Xe,shape:Qe,loading:gn||vn},Tt),St)},Sa={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"},ka=({className:Be,style:at,children:ct=null,onClick:bt,title:St})=>b.createElement("div",{className:tt()(Sa.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:Sa.node},ct)),va={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"},Ta=({confirmShow:Be=!0,confirmTitle:at,confirmClick:ct,cancelShow:bt=!0,cancelTitle:St,cancelClick:vn,className:qt,style:ze,confirmLoading:Xe=!1})=>b.createElement("div",{className:tt()(va.btns,qt),style:ze},Be&&b.createElement(Tn.ZP,{loading:Xe,onClick:ct,type:"primary",className:va.confirm},at),bt&&b.createElement(Tn.ZP,{onClick:vn,className:va.cancel},St)),ga={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"},qa=({className:Be,style:at={},LeftContent:ct,children:bt,RightContent:St})=>b.createElement("div",{className:tt()(ga.fixedBottom,Be),style:at},b.createElement("div",{className:ga.wrap},b.createElement("div",{className:ga.left},ct),b.createElement("div",{className:ga.center},bt),b.createElement("div",{className:ga.right},St))),Zn={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"},Gt=({className:Be,style:at={},dataSource:ct=[]})=>b.createElement("div",{className:tt()(Zn.crumbs,Be),style:at},ct.map((bt,St)=>St<ct.length-1?b.createElement(b.Fragment,{key:St},bt.path||bt.onClick?b.createElement("span",{className:Zn.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))),rn=re(31797),Ca=Object.defineProperty,xa=Object.defineProperties,_a=Object.getOwnPropertyDescriptors,La=Object.getOwnPropertySymbols,za=Object.prototype.hasOwnProperty,sr=Object.prototype.propertyIsEnumerable,$a=(Be,at,ct)=>at in Be?Ca(Be,at,{enumerable:!0,configurable:!0,writable:!0,value:ct}):Be[at]=ct,ia=(Be,at)=>{for(var ct in at||(at={}))za.call(at,ct)&&$a(Be,ct,at[ct]);if(La)for(var ct of La(at))sr.call(at,ct)&&$a(Be,ct,at[ct]);return Be},Rr=(Be,at)=>xa(Be,_a(at)),Lt=(Be,at)=>{var ct={};for(var bt in Be)za.call(Be,bt)&&at.indexOf(bt)<0&&(ct[bt]=Be[bt]);if(Be!=null&&La)for(var bt of La(Be))at.indexOf(bt)<0&&sr.call(Be,bt)&&(ct[bt]=Be[bt]);return ct};const{Countdown:xn}=rn.default;var pa=Be=>{var at=Be,{onChange:ct}=at,bt=Lt(at,["onChange"]);const[St,vn]=(0,b.useState)(null);(0,b.useEffect)(()=>{typeof St=="number"&&St>=0&&ct(St)},[St]);const qt=ze=>{const Xe=Math.floor(ze/1e3);vn(Xe)};return b.createElement(xn,Rr(ia({},bt),{onChange:qt}))}},17904:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return pe}});var b=re(59301);function pe(we,Ae){const _e=(0,b.useRef)();(0,b.useEffect)(()=>{_e.current=we}),(0,b.useEffect)(()=>{function Ue(){_e.current()}if(Ae!==null){let De=setInterval(Ue,Ae);return()=>clearInterval(De)}},[Ae])}},83927:function(Et,Mt,re){"use strict";re.r(Mt),re.d(Mt,{default:function(){return gu}});var b=re(59301),pe=re(76560),we=re(78241),Ae=re(8591),_e=re(66104),Ue=re(92832),De=re(19842),tt=re(24905),Me=re(5112),Le=re(5871),ke=re(3113),Ge={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=re(43418),le=re(5083),E=re(61186),a=re.n(E),x=(ue,Ee,Pe)=>new Promise((ut,vt)=>{var _n=pt=>{try{Jt(Pe.next(pt))}catch($t){vt($t)}},mn=pt=>{try{Jt(Pe.throw(pt))}catch($t){vt($t)}},Jt=pt=>pt.done?ut(pt.value):Promise.resolve(pt.value).then(_n,mn);Jt((Pe=Pe.apply(ue,Ee)).next())});const y=({user:ue,dispatch:Ee,classroomList:Pe,onModalOk:ut,setsubloading:vt})=>{const _n=(0,pe.useParams)(),[mn,Jt]=(0,b.useState)(),[pt,$t]=(0,b.useState)(!1);function Cn($e){return $e&&$e<a()().subtract(1,"days")}return b.createElement(Ke.default,{title:"\u6E29\u99A8\u63D0\u793A",afterClose:()=>{$t(!1)},zIndex:8888,destroyOnClose:!0,footer:null,maskClosable:!1,keyboard:!1,open:Pe.actionTabs.key==="\u9884\u7EA6\u5F39\u7A97",onCancel:()=>{if(pt){Ae.ZP.warning("\u6B63\u5728\u8BF7\u6C42\u6570\u636E\u4E2D...");return}vt(!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:Cn,format:"YYYY-MM-DD HH:mm:ss",onChange:($e,Bt)=>{Jt(Bt)},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(ke.ZP,{loading:pt,type:"primary",onClick:()=>x(void 0,null,function*(){$t(!0),ut(mn,()=>{Ee({type:"classroomList/setActionTabs",payload:{}})})})},"\u786E\u8BA4"))))};var z=(0,pe.connect)(({user:ue,classroomList:Ee})=>({user:ue,classroomList:Ee}))(y),te=re(82093),ae=re(32134),se=re(12893),ie={wrap:"wrap___Ww0Ti",itemWarp:"itemWarp___LMLjd",addIcon:"addIcon___xmRLl",deleteIcon:"deleteIcon___gjwgO"},he=re(57809),be=Object.defineProperty,He=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,Re=(ue,Ee,Pe)=>Ee in ue?be(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Ye=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Ne.call(Ee,Pe)&&Re(ue,Pe,Ee[Pe]);if(He)for(var Pe of He(Ee))dt.call(Ee,Pe)&&Re(ue,Pe,Ee[Pe]);return ue},We=(ue,Ee,Pe)=>new Promise((ut,vt)=>{var _n=pt=>{try{Jt(Pe.next(pt))}catch($t){vt($t)}},mn=pt=>{try{Jt(Pe.throw(pt))}catch($t){vt($t)}},Jt=pt=>pt.done?ut(pt.value):Promise.resolve(pt.value).then(_n,mn);Jt((Pe=Pe.apply(ue,Ee)).next())}),xe=({setitem:ue,item:Ee,rz:Pe})=>{var ut,vt,_n,mn,Jt,pt,$t,Cn;let[$e,Bt]=(0,b.useState)({zydatas:[],jbdatas:[],kcdatas:[],zsdatas:[],page:1,per_page:20});const[cn]=we.default.useForm(),[Fn,Xt]=(0,b.useState)(!1);(0,b.useEffect)(()=>{Pe&&!Fn&&($e.zydatas=Pe,Bt(Ye({},$e)),Xt(!0),Ee!=null&&Ee.ec_course_id&&Ot())},[Ee,Pe,Fn]),console.log($e,"params");function Ot(){return We(this,null,function*(){yield Ut(Ee==null?void 0:Ee.ec_major_school_id),yield Ht(Ee==null?void 0:Ee.ec_year_id),yield ha(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 Ut(fn){return We(this,null,function*(){const pn=yield(0,te.ZP)(`/api/ec_major_schools/${fn}/ec_years/get_year_list.json`,{method:"get"});$e.jbdatas=pn==null?void 0:pn.data,Bt(Ye({},$e)),cn.setFieldsValue({ec_year_id:"",ec_course_id:"",ec_point_ids:[]})})}function Ht(fn){return We(this,null,function*(){const pn=yield(0,te.ZP)(`/api/ec_years/${fn}/ec_courses/get_courses.json`,{method:"get"});$e.kcdatas=pn==null?void 0:pn.data,Bt(Ye({},$e)),cn.setFieldsValue({ec_course_id:"",ec_point_ids:[]})})}const ha=fn=>We(void 0,null,function*(){const pn=yield(0,te.ZP)(`/api/ec_courses/${fn}/ec_points.json`,{method:"get",params:{ec_course_id:fn}});$e.zsdatas=pn==null?void 0:pn.data,Bt(Ye({},$e))});return b.createElement("div",{className:ie.from},b.createElement(we.default,{form:cn,layout:"inline",onValuesChange:fn=>{console.log("----",fn),fn.ec_major_school_id&&($e.jbdatas=[],$e.kcdatas=[],$e.zsdatas=[],Bt(Ye({},$e)),Ut(fn.ec_major_school_id)),fn.ec_year_id&&($e.kcdatas=[],$e.zsdatas=[],Bt(Ye({},$e)),Ht(fn.ec_year_id)),fn.ec_course_id&&($e.zsdatas=[],Bt(Ye({},$e)),ha(fn.ec_course_id))},onFinish:fn=>We(void 0,null,function*(){ue(fn)})},b.createElement(we.default.Item,{name:"ec_major_school_id"},b.createElement(he.default,{style:{width:160},disabled:((ut=$e.zydatas)==null?void 0:ut.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u4E13\u4E1A"},(vt=$e==null?void 0:$e.zydatas)==null?void 0:vt.map((fn,pn)=>b.createElement(he.default.Option,{key:pn,value:fn==null?void 0:fn.ec_major_school_id},fn==null?void 0:fn.name)))),b.createElement(we.default.Item,{name:"ec_year_id"},b.createElement(he.default,{style:{width:160},disabled:((_n=$e.jbdatas)==null?void 0:_n.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u5C4A\u522B"},(mn=$e==null?void 0:$e.jbdatas)==null?void 0:mn.map((fn,pn)=>b.createElement(he.default.Option,{key:pn,value:fn==null?void 0:fn.ec_year_id},fn==null?void 0:fn.year)))),b.createElement(we.default.Item,{name:"ec_course_id"},b.createElement(he.default,{style:{width:208},disabled:((Jt=$e.kcdatas)==null?void 0:Jt.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BFE\u7A0B"},(pt=$e==null?void 0:$e.kcdatas)==null?void 0:pt.map((fn,pn)=>b.createElement(he.default.Option,{key:pn,value:fn==null?void 0:fn.id},fn==null?void 0:fn.name)))),b.createElement(we.default.Item,{name:"ec_point_ids"},b.createElement(he.default,{onChange:()=>{cn.submit()},style:{width:160},maxTagCount:1,maxTagTextLength:7,mode:"multiple",disabled:(($t=$e.zsdatas)==null?void 0:$t.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9"},(Cn=$e==null?void 0:$e.zsdatas)==null?void 0:Cn.map((fn,pn)=>b.createElement(he.default.Option,{key:pn,value:fn==null?void 0:fn.id},fn==null?void 0:fn.name))))))},gt=Object.defineProperty,lt=Object.defineProperties,At=Object.getOwnPropertyDescriptors,mt=Object.getOwnPropertySymbols,Pn=Object.prototype.hasOwnProperty,un=Object.prototype.propertyIsEnumerable,Zt=(ue,Ee,Pe)=>Ee in ue?gt(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)&&Zt(ue,Pe,Ee[Pe]);if(mt)for(var Pe of mt(Ee))un.call(Ee,Pe)&&Zt(ue,Pe,Ee[Pe]);return ue},Te=(ue,Ee)=>lt(ue,At(Ee)),ot=(ue,Ee,Pe)=>new Promise((ut,vt)=>{var _n=pt=>{try{Jt(Pe.next(pt))}catch($t){vt($t)}},mn=pt=>{try{Jt(Pe.throw(pt))}catch($t){vt($t)}},Jt=pt=>pt.done?ut(pt.value):Promise.resolve(pt.value).then(_n,mn);Jt((Pe=Pe.apply(ue,Ee)).next())});const Rt=({user:ue,exercise_id:Ee=null,homework_common_id:Pe=null,setitem:ut})=>{var vt,_n,mn;let[Jt,pt]=(0,b.useState)([{id:Math.random()}]),[$t,Cn]=(0,b.useState)(null);function $e(){return ot(this,null,function*(){var cn,Fn,Xt,Ot;let Ut=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=Ut==null?void 0:Ut.data)==null?void 0:cn.length)>0){let Ht=[];(Fn=Ut==null?void 0:Ut.data)==null||Fn.map(ha=>{var fn;(fn=ha==null?void 0:ha.ec_point_ids)==null||fn.map(pn=>{Ht.push(pn)})}),ut(Te(_t({},(Xt=Ut==null?void 0:Ut.data)==null?void 0:Xt[0]),{ec_point_ids:Ht})),pt((Ot=Ut==null?void 0:Ut.data)==null?void 0:Ot.map(ha=>Te(_t({},ha),{id:Math.random()})))}})}(0,b.useEffect)(()=>{var cn,Fn;(Fn=(cn=ue==null?void 0:ue.userInfo)==null?void 0:cn.course)!=null&&Fn.course_school_id&&Bt()},[(_n=(vt=ue==null?void 0:ue.userInfo)==null?void 0:vt.course)==null?void 0:_n.course_school_id]);function Bt(){return ot(this,null,function*(){var cn,Fn;const Xt=yield(0,te.ZP)(`/api/schools/${(Fn=(cn=ue==null?void 0:ue.userInfo)==null?void 0:cn.course)==null?void 0:Fn.course_school_id}/ec_majors/get_major_list.json`,{method:"get"});Cn(Xt==null?void 0:Xt.data),(Pe||Ee)&&$e()})}return console.log(Jt,$t,"datas"),b.createElement("div",{style:{display:(mn=ue.userInfo.course)!=null&&mn.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},Jt==null?void 0:Jt.map((cn,Fn)=>b.createElement("div",{key:cn.id,style:{display:"flex",alignItems:"center",marginBottom:20}},b.createElement(xe,{rz:$t,item:cn,setitem:Xt=>{Xt=_t(_t({},Jt==null?void 0:Jt[Fn]),Xt),Jt.splice(Fn,1,Xt),pt([...Jt]);let Ot=[];Jt==null||Jt.map(Ut=>{var Ht;(Ht=Ut==null?void 0:Ut.ec_point_ids)==null||Ht.map(ha=>{Ot.push(ha)})}),ut(Te(_t({},Xt),{ec_point_ids:Ot}))}}),b.createElement(ae.Z,{className:ie.addIcon,onClick:()=>{Jt.push({id:Math.random()}),pt([...Jt])}}),Fn!=0&&b.createElement(se.Z,{className:ie.deleteIcon,onClick:()=>{Jt.splice(Fn,1);let Xt=[];Jt==null||Jt.map(Ot=>{var Ut;(Ut=Ot==null?void 0:Ot.ec_point_ids)==null||Ut.map(Ht=>{Xt.push(Ht)})}),ut(Te(_t({},Jt[Fn-1]),{ec_point_ids:Xt})),pt([...Jt])}}))))))};var hn=(0,pe.connect)(({user:ue})=>({user:ue}))(Rt),Ft=re(20834),sn=re(71418),Ce=re(38854),it=re(6848),Qt=re(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"},ht=re(49661),Tn=re(57884),kt=re(65526),yt=re(19306),Pt=re(7664),Hn=re(59301),Wn=Object.defineProperty,an=Object.defineProperties,oa=Object.getOwnPropertyDescriptors,Ea=Object.getOwnPropertySymbols,qn=Object.prototype.hasOwnProperty,On=Object.prototype.propertyIsEnumerable,Sa=(ue,Ee,Pe)=>Ee in ue?Wn(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Oa=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))qn.call(Ee,Pe)&&Sa(ue,Pe,Ee[Pe]);if(Ea)for(var Pe of Ea(Ee))On.call(Ee,Pe)&&Sa(ue,Pe,Ee[Pe]);return ue},ka=(ue,Ee)=>an(ue,oa(Ee)),va=(ue,Ee,Pe)=>new Promise((ut,vt)=>{var _n=pt=>{try{Jt(Pe.next(pt))}catch($t){vt($t)}},mn=pt=>{try{Jt(Pe.throw(pt))}catch($t){vt($t)}},Jt=pt=>pt.done?ut(pt.value):Promise.resolve(pt.value).then(_n,mn);Jt((Pe=Pe.apply(ue,Ee)).next())}),Ta=({Itemid:ue,setqitem:Ee,qitem:Pe,data:ut,getdata:vt,bigitem:_n,setBigqitem:mn,isedit:Jt,handleEditing:pt})=>{const[$t,Cn]=(0,b.useState)([]),[$e,Bt]=(0,b.useState)(!1),cn=(Xt,Ot,Ut)=>{const Ht=Array.from(Xt),[ha]=Ht.splice(Ot,1);return Ht.splice(Ut,0,ha),Ht};(0,b.useEffect)(()=>{ut.length>0&&Cn([...ut])},[ut]);const Fn=(Xt,Ot)=>va(void 0,null,function*(){if(!Xt.destination)return;if(Jt){pt();return}const Ut=cn(Ot,Xt.source.index,Xt.destination.index);Bt(!0);let Ht=yield(0,te.ZP)(`/api/exercises/${ue}/adjust_position.json`,{method:"post",body:{id:ue,question_ids:Ut==null?void 0:Ut.map(ha=>ha.question_id)}});Bt(!1),Ht.status===0&&vt({id:Ot==null?void 0:Ot[Xt.source.index].question_id})});return Hn.createElement("div",null,Hn.createElement(yt.Z5,{onDragEnd:Xt=>Fn(Xt,$t)},Hn.createElement(yt.bK,{droppableId:"droppable"},(Xt,Ot)=>Hn.createElement("div",Oa({ref:Xt.innerRef},Xt.droppableProps),Hn.createElement(sn.Z,{spinning:$e},$t.map((Ut,Ht)=>Hn.createElement(yt._l,{key:Ht,draggableId:Ht.toString(),index:Ht},(ha,fn)=>{var pn,Er;return Hn.createElement("aside",Oa(Oa({ref:ha.innerRef},ha.draggableProps),ha.dragHandleProps),Hn.createElement(it.Z,{title:Hn.createElement(Pt.Z,{value:(Ut==null?void 0:Ut.question_type)===8?(pn=Ut==null?void 0:Ut.program_attr)==null?void 0:pn.description:Ut.question_title}),color:"#fff",placement:"left",overlayClassName:nt.titleTooltip},Hn.createElement("div",{onClick:()=>{if(Jt){pt();return}Ee(ka(Oa({},Ut),{index:Ht+1})),mn(_n),(0,ht.Vf)("#question-scroll-id")},className:`${nt.qcount} ${Ut.question_id===(Pe==null?void 0:Pe.question_id)?nt.qcountclick:""}`},Hn.createElement("span",{className:nt.score},Ut==null?void 0:Ut.question_score,"\u5206"),Hn.createElement("span",{className:nt.qtitle},Ht+1,"\u3001",Hn.createElement(Pt.Z,{value:(Ut==null?void 0:Ut.question_type)===8?(Er=Ut==null?void 0:Ut.program_attr)==null?void 0:Er.description:Ut.question_title,showTextOnly:!0})))))}))),Xt.placeholder))))},ga=re(95237),Ra=re(82482),qa=re(78673),Zn=re(61485),yn=re(66052),Gt=re(59301),rn=(ue,Ee,Pe)=>new Promise((ut,vt)=>{var _n=pt=>{try{Jt(Pe.next(pt))}catch($t){vt($t)}},mn=pt=>{try{Jt(Pe.throw(pt))}catch($t){vt($t)}},Jt=pt=>pt.done?ut(pt.value):Promise.resolve(pt.value).then(_n,mn);Jt((Pe=Pe.apply(ue,Ee)).next())}),xa=({form:ue,TagDiscipline:Ee,exerciseitem:Pe,qitem:ut,getTagData:vt})=>{var _n;const[mn,Jt]=(0,b.useState)(!0),[pt,$t]=(0,b.useState)(!1),[Cn,$e]=(0,b.useState)(""),[Bt,cn]=(0,b.useState)([]),[Fn,Xt]=(0,b.useState)([]),[Ot,Ut]=(0,b.useState)(0);(0,b.useEffect)(()=>{ha()},[]);const Ht=fn=>rn(void 0,null,function*(){const pn=yield(0,te.ZP)("/api/tag_disciplines.json",{method:"get",params:{sub_discipline_id:fn==null?void 0:fn.sub_discipline_id}});Xt(pn==null?void 0:pn.tag_disciplines)}),ha=()=>rn(void 0,null,function*(){const fn=yield(0,te.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});cn(fn.disciplines||[]),ut!=null&&ut.sub_discipline_id&&Ht(ut),Ut(ut!=null&&ut.sub_discipline_id?1:0),ue.setFieldsValue({difficulty:ut.difficulty||2,tag_discipline_ids:ut.tag_discipline_ids,repeat_answer:!ut.repeat_answer,sub_discipline_id:ut!=null&&ut.sub_discipline_id?[ut==null?void 0:ut.discipline_id,ut==null?void 0:ut.sub_discipline_id]:[]})});return Gt.createElement("div",null,Gt.createElement("div",{style:{marginTop:30,height:mn?"100%":"0px",overflow:"hidden"}},Gt.createElement(we.default.Item,{className:nt.formcenter,rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u96BE\u5EA6"}],label:"\u96BE\u5EA6",name:"difficulty"},Gt.createElement(Me.ZP.Group,{className:nt.radiogroup},Gt.createElement(Me.ZP.Button,{className:nt.easy,value:1},"\u7B80\u5355"),Gt.createElement(Me.ZP.Button,{className:nt.medium,value:2},"\u9002\u4E2D"),Gt.createElement(Me.ZP.Button,{className:nt.hard,value:3},"\u56F0\u96BE"))),Gt.createElement(we.default.Item,{name:"sub_discipline_id",label:"\u77E5\u8BC6\u70B9",className:nt.formcenterselect},Gt.createElement(De.Z,{className:nt.selectitems1,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:Bt,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(fn,pn)=>{ue.setFieldsValue({sub_discipline_id:fn,tag_discipline_ids:[]}),Ut(fn?fn.length:0),(fn==null?void 0:fn.length)>0&&(Ht({sub_discipline_id:fn[1]}),fn[1]==(ut==null?void 0:ut.sub_discipline_id)&&ue.setFieldValue("tag_discipline_ids",ut.tag_discipline_ids))},onClear:()=>{Xt([]),ue.setFieldValue("tag_discipline_ids",[]),Ut(0)}})),Gt.createElement(we.default.Item,{className:nt.formcenterselect},Gt.createElement("div",{style:{display:"flex",alignItems:"center",paddingLeft:55}},Gt.createElement(we.default.Item,{name:"tag_discipline_ids"},Gt.createElement(he.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:(fn,pn)=>pn.key.indexOf(fn.toLowerCase())>=0},Fn==null?void 0:Fn.map(fn=>Gt.createElement(he.default.Option,{key:fn.name+fn.id,value:fn.id},Gt.createElement("div",{style:{display:"flex",alignItems:"center"}},Gt.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},fn.name),(fn==null?void 0:fn.type)==="personal"&&Gt.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&&Gt.createElement("div",{style:{marginLeft:20,marginTop:"-16px",lineHeight:"48px",height:48,fontSize:14}},Gt.createElement("span",null,"\u6CA1\u6709\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF1F"),Gt.createElement("a",{onClick:()=>{$t(!0)},style:{marginLeft:3,color:"#3061D0"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9")))),Gt.createElement(we.default.Item,{className:nt.formcenterselect},Gt.createElement("div",{style:{display:"flex",alignItems:"center"}},Gt.createElement(we.default.Item,{name:"repeat_answer",valuePropName:"checked"},Gt.createElement(qa.Z,null)),Gt.createElement("div",{style:{marginLeft:10,marginTop:"-16px",lineHeight:"48px",height:48,color:"#000000"}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898",Gt.createElement(it.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"},Gt.createElement(Zn.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))))),Gt.createElement(yn.Z,{open:pt,subDisciplineId:(_n=ue.getFieldValue("sub_discipline_id"))==null?void 0:_n[1],onCancel:()=>{$t(!1)},onOkClick:fn=>{Xt(pn=>[...pn,fn]),ue.setFieldValue("tag_discipline_ids",[...ue.getFieldValue("tag_discipline_ids"),fn==null?void 0:fn.id])}}))},_a=re(59301),La=Object.defineProperty,za=Object.defineProperties,sr=Object.getOwnPropertyDescriptors,$a=Object.getOwnPropertySymbols,ia=Object.prototype.hasOwnProperty,Rr=Object.prototype.propertyIsEnumerable,Lt=(ue,Ee,Pe)=>Ee in ue?La(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,xn=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))ia.call(Ee,Pe)&&Lt(ue,Pe,Ee[Pe]);if($a)for(var Pe of $a(Ee))Rr.call(Ee,Pe)&&Lt(ue,Pe,Ee[Pe]);return ue},na=(ue,Ee)=>za(ue,sr(Ee)),pa=(ue,Ee,Pe)=>new Promise((ut,vt)=>{var _n=pt=>{try{Jt(Pe.next(pt))}catch($t){vt($t)}},mn=pt=>{try{Jt(Pe.throw(pt))}catch($t){vt($t)}},Jt=pt=>pt.done?ut(pt.value):Promise.resolve(pt.value).then(_n,mn);Jt((Pe=Pe.apply(ue,Ee)).next())}),at=({qitem:ue,setisedit:Ee,TagDiscipline:Pe,exerciseitem:ut,seveeditor:vt,deleteitem:_n,getTagData:mn,init:Jt,showTip:pt=!1})=>{var $t;const[Cn]=we.default.useForm();(0,b.useEffect)(()=>{var Bt;Cn.setFieldsValue(na(xn({},ue),{name:ue==null?void 0:ue.question_title,choices:(Bt=ue==null?void 0:ue.question_choices)==null?void 0:Bt.map(cn=>na(xn({},cn),{standard_boolean:cn!=null&&cn.standard_boolean?1:0})),repeat_answer:!(ue!=null&&ue.repeat_answer)}))},[ue]);const $e=Bt=>{if(!(Bt!=null&&Bt.length))return!1;const cn=Bt.map(Xt=>{var Ot;return(Ot=Xt.choice_text)==null?void 0:Ot.trim().replace(/^\s+|\s+$/g,"")});return new Set(cn).size!==cn.length};return _a.createElement("div",null,_a.createElement(we.default,{form:Cn,colon:!1,onFinish:Bt=>{var cn,Fn,Xt,Ot,Ut;if($e(Bt.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 Ht=(Fn=(cn=Bt==null?void 0:Bt.choices)==null?void 0:cn.map)==null?void 0:Fn.call(cn,(fn,pn)=>{if((fn==null?void 0:fn.standard_boolean)===1)return pn+1}),ha=na(xn({},Bt),{item_type:ue==null?void 0:ue.question_type,question_choices:(Ot=(Xt=Bt==null?void 0:Bt.choices)==null?void 0:Xt.map)==null?void 0:Ot.call(Xt,fn=>fn.choice_text),standard_answers:Ht.filter(fn=>fn),choices:(Ut=Bt==null?void 0:Bt.choices)==null?void 0:Ut.map(fn=>na(xn({},fn),{is_answer:fn.standard_boolean}))});vt(xn(xn({},ue),ha))},onFinishFailed:Bt=>pa(void 0,null,function*(){var cn,Fn;Ae.ZP.error(Bt.errorFields[0].errors[0]),Cn.scrollToField((Fn=(cn=Bt==null?void 0:Bt.errorFields)==null?void 0:cn[0])==null?void 0:Fn.name,{behavior:"smooth",block:"center"})})},_a.createElement("div",{style:{display:"flex",alignItems:"center"}},_a.createElement("div",{style:{flex:1}},_a.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),_a.createElement("span",null,(ue==null?void 0:ue.question_type)===1?"\u591A\u9009\u9898":"\u5355\u9009\u9898")),(($t=ut==null?void 0:ut.exercise)==null?void 0:$t.exercise_status)==1&&!(ue!=null&&ue.isadd)&&_a.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{_n()}},_a.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),_a.createElement(ke.ZP,{onClick:()=>{var Bt;ue.isadd?(Ee(!1),Jt()):(Cn.setFieldsValue(na(xn({},ue),{name:ue==null?void 0:ue.question_title,choices:(Bt=ue==null?void 0:ue.question_choices)==null?void 0:Bt.map(cn=>na(xn({},cn),{standard_boolean:cn!=null&&cn.standard_boolean?1:0})),repeat_answer:!(ue!=null&&ue.repeat_answer)})),Ee(!1))}},"\u53D6\u6D88"),_a.createElement(it.Z,{overlayClassName:nt.shake,open:pt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:_a.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},_a.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")},_a.createElement(ke.ZP,{type:"primary",className:"ml20",onClick:()=>pa(void 0,null,function*(){Cn.submit()})},"\u4FDD\u5B58"))),_a.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},_a.createElement(ga.Z,{align:"middle"},_a.createElement(we.default.Item,{className:nt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},_a.createElement(Le.Z,{onBlur:Bt=>{Bt.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}))),_a.createElement(Ra.u,{form:Cn,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"}),_a.createElement(xa,{getTagData:mn,qitem:ue,exerciseitem:ut,TagDiscipline:Pe,form:Cn}))))},ct=re(15460),bt=re(48477),St=re(59301),vn=Object.defineProperty,qt=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,Xe=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,Tt=Object.prototype.propertyIsEnumerable,gn=(ue,Ee,Pe)=>Ee in ue?vn(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,En=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Qe.call(Ee,Pe)&&gn(ue,Pe,Ee[Pe]);if(Xe)for(var Pe of Xe(Ee))Tt.call(Ee,Pe)&&gn(ue,Pe,Ee[Pe]);return ue},ua=(ue,Ee)=>qt(ue,ze(Ee)),Jn=(ue,Ee,Pe)=>new Promise((ut,vt)=>{var _n=pt=>{try{Jt(Pe.next(pt))}catch($t){vt($t)}},mn=pt=>{try{Jt(Pe.throw(pt))}catch($t){vt($t)}},Jt=pt=>pt.done?ut(pt.value):Promise.resolve(pt.value).then(_n,mn);Jt((Pe=Pe.apply(ue,Ee)).next())}),ea=({qitem:ue,TagDiscipline:Ee,exerciseitem:Pe,setisedit:ut,seveeditor:vt,deleteitem:_n,getTagData:mn,init:Jt,showTip:pt=!1})=>{var $t;const[Cn]=we.default.useForm(),$e=we.default.useWatch("use_blank_score",Cn);return(0,b.useEffect)(()=>{Cn.setFieldsValue(ua(En({},ue),{standard_answers:ue.standard_answers||[],name:ue.question_title,repeat_answer:!ue.repeat_answer}))},[ue]),St.createElement("div",null,St.createElement(we.default,{form:Cn,colon:!1,onValuesChange:(Bt,cn)=>{var Fn,Xt,Ot,Ut;if(Bt!=null&&Bt.standard_answers||Bt!=null&&Bt.use_blank_score){let Ht=((Fn=Cn.getFieldValue("standard_answers"))==null?void 0:Fn.length)>0&&((Ot=(Xt=Cn.getFieldValue("standard_answers"))==null?void 0:Xt.map(ha=>ha.score))==null?void 0:Ot.filter(ha=>ha));(Ht==null?void 0:Ht.length)>0&&Cn.setFieldsValue({question_score:(Ht==null?void 0:Ht.length)>0&&((Ut=Ht.reduce((ha,fn)=>ha+fn))==null?void 0:Ut.toFixed(1))})}},onFinish:Bt=>{vt(ua(En(En({},ue),Bt),{item_type:ue==null?void 0:ue.question_type,standard_answers:Bt.standard_answers,question_title:Bt.name}))},onFinishFailed:Bt=>Jn(void 0,null,function*(){var cn,Fn;Bt.errorFields[0].errors[0]==="\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"&&(0,ht.pE)(),Ae.ZP.error(Bt.errorFields[0].errors[0]),Cn.scrollToField((Fn=(cn=Bt==null?void 0:Bt.errorFields)==null?void 0:cn[0])==null?void 0:Fn.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")),(($t=Pe==null?void 0:Pe.exercise)==null?void 0:$t.exercise_status)==1&&!(ue!=null&&ue.isadd)&&St.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{_n()}},St.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),St.createElement(ke.ZP,{onClick:()=>{ue.isadd?(ut(!1),Jt()):(Cn.setFieldsValue(ua(En({},ue),{standard_answers:ue.standard_answers||[],name:ue.question_title,repeat_answer:!ue.repeat_answer})),ut(!1))}},"\u53D6\u6D88"),St.createElement(it.Z,{overlayClassName:nt.shake,open:pt,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(ke.ZP,{type:"primary",className:"ml20",onClick:()=>{Cn.submit()}},"\u4FDD\u5B58"))),St.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},St.createElement(ga.Z,{align:"middle"},$e?St.createElement(bt.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}):St.createElement(we.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:Bt=>{Bt.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(we.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(it.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(ct.u,{form:Cn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:$e,answerKey:"standard_answers"}),St.createElement(xa,{getTagData:mn,qitem:ue,exerciseitem:Pe,TagDiscipline:Ee,form:Cn}))))},Un=re(98815),Wt=re(59301),Na=Object.defineProperty,nr=Object.defineProperties,lo=Object.getOwnPropertyDescriptors,Wa=Object.getOwnPropertySymbols,Vt=Object.prototype.hasOwnProperty,zr=Object.prototype.propertyIsEnumerable,Aa=(ue,Ee,Pe)=>Ee in ue?Na(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,dr=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Vt.call(Ee,Pe)&&Aa(ue,Pe,Ee[Pe]);if(Wa)for(var Pe of Wa(Ee))zr.call(Ee,Pe)&&Aa(ue,Pe,Ee[Pe]);return ue},rr=(ue,Ee)=>nr(ue,lo(Ee)),Kr=(ue,Ee,Pe)=>new Promise((ut,vt)=>{var _n=pt=>{try{Jt(Pe.next(pt))}catch($t){vt($t)}},mn=pt=>{try{Jt(Pe.throw(pt))}catch($t){vt($t)}},Jt=pt=>pt.done?ut(pt.value):Promise.resolve(pt.value).then(_n,mn);Jt((Pe=Pe.apply(ue,Ee)).next())}),ar=({qitem:ue,setisedit:Ee,TagDiscipline:Pe,exerciseitem:ut,seveeditor:vt,deleteitem:_n,getTagData:mn,init:Jt,showTip:pt=!1})=>{var $t;const[Cn]=we.default.useForm();return(0,b.useEffect)(()=>{var $e;Cn.setFieldsValue(rr(dr({},ue),{name:ue.question_title,repeat_answer:!ue.repeat_answer,choices:($e=ue==null?void 0:ue.question_choices)==null?void 0:$e.map(Bt=>rr(dr({},Bt),{is_answer:Bt!=null&&Bt.standard_boolean?1:0}))}))},[ue]),Wt.createElement("div",null,Wt.createElement(we.default,{form:Cn,colon:!1,onFinish:$e=>{var Bt,cn,Fn,Xt;let Ot=(cn=(Bt=$e==null?void 0:$e.choices)==null?void 0:Bt.map)==null?void 0:cn.call(Bt,(Ut,Ht)=>{if((Ut==null?void 0:Ut.is_answer)===1)return Ht+1});vt(rr(dr(dr({},ue),$e),{question_title:$e.name,standard_answers:Ot.filter(Ut=>Ut),question_choices:(Xt=(Fn=$e==null?void 0:$e.choices)==null?void 0:Fn.map)==null?void 0:Xt.call(Fn,Ut=>Ut.choice_text)}))},onFinishFailed:$e=>Kr(void 0,null,function*(){var Bt,cn;Ae.ZP.error($e.errorFields[0].errors[0]),Cn.scrollToField((cn=(Bt=$e==null?void 0:$e.errorFields)==null?void 0:Bt[0])==null?void 0:cn.name,{behavior:"smooth",block:"center"})})},Wt.createElement("div",{style:{display:"flex",alignItems:"center"}},Wt.createElement("div",{style:{flex:1}},Wt.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Wt.createElement("span",null,"\u5224\u65AD\u9898")),(($t=ut==null?void 0:ut.exercise)==null?void 0:$t.exercise_status)==1&&!(ue!=null&&ue.isadd)&&Wt.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{_n()}},Wt.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Wt.createElement(ke.ZP,{onClick:()=>{var $e;ue.isadd?(Ee(!1),Jt()):(Cn.setFieldsValue(rr(dr({},ue),{name:ue.question_title,repeat_answer:!ue.repeat_answer,choices:($e=ue==null?void 0:ue.question_choices)==null?void 0:$e.map(Bt=>rr(dr({},Bt),{is_answer:Bt!=null&&Bt.standard_boolean?1:0}))})),Ee(!1))}},"\u53D6\u6D88"),Wt.createElement(it.Z,{overlayClassName:nt.shake,open:pt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Wt.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Wt.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")},Wt.createElement(ke.ZP,{type:"primary",className:"ml20",onClick:()=>{Cn.submit()}},"\u4FDD\u5B58"))),Wt.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Wt.createElement(we.default.Item,{className:nt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Wt.createElement(Le.Z,{onBlur:$e=>{$e.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})),Wt.createElement(Un.Z,{form:Cn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",choiceKey:""}),Wt.createElement(xa,{getTagData:mn,qitem:ue,exerciseitem:ut,TagDiscipline:Pe,form:Cn}))))},cr=re(36381),ma={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"},nn=re(89389),or=Object.defineProperty,Pr=Object.defineProperties,Dr=Object.getOwnPropertyDescriptors,Ka=Object.getOwnPropertySymbols,wn=Object.prototype.hasOwnProperty,la=Object.prototype.propertyIsEnumerable,Qn=(ue,Ee,Pe)=>Ee in ue?or(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,zn=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))wn.call(Ee,Pe)&&Qn(ue,Pe,Ee[Pe]);if(Ka)for(var Pe of Ka(Ee))la.call(Ee,Pe)&&Qn(ue,Pe,Ee[Pe]);return ue},er=(ue,Ee)=>Pr(ue,Dr(Ee)),yr=(ue,Ee)=>{var Pe={};for(var ut in ue)wn.call(ue,ut)&&Ee.indexOf(ut)<0&&(Pe[ut]=ue[ut]);if(ue!=null&&Ka)for(var ut of Ka(ue))Ee.indexOf(ut)<0&&la.call(ue,ut)&&(Pe[ut]=ue[ut]);return Pe};const hr=ue=>{var Ee=ue,{value:Pe,onChange:ut,scrollId:vt}=Ee,_n=yr(Ee,["value","onChange","scrollId"]);return b.createElement("div",{id:vt||""},b.createElement(nn.Z,er(zn({},_n),{defaultValue:Pe,onChange:(mn,Jt)=>{console.log("a:",mn,Jt),Jt!=null&&Jt.length?ut(mn,Jt):ut(mn)}})))},fr=({value:ue,onChange:Ee,placeholder:Pe,height:ut=140,isEdit:vt})=>vt?b.createElement(nn.Z,{watch:!0,isFocus:!0,height:ut,placeholder:Pe,defaultValue:ue,onChange:Ee}):b.createElement("div",{style:{cursor:"pointer"}},ue?b.createElement(Pt.Z,{className:ma.inputBorder,value:ue}):b.createElement("div",{className:`${ma.inputBorder} ${ma.placeholder}`},Pe));var Ga=re(43604),po=Object.defineProperty,Po=Object.defineProperties,Ci=Object.getOwnPropertyDescriptors,Fr=Object.getOwnPropertySymbols,br=Object.prototype.hasOwnProperty,co=Object.prototype.propertyIsEnumerable,Jr=(ue,Ee,Pe)=>Ee in ue?po(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,mo=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))br.call(Ee,Pe)&&Jr(ue,Pe,Ee[Pe]);if(Fr)for(var Pe of Fr(Ee))co.call(Ee,Pe)&&Jr(ue,Pe,Ee[Pe]);return ue},Vr=(ue,Ee)=>Po(ue,Ci(Ee)),vr=(ue,Ee)=>{var Pe={};for(var ut in ue)br.call(ue,ut)&&Ee.indexOf(ut)<0&&(Pe[ut]=ue[ut]);if(ue!=null&&Fr)for(var ut of Fr(ue))Ee.indexOf(ut)<0&&co.call(ue,ut)&&(Pe[ut]=ue[ut]);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"],Ho=({value:ue,onChange:Ee,choiceTextKey:Pe,answerKey:ut,index:vt,isEdit:_n,setInputActive:mn,form:Jt,choiceOptionsPath:pt,allowChangeMode:$t,showAddIcon:Cn,addItem:$e,deleteItem:Bt})=>{const cn=(ue==null?void 0:ue[ut])===1,Fn=()=>{const Ot=Jt.getFieldValue(pt);Jt.setFieldValue(pt,Ot.map(Ut=>Vr(mo({},Ut),{[ut]:0})))},Xt=()=>{cn?Ee(Vr(mo({},ue),{[ut]:0})):($t||Fn(),Ee(Vr(mo({},ue),{[ut]:1})))};return b.createElement(ga.Z,{className:ma.choiceWrap,align:"middle",wrap:!1},b.createElement(Ga.Z,{onClick:Xt,className:`${ma.choiceIndex} ${cn?ma.activeAnswer:""}`},Zr[vt]),b.createElement(Ga.Z,{flex:1,className:`${ma.editorWrap} ml15`,onClick:mn},b.createElement(fr,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:_n,value:ue==null?void 0:ue[Pe],onChange:Ot=>{Ee(Vr(mo({},ue),{[Pe]:Ot}))}})),b.createElement(Ga.Z,{flex:"0 0 auto",className:"ml15"},b.createElement("div",{onClick:Xt,className:`${ma.setAnswerBtn} ${cn?ma.activeAnswer:""}`},cn?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),b.createElement(Ga.Z,{className:ma.actionWrapper},b.createElement(it.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},b.createElement(ae.Z,{className:ma.addIcon,onClick:$e,style:{visibility:Cn?"visible":"hidden"}})),b.createElement(it.Z,{title:"\u5220\u9664"},b.createElement(se.Z,{className:ma.deleteIcon,onClick:Bt,style:{visibility:vt>1?"visible":"hidden"}}))))},ho=({questionTitlePlaceholder:ue,titleKey:Ee,choiceKey:Pe,analysisKey:ut,choiceTextKey:vt,answerKey:_n,choiceOptionsPath:mn,allowChangeMode:Jt=!0,form:pt,showAnalysis:$t=!0})=>{const[Cn,$e]=(0,b.useState)(),[Bt,cn]=(0,b.useState)(!1);return b.createElement("div",{className:ma.wrap},b.createElement("div",{className:ma.questionTitleEditorWrap},b.createElement(we.default.Item,{label:"\u9898\u5E72",name:Ee,labelCol:{span:24},rules:[{required:!0}]},b.createElement(hr,{scrollId:Array.isArray(Ee)?Ee.join("_"):`${Ee}`,watch:!0,height:140,placeholder:ue}))),b.createElement(we.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),b.createElement(we.default.List,{name:Pe,rules:[{validator(Fn,Xt){const Ot=Xt.some(Ht=>Ht[_n]===1),Ut=Xt.findIndex(Ht=>{var ha;return((ha=Ht[vt])==null?void 0:ha.length)<=0});return Ut!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${Zr[Ut]}\u9009\u9879\u7684\u5185\u5BB9`)):Ot?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(Fn,{add:Xt,remove:Ot})=>b.createElement("div",{id:Array.isArray(mn)?mn.join("_"):`${mn}`},Fn.map((Ut,Ht)=>{var ha=Ut,{key:fn,name:pn}=ha,Er=vr(ha,["key","name"]);const mr=Cn===fn,Ja=()=>{$e(fn)},Io=Ht<7&&Ht===Fn.length-1,ra=()=>Xt({[vt]:"",[_n]:0}),Mr=()=>Ot(pn);return b.createElement(we.default.Item,Vr(mo({},Er),{key:fn,name:pn,noStyle:!0}),b.createElement(Ho,{choiceTextKey:vt,answerKey:_n,index:Ht,isEdit:mr,setInputActive:Ja,form:pt,choiceOptionsPath:mn,allowChangeMode:Jt,showAddIcon:Io,addItem:ra,deleteItem:Mr}))}),Fn.length<8&&b.createElement("div",{className:`${ma.addBtn} mb30`,onClick:()=>Xt({[vt]:"",[_n]:0})},"\u6DFB\u52A0\u9009\u9879"))),$t&&b.createElement("div",{onClick:()=>cn(!0)},b.createElement(we.default.Item,{name:ut,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(fr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Bt}))))};var Qa=re(59301),Vo=Object.defineProperty,Yo=Object.defineProperties,ii=Object.getOwnPropertyDescriptors,Ir=Object.getOwnPropertySymbols,ni=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,xt=(ue,Ee,Pe)=>Ee in ue?Vo(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Kt=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))ni.call(Ee,Pe)&&xt(ue,Pe,Ee[Pe]);if(Ir)for(var Pe of Ir(Ee))Se.call(Ee,Pe)&&xt(ue,Pe,Ee[Pe]);return ue},bn=(ue,Ee)=>Yo(ue,ii(Ee)),Ct=(ue,Ee)=>{var Pe={};for(var ut in ue)ni.call(ue,ut)&&Ee.indexOf(ut)<0&&(Pe[ut]=ue[ut]);if(ue!=null&&Ir)for(var ut of Ir(ue))Ee.indexOf(ut)<0&&Se.call(ue,ut)&&(Pe[ut]=ue[ut]);return Pe};const Vn=({value:ue,onChange:Ee})=>{const Pe=vt=>{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:ma.modal,onOk:()=>{const _n=[...ue];_n.splice(vt,1),Ee(_n)}})},ut=()=>{const vt=[...ue];vt.push(""),Ee(vt)};return Qa.createElement(ga.Z,{className:"ml20"},Qa.createElement(Ga.Z,{flex:1},ue==null?void 0:ue.map((vt,_n)=>Qa.createElement(ga.Z,{key:`${vt}_${_n}`,align:"middle",className:"mb20"},Qa.createElement(Ue.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:vt,autoSize:{maxRows:3},maxLength:1e3,onBlur:mn=>{const Jt=[...ue],pt=mn.target.value.trim();Jt[_n]=pt,Ee(Jt)}}),Qa.createElement(it.Z,{title:"\u5220\u9664"},Qa.createElement(se.Z,{className:ma.deleteIcon,style:{marginLeft:15,visibility:_n>0?"visible":"hidden"},onClick:()=>Pe(_n)}))))),Qa.createElement(Ga.Z,null,Qa.createElement("div",{className:`${ma.addBtn}`,onClick:()=>{ut()}},"\u65B0\u589E\u7B54\u6848")))},Xn=({value:ue=!0,onChange:Ee})=>Qa.createElement(qa.Z,{checked:!ue,onChange:Pe=>{Ee(!Pe)}}),Sn="\u2581",Ln=({questionTitlePlaceholder:ue,form:Ee,name:Pe,scoreByBlank:ut,answerKey:vt,titleKey:_n="name",analysisKey:mn="analysis",isOrdered:Jt="is_ordered"})=>{var pt,$t;const[Cn,$e]=(0,b.useState)(!1),Bt=(fn,pn)=>{const Er=pn.line;let mr=0;for(let Io=0;Io<Er;Io++)mr+=fn.getLine(Io).split(Sn).length-1;const Ja=fn.getLine(Er).substring(0,pn.ch);return mr+=Ja.split(Sn).length-1,mr},cn=(fn,pn,Er,mr)=>{const Ja=fn.getRange(pn.from,pn.to);let Io=0;if(pn.text.forEach(ra=>{Io+=ra.split(Sn).length-1}),pn.origin!=="setValue"){if(Ja&&Ja.indexOf(Sn)!==-1){const ra=Ja.split(Sn).length-1,Mr=Bt(fn,pn.from);if(console.log(`\u5220\u9664${ra}\u4E2A\uFF0C \u524D\u9762\u6709${Mr}\u4E2A\uFF0C\u65B0\u589E${Io}\u4E2A`),ra>1){const ja=Array.from({length:ra},(jr,yo)=>Mr+yo);mr(ja)}else mr(Mr)}else if(Io>0){const ra=Bt(fn,pn.from);console.log(`\u65B0\u589E${Io}\u4E2A\uFF0C\u4E4B\u524D\u6709${ra}\u4E2A`),Er(Io,ra)}}},Fn=()=>{const fn=Ee.getFieldValue(["sub_item_banks",...vt]);Ee.setFieldValue(["sub_item_banks",...vt],fn==null?void 0:fn.map((pn,Er)=>bn(Kt({},pn),{position:Er+1})))},Xt=(0,b.useRef)(),Ot=(fn,pn)=>{for(let Er=0;Er<fn;Er++)Xt.current({position:null,answer_text:[""]},pn+Er);Fn()},Ut=(0,b.useRef)(),Ht=fn=>{Ut.current(fn),Fn()},ha=($t=(pt=Ee.getFieldValue("sub_item_banks"))==null?void 0:pt[vt==null?void 0:vt[0]])==null?void 0:$t[vt==null?void 0:vt[1]];return console.log(Ee==null?void 0:Ee.getFieldValue(["sub_item_banks",...ut])),Qa.createElement("div",{className:ma.wrap},Qa.createElement("div",{className:ma.questionTitleEditorWrap},Qa.createElement(we.default.Item,{label:"\u9898\u5E72",name:_n,labelCol:{span:24},rules:[{required:!0}]},Qa.createElement(hr,{scrollId:"name",watch:!0,height:140,placeholder:ue,showNullButton:!0,onCMBeforeChange:(fn,pn)=>{cn(fn,pn,Ot,Ht)}}))),Qa.createElement(we.default.List,{name:vt,rules:[{validator(fn,pn){if((pn==null?void 0:pn.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Er of pn){const{answer_text:mr}=Er||{};if(mr!=null&&mr.some(Ja=>(Ja==null?void 0:Ja.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(fn,{add:pn,remove:Er},{errors:mr})=>(Xt.current=pn,Ut.current=Er,Qa.createElement(Qa.Fragment,null,Qa.createElement(we.default.Item,{label:Qa.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(fn!=null&&fn.length)&&Qa.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),fn.map((Ja,Io)=>{var ra=Ja,{key:Mr,name:ja}=ra,jr=Ct(ra,["key","name"]);return Qa.createElement(ga.Z,{className:"mb20",key:Mr,align:"top"},Qa.createElement(Ga.Z,{flex:"0 0 auto",className:`${ma.blankIndex} pt5`},"\u586B\u7A7A\u9879",Io+1),Qa.createElement(Ga.Z,{flex:1},Qa.createElement(ga.Z,{align:"top",justify:"space-between"},Qa.createElement(Ga.Z,{flex:1},Qa.createElement(we.default.Item,bn(Kt({},jr),{name:[ja,"answer_text"],noStyle:!0}),Qa.createElement(Vn,null))),(Ee==null?void 0:Ee.getFieldValue(["sub_item_banks",...ut]))&&Qa.createElement(Ga.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},Qa.createElement(we.default.Item,bn(Kt({},jr),{name:[ja,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:ma.blankInputNumberWrapper}),Qa.createElement(Le.Z,{onChange:()=>{var yo,Oo;let Uo=Ee==null?void 0:Ee.getFieldValue(["sub_item_banks",vt==null?void 0:vt[0],"standard_answers"]),Pa=0;for(let Sr in Uo)(yo=Uo[Sr])!=null&&yo.score&&(Pa+=Number((Oo=Uo[Sr])==null?void 0:Oo.score));Ee==null||Ee.setFieldValue(["sub_item_banks",vt==null?void 0:vt[0],"question_score"],Pa)},className:ma.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),Qa.createElement(we.default.Item,bn(Kt({},jr),{name:[ja,"position"],noStyle:!0}),Qa.createElement(Ue.default,{type:"hidden"}))))})))),Qa.createElement(ga.Z,{align:"middle"},Qa.createElement(we.default.Item,{name:[Pe,"downcase"],valuePropName:"checked"},Qa.createElement(qa.Z,null)),Qa.createElement(Ga.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),Qa.createElement(ga.Z,{align:"middle"},Qa.createElement(we.default.Item,{name:[Pe,"no_space"],valuePropName:"checked"},Qa.createElement(qa.Z,null)),Qa.createElement(Ga.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(ha==null?void 0:ha.length)>1&&Qa.createElement(ga.Z,{align:"middle",className:(ha==null?void 0:ha.length)>1?"mb30":`${ma.hide}`},Qa.createElement(we.default.Item,{name:Jt},Qa.createElement(Xn,null)),Qa.createElement(Ga.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")),Qa.createElement("div",{onClick:()=>$e(!0)},Qa.createElement(we.default.Item,{name:mn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Qa.createElement(fr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Cn}))))};var Za=Object.defineProperty,Gn=Object.defineProperties,tn=Object.getOwnPropertyDescriptors,Yt=Object.getOwnPropertySymbols,Bn=Object.prototype.hasOwnProperty,Ba=Object.prototype.propertyIsEnumerable,pr=(ue,Ee,Pe)=>Ee in ue?Za(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,eo=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Bn.call(Ee,Pe)&&pr(ue,Pe,Ee[Pe]);if(Yt)for(var Pe of Yt(Ee))Ba.call(Ee,Pe)&&pr(ue,Pe,Ee[Pe]);return ue},fo=(ue,Ee)=>Gn(ue,tn(Ee)),qo=(ue,Ee)=>{var Pe={};for(var ut in ue)Bn.call(ue,ut)&&Ee.indexOf(ut)<0&&(Pe[ut]=ue[ut]);if(ue!=null&&Yt)for(var ut of Yt(ue))Ee.indexOf(ut)<0&&Ba.call(ue,ut)&&(Pe[ut]=ue[ut]);return Pe};const Bo={\u6B63\u786E:"T",\u9519\u8BEF:"F"},Oi=({value:ue,onChange:Ee,form:Pe,choiceKey:ut})=>{const vt=(ue==null?void 0:ue.is_answer)===1,_n=ue==null?void 0:ue.choice_text,mn=()=>{var Jt;const pt=(Jt=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",...ut]))==null?void 0:Jt.map($t=>({choice_text:$t.choice_text,is_answer:0}));Pe==null||Pe.setFieldValue(["sub_item_banks",...ut],pt),Ee(fo(eo({},ue),{is_answer:1}))};return b.createElement(ga.Z,{className:ma.choiceWrap,align:"middle",wrap:!1},b.createElement(Ga.Z,{onClick:mn,className:`${ma.choiceIndex} ${ma.judgementIndex} ${vt?ma.activeAnswer:""}`},Bo[_n]),b.createElement(Ga.Z,{flex:1,className:`${ma.editorWrap} ml15`},b.createElement("div",{className:`${ma.inputBorder} ${ma.placeholder} ${vt?ma.activeJudgementAnswer:""}`},_n)),b.createElement(Ga.Z,{flex:"0 0 auto",className:"ml15"},b.createElement("div",{onClick:mn,className:`${ma.setAnswerBtn} ${vt?ma.activeAnswer:""}`},vt?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},si=({questionTitlePlaceholder:ue,choiceKey:Ee="choices",form:Pe,titleKey:ut="name",analysisKey:vt="analysis"})=>{const[_n,mn]=(0,b.useState)(!1);return b.createElement("div",{className:ma.wrap},b.createElement("div",{className:ma.questionTitleEditorWrap},b.createElement(we.default.Item,{label:"\u9898\u5E72",name:ut,labelCol:{span:24},rules:[{required:!0}]},b.createElement(hr,{scrollId:"name",watch:!0,height:140,placeholder:ue}))),b.createElement(we.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},b.createElement(we.default.List,{name:Ee,rules:[{validator(Jt,pt){return pt.some(Cn=>(Cn==null?void 0:Cn.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Jt=>b.createElement("div",{id:"choices"},Jt.map(pt=>{var $t=pt,{key:Cn,name:$e}=$t,Bt=qo($t,["key","name"]);return b.createElement(we.default.Item,fo(eo({},Bt),{key:Cn,name:$e,noStyle:!0}),b.createElement(Oi,{form:Pe,choiceKey:Ee}))})))),b.createElement("div",{onClick:()=>mn(!0)},b.createElement(we.default.Item,{name:vt,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(fr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:_n}))))};var tl=re(12563),li={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"},Ml=re(68503),ao=re(22590),Ha=re(59301);const Co=({qitem:ue,form:Ee,exercise:Pe,loading:ut,dispatch:vt,aiReviewSettings:_n=null})=>Ha.createElement("div",{className:li.ai_config},Ha.createElement("div",{style:{lineHeight:"32px",paddingBottom:8}},"\u8BC4\u5206\u6807\u51C6"),Ha.createElement("div",{className:li.pfbz_ts},Ha.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~"),Ha.createElement("div",{className:"flex"},Ha.createElement("div",{className:li.btns_pfbz,onClick:()=>{vt({type:"exercise/setActionTabs",payload:{key:"\u6D4B\u8BD5AI\u8BC4\u5206",questionId:ue==null?void 0:ue.question_id,ai_review_settings:Ee.getFieldValue(_n||"ai_review_settings")}})}},Ha.createElement("img",{src:Ml.Z}),"\u6D4B\u8BD5AI\u8BC4\u5206"))),Ha.createElement("div",{style:{background:"#F6F7F9"}},Ha.createElement(we.default.List,{name:_n||"ai_review_settings"},(mn,{add:Jt,remove:pt})=>mn.map(($t,Cn)=>{var $e;return Ha.createElement(ga.Z,{key:$t.key,style:{padding:"5px 10px 5px 15px"}},Ha.createElement(Ga.Z,{className:li.lable_name1},"\u8BC4\u5206\u9879\u76EE"),Ha.createElement(Ga.Z,null,Ha.createElement(we.default.Item,{className:"ml10",name:[$t.name,"name"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BC4\u5206\u9879\u76EE"}]},Ha.createElement(Ue.default,{onChange:Bt=>{Ee.setFieldValue([$t.name,"content"],Bt.target.value)},placeholder:"\u8BF7\u8F93\u5165\u6700\u591A10\u5B57\u7B26",size:"large",style:{width:142},maxLength:10,className:"mr15"}))),Ha.createElement(Ga.Z,{className:li.lable_name1},"\u8BC4\u5206\u6807\u51C6"),Ha.createElement(Ga.Z,null,Ha.createElement(we.default.Item,{className:"ml10",name:[$t.name,"content"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BC4\u5206\u6807\u51C6"}]},Ha.createElement(Ue.default,{onChange:Bt=>{Ee.setFieldValue([$t.name,"content"],Bt.target.value)},placeholder:"\u8BF7\u8F93\u5165\u8BC4\u5206\u6807\u51C6",size:"large",style:{width:_n?232:318},className:"mr15",maxLength:500}))),Ha.createElement(Ga.Z,{className:li.lable_name1},"\u6743\u91CD"),Ha.createElement(Ga.Z,null,Ha.createElement(we.default.Item,{className:"ml10",name:[$t.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"}]},Ha.createElement(Le.Z,{value:Ee.getFieldValue([$t.name,"weight"]),onChange:Bt=>{Number.isInteger(Bt)||Ee.setFieldValue([$t.name,"weight"],parseFloat(Bt).toFixed(2))},size:"large",addonAfter:"%",placeholder:"\u8BF7\u8F93\u5165\u6743\u91CD",min:.01,step:1,max:100,style:{width:"110px"}}))),Ha.createElement(ga.Z,{className:($e=li)==null?void 0:$e.h_lh_40},Ha.createElement(Ga.Z,null,Ha.createElement("i",{className:"iconfont icon-tianjiatimu ml10 current",style:{color:"#00B187"},onClick:()=>{if(mn.length>=10)return Ae.ZP.info("\u6700\u591A\u53EA\u80FD\u6DFB\u52A010\u4E2A\u8BC4\u5206\u9879\u76EE");Jt()}})),Cn>0&&Ha.createElement(Ga.Z,null,Ha.createElement("i",{className:"iconfont icon-shanjian1 ml10 current",style:{color:"#E30000"},onClick:()=>{pt($t.name)}}))))}))),Ha.createElement(ao.Z,null));var Or=(0,pe.connect)(({exercise:ue,loading:Ee})=>({exercise:ue,loading:Ee.effects}))(Co),Mi=Object.defineProperty,gi=Object.defineProperties,ko=Object.getOwnPropertyDescriptors,Ko=Object.getOwnPropertySymbols,ui=Object.prototype.hasOwnProperty,mi=Object.prototype.propertyIsEnumerable,bl=(ue,Ee,Pe)=>Ee in ue?Mi(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,nl=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))ui.call(Ee,Pe)&&bl(ue,Pe,Ee[Pe]);if(Ko)for(var Pe of Ko(Ee))mi.call(Ee,Pe)&&bl(ue,Pe,Ee[Pe]);return ue},al=(ue,Ee)=>gi(ue,ko(Ee)),rl=(ue,Ee)=>{var Pe={};for(var ut in ue)ui.call(ue,ut)&&Ee.indexOf(ut)<0&&(Pe[ut]=ue[ut]);if(ue!=null&&Ko)for(var ut of Ko(ue))Ee.indexOf(ut)<0&&mi.call(ue,ut)&&(Pe[ut]=ue[ut]);return Pe};const ou=ue=>{var Ee=ue,{value:Pe,onChange:ut}=Ee,vt=rl(Ee,["value","onChange"]);const _n=mn=>{ut([mn])};return b.createElement(nn.Z,al(nl({},vt),{defaultValue:Pe==null?void 0:Pe[0],onChange:_n}))},gl=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},Rl=({value:ue=[],onClose:Ee})=>b.createElement(tl.default,{closable:!0,onClose:Ee,className:ma.keywordTag},b.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},ue.join(" \u6216 "))),as=({questionTitlePlaceholder:ue,form:Ee,showKeywords:Pe,isMustKeyWords:ut=Pe,titleKey:vt="name",analysisKey:_n="analysis",answerTexts:mn="answer_texts",keywords:Jt="keywords",useKeywords:pt="use_keywords",indexs:$t,qitem:Cn,exerciseitem:$e,aiReviewSettings:Bt})=>{var cn,Fn,Xt,Ot,Ut;const[Ht,ha]=(0,b.useState)(!1),[fn,pn]=(0,b.useState)(""),Er=(Fn=(cn=Ee.getFieldValue("sub_item_banks"))==null?void 0:cn[pt==null?void 0:pt[0]])==null?void 0:Fn[pt==null?void 0:pt[1]],mr=(Ot=(Xt=Ee.getFieldValue("sub_item_banks"))==null?void 0:Xt[pt==null?void 0:pt[0]])==null?void 0:Ot.question_score;return b.createElement("div",{className:ma.wrap},b.createElement("div",{className:ma.questionTitleEditorWrap},b.createElement(we.default.Item,{label:"\u9898\u5E72",name:vt,labelCol:{span:24},rules:[{required:!0}]},b.createElement(hr,{scrollId:"name",watch:!0,height:140,placeholder:ue}))),b.createElement(we.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:mn,labelCol:{span:24}},b.createElement(ou,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Pe&&!ut&&b.createElement(we.default.Item,{hidden:!0,name:pt,valuePropName:"checked"},b.createElement(qa.Z,{defaultChecked:!0})),Pe&&ut&&b.createElement(ga.Z,{align:"middle",className:"mb30"},b.createElement(we.default.Item,{name:pt,valuePropName:"checked"},b.createElement(qa.Z,null)),b.createElement(Ga.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),b.createElement(Ga.Z,null,b.createElement(it.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(Zn.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(Er||!ut)&&b.createElement(we.default.List,{name:Jt,rules:[{validator(Ja,Io){return ut?Io!=null&&Io.length?(Io==null?void 0:Io.reduce((Mr,ja)=>Mr+ja.score,0))>parseFloat(mr)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},(Ja,{add:Io,remove:ra})=>b.createElement(b.Fragment,null,b.createElement("div",{className:`${ma.title} mb10`},ut?"\u5173\u952E\u8BCD":b.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),b.createElement(ga.Z,{align:"middle",className:"font14 mb30"},b.createElement(Ga.Z,{flex:1},b.createElement(Ue.default,{value:fn,onChange:Mr=>{pn(Mr.target.value)},maxLength:50,allowClear:!0,onPressEnter:Mr=>{var ja,jr,yo,Oo;const Uo=`${(ja=Mr.target)==null?void 0:ja.value}`,Pa=(yo=(jr=Uo==null?void 0:Uo.split("|"))==null?void 0:jr.filter(wo=>!!wo))==null?void 0:yo.map(wo=>wo==null?void 0:wo.trim()),Sr=Ee.getFieldValue(["sub_item_banks",...Jt]),bi=((Oo=Sr==null?void 0:Sr.map(wo=>wo==null?void 0:wo.keyword))==null?void 0:Oo.flat())||[];for(const wo of Pa)if(bi.includes(wo)){Ae.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}gl(Uo)&&(Io({keyword:Pa,score:1}),pn(""))},className:ma.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(Ga.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),Ja.map(Mr=>{var ja=Mr,{key:jr,name:yo}=ja,Oo=rl(ja,["key","name"]);return b.createElement(ga.Z,{key:jr,className:"mb20",style:{marginRight:148}},b.createElement(Ga.Z,{flex:1},b.createElement(ga.Z,{align:"middle",justify:"space-between"},b.createElement(we.default.Item,al(nl({},Oo),{name:[yo,"keyword"]}),b.createElement(Rl,{onClose:()=>ra(yo)})),ut&&b.createElement(we.default.Item,al(nl({},Oo),{name:[yo,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:ma.blankInputNumberWrapper}),b.createElement(Le.Z,{className:ma.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),b.createElement("div",{onClick:()=>ha(!0)},b.createElement(we.default.Item,{name:_n,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(fr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ht}))),((Ut=$e==null?void 0:$e.exercise)==null?void 0:Ut.is_open_ai_review)&&b.createElement(Or,{form:Ee,qitem:Cn,aiReviewSettings:Bt}))};var kr=re(59301),Cu=Object.defineProperty,wu=Object.defineProperties,rs=Object.getOwnPropertyDescriptors,Ri=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(Ri)for(var Pe of Ri(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 ut in ue)zu.call(ue,ut)&&Ee.indexOf(ut)<0&&(Pe[ut]=ue[ut]);if(ue!=null&&Ri)for(var ut of Ri(ue))Ee.indexOf(ut)<0&&Lu.call(ue,ut)&&(Pe[ut]=ue[ut]);return Pe};const{Panel:Iu}=cr.default,Ou=({questionTitlePlaceholder:ue,choiceKey:Ee,form:Pe,withScore:ut,exerciseitem:vt})=>{const _n=[{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"}],[mn,Jt]=(0,b.useState)(),[pt,$t]=(0,b.useState)([]),Cn=Bt=>{$t(Bt)},$e=({value:Bt})=>kr.createElement("div",{style:{width:150,paddingLeft:11}},Bt);return kr.createElement("div",{className:ma.wrap},kr.createElement("div",{className:ma.questionTitleEditorWrap},kr.createElement(we.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},kr.createElement(hr,{scrollId:"name",watch:!0,height:140,placeholder:ue}))),kr.createElement(we.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),kr.createElement(we.default.List,{name:"sub_item_banks",rules:[{validator(Bt,cn){return cn?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Bt,{add:cn,remove:Fn,move:Xt})=>{const Ot=Pe.getFieldValue("sub_item_banks");return kr.createElement(kr.Fragment,null,kr.createElement(cr.default,{className:Bt.length>0?ma.collapseWrapper:"",bordered:!1,activeKey:pt,onChange:Cn,expandIcon:({isActive:Ut})=>kr.createElement("i",{className:`iconfont icon-weizhankai ${Ut?ma.open:ma.close}`,style:{fontSize:14,transition:"all .2s"}})},Bt.map((Ut,Ht)=>{var ha=Ut,{key:fn,name:pn}=ha,Er=Vu(ha,["key","name"]),mr,Ja,Io,ra,Mr,ja,jr,yo,Oo,Uo,Pa,Sr,bi,wo;return kr.createElement(Iu,{className:ma.panel,forceRender:!0,header:kr.createElement("div",{className:ma.panelHeader},"\u7B2C",Ht+1,"\u5C0F\u9898",kr.createElement("span",null,"\uFF08",((mr=Ot==null?void 0:Ot[pn])==null?void 0:mr.question_type)==0?"\u5355\u9009\u9898":((Ja=Ot==null?void 0:Ot[pn])==null?void 0:Ja.question_type)==1?"\u591A\u9009\u9898":((Io=Ot==null?void 0:Ot[pn])==null?void 0:Io.question_type)==3?"\u586B\u7A7A\u9898":((ra=Ot==null?void 0:Ot[pn])==null?void 0:ra.question_type)==2?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:pn,extra:kr.createElement(ga.Z,{align:"middle",onClick:Dn=>Dn.stopPropagation()},((Mr=Ot==null?void 0:Ot[pn])==null?void 0:Mr.question_type)==3&&kr.createElement(kr.Fragment,null,kr.createElement(Me.ZP.Group,{defaultValue:(ja=Ot==null?void 0:Ot[pn])==null?void 0:ja.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 ci,_i,vi,wi,Ti;if(Pe==null||Pe.setFieldValue(["sub_item_banks",pn,"use_blank_score"],(ci=Dn==null?void 0:Dn.target)==null?void 0:ci.value),(_i=Dn==null?void 0:Dn.target)!=null&&_i.value){let ri=0;for(let ul in(vi=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",pn]))==null?void 0:vi.standard_answers)ri+=Number((Ti=(wi=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",pn]))==null?void 0:wi.standard_answers[ul])==null?void 0:Ti.score);Pe==null||Pe.setFieldValue(["sub_item_banks",pn,"question_score"],ri||"")}Jt(new Date)}}),kr.createElement(it.Z,{overlayInnerStyle:{width:460},title:kr.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",kr.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")},kr.createElement("i",{className:"icon-tishixiaowenhao font18 mr25 c-3061d0"}))),ut&&kr.createElement(we.default.Item,iu(Nu({},Er),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[pn,"question_score"],className:ma.blankInputNumberWrapper}),((jr=Ot==null?void 0:Ot[pn])==null?void 0:jr.question_type)==3&&((yo=Ot==null?void 0:Ot[pn])!=null&&yo.use_blank_score)?kr.createElement($e,null):kr.createElement(Le.Z,{className:ma.blankInput,placeholder:"\u8BF7\u8F93\u5165\u5206\u6570",min:.1,precision:1,max:100,style:{width:150}})),kr.createElement(ga.Z,{align:"middle",className:"pl40",style:{width:82}},Ht!==0&&kr.createElement("div",{onClick:()=>{var Dn;Xt(Ht,Ht-1);const ci=(Dn=Pe.getFieldValue("sub_item_banks"))==null?void 0:Dn.map((_i,vi)=>(Bt.map((wi,Ti)=>{vi===Ti&&(_i.q_position=Number(wi.name)+1)}),_i));Pe.setFieldValue("sub_item_banks",ci)}},kr.createElement(it.Z,{title:"\u4E0A\u79FB"},kr.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),Ht<Bt.length-1&&kr.createElement("div",{onClick:()=>{var Dn;Xt(Ht,Ht+1);const ci=(Dn=Pe.getFieldValue("sub_item_banks"))==null?void 0:Dn.map((_i,vi)=>(Bt.map((wi,Ti)=>{vi===Ti&&(_i.q_position=Number(wi.name)+1)}),_i));Pe.setFieldValue("sub_item_banks",ci)},className:Ht===0?"":"ml10"},kr.createElement(it.Z,{title:"\u4E0B\u79FB"},kr.createElement("i",{className:"iconfont icon-xiayi3 c-grey-999 primary-hover"})))),kr.createElement(it.Z,{title:"\u5220\u9664"},kr.createElement(se.Z,{className:`${ma.deleteIcon} ml40`,onClick:()=>Fn(pn)})))},kr.createElement(we.default.Item,iu(Nu({},Er),{name:pn}),(((Oo=Ot==null?void 0:Ot[pn])==null?void 0:Oo.question_type)==0||((Uo=Ot==null?void 0:Ot[pn])==null?void 0:Uo.question_type)==1)&&kr.createElement(ho,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((Pa=Ot==null?void 0:Ot[pn])==null?void 0:Pa.question_type)==1,form:Pe,choiceKey:[pn,"choices"],titleKey:[pn,"name"],analysisKey:[pn,"analysis"],choiceOptionsPath:["sub_item_banks",pn,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((Sr=Ot==null?void 0:Ot[pn])==null?void 0:Sr.question_type)==3&&kr.createElement(Ln,{form:Pe,name:pn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:[pn,"use_blank_score"],titleKey:[pn,"name"],analysisKey:[pn,"analysis"],isOrdered:[pn,"is_ordered"],answerKey:[pn,"standard_answers"],key:mn}),((bi=Ot==null?void 0:Ot[pn])==null?void 0:bi.question_type)==2&&kr.createElement(si,{form:Pe,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[pn,"name"],analysisKey:[pn,"analysis"],choiceKey:[pn,"choices"]}),((wo=Ot==null?void 0:Ot[pn])==null?void 0:wo.question_type)==4&&kr.createElement(as,{showKeywords:!0,isMustKeyWords:!0,form:Pe,titleKey:[pn,"name"],analysisKey:[pn,"analysis"],answerTexts:[pn,"answer_texts"],useKeywords:[pn,"use_keywords"],keywords:[pn,"keywords"],aiReviewSettings:[pn,"ai_review_settings"],indexs:pn,qitem:Ot==null?void 0:Ot[pn],questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9",exerciseitem:vt})))})),Bt.length<20&&kr.createElement(Ce.Z,{menu:{items:[{label:kr.createElement("div",{onClick:()=>{cn({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:0,item_type:"SINGLE"}),$t([Bt==null?void 0:Bt.length,...pt])}},"\u5355\u9009\u9898"),key:"1",show:!0},{label:kr.createElement("div",{onClick:()=>{cn({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:1,item_type:"MULTIPLE"}),$t([Bt==null?void 0:Bt.length,...pt])}},"\u591A\u9009\u9898"),key:"2",show:!0},{label:kr.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"}),$t([Bt==null?void 0:Bt.length,...pt])}},"\u5224\u65AD\u9898"),key:"3",show:!0},{label:kr.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}),$t([Bt==null?void 0:Bt.length,...pt])}},"\u586B\u7A7A\u9898"),key:"4",show:!0},{label:kr.createElement("div",{onClick:()=>{cn({name:"",answer_texts:[],keywords:[],use_keywords:!1,analysis:"",question_type:4,item_type:"SUBJECTIVE"}),$t([Bt==null?void 0:Bt.length,...pt])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(Ut=>Ut.show).map(Ut=>({label:Ut.label,key:Ut.key}))}},kr.createElement("div",{className:`${ma.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var ki=re(59301),Wu=Object.defineProperty,Bu=Object.defineProperties,Bi=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,Bi(Ee)),is=(ue,Ee,Pe)=>new Promise((ut,vt)=>{var _n=pt=>{try{Jt(Pe.next(pt))}catch($t){vt($t)}},mn=pt=>{try{Jt(Pe.throw(pt))}catch($t){vt($t)}},Jt=pt=>pt.done?ut(pt.value):Promise.resolve(pt.value).then(_n,mn);Jt((Pe=Pe.apply(ue,Ee)).next())}),ls=({qitem:ue,setisedit:Ee,TagDiscipline:Pe,exerciseitem:ut,seveeditor:vt,deleteitem:_n,getTagData:mn,init:Jt,showTip:pt=!1})=>{var $t;const[Cn]=we.default.useForm(),{unified_ai_setting:$e,ai_review_settings:Bt}=ut==null?void 0:ut.exercise;(0,b.useEffect)(()=>{var Fn;Cn.setFieldsValue(Bl(Cl({},ue),{name:ue.question_title,sub_item_banks:(Fn=ue.sub_exercise_questions)==null?void 0:Fn.map(Xt=>{var Ot,Ut;if(Xt.question_type==4){const Ht=$e?Bt:((Ot=Xt==null?void 0:Xt.ai_review_settings)==null?void 0:Ot.length)>0?Xt.ai_review_settings:Bt;Xt.ai_review_settings=Ht}return Bl(Cl({},Xt),{name:Xt.question_title,choices:(Ut=Xt==null?void 0:Xt.question_choices)==null?void 0:Ut.map(Ht=>Bl(Cl({},Ht),{is_answer:Ht!=null&&Ht.standard_boolean?1:0}))})}),repeat_answer:!ue.repeat_answer}))},[ue]);const cn=Fn=>{if(!(Fn!=null&&Fn.length))return!1;const Xt=Fn.map(Ut=>{var Ht;return(Ht=Ut.choice_text)==null?void 0:Ht.trim().replace(/^\s+|\s+$/g,"")});return new Set(Xt).size!==Xt.length};return ki.createElement("div",null,ki.createElement(we.default,{form:Cn,colon:!1,onValuesChange:(Fn,Xt)=>{var Ot,Ut,Ht,ha;if(Fn!=null&&Fn.sub_item_banks){let fn=((Ot=Cn.getFieldValue("sub_item_banks"))==null?void 0:Ot.length)>0&&((Ht=(Ut=Cn.getFieldValue("sub_item_banks"))==null?void 0:Ut.map(pn=>{var Er;if(pn.question_type==3&&(pn!=null&&pn.use_blank_score)){let mr=0;for(let Ja in pn==null?void 0:pn.standard_answers)mr+=Number((Er=pn==null?void 0:pn.standard_answers[Ja])==null?void 0:Er.score);return mr}else return pn.question_score}))==null?void 0:Ht.filter(pn=>pn));(fn==null?void 0:fn.length)>0&&Cn.setFieldsValue({question_score:(ha=parseFloat(fn.reduce((pn,Er)=>parseFloat(pn)+parseFloat(Er))))==null?void 0:ha.toFixed(1)})}},onFinish:Fn=>{var Xt,Ot;if((Xt=Fn.sub_item_banks)==null?void 0:Xt.some(Ht=>Ht.question_type===0||Ht.question_type===1?cn(Ht.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}vt(Bl(Cl(Cl({},ue),Fn),{question_title:Fn.name,sub_questions:(Ot=Fn==null?void 0:Fn.sub_item_banks)==null?void 0:Ot.map(Ht=>{var ha,fn,pn,Er;return(Ht==null?void 0:Ht.question_type)==3?Bl(Cl({},Ht),{question_title:Ht.name,item_type:Ht==null?void 0:Ht.question_type}):Bl(Cl({},Ht),{question_title:Ht.name,question_choices:(fn=(ha=Ht==null?void 0:Ht.choices)==null?void 0:ha.map)==null?void 0:fn.call(ha,mr=>mr.choice_text),standard_answers:(Er=(pn=Ht==null?void 0:Ht.choices)==null?void 0:pn.map)==null?void 0:Er.call(pn,(mr,Ja)=>(mr==null?void 0:mr.is_answer)===1&&Ja+1).filter(mr=>mr),item_type:Ht==null?void 0:Ht.question_type})})}))},onFinishFailed:Fn=>is(void 0,null,function*(){var Xt,Ot;Ae.ZP.error(Fn.errorFields[0].errors[0]),Cn.scrollToField((Ot=(Xt=Fn==null?void 0:Fn.errorFields)==null?void 0:Xt[0])==null?void 0:Ot.name,{behavior:"smooth",block:"center"})})},ki.createElement("div",{style:{display:"flex",alignItems:"center"}},ki.createElement("div",{style:{flex:1}},ki.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),ki.createElement("span",null,"\u7EC4\u5408\u9898")),(($t=ut==null?void 0:ut.exercise)==null?void 0:$t.exercise_status)==1&&!(ue!=null&&ue.isadd)&&ki.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{_n()}},ki.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),ki.createElement(ke.ZP,{onClick:()=>{var Fn;ue.isadd?(Ee(!1),Jt()):(Cn.setFieldsValue(Bl(Cl({},ue),{name:ue.question_title,sub_item_banks:(Fn=ue.sub_exercise_questions)==null?void 0:Fn.map(Xt=>{var Ot;return Bl(Cl({},Xt),{name:Xt.question_title,choices:(Ot=Xt==null?void 0:Xt.question_choices)==null?void 0:Ot.map(Ut=>Bl(Cl({},Ut),{is_answer:Ut!=null&&Ut.standard_boolean?1:0}))})}),repeat_answer:!ue.repeat_answer})),Ee(!1))}},"\u53D6\u6D88"),ki.createElement(it.Z,{overlayClassName:nt.shake,open:pt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:ki.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},ki.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")},ki.createElement(ke.ZP,{className:"ml20",type:"primary",onClick:()=>{Cn.submit()}},"\u4FDD\u5B58"))),ki.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},ki.createElement(bt.Z,{text:"\uFF08\u7EC4\u5408\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5C0F\u9898\u5206\u503C\u4E4B\u548C\uFF09"}),ki.createElement(Ou,{form:Cn,withScore:!0,choiceKey:"",exerciseitem:ut,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7EC4\u5408\u9898\u9898\u5E72\u5185\u5BB9"}),ki.createElement(xa,{getTagData:mn,qitem:ue,exerciseitem:ut,TagDiscipline:Pe,form:Cn}))))},Jo=re(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,ol=(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},ml=(ue,Ee)=>ss(ue,ds(Ee)),yu=(ue,Ee,Pe)=>new Promise((ut,vt)=>{var _n=pt=>{try{Jt(Pe.next(pt))}catch($t){vt($t)}},mn=pt=>{try{Jt(Pe.throw(pt))}catch($t){vt($t)}},Jt=pt=>pt.done?ut(pt.value):Promise.resolve(pt.value).then(_n,mn);Jt((Pe=Pe.apply(ue,Ee)).next())}),Ku=({qitem:ue,setqitem:Ee,setisedit:Pe,TagDiscipline:ut,exerciseitem:vt,seveeditor:_n,deleteitem:mn,showTip:Jt})=>{var pt,$t;const[Cn]=we.default.useForm();return(0,b.useEffect)(()=>{var $e,Bt;Cn.setFieldsValue(ml(ol({},ue),{name:ue==null?void 0:ue.question_title,choices:($e=ue==null?void 0:ue.question_choices)==null?void 0:$e.map(cn=>ml(ol({},cn),{standard_boolean:cn!=null&&cn.standard_boolean?1:0})),repeat_answer:!(ue!=null&&ue.repeat_answer)})),ue.shixun=(Bt=ue==null?void 0:ue.shixun)==null?void 0:Bt.map(cn=>ml(ol({},cn),{defaultscore:cn.challenge_score}))},[]),Jo.createElement("div",null,Jo.createElement(we.default,{form:Cn,colon:!1,onFinish:$e=>{var Bt,cn;let Fn=ml(ol({},$e),{question_scores:(Bt=ue==null?void 0:ue.shixun)==null?void 0:Bt.map(Xt=>Xt.challenge_score),item_type:ue==null?void 0:ue.question_type,choices:(cn=$e==null?void 0:$e.choices)==null?void 0:cn.map(Xt=>ml(ol({},Xt),{is_answer:Xt.standard_boolean}))});_n(ol(ol({},ue),Fn))},onFinishFailed:$e=>yu(void 0,null,function*(){var Bt,cn;Ae.ZP.error($e.errorFields[0].errors[0]),Cn.scrollToField((cn=(Bt=$e==null?void 0:$e.errorFields)==null?void 0:Bt[0])==null?void 0:cn.name,{behavior:"smooth",block:"center"})})},Jo.createElement("div",{style:{display:"flex",alignItems:"center"}},Jo.createElement("div",{style:{flex:1}},Jo.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Jo.createElement("span",null,"\u5B9E\u8BAD\u9898")),((pt=vt==null?void 0:vt.exercise)==null?void 0:pt.exercise_status)==1&&!(ue!=null&&ue.isadd)&&Jo.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{mn()}},Jo.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Jo.createElement(ke.ZP,{onClick:()=>{var $e,Bt;Cn.setFieldsValue(ml(ol({},ue),{name:ue==null?void 0:ue.question_title,choices:($e=ue==null?void 0:ue.question_choices)==null?void 0:$e.map(cn=>ml(ol({},cn),{standard_boolean:cn!=null&&cn.standard_boolean?1:0})),repeat_answer:!(ue!=null&&ue.repeat_answer)})),ue.shixun=(Bt=ue==null?void 0:ue.shixun)==null?void 0:Bt.map(cn=>ml(ol({},cn),{challenge_score:cn.defaultscore})),Ee(ol({},ue)),Pe(!1)}},"\u53D6\u6D88"),Jo.createElement(it.Z,{overlayClassName:nt.shake,open:Jt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Jo.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Jo.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")},Jo.createElement(ke.ZP,{className:"ml20",type:"primary",onClick:()=>yu(void 0,null,function*(){var $e,Bt,cn;if(((Bt=($e=ue==null?void 0:ue.shixun)==null?void 0:$e.map)==null?void 0:Bt.call($e,Fn=>Fn.challenge_score).filter(Fn=>Fn).length)<((cn=ue==null?void 0:ue.shixun)==null?void 0:cn.length)){Ae.ZP.info("\u5206\u6570\u4E0D\u80FD\u4E3A\u7A7A");return}Cn.submit()})},"\u4FDD\u5B58"))),Jo.createElement(bt.Z,{text:"\uFF08\u5B9E\u8BAD\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5173\u5361\u5206\u503C\u4E4B\u548C\uFF09"}),Jo.createElement(we.default.Item,{label:"\u9898\u5E72",name:"question_title",labelCol:{span:24},rules:[{required:!0}]},Jo.createElement(nn.Z,{watch:!0,height:140,placeholder:"",defaultValue:ue.question_title}))),Jo.createElement(ga.Z,{style:{marginBottom:15},align:"middle",justify:"space-between"},Jo.createElement("div",null,Jo.createElement("span",{style:{color:"red"}},"*"),"\u5173\u5361\u540D\u79F0"),Jo.createElement("a",{href:`/shixuns/${ue==null?void 0:ue.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Jo.createElement("i",{onClick:()=>{},className:"iconfont icon-shixunkecheng font14 mr5"}),"\u5B9E\u8BAD\u8BE6\u60C5")),($t=ue==null?void 0:ue.shixun)==null?void 0:$t.map(($e,Bt)=>Jo.createElement("div",{style:{display:"flex",marginBottom:20}},Jo.createElement("div",{style:{flex:1}},Bt+1,"\u3001",$e.challenge_name),Jo.createElement("div",null,Jo.createElement("span",{style:{color:"red"}},"*"),"\u5206\u503C",Jo.createElement(Le.Z,{precision:1,value:$e==null?void 0:$e.challenge_score,onChange:cn=>{const Fn=JSON.parse(JSON.stringify((ue==null?void 0:ue.shixun)||[]));Fn[Bt].challenge_score=cn;const Xt=Fn.every(Ut=>!Ut.challenge_score),Ot=parseFloat(Fn==null?void 0:Fn.map(Ut=>Ut.challenge_score).reduce((Ut,Ht)=>parseFloat(Ut||0)+parseFloat(Ht||0)));Cn.setFieldsValue({question_score:Xt?"":Ot.toFixed(1)}),Ee(ml(ol({},ue),{shixun:Fn}))},max:200,min:.1,style:{marginLeft:10,width:150},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",size:"middle"})))))},ya={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=re(1710),_u=re(65986),Fu=re(24334),Yn=re(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,ut,vt,_n,mn,Jt,pt,$t,Cn,$e,Bt,cn,Fn,Xt,Ot,Ut,Ht,ha,fn,pn,Er,mr,Ja,Io;return Yn.createElement("div",{className:ya.warp},((ue==null?void 0:ue.question_type)===0||(ue==null?void 0:ue.question_type)===2)&&Yn.createElement("div",{className:ya.normalWrap},(Pe=ue==null?void 0:ue.question_choices)==null?void 0:Pe.map((ra,Mr)=>Yn.createElement("div",{className:ya.redio},!(ra!=null&&ra.standard_boolean)&&Yn.createElement("span",{className:ya.redioitem}),(ra==null?void 0:ra.standard_boolean)&&Yn.createElement("i",{className:`${ya.redioitemyes} icon-duigou1`}),Yn.createElement("span",{className:`${ra!=null&&ra.standard_boolean?ya.titleyes:ya.title} ${ya.indexTag}`},(ue==null?void 0:ue.question_type)===0?Xl[Mr]:""),Yn.createElement(Pt.Z,{className:ra!=null&&ra.standard_boolean?ya.titleyes:ya.title,value:ra==null?void 0:ra.choice_text}),(ra==null?void 0:ra.standard_boolean)&&Yn.createElement("div",{className:ya.yestag},"\u6B63\u786E\u7B54\u6848")))),(ue==null?void 0:ue.question_type)===1&&Yn.createElement("div",{className:ya.normalWrap},(ut=ue==null?void 0:ue.question_choices)==null?void 0:ut.map((ra,Mr)=>Yn.createElement("div",{className:ya.checkbox},!(ra!=null&&ra.standard_boolean)&&Yn.createElement("span",{className:ya.checkboxitem}),(ra==null?void 0:ra.standard_boolean)&&Yn.createElement("i",{className:`${ya.checkboxitemyes} icon-duigou1`}),Yn.createElement("span",{className:`${ra!=null&&ra.standard_boolean?ya.titleyes:ya.title} ${ya.indexTag}`},Xl[Mr]),Yn.createElement(Pt.Z,{className:ra!=null&&ra.standard_boolean?ya.titleyes:ya.title,value:ra==null?void 0:ra.choice_text}),(ra==null?void 0:ra.standard_boolean)&&Yn.createElement("div",{className:ya.yestag},"\u6B63\u786E\u7B54\u6848")))),(ue==null?void 0:ue.question_type)===3&&Yn.createElement("div",{className:ya.completion},(vt=ue==null?void 0:ue.standard_answers)==null?void 0:vt.map((ra,Mr)=>{var ja;return Yn.createElement(ga.Z,{align:"top"},Yn.createElement("span",{className:ya.title},"\u586B\u7A7A\u9879",Mr+1),Yn.createElement("div",{className:ya.content},(ja=ra.answer_text)==null?void 0:ja.map((jr,yo)=>Yn.createElement("div",{key:yo,className:ya.items,style:(ra==null?void 0:ra.model)===2?{border:0,padding:0}:{}},(ra==null?void 0:ra.model)===1?Yn.createElement("pre",{className:"mb0"},jr):Yn.createElement(_u.Z,{value:jr,disabled:!0})))))})),(ue==null?void 0:ue.question_type)===4&&Yn.createElement("div",{className:ya.simple},Yn.createElement("div",{className:ya.title},"\u53C2\u8003\u7B54\u6848"),Yn.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(_n=ue==null?void 0:ue.answer_texts)!=null&&_n[0]?Yn.createElement(Pt.Z,{className:ya.content,value:(mn=ue==null?void 0:ue.answer_texts)==null?void 0:mn[0]}):Yn.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),Yn.createElement("div",{className:"mt20 "},Yn.createElement("span",{className:ya.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),Yn.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&&Yn.createElement("div",{className:ya.shixunWrapper},(Jt=ue==null?void 0:ue.shixun)==null?void 0:Jt.map((ra,Mr)=>{var ja,jr;return Yn.createElement("div",null,Yn.createElement("div",{key:Mr,className:`${ya.shixun} mb30`},Yn.createElement("span",{className:ya.score},"\uFF08",ra==null?void 0:ra.challenge_score,"\u5206\uFF09"),Yn.createElement("span",{className:ya.qtitle},(ue==null?void 0:ue.index)+"."+(Mr+1),"\u3001",ra==null?void 0:ra.challenge_name)),((jr=(ja=Ee==null?void 0:Ee.editData)==null?void 0:ja.exercise)==null?void 0:jr.show_challenge_task_pass)&&Yn.createElement(Pt.Z,{className:ya.content,value:(ra==null?void 0:ra.task_pass)||"\u6682\u65E0\u5173\u5361\u63CF\u8FF0"}))})),(ue==null?void 0:ue.question_type)===6&&Yn.createElement("div",{className:ya.program,style:{border:!(($t=(pt=Ee==null?void 0:Ee.editData)==null?void 0:pt.exercise)!=null&&$t.show_hack_sets)&&!(($e=(Cn=Ee==null?void 0:Ee.editData)==null?void 0:Cn.exercise)!=null&&$e.show_hack_description)&&"none"}},((cn=(Bt=Ee==null?void 0:Ee.editData)==null?void 0:Bt.exercise)==null?void 0:cn.show_hack_sets)&&Yn.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},Yn.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},Yn.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),Yn.createElement(cs.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(ra,Mr,ja)=>ja+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(ra,Mr,ja)=>Yn.createElement(it.Z,{title:Yn.createElement("pre",null,ra)},Yn.createElement("div",{className:ya.divname},ra))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(ra,Mr,ja)=>Yn.createElement(it.Z,{title:Yn.createElement("pre",null,ra)}," ",Yn.createElement("div",{className:ya.divname},ra))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:ue==null?void 0:ue.hack_sets})),((Xt=(Fn=Ee==null?void 0:Ee.editData)==null?void 0:Fn.exercise)==null?void 0:Xt.show_hack_description)&&Yn.createElement("div",null,Yn.createElement(Pt.Z,{className:ya.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((ra,Mr)=>{var ja,jr,yo,Oo,Uo,Pa;return Yn.createElement("div",{key:Mr},Yn.createElement("div",{className:ya.combination},Yn.createElement("span",{className:ya.score},ra==null?void 0:ra.question_score,"\u5206"),Yn.createElement("span",{className:ya.qtype},(ja=gs.find(Sr=>Sr.type==ra.question_type))==null?void 0:ja.name),Yn.createElement("span",{className:ya.qtitle},Mr+1,"\u3001",ra==null?void 0:ra.question_title)),(ra.question_type===0||ra.question_type===2)&&Yn.createElement("div",{className:ya.warp,style:{padding:"30px 58px",paddingBottom:0}},Yn.createElement("div",null,(jr=ra==null?void 0:ra.question_choices)==null?void 0:jr.map((Sr,bi)=>Yn.createElement("div",{className:ya.redio,key:bi},!(Sr!=null&&Sr.standard_boolean)&&Yn.createElement("span",{className:ya.redioitem}),(Sr==null?void 0:Sr.standard_boolean)&&Yn.createElement("i",{className:`${ya.redioitemyes} icon-duigou1`}),ra.question_type===2&&Yn.createElement("span",{className:`${Sr!=null&&Sr.standard_boolean?ya.titleyes:ya.title} ${ya.indexTag}`},Xl[bi]),Yn.createElement(Pt.Z,{className:Sr!=null&&Sr.standard_boolean?ya.titleyes:ya.title,value:Sr==null?void 0:Sr.choice_text}),(Sr==null?void 0:Sr.standard_boolean)&&Yn.createElement("div",{className:ya.yestag},"\u6B63\u786E\u7B54\u6848"))))),ra.question_type===1&&Yn.createElement("div",{className:ya.normalWrap},(yo=ra==null?void 0:ra.question_choices)==null?void 0:yo.map((Sr,bi)=>Yn.createElement("div",{className:ya.checkbox,key:bi},!(Sr!=null&&Sr.standard_boolean)&&Yn.createElement("span",{className:ya.checkboxitem}),(Sr==null?void 0:Sr.standard_boolean)&&Yn.createElement("i",{className:`${ya.checkboxitemyes} icon-duigou1`}),Yn.createElement("span",{className:`${Sr!=null&&Sr.standard_boolean?ya.titleyes:ya.title} ${ya.indexTag}`},Xl[bi]),Yn.createElement(Pt.Z,{className:Sr!=null&&Sr.standard_boolean?ya.titleyes:ya.title,value:Sr==null?void 0:Sr.choice_text}),(Sr==null?void 0:Sr.standard_boolean)&&Yn.createElement("div",{className:ya.yestag},"\u6B63\u786E\u7B54\u6848")))),ra.question_type===3&&Yn.createElement("div",{className:ya.completion},(Oo=ra==null?void 0:ra.standard_answers)==null?void 0:Oo.map((Sr,bi)=>{var wo;return Yn.createElement(ga.Z,{align:"top"},Yn.createElement("span",{className:ya.title},"\u586B\u7A7A\u9879",bi+1),Yn.createElement("div",{className:ya.content},(wo=Sr.answer_text)==null?void 0:wo.map((Dn,ci)=>Yn.createElement("div",{key:ci,className:ya.items},Yn.createElement("pre",{className:"mb0"},Dn)))))})),ra.question_type===4&&Yn.createElement("div",{className:ya.simple},Yn.createElement("div",{className:ya.title},"\u53C2\u8003\u7B54\u6848"),Yn.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Uo=ra==null?void 0:ra.answer_texts)!=null&&Uo[0]?Yn.createElement(Pt.Z,{className:ya.content,value:(Pa=ra==null?void 0:ra.answer_texts)==null?void 0:Pa[0]}):Yn.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),Yn.createElement("div",{className:"mt20 "},Yn.createElement("span",{className:ya.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),Yn.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},ra!=null&&ra.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))))})),(ue==null?void 0:ue.question_type)===8&&Yn.createElement("div",null,Yn.createElement(Pt.Z,{disabledFill:!0,className:ya.content,showProgramFill:!0,value:Fu.Base64.decode(((Ut=ue==null?void 0:ue.program_attr)==null?void 0:Ut.code)||"")})),((ue==null?void 0:ue.question_type)<=4||[6,8].includes(ue==null?void 0:ue.question_type))&&Yn.createElement("div",{className:ya.bottom},Yn.createElement("div",{className:`${ya.bottomitem} mb30`},Yn.createElement("span",{className:ya.left},"\u89E3\u6790"),Yn.createElement("span",{className:ya.right},ue!=null&&ue.analysis?Yn.createElement(Pt.Z,{value:ue==null?void 0:ue.analysis}):Yn.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),Yn.createElement("div",{className:`${ya.bottomitem} mb30`},Yn.createElement("span",{className:ya.left},"\u96BE\u5EA6"),Yn.createElement("span",{className:ya.right},(ue==null?void 0:ue.difficulty)===1?"\u7B80\u5355":(ue==null?void 0:ue.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),Yn.createElement("div",{className:ya.bottomitem},Yn.createElement("span",{className:ya.left},"\u77E5\u8BC6\u70B9"),Yn.createElement(it.Z,{title:((Ht=ue==null?void 0:ue.tag_discipline_names)==null?void 0:Ht.length)<=0||((ha=ue==null?void 0:ue.tag_discipline_names)==null?void 0:ha.length)==1&&["-"].includes(ue==null?void 0:ue.tag_discipline_names[0])?"\u6682\u672A\u8BBE\u7F6E~":(pn=(fn=ue==null?void 0:ue.tag_discipline_names)==null?void 0:fn.join("\uFF1B"))==null?void 0:pn.toString()},Yn.createElement("span",{className:ya.right},((Er=ue==null?void 0:ue.tag_discipline_names)==null?void 0:Er.length)<=0?Yn.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):((mr=ue==null?void 0:ue.tag_discipline_names)==null?void 0:mr.length)==1&&["-"].includes(ue==null?void 0:ue.tag_discipline_names[0])?Yn.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):(Io=(Ja=ue==null?void 0:ue.tag_discipline_names)==null?void 0:Ja.join("\uFF1B"))==null?void 0:Io.toString())))))},Ju=re(80320),ql=re(84635),fi=re(59301),Tu=Object.defineProperty,Xu=Object.defineProperties,fs=Object.getOwnPropertyDescriptors,ce=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,me=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))me.call(Ee,Pe)&&Ie(ue,Pe,Ee[Pe]);return ue},ft=(ue,Ee)=>Xu(ue,fs(Ee)),rt=(ue,Ee,Pe)=>new Promise((ut,vt)=>{var _n=pt=>{try{Jt(Pe.next(pt))}catch($t){vt($t)}},mn=pt=>{try{Jt(Pe.throw(pt))}catch($t){vt($t)}},Jt=pt=>pt.done?ut(pt.value):Promise.resolve(pt.value).then(_n,mn);Jt((Pe=Pe.apply(ue,Ee)).next())}),wt=({qitem:ue,setisedit:Ee,TagDiscipline:Pe,exerciseitem:ut,seveeditor:vt,deleteitem:_n,getTagData:mn,init:Jt,showTip:pt=!1})=>{var $t,Cn,$e,Bt;const[cn]=we.default.useForm(),{unified_ai_setting:Fn,ai_review_settings:Xt}=ut==null?void 0:ut.exercise,Ot=Fn?Xt:(($t=ue==null?void 0:ue.ai_review_settings)==null?void 0:$t.length)>0?ue.ai_review_settings:Xt;return(0,b.useEffect)(()=>{cn.setFieldsValue(ft(Oe({},ue),{name:ue.question_title,answer_texts:ue.answer_texts,repeat_answer:!ue.repeat_answer,ai_review_settings:Ot}))},[ue]),fi.createElement("div",null,fi.createElement(we.default,{form:cn,colon:!1,onFinish:Ut=>{var Ht;(Ht=ut==null?void 0:ut.exercise)!=null&&Ht.is_open_ai_review&&!(0,ht.BR)(Ut==null?void 0:Ut.ai_review_settings)||vt(ft(Oe(Oe({},ue),Ut),{answer_texts:Ut==null?void 0:Ut.answer_texts,question_title:Ut==null?void 0:Ut.name}))},onFinishFailed:Ut=>rt(void 0,null,function*(){var Ht,ha;Ae.ZP.error(Ut.errorFields[0].errors[0]),cn.scrollToField((ha=(Ht=Ut==null?void 0:Ut.errorFields)==null?void 0:Ht[0])==null?void 0:ha.name,{behavior:"smooth",block:"center"})})},fi.createElement("div",{style:{display:"flex",alignItems:"center"}},fi.createElement("div",{style:{flex:1}},fi.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),fi.createElement("span",null,"\u7B80\u7B54\u9898")),((Cn=ut==null?void 0:ut.exercise)==null?void 0:Cn.exercise_status)==1&&!(ue!=null&&ue.isadd)&&fi.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{_n()}},fi.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),fi.createElement(ke.ZP,{onClick:()=>{ue.isadd?(Ee(!1),Jt()):(cn.setFieldsValue(ft(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"),fi.createElement(it.Z,{overlayClassName:nt.shake,open:pt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:fi.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},fi.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")},fi.createElement(ke.ZP,{type:"primary",className:"ml20",onClick:()=>{cn.submit()}},"\u4FDD\u5B58"))),fi.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},fi.createElement(we.default.Item,{className:nt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},fi.createElement(Le.Z,{onBlur:Ut=>{Ut.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})),fi.createElement(ql.W,{form:cn,showKeywords:!0,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"}),(($e=ut==null?void 0:ut.exercise)==null?void 0:$e.is_open_ai_review)&&!((Bt=ut==null?void 0:ut.exercise)!=null&&Bt.unified_ai_setting)&&fi.createElement(Or,{form:cn,qitem:ue}),fi.createElement(xa,{getTagData:mn,qitem:ue,exerciseitem:ut,TagDiscipline:Pe,form:cn}))))},It=re(59301),jn=(ue,Ee,Pe)=>new Promise((ut,vt)=>{var _n=pt=>{try{Jt(Pe.next(pt))}catch($t){vt($t)}},mn=pt=>{try{Jt(Pe.throw(pt))}catch($t){vt($t)}},Jt=pt=>pt.done?ut(pt.value):Promise.resolve(pt.value).then(_n,mn);Jt((Pe=Pe.apply(ue,Ee)).next())}),dn=({setScoreShow:ue,ScoreShow:Ee,exerciseitem:Pe,getdata:ut})=>{var vt,_n,mn;const[Jt,pt]=(0,b.useState)(!1);function $t(){return jn(this,null,function*(){var Cn,$e,Bt;let cn=($e=(Cn=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:Cn.filter(Xt=>Xt.Singlequestion))==null?void 0:$e.map(Xt=>({question_type:Xt.question_type,score:Xt.Singlequestion})),Fn=yield(0,te.ZP)(`/api/exercises/${(Bt=Pe==null?void 0:Pe.exercise)==null?void 0:Bt.id}/batch_set_score.json`,{method:"POST",body:{question_arr:cn}});(Fn==null?void 0:Fn.status)===0&&ut()})}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 Cn,$e,Bt;if(Pe!=null&&Pe.use_blank_score&&((Bt=($e=(Cn=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:Cn.filter(cn=>cn.name==="\u586B\u7A7A\u9898"))==null?void 0:$e[0])!=null&&Bt.Singlequestion)){pt(!0);return}$t(),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&&((vt=Pe==null?void 0:Pe.exercise_types)==null?void 0:vt.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")),(mn=(_n=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:_n.filter(Cn=>Cn.name!=="\u5B9E\u8BAD\u9898"&&Cn.name!=="\u7EC4\u5408\u9898"))==null?void 0:mn.map(Cn=>{var $e;return It.createElement("div",{className:nt.items},It.createElement("span",null,Cn==null?void 0:Cn.name),It.createElement("span",null,($e=Cn==null?void 0:Cn.items)==null?void 0:$e.length),It.createElement("span",null,Cn==null?void 0:Cn.score),It.createElement("span",null,"\u6BCF\u9898",It.createElement(Le.Z,{max:100,precision:1,min:.1,onChange:Bt=>{Cn.Singlequestion=Bt},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:Jt,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(ke.ZP,{className:nt.no,onClick:()=>{pt(!1)}},"\u53D6\u6D88"),It.createElement(ke.ZP,{className:nt.yes,onClick:()=>{$t(),pt(!1),ue(!1)}},"\u786E\u8BA4"))))},Nn=re(99313),In=re(98228),Dt=re(58421),zt={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"},Rn=re(37798),ln={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 da=["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 Ia=({qitem:ue})=>{var Ee,Pe,ut,vt,_n,mn,Jt,pt,$t,Cn;return b.createElement("div",{className:ln.warp},b.createElement("div",{className:ln.mainPart},b.createElement("div",{className:ln.qcount},(ue==null?void 0:ue.question_type)===8&&b.createElement(Pt.Z,{className:ln.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(Pt.Z,{className:ln.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(($e,Bt)=>b.createElement("div",{className:ln.redio},!($e!=null&&$e.is_answer)&&b.createElement("span",{className:ln.redioitem}),($e==null?void 0:$e.is_answer)&&b.createElement("i",{className:`${ln.redioitemyes} icon-duigou1`}),b.createElement(Pt.Z,{className:$e!=null&&$e.is_answer?ln.titleyes:ln.title,value:da[Bt]+($e==null?void 0:$e.choice_text)}),($e==null?void 0:$e.is_answer)&&b.createElement("div",{className:ln.yestag},"\u6B63\u786E\u7B54\u6848")))),(ue==null?void 0:ue.question_type)===1&&b.createElement("div",null,(ut=ue==null?void 0:ue.choices)==null?void 0:ut.map(($e,Bt)=>b.createElement("div",{className:ln.checkbox},!($e!=null&&$e.is_answer)&&b.createElement("span",{className:ln.checkboxitem}),($e==null?void 0:$e.is_answer)&&b.createElement("i",{className:`${ln.checkboxitemyes} icon-duigou1`}),b.createElement(Pt.Z,{className:$e!=null&&$e.is_answer?ln.titleyes:ln.title,value:da[Bt]+($e==null?void 0:$e.choice_text)}),($e==null?void 0:$e.is_answer)&&b.createElement("div",{className:ln.yestag},"\u6B63\u786E\u7B54\u6848")))),(ue==null?void 0:ue.question_type)===3&&b.createElement("div",{className:ln.completion},(vt=ue==null?void 0:ue.standard_answer)==null?void 0:vt.map(($e,Bt)=>{var cn;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:ln.title},"\u586B\u7A7A\u9879",Bt+1),b.createElement("div",{className:ln.content},(cn=$e==null?void 0:$e.answer_text)==null?void 0:cn.map((Fn,Xt)=>b.createElement("div",{className:ln.items},Fn))))})),(ue==null?void 0:ue.question_type)===4&&b.createElement("div",{className:ln.simple},b.createElement("div",{className:ln.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(_n=ue==null?void 0:ue.answer_texts)!=null&&_n[0]?b.createElement(Pt.Z,{className:ln.content,value:(mn=ue==null?void 0:ue.answer_texts)==null?void 0:mn[0]}):b.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(ue==null?void 0:ue.question_type)===5&&((Jt=ue==null?void 0:ue.challenge_names)==null?void 0:Jt.map(($e,Bt)=>b.createElement("div",{className:ln.shixun},b.createElement("span",{className:ln.qtitle},b.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,ht.EM)(Bt+1),"\u9898"),$e)))),(ue==null?void 0:ue.question_type)===6&&b.createElement("div",{className:ln.simple},b.createElement(Pt.Z,{className:ln.content,value:((pt=ue==null?void 0:ue.program_attr)==null?void 0:pt.description)||"- -"})),(ue==null?void 0:ue.question_type)===7&&(($t=ue==null?void 0:ue.sub_item_banks)==null?void 0:$t.map(($e,Bt)=>{var cn,Fn,Xt,Ot,Ut;return b.createElement("div",null,b.createElement("div",{className:ln.combination},b.createElement("span",{className:ln.qtitle},$e==null?void 0:$e.name)),b.createElement("div",{className:ln.warp,style:{padding:"0px",paddingTop:20}},b.createElement("div",null,(($e==null?void 0:$e.item_type)=="SINGLE"||($e==null?void 0:$e.item_type)=="JUDGMENT")&&((cn=$e==null?void 0:$e.choices)==null?void 0:cn.map((Ht,ha)=>b.createElement("div",{className:ln.redio},!(Ht!=null&&Ht.is_answer)&&b.createElement("span",{className:ln.redioitem}),(Ht==null?void 0:Ht.is_answer)&&b.createElement("i",{className:`${ln.redioitemyes} icon-duigou1`}),b.createElement(Pt.Z,{className:Ht!=null&&Ht.is_answer?ln.titleyes:ln.title,value:da[ha]+(Ht==null?void 0:Ht.choice_text)}),(Ht==null?void 0:Ht.is_answer)&&b.createElement("div",{className:ln.yestag},"\u6B63\u786E\u7B54\u6848")))),($e==null?void 0:$e.item_type)=="MULTIPLE"&&((Fn=$e==null?void 0:$e.choices)==null?void 0:Fn.map((Ht,ha)=>b.createElement("div",{className:ln.checkbox},!(Ht!=null&&Ht.is_answer)&&b.createElement("span",{className:ln.checkboxitem}),(Ht==null?void 0:Ht.is_answer)&&b.createElement("i",{className:`${ln.checkboxitemyes} icon-duigou1`}),b.createElement(Pt.Z,{className:Ht!=null&&Ht.is_answer?ln.titleyes:ln.title,value:da[ha]+(Ht==null?void 0:Ht.choice_text)}),(Ht==null?void 0:Ht.is_answer)&&b.createElement("div",{className:ln.yestag},"\u6B63\u786E\u7B54\u6848")))),($e==null?void 0:$e.item_type)=="COMPLETION"&&b.createElement("div",{className:ln.completion},(Xt=$e==null?void 0:$e.standard_answer)==null?void 0:Xt.map((Ht,ha)=>{var fn;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:ln.title},"\u586B\u7A7A\u9879",ha+1),b.createElement("div",{className:ln.content},(fn=Ht==null?void 0:Ht.answer_text)==null?void 0:fn.map((pn,Er)=>b.createElement("div",{className:ln.items},pn))))})),($e==null?void 0:$e.item_type)=="SUBJECTIVE"&&b.createElement("div",{className:ln.simple},b.createElement("div",{className:ln.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Ot=$e==null?void 0:$e.answer_texts)!=null&&Ot[0]?b.createElement(Pt.Z,{className:ln.content,value:(Ut=$e==null?void 0:$e.answer_texts)==null?void 0:Ut[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(Pt.Z,{disabledFill:!0,className:ln.content,showProgramFill:!0,value:Fu.Base64.decode(((Cn=ue==null?void 0:ue.program_attr)==null?void 0:Cn.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:ln.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:ln.bottom},b.createElement("div",{className:ln.bottomitem},b.createElement("span",{className:ln.left},"\u89E3\u6790"),b.createElement("span",{className:ln.right},ue!=null&&ue.analysis?b.createElement(Pt.Z,{value:ue==null?void 0:ue.analysis}):b.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),b.createElement("div",{className:ln.bottomitem},b.createElement("span",{className:ln.left},"\u96BE\u5EA6"),b.createElement("span",{className:ln.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:ln.bottomitem},b.createElement("span",{className:ln.left},"\u77E5\u8BC6\u70B9"),b.createElement("span",{className:ln.right},ue!=null&&ue.tag_discipline?ue==null?void 0:ue.tag_discipline:b.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},ba=re(11237),ca=re(9164),_r=re(35724),tr=re(84216),wr=re(70610),Xr=re(6681),oo=re(67135),kn=re(59301),Xo=Object.defineProperty,vo=Object.defineProperties,Wr=Object.getOwnPropertyDescriptors,qr=Object.getOwnPropertySymbols,Ao=Object.prototype.hasOwnProperty,No=Object.prototype.propertyIsEnumerable,uo=(ue,Ee,Pe)=>Ee in ue?Xo(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,gr=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Ao.call(Ee,Pe)&&uo(ue,Pe,Ee[Pe]);if(qr)for(var Pe of qr(Ee))No.call(Ee,Pe)&&uo(ue,Pe,Ee[Pe]);return ue},Zo=(ue,Ee)=>vo(ue,Wr(Ee)),_o=(ue,Ee,Pe)=>new Promise((ut,vt)=>{var _n=pt=>{try{Jt(Pe.next(pt))}catch($t){vt($t)}},mn=pt=>{try{Jt(Pe.throw(pt))}catch($t){vt($t)}},Jt=pt=>pt.done?ut(pt.value):Promise.resolve(pt.value).then(_n,mn);Jt((Pe=Pe.apply(ue,Ee)).next())});const Ai=({setScoreShow:ue,ScoreShow:Ee,onOk:Pe,isshixuns:ut,isloadings:vt,dispatch:_n,shixunsDetail:mn,exercise:Jt})=>{var pt,$t,Cn;let[$e,Bt]=(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,Fn]=(0,b.useState)([]),[Xt,Ot]=(0,b.useState)([]),[Ut,Ht]=(0,b.useState)([]),[ha,fn]=(0,b.useState)([]);const[pn,Er]=(0,b.useState)(!1),[mr]=we.default.useForm(),[Ja,Io]=(0,b.useState)(),[ra,Mr]=(0,b.useState)(!1);let[ja,jr]=(0,b.useState)(ut);const[yo,Oo]=(0,b.useState)([]),[Uo,Pa]=(0,b.useState)(!0),[Sr,bi]=(0,b.useState)([]),[wo,Dn]=(0,b.useState)(0),[ci,_i]=(0,b.useState)([]),vi=[{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}],[wi,Ti]=(0,b.useState)({});(0,b.useEffect)(()=>{var en,Kn,Cr,ir,Tr,Eo,Mo,no,Zi,Fo;(((Cr=(Kn=(en=Jt==null?void 0:Jt.editData)==null?void 0:en.exercise)==null?void 0:Kn.exist_item_bank_ids)==null?void 0:Cr.length)>0||((Eo=(Tr=(ir=Jt==null?void 0:Jt.editData)==null?void 0:ir.exercise)==null?void 0:Tr.exist_item_bank_shixun_ids)==null?void 0:Eo.length)>0)&&_i([...(no=(Mo=Jt==null?void 0:Jt.editData)==null?void 0:Mo.exercise)==null?void 0:no.exist_item_bank_ids,...(Fo=(Zi=Jt==null?void 0:Jt.editData)==null?void 0:Zi.exercise)==null?void 0:Fo.exist_item_bank_shixun_ids])},[($t=(pt=Jt==null?void 0:Jt.editData)==null?void 0:pt.exercise)==null?void 0:$t.exist_item_bank_ids]);const ri=(0,b.useRef)(new Set),ul=(0,b.useRef)(new Set);let[Ki,el]=(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 jo=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],pi=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],sl=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[Zl,Lr]=(0,b.useState)(!1),To=()=>{mr.resetFields(),ja=!1,jr(!1),Lr(!1),mr.submit()};(0,b.useEffect)(()=>{wo>0&&setTimeout(()=>{Dn(0)},2e3)},[wo]),(0,b.useEffect)(()=>{Ee&&(mr.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null}),Uo&&ja&&(mr.setFieldsValue({item_type:"SHIXUN"}),$e.item_type="SHIXUN",Bt(gr({},$e)),Pa(!1)),oi($e),Ji(),Qo({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}))},[Ee]);function oi(en){return _o(this,null,function*(){var Kn,Cr,ir;if(Er(!0),Bt(en),(Ut==null?void 0:Ut.length)<=0&&en.type==="5"){fn([]),Er(!1);return}let Tr=en.type==="5"?Ut==null?void 0:Ut.filter(no=>!yo.includes(no)):null,Eo=en.type==="5"?Ut==null?void 0:Ut.filter(no=>yo.includes(no)):null,Mo=yield(0,te.ZP)("/api/item_banks.json",{method:"get",params:Zo(gr({},en),{discipline_id:((Kn=en==null?void 0:en.courseid)==null?void 0:Kn[0])||null,sub_discipline_id:((Cr=en==null?void 0:en.courseid)==null?void 0:Cr[1])||null,ids:Tr,shixun_ids:Eo,group_id:((ir=en.group_id)==null?void 0:ir.map(no=>no==null?void 0:no.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})});fn(Mo),Er(!1)})}function Qo(en){return _o(this,null,function*(){var Kn;let Cr=yield(0,te.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:en}),ir=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(Kn=Cr==null?void 0:Cr.data)==null?void 0:Kn.map(Tr=>({title:Tr.name,id:Tr.id,pid:Tr.id,value:Tr.id,key:Tr.id,isLeaf:!Tr.have_child}))}];bi(ir)})}function Ji(){return _o(this,null,function*(){let en=yield(0,te.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:$e.type==="5"?null:$e.type,clazz:"ItemBanksGroup"}});Fn((0,Rn.L)(en==null?void 0:en.disciplines))})}function Xi(en){return _o(this,null,function*(){var Kn,Cr,ir,Tr;Er(!0);let Eo=(Kn=en.list)==null?void 0:Kn.filter(Zi=>!yo.includes(Zi)),Mo=(Cr=en.list)==null?void 0:Cr.filter(Zi=>yo.includes(Zi));if(Eo.length===0&&Mo.length===0){Er(!1),fn([]);return}let no=yield(0,te.ZP)("/api/item_banks.json",{method:"get",params:Zo(gr({},en),{discipline_id:((ir=en==null?void 0:en.courseid)==null?void 0:ir[0])||null,sub_discipline_id:((Tr=en==null?void 0:en.courseid)==null?void 0:Tr[1])||null,ids:Eo,shixun_ids:Mo,type:en.type==="5"?null:en.type,clazz:en.type==="3"?"ItemBanksGroup":null})});Er(!1),fn(no)})}const Li=(0,pe.useParams)(),[Gl,Ll,yl,Pi]=(0,_r.P)(),jl=en=>_o(void 0,null,function*(){const Kn=yield _n({type:"shixunsDetail/release",payload:{id:en}});let Cr=Kn==null?void 0:Kn.tag_position,ir=(Kn==null?void 0:Kn.evaluation_set_position)||[],Tr=Kn.status;return Tr===0?(Ae.ZP.success("\u53D1\u5E03\u6210\u529F"),oi($e),!0):(Tr===2?Ae.ZP.error(`\u7B2C${ir.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):Tr===3?Ae.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${Cr.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)}),to=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,Kn,Cr)=>en.map(ir=>ir.key===Kn?gr(gr({},ir),Cr):ir.children?Zo(gr({},ir),{children:nu(ir.children,Kn,Cr)}):ir),bu=en=>_o(void 0,null,function*(){const{key:Kn}=en;let Cr=$e.type;const ir=yield(0,wr.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(Kn),type:Cr}),{data:Tr,total_count:Eo}=ir||{};Eo>0&&bi(Mo=>nu(Mo,Kn,{children:Tr.map(no=>({title:no.name,id:no.id,pid:no.id,value:no.id,key:no.id,isLeaf:!no.have_child}))}))});function Wl(en){console.log("----",$e),en==="1"&&(Ki.gg=gr({},$e)),en==="2"&&(Ki.scj=gr({},$e)),en==="3"&&(Ki.ttgx=gr({},$e)),en==="0"&&(Ki.wcjd=gr({},$e)),en==="5"&&(Ki.yx=gr({},$e)),el(gr({},Ki))}function mu(){$e.type==="1"&&($e=Ki.gg),$e.type==="2"&&($e=Ki.scj),$e.type==="3"&&($e=Ki.ttgx),$e.type==="0"&&($e=Ki.wcjd),$e.type==="5"&&($e=Ki.yx),($e==null?void 0:$e.item_type)==="SHIXUN"?(ja=!0,jr(!0)):(ja=!1,jr(!1)),mr.setFieldsValue(gr({},$e)),Bt(gr({},$e)),oi(gr({},$e))}return kn.createElement("div",null,kn.createElement(Ke.default,{title:!1,footer:!1,open:Ee,width:1200,centered:!0,className:zt.scoremodal,onCancel:()=>{ue(!1)}},kn.createElement("div",{style:{display:"flex",alignItems:"center"}},kn.createElement("div",{className:zt.title},"\u9898\u5E93\u9009\u9898")),kn.createElement(Nn.default,{className:zt.tabWrap,activeKey:$e.type,onChange:en=>{en==="3"?($e.show_all_share=!0,Qo({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):$e.show_all_share=null,en==="0"&&Qo({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),Wl($e.type),$e.type=en,($e==null?void 0:$e.item_type)==="SHIXUN"&&$e.type!=="5"&&(ja=!0,jr(!0)),Lr(!1),$e.type==="5"&&(ja=!1,jr(!1)),mu(),Ji()},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:kn.createElement("div",null,"\u5DF2\u9009",Ut.length>0&&kn.createElement("span",{className:zt.titlecount},Ut.length),wo>0&&kn.createElement("span",{className:zt.add},"+",wo)),key:"5"}]}),kn.createElement(we.default,{layout:"inline",form:mr,onValuesChange:(en,Kn)=>{var Cr,ir;const Tr=Object.values(Kn).some(Mo=>Mo!==null&&Mo!==""&&Mo!==void 0),Eo=Kn.keyword==="";if(Lr(Tr||!Eo),$e.page=1,$e.keyword=(ir=(Cr=$e.keyword)==null?void 0:Cr.replace)==null?void 0:ir.call(Cr,/^\s+|\s+$/g,""),(Kn==null?void 0:Kn.item_type)==="SHIXUN"){if($e.type==="5"?jr(!1):jr(!0),en.keyword||en.keyword==="")return;mr.submit()}else{if(en!=null&&en.courseid&&mr.setFieldsValue({tag_discipline_id:""}),jr(!1),en.keyword||en.keyword==="")return;mr.submit()}},onFinish:en=>{var Kn;$e.type==="3"&&(!en.group_id||((Kn=en==null?void 0:en.group_id)==null?void 0:Kn.length)===0)?$e.show_all_share=!0:$e.show_all_share=null,Bt(gr(gr({},$e),en)),oi(gr(gr({},$e),en))}},kn.createElement(we.default.Item,{name:"item_type"},kn.createElement(he.default,{className:zt.selectWrapper,placeholder:"\u9898\u578B",style:{width:110},size:"middle",allowClear:!0},vi.map(en=>kn.createElement(he.default.Option,{key:en.value},en.name)))),kn.createElement(we.default.Item,{name:"courseid"},kn.createElement(De.Z,{className:zt.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:cn})),!ja&&kn.createElement(we.default.Item,{name:"tag_discipline_id"},kn.createElement(he.default,{className:zt.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(Cn=ha==null?void 0:ha.tag_disciplines)==null?void 0:Cn.map(en=>kn.createElement(he.default.Option,{key:en.id},en.name)))),kn.createElement(we.default.Item,{name:ja?"diff":"difficulty"},kn.createElement(he.default,{className:zt.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!ja&&jo.map(en=>kn.createElement(he.default.Option,{key:en.value},en.name)),ja&&pi.map(en=>kn.createElement(he.default.Option,{key:en.value},en.name)))),ja&&kn.createElement(we.default.Item,{name:"shixun_publish_status"},kn.createElement(he.default,{className:zt.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},sl.map(en=>kn.createElement(he.default.Option,{key:en.value},en.name)))),($e.type==="3"||$e.type==="0")&&!ja&&kn.createElement(we.default.Item,{name:"group_id"},kn.createElement(In.default,{treeDataSimpleMode:!0,style:{width:118},className:zt.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(en,Kn)=>Kn.title.toUpperCase().indexOf(en.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:bu,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:Sr})),Zl&&kn.createElement("span",{className:zt.allqingchu,onClick:To},kn.createElement("i",{className:"iconfont icon-guanbi4"}),kn.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),kn.createElement(we.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},kn.createElement(Ue.default.Search,{className:zt.search,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:kn.createElement("i",{className:`iconfont icon-sousuo9 font14 ${zt.searchIcon}`,onClick:()=>mr.submit()}),onSearch:en=>{mr.submit()}}))),kn.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},kn.createElement("div",{onClick:()=>{$e.updated_at==="asc"?$e.updated_at="desc":$e.updated_at="asc",Bt(Zo(gr({},$e),{page:1})),oi(Zo(gr({},$e),{page:1}))}}," ",$e.updated_at?kn.createElement("img",{src:$e.updated_at==="asc"?ba.Z:ca.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):kn.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),kn.createElement("div",{onClick:()=>{$e.quotes==="asc"?$e.quotes="desc":$e.quotes="asc",Bt(Zo(gr({},$e),{page:1})),oi(Zo(gr({},$e),{page:1}))},style:{marginLeft:20}}," ",$e.quotes?kn.createElement("img",{src:$e.quotes==="asc"?ba.Z:ca.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):kn.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),kn.createElement(cs.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(ha==null?void 0:ha.items)||(ha==null?void 0:ha.shixun_list),pagination:!1,loading:pn,rowKey:en=>en.id,rowSelection:{type:"checkbox",selectedRowKeys:[...Xt,...ci],getCheckboxProps:en=>({disabled:en.shixun_tag_num===1||(ci==null?void 0:ci.find(Kn=>en.id===Kn))}),onSelect(en,Kn,Cr){if(console.log("---",Cr,Kn,en),Kn)(ja||en!=null&&en.challenge_names)&&Oo([...yo,en.id]),Ot([...Xt,en.id]),en.identifier?ri.current.add(en.id):ul.current.add(en.id),Dn(1),Ht([...Ut,en.id]);else{en.identifier?ri.current.delete(en.id):ul.current.delete(en.id);let ir=Ut.filter(Tr=>Tr!==en.id);if(Ot(ir),Ht(ir),ja||en!=null&&en.challenge_names){let Tr=yo.filter(Eo=>Eo!==en.id);Oo([...Tr])}if($e.type==="5"){Xi(Zo(gr({},$e),{list:[...ir]}));return}}},onSelectAll(en,Kn,Cr){var ir,Tr;if(console.log("----",Cr),en){const Eo=Cr.map(no=>no.id),Mo=(Tr=Cr==null?void 0:Cr.filter(no=>no==null?void 0:no.challenge_names))==null?void 0:Tr.map(no=>no.id);console.log("---",Mo),Oo([...yo,...Mo]),Ot([...Xt,...Eo]),Ht([...Ut,...Eo]);for(const no of Cr)no.identifier?ri.current.add(no.id):ul.current.add(no.id)}else{const Eo=Cr.map(Fo=>Fo.id),Mo=Xt.filter(Fo=>!Eo.some(dl=>dl===Fo)),no=(ir=Cr==null?void 0:Cr.filter(Fo=>Fo==null?void 0:Fo.challenge_names))==null?void 0:ir.map(Fo=>Fo.id);Ot([...Mo]),Ht([...Mo]);let Zi=yo.filter(Fo=>!no.some(dl=>dl===Fo.id));Oo([...Zi]),$e.type==="5"&&Xi(Zo(gr({},$e),{list:[...Mo]}));for(const Fo of Eo)Fo.identifier?ri.current.delete(Fo):ul.current.delete(Fo)}}},columns:[{title:"\u9898\u578B",dataIndex:"item_type",key:"item_type",render:(en,Kn,Cr)=>{var ir,Tr;return kn.createElement(it.Z,{title:to(Kn)},kn.createElement("div",null,ja||Kn!=null&&Kn.challenge_names?"\u5B9E\u8BAD\u9898":(Tr=(ir=vi==null?void 0:vi.filter(Eo=>Eo.value===en))==null?void 0:ir[0])==null?void 0:Tr.name))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:ja?"30%":"60%",key:"name",render:(en,Kn,Cr)=>{var ir;return kn.createElement("div",{style:{display:"flex",alignItems:"center"}},kn.createElement(it.Z,{title:to(Kn)},kn.createElement("span",null,kn.createElement(Pt.Z,{key:1,showLines:1,showTextOnly:!0,value:ja||Kn!=null&&Kn.challenge_names?Kn!=null&&Kn.title||en===null?"--":en:(Kn==null?void 0:Kn.item_type)=="BPROGRAM"?(ir=Kn==null?void 0:Kn.program_attr)==null?void 0:ir.description:en}))),(Kn==null?void 0:Kn.high_resources_consume)&&kn.createElement(tr.Z,{type:"shixun",style:{marginLeft:10}}))}},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!ja,render:(en,Kn,Cr)=>{var ir;return kn.createElement(it.Z,{title:to(Kn)},kn.createElement("span",null,en?(ir=en==null?void 0:en.split("\u3001"))==null?void 0:ir[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!ja,render:(en,Kn,Cr)=>kn.createElement(it.Z,{title:to(Kn)},kn.createElement("span",null,en||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",render:(en,Kn,Cr)=>{var ir,Tr,Eo,Mo;return kn.createElement(it.Z,{title:to(Kn)},kn.createElement("div",null,ja||Kn!=null&&Kn.challenge_names?(Kn==null?void 0:Kn.level)||((Tr=(ir=jo==null?void 0:jo.filter(no=>no.value===en))==null?void 0:ir[0])==null?void 0:Tr.name):(Mo=(Eo=jo==null?void 0:jo.filter(no=>no.value===en))==null?void 0:Eo[0])==null?void 0:Mo.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!ja,render:(en,Kn,Cr)=>kn.createElement(it.Z,{title:to(Kn)},kn.createElement("div",null,en||"- -"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",render:(en,Kn,Cr)=>kn.createElement(it.Z,{title:to(Kn)},kn.createElement("div",null,ja||Kn!=null&&Kn.challenge_names?(Kn==null?void 0:Kn.study_count)||(Kn==null?void 0:Kn.stu_num):en))},{title:kn.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",kn.createElement(it.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},kn.createElement(Zn.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!ja,render:(en,Kn,Cr)=>kn.createElement(it.Z,{title:to(Kn)},kn.createElement("div",null,en||"- -"))},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",render:(en,Kn,Cr)=>kn.createElement(it.Z,{title:to(Kn)},kn.createElement("div",{style:{flex:1,textAlign:"start"}},kn.createElement("a",{onClick:()=>{var ir,Tr;Io(Zo(gr({},Kn),{question_type:ja||Kn!=null&&Kn.challenge_names?5:(Tr=(ir=vi==null?void 0:vi.filter(Eo=>Eo.value===(Kn==null?void 0:Kn.item_type)))==null?void 0:ir[0])==null?void 0:Tr.question_type})),Mr(!0)}},"\u67E5\u770B"),(Kn==null?void 0:Kn.shixun_tag_num)===1&&kn.createElement("a",{style:{marginLeft:10},onClick:()=>{Ke.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:kn.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",kn.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${Kn==null?void 0:Kn.identifier}/challenges`)}},(Kn==null?void 0:Kn.shixun_name)||"--"),"\uFF1F"),onOk:()=>_o(void 0,null,function*(){if(!jl(Kn==null?void 0:Kn.identifier))return new Promise((ir,Tr)=>{Tr()})})})}},"\u53D1\u5E03")))}].filter(en=>!en.hidden)}),kn.createElement(Dt.Z,{current:$e.page,total:(ha==null?void 0:ha.items_count)||(ha==null?void 0:ha.shixuns_count),style:{marginBottom:20},defaultPageSize:$e.per_page,showTotal:en=>kn.createElement("span",null,"\u5171\xA0",kn.createElement("span",{style:{color:"#165DFF"}},en),"\xA0\u6761\u6570\u636E"),pageSize:$e.per_page,onChange:(en,Kn)=>{$e.page=en,$e.per_page=Kn,Bt(gr({},$e)),oi(gr({},$e))}}),kn.createElement("div",{className:zt.bottom},kn.createElement(ke.ZP,{className:zt.no,onClick:()=>{ue(!1)}},"\u53D6\u6D88"),kn.createElement(ke.ZP,{loading:vt,style:{width:vt&&75},className:zt.yes,onClick:()=>_o(void 0,null,function*(){if((Ut==null?void 0:Ut.length)<=0){Ae.ZP.info("\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}let en=yield(0,oo.Tr)({id:[...Ut==null?void 0:Ut.filter(Kn=>yo.includes(Kn))],course_id:Li.coursesId,type:"shixun"});(en==null?void 0:en.student_count)===0?Pe([...ul.current],[...Ut==null?void 0:Ut.filter(Kn=>yo.includes(Kn))],!0,Ut==null?void 0:Ut.length):Ti(en)})},"\u786E\u8BA4"))),kn.createElement(Ke.default,{open:ra,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:zt.previewModal,width:1e3,centered:!0,onCancel:()=>{Mr(!1)},onOk:()=>{Mr(!1)}},kn.createElement(Ia,{qitem:Ja})),kn.createElement(Xr.Z,{resdata:wi,type:"exercise",okloading:vt,oktext:(wi==null?void 0:wi.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:en=>_o(void 0,null,function*(){const Kn=[],Cr=[];for(const ir of wi==null?void 0:wi.can_copy_list)Kn.push(ir.id);Ll(),yield Pe([...ul.current],[...ri.current].filter(ir=>!Cr.includes(ir)),!0,Ut==null?void 0:Ut.length,Kn)})}))};var $o=(0,pe.connect)(({shixunsDetail:ue,exercise:Ee})=>({shixunsDetail:ue,exercise:Ee}))(Ai),xi=re(51110),Ur=re(59301),di=Object.defineProperty,yi=Object.defineProperties,Gi=Object.getOwnPropertyDescriptors,hi=Object.getOwnPropertySymbols,qi=Object.prototype.hasOwnProperty,fl=Object.prototype.propertyIsEnumerable,Gr=(ue,Ee,Pe)=>Ee in ue?di(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,So=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))qi.call(Ee,Pe)&&Gr(ue,Pe,Ee[Pe]);if(hi)for(var Pe of hi(Ee))fl.call(Ee,Pe)&&Gr(ue,Pe,Ee[Pe]);return ue},xo=(ue,Ee)=>yi(ue,Gi(Ee)),Si=(ue,Ee,Pe)=>new Promise((ut,vt)=>{var _n=pt=>{try{Jt(Pe.next(pt))}catch($t){vt($t)}},mn=pt=>{try{Jt(Pe.throw(pt))}catch($t){vt($t)}},Jt=pt=>pt.done?ut(pt.value):Promise.resolve(pt.value).then(_n,mn);Jt((Pe=Pe.apply(ue,Ee)).next())}),ai=({qitem:ue,TagDiscipline:Ee,exerciseitem:Pe,setisedit:ut,seveeditor:vt,deleteitem:_n,getTagData:mn,init:Jt,showTip:pt=!1})=>{var $t;const[Cn]=we.default.useForm(),$e=!0;return(0,b.useEffect)(()=>{var Bt,cn,Fn;Cn.setFieldsValue(xo(So({},ue),{standard_answers:ue.standard_answer,difficulty:(ue==null?void 0:ue.difficult)||2,item_banks_group_id:ue.item_banks_group_id,hack:xo(So({},ue),{time_limit:(ue==null?void 0:ue.time_limit)||3}),hack_codes:{language:(Bt=ue==null?void 0:ue.program_attr)==null?void 0:Bt.language,code:Fu.Base64.decode(((cn=ue==null?void 0:ue.program_attr)==null?void 0:cn.code)||"")},hack_sets:So({},(Fn=ue==null?void 0:ue.hack_sets)==null?void 0:Fn[0]),repeat_answer:!ue.repeat_answer}))},[ue]),Ur.createElement("div",null,Ur.createElement(we.default,{form:Cn,colon:!1,onValuesChange:(Bt,cn)=>{var Fn,Xt,Ot,Ut;if(Bt!=null&&Bt.standard_answers){let Ht=((Fn=Cn.getFieldValue("standard_answers"))==null?void 0:Fn.length)>0&&((Ot=(Xt=Cn.getFieldValue("standard_answers"))==null?void 0:Xt.map(ha=>ha.score))==null?void 0:Ot.filter(ha=>ha));(Ht==null?void 0:Ht.length)>0&&Cn.setFieldsValue({question_score:(Ht==null?void 0:Ht.length)>0&&((Ut=Ht.reduce((ha,fn)=>ha+fn))==null?void 0:Ut.toFixed(1))})}},onFinish:Bt=>{var cn;vt(xo(So(So({},ue),Bt),{item_type:ue==null?void 0:ue.question_type,standard_answers:(cn=Bt.standard_answers)==null?void 0:cn.map((Fn,Xt)=>xo(So({},Fn),{position:Xt+1})),hack_codes:xo(So({},Bt.hack_codes),{code:Fu.Base64.encode(Bt.hack_codes.code)}),standard_answer:void 0}))},onFinishFailed:Bt=>Si(void 0,null,function*(){var cn,Fn;Ae.ZP.error(Bt.errorFields[0].errors[0]),Cn.scrollToField((Fn=(cn=Bt==null?void 0:Bt.errorFields)==null?void 0:cn[0])==null?void 0:Fn.name,{behavior:"smooth",block:"center"})})},Ur.createElement("div",{style:{display:"flex",alignItems:"center"}},Ur.createElement("div",{style:{flex:1}},Ur.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Ur.createElement("span",null,"\u7A0B\u5E8F\u586B\u7A7A\u9898")),(($t=Pe==null?void 0:Pe.exercise)==null?void 0:$t.exercise_status)==1&&!(ue!=null&&ue.isadd)&&Ur.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{_n()}},Ur.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}})," \u5220\u9664"),Ur.createElement(ke.ZP,{onClick:()=>{var Bt,cn,Fn,Xt;ue.isadd?(ut(!1),Jt()):(Cn.setFieldsValue(xo(So({},ue),{standard_answers:ue.standard_answer,difficulty:ue.difficult,item_banks_group_id:ue.item_banks_group_id,hack:xo(So({},ue),{sub_discipline_id:(Bt=Pe==null?void 0:Pe.exercise)==null?void 0:Bt.sub_discipline_id,tag_discipline_ids:[]}),hack_codes:{language:(cn=ue==null?void 0:ue.program_attr)==null?void 0:cn.language,code:Fu.Base64.decode((Fn=ue==null?void 0:ue.program_attr)==null?void 0:Fn.code)},hack_sets:So({},(Xt=ue==null?void 0:ue.hack_sets)==null?void 0:Xt[0]),repeat_answer:!ue.repeat_answer})),ut(!1))}},"\u53D6\u6D88"),Ur.createElement(it.Z,{overlayClassName:nt.shake,open:pt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Ur.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Ur.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},Ur.createElement(ke.ZP,{className:"ml20",type:"primary",onClick:()=>{Cn.submit()}},"\u4FDD\u5B58"))),Ur.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Ur.createElement(bt.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}),Ur.createElement(xi.t,{form:Cn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7A0B\u5E8F\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:$e,hackidentifier:ue==null?void 0:ue.hack_identifier,answerKey:"standard_answers"}),Ur.createElement(xa,{getTagData:mn,qitem:ue,exerciseitem:Pe,TagDiscipline:Ee,form:Cn}))))},Fi=re(90524),Al=re(14869),Wi=re(72664),Ui=re(89392),$l=re(15395),uu=re(30008),An=re(59301),Hi=Object.defineProperty,Pl=Object.defineProperties,Qi=Object.getOwnPropertyDescriptors,eu=Object.getOwnPropertySymbols,kl=Object.prototype.hasOwnProperty,il=Object.prototype.propertyIsEnumerable,ei=(ue,Ee,Pe)=>Ee in ue?Hi(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Wo=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))kl.call(Ee,Pe)&&ei(ue,Pe,Ee[Pe]);if(eu)for(var Pe of eu(Ee))il.call(Ee,Pe)&&ei(ue,Pe,Ee[Pe]);return ue},Yi=(ue,Ee)=>Pl(ue,Qi(Ee)),Do=(ue,Ee,Pe)=>new Promise((ut,vt)=>{var _n=pt=>{try{Jt(Pe.next(pt))}catch($t){vt($t)}},mn=pt=>{try{Jt(Pe.throw(pt))}catch($t){vt($t)}},Jt=pt=>pt.done?ut(pt.value):Promise.resolve(pt.value).then(_n,mn);Jt((Pe=Pe.apply(ue,Ee)).next())});const{confirm:ll}=Ke.default,Di=[{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:ut,exercise:vt,setitemid:_n})=>{var mn,Jt,pt,$t,Cn,$e,Bt,cn,Fn,Xt,Ot,Ut,Ht,ha,fn,pn,Er,mr,Ja,Io,ra,Mr,ja,jr,yo,Oo,Uo;const[Pa,Sr]=(0,b.useState)(),[bi,wo]=(0,b.useState)(!1),[Dn,ci]=(0,b.useState)(),[_i,vi]=(0,b.useState)(),wi=(0,b.useRef)(),Ti=(0,b.useRef)(),[ri,ul]=(0,b.useState)(),[Ki,el]=(0,b.useState)(!1),[jo,pi]=(0,b.useState)(!1),[sl,Zl]=(0,b.useState)(),[Lr,To]=(0,b.useState)(!1),[oi,Qo]=(0,b.useState)(!1),[Ji,Xi]=(0,b.useState)(!1),[Li,Gl]=(0,b.useState)(!1),[Ll,yl]=(0,b.useState)(!1),[Pi,jl]=(0,b.useState)(!1),to=(0,pe.useParams)(),[nu,bu]=(0,b.useState)(!1),[Wl]=we.default.useForm(),[mu,en]=(0,b.useState)(!1),[Kn,Cr]=(0,b.useState)(!1),[ir,Tr]=(0,b.useState)(!1),[Eo,Mo]=(0,b.useState)(!1),no=(0,b.useRef)();(0,b.useEffect)(()=>{Pe&&Fo()},[Pe]),(0,b.useEffect)(()=>{ut(jo)},[jo]),(0,b.useEffect)(()=>{Dn!=null&&Dn.question_id&&(vi(Dn==null?void 0:Dn.question_score),Ti.current=Dn==null?void 0:Dn.question_id)},[Dn]);const Zi=$n=>Do(void 0,null,function*(){let Ya=yield Ee({type:"newExercisePaper/getTagDiscipline",payload:{sub_discipline_id:$n}});Ee({type:"globalSetting/footerToggle",payload:!1}),Zl(Ya)});function Fo(){return Do(this,null,function*(){var $n,Ya,Nr,ro,Yr,Br;el(!0),wo(!0);const so=yield Ee({type:"exercise/editExercise",payload:{categoryId:Pe}});el(!1),wo(!1),Sr(so),yl(!1),($n=so==null?void 0:so.exercise)!=null&&$n.sub_discipline_id&&Zi((Ya=so==null?void 0:so.exercise)==null?void 0:Ya.sub_discipline_id),ci(Yi(Wo({},(Yr=(ro=(Nr=so==null?void 0:so.exercise_question_types)==null?void 0:Nr[0])==null?void 0:ro.items)==null?void 0:Yr[0]),{index:1})),ul(Yi(Wo({},(Br=so==null?void 0:so.exercise_question_types)==null?void 0:Br[0]),{indexs:1}))})}function dl($n,Ya=!0){return Do(this,null,function*(){var Nr,ro,Yr,Br;Ya&&(el(!0),wo(!0));const so=yield Ee({type:"exercise/editExercise",payload:{categoryId:Pe}});Sr(so);let Ro=[];(Nr=so==null?void 0:so.exercise_question_types)==null||Nr.map(Ar=>{var wa;(wa=Ar==null?void 0:Ar.items)==null||wa.map((ur,io)=>{Ro.push(Yi(Wo({},ur),{index:io+1}))})});let Vi=(ro=Ro.filter(Ar=>Ar.question_id===($n==null?void 0:$n.id)))==null?void 0:ro[0],su=(Br=((Yr=so==null?void 0:so.exercise_question_types)==null?void 0:Yr.map((Ar,wa)=>{if((Vi==null?void 0:Vi.question_type)===(Ar==null?void 0:Ar.question_type))return Yi(Wo({},Ar),{indexs:wa+1})})).filter(Ar=>Ar))==null?void 0:Br[0];ul(Wo({},su)),ci(Wo({},Vi)),vi(Vi==null?void 0:Vi.question_score),el(!1),wo(!1),yl(!1)})}function Ul($n){return Do(this,null,function*(){var Ya;let Nr=Yi(Wo({},$n),{repeat_answer:!$n.repeat_answer,difficulty:($n==null?void 0:$n.difficulty)||2,item_type:$n.question_type,sub_discipline_id:((Ya=$n==null?void 0:$n.sub_discipline_id)==null?void 0:Ya[1])||"",tag_discipline_ids:[],hack:Yi(Wo({},$n==null?void 0:$n.hack),{difficult:($n==null?void 0:$n.difficulty)||2}),hack_identifier:sessionStorage.projectFill});$n.tag_discipline_ids&&(Nr.tag_discipline_ids=Array.isArray($n.tag_discipline_ids)?$n.tag_discipline_ids:[$n.tag_discipline_ids]);let ro=Ll?`/api/exercises/${Pe}/exercise_questions`:`/api/exercise_questions/${$n==null?void 0:$n.question_id}.json`;if(($n==null?void 0:$n.is_my)===1){const Yr=ll({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:()=>{Yr.destroy()}})),okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>Do(this,null,function*(){Nr.is_cover=1;let Br=yield(0,te.ZP)(ro,{method:Ll?"post":"PUT",body:Wo({},Nr)});(Br==null?void 0:Br.status)===0&&(pi(!1),dl({id:(Br==null?void 0:Br.exercise_question_id)||($n==null?void 0:$n.question_id)})),Yr.destroy()}),onCancel:()=>Do(this,null,function*(){let Br=yield(0,te.ZP)(ro,{method:Ll?"post":"PUT",body:Wo({},Nr)});(Br==null?void 0:Br.status)===0&&(pi(!1),dl({id:(Br==null?void 0:Br.exercise_question_id)||($n==null?void 0:$n.question_id)})),Yr.destroy()})})}else{let Yr=yield(0,te.ZP)(ro,{method:Ll?"post":"PUT",body:Wo({},Nr)});(Yr==null?void 0:Yr.status)===0&&(pi(!1),dl({id:(Yr==null?void 0:Yr.exercise_question_id)||($n==null?void 0:$n.question_id)}))}(0,ht.Vf)("#question-scroll-id")})}function qu($n){return Do(this,null,function*(){var Ya,Nr;wo(!0);let ro=yield(0,te.ZP)(`/api/exercises/${Pe}/sort_question_type.json`,{method:"post",body:{question_type:$n}});if(wo(!1),(ro==null?void 0:ro.status)===0){const Yr=yield Ee({type:"exercise/editExercise",payload:{categoryId:Pe}});Sr(Yr),yl(!1),(Ya=Yr==null?void 0:Yr.exercise)!=null&&Ya.sub_discipline_id&&Zi((Nr=Yr==null?void 0:Yr.exercise)==null?void 0:Nr.sub_discipline_id)}})}const vs=($n,Ya,Nr)=>Do(void 0,null,function*(){var ro;if($n.length===0){Ae.ZP.warning("\u8BF7\u4E0A\u4F20\u6587\u4EF6"),Nr();return}const Yr={id:to==null?void 0:to.exerciseId,file:(ro=$n[0])==null?void 0:ro.file,sub_discipline_id:Ya};hs(Yr,`${Fi.Z.API_SERVER}/api/courses/${to==null?void 0:to.coursesId}/exercises/import_exercise.json`,Br=>{var so;if((Br==null?void 0:Br.status)===0){const Ro={};(so=Br==null?void 0:Br.fail)==null||so.forEach(Nl=>{var su;((su=Object.keys(Ro))==null?void 0:su.includes(Nl.message))?Ro[Nl.message]=Ro[Nl.message]+1:Ro[Nl.message]=1});let Vi=`\u6210\u529F\u5BFC\u5165${Br==null?void 0:Br.success}\u6761`;Object.keys(Ro).forEach(Nl=>{Vi=Vi+`,${Nl}${Ro[Nl]}\u6761`}),Ae.ZP.success(Vi),To(!1),Fo()}(Br==null?void 0:Br.status)===-1&&(Ae.ZP.error(Br==null?void 0:Br.message),Nr())})}),ps=($n,Ya)=>Do(void 0,null,function*(){const Nr=yield(0,Wi.zR)({score:(0,Ui.round)($n,1),question_id:Ya==null?void 0:Ya.question_id});if((Nr==null?void 0:Nr.status)===0){Ae.ZP.success("\u4FEE\u6539\u6210\u529F"),dl({id:Ti.current},!1);return}(Nr==null?void 0:Nr.status)===-1&&vi(Ya==null?void 0:Ya.question_score)}),Hl=()=>{Mo(!0)};(0,b.useEffect)(()=>{if(Eo){const $n=setTimeout(()=>{Mo(!1)},2e3);return()=>clearTimeout($n)}},[Eo]);const hs=($n,Ya,Nr,ro,Yr)=>{const Br=new FormData;Object.keys($n).forEach(Ro=>{Br.append(Ro,$n[Ro])});const so=new window.XMLHttpRequest;return so.withCredentials=!0,so.addEventListener("load",function(Ro){var Vi;Nr(JSON.parse((Vi=Ro==null?void 0:Ro.target)==null?void 0:Vi.response))},!1),so.addEventListener("error",function(Ro){Yr&&Yr(Ro)},!1),so.upload.onprogress=Ro=>{ro&&ro(Ro)},so.open("POST",Ya),so.send(Br),so};function au(){return Do(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:()=>Do(this,null,function*(){if(Dn.question_id){let $n=yield(0,te.ZP)(`/api/exercise_questions/${Dn.question_id}.json`,{method:"delete"});($n==null?void 0:$n.status)===0&&(Fo(),pi(!1))}else ci({}),pi(!1),Fo()}),cancelText:"\u53D6\u6D88"})})}const Zu=$n=>Do(void 0,null,function*(){return yield(0,te.ZP)(`/api/exercises/${Pe}/select_questions.json`,{method:"post",body:Wo({},$n)})}),{overflow:Ql,handleMouseEnter:$u,handleMouseLeave:Ss}=(0,Al.I)(),es=($n,Ya)=>An.createElement(Ft.default,null,An.createElement(Ft.default.Item,{key:"0",onClick:()=>Gu($n==null?void 0:$n.question_type)},An.createElement("span",{className:nt.moreSpan},"\u65B0\u589E")),An.createElement(Ft.default.Item,{key:"1",disabled:Ya===0,onClick:()=>Do(void 0,null,function*(){if(Ya===0)return;if(jo){Hl();return}let Nr=(0,ht.rz)(Pa==null?void 0:Pa.exercise_question_types,Ya,Ya-1);yield qu(Nr.map(ro=>ro.name))})},An.createElement("span",{className:nt.moreSpan},"\u4E0A\u79FB")),An.createElement(Ft.default.Item,{key:"2",disabled:Ya===(Pa==null?void 0:Pa.exercise_question_types.length)-1,onClick:()=>Do(void 0,null,function*(){if(Ya===(Pa==null?void 0:Pa.exercise_question_types.length)-1)return;if(jo){Hl();return}let Nr=(0,ht.rz)(Pa==null?void 0:Pa.exercise_question_types,Ya,Ya+1);yield qu(Nr.map(ro=>ro.name))})},An.createElement("span",{className:nt.moreSpan},"\u4E0B\u79FB")),An.createElement(Ft.default.Item,{key:"3",onClick:()=>{var Nr;Wl.setFieldsValue({name:$n.name,item_type_en:(Nr=Di.find(ro=>ro.id==$n.question_type))==null?void 0:Nr.nameType}),en(!0)}},An.createElement("span",{className:nt.moreSpan},"\u91CD\u547D\u540D"))),Gu=$n=>{var Ya,Nr,ro,Yr,Br,so,Ro,Vi,Nl,su,Ar,wa,ur,io,ti,du,Il,Yl,Ol,fu,ru,Fl,Es,bs;if(jo){Hl();return}if(yl(!0),$n===5){Xi(!0),Gl(!0);return}if($n===6){let Cs=(Nr=(Ya=vt==null?void 0:vt.editData)==null?void 0:Ya.exercise)!=null&&Nr.set_question_sub_discipline?`/problems/newcreate?express_id=${(ro=Pa==null?void 0:Pa.exercise)==null?void 0:ro.id}&callback_url=/classrooms/${to.coursesId}/exercise/add/${Pe}?type=2&discipline_id=${(Br=(Yr=vt==null?void 0:vt.editData)==null?void 0:Yr.exercise)==null?void 0:Br.discipline_id}&sub_discipline_id=${(Ro=(so=vt==null?void 0:vt.editData)==null?void 0:so.exercise)==null?void 0:Ro.sub_discipline_id}`:`/problems/newcreate?express_id=${(Vi=Pa==null?void 0:Pa.exercise)==null?void 0:Vi.id}&callback_url=/classrooms/${to.coursesId}/exercise/add/${Pe}?type=2`;pe.history.push(Cs);return}pi(!0),ci($n===2?{question_type:$n,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=vt==null?void 0:vt.editData)==null?void 0:Nl.exercise)!=null&&su.set_question_sub_discipline?(wa=(Ar=vt==null?void 0:vt.editData)==null?void 0:Ar.exercise)==null?void 0:wa.discipline_id:0,sub_discipline_id:(io=(ur=vt==null?void 0:vt.editData)==null?void 0:ur.exercise)!=null&&io.set_question_sub_discipline?(du=(ti=vt==null?void 0:vt.editData)==null?void 0:ti.exercise)==null?void 0:du.sub_discipline_id:0,analysis:""}:{question_type:$n,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:(Yl=(Il=vt==null?void 0:vt.editData)==null?void 0:Il.exercise)!=null&&Yl.set_question_sub_discipline?(fu=(Ol=vt==null?void 0:vt.editData)==null?void 0:Ol.exercise)==null?void 0:fu.discipline_id:0,sub_discipline_id:(Fl=(ru=vt==null?void 0:vt.editData)==null?void 0:ru.exercise)!=null&&Fl.set_question_sub_discipline?(bs=(Es=vt==null?void 0:vt.editData)==null?void 0:Es.exercise)==null?void 0:bs.sub_discipline_id:0,downcase:!0,no_space:!0})},ts=[{key:1,label:"\u6279\u91CF\u5BFC\u5165",onClick:()=>{To(!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(jo){Hl();return}Cr(!0)}}];return console.log(ri==null?void 0:ri.question_type,Dn==null?void 0:Dn.question_type),An.createElement("div",null,An.createElement(sn.Z,{spinning:Ki},An.createElement("div",{className:nt.bg},((mn=Pa==null?void 0:Pa.exercise_types)==null?void 0:mn.q_counts)===0&&!jo&&An.createElement(Tn.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~")}),(((Jt=Pa==null?void 0:Pa.exercise_types)==null?void 0:Jt.q_counts)>0||jo)&&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},((pt=Pa==null?void 0:Pa.exercise)==null?void 0:pt.exercise_status)===1&&An.createElement(ke.ZP,{onClick:()=>{if(jo){Hl();return}Qo(!0)},className:nt.Button},"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C")),An.createElement("div",{className:nt.scrollWrapper,style:{overflow:Ql},onMouseEnter:$u,onMouseLeave:Ss},($t=Pa==null?void 0:Pa.exercise_question_types)==null?void 0:$t.map(($n,Ya)=>An.createElement("div",{key:Ya,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,ht.EM)(Ya+1),"\u3001\u3010",$n.name,"\u3011"),An.createElement("span",{style:{color:"#464F66",fontSize:12}},"\uFF08",$n.count,"\u5C0F\u9898\uFF0C\u5171",$n.score,"\u5206\uFF09")),An.createElement(Ce.Z,{dropdownRender:()=>es($n,Ya),placement:"bottomLeft"},An.createElement("div",{className:nt.more_style},An.createElement("i",{className:"iconfont icon-sandian font12"})))),An.createElement(Ta,{handleEditing:Hl,isedit:jo,setBigqitem:ul,bigitem:Yi(Wo({},$n),{indexs:Ya+1}),setqitem:Nr=>Do(void 0,null,function*(){var ro;(ro=wi.current)==null||ro.blur(),ci(Nr)}),qitem:Dn,Itemid:Pe,getdata:dl,data:$n.items})))))),An.createElement("div",{id:"question-scroll-id",style:{overflow:jo?"hidden":"auto"},className:nt.right},!(Dn!=null&&Dn.isadd)&&An.createElement("div",{className:nt.title},!jo&&An.createElement("div",{style:{flex:1}},An.createElement("span",{style:{color:"#000000",fontWeight:600,fontSize:16}}," ",(ri==null?void 0:ri.indexs)&&(0,ht.EM)(ri==null?void 0:ri.indexs),"\u3001\u3010",ri==null?void 0:ri.name,"\u3011"),An.createElement(it.Z,{title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0"},An.createElement("i",{className:`${nt.edit} iconfont icon-bianji_Hover mr5 ml5 font18`,onClick:()=>{var $n;Wl.setFieldsValue({name:ri.name,item_type_en:($n=Di.find(Ya=>Ya.id==ri.question_type))==null?void 0:$n.nameType}),en(!0)}})),An.createElement("span",{style:{color:"#464F66",fontSize:16,fontWeight:400}},"\uFF08",ri==null?void 0:ri.count,"\u5C0F\u9898\uFF0C\u5171",ri==null?void 0:ri.score,"\u5206\uFF09"),(Dn==null?void 0:Dn.question_type)===6&&An.createElement("span",{onClick:()=>{Ke.default.destroyAll(),Tr(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:($e=(Cn=vt==null?void 0:vt.editData)==null?void 0:Cn.exercise)==null?void 0:$e.show_challenge_task_pass,onChange:$n=>Do(void 0,null,function*(){let Ya=yield(0,te.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_challenge_task_pass:$n.target.checked}});(Ya==null?void 0:Ya.status)===0&&(Ae.ZP.info("\u8BBE\u7F6E\u6210\u529F"),dl({id:Ti.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 $n,Ya,Nr,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:(Ya=($n=vt==null?void 0:vt.editData)==null?void 0:$n.exercise)==null?void 0:Ya.show_hack_sets,onChange:Yr=>Do(void 0,null,function*(){let Br=yield(0,te.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_hack_sets:Yr.target.checked}});(Br==null?void 0:Br.status)===0&&(Ae.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Ke.default.destroyAll(),dl({id:Ti.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=(Nr=vt==null?void 0:vt.editData)==null?void 0:Nr.exercise)==null?void 0:ro.show_hack_description,onChange:Yr=>Do(void 0,null,function*(){let Br=yield(0,te.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_hack_description:Yr.target.checked}});(Br==null?void 0:Br.status)===0&&(Ae.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Ke.default.destroyAll(),dl({id:Ti.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&&!jo&&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"),!jo&&((Bt=Pa==null?void 0:Pa.exercise)==null?void 0:Bt.exercise_status)==1&&[0,1,2,4,6].includes(Dn==null?void 0:Dn.question_type)&&An.createElement(we.default.Item,{label:"\u5206\u503C",style:{margin:"0 20px"},required:!0},An.createElement(Le.Z,{precision:1,ref:wi,onChange:$n=>vi($n),value:_i,onBlur:$n=>{ps($n.target.value,Dn)}})),!jo&&((cn=Pa==null?void 0:Pa.exercise)==null?void 0:cn.exercise_status)==1&&An.createElement(it.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&&!jo&&An.createElement(An.Fragment,null,(Dn==null?void 0:Dn.is_my)==1&&An.createElement(it.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(it.Z,{title:"\u52A0\u5165\u6211\u7684\u9898\u5E93"},An.createElement("i",{className:`${nt.tianjia} iconfont icon-jiarushitiku mr8 ml8`,onClick:()=>{no.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(sn.Z,{spinning:!1},An.createElement($l.Z,{defaultValue:!0,value:no.current,onChange:$n=>no.current=$n}))),onOk:()=>Do(void 0,null,function*(){var $n;(0,Wi.$l)({id:Dn==null?void 0:Dn.question_id,group_id:(($n=no==null?void 0:no.current)==null?void 0:$n[0])||""}).then(Ya=>{(Ya==null?void 0:Ya.status)==0&&(Ae.ZP.success("\u52A0\u5165\u6210\u529F"),Fo())})})})}}))),!jo&&(((Fn=Pa==null?void 0:Pa.exercise)==null?void 0:Fn.exercise_status)==1||((Xt=Pa==null?void 0:Pa.exercise)==null?void 0:Xt.exercise_status)==2&&((Ut=(Ot=ue.userInfo)==null?void 0:Ot.course)==null?void 0:Ut.course_role)!=15||((Ht=Pa==null?void 0:Pa.exercise)==null?void 0:Ht.exercise_status)==3&&((fn=(ha=ue.userInfo)==null?void 0:ha.course)==null?void 0:fn.course_role)!=15||((pn=Pa==null?void 0:Pa.exercise)==null?void 0:pn.exercise_status)==4&&((mr=(Er=ue.userInfo)==null?void 0:Er.course)==null?void 0:mr.course_role)!=15)&&An.createElement(it.Z,{title:"\u7F16\u8F91\u8BD5\u9898"},An.createElement("i",{onClick:()=>{(Dn==null?void 0:Dn.question_type)===6?pe.history.push(`/problems/newedit/${Dn==null?void 0:Dn.hack_identifier}?type=exercises&express_id=${to.exerciseId}&question_id=${Dn==null?void 0:Dn.question_id}&score=${Dn==null?void 0:Dn.question_score}&exercise=true&callback_url=/classrooms/${to.coursesId}/exercise/add/${Pe}?type=2`):pi(!0)},className:`${nt.edit} iconfont icon-bianji_Hover ml8`})))),!jo&&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(Pt.Z,{className:nt.qtitle,value:(Dn==null?void 0:Dn.index)+`\u3001${(Dn==null?void 0:Dn.question_type)==8?(Ja=Dn==null?void 0:Dn.program_attr)==null?void 0:Ja.description:Dn==null?void 0:Dn.question_title}`}),(Dn==null?void 0:Dn.high_resources_consume)&&An.createElement(tr.Z,{type:"shixun",style:{marginLeft:10}})),(Dn==null?void 0:Dn.question_type)===6&&An.createElement(kt.Z,{onEdit:()=>Tr(1),className:"mt10",dataSource:(Dn==null?void 0:Dn.languages)||[]}),An.createElement(ms,{exercise:vt,TagDiscipline:sl,qitem:Dn})),jo&&An.createElement("div",null,(Dn==null?void 0:Dn.question_type)<=1&&An.createElement(at,{deleteitem:au,getTagData:Zi,seveeditor:Ul,exerciseitem:Pa,TagDiscipline:sl,setisedit:pi,qitem:Dn,init:Fo,showTip:Eo}),(Dn==null?void 0:Dn.question_type)===5&&An.createElement(Ku,{setqitem:ci,deleteitem:au,seveeditor:Ul,exerciseitem:Pa,TagDiscipline:sl,setisedit:pi,qitem:Dn,showTip:Eo}),(Dn==null?void 0:Dn.question_type)===3&&An.createElement(ea,{deleteitem:au,getTagData:Zi,seveeditor:Ul,exerciseitem:Pa,TagDiscipline:sl,setisedit:pi,qitem:Dn,init:Fo,showTip:Eo}),(Dn==null?void 0:Dn.question_type)===2&&An.createElement(ar,{deleteitem:au,getTagData:Zi,seveeditor:Ul,exerciseitem:Pa,TagDiscipline:sl,setisedit:pi,qitem:Dn,init:Fo,showTip:Eo}),(Dn==null?void 0:Dn.question_type)===4&&An.createElement(wt,{deleteitem:au,getTagData:Zi,seveeditor:Ul,exerciseitem:Pa,TagDiscipline:sl,setisedit:pi,qitem:Dn,init:Fo,showTip:Eo}),(Dn==null?void 0:Dn.question_type)===7&&An.createElement(ls,{deleteitem:au,getTagData:Zi,seveeditor:Ul,exerciseitem:Pa,TagDiscipline:sl,setisedit:pi,qitem:Dn,init:Fo,showTip:Eo}),(Dn==null?void 0:Dn.question_type)===8&&An.createElement(ai,{deleteitem:au,getTagData:Zi,seveeditor:Ul,exerciseitem:Pa,TagDiscipline:sl,setisedit:pi,qitem:Dn,init:Fo,showTip:Eo}))))))),An.createElement("div",{className:nt.bottomdiv},An.createElement("div",{className:nt.exercise_styles},((Io=Pa==null?void 0:Pa.exercise)==null?void 0:Io.exercise_status)==1&&An.createElement(An.Fragment,null,An.createElement("span",{className:nt.spanBtn,onClick:()=>{if(jo){Hl();return}Xi(!0),Gl(!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:()=>Do(void 0,null,function*(){var $n;let Ya=yield(0,te.ZP)(`/api/exercises/${to==null?void 0:to.exerciseId}/simulate_start_answer.json`,{method:"get",params:{coursesId:to==null?void 0:to.coursesId,categoryId:to==null?void 0:to.exerciseId}});(Ya==null?void 0:Ya.status)!=-1&&window.open(`/classrooms/${to==null?void 0:to.coursesId}/exercise/${to==null?void 0:to.exerciseId}/${($n=ue.userInfo)==null?void 0:$n.login}/initate_answer`)})},"\u6A21\u62DF\u8003\u8BD5"),An.createElement("span",{className:nt.spanBtn,onClick:()=>{window.open(`/classrooms/${to==null?void 0:to.coursesId}/exercise/${to==null?void 0:to.exerciseId}/detail?random=false&tabs=2`)}},"\u8BD5\u5377\u9884\u89C8"),Di==null?void 0:Di.map($n=>An.createElement(ke.ZP,{className:nt.addQuestionBtn,key:$n.id,type:"primary",onClick:()=>{Gu($n.id)}},$n.name))),((ra=Pa==null?void 0:Pa.exercise)==null?void 0:ra.exercise_status)!=1&&An.createElement(An.Fragment,null,An.createElement("span",{style:{width:"1022px"}})),An.createElement("span",{className:nt.saveBtn,onClick:()=>{var $n,Ya,Nr;if(jo){Hl();return}let ro=(Ya=($n=Pa==null?void 0:Pa.exercise_question_types)==null?void 0:$n.filter(Br=>Br.question_type===5)[0])==null?void 0:Ya.items,Yr=0;ro==null||ro.map(Br=>{Br.high_resources_consume&&(Yr=Yr+1)}),console.log(Yr),Yr>0?Ee({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u63D0\u793A",count:Yr,fn:()=>{var Br;((Br=Pa==null?void 0:Pa.exercise)==null?void 0:Br.exercise_status)==1?(Ae.ZP.success("\u4FDD\u5B58\u6210\u529F"),pe.history.push(`/classrooms/${to==null?void 0:to.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),jl(!1)):pe.history.back()}}}):((Nr=Pa==null?void 0:Pa.exercise)==null?void 0:Nr.exercise_status)==1?(Ae.ZP.success("\u4FDD\u5B58\u6210\u529F"),pe.history.push(`/classrooms/${to==null?void 0:to.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),jl(!1)):pe.history.back()}},An.createElement("i",{className:"iconfont icon-baocun1",style:{fontSize:15,marginRight:5}}),"\u4FDD\u5B58\u8BD5\u5377"))),An.createElement(dn,{setScoreShow:Qo,ScoreShow:oi,exerciseitem:Pa,getdata:Fo}),Ji&&An.createElement($o,{setScoreShow:Xi,isshixuns:Li,isloadings:nu,ScoreShow:Ji,onOk:($n,Ya,Nr,ro,Yr)=>Do(void 0,null,function*(){bu(!0);let so=yield Zu({exam_id:Pe,item_bank_ids:$n,shixun_ids:Ya,shixun_copy_ids:Yr});bu(!1),(so==null?void 0:so.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:()=>{Fo()},onCancel:()=>{Xi(!1),Fo()}})})}),An.createElement(Ju.Z,{sub_discipline_id:(Mr=Pa==null?void 0:Pa.exercise)!=null&&Mr.sub_discipline_id?[(ja=Pa==null?void 0:Pa.exercise)==null?void 0:ja.discipline_id,(jr=Pa==null?void 0:Pa.exercise)==null?void 0:jr.sub_discipline_id]:[],visible:Lr,onCancel:()=>To(!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(ke.ZP,{onClick:()=>{jl(!1),pe.history.back()}},"\u7A0D\u540E\u518D\u8BF4"),An.createElement(ke.ZP,{type:"primary",onClick:()=>{pe.history.push(`/classrooms/${to==null?void 0:to.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),jl(!1)}},"\u8BBE\u7F6E\u89C4\u5219")),onCancel:()=>{jl(!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:()=>Wl.submit(),onCancel:()=>en(!1)},An.createElement(we.default,{form:Wl,initialValues:{},onFinish:$n=>Do(void 0,null,function*(){(yield(0,Wi.RK)(Wo({id:Pe},$n))).status==0&&(Ae.ZP.success("\u4FEE\u6539\u6210\u529F"),Fo(),en(!1))})},An.createElement(we.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($n,Ya){var Nr,ro,Yr,Br;const so=(Nr=Di==null?void 0:Di.find(Ro=>Ro.nameType==Wl.getFieldValue("item_type_en")))==null?void 0:Nr.id;return(Br=(Yr=(ro=Pa==null?void 0:Pa.exercise_question_types)==null?void 0:ro.filter(Ro=>Ro.question_type!=so))==null?void 0:Yr.map(Ro=>Ro==null?void 0:Ro.name))!=null&&Br.includes(Ya)?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(Ue.default,{size:"large",maxLength:10,showCount:!0})),An.createElement(we.default.Item,{hidden:!0,name:"item_type_en"},An.createElement(Ue.default,{size:"large"})))),An.createElement(Qt.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:Kn},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:(yo=Pa==null?void 0:Pa.exercise)!=null&&yo.sub_discipline_id?[(Oo=Pa==null?void 0:Pa.exercise)==null?void 0:Oo.discipline_id,(Uo=Pa==null?void 0:Pa.exercise)==null?void 0:Uo.sub_discipline_id]:[],onCancel:()=>Cr(!1),mode:3,gather:{exercise_id:Pe},onSuccess:()=>{Cr(!1),Fo()}}),An.createElement("div",{style:{height:70}})),An.createElement(kt.Q,{visible:!!ir,setVisible:Tr,tip:ir===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:ir===1?Dn==null?void 0:Dn.languages:[],onOk:$n=>Do(void 0,null,function*(){const Ya={languages:$n};ir===1?Ya.hack_id=Dn==null?void 0:Dn.hack_id:Ya.exercise_id=Pe,(yield(0,te.ZP)("/api/problems/update_languages.json",{method:"post",body:Ya})).status===0&&(Ae.ZP.success("\u4FEE\u6539\u6210\u529F"),dl({id:Ti.current}),Tr(!1))})}))};var Ei=(0,pe.connect)(({user:ue,exercise:Ee,dispatch:Pe})=>({user:ue,exercise:Ee,dispatch:Pe}))(xl),zi=re(24108),zl=re(12395),zo=re(11658),$i=re(87169),Dl=re(54579),aa=re(59301),_l=Object.defineProperty,vl=Object.defineProperties,pl=Object.getOwnPropertyDescriptors,Tl=Object.getOwnPropertySymbols,wl=Object.prototype.hasOwnProperty,tu=Object.prototype.propertyIsEnumerable,Vl=(ue,Ee,Pe)=>Ee in ue?_l(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,lr=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))wl.call(Ee,Pe)&&Vl(ue,Pe,Ee[Pe]);if(Tl)for(var Pe of Tl(Ee))tu.call(Ee,Pe)&&Vl(ue,Pe,Ee[Pe]);return ue},Da=(ue,Ee)=>vl(ue,pl(Ee)),Qr=(ue,Ee)=>{var Pe={};for(var ut in ue)wl.call(ue,ut)&&Ee.indexOf(ut)<0&&(Pe[ut]=ue[ut]);if(ue!=null&&Tl)for(var ut of Tl(ue))Ee.indexOf(ut)<0&&tu.call(ue,ut)&&(Pe[ut]=ue[ut]);return Pe},Go=(ue,Ee,Pe)=>new Promise((ut,vt)=>{var _n=pt=>{try{Jt(Pe.next(pt))}catch($t){vt($t)}},mn=pt=>{try{Jt(Pe.throw(pt))}catch($t){vt($t)}},Jt=pt=>pt.done?ut(pt.value):Promise.resolve(pt.value).then(_n,mn);Jt((Pe=Pe.apply(ue,Ee)).next())});const hl=ue=>{var Ee=ue,{classroomList:Pe,globalSetting:ut,problemset:vt,loading:_n,exercise:mn,user:Jt,dispatch:pt}=Ee,$t=Qr(Ee,["classroomList","globalSetting","problemset","loading","exercise","user","dispatch"]),Cn,$e,Bt,cn,Fn,Xt,Ot,Ut,Ht,ha,fn,pn,Er,mr;const Ja=(0,pe.useParams)(),[Io,ra]=(0,b.useState)(!1),{userInfo:Mr}=Jt,[ja]=we.default.useForm();let[jr,yo]=(0,b.useState)({});const[Oo,Uo]=(0,b.useState)(1),[Pa,Sr]=(0,b.useState)(""),[bi]=(0,pe.useSearchParams)(),[wo,Dn]=(0,b.useState)(!1),[ci,_i]=(0,b.useState)(!1),[vi,wi]=(0,b.useState)(!1),[Ti,ri]=(0,b.useState)(""),[ul,Ki]=(0,b.useState)(!1),[el,jo]=(0,b.useState)(!1);(0,b.useEffect)(()=>{pt({type:"problemset/getEditDisciplines",payload:{source:"new_question",identifier:Ja==null?void 0:Ja.coursesId}}),pt({type:"globalSetting/footerToggle",payload:!1}),ja.setFieldsValue({difficulty:2,courseid:[]})},[]),(0,b.useEffect)(()=>{Ja.exerciseId&&Go(void 0,null,function*(){var Lr,To,oi;const Qo=yield pt({type:"exercise/editExercise",payload:{categoryId:Ja.exerciseId}});(Qo==null?void 0:Qo.status)!==-1&&(((Lr=Qo==null?void 0:Qo.exercise)==null?void 0:Lr.exercise_status)===2||((To=Qo==null?void 0:Qo.exercise)==null?void 0:To.exercise_status)===3||((oi=Qo==null?void 0:Qo.exercise)==null?void 0:oi.exercise_status)===4?wi(!0):wi(!1))})},[Ja]),(0,b.useEffect)(()=>{if(Ja.exerciseId){let Lr=mn.editData.exercise;jo(Lr==null?void 0:Lr.set_question_sub_discipline),ja.setFieldsValue(Da(lr({},Lr),{courseid:Lr!=null&&Lr.sub_discipline_id?[Lr==null?void 0:Lr.discipline_id,Lr==null?void 0:Lr.sub_discipline_id]:[]}))}},[mn]),(0,b.useEffect)(()=>{bi.get("type")==="2"&&(Sr(Ja.exerciseId),Uo(2))},[bi.get("type")]),(0,b.useEffect)(()=>{var Lr;let To=(Lr=vt==null?void 0:vt.disciplinesData)==null?void 0:Lr.checked;To!=null&&To.sub_discipline_id&&ja.setFieldsValue({courseid:[To==null?void 0:To.discipline_id,To==null?void 0:To.sub_discipline_id]})},[(Cn=vt==null?void 0:vt.disciplinesData)==null?void 0:Cn.checked]);function pi(Lr,To){return Go(this,null,function*(){var oi,Qo,Ji,Xi;yield ja.validateFields();const Li=ja.getFieldsValue(),{courseid:Gl}=Li,[Ll,yl]=Gl;Li.sub_discipline_id=yl,Li.is_md=!0,Li.time=parseInt(Li.time)>9999?9999:Li.time;const Pi=yield pt({type:"exercise/addExercise",payload:lr(lr({},Li),Ja)});Pi.status===0?(yield(0,te.ZP)(`/api/courses/${Ja==null?void 0:Ja.coursesId}/exercises/notice_at.json`,{method:"POST",body:{course_id:Ja==null?void 0:Ja.coursesId,id:(oi=Pi==null?void 0:Pi.data)==null?void 0:oi.exercise_id,time:Lr}}),Zl((Qo=Pi.data)==null?void 0:Qo.exercise_id),Sr((Ji=Pi==null?void 0:Pi.data)==null?void 0:Ji.exercise_id),Uo(2),Dn(!1),pe.history.replace(`/classrooms/${Ja.coursesId}/exercise/add/${(Xi=Pi.data)==null?void 0:Xi.exercise_id}?type=2`)):Ae.ZP.error(Pi.message),To()})}function sl(Lr){yo(lr({},Lr))}function Zl(Lr){return Go(this,null,function*(){if(!(jr!=null&&jr.ec_point_ids))return;const To=lr({},jr);delete To.id;let oi=yield(0,te.ZP)(`/api/ec_courses/${jr==null?void 0:jr.ec_course_id}/ec_points/set_work_points.json`,{method:"post",body:lr({exercise_id:Lr},To)})})}return aa.createElement("div",{style:{background:"#ffffff",marginTop:-8,padding:8,minHeight:"100vh",paddingBottom:64}},aa.createElement("section",{className:"edu-container"},aa.createElement("section",{className:"animated fadeIn"},aa.createElement("aside",{className:"mt10"},Mr&&aa.createElement(_e.Z,{separator:">"},aa.createElement(_e.Z.Item,null,aa.createElement(pe.Link,{to:`/classrooms/${Ja.coursesId}/exercise`},($e=Mr==null?void 0:Mr.course)==null?void 0:$e.course_name)),aa.createElement(_e.Z.Item,null,aa.createElement(pe.Link,{to:`/classrooms/${Ja.coursesId}/exercise`},"\u8BD5\u5377\u5217\u8868")),aa.createElement(_e.Z.Item,null,Ja.exerciseId?"\u7F16\u8F91\u8BD5\u5377":"\u65B0\u5EFA\u8BD5\u5377")))),Ja.exerciseId&&aa.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}},aa.createElement($i.Z,{style:{marginRight:5,color:"#E99237"}}),aa.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"),aa.createElement("span",{className:Ge.addQuestionBtn,onClick:()=>{pt({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[Ja.exerciseId]}})}},"\u52A0\u5165\u8BD5\u5377\u5E93")),aa.createElement(zo.Z,{haveInit:!0,init:()=>{ri(new Date)}}),aa.createElement("div",{className:"bg-white"},aa.createElement("div",{style:{display:"flex",justifyContent:"center",paddingTop:20,alignItems:"center"}},aa.createElement("div",{onClick:()=>{if(ci){Ae.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u8BD5\u9898\u3002");return}Uo(1)},className:Oo===1?Ge.selectdiv:Ge.divitem},aa.createElement(zi.Z,{number:1,active:Oo===1,className:"mr10"}),aa.createElement("span",null,"\u8BD5\u5377\u57FA\u7840\u4FE1\u606F")),aa.createElement("div",{style:{width:188,border:"1px dotted #9096A3",margin:"0px 30px",height:1}}),aa.createElement("div",{onClick:()=>{if(!Ja.exerciseId&&!Pa){Ae.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u57FA\u7840\u4FE1\u606F\u518D\u65B0\u5EFA\u8BD5\u9898");return}Uo(2),!Pa&&Sr(Ja.exerciseId)},className:Oo!==1?Ge.selectdiv:Ge.divitem},aa.createElement(zi.Z,{number:2,active:Oo!==1,className:"mr10"}),aa.createElement("span",null,"\u7F16\u8F91\u8BD5\u9898"))),Oo===2&&aa.createElement("div",{className:"tc"},aa.createElement(zl.Z,{defaultValue:(cn=(Bt=mn==null?void 0:mn.editData)==null?void 0:Bt.exercise)==null?void 0:cn.exercise_name,onFinish:Lr=>Go(void 0,null,function*(){var To,oi,Qo,Ji,Xi,Li,Gl,Ll,yl,Pi,jl,to;return Lr.trim()===((oi=(To=mn==null?void 0:mn.editData)==null?void 0:To.exercise)==null?void 0:oi.exercise_name)?!0:(yield(0,Wi.wy)({exercise_name:Lr,exercise_description:(Ji=(Qo=mn==null?void 0:mn.editData)==null?void 0:Qo.exercise)==null?void 0:Ji.exercise_description,sub_discipline_id:(Li=(Xi=mn==null?void 0:mn.editData)==null?void 0:Xi.exercise)==null?void 0:Li.sub_discipline_id,time:(Ll=(Gl=mn==null?void 0:mn.editData)==null?void 0:Gl.exercise)==null?void 0:Ll.time,exerciseId:(Pi=(yl=mn.editData)==null?void 0:yl.exercise)==null?void 0:Pi.id,difficulty:(to=(jl=mn.editData)==null?void 0:jl.exercise)==null?void 0:to.difficulty})).status===0?(ja.setFieldValue("exercise_name",Lr),!0):!1})}),aa.createElement("div",{style:{fontSize:14}},aa.createElement("span",{style:{color:"#5F6368"}},"\u7B54\u9898\u65F6\u957F",aa.createElement("span",{style:{color:"#000000",marginLeft:8}},((Xt=(Fn=mn==null?void 0:mn.editData)==null?void 0:Fn.exercise)==null?void 0:Xt.time)||"\u4E0D\u9650")),aa.createElement("span",{style:{margin:"0px 30px",color:"#5F6368"}},"\u96BE\u5EA6",aa.createElement("span",{style:{color:"#000000",marginLeft:8}},((Ut=(Ot=mn==null?void 0:mn.editData)==null?void 0:Ot.exercise)==null?void 0:Ut.difficulty)===1?"\u7B80\u5355":((ha=(Ht=mn==null?void 0:mn.editData)==null?void 0:Ht.exercise)==null?void 0:ha.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),aa.createElement("span",{style:{marginRight:30,color:"#5F6368"}},"\u8BD5\u9898\u603B\u6570",aa.createElement("span",{style:{color:"#000000",marginLeft:8}},((pn=(fn=mn==null?void 0:mn.editData)==null?void 0:fn.exercise_types)==null?void 0:pn.q_counts)||0)),aa.createElement("span",{style:{color:"#5F6368"}},"\u603B\u5206",aa.createElement("span",{style:{color:"#000000",marginLeft:8}},(mr=(Er=mn==null?void 0:mn.editData)==null?void 0:Er.exercise_types)==null?void 0:mr.q_scores))))),Oo===1&&aa.createElement("div",null,aa.createElement("section",{className:[Ge.bg,"mt20"].join(" "),style:{padding:"30px 120px 300px 120px"}},aa.createElement(we.default,{form:ja,colon:!1,layout:"horizontal",labelCol:{span:4},wrapperCol:{span:20},initialValues:{time:60},onFinish:Lr=>Go(void 0,null,function*(){var To,oi,Qo,Ji,Xi;if(ra(!0),Dn(!0),Ja.exerciseId){Lr.exerciseId=(oi=(To=mn.editData)==null?void 0:To.exercise)==null?void 0:oi.id,Lr.sub_discipline_id=Lr.courseid[Lr.courseid.length-1],yield(0,Wi.wy)(Da(lr({},Lr),{set_question_sub_discipline:el})),Uo(2),Zl(Ja==null?void 0:Ja.exerciseId),Sr(Ja.exerciseId),ra(!1),Dn(!1);return}const Li=yield(0,te.ZP)(`/api/courses/${Ja==null?void 0:Ja.coursesId}/exercises/overload_alert.json`,{method:"get",params:{course_id:Ja==null?void 0:Ja.coursesId}});if(Li!=null&&Li.alert)pt({type:"classroomList/setActionTabs",payload:{key:"\u9884\u7EA6\u5F39\u7A97"}});else{const{courseid:Gl}=Lr,[Ll,yl]=Gl;Lr.sub_discipline_id=yl,Lr.is_md=!0,Lr.time=parseInt(Lr.time)>9999?9999:Lr.time,Lr.set_question_sub_discipline=el;const Pi=yield pt({type:"exercise/addExercise",payload:Da(lr(lr({},Lr),Ja),{category_id:bi.get("catalogue")||null})});Pi.status===0&&(Zl((Qo=Pi.data)==null?void 0:Qo.exercise_id),pe.history.replace(`/classrooms/${Ja.coursesId}/exercise/add/${(Ji=Pi.data)==null?void 0:Ji.exercise_id}?type=2`),Sr((Xi=Pi==null?void 0:Pi.data)==null?void 0:Xi.exercise_id),Uo(2)),Dn(!1)}ra(!1)}),className:Ge.formWrap},aa.createElement(we.default.Item,{name:"exercise_name",label:"\u8BD5\u5377\u540D\u79F0",className:Ge.baseLineHeight,rules:[{required:!0,validator:(Lr,To)=>{var oi;return((oi=To==null?void 0:To.replaceAll(" ",""))==null?void 0:oi.length)>0?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0")}}]},aa.createElement(Ue.default,{maxLength:60,className:Ge.baseFormItem,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",showCount:!0})),aa.createElement(we.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"courseid",className:Ge.baseLineHeight},aa.createElement(De.Z,{disabled:vi,placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:vt.courseOptions,className:Ge.baseFormItem,size:"large",popupClassName:Ge.cascaderPopup,dropdownMenuColumnStyle:{padding:"8px 12px",fontSize:14},allowClear:!0})),aa.createElement("div",{className:Ge.concat},aa.createElement("div",null,aa.createElement(tt.default,{checked:el,onChange:Lr=>{jo(Lr.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")),aa.createElement("div",null,"\u6CA1\u6709\u5408\u9002\u7684\u65B9\u5411&\u8BFE\u7A0B\uFF1F",aa.createElement("a",{onClick:()=>Ki(!0)},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"))),aa.createElement(we.default.Item,{label:"\u96BE\u5EA6",name:"difficulty",className:Ge.radioBtnWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u5EA6"}]},aa.createElement(Me.ZP.Group,{className:Ge.radiogroup,disabled:vi},aa.createElement(Me.ZP.Button,{className:Ge.easy,value:1},"\u7B80\u5355"),aa.createElement(Me.ZP.Button,{className:Ge.medium,value:2},"\u9002\u4E2D"),aa.createElement(Me.ZP.Button,{className:Ge.hard,value:3},"\u56F0\u96BE"))),aa.createElement(we.default.Item,{label:"\u7B54\u9898\u65F6\u957F",className:Ge.baseLineHeight},aa.createElement("div",{style:{display:"flex",width:"100%"}},aa.createElement(we.default.Item,{name:"time",noStyle:!0},aa.createElement(Le.Z,{disabled:vi,min:1,max:9999,className:Ge.baseFormItem,style:{width:220},maxLength:60,placeholder:"\u8BF7\u586B\u5199\u7B54\u9898\u65F6\u957F"})),aa.createElement("span",{style:{marginLeft:"10px",width:"40px",lineHeight:"46px",fontSize:14}},"\u5206\u949F"))),aa.createElement(we.default.Item,{label:"\u8BD5\u5377\u987B\u77E5",name:"exercise_description"},aa.createElement(Ue.default.TextArea,{disabled:vi,rows:6,maxLength:65535,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u987B\u77E5"}))),aa.createElement(hn,{exercise_id:Ja==null?void 0:Ja.exerciseId,setitem:sl})),aa.createElement("div",{className:Ge.bottmodiv},aa.createElement(ke.ZP,{className:`${Ge.cancelBtn}`,type:"primary",onClick:()=>{pe.history.back()}},"\u53D6\u6D88"),aa.createElement(ke.ZP,{loading:wo,onClick:()=>{ja.validateFields(),ja.submit()},type:"primary",className:`${Ge.confirmBtn} ml20`},"\u4E0B\u4E00\u6B65")),aa.createElement(z,{setsubloading:Dn,onModalOk:pi})),Oo===2&&aa.createElement("div",null,aa.createElement(Ei,{key:Ti,setisedits:_i,setitemid:Sr,itemid:Pa}))),aa.createElement(Dl.Z,{open:ul,onCancel:()=>{Ki(!1)}}))};var gu=(0,pe.connect)(({classroomList:ue,loading:Ee,user:Pe,problemset:ut,globalSetting:vt,exercise:_n})=>({classroomList:ue,globalSetting:vt,problemset:ut,user:Pe,exercise:_n,loading:Ee.effects}))(hl)},22590:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return Ye}});var b=re(78241),pe=re(8591),we=re(43418),Ae=re(71418),_e=re(6848),Ue=re(57809),De=re(5112),tt=re(92832),Me=re(1710),Le=re(59301),ke=re(76560),Ge=re(82093),Ke=re(49661),le={radio_con:"radio_con___cvwXd",result_con:"result_con___m5Gmr",result_title:"result_title___D7L1n"},E=re(34055),a=re(89389),x=re(7664),y=re(59301),z=Object.defineProperty,te=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,se=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,be=(We,qe,xe)=>qe in We?z(We,qe,{enumerable:!0,configurable:!0,writable:!0,value:xe}):We[qe]=xe,He=(We,qe)=>{for(var xe in qe||(qe={}))ie.call(qe,xe)&&be(We,xe,qe[xe]);if(se)for(var xe of se(qe))he.call(qe,xe)&&be(We,xe,qe[xe]);return We},Ne=(We,qe)=>te(We,ae(qe)),dt=(We,qe,xe)=>new Promise((gt,lt)=>{var At=un=>{try{Pn(xe.next(un))}catch(Zt){lt(Zt)}},mt=un=>{try{Pn(xe.throw(un))}catch(Zt){lt(Zt)}},Pn=un=>un.done?gt(un.value):Promise.resolve(un.value).then(At,mt);Pn((xe=xe.apply(We,qe)).next())});const Re=({shixunHomeworks:We,exercise:qe,loading:xe,dispatch:gt})=>{var lt,At,mt;const{commonHeader:Pn}=qe,[un,Zt]=(0,Le.useState)([]),[_t,Te]=(0,Le.useState)(Ne(He({},(0,ke.useParams)()),{page:1,limit:10})),[ot,Rt]=(0,Le.useState)([]),[hn,Ft]=(0,Le.useState)(""),[sn,Ce]=(0,Le.useState)(1),[it]=b.default.useForm(),[Qt,nt]=(0,Le.useState)({}),[ht,Tn]=(0,Le.useState)(null),[kt,yt]=(0,Le.useState)(!1),[Pt,Hn]=(0,Le.useState)([]),[Wn,an]=(0,Le.useState)(null),[oa,Ea]=(0,Le.useState)(0),[qn,On]=(0,Le.useState)(0),[Sa,Oa]=(0,Le.useState)(!1),ka=[{title:"\u5E8F\u53F7",dataIndex:"1",width:80,render:(Gt,rn,Ca)=>(_t.page-1)*_t.limit+Ca+1},{title:"\u59D3\u540D",dataIndex:"user_name",ellipsis:!0,width:180},{title:"\u5B66\u53F7",dataIndex:"student_id",align:"left",sorter:!0,render:Gt=>Gt||"--"},{title:"\u5206\u73ED",dataIndex:"user_group_name",align:"left",render:(Gt,rn)=>y.createElement("div",{className:le.banding,title:Gt||"--"},Gt||"--")},{title:"\u63D0\u4EA4\u72B6\u6001",width:200,dataIndex:"commit_status",render:(Gt,rn)=>Gt===0?y.createElement("span",{style:{color:"#666666"}},"\u672A\u5F00\u59CB"):Gt===1?y.createElement("span",{style:{color:"#DF3042"}},!rn.is_make_up&&"\u8003\u8BD5\u4E2D",rn.is_make_up&&"\u8003\u8BD5\u4E2D (\u8865\u8003)"):Gt===2?y.createElement("span",{style:{color:"#5AB891"}},!rn.is_make_up&&!rn.is_force_commit&&"\u5DF2\u4EA4\u5377",rn.is_make_up&&!rn.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003)",rn.is_make_up&&rn.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003/\u5F3A\u5236)",!rn.is_make_up&&rn.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u5F3A\u5236)"):y.createElement("span",{style:{color:"#5AB891"}},!rn.is_make_up&&!rn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54",rn.is_make_up&&!rn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003)",rn.is_make_up&&rn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003/\u5F3A\u5236)",!rn.is_make_up&&rn.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:(Gt,rn)=>rn.commit_status===0||rn.commit_status===1?"--":!rn.open_total_score&&(0,E.dE)()?"\u8001\u5E08\u5BA1\u6838\u4E2D":(Gt=typeof Gt=="number"?Number(Gt):Gt,console.log(typeof Gt),Gt||(Gt=0),Gt===100?y.createElement("span",{className:"c-green"},Gt):Gt>60?y.createElement("span",{className:"c-orange"},Gt):Gt==qn*.6?y.createElement("span",{className:"c-red"},Gt):y.createElement("span",null,Gt))}].filter(Gt=>!!Gt);(0,Le.useEffect)(()=>{var Gt;((Gt=qe.actionTabs)==null?void 0:Gt.key)=="\u6D4B\u8BD5AI\u8BC4\u5206"&&(Hn([]),an(null),va(),Ta(_t))},[(lt=qe.actionTabs)==null?void 0:lt.key]);const va=()=>dt(void 0,null,function*(){var Gt;if(!((Gt=qe.actionTabs)!=null&&Gt.showSelectQuestion))return;const rn=yield(0,Ge.ZP)(`/api/exercises/${_t==null?void 0:_t.categoryId}/all_subj_questions.json`,{method:"get"});rn.status==0&&Hn(rn.data)}),Ua=(Gt,rn)=>{_t.page=Gt,_t.limit=rn,Te(He({},_t)),Ta(_t)},Ta=Gt=>dt(void 0,null,function*(){Oa(!0);const rn=yield(0,Ge.ZP)(`/api/exercises/${_t.categoryId||(_t==null?void 0:_t.exerciseId)}/exercise_users.json`,{method:"get",params:Gt});rn.status==0&&(Ea(rn.data.total_count),Te(Ne(He({},_t),{total:rn.data.total_count})),Zt(rn.data.exercise_users),On(rn.data.total_score)),Oa(!1)}),ga=Gt=>{_t.search=Gt,_t.page=1,it.resetFields(),nt({}),Rt([]),Tn(null),Te(He({},_t)),Ta(_t)},Ra=Gt=>dt(void 0,null,function*(){var rn,Ca;const xa=He({},Qt);if(!((rn=Gt==null?void 0:Gt.content)!=null&&rn.trim())){pe.ZP.warning("\u8BF7\u8F93\u5165\u7B54\u9898\u5185\u5BB9\uFF01");return}xa.content=Gt==null?void 0:Gt.content,xa.attachment_ids=(Ca=Gt==null?void 0:Gt.attachment_ids)==null?void 0:Ca.map(_a=>_a.response.id),qa(xa)}),qa=Gt=>dt(void 0,null,function*(){var rn;yt(!0);const{showSelectQuestion:Ca,ai_review_settings:xa}=qe.actionTabs,_a=yield(0,Ge.ZP)(`/api/exercises/${(_t==null?void 0:_t.categoryId)||(_t==null?void 0:_t.exerciseId)}/test_ai_review.json`,{method:"post",body:Ne(He({},Gt),{exercise_question_id:Ca?Wn:(rn=qe.actionTabs)==null?void 0:rn.questionId,ai_review_settings:xa})});if([0,-3].includes(_a.status)){_a.status==0&&pe.ZP.success("\u8BC4\u5206\u6D4B\u8BD5\u6210\u529F\uFF01"),Tn(_a);const La=document.querySelector(".modal-ai-pfcs");if(La){const za=La.querySelector(".ant-modal-body");za&&(za.scrollTop=za.scrollHeight)}}yt(!1)}),Zn=()=>{gt({type:"exercise/setActionTabs",payload:{key:""}}),Ce(1),yn()},yn=()=>{it.resetFields(),nt({}),Rt([]),Ft(""),Tn(null)};return y.createElement(we.default,{className:"modal-ai-pfcs",width:1150,bodyStyle:{maxHeight:"calc(100vh - 200px)",overflowY:"auto"},centered:!0,title:"\u6D4B\u8BD5AI\u8BC4\u5206",confirmLoading:kt,open:((At=qe.actionTabs)==null?void 0:At.key)==="\u6D4B\u8BD5AI\u8BC4\u5206",destroyOnClose:!0,onCancel:()=>Zn(),okText:ht?"\u91CD\u65B0\u6D4B\u8BD5":"\u5F00\u59CB\u6D4B\u8BD5",onOk:()=>{var Gt;if((Gt=qe.actionTabs)!=null&&Gt.showSelectQuestion&&!Wn)return pe.ZP.warning("\u8BF7\u9009\u62E9\u9898\u76EE\uFF01");if(sn==1){if(ot.length==0)return pe.ZP.warning("\u8BF7\u9009\u62E9\u4E00\u4F4D\u5B66\u751F\u8BD5\u5377\u8FDB\u884C\u8BC4\u5206\u6D4B\u8BD5\uFF01");qa({exercise_user_id:ot[0]})}else sn==2&&it.submit()}},y.createElement(Ae.Z,{spinning:kt,tip:"\u6D4B\u8BD5AI\u8BC4\u5206\u4E2D\u2026\u2026"},((mt=qe.actionTabs)==null?void 0:mt.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(_e.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(Ue.default,{style:{width:"calc(100% - 110px)"},size:"large",placeholder:"\u8BF7\u9009\u62E9\u9898\u76EE",value:Wn,onChange:Gt=>an(Gt)},Pt==null?void 0:Pt.map(Gt=>y.createElement(Ue.default.Option,{key:Gt==null?void 0:Gt.id,value:Gt==null?void 0:Gt.id},Gt==null?void 0:Gt.question_title)))),y.createElement("div",{className:le.radio_con},y.createElement("span",{style:{marginRight:32}},"\u6D4B\u8BD5\u65B9\u5F0F"),y.createElement(De.ZP.Group,{onChange:Gt=>{Gt.target.value==1&&Ua(1,10),Ce(Gt.target.value),yn()},value:sn,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"}}]})),sn==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:hn,onChange:Gt=>Ft(Gt.target.value),onSearch:ga})),y.createElement(Me.default,{rowSelection:{type:"radio",selectedRowKeys:ot,onChange:(Gt,rn)=>{Rt(Gt)},getCheckboxProps:Gt=>({disabled:[0,1].includes(Gt==null?void 0:Gt.commit_status)})},loading:Sa,rowKey:"exercise_user_id",dataSource:un||[],columns:ka,pagination:{current:_t.page,hideOnSinglePage:!0,showQuickJumper:!0,showSizeChanger:!0,pageSize:_t.limit,className:"mb0",pageSizeOptions:["10","20","50","100","200"],total:oa,size:"default",showTotal:Ke.rU,onChange:Ua},onChange:(Gt,rn,Ca)=>{_t.page=1,Ca.order===void 0?(_t.order_type=null,_t.order=null):(_t.order_type=Ca.order==="descend"?"desc":"asc",_t.order=Ca.field),Te(He({},_t)),Ta(_t)}})),sn==2&&y.createElement("div",{style:{marginTop:20}},y.createElement(b.default,{form:it,className:le.formWrap,scrollToFirstError:!0,layout:"vertical",onValuesChange:()=>{nt(He({},it.getFieldsValue()))},onFinish:Ra},y.createElement(b.default.Item,{name:"content",label:"",style:{marginBottom:0}},y.createElement(a.Z,{watch:!0})))),ht&&y.createElement("div",{className:le.result_con},y.createElement("div",{className:le.result_title},"AI\u8BC4\u5206\u7ED3\u679C"),(ht==null?void 0:ht.status)==0&&y.createElement("div",{className:"p20"},y.createElement("div",{className:"mb5"},y.createElement("span",{style:{color:"#333",fontWeight:"bold"}},"\u8BC4\u5206\uFF1A"),ht==null?void 0:ht.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:ht==null?void 0:ht.content,style:{fontSize:"14px"}}))),(ht==null?void 0:ht.status)==-3&&y.createElement("div",{className:"p20"},y.createElement(x.Z,{value:ht==null?void 0:ht.message,style:{fontSize:"14px"}})))))};var Ye=(0,ke.connect)(({shixunHomeworks:We,exercise:qe,loading:xe,user:gt})=>({shixunHomeworks:We,exercise:qe,loading:xe.effects,user:gt}))(Re)},80320:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return E}});var b=re(59301),pe=re(8591),we=re(43418),Ae=re(19842),_e=re(54580),Ue=re(3113),De=re(90524),tt=re(49661),Me=re(82093),Le=re(76560),ke={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"},Ge=re(59301),Ke=(a,x,y)=>new Promise((z,te)=>{var ae=he=>{try{ie(y.next(he))}catch(be){te(be)}},se=he=>{try{ie(y.throw(he))}catch(be){te(be)}},ie=he=>he.done?z(he.value):Promise.resolve(he.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),he=(0,Le.useParams)(),[be,He]=(0,b.useState)([]),[Ne,dt]=(0,b.useState)([]);(0,b.useEffect)(()=>{a?Re():(dt([]),ae([]),ie(!1))},[a]);const Re=()=>Ke(void 0,null,function*(){const lt=yield(0,Me.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});He(lt.disciplines||[]),dt((z==null?void 0:z.length)>0?z:[])}),Ye=()=>{if((Ne==null?void 0:Ne.length)===0)return pe.ZP.warning("\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF01");console.log("subDisciplineId",Ne),ie(!0),x(te,Ne[1],()=>{ie(!1)})},We=()=>{y()},qe=()=>{const lt=`${De.Z.API_SERVER}/api/courses/${he.coursesId}/exercises/down_template`;(0,tt.Nd)(null,lt)},xe=lt=>{const At={name:lt.name,uid:lt.uid,file:lt};return ae([At]),!1},gt=()=>{ae([])};return Ge.createElement(we.default,{title:"\u5BFC\u5165\u8BD5\u9898",open:a,onOk:Ye,centered:!0,wrapClassName:ke.customModal,onCancel:We,width:663,okText:"\u786E\u8BA4",okButtonProps:{className:ke.okBtn},cancelText:"\u53D6\u6D88",confirmLoading:se},Ge.createElement("div",{className:ke.content},Ge.createElement("aside",null,Ge.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA41"),Ge.createElement("ul",null,Ge.createElement("li",null,Ge.createElement("span",{style:{color:"#5F6367"}},"\u6839\u636E\u6A21\u677F\u8981\u6C42\u7F16\u8F91\u9700\u8981\u4E0A\u4F20\u7684\u8BD5\u9898"),Ge.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginLeft:20},onClick:qe},"\u4E0B\u8F7D\u8003\u8BD5\u8BD5\u9898\u6A21\u677F"),Ge.createElement("i",{className:"iconfont icon-xiazai4 ml10",onClick:qe,style:{fontSize:14,cursor:"pointer",color:"#0152d9"}})),Ge.createElement("li",{style:{color:"#FA6400"},className:"mt10"},"\u63D0\u793A"),Ge.createElement("li",{className:ke.infoText},"1\u3001\u76EE\u524D\u4EC5\u652F\u6301Excel\u683C\u5F0F\u6A21\u677F\uFF1B "),Ge.createElement("li",{className:ke.infoText},"2\u3001\u4E0D\u652F\u6301\u7EC4\u5408\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B"),Ge.createElement("li",{className:ke.infoText},"3\u3001\u6BCF\u6B21\u6700\u591A\u5BFC\u5165300\u9898\uFF1B"),Ge.createElement("li",{className:ke.infoText},"4\u3001\u586B\u7A7A\u9898\u5BFC\u5165\u6700\u591A\u652F\u63018\u4E2A\u586B\u7A7A\u9879\u3002"))),Ge.createElement("aside",{style:{marginTop:22}},Ge.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA42"),Ge.createElement("ul",{style:{flex:1}},Ge.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&&Ge.createElement(Ge.Fragment,null,Ge.createElement(Ae.Z,{value:Ne,className:ke.selectitems,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:be,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(lt,At)=>{dt(lt||[])}}),Ge.createElement("br",null),Ge.createElement(_e.default,{action:`${De.Z.API_SERVER}/api/attachments.json`,beforeUpload:xe,onRemove:gt,withCredentials:!0,fileList:te,accept:".xls,.xlsx",showUploadList:!1},Ge.createElement(Ue.ZP,{className:ke.upload,type:"primary",icon:Ge.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6"))),te.map((lt,At)=>Ge.createElement("div",{key:At,className:ke.fileList},Ge.createElement("span",{className:ke.fileName},lt==null?void 0:lt.name),Ge.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#F65160",fontSize:16,cursor:"pointer"},onClick:gt})))))))}},11658:function(Et,Mt,re){"use strict";var b=re(59301),pe=re(43418),we=re(82093),Ae=re(76560),_e=re(59301),Ue=(tt,Me,Le)=>new Promise((ke,Ge)=>{var Ke=a=>{try{E(Le.next(a))}catch(x){Ge(x)}},le=a=>{try{E(Le.throw(a))}catch(x){Ge(x)}},E=a=>a.done?ke(a.value):Promise.resolve(a.value).then(Ke,le);E((Le=Le.apply(tt,Me)).next())});const De=({exercise:tt,dispatch:Me,init:Le,haveInit:ke=!1})=>{const Ge=(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 Ue(this,null,function*(){var se,ie;let he=yield(0,we.ZP)(`/api/courses/${Ge==null?void 0:Ge.coursesId}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:tt.actionTabs.selectArrs}});if(((se=he==null?void 0:he.cover_exercises)==null?void 0:se.length)>0)le(!0),a((ie=he==null?void 0:he.cover_exercises)==null?void 0:ie[0]);else{let be=yield(0,we.ZP)(`/api/courses/${Ge==null?void 0:Ge.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:tt.actionTabs.selectArrs}});Me({type:"exercise/setActionTabs",payload:{key:""}}),(be==null?void 0:be.status)===0&&(ke&&Le(),pe.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 _e.createElement("div",null,_e.createElement(pe.default,{open:Ke,centered:!0,onCancel:se=>Ue(void 0,null,function*(){if(se.target.outerText==="\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"){y(!0);let ie=yield(0,we.ZP)(`/api/courses/${Ge==null?void 0:Ge.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&&(ke&&Le(),le(!1),pe.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:()=>Ue(void 0,null,function*(){te(!0);let se=yield(0,we.ZP)(`/api/courses/${Ge==null?void 0:Ge.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:tt.actionTabs.selectArrs}});te(!1),(se==null?void 0:se.status)===0&&(ke&&Le(),Me({type:"exercise/setActionTabs",payload:{key:""}}),le(!1),pe.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"},_e.createElement("div",null,_e.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"),_e.createElement("div",null,_e.createElement("div",null,"\u8BD5\u5377\uFF1A",E==null?void 0:E.origin_exercise_nam),_e.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",_e.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))))))};Mt.Z=(0,Ae.connect)(({exercise:tt})=>({exercise:tt}))(De)},55956:function(Et,Mt,re){"use strict";re.d(Mt,{h:function(){return b}});var b=(pe=>(pe[pe.NOMATCH=-1]="NOMATCH",pe[pe.OK=0]="OK",pe[pe.TIMEOUT=2]="TIMEOUT",pe[pe.PODFAILURE=3]="PODFAILURE",pe[pe.COMPILEFAILURE=4]="COMPILEFAILURE",pe[pe.EXECUTEFAILURE=5]="EXECUTEFAILURE",pe[pe.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",pe))(b||{})},50582:function(Et,Mt,re){"use strict";re.d(Mt,{H7:function(){return E},MK:function(){return le},MU:function(){return Le},X6:function(){return Ge},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 ke}});var b=re(82093),pe=Object.defineProperty,we=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,Ue=(z,te,ae)=>te in z?pe(z,te,{enumerable:!0,configurable:!0,writable:!0,value:ae}):z[te]=ae,De=(z,te)=>{for(var ae in te||(te={}))Ae.call(te,ae)&&Ue(z,ae,te[ae]);if(we)for(var ae of we(te))_e.call(te,ae)&&Ue(z,ae,te[ae]);return z};function tt(z,te){return(0,b.U2)(`myproblems/${z}.json`,De({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 ke(z,te){return te.language&&(te.language=encodeURIComponent(te.language)),(0,b.U2)(`myproblems/${z}/submit_records.json`,te)}function Ge(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)}},12395:function(Et,Mt,re){"use strict";var b=re(59301),pe=re(6848),we=re(92832),Ae=re(8591),_e=re(81025),Ue=re(59301),De=(Me,Le,ke)=>new Promise((Ge,Ke)=>{var le=x=>{try{a(ke.next(x))}catch(y){Ke(y)}},E=x=>{try{a(ke.throw(x))}catch(y){Ke(y)}},a=x=>x.done?Ge(x.value):Promise.resolve(x.value).then(le,E);a((ke=ke.apply(Me,Le)).next())});const tt=({defaultValue:Me,onFinish:Le})=>{const[ke,Ge]=(0,b.useState)(!1),[Ke,le]=(0,b.useState)(Me);return(0,b.useEffect)(()=>{le(Me)},[Me]),Ue.createElement("div",null,ke?Ue.createElement(we.default,{autoFocus:!0,maxLength:60,style:{textAlign:"center",marginTop:20,marginBottom:20},value:Ke,onChange:E=>{le(E.target.value)},onBlur:()=>De(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))&&Ge(!1)}),onPressEnter:()=>De(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))&&Ge(!1)})}):Ue.createElement("div",{className:_e.Z.title},Ke,Ue.createElement(pe.Z,{title:"\u7F16\u8F91\u8BD5\u5377\u540D\u79F0"},Ue.createElement("i",{className:`${_e.Z.editIcon} iconfont icon-bianji_Hover`,onClick:()=>Ge(!0)}))))};Mt.Z=tt},54579:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return Le}});var b=re(43418),pe={ul:"ul___TdfYY"},we=re(32637),Ae=re(59301),_e=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,tt=(ke,Ge)=>{var Ke={};for(var le in ke)Ue.call(ke,le)&&Ge.indexOf(le)<0&&(Ke[le]=ke[le]);if(ke!=null&&_e)for(var le of _e(ke))Ge.indexOf(le)<0&&De.call(ke,le)&&(Ke[le]=ke[le]);return Ke},Le=ke=>{var Ge=ke,{open:Ke,onCancel:le}=Ge,E=tt(Ge,["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:we,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:pe.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")))))}},14869:function(Et,Mt,re){"use strict";re.d(Mt,{I:function(){return pe}});var b=re(59301);const pe=()=>{const[we,Ae]=(0,b.useState)("hidden");return{overflow:we,handleMouseEnter:()=>Ae("auto"),handleMouseLeave:()=>Ae("hidden")}}},77578:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return b}});const b=pe=>pe?typeof pe=="function"?pe():pe:null},66104:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return qe}});var b=re(92310),pe=re.n(b),we=re(11592),Ae=re(26112),_e=re(59301),Ue=re(92343),De=re(36355),tt=re(84105),Me=re(91857);const Le=xe=>{let{children:gt}=xe;const{getPrefixCls:lt}=_e.useContext(De.E_),At=lt("breadcrumb");return _e.createElement("li",{className:`${At}-separator`,"aria-hidden":"true"},gt===""?gt:gt||"/")};Le.__ANT_BREADCRUMB_SEPARATOR=!0;var ke=Le,Ge=function(xe,gt){var lt={};for(var At in xe)Object.prototype.hasOwnProperty.call(xe,At)&&gt.indexOf(At)<0&&(lt[At]=xe[At]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,At=Object.getOwnPropertySymbols(xe);mt<At.length;mt++)gt.indexOf(At[mt])<0&&Object.prototype.propertyIsEnumerable.call(xe,At[mt])&&(lt[At[mt]]=xe[At[mt]]);return lt};function Ke(xe,gt){if(xe.title===void 0||xe.title===null)return null;const lt=Object.keys(gt).join("|");return typeof xe.title=="object"?xe.title:String(xe.title).replace(new RegExp(`:(${lt})`,"g"),(At,mt)=>gt[mt]||At)}function le(xe,gt,lt,At){if(lt==null)return null;const{className:mt,onClick:Pn}=gt,un=Ge(gt,["className","onClick"]),Zt=Object.assign(Object.assign({},(0,Ae.Z)(un,{data:!0,aria:!0})),{onClick:Pn});return At!==void 0?_e.createElement("a",Object.assign({},Zt,{className:pe()(`${xe}-link`,mt),href:At}),lt):_e.createElement("span",Object.assign({},Zt,{className:pe()(`${xe}-link`,mt)}),lt)}function E(xe,gt){return(At,mt,Pn,un,Zt)=>{if(gt)return gt(At,mt,Pn,un);const _t=Ke(At,mt);return le(xe,At,_t,Zt)}}var a=function(xe,gt){var lt={};for(var At in xe)Object.prototype.hasOwnProperty.call(xe,At)&&gt.indexOf(At)<0&&(lt[At]=xe[At]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,At=Object.getOwnPropertySymbols(xe);mt<At.length;mt++)gt.indexOf(At[mt])<0&&Object.prototype.propertyIsEnumerable.call(xe,At[mt])&&(lt[At[mt]]=xe[At[mt]]);return lt};const x=xe=>{const{prefixCls:gt,separator:lt="/",children:At,menu:mt,overlay:Pn,dropdownProps:un,href:Zt}=xe,Te=(ot=>{if(mt||Pn){const Rt=Object.assign({},un);if(mt){const hn=mt||{},{items:Ft}=hn,sn=a(hn,["items"]);Rt.menu=Object.assign(Object.assign({},sn),{items:Ft==null?void 0:Ft.map((Ce,it)=>{var{key:Qt,title:nt,label:ht,path:Tn}=Ce,kt=a(Ce,["key","title","label","path"]);let yt=ht!=null?ht:nt;return Tn&&(yt=_e.createElement("a",{href:`${Zt}${Tn}`},yt)),Object.assign(Object.assign({},kt),{key:Qt!=null?Qt:it,label:yt})})})}else Pn&&(Rt.overlay=Pn);return _e.createElement(Me.Z,Object.assign({placement:"bottom"},Rt),_e.createElement("span",{className:`${gt}-overlay-link`},ot,_e.createElement(tt.Z,null)))}return ot})(At);return Te!=null?_e.createElement(_e.Fragment,null,_e.createElement("li",null,Te),lt&&_e.createElement(ke,null,lt)):null},y=xe=>{const{prefixCls:gt,children:lt,href:At}=xe,mt=a(xe,["prefixCls","children","href"]),{getPrefixCls:Pn}=_e.useContext(De.E_),un=Pn("breadcrumb",gt);return _e.createElement(x,Object.assign({},mt,{prefixCls:un}),le(un,mt,lt,At))};y.__ANT_BREADCRUMB_ITEM=!0;var z=y,te=re(17313),ae=re(83116),se=re(37613);const ie=xe=>{const{componentCls:gt,iconCls:lt}=xe;return{[gt]:Object.assign(Object.assign({},(0,te.Wf)(xe)),{color:xe.itemColor,fontSize:xe.fontSize,[lt]:{fontSize:xe.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:xe.linkColor,transition:`color ${xe.motionDurationMid}`,padding:`0 ${xe.paddingXXS}px`,borderRadius:xe.borderRadiusSM,height:xe.lineHeight*xe.fontSize,display:"inline-block",marginInline:-xe.marginXXS,"&:hover":{color:xe.linkHoverColor,backgroundColor:xe.colorBgTextHover}},(0,te.Qy)(xe)),"li:last-child":{color:xe.lastItemColor},[`${gt}-separator`]:{marginInline:xe.separatorMargin,color:xe.separatorColor},[`${gt}-link`]:{[`
> ${lt} + span,
> ${lt} + a
`]:{marginInlineStart:xe.marginXXS}},[`${gt}-overlay-link`]:{borderRadius:xe.borderRadiusSM,height:xe.lineHeight*xe.fontSize,display:"inline-block",padding:`0 ${xe.paddingXXS}px`,marginInline:-xe.marginXXS,[`> ${lt}`]:{marginInlineStart:xe.marginXXS,fontSize:xe.fontSizeIcon},"&:hover":{color:xe.linkHoverColor,backgroundColor:xe.colorBgTextHover,a:{color:xe.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${xe.componentCls}-rtl`]:{direction:"rtl"}})}};var he=(0,ae.Z)("Breadcrumb",xe=>{const gt=(0,se.TS)(xe,{});return[ie(gt)]},xe=>({itemColor:xe.colorTextDescription,lastItemColor:xe.colorText,iconFontSize:xe.fontSize,linkColor:xe.colorTextDescription,linkHoverColor:xe.colorText,separatorColor:xe.colorTextDescription,separatorMargin:xe.marginXS})),be=function(xe,gt){var lt={};for(var At in xe)Object.prototype.hasOwnProperty.call(xe,At)&&gt.indexOf(At)<0&&(lt[At]=xe[At]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,At=Object.getOwnPropertySymbols(xe);mt<At.length;mt++)gt.indexOf(At[mt])<0&&Object.prototype.propertyIsEnumerable.call(xe,At[mt])&&(lt[At[mt]]=xe[At[mt]]);return lt};function He(xe){const{breadcrumbName:gt,children:lt}=xe,At=be(xe,["breadcrumbName","children"]),mt=Object.assign({title:gt},At);return lt&&(mt.menu={items:lt.map(Pn=>{var{breadcrumbName:un}=Pn,Zt=be(Pn,["breadcrumbName"]);return Object.assign(Object.assign({},Zt),{title:un})})}),mt}function Ne(xe,gt){return(0,_e.useMemo)(()=>xe||(gt?gt.map(He):null),[xe,gt])}var dt=function(xe,gt){var lt={};for(var At in xe)Object.prototype.hasOwnProperty.call(xe,At)&&gt.indexOf(At)<0&&(lt[At]=xe[At]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,At=Object.getOwnPropertySymbols(xe);mt<At.length;mt++)gt.indexOf(At[mt])<0&&Object.prototype.propertyIsEnumerable.call(xe,At[mt])&&(lt[At[mt]]=xe[At[mt]]);return lt};const Re=(xe,gt)=>{if(gt===void 0)return gt;let lt=(gt||"").replace(/^\//,"");return Object.keys(xe).forEach(At=>{lt=lt.replace(`:${At}`,xe[At])}),lt},Ye=xe=>{const{prefixCls:gt,separator:lt="/",style:At,className:mt,rootClassName:Pn,routes:un,items:Zt,children:_t,itemRender:Te,params:ot={}}=xe,Rt=dt(xe,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:hn,direction:Ft,breadcrumb:sn}=_e.useContext(De.E_);let Ce;const it=hn("breadcrumb",gt),[Qt,nt]=he(it),ht=Ne(Zt,un),Tn=E(it,Te);if(ht&&ht.length>0){const Pt=[],Hn=Zt||un;Ce=ht.map((Wn,an)=>{const{path:oa,key:Ea,type:qn,menu:On,overlay:Sa,onClick:Oa,className:ka,separator:va,dropdownProps:Ua}=Wn,Ta=Re(ot,oa);Ta!==void 0&&Pt.push(Ta);const ga=Ea!=null?Ea:an;if(qn==="separator")return _e.createElement(ke,{key:ga},va);const Ra={},qa=an===ht.length-1;On?Ra.menu=On:Sa&&(Ra.overlay=Sa);let{href:Zn}=Wn;return Pt.length&&Ta!==void 0&&(Zn=`#/${Pt.join("/")}`),_e.createElement(x,Object.assign({key:ga},Ra,(0,Ae.Z)(Wn,{data:!0,aria:!0}),{className:ka,dropdownProps:Ua,href:Zn,separator:qa?"":lt,onClick:Oa,prefixCls:it}),Tn(Wn,ot,Hn,Pt,Zn))})}else if(_t){const Pt=(0,we.Z)(_t).length;Ce=(0,we.Z)(_t).map((Hn,Wn)=>{if(!Hn)return Hn;const an=Wn===Pt-1;return(0,Ue.Tm)(Hn,{separator:an?"":lt,key:Wn})})}const kt=pe()(it,sn==null?void 0:sn.className,{[`${it}-rtl`]:Ft==="rtl"},mt,Pn,nt),yt=Object.assign(Object.assign({},sn==null?void 0:sn.style),At);return Qt(_e.createElement("nav",Object.assign({className:kt,style:yt},Rt),_e.createElement("ol",null,Ce)))};Ye.Item=z,Ye.Separator=ke;var We=Ye,qe=We},19842:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return pa}});var b=re(3300),pe=re(59301),we=re(33853),Ae=re(58617),_e=re(38819),Ue=re(92310),De=re.n(Ue),tt=re(32855),Me=re(11913),Le=re(43079),ke=re(77861),Ge=re(17115),Ke=re(90782),le=re(6089),E=re(18929),a=pe.createContext(null),x=a,y=re(34666),z=re(74430),te=re(27247),ae="__rc_cascader_search_mark__",se=function(at,ct,bt){var St=bt.label;return ct.some(function(vn){return String(vn[St]).toLowerCase().includes(at.toLowerCase())})},ie=function(at,ct,bt,St){return ct.map(function(vn){return vn[St.label]}).join(" / ")},he=function(Be,at,ct,bt,St,vn){var qt=St.filter,ze=qt===void 0?se:qt,Xe=St.render,Qe=Xe===void 0?ie:Xe,Tt=St.limit,gn=Tt===void 0?50:Tt,En=St.sort;return pe.useMemo(function(){var ua=[];if(!Be)return[];function Jn(Mn,ea){var Un=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Mn.forEach(function(Wt){if(!(!En&&gn!==!1&&gn>0&&ua.length>=gn)){var Na=[].concat((0,b.Z)(ea),[Wt]),nr=Wt[ct.children],lo=Un||Wt.disabled;if((!nr||nr.length===0||vn)&&ze(Be,Na,{label:ct.label})){var Wa;ua.push((0,te.Z)((0,te.Z)({},Wt),{},(Wa={disabled:lo},(0,z.Z)(Wa,ct.label,Qe(Be,Na,bt,ct)),(0,z.Z)(Wa,ae,Na),(0,z.Z)(Wa,ct.children,void 0),Wa)))}nr&&Jn(Wt[ct.children],Na,lo)}})}return Jn(at,[]),En&&ua.sort(function(Mn,ea){return En(Mn[ae],ea[ae],Be,ct)}),gn!==!1&&gn>0?ua.slice(0,gn):ua},[Be,at,ct,bt,Qe,vn,ze,En,gn])},be="__RC_CASCADER_SPLIT__",He="SHOW_PARENT",Ne="SHOW_CHILD";function dt(Be){return Be.join(be)}function Re(Be){return Be.map(dt)}function Ye(Be){return Be.split(be)}function We(Be){var at=Be||{},ct=at.label,bt=at.value,St=at.children,vn=bt||"value";return{label:ct||"label",value:vn,key:vn,children:St||"children"}}function qe(Be,at){var ct,bt;return(ct=Be.isLeaf)!==null&&ct!==void 0?ct:!((bt=Be[at.children])!==null&&bt!==void 0&&bt.length)}function xe(Be){var at=Be.parentElement;if(at){var ct=Be.offsetTop-at.offsetTop;ct-at.scrollTop<0?at.scrollTo({top:ct}):ct+Be.offsetHeight-at.scrollTop>at.offsetHeight&&at.scrollTo({top:ct+Be.offsetHeight-at.offsetHeight})}}function gt(Be,at){return Be.map(function(ct){var bt;return(bt=ct[ae])===null||bt===void 0?void 0:bt.map(function(St){return St[at.value]})})}function lt(Be,at,ct){var bt=new Set(Be),St=at();return Be.filter(function(vn){var qt=St[vn],ze=qt?qt.parent:null,Xe=qt?qt.children:null;return qt&&qt.node.disabled?!0:ct===Ne?!(Xe&&Xe.some(function(Qe){return Qe.key&&bt.has(Qe.key)})):!(ze&&!ze.node.disabled&&bt.has(ze.key))})}function At(Be,at,ct){for(var bt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,St=at,vn=[],qt=function(){var Qe,Tt,gn,En=Be[ze],ua=(Qe=St)===null||Qe===void 0?void 0:Qe.findIndex(function(Mn){var ea=Mn[ct.value];return bt?String(ea)===String(En):ea===En}),Jn=ua!==-1?(Tt=St)===null||Tt===void 0?void 0:Tt[ua]:null;vn.push({value:(gn=Jn==null?void 0:Jn[ct.value])!==null&&gn!==void 0?gn:En,index:ua,option:Jn}),St=Jn==null?void 0:Jn[ct.children]},ze=0;ze<Be.length;ze+=1)qt();return vn}var mt=function(Be,at,ct,bt,St){return pe.useMemo(function(){var vn=St||function(qt){var ze=bt?qt.slice(-1):qt,Xe=" / ";return ze.every(function(Qe){return["string","number"].includes((0,y.Z)(Qe))})?ze.join(Xe):ze.reduce(function(Qe,Tt,gn){var En=pe.isValidElement(Tt)?pe.cloneElement(Tt,{key:gn}):Tt;return gn===0?[En]:[].concat((0,b.Z)(Qe),[Xe,En])},[])};return Be.map(function(qt){var ze,Xe,Qe=At(qt,at,ct),Tt=vn(Qe.map(function(En){var ua,Jn=En.option,Mn=En.value;return(ua=Jn==null?void 0:Jn[ct.label])!==null&&ua!==void 0?ua:Mn}),Qe.map(function(En){var ua=En.option;return ua})),gn=dt(qt);return{label:Tt,value:gn,key:gn,valueCells:qt,disabled:(ze=Qe[Qe.length-1])===null||ze===void 0||(Xe=ze.option)===null||Xe===void 0?void 0:Xe.disabled}})},[Be,at,ct,St,bt])},Pn=re(71430),un=function(Be,at){var ct=pe.useRef({options:null,info:null}),bt=pe.useCallback(function(){return ct.current.options!==Be&&(ct.current.options=Be,ct.current.info=(0,Pn.I8)(Be,{fieldNames:at,initWrapper:function(vn){return(0,te.Z)((0,te.Z)({},vn),{},{pathKeyEntities:{}})},processEntity:function(vn,qt){var ze=vn.nodes.map(function(Xe){return Xe[at.value]}).join(be);qt.pathKeyEntities[ze]=vn,vn.key=ze}})),ct.current.info.pathKeyEntities},[at,Be]);return bt},Zt=function(Be,at){return pe.useCallback(function(ct){var bt=[],St=[];return ct.forEach(function(vn){var qt=At(vn,Be,at);qt.every(function(ze){return ze.option})?St.push(vn):bt.push(vn)}),[St,bt]},[Be,at])},_t=re(48736);function Te(Be){return pe.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=pe.memo(function(Be){var at=Be.children;return at},function(Be,at){return!at.open}),Rt=ot;function hn(Be){var at,ct=Be.prefixCls,bt=Be.checked,St=Be.halfChecked,vn=Be.disabled,qt=Be.onClick,ze=Be.disableCheckbox,Xe=pe.useContext(x),Qe=Xe.checkable,Tt=typeof Qe!="boolean"?Qe:null;return pe.createElement("span",{className:De()("".concat(ct),(at={},(0,z.Z)(at,"".concat(ct,"-checked"),bt),(0,z.Z)(at,"".concat(ct,"-indeterminate"),!bt&&St),(0,z.Z)(at,"".concat(ct,"-disabled"),vn||ze),at)),onClick:qt},Tt)}var Ft="__cascader_fix_label__";function sn(Be){var at=Be.prefixCls,ct=Be.multiple,bt=Be.options,St=Be.activeValue,vn=Be.prevValuePath,qt=Be.onToggleOpen,ze=Be.onSelect,Xe=Be.onActive,Qe=Be.checkedSet,Tt=Be.halfCheckedSet,gn=Be.loadingKeys,En=Be.isSelectable,ua=Be.searchValue,Jn="".concat(at,"-menu"),Mn="".concat(at,"-menu-item"),ea=pe.useContext(x),Un=ea.fieldNames,Wt=ea.changeOnSelect,Na=ea.expandTrigger,nr=ea.expandIcon,lo=ea.loadingIcon,Wa=ea.dropdownMenuColumnStyle,Vt=Na==="hover",zr=pe.useMemo(function(){return bt.map(function(Aa){var dr,rr=Aa.disabled,Kr=Aa.disableCheckbox,xr=Aa[ae],ar=(dr=Aa[Ft])!==null&&dr!==void 0?dr:Aa[Un.label],cr=Aa[Un.value],ma=qe(Aa,Un),nn=xr?xr.map(function(wn){return wn[Un.value]}):[].concat((0,b.Z)(vn),[cr]),or=dt(nn),Pr=gn.includes(or),Dr=Qe.has(or),Ka=Tt.has(or);return{disabled:rr,label:ar,value:cr,isLeaf:ma,isLoading:Pr,checked:Dr,halfChecked:Ka,option:Aa,disableCheckbox:Kr,fullPath:nn,fullPathKey:or}})},[bt,Qe,Un,Tt,gn,vn]);return pe.createElement("ul",{className:Jn,role:"menu"},zr.map(function(Aa){var dr,rr=Aa.disabled,Kr=Aa.label,xr=Aa.value,ar=Aa.isLeaf,cr=Aa.isLoading,ma=Aa.checked,nn=Aa.halfChecked,or=Aa.option,Pr=Aa.fullPath,Dr=Aa.fullPathKey,Ka=Aa.disableCheckbox,wn=function(){if(!(rr||ua)){var er=(0,b.Z)(Pr);Vt&&ar&&er.pop(),Xe(er)}},la=function(){En(or)&&ze(Pr,ar)},Qn;return typeof or.title=="string"?Qn=or.title:typeof Kr=="string"&&(Qn=Kr),pe.createElement("li",{key:Dr,className:De()(Mn,(dr={},(0,z.Z)(dr,"".concat(Mn,"-expand"),!ar),(0,z.Z)(dr,"".concat(Mn,"-active"),St===xr||St===Dr),(0,z.Z)(dr,"".concat(Mn,"-disabled"),rr),(0,z.Z)(dr,"".concat(Mn,"-loading"),cr),dr)),style:Wa,role:"menuitemcheckbox",title:Qn,"aria-checked":ma,"data-path-key":Dr,onClick:function(){wn(),!Ka&&(!ct||ar)&&la()},onDoubleClick:function(){Wt&&qt(!1)},onMouseEnter:function(){Vt&&wn()},onMouseDown:function(er){er.preventDefault()}},ct&&pe.createElement(hn,{prefixCls:"".concat(at,"-checkbox"),checked:ma,halfChecked:nn,disabled:rr||Ka,disableCheckbox:Ka,onClick:function(er){Ka||(er.stopPropagation(),la())}}),pe.createElement("div",{className:"".concat(Mn,"-content")},Kr),!cr&&nr&&!ar&&pe.createElement("div",{className:"".concat(Mn,"-expand-icon")},nr),cr&&lo&&pe.createElement("div",{className:"".concat(Mn,"-loading-icon")},lo))}))}var Ce=function(){var Be=(0,ke.lk)(),at=Be.multiple,ct=Be.open,bt=pe.useContext(x),St=bt.values,vn=pe.useState([]),qt=(0,Me.Z)(vn,2),ze=qt[0],Xe=qt[1];return pe.useEffect(function(){if(ct&&!at){var Qe=St[0];Xe(Qe||[])}},[ct]),[ze,Xe]},it=re(10228),Qt=function(Be,at,ct,bt,St,vn){var qt=(0,ke.lk)(),ze=qt.direction,Xe=qt.searchValue,Qe=qt.toggleOpen,Tt=qt.open,gn=ze==="rtl",En=pe.useMemo(function(){for(var Wa=-1,Vt=at,zr=[],Aa=[],dr=bt.length,rr=gt(at,ct),Kr=function(or){var Pr=Vt.findIndex(function(Dr,Ka){return(rr[Ka]?dt(rr[Ka]):Dr[ct.value])===bt[or]});if(Pr===-1)return"break";Wa=Pr,zr.push(Wa),Aa.push(bt[or]),Vt=Vt[Wa][ct.children]},xr=0;xr<dr&&Vt;xr+=1){var ar=Kr(xr);if(ar==="break")break}for(var cr=at,ma=0;ma<zr.length-1;ma+=1)cr=cr[zr[ma]][ct.children];return[Aa,Wa,cr,rr]},[bt,ct,at]),ua=(0,Me.Z)(En,4),Jn=ua[0],Mn=ua[1],ea=ua[2],Un=ua[3],Wt=function(Vt){St(Vt)},Na=function(Vt){var zr=ea.length,Aa=Mn;Aa===-1&&Vt<0&&(Aa=zr);for(var dr=0;dr<zr;dr+=1){Aa=(Aa+Vt+zr)%zr;var rr=ea[Aa];if(rr&&!rr.disabled){var Kr=Jn.slice(0,-1).concat(Un[Aa]?dt(Un[Aa]):rr[ct.value]);Wt(Kr);return}}},nr=function(){if(Jn.length>1){var Vt=Jn.slice(0,-1);Wt(Vt)}else Qe(!1)},lo=function(){var Vt,zr=((Vt=ea[Mn])===null||Vt===void 0?void 0:Vt[ct.children])||[],Aa=zr.find(function(rr){return!rr.disabled});if(Aa){var dr=[].concat((0,b.Z)(Jn),[Aa[ct.value]]);Wt(dr)}};pe.useImperativeHandle(Be,function(){return{onKeyDown:function(Vt){var zr=Vt.which;switch(zr){case it.Z.UP:case it.Z.DOWN:{var Aa=0;zr===it.Z.UP?Aa=-1:zr===it.Z.DOWN&&(Aa=1),Aa!==0&&Na(Aa);break}case it.Z.LEFT:{if(Xe)break;gn?lo():nr();break}case it.Z.RIGHT:{if(Xe)break;gn?nr():lo();break}case it.Z.BACKSPACE:{Xe||nr();break}case it.Z.ENTER:{if(Jn.length){var dr=ea[Mn],rr=(dr==null?void 0:dr[ae])||[];rr.length?vn(rr.map(function(Kr){return Kr[ct.value]}),rr[rr.length-1]):vn(Jn,ea[Mn])}break}case it.Z.ESC:Qe(!1),Tt&&Vt.stopPropagation()}},onKeyUp:function(){}}})},nt=pe.forwardRef(function(Be,at){var ct,bt,St,vn,qt=(0,ke.lk)(),ze=qt.prefixCls,Xe=qt.multiple,Qe=qt.searchValue,Tt=qt.toggleOpen,gn=qt.notFoundContent,En=qt.direction,ua=qt.open,Jn=pe.useRef(),Mn=En==="rtl",ea=pe.useContext(x),Un=ea.options,Wt=ea.values,Na=ea.halfValues,nr=ea.fieldNames,lo=ea.changeOnSelect,Wa=ea.onSelect,Vt=ea.searchOptions,zr=ea.dropdownPrefixCls,Aa=ea.loadData,dr=ea.expandTrigger,rr=zr||ze,Kr=pe.useState([]),xr=(0,Me.Z)(Kr,2),ar=xr[0],cr=xr[1],ma=function(br){if(!(!Aa||Qe)){var co=At(br,Un,nr),Jr=co.map(function(vr){var Zr=vr.option;return Zr}),mo=Jr[Jr.length-1];if(mo&&!qe(mo,nr)){var Vr=dt(br);cr(function(vr){return[].concat((0,b.Z)(vr),[Vr])}),Aa(Jr)}}};pe.useEffect(function(){ar.length&&ar.forEach(function(Fr){var br=Ye(Fr),co=At(br,Un,nr,!0).map(function(mo){var Vr=mo.option;return Vr}),Jr=co[co.length-1];(!Jr||Jr[nr.children]||qe(Jr,nr))&&cr(function(mo){return mo.filter(function(Vr){return Vr!==Fr})})})},[Un,ar,nr]);var nn=pe.useMemo(function(){return new Set(Re(Wt))},[Wt]),or=pe.useMemo(function(){return new Set(Re(Na))},[Na]),Pr=Ce(),Dr=(0,Me.Z)(Pr,2),Ka=Dr[0],wn=Dr[1],la=function(br){wn(br),ma(br)},Qn=function(br){var co=br.disabled,Jr=qe(br,nr);return!co&&(Jr||lo||Xe)},zn=function(br,co){var Jr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Wa(br),!Xe&&(co||lo&&(dr==="hover"||Jr))&&Tt(!1)},er=pe.useMemo(function(){return Qe?Vt:Un},[Qe,Vt,Un]),yr=pe.useMemo(function(){for(var Fr=[{options:er}],br=er,co=gt(br,nr),Jr=function(){var Zr=Ka[mo],Ho=br.find(function(Qa,Vo){return(co[Vo]?dt(co[Vo]):Qa[nr.value])===Zr}),ho=Ho==null?void 0:Ho[nr.children];if(!(ho!=null&&ho.length))return"break";br=ho,Fr.push({options:ho})},mo=0;mo<Ka.length;mo+=1){var Vr=Jr();if(Vr==="break")break}return Fr},[er,Ka,nr]),hr=function(br,co){Qn(co)&&zn(br,qe(co,nr),!0)};Qt(at,er,nr,Ka,la,hr),pe.useEffect(function(){for(var Fr=0;Fr<Ka.length;Fr+=1){var br,co=Ka.slice(0,Fr+1),Jr=dt(co),mo=(br=Jn.current)===null||br===void 0?void 0:br.querySelector('li[data-path-key="'.concat(Jr.replace(/\\{0,2}"/g,'\\"'),'"]'));mo&&xe(mo)}},[Ka]);var fr=!((ct=yr[0])!==null&&ct!==void 0&&(bt=ct.options)!==null&&bt!==void 0&&bt.length),Ga=[(St={},(0,z.Z)(St,nr.value,"__EMPTY__"),(0,z.Z)(St,Ft,gn),(0,z.Z)(St,"disabled",!0),St)],po=(0,te.Z)((0,te.Z)({},Be),{},{multiple:!fr&&Xe,onSelect:zn,onActive:la,onToggleOpen:Tt,checkedSet:nn,halfCheckedSet:or,loadingKeys:ar,isSelectable:Qn}),Po=fr?[{options:Ga}]:yr,Ci=Po.map(function(Fr,br){var co=Ka.slice(0,br),Jr=Ka[br];return pe.createElement(sn,(0,tt.Z)({key:br},po,{searchValue:Qe,prefixCls:rr,options:Fr.options,prevValuePath:co,activeValue:Jr}))});return pe.createElement(Rt,{open:ua},pe.createElement("div",{className:De()("".concat(rr,"-menus"),(vn={},(0,z.Z)(vn,"".concat(rr,"-menu-empty"),fr),(0,z.Z)(vn,"".concat(rr,"-rtl"),Mn),vn)),ref:Jn},Ci))}),ht=nt;function Tn(Be){var at=Be.onPopupVisibleChange,ct=Be.popupVisible,bt=Be.popupClassName,St=Be.popupPlacement;warning(!at,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(ct===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 kt(Be,at){if(Be){var ct=function bt(St){for(var vn=0;vn<St.length;vn++){var qt=St[vn];if(qt[at==null?void 0:at.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(qt[at==null?void 0:at.children])&&bt(qt[at==null?void 0:at.children]))return!0}};ct(Be)}}var yt=null,Pt=["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 Hn(Be){return Array.isArray(Be)&&Array.isArray(Be[0])}function Wn(Be){return Be?Hn(Be)?Be:(Be.length===0?[]:[Be]).map(function(at){return Array.isArray(at)?at:[at]}):[]}var an=pe.forwardRef(function(Be,at){var ct=Be.id,bt=Be.prefixCls,St=bt===void 0?"rc-cascader":bt,vn=Be.fieldNames,qt=Be.defaultValue,ze=Be.value,Xe=Be.changeOnSelect,Qe=Be.onChange,Tt=Be.displayRender,gn=Be.checkable,En=Be.autoClearSearchValue,ua=En===void 0?!0:En,Jn=Be.searchValue,Mn=Be.onSearch,ea=Be.showSearch,Un=Be.expandTrigger,Wt=Be.options,Na=Be.dropdownPrefixCls,nr=Be.loadData,lo=Be.popupVisible,Wa=Be.open,Vt=Be.popupClassName,zr=Be.dropdownClassName,Aa=Be.dropdownMenuColumnStyle,dr=Be.popupPlacement,rr=Be.placement,Kr=Be.onDropdownVisibleChange,xr=Be.onPopupVisibleChange,ar=Be.expandIcon,cr=ar===void 0?">":ar,ma=Be.loadingIcon,nn=Be.children,or=Be.dropdownMatchSelectWidth,Pr=or===void 0?!1:or,Dr=Be.showCheckedStrategy,Ka=Dr===void 0?He:Dr,wn=(0,Le.Z)(Be,Pt),la=(0,Ge.ZP)(ct),Qn=!!gn,zn=(0,E.Z)(qt,{value:ze,postState:Wn}),er=(0,Me.Z)(zn,2),yr=er[0],hr=er[1],fr=pe.useMemo(function(){return We(vn)},[JSON.stringify(vn)]),Ga=pe.useMemo(function(){return Wt||[]},[Wt]),po=un(Ga,fr),Po=pe.useCallback(function(tn){var Yt=po();return tn.map(function(Bn){var Ba=Yt[Bn].nodes;return Ba.map(function(pr){return pr[fr.value]})})},[po,fr]),Ci=(0,E.Z)("",{value:Jn,postState:function(Yt){return Yt||""}}),Fr=(0,Me.Z)(Ci,2),br=Fr[0],co=Fr[1],Jr=function(Yt,Bn){co(Yt),Bn.source!=="blur"&&Mn&&Mn(Yt)},mo=Te(ea),Vr=(0,Me.Z)(mo,2),vr=Vr[0],Zr=Vr[1],Ho=he(br,Ga,fr,Na||St,Zr,Xe),ho=Zt(Ga,fr),Qa=pe.useMemo(function(){var tn=ho(yr),Yt=(0,Me.Z)(tn,2),Bn=Yt[0],Ba=Yt[1];if(!Qn||!yr.length)return[Bn,[],Ba];var pr=Re(Bn),eo=po(),fo=(0,Ke.S)(pr,!0,eo),qo=fo.checkedKeys,Bo=fo.halfCheckedKeys;return[Po(qo),Po(Bo),Ba]},[Qn,yr,po,Po,ho]),Vo=(0,Me.Z)(Qa,3),Yo=Vo[0],ii=Vo[1],Ir=Vo[2],ni=pe.useMemo(function(){var tn=Re(Yo),Yt=lt(tn,po,Ka);return[].concat((0,b.Z)(Ir),(0,b.Z)(Po(Yt)))},[Yo,po,Po,Ir,Ka]),Se=mt(ni,Ga,fr,Qn,Tt),xt=(0,le.Z)(function(tn){if(hr(tn),Qe){var Yt=Wn(tn),Bn=Yt.map(function(eo){return At(eo,Ga,fr).map(function(fo){return fo.option})}),Ba=Qn?Yt:Yt[0],pr=Qn?Bn:Bn[0];Qe(Ba,pr)}}),Kt=(0,le.Z)(function(tn){if((!Qn||ua)&&co(""),!Qn)xt(tn);else{var Yt=dt(tn),Bn=Re(Yo),Ba=Re(ii),pr=Bn.includes(Yt),eo=Ir.some(function(ao){return dt(ao)===Yt}),fo=Yo,qo=Ir;if(eo&&!pr)qo=Ir.filter(function(ao){return dt(ao)!==Yt});else{var Bo=pr?Bn.filter(function(ao){return ao!==Yt}):[].concat((0,b.Z)(Bn),[Yt]),Oi=po(),si;if(pr){var tl=(0,Ke.S)(Bo,{checked:!1,halfCheckedKeys:Ba},Oi);si=tl.checkedKeys}else{var li=(0,Ke.S)(Bo,!0,Oi);si=li.checkedKeys}var Ml=lt(si,po,Ka);fo=Po(Ml)}xt([].concat((0,b.Z)(qo),(0,b.Z)(fo)))}}),bn=function(Yt,Bn){if(Bn.type==="clear"){xt([]);return}var Ba=Bn.values[0],pr=Ba.valueCells;Kt(pr)},Ct=Wa!==void 0?Wa:lo,Vn=zr||Vt,Xn=rr||dr,Sn=function(Yt){Kr==null||Kr(Yt),xr==null||xr(Yt)},Ln=pe.useMemo(function(){return{options:Ga,fieldNames:fr,values:Yo,halfValues:ii,changeOnSelect:Xe,onSelect:Kt,checkable:gn,searchOptions:Ho,dropdownPrefixCls:Na,loadData:nr,expandTrigger:Un,expandIcon:cr,loadingIcon:ma,dropdownMenuColumnStyle:Aa}},[Ga,fr,Yo,ii,Xe,Kt,gn,Ho,Na,nr,Un,cr,ma,Aa]),Za=!(br?Ho:Ga).length,Gn=br&&Zr.matchInputWidth||Za?{}:{minWidth:"auto"};return pe.createElement(x.Provider,{value:Ln},pe.createElement(ke.Ac,(0,tt.Z)({},wn,{ref:at,id:la,prefixCls:St,autoClearSearchValue:ua,dropdownMatchSelectWidth:Pr,dropdownStyle:Gn,displayValues:Se,onDisplayValuesChange:bn,mode:Qn?"multiple":void 0,searchValue:br,onSearch:Jr,showSearch:vr,OptionList:ht,emptyOptions:Za,open:Ct,dropdownClassName:Vn,placement:Xn,onDropdownVisibleChange:Sn,getRawInputElement:function(){return nn}})))});an.SHOW_PARENT=He,an.SHOW_CHILD=Ne;var oa=an,Ea=oa,qn=re(2738),On=re(62892),Sa=re(53487),Oa=re(19080),ka=re(36355),va=re(93891),Ua=re(1684),Ta=re(19716),ga=re(32441),Ra=re(14154),qa=re(58582),Zn=re(84443),yn=re(66339),Gt=re(33234),rn=re(98447),Ca=re(17313),xa=re(74207),_a=re(83116);const La=Be=>{const{prefixCls:at,componentCls:ct,antCls:bt}=Be,St=`${ct}-menu-item`,vn=`
&${St}-expand ${St}-expand-icon,
${St}-loading-icon
`;return[{[ct]:{width:Be.controlWidth}},{[`${ct}-dropdown`]:[(0,rn.C2)(`${at}-checkbox`,Be),{[`&${bt}-select-dropdown`]:{padding:0}},{[ct]:{"&-checkbox":{top:0,marginInlineEnd:Be.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${ct}-menu-empty`]:{[`${ct}-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({},Ca.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"},[vn]:{color:Be.colorTextDisabled}},[`&-active:not(${St}-disabled)`]:{"&, &:hover":{fontWeight:Be.optionSelectedFontWeight,backgroundColor:Be.optionSelectedBg}},"&-content":{flex:"auto"},[vn]:{marginInlineStart:Be.paddingXXS,color:Be.colorTextDescription,fontSize:Be.fontSizeIcon},"&-keyword":{color:Be.colorHighlight}})}}}]},{[`${ct}-dropdown-rtl`]:{direction:"rtl"}},(0,xa.c)(Be)]};var za=(0,_a.Z)("Cascader",Be=>[La(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}}),sr=function(Be,at){var ct={};for(var bt in Be)Object.prototype.hasOwnProperty.call(Be,bt)&&at.indexOf(bt)<0&&(ct[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])&&(ct[bt[St]]=Be[bt[St]]);return ct};const{SHOW_CHILD:$a,SHOW_PARENT:ia}=Ea;function Rr(Be,at,ct){const bt=Be.toLowerCase().split(at).reduce((qt,ze,Xe)=>Xe===0?[ze]:[].concat((0,b.Z)(qt),[at,ze]),[]),St=[];let vn=0;return bt.forEach((qt,ze)=>{const Xe=vn+qt.length;let Qe=Be.slice(vn,Xe);vn=Xe,ze%2===1&&(Qe=pe.createElement("span",{className:`${ct}-menu-item-keyword`,key:`separator-${ze}`},Qe)),St.push(Qe)}),St}const Lt=(Be,at,ct,bt)=>{const St=[],vn=Be.toLowerCase();return at.forEach((qt,ze)=>{ze!==0&&St.push(" / ");let Xe=qt[bt.label];const Qe=typeof Xe;(Qe==="string"||Qe==="number")&&(Xe=Rr(String(Xe),vn,ct)),St.push(Xe)}),St},xn=pe.forwardRef((Be,at)=>{const{prefixCls:ct,size:bt,disabled:St,className:vn,rootClassName:qt,multiple:ze,bordered:Xe=!0,transitionName:Qe,choiceTransitionName:Tt="",popupClassName:gn,dropdownClassName:En,expandIcon:ua,placement:Jn,showSearch:Mn,allowClear:ea=!0,notFoundContent:Un,direction:Wt,getPopupContainer:Na,status:nr,showArrow:lo,builtinPlacements:Wa,style:Vt}=Be,zr=sr(Be,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),Aa=(0,qn.Z)(zr,["suffixIcon"]),{getPopupContainer:dr,getPrefixCls:rr,renderEmpty:Kr,direction:xr,popupOverflow:ar,cascader:cr}=pe.useContext(ka.E_),ma=Wt||xr,nn=ma==="rtl",{status:or,hasFeedback:Pr,isFormItemInput:Dr,feedbackIcon:Ka}=pe.useContext(ga.aM),wn=(0,Oa.F)(or,nr),la=Un||(Kr==null?void 0:Kr("Cascader"))||pe.createElement(va.Z,{componentName:"Cascader"}),Qn=rr(),zn=rr("select",ct),er=rr("cascader",ct),[yr,hr]=(0,Ra.Z)(zn),[fr]=za(er),{compactSize:Ga,compactItemClassnames:po}=(0,Gt.ri)(zn,Wt),Po=De()(gn||En,`${er}-dropdown`,{[`${er}-dropdown-rtl`]:ma==="rtl"},qt,hr),Ci=pe.useMemo(()=>{if(!Mn)return Mn;let Ir={render:Lt};return typeof Mn=="object"&&(Ir=Object.assign(Object.assign({},Ir),Mn)),Ir},[Mn]),Fr=(0,Ta.Z)(Ir=>{var ni;return(ni=bt!=null?bt:Ga)!==null&&ni!==void 0?ni:Ir}),br=pe.useContext(Ua.Z),co=St!=null?St:br;let Jr=ua;ua||(Jr=nn?pe.createElement(we.Z,null):pe.createElement(_e.Z,null));const mo=pe.createElement("span",{className:`${zn}-menu-item-loading-icon`},pe.createElement(Ae.Z,{spin:!0})),Vr=pe.useMemo(()=>ze?pe.createElement("span",{className:`${er}-checkbox-inner`}):!1,[ze]),vr=(0,Zn.Z)(Be.suffixIcon,lo),{suffixIcon:Zr,removeIcon:Ho,clearIcon:ho}=(0,yn.Z)(Object.assign(Object.assign({},Be),{hasFeedback:Pr,feedbackIcon:Ka,showSuffixIcon:vr,multiple:ze,prefixCls:zn,componentName:"Cascader"})),Qa=pe.useMemo(()=>Jn!==void 0?Jn:nn?"bottomRight":"bottomLeft",[Jn,nn]),Vo=(0,qa.Z)(Wa,ar),Yo=ea===!0?{clearIcon:ho}:ea,ii=pe.createElement(Ea,Object.assign({prefixCls:zn,className:De()(!ct&&er,{[`${zn}-lg`]:Fr==="large",[`${zn}-sm`]:Fr==="small",[`${zn}-rtl`]:nn,[`${zn}-borderless`]:!Xe,[`${zn}-in-form-item`]:Dr},(0,Oa.Z)(zn,wn,Pr),po,cr==null?void 0:cr.className,vn,qt,hr),disabled:co,style:Object.assign(Object.assign({},cr==null?void 0:cr.style),Vt)},Aa,{builtinPlacements:Vo,direction:ma,placement:Qa,notFoundContent:la,allowClear:Yo,showSearch:Ci,expandIcon:Jr,suffixIcon:Zr,removeIcon:Ho,loadingIcon:mo,checkable:Vr,dropdownClassName:Po,dropdownPrefixCls:ct||er,choiceTransitionName:(0,On.m)(Qn,"",Tt),transitionName:(0,On.m)(Qn,"slide-up",Qe),getPopupContainer:Na||dr,ref:at}));return fr(yr(ii))}),na=(0,Sa.Z)(xn);xn.SHOW_PARENT=ia,xn.SHOW_CHILD=$a,xn._InternalPanelDoNotUseOrYouWillBeFired=na;var pa=xn},36381:function(Et,Mt,re){"use strict";re.d(Mt,{default:function(){return Qt}});var b=re(38819),pe=re(92310),we=re.n(pe),Ae=re(32855),_e=re(3300),Ue=re(11913),De=re(34666),tt=re(18929),Me=re(48736),Le=re(59301),ke=re(43079),Ge=re(11592),Ke=re(74430),le=re(77900),E=re(10228),a=Le.forwardRef(function(nt,ht){var Tn=nt.prefixCls,kt=nt.forceRender,yt=nt.className,Pt=nt.style,Hn=nt.children,Wn=nt.isActive,an=nt.role,oa=Le.useState(Wn||kt),Ea=(0,Ue.Z)(oa,2),qn=Ea[0],On=Ea[1];return Le.useEffect(function(){(kt||Wn)&&On(!0)},[kt,Wn]),qn?Le.createElement("div",{ref:ht,className:we()("".concat(Tn,"-content"),(0,Ke.Z)((0,Ke.Z)({},"".concat(Tn,"-content-active"),Wn),"".concat(Tn,"-content-inactive"),!Wn),yt),style:Pt,role:an},Le.createElement("div",{className:"".concat(Tn,"-content-box")},Hn)):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,ht){var Tn=nt.showArrow,kt=Tn===void 0?!0:Tn,yt=nt.headerClass,Pt=nt.isActive,Hn=nt.onItemClick,Wn=nt.forceRender,an=nt.className,oa=nt.prefixCls,Ea=nt.collapsible,qn=nt.accordion,On=nt.panelKey,Sa=nt.extra,Oa=nt.header,ka=nt.expandIcon,va=nt.openMotion,Ua=nt.destroyInactivePanel,Ta=nt.children,ga=(0,ke.Z)(nt,y),Ra=Ea==="disabled",qa=Ea==="header",Zn=Ea==="icon",yn=Sa!=null&&typeof Sa!="boolean",Gt=function(){Hn==null||Hn(On)},rn=function(sr){(sr.key==="Enter"||sr.keyCode===E.Z.ENTER||sr.which===E.Z.ENTER)&&Gt()},Ca=typeof ka=="function"?ka(nt):Le.createElement("i",{className:"arrow"});Ca&&(Ca=Le.createElement("div",{className:"".concat(oa,"-expand-icon"),onClick:["header","icon"].includes(Ea)?Gt:void 0},Ca));var xa=we()((0,Ke.Z)((0,Ke.Z)((0,Ke.Z)({},"".concat(oa,"-item"),!0),"".concat(oa,"-item-active"),Pt),"".concat(oa,"-item-disabled"),Ra),an),_a=we()(yt,(0,Ke.Z)((0,Ke.Z)((0,Ke.Z)({},"".concat(oa,"-header"),!0),"".concat(oa,"-header-collapsible-only"),qa),"".concat(oa,"-icon-collapsible-only"),Zn)),La={className:_a,"aria-expanded":Pt,"aria-disabled":Ra,onKeyDown:rn};return!qa&&!Zn&&(La.onClick=Gt,La.role=qn?"tab":"button",La.tabIndex=Ra?-1:0),Le.createElement("div",(0,Ae.Z)({},ga,{ref:ht,className:xa}),Le.createElement("div",La,kt&&Ca,Le.createElement("span",{className:"".concat(oa,"-header-text"),onClick:Ea==="header"?Gt:void 0},Oa),yn&&Le.createElement("div",{className:"".concat(oa,"-extra")},Sa)),Le.createElement(le.default,(0,Ae.Z)({visible:Pt,leavedClassName:"".concat(oa,"-content-hidden")},va,{forceRender:Wn,removeOnLeave:Ua}),function(za,sr){var $a=za.className,ia=za.style;return Le.createElement(x,{ref:sr,prefixCls:oa,className:$a,style:ia,isActive:Pt,forceRender:Wn,role:qn?"tabpanel":void 0},Ta)}))}),te=z,ae=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],se=function(ht,Tn){var kt=Tn.prefixCls,yt=Tn.accordion,Pt=Tn.collapsible,Hn=Tn.destroyInactivePanel,Wn=Tn.onItemClick,an=Tn.activeKey,oa=Tn.openMotion,Ea=Tn.expandIcon;return ht.map(function(qn,On){var Sa=qn.children,Oa=qn.label,ka=qn.key,va=qn.collapsible,Ua=qn.onItemClick,Ta=qn.destroyInactivePanel,ga=(0,ke.Z)(qn,ae),Ra=String(ka!=null?ka:On),qa=va!=null?va:Pt,Zn=Ta!=null?Ta:Hn,yn=function(Ca){qa!=="disabled"&&(Wn(Ca),Ua==null||Ua(Ca))},Gt=!1;return yt?Gt=an[0]===Ra:Gt=an.indexOf(Ra)>-1,Le.createElement(te,(0,Ae.Z)({},ga,{prefixCls:kt,key:Ra,panelKey:Ra,isActive:Gt,accordion:yt,openMotion:oa,expandIcon:Ea,header:Oa,collapsible:qa,onItemClick:yn,destroyInactivePanel:Zn}),Sa)})},ie=function(ht,Tn,kt){if(!ht)return null;var yt=kt.prefixCls,Pt=kt.accordion,Hn=kt.collapsible,Wn=kt.destroyInactivePanel,an=kt.onItemClick,oa=kt.activeKey,Ea=kt.openMotion,qn=kt.expandIcon,On=ht.key||String(Tn),Sa=ht.props,Oa=Sa.header,ka=Sa.headerClass,va=Sa.destroyInactivePanel,Ua=Sa.collapsible,Ta=Sa.onItemClick,ga=!1;Pt?ga=oa[0]===On:ga=oa.indexOf(On)>-1;var Ra=Ua!=null?Ua:Hn,qa=function(Gt){Ra!=="disabled"&&(an(Gt),Ta==null||Ta(Gt))},Zn={key:On,panelKey:On,header:Oa,headerClass:ka,isActive:ga,prefixCls:yt,destroyInactivePanel:va!=null?va:Wn,openMotion:Ea,accordion:Pt,children:ht.props.children,onItemClick:qa,expandIcon:qn,collapsible:Ra};return typeof ht.type=="string"?ht:(Object.keys(Zn).forEach(function(yn){typeof Zn[yn]=="undefined"&&delete Zn[yn]}),Le.cloneElement(ht,Zn))};function he(nt,ht,Tn){return Array.isArray(nt)?se(nt,Tn):(0,Ge.Z)(ht).map(function(kt,yt){return ie(kt,yt,Tn)})}var be=he,He=re(26112);function Ne(nt){var ht=nt;if(!Array.isArray(ht)){var Tn=(0,De.Z)(ht);ht=Tn==="number"||Tn==="string"?[ht]:[]}return ht.map(function(kt){return String(kt)})}var dt=Le.forwardRef(function(nt,ht){var Tn=nt.prefixCls,kt=Tn===void 0?"rc-collapse":Tn,yt=nt.destroyInactivePanel,Pt=yt===void 0?!1:yt,Hn=nt.style,Wn=nt.accordion,an=nt.className,oa=nt.children,Ea=nt.collapsible,qn=nt.openMotion,On=nt.expandIcon,Sa=nt.activeKey,Oa=nt.defaultActiveKey,ka=nt.onChange,va=nt.items,Ua=we()(kt,an),Ta=(0,tt.Z)([],{value:Sa,onChange:function(rn){return ka==null?void 0:ka(rn)},defaultValue:Oa,postState:Ne}),ga=(0,Ue.Z)(Ta,2),Ra=ga[0],qa=ga[1],Zn=function(rn){return qa(function(){if(Wn)return Ra[0]===rn?[]:[rn];var Ca=Ra.indexOf(rn),xa=Ca>-1;return xa?Ra.filter(function(_a){return _a!==rn}):[].concat((0,_e.Z)(Ra),[rn])})};(0,Me.ZP)(!oa,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var yn=be(va,oa,{prefixCls:kt,accordion:Wn,openMotion:qn,expandIcon:On,collapsible:Ea,destroyInactivePanel:Pt,onItemClick:Zn,activeKey:Ra});return Le.createElement("div",(0,Ae.Z)({ref:ht,className:Ua,style:Hn,role:Wn?"tablist":void 0},(0,He.Z)(nt,{aria:!0,data:!0})),yn)}),Re=Object.assign(dt,{Panel:te}),Ye=Re,We=Re.Panel,qe=re(2738),xe=re(62892),gt=re(92343),lt=re(36355),At=re(19716),Pn=Le.forwardRef((nt,ht)=>{const{getPrefixCls:Tn}=Le.useContext(lt.E_),{prefixCls:kt,className:yt,showArrow:Pt=!0}=nt,Hn=Tn("collapse",kt),Wn=we()({[`${Hn}-no-arrow`]:!Pt},yt);return Le.createElement(Ye.Panel,Object.assign({ref:ht},nt,{prefixCls:Hn,className:Wn}))}),un=re(17313),Zt=re(8378),_t=re(83116),Te=re(37613);const ot=nt=>{const{componentCls:ht,contentBg:Tn,padding:kt,headerBg:yt,headerPadding:Pt,collapseHeaderPaddingSM:Hn,collapseHeaderPaddingLG:Wn,collapsePanelBorderRadius:an,lineWidth:oa,lineType:Ea,colorBorder:qn,colorText:On,colorTextHeading:Sa,colorTextDisabled:Oa,fontSize:ka,fontSizeLG:va,lineHeight:Ua,marginSM:Ta,paddingSM:ga,paddingLG:Ra,paddingXS:qa,motionDurationSlow:Zn,fontSizeIcon:yn,contentPadding:Gt}=nt,rn=`${oa}px ${Ea} ${qn}`;return{[ht]:Object.assign(Object.assign({},(0,un.Wf)(nt)),{backgroundColor:yt,border:rn,borderBottom:0,borderRadius:`${an}px`,"&-rtl":{direction:"rtl"},[`& > ${ht}-item`]:{borderBottom:rn,"&:last-child":{[`
&,
& > ${ht}-header`]:{borderRadius:`0 0 ${an}px ${an}px`}},[`> ${ht}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:Pt,color:Sa,lineHeight:Ua,cursor:"pointer",transition:`all ${Zn}, visibility 0s`,[`> ${ht}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${ht}-expand-icon`]:{height:ka*Ua,display:"flex",alignItems:"center",paddingInlineEnd:Ta},[`${ht}-arrow`]:Object.assign(Object.assign({},(0,un.Ro)()),{fontSize:yn,svg:{transition:`transform ${Zn}`}}),[`${ht}-header-text`]:{marginInlineEnd:"auto"}},[`${ht}-header-collapsible-only`]:{cursor:"default",[`${ht}-header-text`]:{flex:"none",cursor:"pointer"}},[`${ht}-icon-collapsible-only`]:{cursor:"default",[`${ht}-expand-icon`]:{cursor:"pointer"}}},[`${ht}-content`]:{color:On,backgroundColor:Tn,borderTop:rn,[`& > ${ht}-content-box`]:{padding:Gt},"&-hidden":{display:"none"}},"&-small":{[`> ${ht}-item`]:{[`> ${ht}-header`]:{padding:Hn,paddingInlineStart:qa,[`> ${ht}-expand-icon`]:{marginInlineStart:ga-qa}},[`> ${ht}-content > ${ht}-content-box`]:{padding:ga}}},"&-large":{[`> ${ht}-item`]:{fontSize:va,[`> ${ht}-header`]:{padding:Wn,paddingInlineStart:kt,[`> ${ht}-expand-icon`]:{height:va*Ua,marginInlineStart:Ra-kt}},[`> ${ht}-content > ${ht}-content-box`]:{padding:Ra}}},[`${ht}-item:last-child`]:{[`> ${ht}-content`]:{borderRadius:`0 0 ${an}px ${an}px`}},[`& ${ht}-item-disabled > ${ht}-header`]:{"\n &,\n & > .arrow\n ":{color:Oa,cursor:"not-allowed"}},[`&${ht}-icon-position-end`]:{[`& > ${ht}-item`]:{[`> ${ht}-header`]:{[`${ht}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:Ta}}}}})}},Rt=nt=>{const{componentCls:ht}=nt,Tn=`> ${ht}-item > ${ht}-header ${ht}-arrow svg`;return{[`${ht}-rtl`]:{[Tn]:{transform:"rotate(180deg)"}}}},hn=nt=>{const{componentCls:ht,headerBg:Tn,paddingXXS:kt,colorBorder:yt}=nt;return{[`${ht}-borderless`]:{backgroundColor:Tn,border:0,[`> ${ht}-item`]:{borderBottom:`1px solid ${yt}`},[`
> ${ht}-item:last-child,
> ${ht}-item:last-child ${ht}-header
`]:{borderRadius:0},[`> ${ht}-item:last-child`]:{borderBottom:0},[`> ${ht}-item > ${ht}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${ht}-item > ${ht}-content > ${ht}-content-box`]:{paddingTop:kt}}}},Ft=nt=>{const{componentCls:ht,paddingSM:Tn}=nt;return{[`${ht}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${ht}-item`]:{borderBottom:0,[`> ${ht}-content`]:{backgroundColor:"transparent",border:0,[`> ${ht}-content-box`]:{paddingBlock:Tn}}}}}};var sn=(0,_t.Z)("Collapse",nt=>{const ht=(0,Te.TS)(nt,{collapseHeaderPaddingSM:`${nt.paddingXS}px ${nt.paddingSM}px`,collapseHeaderPaddingLG:`${nt.padding}px ${nt.paddingLG}px`,collapsePanelBorderRadius:nt.borderRadiusLG});return[ot(ht),hn(ht),Ft(ht),Rt(ht),(0,Zt.Z)(ht)]},nt=>({headerPadding:`${nt.paddingSM}px ${nt.padding}px`,headerBg:nt.colorFillAlter,contentPadding:`${nt.padding}px 16px`,contentBg:nt.colorBgContainer})),it=Object.assign(Le.forwardRef((nt,ht)=>{const{getPrefixCls:Tn,direction:kt,collapse:yt}=Le.useContext(lt.E_),{prefixCls:Pt,className:Hn,rootClassName:Wn,style:an,bordered:oa=!0,ghost:Ea,size:qn,expandIconPosition:On="start",children:Sa,expandIcon:Oa}=nt,ka=(0,At.Z)(rn=>{var Ca;return(Ca=qn!=null?qn:rn)!==null&&Ca!==void 0?Ca:"middle"}),va=Tn("collapse",Pt),Ua=Tn(),[Ta,ga]=sn(va),Ra=Le.useMemo(()=>On==="left"?"start":On==="right"?"end":On,[On]),qa=function(){let rn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Ca=Oa?Oa(rn):Le.createElement(b.Z,{rotate:rn.isActive?90:void 0});return(0,gt.Tm)(Ca,()=>({className:we()(Ca.props.className,`${va}-arrow`)}))},Zn=we()(`${va}-icon-position-${Ra}`,{[`${va}-borderless`]:!oa,[`${va}-rtl`]:kt==="rtl",[`${va}-ghost`]:!!Ea,[`${va}-${ka}`]:ka!=="middle"},yt==null?void 0:yt.className,Hn,Wn,ga),yn=Object.assign(Object.assign({},(0,xe.Z)(Ua)),{motionAppear:!1,leavedClassName:`${va}-content-hidden`}),Gt=Le.useMemo(()=>Sa?(0,Ge.Z)(Sa).map((rn,Ca)=>{var xa,_a;if(!((xa=rn.props)===null||xa===void 0)&&xa.disabled){const La=(_a=rn.key)!==null&&_a!==void 0?_a:String(Ca),{disabled:za,collapsible:sr}=rn.props,$a=Object.assign(Object.assign({},(0,qe.Z)(rn.props,["disabled"])),{key:La,collapsible:sr!=null?sr:za?"disabled":void 0});return(0,gt.Tm)(rn,$a)}return rn}):null,[Sa]);return Ta(Le.createElement(Ye,Object.assign({ref:ht,openMotion:yn},(0,qe.Z)(nt,["rootClassName"]),{expandIcon:qa,prefixCls:va,className:Zn,style:Object.assign(Object.assign({},yt==null?void 0:yt.style),an)}),Gt))}),{Panel:Pn}),Qt=it},5083:function(Et,Mt,re){"use strict";re.d(Mt,{default:function(){return fs}});var b=re(61186),pe=re.n(b),we=re(48736),Ae=re(90111),_e=re.n(Ae),Ue=re(58319),De=re.n(Ue),tt=re(23250),Me=re.n(tt),Le=re(74959),ke=re.n(Le),Ge=re(10238),Ke=re.n(Ge),le=re(33656),E=re.n(le);pe().extend(E()),pe().extend(Ke()),pe().extend(_e()),pe().extend(De()),pe().extend(Me()),pe().extend(ke()),pe().extend(function(ce,ge){var me=ge.prototype,Ie=me.format;me.format=function(ft){var rt=(ft||"").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 me=a[ge];return me||ge.split("_")[0]},y=function(){(0,we.ET)(!1,"Not match any format. Please help to fire a issue about this.")},z={getNow:function(){return pe()()},getFixedDate:function(ge){return pe()(ge,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(ge){return ge.endOf("month")},getWeekDay:function(ge){var me=ge.locale("en");return me.weekday()+me.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,me){return ge.add(me,"year")},addMonth:function(ge,me){return ge.add(me,"month")},addDate:function(ge,me){return ge.add(me,"day")},setYear:function(ge,me){return ge.year(me)},setMonth:function(ge,me){return ge.month(me)},setDate:function(ge,me){return ge.date(me)},setHour:function(ge,me){return ge.hour(me)},setMinute:function(ge,me){return ge.minute(me)},setSecond:function(ge,me){return ge.second(me)},isAfter:function(ge,me){return ge.isAfter(me)},isValidate:function(ge){return ge.isValid()},locale:{getWeekFirstDay:function(ge){return pe()().locale(x(ge)).localeData().firstDayOfWeek()},getWeekFirstDate:function(ge,me){return me.locale(x(ge)).weekday(0)},getWeek:function(ge,me){return me.locale(x(ge)).week()},getShortWeekDays:function(ge){return pe()().locale(x(ge)).localeData().weekdaysMin()},getShortMonths:function(ge){return pe()().locale(x(ge)).localeData().monthsShort()},format:function(ge,me,Ie){return me.locale(x(ge)).format(Ie)},parse:function(ge,me,Ie){for(var Oe=x(ge),ft=0;ft<Ie.length;ft+=1){var rt=Ie[ft],Nt=me;if(rt.includes("wo")||rt.includes("Wo")){for(var wt=Nt.split("-")[0],It=Nt.split("-")[1],jn=pe()(wt,"YYYY").startOf("year").locale(Oe),on=0;on<=52;on+=1){var dn=jn.add(on,"week");if(dn.format("Wo")===It)return dn}return y(),null}var Nn=pe()(Nt,rt,!0).locale(Oe);if(Nn.isValid())return Nn}return me&&y(),null}}},te=z,ae=re(53487),se=re(32855),ie=re(59301),he={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"},be=he,He=re(7657),Ne=function(ge,me){return ie.createElement(He.Z,(0,se.Z)({},ge,{ref:me,icon:be}))},dt=ie.forwardRef(Ne),Re=dt,Ye={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"},We=Ye,qe=function(ge,me){return ie.createElement(He.Z,(0,se.Z)({},ge,{ref:me,icon:We}))},xe=ie.forwardRef(qe),gt=xe,lt=re(19248),At={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"},mt=At,Pn=function(ge,me){return ie.createElement(He.Z,(0,se.Z)({},ge,{ref:me,icon:mt}))},un=ie.forwardRef(Pn),Zt=un,_t=re(92310),Te=re.n(_t),ot=re(33377),Rt=re(93912),hn=re(83383),Ft=re(18881),sn=re(85461),Ce=re(74430),it=re(27247),Qt=re(11913),nt=re(18929),ht=re(26112),Tn=re(80547),kt=re(13697),yt=10,Pt=yt*10,Hn=7;function Wn(ce,ge){if(!ce&&!ge)return!0;if(!ce||!ge)return!1}function an(ce,ge,me){var Ie=Wn(ge,me);if(typeof Ie=="boolean")return Ie;var Oe=Math.floor(ce.getYear(ge)/10),ft=Math.floor(ce.getYear(me)/10);return Oe===ft}function oa(ce,ge,me){var Ie=Wn(ge,me);return typeof Ie=="boolean"?Ie:ce.getYear(ge)===ce.getYear(me)}function Ea(ce,ge){var me=Math.floor(ce.getMonth(ge)/3);return me+1}function qn(ce,ge,me){var Ie=Wn(ge,me);return typeof Ie=="boolean"?Ie:oa(ce,ge,me)&&Ea(ce,ge)===Ea(ce,me)}function On(ce,ge,me){var Ie=Wn(ge,me);return typeof Ie=="boolean"?Ie:oa(ce,ge,me)&&ce.getMonth(ge)===ce.getMonth(me)}function Sa(ce,ge,me){var Ie=Wn(ge,me);return typeof Ie=="boolean"?Ie:ce.getYear(ge)===ce.getYear(me)&&ce.getMonth(ge)===ce.getMonth(me)&&ce.getDate(ge)===ce.getDate(me)}function Oa(ce,ge,me){var Ie=Wn(ge,me);return typeof Ie=="boolean"?Ie:ce.getHour(ge)===ce.getHour(me)&&ce.getMinute(ge)===ce.getMinute(me)&&ce.getSecond(ge)===ce.getSecond(me)}function ka(ce,ge,me,Ie){var Oe=Wn(me,Ie);return typeof Oe=="boolean"?Oe:oa(ce,me,Ie)&&ce.locale.getWeek(ge,me)===ce.locale.getWeek(ge,Ie)}function va(ce,ge,me){return Sa(ce,ge,me)&&Oa(ce,ge,me)}function Ua(ce,ge,me,Ie){return!ge||!me||!Ie?!1:!Sa(ce,ge,Ie)&&!Sa(ce,me,Ie)&&ce.isAfter(Ie,ge)&&ce.isAfter(me,Ie)}function Ta(ce,ge,me){var Ie=ge.locale.getWeekFirstDay(ce),Oe=ge.setDate(me,1),ft=ge.getWeekDay(Oe),rt=ge.addDate(Oe,Ie-ft);return ge.getMonth(rt)===ge.getMonth(me)&&ge.getDate(rt)>1&&(rt=ge.addDate(rt,-7)),rt}function ga(ce,ge,me){var Ie=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(ge){case"year":return me.addYear(ce,Ie*10);case"quarter":case"month":return me.addYear(ce,Ie);default:return me.addMonth(ce,Ie)}}function Ra(ce,ge){var me=ge.generateConfig,Ie=ge.locale,Oe=ge.format;return typeof Oe=="function"?Oe(ce):me.locale.format(Ie.locale,ce,Oe)}function qa(ce,ge){var me=ge.generateConfig,Ie=ge.locale,Oe=ge.formatList;return!ce||typeof Oe[0]=="function"?null:me.locale.parse(Ie.locale,ce,Oe)}function Zn(ce){var ge=ce.cellDate,me=ce.mode,Ie=ce.disabledDate,Oe=ce.generateConfig;if(!Ie)return!1;var ft=function(In,Dt,zt){for(var Rn=Dt;Rn<=zt;){var ln=void 0;switch(In){case"date":{if(ln=Oe.setDate(ge,Rn),!Ie(ln))return!1;break}case"month":{if(ln=Oe.setMonth(ge,Rn),!Zn({cellDate:ln,mode:"month",generateConfig:Oe,disabledDate:Ie}))return!1;break}case"year":{if(ln=Oe.setYear(ge,Rn),!Zn({cellDate:ln,mode:"year",generateConfig:Oe,disabledDate:Ie}))return!1;break}}Rn+=1}return!0};switch(me){case"date":case"week":return Ie(ge);case"month":{var rt=1,Nt=Oe.getDate(Oe.getEndDate(ge));return ft("date",rt,Nt)}case"quarter":{var wt=Math.floor(Oe.getMonth(ge)/3)*3,It=wt+2;return ft("month",wt,It)}case"year":return ft("month",0,11);case"decade":{var jn=Oe.getYear(ge),on=Math.floor(jn/yt)*yt,dn=on+yt-1;return ft("year",on,dn)}}}function yn(ce,ge){var me=ge.formatList,Ie=ge.generateConfig,Oe=ge.locale;return(0,Tn.Z)(function(){if(!ce)return[[""],""];for(var ft="",rt=[],Nt=0;Nt<me.length;Nt+=1){var wt=me[Nt],It=Ra(ce,{generateConfig:Ie,locale:Oe,format:wt});rt.push(It),Nt===0&&(ft=It)}return[rt,ft]},[ce,me,Oe],function(ft,rt){return!va(Ie,ft[0],rt[0])||!(0,kt.Z)(ft[1],rt[1],!0)||!(0,kt.Z)(ft[2],rt[2],!0)})}function Gt(ce,ge){var me=ge.formatList,Ie=ge.generateConfig,Oe=ge.locale,ft=(0,ie.useState)(null),rt=(0,Qt.Z)(ft,2),Nt=rt[0],wt=rt[1],It=(0,ie.useRef)(null);function jn(zt){var Rn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(It.current),Rn){wt(zt);return}It.current=requestAnimationFrame(function(){wt(zt)})}var on=yn(Nt,{formatList:me,generateConfig:Ie,locale:Oe}),dn=(0,Qt.Z)(on,2),Nn=dn[1];function In(zt){jn(zt)}function Dt(){var zt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;jn(null,zt)}return(0,ie.useEffect)(function(){Dt(!0)},[ce]),(0,ie.useEffect)(function(){return function(){return cancelAnimationFrame(It.current)}},[]),[Nn,In,Dt]}var rn=re(10228),Ca=re(16089),xa=re(3300),_a=re(29194),La=new Map;function za(ce,ge){var me;function Ie(){(0,_a.Z)(ce)?ge():me=(0,Ca.Z)(function(){Ie()})}return Ie(),function(){Ca.Z.cancel(me)}}function sr(ce,ge,me){if(La.get(ce)&&cancelAnimationFrame(La.get(ce)),me<=0){La.set(ce,requestAnimationFrame(function(){ce.scrollTop=ge}));return}var Ie=ge-ce.scrollTop,Oe=Ie/me*10;La.set(ce,requestAnimationFrame(function(){ce.scrollTop+=Oe,ce.scrollTop!==ge&&sr(ce,ge,me-10)}))}function $a(ce,ge){var me=ge.onLeftRight,Ie=ge.onCtrlLeftRight,Oe=ge.onUpDown,ft=ge.onPageUpDown,rt=ge.onEnter,Nt=ce.which,wt=ce.ctrlKey,It=ce.metaKey;switch(Nt){case rn.Z.LEFT:if(wt||It){if(Ie)return Ie(-1),!0}else if(me)return me(-1),!0;break;case rn.Z.RIGHT:if(wt||It){if(Ie)return Ie(1),!0}else if(me)return me(1),!0;break;case rn.Z.UP:if(Oe)return Oe(-1),!0;break;case rn.Z.DOWN:if(Oe)return Oe(1),!0;break;case rn.Z.PAGE_UP:if(ft)return ft(-1),!0;break;case rn.Z.PAGE_DOWN:if(ft)return ft(1),!0;break;case rn.Z.ENTER:if(rt)return rt(),!0;break}return!1}function ia(ce,ge,me,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=me?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Oe}function Rr(ce,ge,me){var Ie=ce==="time"?8:10,Oe=typeof ge=="function"?ge(me.getNow()).length:ge.length;return Math.max(Ie,Oe)+2}var Lt=null,xn=new Set;function na(ce){return!Lt&&typeof window!="undefined"&&window.addEventListener&&(Lt=function(me){(0,xa.Z)(xn).forEach(function(Ie){Ie(me)})},window.addEventListener("mousedown",Lt)),xn.add(ce),function(){xn.delete(ce),xn.size===0&&(window.removeEventListener("mousedown",Lt),Lt=null)}}function pa(ce){var ge=ce.target;if(ce.composed&&ge.shadowRoot){var me;return((me=ce.composedPath)===null||me===void 0?void 0:me.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},ct=function(ge){return ge==="month"||ge==="date"?"quarter":ge},bt=function(ge){return ge==="date"?"week":ge},St={year:Be,month:at,quarter:ct,week:bt,time:null,date:null};function vn(ce,ge){return ce.some(function(me){return me&&me.contains(ge)})}function qt(ce){var ge=ce.open,me=ce.value,Ie=ce.isClickOutside,Oe=ce.triggerOpen,ft=ce.forwardKeyDown,rt=ce.onKeyDown,Nt=ce.blurToCancel,wt=ce.onSubmit,It=ce.onCancel,jn=ce.onFocus,on=ce.onBlur,dn=ce.changeOnBlur,Nn=(0,ie.useState)(!1),In=(0,Qt.Z)(Nn,2),Dt=In[0],zt=In[1],Rn=(0,ie.useState)(!1),ln=(0,Qt.Z)(Rn,2),da=ln[0],Fa=ln[1],Ia=(0,ie.useRef)(!1),ba=(0,ie.useRef)(!1),ca=(0,ie.useRef)(!1),_r={onMouseDown:function(){zt(!0),Oe(!0)},onKeyDown:function(wr){var Xr=function(){ca.current=!0};if(rt(wr,Xr),!ca.current){switch(wr.which){case rn.Z.ENTER:{ge?wt()!==!1&&zt(!0):Oe(!0),wr.preventDefault();return}case rn.Z.TAB:{Dt&&ge&&!wr.shiftKey?(zt(!1),wr.preventDefault()):!Dt&&ge&&!ft(wr)&&wr.shiftKey&&(zt(!0),wr.preventDefault());return}case rn.Z.ESC:{zt(!0),It();return}}!ge&&![rn.Z.SHIFT].includes(wr.which)?Oe(!0):Dt||ft(wr)}},onFocus:function(wr){zt(!0),Fa(!0),jn&&jn(wr)},onBlur:function(wr){if(Ia.current||!Ie(document.activeElement)){Ia.current=!1;return}Nt?setTimeout(function(){for(var Xr=document,oo=Xr.activeElement;oo&&oo.shadowRoot;)oo=oo.shadowRoot.activeElement;Ie(oo)&&It()},0):ge&&(Oe(!1),ba.current&&wt()),Fa(!1),on==null||on(wr)}};return(0,ie.useEffect)(function(){ba.current=!1},[ge]),(0,ie.useEffect)(function(){ba.current=!0},[me]),(0,ie.useEffect)(function(){return na(function(tr){var wr=pa(tr),Xr=Ie(wr);ge&&(Xr?!dn&&(!da||Xr)&&Oe(!1):(Ia.current=!0,(0,Ca.Z)(function(){Ia.current=!1})))})}),[_r,{focused:da,typing:Dt}]}function ze(ce,ge){return ie.useMemo(function(){return ce||(ge?((0,we.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(ge).map(function(me){var Ie=(0,Qt.Z)(me,2),Oe=Ie[0],ft=Ie[1];return{label:Oe,value:ft}})):[])},[ce,ge])}var Xe=re(34280);function Qe(ce){var ge=ce.valueTexts,me=ce.onTextChange,Ie=ie.useState(""),Oe=(0,Qt.Z)(Ie,2),ft=Oe[0],rt=Oe[1],Nt=ie.useRef([]);Nt.current=ge;function wt(jn){rt(jn),me(jn)}function It(){rt(Nt.current[0])}return(0,Xe.Z)(function(){ge.every(function(jn){return jn!==ft})&&It()},[ge.join("||")]),[ft,wt,It]}var Tt=ie.createContext({}),gn=Tt,En=re(34666);function ua(ce){var ge=ce.cellRender,me=ce.monthCellRender,Ie=ce.dateRender,Oe=ie.useMemo(function(){if(ge)return ge;if(!(!me&&!Ie))return function(ft,rt){var Nt=ft;return Ie&&rt.type==="date"?Ie(Nt,rt.today):me&&rt.type==="month"?me(Nt,rt.locale):rt.originNode}},[ge,me,Ie]);return Oe}function Jn(ce,ge){for(var me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Ie=String(ce);Ie.length<ge;)Ie="".concat(me).concat(ce);return Ie}var Mn=function(){for(var ge=arguments.length,me=new Array(ge),Ie=0;Ie<ge;Ie++)me[Ie]=arguments[Ie];return me};function ea(ce){return ce==null?[]:Array.isArray(ce)?ce:[ce]}function Un(ce,ge){return ce?ce[ge]:null}function Wt(ce,ge,me){var Ie=[Un(ce,0),Un(ce,1)];return Ie[me]=typeof ge=="function"?ge(Ie[me]):ge,!Ie[0]&&!Ie[1]?null:Ie}function Na(ce){return typeof ce=="function"?ce():ce}function nr(ce){var ge=ce.cellPrefixCls,me=ce.generateConfig,Ie=ce.rangedValue,Oe=ce.hoverRangedValue,ft=ce.isInView,rt=ce.isSameCell,Nt=ce.offsetCell,wt=ce.today,It=ce.value;function jn(on){var dn,Nn=Nt(on,-1),In=Nt(on,1),Dt=Un(Ie,0),zt=Un(Ie,1),Rn=Un(Oe,0),ln=Un(Oe,1),da=Ua(me,Rn,ln,on);function Fa(wr){return rt(Dt,wr)}function Ia(wr){return rt(zt,wr)}var ba=rt(Rn,on),ca=rt(ln,on),_r=(da||ca)&&(!ft(Nn)||Ia(Nn)),tr=(da||ba)&&(!ft(In)||Fa(In));return dn={},(0,Ce.Z)(dn,"".concat(ge,"-in-view"),ft(on)),(0,Ce.Z)(dn,"".concat(ge,"-in-range"),Ua(me,Dt,zt,on)),(0,Ce.Z)(dn,"".concat(ge,"-range-start"),Fa(on)),(0,Ce.Z)(dn,"".concat(ge,"-range-end"),Ia(on)),(0,Ce.Z)(dn,"".concat(ge,"-range-start-single"),Fa(on)&&!zt),(0,Ce.Z)(dn,"".concat(ge,"-range-end-single"),Ia(on)&&!Dt),(0,Ce.Z)(dn,"".concat(ge,"-range-start-near-hover"),Fa(on)&&(rt(Nn,Rn)||Ua(me,Rn,ln,Nn))),(0,Ce.Z)(dn,"".concat(ge,"-range-end-near-hover"),Ia(on)&&(rt(In,ln)||Ua(me,Rn,ln,In))),(0,Ce.Z)(dn,"".concat(ge,"-range-hover"),da),(0,Ce.Z)(dn,"".concat(ge,"-range-hover-start"),ba),(0,Ce.Z)(dn,"".concat(ge,"-range-hover-end"),ca),(0,Ce.Z)(dn,"".concat(ge,"-range-hover-edge-start"),_r),(0,Ce.Z)(dn,"".concat(ge,"-range-hover-edge-end"),tr),(0,Ce.Z)(dn,"".concat(ge,"-range-hover-edge-start-near-range"),_r&&rt(Nn,zt)),(0,Ce.Z)(dn,"".concat(ge,"-range-hover-edge-end-near-range"),tr&&rt(In,Dt)),(0,Ce.Z)(dn,"".concat(ge,"-today"),rt(wt,on)),(0,Ce.Z)(dn,"".concat(ge,"-selected"),rt(It,on)),dn}return jn}var lo=ie.createContext({}),Wa=lo;function Vt(ce,ge,me,Ie,Oe){var ft=ce.setHour(ge,me);return ft=ce.setMinute(ft,Ie),ft=ce.setSecond(ft,Oe),ft}function zr(ce,ge,me){if(!me)return ge;var Ie=ge;return Ie=ce.setHour(Ie,ce.getHour(me)),Ie=ce.setMinute(Ie,ce.getMinute(me)),Ie=ce.setSecond(Ie,ce.getSecond(me)),Ie}function Aa(ce,ge,me,Ie,Oe,ft){var rt=Math.floor(ce/Ie)*Ie;if(rt<ce)return[rt,60-Oe,60-ft];var Nt=Math.floor(ge/Oe)*Oe;if(Nt<ge)return[rt,Nt,60-ft];var wt=Math.floor(me/ft)*ft;return[rt,Nt,wt]}function dr(ce,ge){var me=ce.getYear(ge),Ie=ce.getMonth(ge)+1,Oe=ce.getEndDate(ce.getFixedDate("".concat(me,"-").concat(Ie,"-01"))),ft=ce.getDate(Oe),rt=Ie<10?"0".concat(Ie):"".concat(Ie);return"".concat(me,"-").concat(rt,"-").concat(ft)}function rr(ce){for(var ge=ce.prefixCls,me=ce.disabledDate,Ie=ce.onSelect,Oe=ce.picker,ft=ce.rowNum,rt=ce.colNum,Nt=ce.prefixColumn,wt=ce.rowClassName,It=ce.baseDate,jn=ce.getCellClassName,on=ce.getCellText,dn=ce.getCellNode,Nn=ce.getCellDate,In=ce.generateConfig,Dt=ce.titleCell,zt=ce.headerCells,Rn=ie.useContext(gn),ln=Rn.onDateMouseEnter,da=Rn.onDateMouseLeave,Fa=Rn.mode,Ia="".concat(ge,"-cell"),ba=[],ca=0;ca<ft;ca+=1){for(var _r=[],tr=void 0,wr=function(){var kn,Xo=ca*rt+Xr,vo=Nn(It,Xo),Wr=Zn({cellDate:vo,mode:Fa,disabledDate:me,generateConfig:In});Xr===0&&(tr=vo,Nt&&_r.push(Nt(tr)));var qr=Dt&&Dt(vo),Ao=ie.createElement("div",{className:"".concat(Ia,"-inner")},on(vo));_r.push(ie.createElement("td",{key:Xr,title:qr,className:Te()(Ia,(0,it.Z)((kn={},(0,Ce.Z)(kn,"".concat(Ia,"-disabled"),Wr),(0,Ce.Z)(kn,"".concat(Ia,"-start"),on(vo)===1||Oe==="year"&&Number(qr)%10===0),(0,Ce.Z)(kn,"".concat(Ia,"-end"),qr===dr(In,vo)||Oe==="year"&&Number(qr)%10===9),kn),jn(vo))),onClick:function(){Wr||Ie(vo)},onMouseEnter:function(){!Wr&&ln&&ln(vo)},onMouseLeave:function(){!Wr&&da&&da(vo)}},dn?dn(vo,Ao):Ao))},Xr=0;Xr<rt;Xr+=1)wr();ba.push(ie.createElement("tr",{key:ca,className:wt&&wt(tr)},_r))}return ie.createElement("div",{className:"".concat(ge,"-body")},ie.createElement("table",{className:"".concat(ge,"-content")},zt&&ie.createElement("thead",null,ie.createElement("tr",null,zt)),ie.createElement("tbody",null,ba)))}function Kr(ce){var ge=ce.prefixCls,me=ce.generateConfig,Ie=ce.prefixColumn,Oe=ce.locale,ft=ce.rowCount,rt=ce.viewDate,Nt=ce.value,wt=ce.cellRender,It=ce.isSameCell,jn=ie.useContext(Wa),on=jn.rangedValue,dn=jn.hoverRangedValue,Nn=Ta(Oe.locale,me,rt),In="".concat(ge,"-cell"),Dt=me.locale.getWeekFirstDay(Oe.locale),zt=me.getNow(),Rn=[],ln=Oe.shortWeekDays||(me.locale.getShortWeekDays?me.locale.getShortWeekDays(Oe.locale):[]);Ie&&Rn.push(ie.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var da=0;da<Hn;da+=1)Rn.push(ie.createElement("th",{key:da},ln[(da+Dt)%Hn]));var Fa=nr({cellPrefixCls:In,today:zt,value:Nt,generateConfig:me,rangedValue:Ie?null:on,hoverRangedValue:Ie?null:dn,isSameCell:It||function(ba,ca){return Sa(me,ba,ca)},isInView:function(ca){return On(me,ca,rt)},offsetCell:function(ca,_r){return me.addDate(ca,_r)}}),Ia=wt?function(ba,ca){return wt(ba,{originNode:ca,today:zt,type:"date",locale:Oe})}:void 0;return ie.createElement(rr,(0,se.Z)({},ce,{rowNum:ft,colNum:Hn,baseDate:Nn,getCellNode:Ia,getCellText:me.getDate,getCellClassName:Fa,getCellDate:me.addDate,titleCell:function(ca){return Ra(ca,{locale:Oe,format:"YYYY-MM-DD",generateConfig:me})},headerCells:Rn}))}var xr=Kr,ar={visibility:"hidden"};function cr(ce){var ge=ce.prefixCls,me=ce.prevIcon,Ie=me===void 0?"\u2039":me,Oe=ce.nextIcon,ft=Oe===void 0?"\u203A":Oe,rt=ce.superPrevIcon,Nt=rt===void 0?"\xAB":rt,wt=ce.superNextIcon,It=wt===void 0?"\xBB":wt,jn=ce.onSuperPrev,on=ce.onSuperNext,dn=ce.onPrev,Nn=ce.onNext,In=ce.children,Dt=ie.useContext(gn),zt=Dt.hideNextBtn,Rn=Dt.hidePrevBtn;return ie.createElement("div",{className:ge},jn&&ie.createElement("button",{type:"button",onClick:jn,tabIndex:-1,className:"".concat(ge,"-super-prev-btn"),style:Rn?ar:{}},Nt),dn&&ie.createElement("button",{type:"button",onClick:dn,tabIndex:-1,className:"".concat(ge,"-prev-btn"),style:Rn?ar:{}},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:zt?ar:{}},ft),on&&ie.createElement("button",{type:"button",onClick:on,tabIndex:-1,className:"".concat(ge,"-super-next-btn"),style:zt?ar:{}},It))}var ma=cr;function nn(ce){var ge=ce.prefixCls,me=ce.generateConfig,Ie=ce.locale,Oe=ce.viewDate,ft=ce.onNextMonth,rt=ce.onPrevMonth,Nt=ce.onNextYear,wt=ce.onPrevYear,It=ce.onYearClick,jn=ce.onMonthClick,on=ie.useContext(gn),dn=on.hideHeader;if(dn)return null;var Nn="".concat(ge,"-header"),In=Ie.shortMonths||(me.locale.getShortMonths?me.locale.getShortMonths(Ie.locale):[]),Dt=me.getMonth(Oe),zt=ie.createElement("button",{type:"button",key:"year",onClick:It,tabIndex:-1,className:"".concat(ge,"-year-btn")},Ra(Oe,{locale:Ie,format:Ie.yearFormat,generateConfig:me})),Rn=ie.createElement("button",{type:"button",key:"month",onClick:jn,tabIndex:-1,className:"".concat(ge,"-month-btn")},Ie.monthFormat?Ra(Oe,{locale:Ie,format:Ie.monthFormat,generateConfig:me}):In[Dt]),ln=Ie.monthBeforeYear?[Rn,zt]:[zt,Rn];return ie.createElement(ma,(0,se.Z)({},ce,{prefixCls:Nn,onSuperPrev:wt,onPrev:rt,onNext:ft,onSuperNext:Nt}),ln)}var or=nn,Pr=6;function Dr(ce){var ge=ce.prefixCls,me=ce.panelName,Ie=me===void 0?"date":me,Oe=ce.keyboardConfig,ft=ce.active,rt=ce.operationRef,Nt=ce.generateConfig,wt=ce.value,It=ce.viewDate,jn=ce.onViewDateChange,on=ce.onPanelChange,dn=ce.onSelect,Nn="".concat(ge,"-").concat(Ie,"-panel");rt.current={onKeyDown:function(Rn){return $a(Rn,(0,it.Z)({onLeftRight:function(da){dn(Nt.addDate(wt||It,da),"key")},onCtrlLeftRight:function(da){dn(Nt.addYear(wt||It,da),"key")},onUpDown:function(da){dn(Nt.addDate(wt||It,da*Hn),"key")},onPageUpDown:function(da){dn(Nt.addMonth(wt||It,da),"key")}},Oe))}};var In=function(Rn){var ln=Nt.addYear(It,Rn);jn(ln),on(null,ln)},Dt=function(Rn){var ln=Nt.addMonth(It,Rn);jn(ln),on(null,ln)};return ie.createElement("div",{className:Te()(Nn,(0,Ce.Z)({},"".concat(Nn,"-active"),ft))},ie.createElement(or,(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(){on("month",It)},onYearClick:function(){on("year",It)}})),ie.createElement(xr,(0,se.Z)({},ce,{onSelect:function(Rn){return dn(Rn,"mouse")},prefixCls:ge,value:wt,viewDate:It,rowCount:Pr})))}var Ka=Dr;function wn(ce){var ge=ie.useContext(gn),me=ge.hideHeader;if(me)return null;var Ie=ce.prefixCls,Oe=ce.generateConfig,ft=ce.locale,rt=ce.value,Nt=ce.format,wt="".concat(Ie,"-header");return ie.createElement(ma,{prefixCls:wt},rt?Ra(rt,{locale:ft,format:Nt,generateConfig:Oe}):"\xA0")}var la=wn;function Qn(ce){var ge=ce.value,me=ce.generateConfig,Ie=ce.disabledMinutes,Oe=ce.disabledSeconds,ft=ce.minutes,rt=ce.seconds,Nt=ce.use12Hours,wt=function(jn,on,dn,Nn){var In=me.getNow(),Dt=ge||In,zt=on<0?me.getHour(In):on,Rn=dn<0?me.getMinute(In):dn,ln=Nn<0?me.getSecond(In):Nn,da=Ie&&Ie(zt);if(da!=null&&da.includes(Rn)){var Fa=ft.find(function(ca){return!da.includes(ca.value)});if(Fa)Rn=Fa.value;else return null}var Ia=Oe&&Oe(zt,Rn);if(Ia!=null&&Ia.includes(ln)){var ba=rt.find(function(ca){return!Ia.includes(ca.value)});if(ba)ln=ba.value;else return null}return Dt=Vt(me,Dt,!Nt||!jn?zt:zt+12,Rn,ln),Dt};return wt}function zn(ce){var ge=ce.prefixCls,me=ce.units,Ie=ce.onSelect,Oe=ce.value,ft=ce.active,rt=ce.hideDisabledOptions,Nt=ce.info,wt=ce.type,It="".concat(ge,"-cell"),jn=ie.useContext(gn),on=jn.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&&on!==!1&&sr(dn.current,Dt.offsetTop,120)},[Oe]),(0,ie.useLayoutEffect)(function(){if(on){var Dt=Nn.current.get(Oe);Dt&&(In.current=za(Dt,function(){sr(dn.current,Dt.offsetTop,0)}))}return function(){var zt;(zt=In.current)===null||zt===void 0||zt.call(In)}},[on]),ie.createElement("ul",{className:Te()("".concat(ge,"-column"),(0,Ce.Z)({},"".concat(ge,"-column-active"),ft)),ref:dn,style:{position:"relative"}},me.map(function(Dt){var zt;return rt&&Dt.disabled?null:ie.createElement("li",{key:Dt.value,ref:function(ln){Nn.current.set(Dt.value,ln)},className:Te()(It,(zt={},(0,Ce.Z)(zt,"".concat(It,"-disabled"),Dt.disabled),(0,Ce.Z)(zt,"".concat(It,"-selected"),Oe===Dt.value),zt)),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 er=zn;function yr(ce,ge){if(ce.length!==ge.length)return!0;for(var me=0;me<ce.length;me+=1)if(ce[me].disabled!==ge[me].disabled)return!0;return!1}function hr(ce,ge,me,Ie){for(var Oe=[],ft=me>=1?me|0:1,rt=ce;rt<=ge;rt+=ft)Oe.push({label:Jn(rt,2),value:rt,disabled:(Ie||[]).includes(rt)});return Oe}function fr(ce){var ge=ce.generateConfig,me=ce.prefixCls,Ie=ce.operationRef,Oe=ce.activeColumnIndex,ft=ce.value,rt=ce.showHour,Nt=ce.showMinute,wt=ce.showSecond,It=ce.use12Hours,jn=ce.hourStep,on=jn===void 0?1:jn,dn=ce.minuteStep,Nn=dn===void 0?1:dn,In=ce.secondStep,Dt=In===void 0?1:In,zt=ce.disabledHours,Rn=ce.disabledMinutes,ln=ce.disabledSeconds,da=ce.disabledTime,Fa=ce.hideDisabledOptions,Ia=ce.onSelect,ba=ce.cellRender,ca=ce.locale,_r=[],tr="".concat(me,"-content"),wr="".concat(me,"-time-panel"),Xr,oo=ft?ge.getHour(ft):-1,kn=oo,Xo=ft?ge.getMinute(ft):-1,vo=ft?ge.getSecond(ft):-1,Wr=ge.getNow(),qr=ie.useMemo(function(){if(da){var Gr=da(Wr);return[Gr.disabledHours,Gr.disabledMinutes,Gr.disabledSeconds]}return[zt,Rn,ln]},[zt,Rn,ln,da,Wr]),Ao=(0,Qt.Z)(qr,3),No=Ao[0],uo=Ao[1],gr=Ao[2],Zo=hr(0,23,on,No&&No()),_o=(0,Tn.Z)(function(){return Zo},Zo,yr);It&&(Xr=kn>=12,kn%=12);var Ai=ie.useMemo(function(){if(!It)return[!1,!1];var Gr=[!0,!0];return _o.forEach(function(So){var xo=So.disabled,Si=So.value;xo||(Si>=12?Gr[1]=!1:Gr[0]=!1)}),Gr},[It,_o]),$o=(0,Qt.Z)(Ai,2),xi=$o[0],Ur=$o[1],di=ie.useMemo(function(){return It?_o.filter(Xr?function(Gr){return Gr.value>=12}:function(Gr){return Gr.value<12}).map(function(Gr){var So=Gr.value%12,xo=So===0?"12":Jn(So,2);return(0,it.Z)((0,it.Z)({},Gr),{},{label:xo,value:So})}):_o},[It,Xr,_o]),yi=hr(0,59,Nn,uo&&uo(oo)),Gi=hr(0,59,Dt,gr&&gr(oo,Xo)),hi=Qn({value:ft,generateConfig:ge,disabledMinutes:uo,disabledSeconds:gr,minutes:yi,seconds:Gi,use12Hours:It});Ie.current={onUpDown:function(So){var xo=_r[Oe];if(xo)for(var Si=xo.units.findIndex(function(Al){return Al.value===xo.value}),ji=xo.units.length,ai=1;ai<ji;ai+=1){var Fi=xo.units[(Si+So*ai+ji)%ji];if(Fi.disabled!==!0){xo.onSelect(Fi.value);break}}}};function qi(Gr,So,xo,Si,ji){Gr!==!1&&_r.push({node:ie.cloneElement(So,{prefixCls:wr,value:xo,active:Oe===_r.length,onSelect:ji,units:Si,hideDisabledOptions:Fa}),onSelect:ji,value:xo,units:Si})}qi(rt,ie.createElement(er,{key:"hour",type:"hour",info:{today:Wr,locale:ca,cellRender:ba}}),kn,di,function(Gr){Ia(hi(Xr,Gr,Xo,vo),"mouse")}),qi(Nt,ie.createElement(er,{key:"minute",type:"minute",info:{today:Wr,locale:ca,cellRender:ba}}),Xo,yi,function(Gr){Ia(hi(Xr,kn,Gr,vo),"mouse")}),qi(wt,ie.createElement(er,{key:"second",type:"second",info:{today:Wr,locale:ca,cellRender:ba}}),vo,Gi,function(Gr){Ia(hi(Xr,kn,Xo,Gr),"mouse")});var fl=-1;return typeof Xr=="boolean"&&(fl=Xr?1:0),qi(It===!0,ie.createElement(er,{key:"meridiem",type:"meridiem",info:{today:Wr,locale:ca,cellRender:ba}}),fl,[{label:"AM",value:0,disabled:xi},{label:"PM",value:1,disabled:Ur}],function(Gr){Ia(hi(!!Gr,kn,Xo,vo),"mouse")}),ie.createElement("div",{className:tr},_r.map(function(Gr){var So=Gr.node;return So}))}var Ga=fr,po=function(ge){return ge.filter(function(me){return me!==!1}).length};function Po(ce){var ge=ce.generateConfig,me=ce.format,Ie=me===void 0?"HH:mm:ss":me,Oe=ce.prefixCls,ft=ce.active,rt=ce.operationRef,Nt=ce.showHour,wt=ce.showMinute,It=ce.showSecond,jn=ce.use12Hours,on=jn===void 0?!1:jn,dn=ce.onSelect,Nn=ce.value,In="".concat(Oe,"-time-panel"),Dt=ie.useRef(),zt=ie.useState(-1),Rn=(0,Qt.Z)(zt,2),ln=Rn[0],da=Rn[1],Fa=po([Nt,wt,It,on]);return rt.current={onKeyDown:function(ba){return $a(ba,{onLeftRight:function(_r){da((ln+_r+Fa)%Fa)},onUpDown:function(_r){ln===-1?da(0):Dt.current&&Dt.current.onUpDown(_r)},onEnter:function(){dn(Nn||ge.getNow(),"key"),da(-1)}})},onBlur:function(){da(-1)}},ie.createElement("div",{className:Te()(In,(0,Ce.Z)({},"".concat(In,"-active"),ft))},ie.createElement(la,(0,se.Z)({},ce,{format:Ie,prefixCls:Oe})),ie.createElement(Ga,(0,se.Z)({},ce,{prefixCls:Oe,activeColumnIndex:ln,operationRef:Dt})))}var Ci=Po,Fr=Mn("date","time");function br(ce){var ge=ce.prefixCls,me=ce.operationRef,Ie=ce.generateConfig,Oe=ce.value,ft=ce.defaultValue,rt=ce.disabledTime,Nt=ce.showTime,wt=ce.onSelect,It=ce.cellRender,jn="".concat(ge,"-datetime-panel"),on=ie.useState(null),dn=(0,Qt.Z)(on,2),Nn=dn[0],In=dn[1],Dt=ie.useRef({}),zt=ie.useRef({}),Rn=(0,En.Z)(Nt)==="object"?(0,it.Z)({},Nt):{};function ln(ba){var ca=Fr.indexOf(Nn)+ba,_r=Fr[ca]||null;return _r}var da=function(ca){zt.current.onBlur&&zt.current.onBlur(ca),In(null)};me.current={onKeyDown:function(ca){if(ca.which===rn.Z.TAB){var _r=ln(ca.shiftKey?-1:1);return In(_r),_r&&ca.preventDefault(),!0}if(Nn){var tr=Nn==="date"?Dt:zt;return tr.current&&tr.current.onKeyDown&&tr.current.onKeyDown(ca),!0}return[rn.Z.LEFT,rn.Z.RIGHT,rn.Z.UP,rn.Z.DOWN].includes(ca.which)?(In("date"),!0):!1},onBlur:da,onClose:da};var Fa=function(ca,_r){var tr=ca;_r==="date"&&!Oe&&Rn.defaultValue?(tr=Ie.setHour(tr,Ie.getHour(Rn.defaultValue)),tr=Ie.setMinute(tr,Ie.getMinute(Rn.defaultValue)),tr=Ie.setSecond(tr,Ie.getSecond(Rn.defaultValue))):_r==="time"&&!Oe&&ft&&(tr=Ie.setYear(tr,Ie.getYear(ft)),tr=Ie.setMonth(tr,Ie.getMonth(ft)),tr=Ie.setDate(tr,Ie.getDate(ft))),wt&&wt(tr,"mouse")},Ia=rt?rt(Oe||null):{};return ie.createElement("div",{className:Te()(jn,(0,Ce.Z)({},"".concat(jn,"-active"),Nn))},ie.createElement(Ka,(0,se.Z)({},ce,{cellRender:It,operationRef:Dt,active:Nn==="date",onSelect:function(ca){Fa(zr(Ie,ca,!Oe&&(0,En.Z)(Nt)==="object"?Nt.defaultValue:null),"date")}})),ie.createElement(Ci,(0,se.Z)({},ce,{cellRender:It?function(ba,ca){return It(ba,(0,it.Z)((0,it.Z)({},ca),{},{type:"time"}))}:void 0,format:void 0},Rn,Ia,{disabledTime:null,defaultValue:void 0,operationRef:zt,active:Nn==="time",onSelect:function(ca){Fa(ca,"time")}})))}var co=br;function Jr(ce){var ge=ce.prefixCls,me=ce.generateConfig,Ie=ce.viewDate,Oe=ce.onPrevDecades,ft=ce.onNextDecades,rt=ie.useContext(gn),Nt=rt.hideHeader;if(Nt)return null;var wt="".concat(ge,"-header"),It=me.getYear(Ie),jn=Math.floor(It/Pt)*Pt,on=jn+Pt-1;return ie.createElement(ma,(0,se.Z)({},ce,{prefixCls:wt,onSuperPrev:Oe,onSuperNext:ft}),jn,"-",on)}var mo=Jr,Vr=3,vr=4;function Zr(ce){var ge=yt-1,me=ce.prefixCls,Ie=ce.viewDate,Oe=ce.generateConfig,ft=ce.cellRender,rt=ce.locale,Nt="".concat(me,"-cell"),wt=Oe.getYear(Ie),It=Math.floor(wt/yt)*yt,jn=Math.floor(wt/Pt)*Pt,on=jn+Pt-1,dn=Oe.setYear(Ie,jn-Math.ceil((Vr*vr*yt-Pt)/2)),Nn=function(zt){var Rn,ln=Oe.getYear(zt),da=ln+ge;return Rn={},(0,Ce.Z)(Rn,"".concat(Nt,"-in-view"),jn<=ln&&da<=on),(0,Ce.Z)(Rn,"".concat(Nt,"-selected"),ln===It),Rn},In=ft?function(Dt,zt){return ft(Dt,{originNode:zt,today:Oe.getNow(),type:"decade",locale:rt})}:void 0;return ie.createElement(rr,(0,se.Z)({},ce,{rowNum:vr,colNum:Vr,baseDate:dn,getCellNode:In,getCellText:function(zt){var Rn=Oe.getYear(zt);return"".concat(Rn,"-").concat(Rn+ge)},getCellClassName:Nn,getCellDate:function(zt,Rn){return Oe.addYear(zt,Rn*yt)}}))}var Ho=Zr;function ho(ce){var ge=ce.prefixCls,me=ce.onViewDateChange,Ie=ce.generateConfig,Oe=ce.viewDate,ft=ce.operationRef,rt=ce.onSelect,Nt=ce.onPanelChange,wt="".concat(ge,"-decade-panel");ft.current={onKeyDown:function(dn){return $a(dn,{onLeftRight:function(In){rt(Ie.addYear(Oe,In*yt),"key")},onCtrlLeftRight:function(In){rt(Ie.addYear(Oe,In*Pt),"key")},onUpDown:function(In){rt(Ie.addYear(Oe,In*yt*Vr),"key")},onEnter:function(){Nt("year",Oe)}})}};var It=function(dn){var Nn=Ie.addYear(Oe,dn*Pt);me(Nn),Nt(null,Nn)},jn=function(dn){rt(dn,"mouse"),Nt("year",dn)};return ie.createElement("div",{className:wt},ie.createElement(mo,(0,se.Z)({},ce,{prefixCls:ge,onPrevDecades:function(){It(-1)},onNextDecades:function(){It(1)}})),ie.createElement(Ho,(0,se.Z)({},ce,{prefixCls:ge,onSelect:jn})))}var Qa=ho;function Vo(ce){var ge=ce.prefixCls,me=ce.generateConfig,Ie=ce.locale,Oe=ce.viewDate,ft=ce.onNextYear,rt=ce.onPrevYear,Nt=ce.onYearClick,wt=ie.useContext(gn),It=wt.hideHeader;if(It)return null;var jn="".concat(ge,"-header");return ie.createElement(ma,(0,se.Z)({},ce,{prefixCls:jn,onSuperPrev:rt,onSuperNext:ft}),ie.createElement("button",{type:"button",onClick:Nt,className:"".concat(ge,"-year-btn")},Ra(Oe,{locale:Ie,format:Ie.yearFormat,generateConfig:me})))}var Yo=Vo,ii=3,Ir=4;function ni(ce){var ge=ce.prefixCls,me=ce.locale,Ie=ce.value,Oe=ce.viewDate,ft=ce.generateConfig,rt=ce.cellRender,Nt=ie.useContext(Wa),wt=Nt.rangedValue,It=Nt.hoverRangedValue,jn="".concat(ge,"-cell"),on=nr({cellPrefixCls:jn,value:Ie,generateConfig:ft,rangedValue:wt,hoverRangedValue:It,isSameCell:function(zt,Rn){return On(ft,zt,Rn)},isInView:function(){return!0},offsetCell:function(zt,Rn){return ft.addMonth(zt,Rn)}}),dn=me.shortMonths||(ft.locale.getShortMonths?ft.locale.getShortMonths(me.locale):[]),Nn=ft.setMonth(Oe,0),In=rt?function(Dt,zt){return rt(Dt,{originNode:zt,locale:me,today:ft.getNow(),type:"month"})}:void 0;return ie.createElement(rr,(0,se.Z)({},ce,{rowNum:Ir,colNum:ii,baseDate:Nn,getCellNode:In,getCellText:function(zt){return me.monthFormat?Ra(zt,{locale:me,format:me.monthFormat,generateConfig:ft}):dn[ft.getMonth(zt)]},getCellClassName:on,getCellDate:ft.addMonth,titleCell:function(zt){return Ra(zt,{locale:me,format:"YYYY-MM",generateConfig:ft})}}))}var Se=ni;function xt(ce){var ge=ce.prefixCls,me=ce.operationRef,Ie=ce.onViewDateChange,Oe=ce.generateConfig,ft=ce.value,rt=ce.viewDate,Nt=ce.onPanelChange,wt=ce.onSelect,It="".concat(ge,"-month-panel");me.current={onKeyDown:function(dn){return $a(dn,{onLeftRight:function(In){wt(Oe.addMonth(ft||rt,In),"key")},onCtrlLeftRight:function(In){wt(Oe.addYear(ft||rt,In),"key")},onUpDown:function(In){wt(Oe.addMonth(ft||rt,In*ii),"key")},onEnter:function(){Nt("date",ft||rt)}})}};var jn=function(dn){var Nn=Oe.addYear(rt,dn);Ie(Nn),Nt(null,Nn)};return ie.createElement("div",{className:It},ie.createElement(Yo,(0,se.Z)({},ce,{prefixCls:ge,onPrevYear:function(){jn(-1)},onNextYear:function(){jn(1)},onYearClick:function(){Nt("year",rt)}})),ie.createElement(Se,(0,se.Z)({},ce,{prefixCls:ge,onSelect:function(dn){wt(dn,"mouse"),Nt("date",dn)}})))}var Kt=xt;function bn(ce){var ge=ce.prefixCls,me=ce.generateConfig,Ie=ce.locale,Oe=ce.viewDate,ft=ce.onNextYear,rt=ce.onPrevYear,Nt=ce.onYearClick,wt=ie.useContext(gn),It=wt.hideHeader;if(It)return null;var jn="".concat(ge,"-header");return ie.createElement(ma,(0,se.Z)({},ce,{prefixCls:jn,onSuperPrev:rt,onSuperNext:ft}),ie.createElement("button",{type:"button",onClick:Nt,className:"".concat(ge,"-year-btn")},Ra(Oe,{locale:Ie,format:Ie.yearFormat,generateConfig:me})))}var Ct=bn,Vn=4,Xn=1;function Sn(ce){var ge=ce.prefixCls,me=ce.locale,Ie=ce.value,Oe=ce.viewDate,ft=ce.generateConfig,rt=ce.cellRender,Nt=ie.useContext(Wa),wt=Nt.rangedValue,It=Nt.hoverRangedValue,jn="".concat(ge,"-cell"),on=nr({cellPrefixCls:jn,value:Ie,generateConfig:ft,rangedValue:wt,hoverRangedValue:It,isSameCell:function(Dt,zt){return qn(ft,Dt,zt)},isInView:function(){return!0},offsetCell:function(Dt,zt){return ft.addMonth(Dt,zt*3)}}),dn=ft.setDate(ft.setMonth(Oe,0),1),Nn=rt?function(In,Dt){return rt(In,{originNode:Dt,locale:me,today:ft.getNow(),type:"quarter"})}:void 0;return ie.createElement(rr,(0,se.Z)({},ce,{rowNum:Xn,colNum:Vn,baseDate:dn,getCellNode:Nn,getCellText:function(Dt){return Ra(Dt,{locale:me,format:me.quarterFormat||"[Q]Q",generateConfig:ft})},getCellClassName:on,getCellDate:function(Dt,zt){return ft.addMonth(Dt,zt*3)},titleCell:function(Dt){return Ra(Dt,{locale:me,format:"YYYY-[Q]Q",generateConfig:ft})}}))}var Ln=Sn;function Za(ce){var ge=ce.prefixCls,me=ce.operationRef,Ie=ce.onViewDateChange,Oe=ce.generateConfig,ft=ce.value,rt=ce.viewDate,Nt=ce.onPanelChange,wt=ce.onSelect,It="".concat(ge,"-quarter-panel");me.current={onKeyDown:function(dn){return $a(dn,{onLeftRight:function(In){wt(Oe.addMonth(ft||rt,In*3),"key")},onCtrlLeftRight:function(In){wt(Oe.addYear(ft||rt,In),"key")},onUpDown:function(In){wt(Oe.addYear(ft||rt,In),"key")}})}};var jn=function(dn){var Nn=Oe.addYear(rt,dn);Ie(Nn),Nt(null,Nn)};return ie.createElement("div",{className:It},ie.createElement(Ct,(0,se.Z)({},ce,{prefixCls:ge,onPrevYear:function(){jn(-1)},onNextYear:function(){jn(1)},onYearClick:function(){Nt("year",rt)}})),ie.createElement(Ln,(0,se.Z)({},ce,{prefixCls:ge,onSelect:function(dn){wt(dn,"mouse")}})))}var Gn=Za;function tn(ce){var ge=ce.prefixCls,me=ce.generateConfig,Ie=ce.locale,Oe=ce.value,ft=ce.disabledDate,rt=ce.onSelect,Nt=ie.useContext(Wa),wt=Nt.rangedValue,It=Nt.hoverRangedValue,jn=ie.useContext(gn),on=jn.onDateMouseEnter,dn=jn.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"),zt=function(Fa){var Ia=Zn({cellDate:Fa,mode:"week",disabledDate:ft,generateConfig:me});return ie.createElement("td",{key:"week",className:Te()(Dt,"".concat(Dt,"-week")),onClick:function(){Ia||rt(Fa,"mouse")},onMouseEnter:function(){!Ia&&on&&on(Fa)},onMouseLeave:function(){!Ia&&dn&&dn(Fa)}},ie.createElement("div",{className:"".concat(Dt,"-inner")},me.locale.getWeek(Ie.locale,Fa)))},Rn="".concat(ge,"-week-panel-row"),ln=function(Fa){var Ia,ba=ka(me,Ie.locale,Nn,Fa),ca=ka(me,Ie.locale,In,Fa);return Te()(Rn,(Ia={},(0,Ce.Z)(Ia,"".concat(Rn,"-selected"),!wt&&ka(me,Ie.locale,Oe,Fa)),(0,Ce.Z)(Ia,"".concat(Rn,"-range-start"),ba),(0,Ce.Z)(Ia,"".concat(Rn,"-range-end"),ca),(0,Ce.Z)(Ia,"".concat(Rn,"-range-hover"),!ba&&!ca&&Ua(me,Nn,In,Fa)),Ia))};return ie.createElement(Ka,(0,se.Z)({},ce,{panelName:"week",prefixColumn:zt,rowClassName:ln,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var Yt=tn,Bn=10;function Ba(ce){var ge=ce.prefixCls,me=ce.generateConfig,Ie=ce.viewDate,Oe=ce.onPrevDecade,ft=ce.onNextDecade,rt=ce.onDecadeClick,Nt=ie.useContext(gn),wt=Nt.hideHeader;if(wt)return null;var It="".concat(ge,"-header"),jn=me.getYear(Ie),on=Math.floor(jn/Bn)*Bn,dn=on+Bn-1;return ie.createElement(ma,(0,se.Z)({},ce,{prefixCls:It,onSuperPrev:Oe,onSuperNext:ft}),ie.createElement("button",{type:"button",onClick:rt,className:"".concat(ge,"-decade-btn")},on,"-",dn))}var pr=Ba,eo=3,fo=4;function qo(ce){var ge=ce.prefixCls,me=ce.value,Ie=ce.viewDate,Oe=ce.locale,ft=ce.generateConfig,rt=ce.cellRender,Nt=ie.useContext(Wa),wt=Nt.rangedValue,It=Nt.hoverRangedValue,jn="".concat(ge,"-cell"),on=ft.getYear(Ie),dn=Math.floor(on/Bn)*Bn,Nn=dn+Bn-1,In=ft.setYear(Ie,dn-Math.ceil((eo*fo-Bn)/2)),Dt=ft.getNow(),zt=function(Fa){var Ia=ft.getYear(Fa);return dn<=Ia&&Ia<=Nn},Rn=nr({cellPrefixCls:jn,value:me,generateConfig:ft,rangedValue:wt,hoverRangedValue:It,isSameCell:function(Fa,Ia){return oa(ft,Fa,Ia)},isInView:zt,offsetCell:function(Fa,Ia){return ft.addYear(Fa,Ia)}}),ln=rt?function(da,Fa){return rt(da,{originNode:Fa,today:Dt,type:"year",locale:Oe})}:void 0;return ie.createElement(rr,(0,se.Z)({},ce,{rowNum:fo,colNum:eo,baseDate:In,getCellNode:ln,getCellText:ft.getYear,getCellClassName:Rn,getCellDate:ft.addYear,titleCell:function(Fa){return Ra(Fa,{locale:Oe,format:"YYYY",generateConfig:ft})}}))}var Bo=qo;function Oi(ce){var ge=ce.prefixCls,me=ce.operationRef,Ie=ce.onViewDateChange,Oe=ce.generateConfig,ft=ce.value,rt=ce.viewDate,Nt=ce.sourceMode,wt=ce.onSelect,It=ce.onPanelChange,jn="".concat(ge,"-year-panel");me.current={onKeyDown:function(Nn){return $a(Nn,{onLeftRight:function(Dt){wt(Oe.addYear(ft||rt,Dt),"key")},onCtrlLeftRight:function(Dt){wt(Oe.addYear(ft||rt,Dt*Bn),"key")},onUpDown:function(Dt){wt(Oe.addYear(ft||rt,Dt*eo),"key")},onEnter:function(){It(Nt==="date"?"date":"month",ft||rt)}})}};var on=function(Nn){var In=Oe.addYear(rt,Nn*10);Ie(In),It(null,In)};return ie.createElement("div",{className:jn},ie.createElement(pr,(0,se.Z)({},ce,{prefixCls:ge,onPrevDecade:function(){on(-1)},onNextDecade:function(){on(1)},onDecadeClick:function(){It("decade",rt)}})),ie.createElement(Bo,(0,se.Z)({},ce,{prefixCls:ge,onSelect:function(Nn){It(Nt==="date"?"date":"month",Nn),wt(Nn,"mouse")}})))}var si=Oi;function tl(ce,ge,me){return me?ie.createElement("div",{className:"".concat(ce,"-footer-extra")},me(ge)):null}function li(ce){var ge=ce.prefixCls,me=ce.components,Ie=me===void 0?{}:me,Oe=ce.needConfirmButton,ft=ce.onNow,rt=ce.onOk,Nt=ce.okDisabled,wt=ce.showNow,It=ce.locale,jn,on;if(Oe){var dn=Ie.button||"button";ft&&wt!==!1&&(jn=ie.createElement("li",{className:"".concat(ge,"-now")},ie.createElement("a",{className:"".concat(ge,"-now-btn"),onClick:ft},It.now))),on=Oe&&ie.createElement("li",{className:"".concat(ge,"-ok")},ie.createElement(dn,{disabled:Nt,onClick:rt},It.ok))}return!jn&&!on?null:ie.createElement("ul",{className:"".concat(ge,"-ranges")},jn,on)}var Ml=["date","month"];function ao(ce){var ge,me=ce,Ie=me.prefixCls,Oe=Ie===void 0?"rc-picker":Ie,ft=me.className,rt=me.style,Nt=me.locale,wt=me.generateConfig,It=me.value,jn=me.defaultValue,on=me.pickerValue,dn=me.defaultPickerValue,Nn=me.disabledDate,In=me.mode,Dt=me.picker,zt=Dt===void 0?"date":Dt,Rn=me.tabIndex,ln=Rn===void 0?0:Rn,da=me.showNow,Fa=me.showTime,Ia=me.showToday,ba=me.renderExtraFooter,ca=me.hideHeader,_r=me.onSelect,tr=me.onChange,wr=me.onPanelChange,Xr=me.onMouseDown,oo=me.onPickerValueChange,kn=me.onOk,Xo=me.components,vo=me.direction,Wr=me.hourStep,qr=Wr===void 0?1:Wr,Ao=me.minuteStep,No=Ao===void 0?1:Ao,uo=me.secondStep,gr=uo===void 0?1:uo,Zo=me.dateRender,_o=me.monthCellRender,Ai=me.cellRender,$o=zt==="date"&&!!Fa||zt==="time",xi=24%qr===0,Ur=60%No===0,di=60%gr===0,yi=ie.useContext(gn),Gi=yi.operationRef,hi=yi.onSelect,qi=yi.hideRanges,fl=yi.defaultOpenValue,Gr=ie.useContext(Wa),So=Gr.inRange,xo=Gr.panelPosition,Si=Gr.rangedValue,ji=Gr.hoverRangedValue,ai=ie.useRef({}),Fi=ie.useRef(!0),Al=(0,nt.Z)(null,{value:It,defaultValue:jn,postState:function(Da){return!Da&&fl&&zt==="time"?fl:Da}}),Wi=(0,Qt.Z)(Al,2),Ui=Wi[0],$l=Wi[1],uu=(0,nt.Z)(null,{value:on,defaultValue:dn||Ui,postState:function(Da){var Qr=wt.getNow();if(!Da)return Qr;if(!Ui&&Fa){var Go=(0,En.Z)(Fa)==="object"?Fa.defaultValue:jn;return zr(wt,Array.isArray(Da)?Da[0]:Da,Go||Qr)}return Array.isArray(Da)?Da[0]:Da}}),An=(0,Qt.Z)(uu,2),Hi=An[0],Pl=An[1],Qi=function(Da){Pl(Da),oo&&oo(Da)},eu=function(Da){var Qr=St[zt];return Qr?Qr(Da):Da},kl=(0,nt.Z)(function(){return zt==="time"?"time":eu("date")},{value:In}),il=(0,Qt.Z)(kl,2),ei=il[0],Wo=il[1];ie.useEffect(function(){Wo(zt)},[zt]);var Yi=ie.useState(function(){return ei}),Do=(0,Qt.Z)(Yi,2),ll=Do[0],Di=Do[1],xl=function(Da,Qr){var Go=eu(Da||ei);Di(ei),Wo(Go),wr&&(ei!==Go||va(wt,Hi,Hi))&&wr(Qr,Go)},Ei=function(Da,Qr){var Go=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(ei===zt||Go)&&($l(Da),_r&&_r(Da),hi&&hi(Da,Qr),tr&&!va(wt,Da,Ui)&&!(Nn!=null&&Nn(Da))&&tr(Da))},zi=function(Da){if(Ml.includes(ei)){var Qr,Go,hl=ei==="date";switch(Da===rn.Z.PAGE_UP||Da===rn.Z.PAGE_DOWN?Go=hl?wt.addMonth:wt.addYear:Go=hl?wt.addDate:wt.addMonth,Da){case rn.Z.LEFT:case rn.Z.PAGE_UP:Qr=Go(Hi,-1);break;case rn.Z.RIGHT:case rn.Z.PAGE_DOWN:Qr=Go(Hi,1);break;case rn.Z.UP:case rn.Z.DOWN:Qr=Go(Hi,Number("".concat(Da===rn.Z.UP?"-":"").concat(hl?Hn:ii)));break}if(Qr)return!(Nn!=null&&Nn(Qr))}return!0},zl=function(Da){if(ai.current&&ai.current.onKeyDown){var Qr=!0,Go=Da.which;if([rn.Z.LEFT,rn.Z.RIGHT,rn.Z.UP,rn.Z.DOWN,rn.Z.PAGE_UP,rn.Z.PAGE_DOWN,rn.Z.ENTER].includes(Go)&&(Da.preventDefault(),Go!==rn.Z.ENTER&&ln===0&&(Qr=zi(Go))),Qr)return ai.current.onKeyDown(Da)}return(0,we.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},zo=function(Da){ai.current&&ai.current.onBlur&&ai.current.onBlur(Da)};Gi&&xo!=="right"&&(Gi.current={onKeyDown:zl,onClose:function(){ai.current&&ai.current.onClose&&ai.current.onClose()}}),ie.useEffect(function(){It&&!Fi.current&&Pl(It)},[It]),ie.useEffect(function(){Fi.current=!1},[]);var $i,Dl=ua({cellRender:Ai,monthCellRender:_o,dateRender:Zo}),aa=(0,it.Z)((0,it.Z)({},ce),{},{cellRender:Dl,operationRef:ai,prefixCls:Oe,viewDate:Hi,value:Ui,onViewDateChange:Qi,sourceMode:ll,onPanelChange:xl,disabledDate:Nn});switch(delete aa.onChange,delete aa.onSelect,ei){case"decade":$i=ie.createElement(Qa,(0,se.Z)({},aa,{onSelect:function(Da,Qr){Qi(Da),Ei(Da,Qr)}}));break;case"year":$i=ie.createElement(si,(0,se.Z)({},aa,{onSelect:function(Da,Qr){Qi(Da),Ei(Da,Qr)}}));break;case"month":$i=ie.createElement(Kt,(0,se.Z)({},aa,{onSelect:function(Da,Qr){Qi(Da),Ei(Da,Qr)}}));break;case"quarter":$i=ie.createElement(Gn,(0,se.Z)({},aa,{onSelect:function(Da,Qr){Qi(Da),Ei(Da,Qr)}}));break;case"week":$i=ie.createElement(Yt,(0,se.Z)({},aa,{onSelect:function(Da,Qr){Qi(Da),Ei(Da,Qr)}}));break;case"time":delete aa.showTime,$i=ie.createElement(Ci,(0,se.Z)({},aa,(0,En.Z)(Fa)==="object"?Fa:null,{onSelect:function(Da,Qr){Qi(Da),Ei(Da,Qr)}}));break;default:Fa?$i=ie.createElement(co,(0,se.Z)({},aa,{onSelect:function(Da,Qr){Qi(Da),Ei(Da,Qr)}})):$i=ie.createElement(Ka,(0,se.Z)({},aa,{onSelect:function(Da,Qr){Qi(Da),Ei(Da,Qr)}}))}var _l,vl,pl=function(){var Da=wt.getNow(),Qr=Aa(wt.getHour(Da),wt.getMinute(Da),wt.getSecond(Da),xi?qr:1,Ur?No:1,di?gr:1),Go=Vt(wt,Da,Qr[0],Qr[1],Qr[2]);Ei(Go,"submit")};qi||(_l=tl(Oe,ei,ba),Fa&&ei!=="date"?vl=null:vl=li({prefixCls:Oe,components:Xo,needConfirmButton:$o,okDisabled:!Ui||Nn&&Nn(Ui),locale:Nt,showNow:da,onNow:$o&&pl,onOk:function(){Ui&&(Ei(Ui,"submit",!0),kn&&kn(Ui))}}));var Tl;if(Ia&&ei==="date"&&zt==="date"&&!Fa){var wl=wt.getNow(),tu="".concat(Oe,"-today-btn"),Vl=Nn&&Nn(wl);Tl=ie.createElement("a",{className:Te()(tu,Vl&&"".concat(tu,"-disabled")),"aria-disabled":Vl,onClick:function(){Vl||Ei(wl,"mouse",!0)}},Nt.today)}return ie.createElement(gn.Provider,{value:(0,it.Z)((0,it.Z)({},yi),{},{mode:ei,hideHeader:"hideHeader"in ce?ca:yi.hideHeader,hidePrevBtn:So&&xo==="right",hideNextBtn:So&&xo==="left"})},ie.createElement("div",{tabIndex:ln,className:Te()("".concat(Oe,"-panel"),ft,(ge={},(0,Ce.Z)(ge,"".concat(Oe,"-panel-has-range"),Si&&Si[0]&&Si[1]),(0,Ce.Z)(ge,"".concat(Oe,"-panel-has-range-hover"),ji&&ji[0]&&ji[1]),(0,Ce.Z)(ge,"".concat(Oe,"-panel-rtl"),vo==="rtl"),ge)),style:rt,onKeyDown:zl,onBlur:zo,onMouseDown:Xr},$i,_l||vl||Tl?ie.createElement("div",{className:"".concat(Oe,"-footer")},_l,vl,Tl):null))}var Ha=ao,Co=re(35593),Or={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 Mi(ce){var ge,me=ce.prefixCls,Ie=ce.popupElement,Oe=ce.popupStyle,ft=ce.visible,rt=ce.dropdownClassName,Nt=ce.dropdownAlign,wt=ce.transitionName,It=ce.getPopupContainer,jn=ce.children,on=ce.range,dn=ce.popupPlacement,Nn=ce.direction,In="".concat(me,"-dropdown"),Dt=function(){return dn!==void 0?dn:Nn==="rtl"?"bottomRight":"bottomLeft"};return ie.createElement(Co.Z,{showAction:[],hideAction:[],popupPlacement:Dt(),builtinPlacements:Or,prefixCls:In,popupTransitionName:wt,popup:Ie,popupAlign:Nt,popupVisible:ft,popupClassName:Te()(rt,(ge={},(0,Ce.Z)(ge,"".concat(In,"-range"),on),(0,Ce.Z)(ge,"".concat(In,"-rtl"),Nn==="rtl"),ge)),popupStyle:Oe,getPopupContainer:It},jn)}var gi=Mi;function ko(ce){var ge=ce.prefixCls,me=ce.presets,Ie=ce.onClick,Oe=ce.onHover;return me.length?ie.createElement("div",{className:"".concat(ge,"-presets")},ie.createElement("ul",null,me.map(function(ft,rt){var Nt=ft.label,wt=ft.value;return ie.createElement("li",{key:rt,onClick:function(){return Ie==null?void 0:Ie(Na(wt))},onMouseEnter:function(){return Oe==null?void 0:Oe(Na(wt))},onMouseLeave:function(){return Oe==null?void 0:Oe(null)}},Nt)}))):null}function Ko(ce){var ge=ce.picker,me=ce.disabledHours,Ie=ce.disabledMinutes,Oe=ce.disabledSeconds;ge==="time"&&(me||Ie||Oe)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function ui(ce,ge,me){var Ie=(0,En.Z)(ge)==="object"?ge.clearIcon:me;return Ie||ie.createElement("span",{className:"".concat(ce,"-clear-btn")})}function mi(ce){var ge,me=ce,Ie=me.prefixCls,Oe=Ie===void 0?"rc-picker":Ie,ft=me.id,rt=me.name,Nt=me.tabIndex,wt=me.style,It=me.className,jn=me.dropdownClassName,on=me.dropdownAlign,dn=me.popupStyle,Nn=me.transitionName,In=me.generateConfig,Dt=me.locale,zt=me.inputReadOnly,Rn=me.allowClear,ln=me.autoFocus,da=me.showTime,Fa=me.picker,Ia=Fa===void 0?"date":Fa,ba=me.format,ca=me.use12Hours,_r=me.value,tr=me.defaultValue,wr=me.presets,Xr=me.open,oo=me.defaultOpen,kn=me.defaultOpenValue,Xo=me.suffixIcon,vo=me.clearIcon,Wr=me.disabled,qr=me.disabledDate,Ao=me.placeholder,No=me.getPopupContainer,uo=me.pickerRef,gr=me.panelRender,Zo=me.onChange,_o=me.onOpenChange,Ai=me.onFocus,$o=me.onBlur,xi=me.onMouseDown,Ur=me.onMouseUp,di=me.onMouseEnter,yi=me.onMouseLeave,Gi=me.onContextMenu,hi=me.onClick,qi=me.onKeyDown,fl=me.onSelect,Gr=me.direction,So=me.autoComplete,xo=So===void 0?"off":So,Si=me.inputRender,ji=me.changeOnBlur,ai=ie.useRef(null),Fi=Ia==="date"&&!!da||Ia==="time",Al=ze(wr),Wi=ea(ia(ba,Ia,da,ca)),Ui=ie.useRef(null),$l=ie.useRef(null),uu=ie.useRef(null),An=(0,nt.Z)(null,{value:_r,defaultValue:tr}),Hi=(0,Qt.Z)(An,2),Pl=Hi[0],Qi=Hi[1],eu=ie.useState(Pl),kl=(0,Qt.Z)(eu,2),il=kl[0],ei=kl[1],Wo=ie.useRef(null),Yi=(0,nt.Z)(!1,{value:Xr,defaultValue:oo,postState:function(Ot){return Wr?!1:Ot},onChange:function(Ot){_o&&_o(Ot),!Ot&&Wo.current&&Wo.current.onClose&&Wo.current.onClose()}}),Do=(0,Qt.Z)(Yi,2),ll=Do[0],Di=Do[1],xl=yn(il,{formatList:Wi,generateConfig:In,locale:Dt}),Ei=(0,Qt.Z)(xl,2),zi=Ei[0],zl=Ei[1],zo=Qe({valueTexts:zi,onTextChange:function(Ot){var Ut=qa(Ot,{locale:Dt,formatList:Wi,generateConfig:In});Ut&&(!qr||!qr(Ut))&&ei(Ut)}}),$i=(0,Qt.Z)(zo,3),Dl=$i[0],aa=$i[1],_l=$i[2],vl=function(Ot){ei(Ot),Qi(Ot),Zo&&!va(In,Pl,Ot)&&Zo(Ot,Ot?Ra(Ot,{generateConfig:In,locale:Dt,format:Wi[0]}):"")},pl=function(Ot){Wr&&Ot||Di(Ot)},Tl=function(Ot){return ll&&Wo.current&&Wo.current.onKeyDown?Wo.current.onKeyDown(Ot):((0,we.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},wl=function(){for(var Ot=arguments.length,Ut=new Array(Ot),Ht=0;Ht<Ot;Ht++)Ut[Ht]=arguments[Ht];hi==null||hi.apply(void 0,Ut),ai.current&&(ai.current.focus(),pl(!0))},tu=function(Ot){ji&&vl(il),$o==null||$o(Ot)},Vl=qt({blurToCancel:Fi,open:ll,value:Dl,triggerOpen:pl,forwardKeyDown:Tl,isClickOutside:function(Ot){return!vn([Ui.current,$l.current,uu.current],Ot)},onSubmit:function(){return!il||qr&&qr(il)?!1:(vl(il),pl(!1),_l(),!0)},onCancel:function(){pl(!1),ei(Pl),_l()},onKeyDown:function(Ot,Ut){qi==null||qi(Ot,Ut)},onFocus:Ai,onBlur:tu,changeOnBlur:ji}),lr=(0,Qt.Z)(Vl,2),Da=lr[0],Qr=lr[1],Go=Qr.focused,hl=Qr.typing;ie.useEffect(function(){ll||(ei(Pl),!zi.length||zi[0]===""?aa(""):zl!==Dl&&_l())},[ll,zi]),ie.useEffect(function(){ll||_l()},[Ia]),ie.useEffect(function(){ei(Pl)},[Pl]),uo&&(uo.current={focus:function(){var Ot;(Ot=ai.current)===null||Ot===void 0||Ot.focus()},blur:function(){var Ot;(Ot=ai.current)===null||Ot===void 0||Ot.blur()}});var gu=Gt(Dl,{formatList:Wi,generateConfig:In,locale:Dt}),ue=(0,Qt.Z)(gu,3),Ee=ue[0],Pe=ue[1],ut=ue[2],vt=(0,it.Z)((0,it.Z)({},ce),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),_n=ie.createElement("div",{className:"".concat(Oe,"-panel-layout")},ie.createElement(ko,{prefixCls:Oe,presets:Al,onClick:function(Ot){vl(Ot),pl(!1)}}),ie.createElement(Ha,(0,se.Z)({},vt,{generateConfig:In,className:Te()((0,Ce.Z)({},"".concat(Oe,"-panel-focused"),!hl)),value:il,locale:Dt,tabIndex:-1,onSelect:function(Ot){fl==null||fl(Ot),ei(Ot)},direction:Gr,onPanelChange:function(Ot,Ut){var Ht=ce.onPanelChange;ut(!0),Ht==null||Ht(Ot,Ut)}})));gr&&(_n=gr(_n));var mn=ie.createElement("div",{className:"".concat(Oe,"-panel-container"),ref:Ui,onMouseDown:function(Ot){Ot.preventDefault()}},_n),Jt;Xo&&(Jt=ie.createElement("span",{className:"".concat(Oe,"-suffix"),onMouseDown:function(Ot){Ot.preventDefault()}},Xo));var pt=ui(Oe,Rn,vo),$t=ie.createElement("span",{onMouseDown:function(Ot){Ot.preventDefault(),Ot.stopPropagation()},onMouseUp:function(Ot){Ot.preventDefault(),Ot.stopPropagation(),vl(null),pl(!1)},className:"".concat(Oe,"-clear"),role:"button"},pt),Cn=!!Rn&&Pl&&!Wr,$e=(0,it.Z)((0,it.Z)((0,it.Z)({id:ft,tabIndex:Nt,disabled:Wr,readOnly:zt||typeof Wi[0]=="function"||!hl,value:Ee||Dl,onChange:function(Ot){aa(Ot.target.value)},autoFocus:ln,placeholder:Ao,ref:ai,title:Dl},Da),{},{size:Rr(Ia,Wi[0],In),name:rt},(0,ht.Z)(ce,{aria:!0,data:!0})),{},{autoComplete:xo}),Bt=Si?Si($e):ie.createElement("input",$e),cn=function(Ot,Ut){(Ut==="submit"||Ut!=="key"&&!Fi)&&(vl(Ot),pl(!1))},Fn=Gr==="rtl"?"bottomRight":"bottomLeft";return ie.createElement(gn.Provider,{value:{operationRef:Wo,hideHeader:Ia==="time",onSelect:cn,open:ll,defaultOpenValue:kn,onDateMouseEnter:Pe,onDateMouseLeave:ut}},ie.createElement(gi,{visible:ll,popupElement:mn,popupStyle:dn,prefixCls:Oe,dropdownClassName:jn,dropdownAlign:on,getPopupContainer:No,transitionName:Nn,popupPlacement:Fn,direction:Gr},ie.createElement("div",{ref:uu,className:Te()(Oe,It,(ge={},(0,Ce.Z)(ge,"".concat(Oe,"-disabled"),Wr),(0,Ce.Z)(ge,"".concat(Oe,"-focused"),Go),(0,Ce.Z)(ge,"".concat(Oe,"-rtl"),Gr==="rtl"),ge)),style:wt,onMouseDown:xi,onMouseUp:Ur,onMouseEnter:di,onMouseLeave:yi,onContextMenu:Gi,onClick:wl},ie.createElement("div",{className:Te()("".concat(Oe,"-input"),(0,Ce.Z)({},"".concat(Oe,"-input-placeholder"),!!Ee)),ref:$l},Bt,Jt,Cn&&$t))))}var bl=function(ce){(0,Ft.Z)(me,ce);var ge=(0,sn.Z)(me);function me(){var Ie;(0,ot.Z)(this,me);for(var Oe=arguments.length,ft=new Array(Oe),rt=0;rt<Oe;rt++)ft[rt]=arguments[rt];return Ie=ge.call.apply(ge,[this].concat(ft)),(0,Ce.Z)((0,hn.Z)(Ie),"pickerRef",ie.createRef()),(0,Ce.Z)((0,hn.Z)(Ie),"focus",function(){Ie.pickerRef.current&&Ie.pickerRef.current.focus()}),(0,Ce.Z)((0,hn.Z)(Ie),"blur",function(){Ie.pickerRef.current&&Ie.pickerRef.current.blur()}),Ie}return(0,Rt.Z)(me,[{key:"render",value:function(){return ie.createElement(mi,(0,se.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),me}(ie.Component),nl=bl;function al(ce,ge){var me=ce.picker,Ie=ce.locale,Oe=ce.selectedValue,ft=ce.disabledDate,rt=ce.disabled,Nt=ce.generateConfig,wt=Un(Oe,0),It=Un(Oe,1);function jn(Dt){return Nt.locale.getWeekFirstDate(Ie.locale,Dt)}function on(Dt){var zt=Nt.getYear(Dt),Rn=Nt.getMonth(Dt);return zt*100+Rn}function dn(Dt){var zt=Nt.getYear(Dt),Rn=Ea(Nt,Dt);return zt*10+Rn}var Nn=ie.useCallback(function(Dt){if(rt[0]||ft&&ft(Dt))return!0;if(rt[1]&&It)return!Sa(Nt,Dt,It)&&Nt.isAfter(Dt,It);if(!ge&&It)switch(me){case"quarter":return dn(Dt)>dn(It);case"month":return on(Dt)>on(It);case"week":return jn(Dt)>jn(It);default:return!Sa(Nt,Dt,It)&&Nt.isAfter(Dt,It)}return!1},[ft,rt[1],It,ge]),In=ie.useCallback(function(Dt){if(rt[1]||ft&&ft(Dt))return!0;if(rt[0]&&wt)return!Sa(Nt,Dt,It)&&Nt.isAfter(wt,Dt);if(!ge&&wt)switch(me){case"quarter":return dn(Dt)<dn(wt);case"month":return on(Dt)<on(wt);case"week":return jn(Dt)<jn(wt);default:return!Sa(Nt,Dt,wt)&&Nt.isAfter(wt,Dt)}return!1},[ft,rt[0],wt,ge]);return[Nn,In]}var rl=re(70425),ou=re(6089);function gl(ce,ge,me,Ie,Oe,ft,rt,Nt,wt,It){var jn=ie.useState(!1),on=(0,Qt.Z)(jn,2),dn=on[0],Nn=on[1],In=(0,rl.useMergedState)(ce||!1,{value:ge}),Dt=(0,Qt.Z)(In,2),zt=Dt[0],Rn=Dt[1],ln=(0,rl.useMergedState)(ce||!1,{value:ge,onChange:function(qr){It==null||It(qr)}}),da=(0,Qt.Z)(ln,2),Fa=da[0],Ia=da[1],ba=(0,rl.useMergedState)(0,{value:me}),ca=(0,Qt.Z)(ba,2),_r=ca[0],tr=ca[1],wr=ie.useState(null),Xr=(0,Qt.Z)(wr,2),oo=Xr[0],kn=Xr[1];ie.useEffect(function(){Fa&&Nn(!0)},[Fa]);var Xo=function(qr){return qr===0?1:0},vo=(0,ou.Z)(function(Wr,qr,Ao){if(qr===!1)Ia(Wr);else if(Wr){tr(qr),Ia(Wr);var No=Xo(qr);!Fa||![rt,Nt][No]?kn(No):(Nn(!1),oo!==null&&kn(null))}else if(Ao==="confirm"||Ao==="blur"&&Ie){var uo=zt?Xo(qr):oo;uo!==null&&(Nn(!1),tr(uo)),kn(null),uo!==null&&!wt[uo]?(0,Ca.Z)(function(){var gr,Zo=[Oe,ft][uo];(gr=Zo.current)===null||gr===void 0||gr.focus()}):Ia(!1)}else Ia(!1),Rn(!1)});return[Fa,_r,dn,vo]}function Rl(ce,ge,me,Ie){var Oe=ga(ce,me,Ie,1);function ft(rt){return rt(ce,ge)?"same":rt(Oe,ge)?"closing":"far"}switch(me){case"year":return ft(function(rt,Nt){return an(Ie,rt,Nt)});case"quarter":case"month":return ft(function(rt,Nt){return oa(Ie,rt,Nt)});default:return ft(function(rt,Nt){return On(Ie,rt,Nt)})}}function as(ce,ge,me,Ie){var Oe=Un(ce,0),ft=Un(ce,1);if(ge===0)return Oe;if(Oe&&ft){var rt=Rl(Oe,ft,me,Ie);switch(rt){case"same":return Oe;case"closing":return Oe;default:return ga(ft,me,Ie,-1)}}return Oe}function kr(ce){var ge=ce.values,me=ce.picker,Ie=ce.defaultDates,Oe=ce.generateConfig,ft=ie.useState(function(){return[Un(Ie,0),Un(Ie,1)]}),rt=(0,Qt.Z)(ft,2),Nt=rt[0],wt=rt[1],It=ie.useState(null),jn=(0,Qt.Z)(It,2),on=jn[0],dn=jn[1],Nn=Un(ge,0),In=Un(ge,1);function Dt(Rn){return Nt[Rn]?Nt[Rn]:Un(on,Rn)||as(ge,Rn,me,Oe)||Nn||In||Oe.getNow()}function zt(Rn,ln){if(Rn){var da=Wt(on,Rn,ln);wt(Wt(Nt,null,ln)||[null,null]);var Fa=(ln+1)%2;Un(ge,Fa)||(da=Wt(da,Rn,Fa)),dn(da)}else(Nn||In)&&dn(null)}return[Dt,zt]}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,me,Ie){return!!(ce||Ie&&Ie[ge]||me[(ge+1)%2])}function rs(ce){var ge,me,Ie,Oe=ce,ft=Oe.prefixCls,rt=ft===void 0?"rc-picker":ft,Nt=Oe.id,wt=Oe.style,It=Oe.className,jn=Oe.popupStyle,on=Oe.dropdownClassName,dn=Oe.transitionName,Nn=Oe.dropdownAlign,In=Oe.getPopupContainer,Dt=Oe.generateConfig,zt=Oe.locale,Rn=Oe.placeholder,ln=Oe.autoFocus,da=Oe.disabled,Fa=Oe.format,Ia=Oe.picker,ba=Ia===void 0?"date":Ia,ca=Oe.showTime,_r=Oe.use12Hours,tr=Oe.separator,wr=tr===void 0?"~":tr,Xr=Oe.value,oo=Oe.defaultValue,kn=Oe.defaultPickerValue,Xo=Oe.open,vo=Oe.defaultOpen,Wr=Oe.disabledDate,qr=Oe.disabledTime,Ao=Oe.dateRender,No=Oe.monthCellRender,uo=Oe.cellRender,gr=Oe.panelRender,Zo=Oe.presets,_o=Oe.ranges,Ai=Oe.allowEmpty,$o=Oe.allowClear,xi=Oe.suffixIcon,Ur=Oe.clearIcon,di=Oe.pickerRef,yi=Oe.inputReadOnly,Gi=Oe.mode,hi=Oe.renderExtraFooter,qi=Oe.onChange,fl=Oe.onOpenChange,Gr=Oe.onPanelChange,So=Oe.onCalendarChange,xo=Oe.onFocus,Si=Oe.onBlur,ji=Oe.onMouseDown,ai=Oe.onMouseUp,Fi=Oe.onMouseEnter,Al=Oe.onMouseLeave,Wi=Oe.onClick,Ui=Oe.onOk,$l=Oe.onKeyDown,uu=Oe.components,An=Oe.order,Hi=Oe.direction,Pl=Oe.activePickerIndex,Qi=Oe.autoComplete,eu=Qi===void 0?"off":Qi,kl=Oe.changeOnBlur,il=ba==="date"&&!!ca||ba==="time",ei=(0,ie.useRef)(null),Wo=(0,ie.useRef)(null),Yi=(0,ie.useRef)(null),Do=(0,ie.useRef)(null),ll=(0,ie.useRef)(null),Di=(0,ie.useRef)(null),xl=(0,ie.useRef)(null),Ei=(0,ie.useRef)(null),zi=ea(ia(Fa,ba,ca,_r)),zl=(0,ie.useRef)(null),zo=ie.useMemo(function(){return Array.isArray(da)?da:[da||!1,da||!1]},[da]),$i=(0,nt.Z)(null,{value:Xr,defaultValue:oo,postState:function(wa){return ba==="time"&&!An?wa:Cu(wa,Dt)}}),Dl=(0,Qt.Z)($i,2),aa=Dl[0],_l=Dl[1],vl=kr({values:aa,picker:ba,defaultDates:kn,generateConfig:Dt}),pl=(0,Qt.Z)(vl,2),Tl=pl[0],wl=pl[1],tu=(0,nt.Z)(aa,{postState:function(wa){var ur=wa;if(zo[0]&&zo[1])return ur;for(var io=0;io<2;io+=1)zo[io]&&!ur&&!Un(ur,io)&&!Un(Ai,io)&&(ur=Wt(ur,Dt.getNow(),io));return ur}}),Vl=(0,Qt.Z)(tu,2),lr=Vl[0],Da=Vl[1],Qr=(0,nt.Z)([ba,ba],{value:Gi}),Go=(0,Qt.Z)(Qr,2),hl=Go[0],gu=Go[1];(0,ie.useEffect)(function(){gu([ba,ba])},[ba]);var ue=function(wa,ur){gu(wa),Gr&&Gr(ur,wa)},Ee=gl(vo,Xo,Pl,kl,Di,xl,Un(lr,0),Un(lr,1),zo,fl),Pe=(0,Qt.Z)(Ee,4),ut=Pe[0],vt=Pe[1],_n=Pe[2],mn=Pe[3],Jt=ut&&vt===0,pt=ut&&vt===1,$t=al({picker:ba,selectedValue:lr,locale:zt,disabled:zo,disabledDate:Wr,generateConfig:Dt},!ut||_n),Cn=(0,Qt.Z)($t,2),$e=Cn[0],Bt=Cn[1],cn=(0,ie.useState)(0),Fn=(0,Qt.Z)(cn,2),Xt=Fn[0],Ot=Fn[1];(0,ie.useEffect)(function(){!ut&&ei.current&&Ot(ei.current.offsetWidth)},[ut]);function Ut(Ar){mn(!0,Ar,"open"),(0,Ca.Z)(function(){var wa,ur=[Di,xl][Ar];(wa=ur.current)===null||wa===void 0||wa.focus()},0)}function Ht(Ar,wa){var ur=Ar,io=Un(ur,0),ti=Un(ur,1);io&&ti&&Dt.isAfter(io,ti)&&(ba==="week"&&!ka(Dt,zt.locale,io,ti)||ba==="quarter"&&!qn(Dt,io,ti)||ba!=="week"&&ba!=="quarter"&&ba!=="time"&&!Sa(Dt,io,ti)?wa===0?(ur=[io,null],ti=null):(io=null,ur=[null,ti]):(ba!=="time"||An!==!1)&&(ur=Cu(ur,Dt))),Da(ur);var du=ur&&ur[0]?Ra(ur[0],{generateConfig:Dt,locale:zt,format:zi[0]}):"",Il=ur&&ur[1]?Ra(ur[1],{generateConfig:Dt,locale:zt,format:zi[0]}):"";if(So){var Yl={range:wa===0?"start":"end"};So(ur,[du,Il],Yl)}var Ol=wu(io,0,zo,Ai),fu=wu(ti,1,zo,Ai),ru=ur===null||Ol&&fu;ru&&(_l(ur),qi&&(!va(Dt,Un(aa,0),io)||!va(Dt,Un(aa,1),ti))&&qi(ur,[du,Il]))}var ha=function(wa){return ut&&zl.current&&zl.current.onKeyDown?zl.current.onKeyDown(wa):((0,we.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},fn={formatList:zi,generateConfig:Dt,locale:zt},pn=yn(Un(lr,0),fn),Er=(0,Qt.Z)(pn,2),mr=Er[0],Ja=Er[1],Io=yn(Un(lr,1),fn),ra=(0,Qt.Z)(Io,2),Mr=ra[0],ja=ra[1],jr=function(wa,ur){var io=qa(wa,{locale:zt,formatList:zi,generateConfig:Dt}),ti=ur===0?$e:Bt;io&&!ti(io)&&(Da(Wt(lr,io,ur)),wl(io,ur))},yo=Qe({valueTexts:mr,onTextChange:function(wa){return jr(wa,0)}}),Oo=(0,Qt.Z)(yo,3),Uo=Oo[0],Pa=Oo[1],Sr=Oo[2],bi=Qe({valueTexts:Mr,onTextChange:function(wa){return jr(wa,1)}}),wo=(0,Qt.Z)(bi,3),Dn=wo[0],ci=wo[1],_i=wo[2],vi=(0,ie.useState)(null),wi=(0,Qt.Z)(vi,2),Ti=wi[0],ri=wi[1],ul=(0,ie.useState)(null),Ki=(0,Qt.Z)(ul,2),el=Ki[0],jo=Ki[1],pi=Gt(Uo,{formatList:zi,generateConfig:Dt,locale:zt}),sl=(0,Qt.Z)(pi,3),Zl=sl[0],Lr=sl[1],To=sl[2],oi=Gt(Dn,{formatList:zi,generateConfig:Dt,locale:zt}),Qo=(0,Qt.Z)(oi,3),Ji=Qo[0],Xi=Qo[1],Li=Qo[2],Gl=function(wa){jo(Wt(lr,wa,vt)),vt===0?Lr(wa):Xi(wa)},Ll=function(){jo(Wt(lr,null,vt)),vt===0?To():Li()},yl=ie.useState(ut),Pi=(0,Qt.Z)(yl,2),jl=Pi[0],to=Pi[1];ie.useEffect(function(){to(ut)},[ut]);var nu=function(wa){if(kl&&jl){var ur=Un(lr,vt);ur&&Ht(lr,vt)}return Si==null?void 0:Si(wa)},bu=function(wa,ur){return{blurToCancel:!kl&&il,forwardKeyDown:ha,onBlur:nu,isClickOutside:function(ti){return!vn([Wo.current,Yi.current,Do.current,ei.current],ti)},onFocus:function(ti){xo&&xo(ti)},triggerOpen:function(ti){ti?mn(ti,wa,"open"):mn(ti,Un(lr,wa)?wa:!1,"blur")},onSubmit:function(){if(!lr||Wr&&Wr(lr[wa]))return!1;Ht(lr,wa),ur(),mn(!1,vt,"confirm")},onCancel:function(){mn(!1,wa,"cancel"),Da(aa),ur()}}},Wl={onKeyDown:function(wa,ur){$l==null||$l(wa,ur)},changeOnBlur:kl},mu=qt((0,it.Z)((0,it.Z)({},bu(0,Sr)),{},{open:Jt,value:Uo},Wl)),en=(0,Qt.Z)(mu,2),Kn=en[0],Cr=en[1],ir=Cr.focused,Tr=Cr.typing,Eo=qt((0,it.Z)((0,it.Z)({},bu(1,_i)),{},{open:pt,value:Dn},Wl)),Mo=(0,Qt.Z)(Eo,2),no=Mo[0],Zi=Mo[1],Fo=Zi.focused,dl=Zi.typing,Ul=function(wa){Wi&&Wi(wa),!ut&&!Di.current.contains(wa.target)&&!xl.current.contains(wa.target)&&(zo[0]?zo[1]||Ut(1):Ut(0))},qu=function(wa){ji&&ji(wa),ut&&(ir||Fo)&&!Di.current.contains(wa.target)&&!xl.current.contains(wa.target)&&wa.preventDefault()},vs=aa&&aa[0]?Ra(aa[0],{locale:zt,format:"YYYYMMDDHHmmss",generateConfig:Dt}):"",ps=aa&&aa[1]?Ra(aa[1],{locale:zt,format:"YYYYMMDDHHmmss",generateConfig:Dt}):"";(0,ie.useEffect)(function(){ut||(Da(aa),!mr.length||mr[0]===""?Pa(""):Ja!==Uo&&Sr(),!Mr.length||Mr[0]===""?ci(""):ja!==Dn&&_i())},[ut,mr,Mr]),(0,ie.useEffect)(function(){Da(aa)},[vs,ps]);var Hl=ua({cellRender:uo,monthCellRender:No,dateRender:Ao}),hs=ie.useMemo(function(){if(Hl)return function(Ar,wa){return Hl(Ar,(0,it.Z)((0,it.Z)({},wa),{},{range:vt?"end":"start"}))}},[vt,Hl]);di&&(di.current={focus:function(){Di.current&&Di.current.focus()},blur:function(){Di.current&&Di.current.blur(),xl.current&&xl.current.blur()}});var au=ze(Zo,_o);function Zu(){var Ar=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,wa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ur=null;ut&&el&&el[0]&&el[1]&&Dt.isAfter(el[1],el[0])&&(ur=el);var io=ca;if(ca&&(0,En.Z)(ca)==="object"&&ca.defaultValue){var ti=ca.defaultValue;io=(0,it.Z)((0,it.Z)({},ca),{},{defaultValue:Un(ti,vt)||void 0})}return ie.createElement(Wa.Provider,{value:{inRange:!0,panelPosition:Ar,rangedValue:Ti||lr,hoverRangedValue:ur}},ie.createElement(Ha,(0,se.Z)({},ce,wa,{cellRender:hs,showTime:io,mode:hl[vt],generateConfig:Dt,style:void 0,direction:Hi,disabledDate:vt===0?$e:Bt,disabledTime:function(Il){return qr?qr(Il,vt===0?"start":"end"):!1},className:Te()((0,Ce.Z)({},"".concat(rt,"-panel-focused"),vt===0?!Tr:!dl)),value:Un(lr,vt),locale:zt,tabIndex:-1,onPanelChange:function(Il,Yl){vt===0&&To(!0),vt===1&&Li(!0),ue(Wt(hl,Yl,vt),Wt(lr,Il,vt));var Ol=Il;Ar==="right"&&hl[vt]===Yl&&(Ol=ga(Ol,Yl,Dt,-1)),wl(Ol,vt)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:vt===0?Un(lr,1):Un(lr,0)})))}var Ql=0,$u=0;if(vt&&Yi.current&&ll.current&&Wo.current&&Ei.current){Ql=Yi.current.offsetWidth+ll.current.offsetWidth;var Ss=Ei.current.offsetLeft>Ql?Ei.current.offsetLeft-Ql:Ei.current.offsetLeft,es=Wo.current.offsetWidth,Gu=Ei.current.offsetWidth;es&&Gu&&Ql>es-Gu-(Hi==="rtl"?0:Ss)&&($u=Ql)}var ts=Hi==="rtl"?{right:Ql}:{left:Ql};function $n(){var Ar,wa=tl(rt,hl[vt],hi),ur=li({prefixCls:rt,components:uu,needConfirmButton:il,okDisabled:!Un(lr,vt)||Wr&&Wr(lr[vt]),locale:zt,onOk:function(){var Fl=Un(lr,vt);Fl&&(Ht(lr,vt),Ui==null||Ui(lr),mn(!1,vt,"confirm"))}});if(ba!=="time"&&!ca){var io=Tl(vt),ti=ga(io,ba,Dt),du=hl[vt],Il=du===ba,Yl=Zu(Il?"left":!1,{pickerValue:io,onPickerValueChange:function(Fl){wl(Fl,vt)}}),Ol=Zu("right",{pickerValue:ti,onPickerValueChange:function(Fl){wl(ga(Fl,ba,Dt,-1),vt)}});Hi==="rtl"?Ar=ie.createElement(ie.Fragment,null,Ol,Il&&Yl):Ar=ie.createElement(ie.Fragment,null,Yl,Il&&Ol)}else Ar=Zu();var fu=ie.createElement("div",{className:"".concat(rt,"-panel-layout")},ie.createElement(ko,{prefixCls:rt,presets:au,onClick:function(Fl){Ht(Fl,null),mn(!1,vt,"preset")},onHover:function(Fl){ri(Fl)}}),ie.createElement("div",null,ie.createElement("div",{className:"".concat(rt,"-panels")},Ar),(wa||ur)&&ie.createElement("div",{className:"".concat(rt,"-footer")},wa,ur)));return gr&&(fu=gr(fu)),ie.createElement("div",{className:"".concat(rt,"-panel-container"),style:{marginLeft:$u},ref:Wo,onMouseDown:function(Fl){Fl.preventDefault()}},fu)}var Ya=ie.createElement("div",{className:Te()("".concat(rt,"-range-wrapper"),"".concat(rt,"-").concat(ba,"-range-wrapper")),style:{minWidth:Xt}},ie.createElement("div",{ref:Ei,className:"".concat(rt,"-range-arrow"),style:ts}),$n()),Nr;xi&&(Nr=ie.createElement("span",{className:"".concat(rt,"-suffix"),onMouseDown:function(wa){wa.preventDefault()}},xi));var ro=ui(rt,$o,Ur),Yr=ie.createElement("span",{onMouseDown:function(wa){wa.preventDefault(),wa.stopPropagation()},onMouseUp:function(wa){wa.preventDefault(),wa.stopPropagation();var ur=aa;zo[0]||(ur=Wt(ur,null,0)),zo[1]||(ur=Wt(ur,null,1)),Ht(ur,null),mn(!1,vt,"clear")},className:"".concat(rt,"-clear"),role:"button"},ro),Br=$o&&(Un(aa,0)&&!zo[0]||Un(aa,1)&&!zo[1]),so={size:Rr(ba,zi[0],Dt)},Ro=0,Vi=0;Yi.current&&Do.current&&ll.current&&(vt===0?Vi=Yi.current.offsetWidth:(Ro=Ql,Vi=Do.current.offsetWidth));var Nl=Hi==="rtl"?{right:Ro}:{left:Ro},su=function(wa,ur){var io=Wt(lr,wa,vt);if(ur==="submit"||ur!=="key"&&!il){Ht(io,vt),vt===0?To():Li();var ti=vt===0?1:0;zo[ti]?mn(!1,!1,"confirm"):mn(!1,vt,"confirm")}else Da(io)};return ie.createElement(gn.Provider,{value:{operationRef:zl,hideHeader:ba==="time",onDateMouseEnter:Gl,onDateMouseLeave:Ll,hideRanges:!0,onSelect:su,open:ut}},ie.createElement(gi,{visible:ut,popupElement:Ya,popupStyle:jn,prefixCls:rt,dropdownClassName:on,dropdownAlign:Nn,getPopupContainer:In,transitionName:dn,range:!0,direction:Hi},ie.createElement("div",(0,se.Z)({ref:ei,className:Te()(rt,"".concat(rt,"-range"),It,(ge={},(0,Ce.Z)(ge,"".concat(rt,"-disabled"),zo[0]&&zo[1]),(0,Ce.Z)(ge,"".concat(rt,"-focused"),vt===0?ir:Fo),(0,Ce.Z)(ge,"".concat(rt,"-rtl"),Hi==="rtl"),ge)),style:wt,onClick:Ul,onMouseEnter:Fi,onMouseLeave:Al,onMouseDown:qu,onMouseUp:ai},(0,ht.Z)(ce,{aria:!0,data:!0})),ie.createElement("div",{className:Te()("".concat(rt,"-input"),(me={},(0,Ce.Z)(me,"".concat(rt,"-input-active"),vt===0),(0,Ce.Z)(me,"".concat(rt,"-input-placeholder"),!!Zl),me)),ref:Yi},ie.createElement("input",(0,se.Z)({id:Nt,disabled:zo[0],readOnly:yi||typeof zi[0]=="function"||!Tr,value:Zl||Uo,onChange:function(wa){Pa(wa.target.value)},autoFocus:ln,placeholder:Un(Rn,0)||"",ref:Di},Kn,so,{autoComplete:eu}))),ie.createElement("div",{className:"".concat(rt,"-range-separator"),ref:ll},wr),ie.createElement("div",{className:Te()("".concat(rt,"-input"),(Ie={},(0,Ce.Z)(Ie,"".concat(rt,"-input-active"),vt===1),(0,Ce.Z)(Ie,"".concat(rt,"-input-placeholder"),!!Ji),Ie)),ref:Do},ie.createElement("input",(0,se.Z)({disabled:zo[1],readOnly:yi||typeof zi[0]=="function"||!dl,value:Ji||Dn,onChange:function(wa){ci(wa.target.value)},placeholder:Un(Rn,1)||"",ref:xl},no,so,{autoComplete:eu}))),ie.createElement("div",{className:"".concat(rt,"-active-bar"),style:(0,it.Z)((0,it.Z)({},Nl),{},{width:Vi,position:"absolute"})}),Nr,Br&&Yr)))}var Ri=function(ce){(0,Ft.Z)(me,ce);var ge=(0,sn.Z)(me);function me(){var Ie;(0,ot.Z)(this,me);for(var Oe=arguments.length,ft=new Array(Oe),rt=0;rt<Oe;rt++)ft[rt]=arguments[rt];return Ie=ge.call.apply(ge,[this].concat(ft)),(0,Ce.Z)((0,hn.Z)(Ie),"pickerRef",ie.createRef()),(0,Ce.Z)((0,hn.Z)(Ie),"focus",function(){Ie.pickerRef.current&&Ie.pickerRef.current.focus()}),(0,Ce.Z)((0,hn.Z)(Ie),"blur",function(){Ie.pickerRef.current&&Ie.pickerRef.current.blur()}),Ie}return(0,Rt.Z)(me,[{key:"render",value:function(){return ie.createElement(rs,(0,se.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),me}(ie.Component),zu=Ri,Lu=nl,Pu=re(19080),Nu=re(36355),iu=re(1684),Vu=re(19716),Iu=re(32441),Ou=re(9763),ki=re(33234),Wu=re(48183),Bu=re(64993),Bi=re(9937),Au=re(17313),os=re(47585),lu=re(74207),Jl=re(13826),Cl=re(92899),Bl=re(37613),is=re(83116);const Mu=(ce,ge,me,Ie)=>{const{lineHeight:Oe}=ce,ft=Math.floor(me*Oe)+2,rt=Math.max((ge-ft)/2,0),Nt=Math.max(ge-ft-rt,0);return{padding:`${rt}px ${Ie}px ${Nt}px`}},ls=ce=>{const{componentCls:ge,pickerCellCls:me,pickerCellInnerCls:Ie,cellHeight:Oe,motionDurationSlow:ft,borderRadiusSM:rt,motionDurationMid:Nt,cellHoverBg:wt,lineWidth:It,lineType:jn,colorPrimary:on,cellActiveWithRangeBg:dn,colorTextLightSolid:Nn,controlHeightSM:In,cellRangeBorderColor:Dt,pickerCellBorderGap:zt,cellHoverWithRangeBg:Rn,cellWidth:ln,colorTextDisabled:da,cellBgDisabled:Fa}=ce;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Oe,transform:"translateY(-50%)",transition:`all ${ft}`,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(${me}-in-view),
&:hover:not(${me}-selected):not(${me}-range-start):not(${me}-range-end):not(${me}-range-hover-start):not(${me}-range-hover-end)`]:{[Ie]:{background:wt}},[`&-in-view${me}-today ${Ie}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${It}px ${jn} ${on}`,borderRadius:rt,content:'""'}},[`&-in-view${me}-in-range`]:{position:"relative","&::before":{background:dn}},[`&-in-view${me}-selected ${Ie},
&-in-view${me}-range-start ${Ie},
&-in-view${me}-range-end ${Ie}`]:{color:Nn,background:on},[`&-in-view${me}-range-start:not(${me}-range-start-single),
&-in-view${me}-range-end:not(${me}-range-end-single)`]:{"&::before":{background:dn}},[`&-in-view${me}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${me}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${me}-range-hover-start:not(${me}-in-range):not(${me}-range-start):not(${me}-range-end),
&-in-view${me}-range-hover-end:not(${me}-in-range):not(${me}-range-start):not(${me}-range-end),
&-in-view${me}-range-hover-start${me}-range-start-single,
&-in-view${me}-range-hover-start${me}-range-start${me}-range-end${me}-range-end-near-hover,
&-in-view${me}-range-hover-end${me}-range-start${me}-range-end${me}-range-start-near-hover,
&-in-view${me}-range-hover-end${me}-range-end-single,
&-in-view${me}-range-hover:not(${me}-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 ${ft}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:zt},[`&-in-view${me}-in-range${me}-range-hover::before,
&-in-view${me}-in-range${me}-range-hover-start::before,
&-in-view${me}-in-range${me}-range-hover-end::before,
&-in-view${me}-range-start${me}-range-hover::before,
&-in-view${me}-range-end${me}-range-hover::before,
&-in-view${me}-range-start:not(${me}-range-start-single)${me}-range-hover-start::before,
&-in-view${me}-range-end:not(${me}-range-end-single)${me}-range-hover-end::before,
${ge}-panel
> :not(${ge}-date-panel)
&-in-view${me}-in-range${me}-range-hover-start::before,
${ge}-panel
> :not(${ge}-date-panel)
&-in-view${me}-in-range${me}-range-hover-end::before`]:{background:Rn},[`&-in-view${me}-range-start:not(${me}-range-start-single):not(${me}-range-end) ${Ie}`]:{borderStartStartRadius:rt,borderEndStartRadius:rt,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${me}-range-end:not(${me}-range-end-single):not(${me}-range-start) ${Ie}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:rt,borderEndEndRadius:rt},[`&-range-hover${me}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${me}-range-hover:first-child::after,
tr > &-in-view${me}-range-hover-end:first-child::after,
&-in-view${me}-start${me}-range-hover-edge-start${me}-range-hover-edge-start-near-range::after,
&-in-view${me}-range-hover-edge-start:not(${me}-range-hover-edge-start-near-range)::after,
&-in-view${me}-range-hover-start::after`]:{insetInlineStart:(ln-Oe)/2,borderInlineStart:`${It}px dashed ${Dt}`,borderStartStartRadius:rt,borderEndStartRadius:rt},[`tr > &-in-view${me}-range-hover:last-child::after,
tr > &-in-view${me}-range-hover-start:last-child::after,
&-in-view${me}-end${me}-range-hover-edge-end${me}-range-hover-edge-end-near-range::after,
&-in-view${me}-range-hover-edge-end:not(${me}-range-hover-edge-end-near-range)::after,
&-in-view${me}-range-hover-end::after`]:{insetInlineEnd:(ln-Oe)/2,borderInlineEnd:`${It}px dashed ${Dt}`,borderStartEndRadius:rt,borderEndEndRadius:rt},"&-disabled":{color:da,pointerEvents:"none",[Ie]:{background:"transparent"},"&::before":{background:Fa}},[`&-disabled${me}-today ${Ie}::before`]:{borderColor:da}}},Jo=ce=>{const{componentCls:ge,pickerCellCls:me,pickerCellInnerCls:Ie,pickerYearMonthCellWidth:Oe,pickerControlIconSize:ft,cellWidth:rt,paddingSM:Nt,paddingXS:wt,paddingXXS:It,colorBgContainer:jn,lineWidth:on,lineType:dn,borderRadiusLG:Nn,colorPrimary:In,colorTextHeading:Dt,colorSplit:zt,pickerControlIconBorderWidth:Rn,colorIcon:ln,textHeight:da,motionDurationMid:Fa,colorIconHover:Ia,fontWeightStrong:ba,cellHeight:ca,pickerCellPaddingVertical:_r,colorTextDisabled:tr,colorText:wr,fontSize:Xr,cellHoverWithRangeBg:oo,motionDurationSlow:kn,withoutTimeCellHeight:Xo,pickerQuarterPanelContentHeight:vo,colorLink:Wr,colorLinkActive:qr,colorLinkHover:Ao,cellRangeBorderColor:No,borderRadiusSM:uo,colorTextLightSolid:gr,cellHoverBg:Zo,timeColumnHeight:_o,timeColumnWidth:Ai,timeCellHeight:$o,controlItemBgActive:xi,marginXXS:Ur,pickerDatePanelPaddingHorizontal:di}=ce,yi=rt*7+di*2,Gi=(yi-wt*2)/3-Oe-Nt,hi=(yi-wt*2)/4-Oe;return{[ge]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:jn,border:`${on}px ${dn} ${zt}`,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:yi},"&-header":{display:"flex",padding:`0 ${wt}px`,color:Dt,borderBottom:`${on}px ${dn} ${zt}`,"> *":{flex:"none"},button:{padding:0,color:ln,lineHeight:`${da}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${Fa}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:Xr,"&:hover":{color:Ia}},"&-view":{flex:"auto",fontWeight:ba,lineHeight:`${da}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:ft,height:ft,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:ft,height:ft,border:"0 solid currentcolor",borderBlockStartWidth:Rn,borderBlockEndWidth:0,borderInlineStartWidth:Rn,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(ft/2),insetInlineStart:Math.ceil(ft/2),display:"inline-block",width:ft,height:ft,border:"0 solid currentcolor",borderBlockStartWidth:Rn,borderBlockEndWidth:0,borderInlineStartWidth:Rn,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:ca,fontWeight:"normal"},th:{height:ca+_r*2,color:wr,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${_r}px 0`,color:tr,cursor:"pointer","&-in-view":{color:wr}},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:oo,transition:`all ${kn}`,content:'""'}},[`&-date-panel
${ge}-cell-in-view${ge}-cell-in-range${ge}-cell-range-hover-start
${Ie}::after`]:{insetInlineEnd:-(rt-ca)/2,insetInlineStart:0},[`&-date-panel ${ge}-cell-in-view${ge}-cell-in-range${ge}-cell-range-hover-end ${Ie}::after`]:{insetInlineEnd:0,insetInlineStart:-(rt-ca)/2},[`&-range-hover${ge}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ge}-content`]:{height:Xo*4},[Ie]:{padding:`0 ${wt}px`}},"&-quarter-panel":{[`${ge}-content`]:{height:vo},[`${ge}-cell-range-hover-start::after`]:{insetInlineStart:hi,borderInlineStart:`${on}px dashed ${No}`,[`${ge}-panel-rtl &`]:{insetInlineEnd:hi,borderInlineEnd:`${on}px dashed ${No}`}},[`${ge}-cell-range-hover-end::after`]:{insetInlineEnd:hi,borderInlineEnd:`${on}px dashed ${No}`,[`${ge}-panel-rtl &`]:{insetInlineStart:hi,borderInlineStart:`${on}px dashed ${No}`}}},[`&-panel ${ge}-footer`]:{borderTop:`${on}px ${dn} ${zt}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${da-2*on}px`,textAlign:"center","&-extra":{padding:`0 ${Nt}px`,lineHeight:`${da-2*on}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${on}px ${dn} ${zt}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:Wr,"&:hover":{color:Ao},"&:active":{color:qr},[`&${ge}-today-btn-disabled`]:{color:tr,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:uo,borderEndStartRadius:uo,borderStartEndRadius:0,borderEndEndRadius:0,[`${ge}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:uo,borderEndEndRadius:uo}},[`${ge}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:uo,borderEndEndRadius:uo,[`${ge}-panel-rtl &`]:{borderStartStartRadius:uo,borderEndStartRadius:uo,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${ge}-cell-range-hover-start::after`]:{insetInlineStart:Gi,borderInlineStart:`${on}px dashed ${No}`,[`${ge}-panel-rtl &`]:{insetInlineEnd:Gi,borderInlineEnd:`${on}px dashed ${No}`}},[`${ge}-cell-range-hover-end::after`]:{insetInlineEnd:Gi,borderInlineEnd:`${on}px dashed ${No}`,[`${ge}-panel-rtl &`]:{insetInlineStart:Gi,borderInlineStart:`${on}px dashed ${No}`}}},"&-week-panel":{[`${ge}-body`]:{padding:`${wt}px ${Nt}px`},[`${ge}-cell`]:{[`&:hover ${Ie},
&-selected ${Ie},
${Ie}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Fa}`},"&:first-child:before":{borderStartStartRadius:uo,borderEndStartRadius:uo},"&:last-child:before":{borderStartEndRadius:uo,borderEndEndRadius:uo}},"&:hover td":{"&:before":{background:Zo}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${me}`]:{"&:before":{background:In},[`&${ge}-cell-week`]:{color:new Bu.C(gr).setAlpha(.5).toHexString()},[Ie]:{color:gr}}},"&-range-hover td:before":{background:xi}}},"&-date-panel":{[`${ge}-body`]:{padding:`${wt}px ${di}px`},[`${ge}-content`]:{width:rt*7,th:{width:rt,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${ge}-time-panel`]:{borderInlineStart:`${on}px ${dn} ${zt}`},[`${ge}-date-panel,
${ge}-time-panel`]:{transition:`opacity ${kn}`},"&-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:_o},"&-column":{flex:"1 0 auto",width:Ai,margin:`${It}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Fa}`,overflowX:"hidden","&::after":{display:"block",height:_o-$o,content:'""'},"&:not(:first-child)":{borderInlineStart:`${on}px ${dn} ${zt}`},"&-active":{background:new Bu.C(xi).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${ge}-time-panel-cell`]:{marginInline:Ur,[`${ge}-time-panel-cell-inner`]:{display:"block",width:Ai-2*Ur,height:$o,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(Ai-$o)/2,color:wr,lineHeight:`${$o}px`,borderRadius:uo,cursor:"pointer",transition:`background ${Fa}`,"&:hover":{background:Zo}},"&-selected":{[`${ge}-time-panel-cell-inner`]:{background:xi}},"&-disabled":{[`${ge}-time-panel-cell-inner`]:{color:tr,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${ge}-time-panel-column:after`]:{height:_o-$o+It*2}}}},us=ce=>{const{componentCls:ge,colorBgContainer:me,colorError:Ie,errorActiveShadow:Oe,colorWarning:ft,warningActiveShadow:rt}=ce;return{[`${ge}:not(${ge}-disabled)`]:{[`&${ge}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:me,borderColor:Ie},[`&${ge}-focused, &:focus`]:Object.assign({},(0,Bi.M1)((0,Bl.TS)(ce,{activeBorderColor:Ie,activeShadow:Oe}))),[`${ge}-active-bar`]:{background:Ie}},[`&${ge}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:me,borderColor:ft},[`&${ge}-focused, &:focus`]:Object.assign({},(0,Bi.M1)((0,Bl.TS)(ce,{activeBorderColor:ft,activeShadow:rt}))),[`${ge}-active-bar`]:{background:ft}}}}},ss=ce=>{const{componentCls:ge,antCls:me,controlHeight:Ie,fontSize:Oe,paddingInline:ft,colorBgContainer:rt,lineWidth:Nt,lineType:wt,colorBorder:It,borderRadius:jn,motionDurationMid:on,colorBgContainerDisabled:dn,colorTextDisabled:Nn,colorTextPlaceholder:In,controlHeightLG:Dt,fontSizeLG:zt,controlHeightSM:Rn,paddingInlineSM:ln,paddingXS:da,marginXS:Fa,colorTextDescription:Ia,lineWidthBold:ba,lineHeight:ca,colorPrimary:_r,motionDurationSlow:tr,zIndexPopup:wr,paddingXXS:Xr,paddingSM:oo,textHeight:kn,cellActiveWithRangeBg:Xo,colorPrimaryBorder:vo,sizePopupArrow:Wr,borderRadiusXS:qr,borderRadiusOuter:Ao,colorBgElevated:No,borderRadiusLG:uo,boxShadowSecondary:gr,borderRadiusSM:Zo,colorSplit:_o,cellHoverBg:Ai,presetsWidth:$o,presetsMaxWidth:xi,boxShadowPopoverArrow:Ur,colorTextQuaternary:di}=ce;return[{[ge]:Object.assign(Object.assign(Object.assign({},(0,Au.Wf)(ce)),Mu(ce,Ie,Oe,ft)),{position:"relative",display:"inline-flex",alignItems:"center",background:rt,lineHeight:1,border:`${Nt}px ${wt} ${It}`,borderRadius:jn,transition:`border ${on}, box-shadow ${on}`,"&:hover, &-focused":Object.assign({},(0,Bi.pU)(ce)),"&-focused":Object.assign({},(0,Bi.M1)(ce)),[`&${ge}-disabled`]:{background:dn,borderColor:It,cursor:"not-allowed",[`${ge}-suffix`]:{color:di}},[`&${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,Bi.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,zt,ft)),{[`${ge}-input > input`]:{fontSize:zt}}),"&-small":Object.assign({},Mu(ce,Rn,Oe,ln)),[`${ge}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:da/2,color:Nn,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Fa}}},[`${ge}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Nn,lineHeight:1,background:rt,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${on}, color ${on}`,"> *":{verticalAlign:"top"},"&:hover":{color:Ia}},[`${ge}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:zt,color:Nn,fontSize:zt,verticalAlign:"top",cursor:"default",[`${ge}-focused &`]:{color:Ia},[`${ge}-range-separator &`]:{[`${ge}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${ge}-clear`]:{insetInlineEnd:ft},"&:hover":{[`${ge}-clear`]:{opacity:1}},[`${ge}-active-bar`]:{bottom:-Nt,height:ba,marginInlineStart:ft,background:_r,opacity:0,transition:`all ${tr} ease-out`,pointerEvents:"none"},[`&${ge}-focused`]:{[`${ge}-active-bar`]:{opacity:1}},[`${ge}-range-separator`]:{alignItems:"center",padding:`0 ${da}px`,lineHeight:1},[`&${ge}-small`]:{[`${ge}-clear`]:{insetInlineEnd:ln},[`${ge}-active-bar`]:{marginInlineStart:ln}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,Au.Wf)(ce)),Jo(ce)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:wr,[`&${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)"}},[`&${me}-slide-up-enter${me}-slide-up-enter-active${ge}-dropdown-placement-topLeft,
&${me}-slide-up-enter${me}-slide-up-enter-active${ge}-dropdown-placement-topRight,
&${me}-slide-up-appear${me}-slide-up-appear-active${ge}-dropdown-placement-topLeft,
&${me}-slide-up-appear${me}-slide-up-appear-active${ge}-dropdown-placement-topRight`]:{animationName:Jl.Qt},[`&${me}-slide-up-enter${me}-slide-up-enter-active${ge}-dropdown-placement-bottomLeft,
&${me}-slide-up-enter${me}-slide-up-enter-active${ge}-dropdown-placement-bottomRight,
&${me}-slide-up-appear${me}-slide-up-appear-active${ge}-dropdown-placement-bottomLeft,
&${me}-slide-up-appear${me}-slide-up-appear-active${ge}-dropdown-placement-bottomRight`]:{animationName:Jl.fJ},[`&${me}-slide-up-leave${me}-slide-up-leave-active${ge}-dropdown-placement-topLeft,
&${me}-slide-up-leave${me}-slide-up-leave-active${ge}-dropdown-placement-topRight`]:{animationName:Jl.ly},[`&${me}-slide-up-leave${me}-slide-up-leave-active${ge}-dropdown-placement-bottomLeft,
&${me}-slide-up-leave${me}-slide-up-leave-active${ge}-dropdown-placement-bottomRight`]:{animationName:Jl.Uw},[`${ge}-panel > ${ge}-time-panel`]:{paddingTop:Xr},[`${ge}-ranges`]:{marginBottom:0,padding:`${Xr}px ${oo}px`,overflow:"hidden",lineHeight:`${kn-2*Nt-da/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${ge}-preset > ${me}-tag-blue`]:{color:_r,background:Xo,borderColor:vo,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:ft*1.5,transition:`left ${tr} ease-out`},(0,os.r)(Wr,qr,Ao,No,Ur)),[`${ge}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:No,borderRadius:uo,boxShadow:gr,transition:`margin ${tr}`,[`${ge}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${ge}-presets`]:{display:"flex",flexDirection:"column",minWidth:$o,maxWidth:xi,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:da,borderInlineEnd:`${Nt}px ${wt} ${_o}`,li:Object.assign(Object.assign({},Au.vS),{borderRadius:Zo,paddingInline:da,paddingBlock:(Rn-Math.round(Oe*ca))/2,cursor:"pointer",transition:`all ${tr}`,"+ li":{marginTop:Fa},"&:hover":{background:Ai}})}},[`${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:`${Wr*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:me,paddingXXS:Ie,padding:Oe}=ce;return{pickerCellCls:`${ge}-cell`,pickerCellInnerCls:`${ge}-cell-inner`,pickerYearMonthCellWidth:me*1.5,pickerQuarterPanelContentHeight:me*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,Bi.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,Bi.TM)(ce)),Uu(ce)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:ce.zIndexPopupBase+50}));function ku(ce,ge,me){return me!==void 0?me: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,me){return me!==void 0?me: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 ol(ce,ge){const me={adjustX:1,adjustY:1};switch(ge){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:me};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:me};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:me};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:me};default:return{points:ce==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:me}}}function ml(ce){return ce?Array.isArray(ce)?ce:[ce]:[]}function yu(ce){const{format:ge,picker:me,showHour:Ie,showMinute:Oe,showSecond:ft,use12Hours:rt}=ce,Nt=ml(ge)[0],wt=Object.assign({},ce);return ge&&Array.isArray(ge)&&(wt.format=Nt),Nt&&typeof Nt=="string"&&(!Nt.includes("s")&&ft===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)),me==="time"?wt:(typeof Nt=="function"&&delete wt.format,{showTime:wt})}function Yu(ce,ge,me){if(ce===!1)return!1;const Ie={clearIcon:ge!=null?ge:me};return typeof ce=="object"?Object.assign(Object.assign({},Ie),ce):Ie}var Ku=re(3113);function ya(ce){return ie.createElement(Ku.ZP,Object.assign({size:"small",type:"primary"},ce))}var _u={button:ya},Fu=function(ce,ge){var me={};for(var Ie in ce)Object.prototype.hasOwnProperty.call(ce,Ie)&&ge.indexOf(Ie)<0&&(me[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])&&(me[Ie[Oe]]=ce[Ie[Oe]]);return me};function Yn(ce){return(0,ie.forwardRef)((me,Ie)=>{const{prefixCls:Oe,getPopupContainer:ft,className:rt,placement:Nt,size:wt,disabled:It,bordered:jn=!0,placeholder:on,popupClassName:dn,dropdownClassName:Nn,status:In,clearIcon:Dt,allowClear:zt,rootClassName:Rn}=me,ln=Fu(me,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),da=ie.useRef(null),{getPrefixCls:Fa,direction:Ia,getPopupContainer:ba}=(0,ie.useContext)(Nu.E_),ca=Fa("picker",Oe),{compactSize:_r,compactItemClassnames:tr}=(0,ki.ri)(ca,Ia),{format:wr,showTime:Xr,picker:oo}=me,kn=Fa(),[Xo,vo]=Ru(ca),Wr=Object.assign(Object.assign({},Xr?yu(Object.assign({format:wr,picker:oo},Xr)):{}),oo==="time"?yu(Object.assign(Object.assign({format:wr},me),{picker:oo})):{}),qr=(0,Vu.Z)(Ur=>{var di;return(di=wt!=null?wt:_r)!==null&&di!==void 0?di:Ur}),Ao=ie.useContext(iu.Z),No=It!=null?It:Ao,uo=(0,ie.useContext)(Iu.aM),{hasFeedback:gr,status:Zo,feedbackIcon:_o}=uo,Ai=ie.createElement(ie.Fragment,null,oo==="time"?ie.createElement(gt,null):ie.createElement(Re,null),gr&&_o);(0,ie.useImperativeHandle)(Ie,()=>({focus:()=>{var Ur;return(Ur=da.current)===null||Ur===void 0?void 0:Ur.focus()},blur:()=>{var Ur;return(Ur=da.current)===null||Ur===void 0?void 0:Ur.blur()}}));const[$o]=(0,Ou.Z)("Calendar",Wu.Z),xi=Object.assign(Object.assign({},$o),me.locale);return Xo(ie.createElement(zu,Object.assign({separator:ie.createElement("span",{"aria-label":"to",className:`${ca}-separator`},ie.createElement(Zt,null)),disabled:No,ref:da,dropdownAlign:ol(Ia,Nt),placeholder:Qu(xi,oo,on),suffixIcon:Ai,prevIcon:ie.createElement("span",{className:`${ca}-prev-icon`}),nextIcon:ie.createElement("span",{className:`${ca}-next-icon`}),superPrevIcon:ie.createElement("span",{className:`${ca}-super-prev-icon`}),superNextIcon:ie.createElement("span",{className:`${ca}-super-next-icon`}),transitionName:`${kn}-slide-up`},ln,Wr,{className:Te()({[`${ca}-${qr}`]:qr,[`${ca}-borderless`]:!jn},(0,Pu.Z)(ca,(0,Pu.F)(Zo,In),gr),vo,tr,rt,Rn),locale:xi.lang,prefixCls:ca,getPopupContainer:ft||ba,generateConfig:ce,components:_u,direction:Ia,dropdownClassName:Te()(vo,dn||Nn,Rn),allowClear:Yu(zt,Dt,ie.createElement(lt.Z,null))})))})}var Xl=function(ce,ge){var me={};for(var Ie in ce)Object.prototype.hasOwnProperty.call(ce,Ie)&&ge.indexOf(Ie)<0&&(me[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])&&(me[Ie[Oe]]=ce[Ie[Oe]]);return me};function gs(ce){function ge(wt,It){const jn=It==="TimePicker"?"timePicker":"datePicker",on=(0,ie.forwardRef)((dn,Nn)=>{const{prefixCls:In,getPopupContainer:Dt,style:zt,className:Rn,rootClassName:ln,size:da,bordered:Fa=!0,placement:Ia,placeholder:ba,popupClassName:ca,dropdownClassName:_r,disabled:tr,status:wr,clearIcon:Xr,allowClear:oo}=dn,kn=Xl(dn,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:Xo,direction:vo,getPopupContainer:Wr,[jn]:qr}=(0,ie.useContext)(Nu.E_),Ao=Xo("picker",In),{compactSize:No,compactItemClassnames:uo}=(0,ki.ri)(Ao,vo),gr=ie.useRef(null),{format:Zo,showTime:_o}=dn,[Ai,$o]=Ru(Ao);(0,ie.useImperativeHandle)(Nn,()=>({focus:()=>{var Fi;return(Fi=gr.current)===null||Fi===void 0?void 0:Fi.focus()},blur:()=>{var Fi;return(Fi=gr.current)===null||Fi===void 0?void 0:Fi.blur()}}));const xi={showToday:!0};let Ur={};wt&&(Ur.picker=wt);const di=wt||dn.picker;Ur=Object.assign(Object.assign(Object.assign({},Ur),_o?yu(Object.assign({format:Zo,picker:di},_o)):{}),di==="time"?yu(Object.assign(Object.assign({format:Zo},dn),{picker:di})):{});const yi=Xo(),Gi=(0,Vu.Z)(Fi=>{var Al;return(Al=da!=null?da:No)!==null&&Al!==void 0?Al:Fi}),hi=ie.useContext(iu.Z),qi=tr!=null?tr:hi,fl=(0,ie.useContext)(Iu.aM),{hasFeedback:Gr,status:So,feedbackIcon:xo}=fl,Si=ie.createElement(ie.Fragment,null,di==="time"?ie.createElement(gt,null):ie.createElement(Re,null),Gr&&xo),[ji]=(0,Ou.Z)("DatePicker",Wu.Z),ai=Object.assign(Object.assign({},ji),dn.locale);return Ai(ie.createElement(Lu,Object.assign({ref:gr,placeholder:ku(ai,di,ba),suffixIcon:Si,dropdownAlign:ol(vo,Ia),prevIcon:ie.createElement("span",{className:`${Ao}-prev-icon`}),nextIcon:ie.createElement("span",{className:`${Ao}-next-icon`}),superPrevIcon:ie.createElement("span",{className:`${Ao}-super-prev-icon`}),superNextIcon:ie.createElement("span",{className:`${Ao}-super-next-icon`}),transitionName:`${yi}-slide-up`},xi,kn,Ur,{locale:ai.lang,className:Te()({[`${Ao}-${Gi}`]:Gi,[`${Ao}-borderless`]:!Fa},(0,Pu.Z)(Ao,(0,Pu.F)(So,wr),Gr),$o,uo,qr==null?void 0:qr.className,Rn,ln),style:Object.assign(Object.assign({},qr==null?void 0:qr.style),zt),prefixCls:Ao,getPopupContainer:Dt||Wr,generateConfig:ce,components:_u,direction:vo,disabled:qi,dropdownClassName:Te()($o,ln,ca||_r),allowClear:Yu(oo,Xr,ie.createElement(lt.Z,null))})))});return It&&(on.displayName=It),on}const me=ge(),Ie=ge("week","WeekPicker"),Oe=ge("month","MonthPicker"),ft=ge("year","YearPicker"),rt=ge("time","TimePicker"),Nt=ge("quarter","QuarterPicker");return{DatePicker:me,WeekPicker:Ie,MonthPicker:Oe,YearPicker:ft,TimePicker:rt,QuarterPicker:Nt}}const Os=null;function ms(ce){const{DatePicker:ge,WeekPicker:me,MonthPicker:Ie,YearPicker:Oe,TimePicker:ft,QuarterPicker:rt}=gs(ce),Nt=Yn(ce),wt=ge;return wt.WeekPicker=me,wt.MonthPicker=Ie,wt.YearPicker=Oe,wt.RangePicker=Nt,wt.TimePicker=ft,wt.QuarterPicker=rt,wt}var Ju=ms;const ql=Ju(te);function fi(ce){const ge=ol(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,fi);ql._InternalPanelDoNotUseOrYouWillBeFired=Tu;const Xu=(0,ae.Z)(ql.RangePicker,"picker",null,fi);ql._InternalRangePanelDoNotUseOrYouWillBeFired=Xu,ql.generatePicker=Ju;var fs=ql},39722:function(Et,Mt,re){"use strict";re.d(Mt,{t5:function(){return Le}});var b=re(92310),pe=re.n(b),we=re(55477),Ae=re(59301),_e=re(36355),Ue=re(77578),De=re(17356),tt=function(Ge,Ke){var le={};for(var E in Ge)Object.prototype.hasOwnProperty.call(Ge,E)&&Ke.indexOf(E)<0&&(le[E]=Ge[E]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,E=Object.getOwnPropertySymbols(Ge);a<E.length;a++)Ke.indexOf(E[a])<0&&Object.prototype.propertyIsEnumerable.call(Ge,E[a])&&(le[E[a]]=Ge[E[a]]);return le};const Me=(Ge,Ke,le)=>{if(!(!Ke&&!le))return Ae.createElement(Ae.Fragment,null,Ke&&Ae.createElement("div",{className:`${Ge}-title`},(0,Ue.Z)(Ke)),Ae.createElement("div",{className:`${Ge}-inner-content`},(0,Ue.Z)(le)))},Le=Ge=>{const{hashId:Ke,prefixCls:le,className:E,style:a,placement:x="top",title:y,content:z,children:te}=Ge;return Ae.createElement("div",{className:pe()(Ke,le,`${le}-pure`,`${le}-placement-${x}`,E),style:a},Ae.createElement("div",{className:`${le}-arrow`}),Ae.createElement(we.G,Object.assign({},Ge,{className:Ke,prefixCls:le}),te||Me(le,y,z)))},ke=Ge=>{const{prefixCls:Ke}=Ge,le=tt(Ge,["prefixCls"]),{getPrefixCls:E}=Ae.useContext(_e.E_),a=E("popover",Ke),[x,y]=(0,De.Z)(a);return x(Ae.createElement(Le,Object.assign({},le,{prefixCls:a,hashId:y})))};Mt.ZP=ke},60324:function(Et,Mt,re){"use strict";var b=re(92310),pe=re.n(b),we=re(59301),Ae=re(77578),_e=re(62892),Ue=re(36355),De=re(6848),tt=re(39722),Me=re(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 ke=Ke=>{let{title:le,content:E,prefixCls:a}=Ke;return we.createElement(we.Fragment,null,le&&we.createElement("div",{className:`${a}-title`},(0,Ae.Z)(le)),we.createElement("div",{className:`${a}-inner-content`},(0,Ae.Z)(E)))},Ge=we.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,he=Le(Ke,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:be}=we.useContext(Ue.E_),He=be("popover",E),[Ne,dt]=(0,Me.Z)(He),Re=be(),Ye=pe()(y,dt);return Ne(we.createElement(De.Z,Object.assign({placement:z,trigger:te,mouseEnterDelay:ae,mouseLeaveDelay:se,overlayStyle:ie},he,{prefixCls:He,overlayClassName:Ye,ref:le,overlay:a||x?we.createElement(ke,{prefixCls:He,title:a,content:x}):null,transitionName:(0,_e.m)(Re,"zoom-big",he.transitionName),"data-popover-inject":!0})))});Ge._InternalPanelDoNotUseOrYouWillBeFired=tt.ZP,Mt.Z=Ge},17356:function(Et,Mt,re){"use strict";var b=re(17313),pe=re(29878),we=re(19447),Ae=re(33166),_e=re(83116),Ue=re(37613);const De=Le=>{const{componentCls:ke,popoverColor:Ge,minWidth:Ke,fontWeightStrong:le,popoverPadding:E,boxShadowSecondary:a,colorTextHeading:x,borderRadiusLG:y,zIndexPopup:z,marginXS:te,colorBgElevated:ae,popoverBg:se}=Le;return[{[ke]: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"},[`${ke}-content`]:{position:"relative"},[`${ke}-inner`]:{backgroundColor:se,backgroundClip:"padding-box",borderRadius:y,boxShadow:a,padding:E},[`${ke}-title`]:{minWidth:Ke,marginBottom:te,color:x,fontWeight:le},[`${ke}-inner-content`]:{color:Ge}})},(0,we.ZP)(Le,{colorBg:"var(--antd-arrow-background-color)"}),{[`${ke}-pure`]:{position:"relative",maxWidth:"none",margin:Le.sizePopupArrow,display:"inline-block",[`${ke}-content`]:{display:"inline-block"}}}]},tt=Le=>{const{componentCls:ke}=Le;return{[ke]:Ae.i.map(Ge=>{const Ke=Le[`${Ge}6`];return{[`&${ke}-${Ge}`]:{"--antd-arrow-background-color":Ke,[`${ke}-inner`]:{backgroundColor:Ke},[`${ke}-arrow`]:{background:"transparent"}}}})}},Me=Le=>{const{componentCls:ke,lineWidth:Ge,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-Ge,ie=z;return{[ke]:{[`${ke}-inner`]:{padding:0},[`${ke}-title`]:{margin:0,padding:`${ae}px ${ie}px ${se}px`,borderBottom:`${Ge}px ${Ke} ${le}`},[`${ke}-inner-content`]:{padding:`${E}px ${ie}px`}}}};Mt.Z=(0,_e.Z)("Popover",Le=>{const{colorBgElevated:ke,colorText:Ge,wireframe:Ke}=Le,le=(0,Ue.TS)(Le,{popoverPadding:12,popoverBg:ke,popoverColor:Ge});return[De(le),tt(le),Ke&&Me(le),(0,pe._y)(le,"zoom-big")]},Le=>({width:177,minWidth:177,zIndexPopup:Le.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},12563:function(Et,Mt,re){"use strict";re.d(Mt,{default:function(){return dt}});var b=re(59301),pe=re(99267),we=re(92310),Ae=re.n(we),_e=re(36785),Ue=re(47729),De=re(14088),tt=re(36355),Me=re(17313),Le=re(37613),ke=re(83116);const Ge=Re=>{const{paddingXXS:Ye,lineWidth:We,tagPaddingHorizontal:qe,componentCls:xe}=Re,gt=qe-We,lt=Ye-We;return{[xe]:Object.assign(Object.assign({},(0,Me.Wf)(Re)),{display:"inline-block",height:"auto",marginInlineEnd:Re.marginXS,paddingInline:gt,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",[`&${xe}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:Re.defaultColor},[`${xe}-close-icon`]:{marginInlineStart:lt,color:Re.colorTextDescription,fontSize:Re.tagIconSize,cursor:"pointer",transition:`all ${Re.motionDurationMid}`,"&:hover":{color:Re.colorTextHeading}},[`&${xe}-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(${xe}-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:gt}}),[`${xe}-borderless`]:{borderColor:"transparent",background:Re.tagBorderlessBg}}},Ke=Re=>{const{lineWidth:Ye,fontSizeIcon:We}=Re,qe=Re.fontSizeSM,xe=`${Re.lineHeightSM*qe}px`;return(0,Le.TS)(Re,{tagFontSize:qe,tagLineHeight:xe,tagIconSize:We-2*Ye,tagPaddingHorizontal:8,tagBorderlessBg:Re.colorFillTertiary})},le=Re=>({defaultBg:Re.colorFillQuaternary,defaultColor:Re.colorText});var E=(0,ke.Z)("Tag",Re=>{const Ye=Ke(Re);return Ge(Ye)},le),a=function(Re,Ye){var We={};for(var qe in Re)Object.prototype.hasOwnProperty.call(Re,qe)&&Ye.indexOf(qe)<0&&(We[qe]=Re[qe]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,qe=Object.getOwnPropertySymbols(Re);xe<qe.length;xe++)Ye.indexOf(qe[xe])<0&&Object.prototype.propertyIsEnumerable.call(Re,qe[xe])&&(We[qe[xe]]=Re[qe[xe]]);return We},y=Re=>{const{prefixCls:Ye,style:We,className:qe,checked:xe,onChange:gt,onClick:lt}=Re,At=a(Re,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:mt,tag:Pn}=b.useContext(tt.E_),un=Rt=>{gt==null||gt(!xe),lt==null||lt(Rt)},Zt=mt("tag",Ye),[_t,Te]=E(Zt),ot=Ae()(Zt,`${Zt}-checkable`,{[`${Zt}-checkable-checked`]:xe},Pn==null?void 0:Pn.className,qe,Te);return _t(b.createElement("span",Object.assign({},At,{style:Object.assign(Object.assign({},We),Pn==null?void 0:Pn.style),className:ot,onClick:un})))},z=re(45157);const te=Re=>(0,z.Z)(Re,(Ye,We)=>{let{textColor:qe,lightBorderColor:xe,lightColor:gt,darkColor:lt}=We;return{[`${Re.componentCls}-${Ye}`]:{color:qe,background:gt,borderColor:xe,"&-inverse":{color:Re.colorTextLightSolid,background:lt,borderColor:lt},[`&${Re.componentCls}-borderless`]:{borderColor:"transparent"}}}});var ae=(0,ke.b)(["Tag","preset"],Re=>{const Ye=Ke(Re);return te(Ye)},le);function se(Re){return typeof Re!="string"?Re:Re.charAt(0).toUpperCase()+Re.slice(1)}const ie=(Re,Ye,We)=>{const qe=se(We);return{[`${Re.componentCls}-${Ye}`]:{color:Re[`color${We}`],background:Re[`color${qe}Bg`],borderColor:Re[`color${qe}Border`],[`&${Re.componentCls}-borderless`]:{borderColor:"transparent"}}}};var he=(0,ke.b)(["Tag","status"],Re=>{const Ye=Ke(Re);return[ie(Ye,"success","Success"),ie(Ye,"processing","Info"),ie(Ye,"error","Error"),ie(Ye,"warning","Warning")]},le),be=function(Re,Ye){var We={};for(var qe in Re)Object.prototype.hasOwnProperty.call(Re,qe)&&Ye.indexOf(qe)<0&&(We[qe]=Re[qe]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,qe=Object.getOwnPropertySymbols(Re);xe<qe.length;xe++)Ye.indexOf(qe[xe])<0&&Object.prototype.propertyIsEnumerable.call(Re,qe[xe])&&(We[qe[xe]]=Re[qe[xe]]);return We};const He=(Re,Ye)=>{const{prefixCls:We,className:qe,rootClassName:xe,style:gt,children:lt,icon:At,color:mt,onClose:Pn,closeIcon:un,closable:Zt,bordered:_t=!0}=Re,Te=be(Re,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:ot,direction:Rt,tag:hn}=b.useContext(tt.E_),[Ft,sn]=b.useState(!0);b.useEffect(()=>{"visible"in Te&&sn(Te.visible)},[Te.visible]);const Ce=(0,_e.o2)(mt),it=(0,_e.yT)(mt),Qt=Ce||it,nt=Object.assign(Object.assign({backgroundColor:mt&&!Qt?mt:void 0},hn==null?void 0:hn.style),gt),ht=ot("tag",We),[Tn,kt]=E(ht),yt=Ae()(ht,hn==null?void 0:hn.className,{[`${ht}-${mt}`]:Qt,[`${ht}-has-color`]:mt&&!Qt,[`${ht}-hidden`]:!Ft,[`${ht}-rtl`]:Rt==="rtl",[`${ht}-borderless`]:!_t},qe,xe,kt),Pt=qn=>{qn.stopPropagation(),Pn==null||Pn(qn),!qn.defaultPrevented&&sn(!1)},[,Hn]=(0,Ue.Z)(Zt,un,qn=>qn===null?b.createElement(pe.Z,{className:`${ht}-close-icon`,onClick:Pt}):b.createElement("span",{className:`${ht}-close-icon`,onClick:Pt},qn),null,!1),Wn=typeof Te.onClick=="function"||lt&&lt.type==="a",an=At||null,oa=an?b.createElement(b.Fragment,null,an,lt&&b.createElement("span",null,lt)):lt,Ea=b.createElement("span",Object.assign({},Te,{ref:Ye,className:yt,style:nt}),oa,Hn,Ce&&b.createElement(ae,{key:"preset",prefixCls:ht}),it&&b.createElement(he,{key:"status",prefixCls:ht}));return Tn(Wn?b.createElement(De.Z,{component:"Tag"},Ea):Ea)},Ne=b.forwardRef(He);Ne.CheckableTag=y;var dt=Ne},98228:function(Et,Mt,re){"use strict";re.d(Mt,{default:function(){return Rr}});var b=re(92310),pe=re.n(b),we=re(32855),Ae=re(3300),_e=re(27247),Ue=re(11913),De=re(43079),tt=re(34666),Me=re(77861),Le=re(17115),ke=re(90782),Ge=re(18929),Ke=re(48736),le=re(59301),E=function(Lt){var xn=le.useRef({valueLabels:new Map});return le.useMemo(function(){var na=xn.current.valueLabels,pa=new Map,Be=Lt.map(function(at){var ct,bt=at.value,St=(ct=at.label)!==null&&ct!==void 0?ct:na.get(bt);return pa.set(bt,St),(0,_e.Z)((0,_e.Z)({},at),{},{label:St})});return xn.current.valueLabels=pa,[Be]},[Lt])},a=function(Lt,xn,na,pa){return le.useMemo(function(){var Be=Lt.map(function(St){var vn=St.value;return vn}),at=xn.map(function(St){var vn=St.value;return vn}),ct=Be.filter(function(St){return!pa[St]});if(na){var bt=(0,ke.S)(Be,!0,pa);Be=bt.checkedKeys,at=bt.halfCheckedKeys}return[Array.from(new Set([].concat((0,Ae.Z)(ct),(0,Ae.Z)(Be)))),at]},[Lt,xn,na,pa])},x=re(71430),y=function(Lt,xn){return le.useMemo(function(){var na=(0,x.I8)(Lt,{fieldNames:xn,initWrapper:function(Be){return(0,_e.Z)((0,_e.Z)({},Be),{},{valueEntities:new Map})},processEntity:function(Be,at){var ct=Be.node[xn.value];if(0)var bt;at.valueEntities.set(ct,Be)}});return na},[Lt,xn])},z=re(74430),te=re(11592),ae=function(){return null},se=ae,ie=["children","value"];function he(Lt){return(0,te.Z)(Lt).map(function(xn){if(!le.isValidElement(xn)||!xn.type)return null;var na=xn,pa=na.key,Be=na.props,at=Be.children,ct=Be.value,bt=(0,De.Z)(Be,ie),St=(0,_e.Z)({key:pa,value:ct},bt),vn=he(at);return vn.length&&(St.children=vn),St}).filter(function(xn){return xn})}function be(Lt){if(!Lt)return Lt;var xn=(0,_e.Z)({},Lt);return"props"in xn||Object.defineProperty(xn,"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."),xn}}),xn}function He(Lt,xn,na,pa,Be,at){var ct=null,bt=null;function St(){function vn(qt){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return qt.map(function(Qe,Tt){var gn="".concat(ze,"-").concat(Tt),En=Qe[at.value],ua=na.includes(En),Jn=vn(Qe[at.children]||[],gn,ua),Mn=le.createElement(se,Qe,Jn.map(function(Un){return Un.node}));if(xn===En&&(ct=Mn),ua){var ea={pos:gn,node:Mn,children:Jn};return Xe||bt.push(ea),ea}return null}).filter(function(Qe){return Qe})}bt||(bt=[],vn(pa),bt.sort(function(qt,ze){var Xe=qt.node.props.value,Qe=ze.node.props.value,Tt=na.indexOf(Xe),gn=na.indexOf(Qe);return Tt-gn}))}Object.defineProperty(Lt,"triggerNode",{get:function(){return(0,Ke.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),St(),ct}}),Object.defineProperty(Lt,"allCheckedNodes",{get:function(){return(0,Ke.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),St(),Be?bt:bt.map(function(qt){var ze=qt.node;return ze})}})}var Ne=function(Lt,xn,na){var pa=na.treeNodeFilterProp,Be=na.filterTreeNode,at=na.fieldNames,ct=at.children;return le.useMemo(function(){if(!xn||Be===!1)return Lt;var bt;if(typeof Be=="function")bt=Be;else{var St=xn.toUpperCase();bt=function(ze,Xe){var Qe=Xe[pa];return String(Qe).toUpperCase().includes(St)}}function vn(qt){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return qt.reduce(function(Xe,Qe){var Tt=Qe[ct],gn=ze||bt(xn,be(Qe)),En=vn(Tt||[],gn);return(gn||En.length)&&Xe.push((0,_e.Z)((0,_e.Z)({},Qe),{},(0,z.Z)({isLeaf:void 0},ct,En))),Xe},[])}return vn(Lt)},[Lt,xn,ct,pa,Be])};function dt(Lt){var xn=le.useRef();xn.current=Lt;var na=le.useCallback(function(){return xn.current.apply(xn,arguments)},[]);return na}function Re(Lt,xn){var na=xn.id,pa=xn.pId,Be=xn.rootPId,at={},ct=[],bt=Lt.map(function(St){var vn=(0,_e.Z)({},St),qt=vn[na];return at[qt]=vn,vn.key=vn.key||qt,vn});return bt.forEach(function(St){var vn=St[pa],qt=at[vn];qt&&(qt.children=qt.children||[],qt.children.push(St)),(vn===Be||!qt&&Be===null)&&ct.push(St)}),ct}function Ye(Lt,xn,na){return le.useMemo(function(){return Lt?na?Re(Lt,(0,_e.Z)({id:"id",pId:"pId",rootPId:null},na!==!0?na:{})):Lt:he(xn)},[xn,na,Lt])}var We=le.createContext(null),qe=We,xe=re(10228),gt=re(80547),lt=re(54030),At=le.createContext(null),mt=At;function Pn(Lt){return Array.isArray(Lt)?Lt:Lt!==void 0?[Lt]:[]}function un(Lt){var xn=Lt||{},na=xn.label,pa=xn.value,Be=xn.children,at=pa||"value";return{_title:na?[na]:["title","label"],value:at,key:at,children:Be||"children"}}function Zt(Lt){return!Lt||Lt.disabled||Lt.disableCheckbox||Lt.checkable===!1}function _t(Lt,xn){var na=[];function pa(Be){Be.forEach(function(at){var ct=at[xn.children];ct&&(na.push(at[xn.value]),pa(ct))})}return pa(Lt),na}function Te(Lt){return Lt==null}var ot={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Rt=function(xn,na){var pa=(0,Me.lk)(),Be=pa.prefixCls,at=pa.multiple,ct=pa.searchValue,bt=pa.toggleOpen,St=pa.open,vn=pa.notFoundContent,qt=le.useContext(mt),ze=qt.virtual,Xe=qt.listHeight,Qe=qt.listItemHeight,Tt=qt.treeData,gn=qt.fieldNames,En=qt.onSelect,ua=qt.dropdownMatchSelectWidth,Jn=qt.treeExpandAction,Mn=le.useContext(qe),ea=Mn.checkable,Un=Mn.checkedKeys,Wt=Mn.halfCheckedKeys,Na=Mn.treeExpandedKeys,nr=Mn.treeDefaultExpandAll,lo=Mn.treeDefaultExpandedKeys,Wa=Mn.onTreeExpand,Vt=Mn.treeIcon,zr=Mn.showTreeIcon,Aa=Mn.switcherIcon,dr=Mn.treeLine,rr=Mn.treeNodeFilterProp,Kr=Mn.loadData,xr=Mn.treeLoadedKeys,ar=Mn.treeMotion,cr=Mn.onTreeLoad,ma=Mn.keyEntities,nn=le.useRef(),or=(0,gt.Z)(function(){return Tt},[St,Tt],function(vr,Zr){return Zr[0]&&vr[1]!==Zr[1]}),Pr=le.useState(null),Dr=(0,Ue.Z)(Pr,2),Ka=Dr[0],wn=Dr[1],la=ma[Ka],Qn=le.useMemo(function(){return ea?{checked:Un,halfChecked:Wt}:null},[ea,Un,Wt]);le.useEffect(function(){if(St&&!at&&Un.length){var vr;(vr=nn.current)===null||vr===void 0||vr.scrollTo({key:Un[0]}),wn(Un[0])}},[St]);var zn=String(ct).toLowerCase(),er=function(Zr){return zn?String(Zr[rr]).toLowerCase().includes(zn):!1},yr=le.useState(lo),hr=(0,Ue.Z)(yr,2),fr=hr[0],Ga=hr[1],po=le.useState(null),Po=(0,Ue.Z)(po,2),Ci=Po[0],Fr=Po[1],br=le.useMemo(function(){return Na?(0,Ae.Z)(Na):ct?Ci:fr},[fr,Ci,Na,ct]);le.useEffect(function(){ct&&Fr(_t(Tt,gn))},[ct]);var co=function(Zr){Ga(Zr),Fr(Zr),Wa&&Wa(Zr)},Jr=function(Zr){Zr.preventDefault()},mo=function(Zr,Ho){var ho=Ho.node;ea&&Zt(ho)||(En(ho.key,{selected:!Un.includes(ho.key)}),at||bt(!1))};if(le.useImperativeHandle(na,function(){var vr;return{scrollTo:(vr=nn.current)===null||vr===void 0?void 0:vr.scrollTo,onKeyDown:function(Ho){var ho,Qa=Ho.which;switch(Qa){case xe.Z.UP:case xe.Z.DOWN:case xe.Z.LEFT:case xe.Z.RIGHT:(ho=nn.current)===null||ho===void 0||ho.onKeyDown(Ho);break;case xe.Z.ENTER:{if(la){var Vo=(la==null?void 0:la.node)||{},Yo=Vo.selectable,ii=Vo.value;Yo!==!1&&mo(null,{node:{key:Ka},selected:!Un.includes(ii)})}break}case xe.Z.ESC:bt(!1)}},onKeyUp:function(){}}}),or.length===0)return le.createElement("div",{role:"listbox",className:"".concat(Be,"-empty"),onMouseDown:Jr},vn);var Vr={fieldNames:gn};return xr&&(Vr.loadedKeys=xr),br&&(Vr.expandedKeys=br),le.createElement("div",{onMouseDown:Jr},la&&St&&le.createElement("span",{style:ot,"aria-live":"assertive"},la.node.value),le.createElement(lt.Z,(0,we.Z)({ref:nn,focusable:!1,prefixCls:"".concat(Be,"-tree"),treeData:or,height:Xe,itemHeight:Qe,virtual:ze!==!1&&ua!==!1,multiple:at,icon:Vt,showIcon:zr,switcherIcon:Aa,showLine:dr,loadData:ct?null:Kr,motion:ar,activeKey:Ka,checkable:ea,checkStrictly:!0,checkedKeys:Qn,selectedKeys:ea?[]:Un,defaultExpandAll:nr},Vr,{onActiveChange:wn,onSelect:mo,onCheck:mo,onExpand:co,onLoad:cr,filterTreeNode:er,expandAction:Jn})))},hn=le.forwardRef(Rt);hn.displayName="OptionList";var Ft=hn,sn="SHOW_ALL",Ce="SHOW_PARENT",it="SHOW_CHILD";function Qt(Lt,xn,na,pa){var Be=new Set(Lt);return xn===it?Lt.filter(function(at){var ct=na[at];return!(ct&&ct.children&&ct.children.some(function(bt){var St=bt.node;return Be.has(St[pa.value])})&&ct.children.every(function(bt){var St=bt.node;return Zt(St)||Be.has(St[pa.value])}))}):xn===Ce?Lt.filter(function(at){var ct=na[at],bt=ct?ct.parent:null;return!(bt&&!Zt(bt.node)&&Be.has(bt.key))}):Lt}function nt(Lt){var xn=Lt.searchPlaceholder,na=Lt.treeCheckStrictly,pa=Lt.treeCheckable,Be=Lt.labelInValue,at=Lt.value,ct=Lt.multiple;warning(!xn,"`searchPlaceholder` has been removed."),na&&Be===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Be||na)&&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."),na||ct||pa?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 ht=null,Tn=["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 kt(Lt){return!Lt||(0,tt.Z)(Lt)!=="object"}var yt=le.forwardRef(function(Lt,xn){var na=Lt.id,pa=Lt.prefixCls,Be=pa===void 0?"rc-tree-select":pa,at=Lt.value,ct=Lt.defaultValue,bt=Lt.onChange,St=Lt.onSelect,vn=Lt.onDeselect,qt=Lt.searchValue,ze=Lt.inputValue,Xe=Lt.onSearch,Qe=Lt.autoClearSearchValue,Tt=Qe===void 0?!0:Qe,gn=Lt.filterTreeNode,En=Lt.treeNodeFilterProp,ua=En===void 0?"value":En,Jn=Lt.showCheckedStrategy,Mn=Lt.treeNodeLabelProp,ea=Lt.multiple,Un=Lt.treeCheckable,Wt=Lt.treeCheckStrictly,Na=Lt.labelInValue,nr=Lt.fieldNames,lo=Lt.treeDataSimpleMode,Wa=Lt.treeData,Vt=Lt.children,zr=Lt.loadData,Aa=Lt.treeLoadedKeys,dr=Lt.onTreeLoad,rr=Lt.treeDefaultExpandAll,Kr=Lt.treeExpandedKeys,xr=Lt.treeDefaultExpandedKeys,ar=Lt.onTreeExpand,cr=Lt.treeExpandAction,ma=Lt.virtual,nn=Lt.listHeight,or=nn===void 0?200:nn,Pr=Lt.listItemHeight,Dr=Pr===void 0?20:Pr,Ka=Lt.onDropdownVisibleChange,wn=Lt.dropdownMatchSelectWidth,la=wn===void 0?!0:wn,Qn=Lt.treeLine,zn=Lt.treeIcon,er=Lt.showTreeIcon,yr=Lt.switcherIcon,hr=Lt.treeMotion,fr=(0,De.Z)(Lt,Tn),Ga=(0,Le.ZP)(na),po=Un&&!Wt,Po=Un||Wt,Ci=Wt||Na,Fr=Po||ea,br=(0,Ge.Z)(ct,{value:at}),co=(0,Ue.Z)(br,2),Jr=co[0],mo=co[1],Vr=le.useMemo(function(){return Un?Jn||it:sn},[Jn,Un]),vr=le.useMemo(function(){return un(nr)},[JSON.stringify(nr)]),Zr=(0,Ge.Z)("",{value:qt!==void 0?qt:ze,postState:function(Ha){return Ha||""}}),Ho=(0,Ue.Z)(Zr,2),ho=Ho[0],Qa=Ho[1],Vo=function(Ha){Qa(Ha),Xe==null||Xe(Ha)},Yo=Ye(Wa,Vt,lo),ii=y(Yo,vr),Ir=ii.keyEntities,ni=ii.valueEntities,Se=le.useCallback(function(ao){var Ha=[],Co=[];return ao.forEach(function(Or){ni.has(Or)?Co.push(Or):Ha.push(Or)}),{missingRawValues:Ha,existRawValues:Co}},[ni]),xt=Ne(Yo,ho,{fieldNames:vr,treeNodeFilterProp:ua,filterTreeNode:gn}),Kt=le.useCallback(function(ao){if(ao){if(Mn)return ao[Mn];for(var Ha=vr._title,Co=0;Co<Ha.length;Co+=1){var Or=ao[Ha[Co]];if(Or!==void 0)return Or}}},[vr,Mn]),bn=le.useCallback(function(ao){var Ha=Pn(ao);return Ha.map(function(Co){return kt(Co)?{value:Co}:Co})},[]),Ct=le.useCallback(function(ao){var Ha=bn(ao);return Ha.map(function(Co){var Or=Co.label,Mi=Co.value,gi=Co.halfChecked,ko,Ko=ni.get(Mi);if(Ko){var ui;Or=(ui=Or)!==null&&ui!==void 0?ui:Kt(Ko.node),ko=Ko.node.disabled}else if(Or===void 0){var mi=bn(Jr).find(function(bl){return bl.value===Mi});Or=mi.label}return{label:Or,value:Mi,halfChecked:gi,disabled:ko}})},[ni,Kt,bn,Jr]),Vn=le.useMemo(function(){return bn(Jr)},[bn,Jr]),Xn=le.useMemo(function(){var ao=[],Ha=[];return Vn.forEach(function(Co){Co.halfChecked?Ha.push(Co):ao.push(Co)}),[ao,Ha]},[Vn]),Sn=(0,Ue.Z)(Xn,2),Ln=Sn[0],Za=Sn[1],Gn=le.useMemo(function(){return Ln.map(function(ao){return ao.value})},[Ln]),tn=a(Ln,Za,po,Ir),Yt=(0,Ue.Z)(tn,2),Bn=Yt[0],Ba=Yt[1],pr=le.useMemo(function(){var ao=Qt(Bn,Vr,Ir,vr),Ha=ao.map(function(gi){var ko,Ko,ui;return(ko=(Ko=Ir[gi])===null||Ko===void 0||(ui=Ko.node)===null||ui===void 0?void 0:ui[vr.value])!==null&&ko!==void 0?ko:gi}),Co=Ha.map(function(gi){var ko=Ln.find(function(Ko){return Ko.value===gi});return{value:gi,label:ko==null?void 0:ko.label}}),Or=Ct(Co),Mi=Or[0];return!Fr&&Mi&&Te(Mi.value)&&Te(Mi.label)?[]:Or.map(function(gi){var ko;return(0,_e.Z)((0,_e.Z)({},gi),{},{label:(ko=gi.label)!==null&&ko!==void 0?ko:gi.value})})},[vr,Fr,Bn,Ln,Ct,Vr,Ir]),eo=E(pr),fo=(0,Ue.Z)(eo,1),qo=fo[0],Bo=dt(function(ao,Ha,Co){var Or=Ct(ao);if(mo(Or),Tt&&Qa(""),bt){var Mi=ao;if(po){var gi=Qt(ao,Vr,Ir,vr);Mi=gi.map(function(gl){var Rl=ni.get(gl);return Rl?Rl.node[vr.value]:gl})}var ko=Ha||{triggerValue:void 0,selected:void 0},Ko=ko.triggerValue,ui=ko.selected,mi=Mi;if(Wt){var bl=Za.filter(function(gl){return!Mi.includes(gl.value)});mi=[].concat((0,Ae.Z)(mi),(0,Ae.Z)(bl))}var nl=Ct(mi),al={preValue:Ln,triggerValue:Ko},rl=!0;(Wt||Co==="selection"&&!ui)&&(rl=!1),He(al,Ko,ao,Yo,rl,vr),Po?al.checked=ui:al.selected=ui;var ou=Ci?nl:nl.map(function(gl){return gl.value});bt(Fr?ou:ou[0],Ci?null:nl.map(function(gl){return gl.label}),al)}}),Oi=le.useCallback(function(ao,Ha){var Co,Or=Ha.selected,Mi=Ha.source,gi=Ir[ao],ko=gi==null?void 0:gi.node,Ko=(Co=ko==null?void 0:ko[vr.value])!==null&&Co!==void 0?Co:ao;if(!Fr)Bo([Ko],{selected:!0,triggerValue:Ko},"option");else{var ui=Or?[].concat((0,Ae.Z)(Gn),[Ko]):Bn.filter(function(Rl){return Rl!==Ko});if(po){var mi=Se(ui),bl=mi.missingRawValues,nl=mi.existRawValues,al=nl.map(function(Rl){return ni.get(Rl).key}),rl;if(Or){var ou=(0,ke.S)(al,!0,Ir);rl=ou.checkedKeys}else{var gl=(0,ke.S)(al,{checked:!1,halfCheckedKeys:Ba},Ir);rl=gl.checkedKeys}ui=[].concat((0,Ae.Z)(bl),(0,Ae.Z)(rl.map(function(Rl){return Ir[Rl].node[vr.value]})))}Bo(ui,{selected:Or,triggerValue:Ko},Mi||"option")}Or||!Fr?St==null||St(Ko,be(ko)):vn==null||vn(Ko,be(ko))},[Se,ni,Ir,vr,Fr,Gn,Bo,po,St,vn,Bn,Ba]),si=le.useCallback(function(ao){if(Ka){var Ha={};Object.defineProperty(Ha,"documentClickClose",{get:function(){return(0,Ke.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Ka(ao,Ha)}},[Ka]),tl=dt(function(ao,Ha){var Co=ao.map(function(Or){return Or.value});if(Ha.type==="clear"){Bo(Co,{},"selection");return}Ha.values.length&&Oi(Ha.values[0].value,{selected:!1,source:"selection"})}),li=le.useMemo(function(){return{virtual:ma,dropdownMatchSelectWidth:la,listHeight:or,listItemHeight:Dr,treeData:xt,fieldNames:vr,onSelect:Oi,treeExpandAction:cr}},[ma,la,or,Dr,xt,vr,Oi,cr]),Ml=le.useMemo(function(){return{checkable:Po,loadData:zr,treeLoadedKeys:Aa,onTreeLoad:dr,checkedKeys:Bn,halfCheckedKeys:Ba,treeDefaultExpandAll:rr,treeExpandedKeys:Kr,treeDefaultExpandedKeys:xr,onTreeExpand:ar,treeIcon:zn,treeMotion:hr,showTreeIcon:er,switcherIcon:yr,treeLine:Qn,treeNodeFilterProp:ua,keyEntities:Ir}},[Po,zr,Aa,dr,Bn,Ba,rr,Kr,xr,ar,zn,hr,er,yr,Qn,ua,Ir]);return le.createElement(mt.Provider,{value:li},le.createElement(qe.Provider,{value:Ml},le.createElement(Me.Ac,(0,we.Z)({ref:xn},fr,{id:Ga,prefixCls:Be,mode:Fr?"multiple":void 0,displayValues:qo,onDisplayValuesChange:tl,searchValue:ho,onSearch:Vo,OptionList:Ft,emptyOptions:!Yo.length,onDropdownVisibleChange:si,dropdownMatchSelectWidth:la}))))}),Pt=yt;Pt.TreeNode=se,Pt.SHOW_ALL=sn,Pt.SHOW_PARENT=Ce,Pt.SHOW_CHILD=it;var Hn=Pt,Wn=Hn,an=re(2738),oa=re(53487),Ea=re(62892),qn=re(19080),On=re(36355),Sa=re(1684),Oa=re(93891),ka=re(19716),va=re(32441),Ua=re(14154),Ta=re(58582),ga=re(84443),Ra=re(66339),qa=re(33234),Zn=re(71997),yn=re(98447),Gt=re(37613),rn=re(83116),Ca=re(20648);const xa=Lt=>{const{componentCls:xn,treePrefixCls:na,colorBgElevated:pa}=Lt,Be=`.${na}`;return[{[`${xn}-dropdown`]:[{padding:`${Lt.paddingXS}px ${Lt.paddingXS/2}px`},(0,Ca.Yk)(na,(0,Gt.TS)(Lt,{colorBgContainer:pa})),{[Be]:{borderRadius:0,[`${Be}-list-holder-inner`]:{alignItems:"stretch",[`${Be}-treenode`]:{[`${Be}-node-content-wrapper`]:{flex:"auto"}}}}},(0,yn.C2)(`${na}-checkbox`,Lt),{"&-rtl":{direction:"rtl",[`${Be}-switcher${Be}-switcher_close`]:{[`${Be}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function _a(Lt,xn){return(0,rn.Z)("TreeSelect",na=>{const pa=(0,Gt.TS)(na,{treePrefixCls:xn});return[xa(pa)]},Ca.TM)(Lt)}var La=function(Lt,xn){var na={};for(var pa in Lt)Object.prototype.hasOwnProperty.call(Lt,pa)&&xn.indexOf(pa)<0&&(na[pa]=Lt[pa]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,pa=Object.getOwnPropertySymbols(Lt);Be<pa.length;Be++)xn.indexOf(pa[Be])<0&&Object.prototype.propertyIsEnumerable.call(Lt,pa[Be])&&(na[pa[Be]]=Lt[pa[Be]]);return na};const za=(Lt,xn)=>{var na,{prefixCls:pa,size:Be,disabled:at,bordered:ct=!0,className:bt,rootClassName:St,treeCheckable:vn,multiple:qt,listHeight:ze=256,listItemHeight:Xe=26,placement:Qe,notFoundContent:Tt,switcherIcon:gn,treeLine:En,getPopupContainer:ua,popupClassName:Jn,dropdownClassName:Mn,treeIcon:ea=!1,transitionName:Un,choiceTransitionName:Wt="",status:Na,treeExpandAction:nr,builtinPlacements:lo,dropdownMatchSelectWidth:Wa,popupMatchSelectWidth:Vt,allowClear:zr}=Lt,Aa=La(Lt,["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:dr,getPrefixCls:rr,renderEmpty:Kr,direction:xr,virtual:ar,popupMatchSelectWidth:cr,popupOverflow:ma}=le.useContext(On.E_),nn=rr(),or=rr("select",pa),Pr=rr("select-tree",pa),Dr=rr("tree-select",pa),{compactSize:Ka,compactItemClassnames:wn}=(0,qa.ri)(or,xr),[la,Qn]=(0,Ua.Z)(or),[zn]=_a(Dr,Pr),er=pe()(Jn||Mn,`${Dr}-dropdown`,{[`${Dr}-dropdown-rtl`]:xr==="rtl"},St,Qn),yr=!!(vn||qt),hr=(0,ga.Z)(Aa.suffixIcon,Aa.showArrow),fr=(na=Vt!=null?Vt:Wa)!==null&&na!==void 0?na:cr,{status:Ga,hasFeedback:po,isFormItemInput:Po,feedbackIcon:Ci}=le.useContext(va.aM),Fr=(0,qn.F)(Ga,Na),{suffixIcon:br,removeIcon:co,clearIcon:Jr}=(0,Ra.Z)(Object.assign(Object.assign({},Aa),{multiple:yr,showSuffixIcon:hr,hasFeedback:po,feedbackIcon:Ci,prefixCls:or,componentName:"TreeSelect"})),mo=zr===!0?{clearIcon:Jr}:zr;let Vr;Tt!==void 0?Vr=Tt:Vr=(Kr==null?void 0:Kr("Select"))||le.createElement(Oa.Z,{componentName:"Select"});const vr=(0,an.Z)(Aa,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),Zr=le.useMemo(()=>Qe!==void 0?Qe:xr==="rtl"?"bottomRight":"bottomLeft",[Qe,xr]),Ho=(0,Ta.Z)(lo,ma),ho=(0,ka.Z)(ni=>{var Se;return(Se=Be!=null?Be:Ka)!==null&&Se!==void 0?Se:ni}),Qa=le.useContext(Sa.Z),Vo=at!=null?at:Qa,Yo=pe()(!pa&&Dr,{[`${or}-lg`]:ho==="large",[`${or}-sm`]:ho==="small",[`${or}-rtl`]:xr==="rtl",[`${or}-borderless`]:!ct,[`${or}-in-form-item`]:Po},(0,qn.Z)(or,Fr,po),wn,bt,St,Qn),ii=ni=>le.createElement(Zn.Z,{prefixCls:Pr,switcherIcon:gn,treeNodeProps:ni,showLine:En}),Ir=le.createElement(Wn,Object.assign({virtual:ar,disabled:Vo},vr,{dropdownMatchSelectWidth:fr,builtinPlacements:Ho,ref:xn,prefixCls:or,className:Yo,listHeight:ze,listItemHeight:Xe,treeCheckable:vn&&le.createElement("span",{className:`${or}-tree-checkbox-inner`}),treeLine:!!En,suffixIcon:br,multiple:yr,placement:Zr,removeIcon:co,allowClear:mo,switcherIcon:ii,showTreeIcon:ea,notFoundContent:Vr,getPopupContainer:ua||dr,treeMotion:null,dropdownClassName:er,choiceTransitionName:(0,Ea.m)(nn,"",Wt),transitionName:(0,Ea.m)(nn,"slide-up",Un),treeExpandAction:nr}));return la(zn(Ir))},$a=le.forwardRef(za),ia=(0,oa.Z)($a);$a.TreeNode=se,$a.SHOW_ALL=sn,$a.SHOW_PARENT=Ce,$a.SHOW_CHILD=it,$a._InternalPanelDoNotUseOrYouWillBeFired=ia;var Rr=$a},24334:function(Et,Mt,re){var b,pe;(function(we,Ae){Et.exports=Ae(we)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof re.g!="undefined"?re.g:this,function(we){"use strict";we=we||{};var Ae=we.Base64,_e="2.6.4",Ue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",De=function(We){for(var qe={},xe=0,gt=We.length;xe<gt;xe++)qe[We.charAt(xe)]=xe;return qe}(Ue),tt=String.fromCharCode,Me=function(We){if(We.length<2){var qe=We.charCodeAt(0);return qe<128?We:qe<2048?tt(192|qe>>>6)+tt(128|qe&63):tt(224|qe>>>12&15)+tt(128|qe>>>6&63)+tt(128|qe&63)}else{var qe=65536+(We.charCodeAt(0)-55296)*1024+(We.charCodeAt(1)-56320);return tt(240|qe>>>18&7)+tt(128|qe>>>12&63)+tt(128|qe>>>6&63)+tt(128|qe&63)}},Le=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ke=function(We){return We.replace(Le,Me)},Ge=function(We){var qe=[0,2,1][We.length%3],xe=We.charCodeAt(0)<<16|(We.length>1?We.charCodeAt(1):0)<<8|(We.length>2?We.charCodeAt(2):0),gt=[Ue.charAt(xe>>>18),Ue.charAt(xe>>>12&63),qe>=2?"=":Ue.charAt(xe>>>6&63),qe>=1?"=":Ue.charAt(xe&63)];return gt.join("")},Ke=we.btoa&&typeof we.btoa=="function"?function(We){return we.btoa(We)}:function(We){if(We.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return We.replace(/[\s\S]{1,3}/g,Ge)},le=function(We){return Ke(ke(String(We)))},E=function(We){return We.replace(/[+\/]/g,function(qe){return qe=="+"?"-":"_"}).replace(/=/g,"")},a=function(We,qe){return qe?E(le(We)):le(We)},x=function(We){return a(We,!0)},y;we.Uint8Array&&(y=function(We,qe){for(var xe="",gt=0,lt=We.length;gt<lt;gt+=3){var At=We[gt],mt=We[gt+1],Pn=We[gt+2],un=At<<16|mt<<8|Pn;xe+=Ue.charAt(un>>>18)+Ue.charAt(un>>>12&63)+(typeof mt!="undefined"?Ue.charAt(un>>>6&63):"=")+(typeof Pn!="undefined"?Ue.charAt(un&63):"=")}return qe?E(xe):xe});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,te=function(We){switch(We.length){case 4:var qe=(7&We.charCodeAt(0))<<18|(63&We.charCodeAt(1))<<12|(63&We.charCodeAt(2))<<6|63&We.charCodeAt(3),xe=qe-65536;return tt((xe>>>10)+55296)+tt((xe&1023)+56320);case 3:return tt((15&We.charCodeAt(0))<<12|(63&We.charCodeAt(1))<<6|63&We.charCodeAt(2));default:return tt((31&We.charCodeAt(0))<<6|63&We.charCodeAt(1))}},ae=function(We){return We.replace(z,te)},se=function(We){var qe=We.length,xe=qe%4,gt=(qe>0?De[We.charAt(0)]<<18:0)|(qe>1?De[We.charAt(1)]<<12:0)|(qe>2?De[We.charAt(2)]<<6:0)|(qe>3?De[We.charAt(3)]:0),lt=[tt(gt>>>16),tt(gt>>>8&255),tt(gt&255)];return lt.length-=[0,0,2,1][xe],lt.join("")},ie=we.atob&&typeof we.atob=="function"?function(We){return we.atob(We)}:function(We){return We.replace(/\S{1,4}/g,se)},he=function(We){return ie(String(We).replace(/[^A-Za-z0-9\+\/]/g,""))},be=function(We){return ae(ie(We))},He=function(We){return String(We).replace(/[-_]/g,function(qe){return qe=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ne=function(We){return be(He(We))},dt;we.Uint8Array&&(dt=function(We){return Uint8Array.from(he(He(We)),function(qe){return qe.charCodeAt(0)})});var Re=function(){var We=we.Base64;return we.Base64=Ae,We};if(we.Base64={VERSION:_e,atob:he,btoa:Ke,fromBase64:Ne,toBase64:a,utob:ke,encode:a,encodeURI:x,btou:ae,decode:Ne,noConflict:Re,fromUint8Array:y,toUint8Array:dt},typeof Object.defineProperty=="function"){var Ye=function(We){return{value:We,enumerable:!1,writable:!0,configurable:!0}};we.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Ye(function(){return Ne(this)})),Object.defineProperty(String.prototype,"toBase64",Ye(function(We){return a(this,We)})),Object.defineProperty(String.prototype,"toBase64URI",Ye(function(){return a(this,!0)}))}}return we.Meteor&&(Base64=we.Base64),Et.exports?Et.exports.Base64=we.Base64:(b=[],pe=function(){return we.Base64}.apply(Mt,b),pe!==void 0&&(Et.exports=pe)),{Base64:we.Base64}})},19306:function(Et,Mt,re){"use strict";re.d(Mt,{Z5:function(){return Yl},_l:function(){return Hd},bK:function(){return ed}});var b=re(59301),pe=re(67489);function we(ee,ne){ee.prototype=Object.create(ne.prototype),ee.prototype.constructor=ee,(0,pe.Z)(ee,ne)}var Ae=re(32855),_e=re(59781),Ue=b.createContext(null),De=null;function tt(ee){ee()}var Me=tt,Le=function(ne){return Me=ne},ke=function(){return Me};function Ge(){var ee=ke(),ne=null,oe=null;return{clear:function(){ne=null,oe=null},notify:function(){ee(function(){for(var fe=ne;fe;)fe.callback(),fe=fe.next})},get:function(){for(var fe=[],ve=ne;ve;)fe.push(ve),ve=ve.next;return fe},subscribe:function(fe){var ve=!0,ye=oe={callback:fe,next:null,prev:oe};return ye.prev?ye.prev.next=ye:ne=ye,function(){!ve||ne===null||(ve=!1,ye.next?ye.next.prev=ye.prev:oe=ye.prev,ye.prev?ye.prev.next=ye.next:ne=ye.next)}}}}var Ke={notify:function(){},get:function(){return[]}};function le(ee,ne){var oe,de=Ke;function fe(je){return Ze(),de.subscribe(je)}function ve(){de.notify()}function ye(){Je.onStateChange&&Je.onStateChange()}function Fe(){return!!oe}function Ze(){oe||(oe=ne?ne.addNestedSub(ye):ee.subscribe(ye),de=Ge())}function et(){oe&&(oe(),oe=void 0,de.clear(),de=Ke)}var Je={addNestedSub:fe,notifyNestedSubs:ve,handleChangeWrapper:ye,isSubscribed:Fe,trySubscribe:Ze,tryUnsubscribe:et,getListeners:function(){return de}};return Je}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,oe=ee.context,de=ee.children,fe=(0,b.useMemo)(function(){var Fe=le(ne);return{store:ne,subscription:Fe}},[ne]),ve=(0,b.useMemo)(function(){return ne.getState()},[ne]);E(function(){var Fe=fe.subscription;return Fe.onStateChange=Fe.notifyNestedSubs,Fe.trySubscribe(),ve!==ne.getState()&&Fe.notifyNestedSubs(),function(){Fe.tryUnsubscribe(),Fe.onStateChange=null}},[fe,ve]);var ye=oe||Ue;return b.createElement(ye.Provider,{value:fe},de)}var x=a,y=re(12687),z=re(94266),te=re.n(z),ae=re(53410),se=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],ie=["reactReduxForwardedRef"],he=[],be=[null,null],He=function(ne){try{return JSON.stringify(ne)}catch(oe){return String(ne)}};function Ne(ee,ne){var oe=ee[1];return[ne.payload,oe+1]}function dt(ee,ne,oe){E(function(){return ee.apply(void 0,ne)},oe)}function Re(ee,ne,oe,de,fe,ve,ye){ee.current=de,ne.current=fe,oe.current=!1,ve.current&&(ve.current=null,ye())}function Ye(ee,ne,oe,de,fe,ve,ye,Fe,Ze,et){if(ee){var Je=!1,je=null,Ve=function(){if(!Je){var ta=ne.getState(),sa,fa;try{sa=de(ta,fe.current)}catch(Ma){fa=Ma,je=Ma}fa||(je=null),sa===ve.current?ye.current||Ze():(ve.current=sa,Fe.current=sa,ye.current=!0,et({type:"STORE_UPDATED",payload:{error:fa}}))}};oe.onStateChange=Ve,oe.trySubscribe(),Ve();var st=function(){if(Je=!0,oe.tryUnsubscribe(),oe.onStateChange=null,je)throw je};return st}}var We=function(){return[null,0]};function qe(ee,ne){ne===void 0&&(ne={});var oe=ne,de=oe.getDisplayName,fe=de===void 0?function(Hr){return"ConnectAdvanced("+Hr+")"}:de,ve=oe.methodName,ye=ve===void 0?"connectAdvanced":ve,Fe=oe.renderCountProp,Ze=Fe===void 0?void 0:Fe,et=oe.shouldHandleStateChanges,Je=et===void 0?!0:et,je=oe.storeKey,Ve=je===void 0?"store":je,st=oe.withRef,jt=st===void 0?!1:st,ta=oe.forwardRef,sa=ta===void 0?!1:ta,fa=oe.context,Ma=fa===void 0?Ue:fa,Va=(0,y.Z)(oe,se);if(0)var Xa;var $r=Ma;return function(bo){var Ni=bo.displayName||bo.name||"Component",Lo=fe(Ni),Ii=(0,Ae.Z)({},Va,{getDisplayName:fe,methodName:ye,renderCountProp:Ze,shouldHandleStateChanges:Je,storeKey:Ve,displayName:Lo,wrappedComponentName:Ni,WrappedComponent:bo}),cl=Va.pure;function Sl(El){return ee(El.dispatch,Ii)}var vu=cl?b.useMemo:function(El){return El()};function cu(El){var xu=(0,b.useMemo)(function(){var Fs=El.reactReduxForwardedRef,zs=(0,y.Z)(El,ie);return[El.context,Fs,zs]},[El]),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:$r},[hu,$r]),Su=(0,b.useContext)(Du),Hu=!!El.store&&!!El.store.getState&&!!El.store.dispatch,xs=!!Su&&!!Su.store,Eu=Hu?El.store:Su.store,ys=(0,b.useMemo)(function(){return Sl(Eu)},[Eu]),Ds=(0,b.useMemo)(function(){if(!Je)return be;var Fs=le(Eu,Hu?null:Su.subscription),zs=Fs.notifyNestedSubs.bind(Fs);return[Fs,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,he,We),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]);dt(Re,[Gs,nd,ad,ju,js,Is,ws]),dt(Ye,[Je,Eu,ns,ys,Gs,nd,ad,Is,ws,Kd],[Eu,ns,ys]);var Hs=(0,b.useMemo)(function(){return b.createElement(bo,(0,Ae.Z)({},js,{ref:Ps}))},[Ps,bo,js]),Jd=(0,b.useMemo)(function(){return Je?b.createElement(Du.Provider,{value:Ls},Hs):Hs},[Du,Hs,Ls]);return Jd}var Kl=cl?b.memo(cu):cu;if(Kl.WrappedComponent=bo,Kl.displayName=cu.displayName=Lo,sa){var pu=b.forwardRef(function(xu,hu){return b.createElement(Kl,(0,Ae.Z)({},xu,{reactReduxForwardedRef:hu}))});return pu.displayName=Lo,pu.WrappedComponent=bo,te()(pu,bo)}return te()(Kl,bo)}}function xe(ee,ne){return ee===ne?ee!==0||ne!==0||1/ee===1/ne:ee!==ee&&ne!==ne}function gt(ee,ne){if(xe(ee,ne))return!0;if(typeof ee!="object"||ee===null||typeof ne!="object"||ne===null)return!1;var oe=Object.keys(ee),de=Object.keys(ne);if(oe.length!==de.length)return!1;for(var fe=0;fe<oe.length;fe++)if(!Object.prototype.hasOwnProperty.call(ne,oe[fe])||!xe(ee[oe[fe]],ne[oe[fe]]))return!1;return!0}function lt(ee,ne){var oe={},de=function(ye){var Fe=ee[ye];typeof Fe=="function"&&(oe[ye]=function(){return ne(Fe.apply(void 0,arguments))})};for(var fe in ee)de(fe);return oe}function At(ee){return function(oe,de){var fe=ee(oe,de);function ve(){return fe}return ve.dependsOnOwnProps=!1,ve}}function mt(ee){return ee.dependsOnOwnProps!==null&&ee.dependsOnOwnProps!==void 0?!!ee.dependsOnOwnProps:ee.length!==1}function Pn(ee,ne){return function(de,fe){var ve=fe.displayName,ye=function(Ze,et){return ye.dependsOnOwnProps?ye.mapToProps(Ze,et):ye.mapToProps(Ze)};return ye.dependsOnOwnProps=!0,ye.mapToProps=function(Ze,et){ye.mapToProps=ee,ye.dependsOnOwnProps=mt(ee);var Je=ye(Ze,et);return typeof Je=="function"&&(ye.mapToProps=Je,ye.dependsOnOwnProps=mt(Je),Je=ye(Ze,et)),Je},ye}}function un(ee){return typeof ee=="function"?Pn(ee,"mapDispatchToProps"):void 0}function Zt(ee){return ee?void 0:At(function(ne){return{dispatch:ne}})}function _t(ee){return ee&&typeof ee=="object"?At(function(ne){return lt(ee,ne)}):void 0}var Te=[un,Zt,_t];function ot(ee){return typeof ee=="function"?Pn(ee,"mapStateToProps"):void 0}function Rt(ee){return ee?void 0:At(function(){return{}})}var hn=[ot,Rt];function Ft(ee,ne,oe){return(0,Ae.Z)({},oe,ee,ne)}function sn(ee){return function(oe,de){var fe=de.displayName,ve=de.pure,ye=de.areMergedPropsEqual,Fe=!1,Ze;return function(Je,je,Ve){var st=ee(Je,je,Ve);return Fe?(!ve||!ye(st,Ze))&&(Ze=st):(Fe=!0,Ze=st),Ze}}}function Ce(ee){return typeof ee=="function"?sn(ee):void 0}function it(ee){return ee?void 0:function(){return Ft}}var Qt=[Ce,it],nt=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function ht(ee,ne,oe,de){return function(ve,ye){return oe(ee(ve,ye),ne(de,ye),ye)}}function Tn(ee,ne,oe,de,fe){var ve=fe.areStatesEqual,ye=fe.areOwnPropsEqual,Fe=fe.areStatePropsEqual,Ze=!1,et,Je,je,Ve,st;function jt(Va,Xa){return et=Va,Je=Xa,je=ee(et,Je),Ve=ne(de,Je),st=oe(je,Ve,Je),Ze=!0,st}function ta(){return je=ee(et,Je),ne.dependsOnOwnProps&&(Ve=ne(de,Je)),st=oe(je,Ve,Je),st}function sa(){return ee.dependsOnOwnProps&&(je=ee(et,Je)),ne.dependsOnOwnProps&&(Ve=ne(de,Je)),st=oe(je,Ve,Je),st}function fa(){var Va=ee(et,Je),Xa=!Fe(Va,je);return je=Va,Xa&&(st=oe(je,Ve,Je)),st}function Ma(Va,Xa){var $r=!ye(Xa,Je),Hr=!ve(Va,et,Xa,Je);return et=Va,Je=Xa,$r&&Hr?ta():$r?sa():Hr?fa():st}return function(Xa,$r){return Ze?Ma(Xa,$r):jt(Xa,$r)}}function kt(ee,ne){var oe=ne.initMapStateToProps,de=ne.initMapDispatchToProps,fe=ne.initMergeProps,ve=(0,y.Z)(ne,nt),ye=oe(ee,ve),Fe=de(ee,ve),Ze=fe(ee,ve),et=ve.pure?Tn:ht;return et(ye,Fe,Ze,ee,ve)}var yt=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function Pt(ee,ne,oe){for(var de=ne.length-1;de>=0;de--){var fe=ne[de](ee);if(fe)return fe}return function(ve,ye){throw new Error("Invalid value of type "+typeof ee+" for "+oe+" argument when connecting component "+ye.wrappedComponentName+".")}}function Hn(ee,ne){return ee===ne}function Wn(ee){var ne=ee===void 0?{}:ee,oe=ne.connectHOC,de=oe===void 0?qe:oe,fe=ne.mapStateToPropsFactories,ve=fe===void 0?hn:fe,ye=ne.mapDispatchToPropsFactories,Fe=ye===void 0?Te:ye,Ze=ne.mergePropsFactories,et=Ze===void 0?Qt:Ze,Je=ne.selectorFactory,je=Je===void 0?kt:Je;return function(st,jt,ta,sa){sa===void 0&&(sa={});var fa=sa,Ma=fa.pure,Va=Ma===void 0?!0:Ma,Xa=fa.areStatesEqual,$r=Xa===void 0?Hn:Xa,Hr=fa.areOwnPropsEqual,bo=Hr===void 0?gt:Hr,Ni=fa.areStatePropsEqual,Lo=Ni===void 0?gt:Ni,Ii=fa.areMergedPropsEqual,cl=Ii===void 0?gt:Ii,Sl=(0,y.Z)(fa,yt),vu=Pt(st,ve,"mapStateToProps"),cu=Pt(jt,Fe,"mapDispatchToProps"),Kl=Pt(ta,et,"mergeProps");return de(je,(0,Ae.Z)({methodName:"connect",getDisplayName:function(El){return"Connect("+El+")"},shouldHandleStateChanges:!!st,initMapStateToProps:vu,initMapDispatchToProps:cu,initMergeProps:Kl,pure:Va,areStatesEqual:$r,areOwnPropsEqual:bo,areStatePropsEqual:Lo,areMergedPropsEqual:cl},Sl))}}var an=Wn();function oa(){var ee=useContext(ReactReduxContext);return ee}function Ea(ee){ee===void 0&&(ee=ReactReduxContext);var ne=ee===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ee)};return function(){var de=ne(),fe=de.store;return fe}}var qn=null;function On(ee){ee===void 0&&(ee=ReactReduxContext);var ne=ee===ReactReduxContext?useDefaultStore:createStoreHook(ee);return function(){var de=ne();return de.dispatch}}var Sa=null,Oa=function(ne,oe){return ne===oe};function ka(ee,ne,oe,de){var fe=useReducer(function(jt){return jt+1},0),ve=fe[1],ye=useMemo(function(){return createSubscription(oe,de)},[oe,de]),Fe=useRef(),Ze=useRef(),et=useRef(),Je=useRef(),je=oe.getState(),Ve;try{if(ee!==Ze.current||je!==et.current||Fe.current){var st=ee(je);Je.current===void 0||!ne(st,Je.current)?Ve=st:Ve=Je.current}else Ve=Je.current}catch(jt){throw Fe.current&&(jt.message+=`
The error may be correlated with this previous error:
`+Fe.current.stack+`
`),jt}return useIsomorphicLayoutEffect(function(){Ze.current=ee,et.current=je,Je.current=Ve,Fe.current=void 0}),useIsomorphicLayoutEffect(function(){function jt(){try{var ta=oe.getState();if(ta===et.current)return;var sa=Ze.current(ta);if(ne(sa,Je.current))return;Je.current=sa,et.current=ta}catch(fa){Fe.current=fa}ve()}return ye.onStateChange=jt,ye.trySubscribe(),jt(),function(){return ye.tryUnsubscribe()}},[oe,ye]),Ve}function va(ee){ee===void 0&&(ee=ReactReduxContext);var ne=ee===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ee)};return function(de,fe){fe===void 0&&(fe=Oa);var ve=ne(),ye=ve.store,Fe=ve.subscription,Ze=ka(de,fe,ye,Fe);return useDebugValue(Ze),Ze}}var Ua=null,Ta=re(4676);Le(Ta.unstable_batchedUpdates);function ga(ee,ne){if(ee.length!==ne.length)return!1;for(var oe=0;oe<ee.length;oe++)if(ee[oe]!==ne[oe])return!1;return!0}function Ra(ee,ne){var oe=(0,b.useState)(function(){return{inputs:ne,result:ee()}})[0],de=(0,b.useRef)(!0),fe=(0,b.useRef)(oe),ve=de.current||!!(ne&&fe.current.inputs&&ga(ne,fe.current.inputs)),ye=ve?fe.current:{inputs:ne,result:ee()};return(0,b.useEffect)(function(){de.current=!1,fe.current=ye},[ye]),ye.result}function qa(ee,ne){return Ra(function(){return ee},ne)}var Zn=Ra,yn=qa,Gt=!0,rn="Invariant failed";function Ca(ee,ne){if(!ee){if(Gt)throw new Error(rn);var oe=typeof ne=="function"?ne():ne,de=oe?"".concat(rn,": ").concat(oe):rn;throw new Error(de)}}var xa=function(ne){var oe=ne.top,de=ne.right,fe=ne.bottom,ve=ne.left,ye=de-ve,Fe=fe-oe,Ze={top:oe,right:de,bottom:fe,left:ve,width:ye,height:Fe,x:ve,y:oe,center:{x:(de+ve)/2,y:(fe+oe)/2}};return Ze},_a=function(ne,oe){return{top:ne.top-oe.top,left:ne.left-oe.left,bottom:ne.bottom+oe.bottom,right:ne.right+oe.right}},La=function(ne,oe){return{top:ne.top+oe.top,left:ne.left+oe.left,bottom:ne.bottom-oe.bottom,right:ne.right-oe.right}},za=function(ne,oe){return{top:ne.top+oe.y,left:ne.left+oe.x,bottom:ne.bottom+oe.y,right:ne.right+oe.x}},sr={top:0,right:0,bottom:0,left:0},$a=function(ne){var oe=ne.borderBox,de=ne.margin,fe=de===void 0?sr:de,ve=ne.border,ye=ve===void 0?sr:ve,Fe=ne.padding,Ze=Fe===void 0?sr:Fe,et=xa(_a(oe,fe)),Je=xa(La(oe,ye)),je=xa(La(Je,Ze));return{marginBox:et,borderBox:xa(oe),paddingBox:Je,contentBox:je,margin:fe,border:ye,padding:Ze}},ia=function(ne){var oe=ne.slice(0,-2),de=ne.slice(-2);if(de!=="px")return 0;var fe=Number(oe);return isNaN(fe)&&Ca(!1),fe},Rr=function(){return{x:window.pageXOffset,y:window.pageYOffset}},Lt=function(ne,oe){var de=ne.borderBox,fe=ne.border,ve=ne.margin,ye=ne.padding,Fe=za(de,oe);return $a({borderBox:Fe,border:fe,margin:ve,padding:ye})},xn=function(ne,oe){return oe===void 0&&(oe=Rr()),Lt(ne,oe)},na=function(ne,oe){var de={top:ia(oe.marginTop),right:ia(oe.marginRight),bottom:ia(oe.marginBottom),left:ia(oe.marginLeft)},fe={top:ia(oe.paddingTop),right:ia(oe.paddingRight),bottom:ia(oe.paddingBottom),left:ia(oe.paddingLeft)},ve={top:ia(oe.borderTopWidth),right:ia(oe.borderRightWidth),bottom:ia(oe.borderBottomWidth),left:ia(oe.borderLeftWidth)};return $a({borderBox:ne,margin:de,padding:fe,border:ve})},pa=function(ne){var oe=ne.getBoundingClientRect(),de=window.getComputedStyle(ne);return na(oe,de)},Be=Number.isNaN||function(ne){return typeof ne=="number"&&ne!==ne};function at(ee,ne){return!!(ee===ne||Be(ee)&&Be(ne))}function ct(ee,ne){if(ee.length!==ne.length)return!1;for(var oe=0;oe<ee.length;oe++)if(!at(ee[oe],ne[oe]))return!1;return!0}function bt(ee,ne){ne===void 0&&(ne=ct);var oe,de=[],fe,ve=!1;function ye(){for(var Fe=[],Ze=0;Ze<arguments.length;Ze++)Fe[Ze]=arguments[Ze];return ve&&oe===this&&ne(Fe,de)||(fe=ee.apply(this,Fe),ve=!0,oe=this,de=Fe),fe}return ye}var St=bt,vn=function(ne){var oe=[],de=null,fe=function(){for(var ye=arguments.length,Fe=new Array(ye),Ze=0;Ze<ye;Ze++)Fe[Ze]=arguments[Ze];oe=Fe,!de&&(de=requestAnimationFrame(function(){de=null,ne.apply(void 0,oe)}))};return fe.cancel=function(){de&&(cancelAnimationFrame(de),de=null)},fe},qt=vn,ze=!0,Xe=/[ \t]{2,}/g,Qe=/^[ \t]*/gm,Tt=function(ne){return ne.replace(Xe," ").replace(Qe,"").trim()},gn=function(ne){return Tt(`
%creact-beautiful-dnd
%c`+Tt(ne)+`
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
`)},En=function(ne){return[gn(ne),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},ua="__react-beautiful-dnd-disable-dev-warnings";function Jn(ee,ne){var oe;ze||typeof window!="undefined"&&window[ua]||(oe=console)[ee].apply(oe,En(ne))}var Mn=Jn.bind(null,"warn"),ea=Jn.bind(null,"error");function Un(){}function Wt(ee,ne){return(0,Ae.Z)({},ee,{},ne)}function Na(ee,ne,oe){var de=ne.map(function(fe){var ve=Wt(oe,fe.options);return ee.addEventListener(fe.eventName,fe.fn,ve),function(){ee.removeEventListener(fe.eventName,fe.fn,ve)}});return function(){de.forEach(function(ve){ve()})}}var nr=!0,lo="Invariant failed";function Wa(ee){this.message=ee}Wa.prototype.toString=function(){return this.message};function Vt(ee,ne){if(!ee)throw nr?new Wa(lo):new Wa(lo+": "+(ne||""))}var zr=function(ee){we(ne,ee);function ne(){for(var de,fe=arguments.length,ve=new Array(fe),ye=0;ye<fe;ye++)ve[ye]=arguments[ye];return de=ee.call.apply(ee,[this].concat(ve))||this,de.callbacks=null,de.unbind=Un,de.onWindowError=function(Fe){var Ze=de.getCallbacks();Ze.isDragging()&&Ze.tryAbort();var et=Fe.error;et instanceof Wa&&Fe.preventDefault()},de.getCallbacks=function(){if(!de.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return de.callbacks},de.setCallbacks=function(Fe){de.callbacks=Fe},de}var oe=ne.prototype;return oe.componentDidMount=function(){this.unbind=Na(window,[{eventName:"error",fn:this.onWindowError}])},oe.componentWillUnmount=function(){this.unbind()},oe.componentDidCatch=function(fe){if(fe instanceof Wa){this.setState({});return}throw fe},oe.render=function(){return this.props.children(this.setCallbacks)},ne}(b.Component),Aa=`
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
`,dr=function(ne){return ne+1},rr=function(ne){return`
You have lifted an item in position `+dr(ne.source.index)+`
`},Kr=function(ne,oe){var de=ne.droppableId===oe.droppableId,fe=dr(ne.index),ve=dr(oe.index);return de?`
You have moved the item from position `+fe+`
to position `+ve+`
`:`
You have moved the item from position `+fe+`
in list `+ne.droppableId+`
to list `+oe.droppableId+`
in position `+ve+`
`},xr=function(ne,oe,de){var fe=oe.droppableId===de.droppableId;return fe?`
The item `+ne+`
has been combined with `+de.draggableId:`
The item `+ne+`
in list `+oe.droppableId+`
has been combined with `+de.draggableId+`
in list `+de.droppableId+`
`},ar=function(ne){var oe=ne.destination;if(oe)return Kr(ne.source,oe);var de=ne.combine;return de?xr(ne.draggableId,ne.source,de):"You are over an area that cannot be dropped on"},cr=function(ne){return`
The item has returned to its starting position
of `+dr(ne.index)+`
`},ma=function(ne){if(ne.reason==="CANCEL")return`
Movement cancelled.
`+cr(ne.source)+`
`;var oe=ne.destination,de=ne.combine;return oe?`
You have dropped the item.
`+Kr(ne.source,oe)+`
`:de?`
You have dropped the item.
`+xr(ne.draggableId,ne.source,de)+`
`:`
The item has been dropped while not over a drop area.
`+cr(ne.source)+`
`},nn={dragHandleUsageInstructions:Aa,onDragStart:rr,onDragUpdate:ar,onDragEnd:ma},or={x:0,y:0},Pr=function(ne,oe){return{x:ne.x+oe.x,y:ne.y+oe.y}},Dr=function(ne,oe){return{x:ne.x-oe.x,y:ne.y-oe.y}},Ka=function(ne,oe){return ne.x===oe.x&&ne.y===oe.y},wn=function(ne){return{x:ne.x!==0?-ne.x:0,y:ne.y!==0?-ne.y:0}},la=function(ne,oe,de){var fe;return de===void 0&&(de=0),fe={},fe[ne]=oe,fe[ne==="x"?"y":"x"]=de,fe},Qn=function(ne,oe){return Math.sqrt(Math.pow(oe.x-ne.x,2)+Math.pow(oe.y-ne.y,2))},zn=function(ne,oe){return Math.min.apply(Math,oe.map(function(de){return Qn(ne,de)}))},er=function(ne){return function(oe){return{x:ne(oe.x),y:ne(oe.y)}}},yr=function(ee,ne){var oe=xa({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 oe.width<=0||oe.height<=0?null:oe},hr=function(ne,oe){return{top:ne.top+oe.y,left:ne.left+oe.x,bottom:ne.bottom+oe.y,right:ne.right+oe.x}},fr=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}]},Ga={top:0,right:0,bottom:0,left:0},po=function(ne,oe){return oe?hr(ne,oe.scroll.diff.displacement):ne},Po=function(ne,oe,de){if(de&&de.increasedBy){var fe;return(0,Ae.Z)({},ne,(fe={},fe[oe.end]=ne[oe.end]+de.increasedBy[oe.line],fe))}return ne},Ci=function(ne,oe){return oe&&oe.shouldClipSubject?yr(oe.pageMarginBox,ne):xa(ne)},Fr=function(ee){var ne=ee.page,oe=ee.withPlaceholder,de=ee.axis,fe=ee.frame,ve=po(ne.marginBox,fe),ye=Po(ve,de,oe),Fe=Ci(ye,fe);return{page:ne,withPlaceholder:oe,active:Fe}},br=function(ee,ne){ee.frame||Vt(!1);var oe=ee.frame,de=Dr(ne,oe.scroll.initial),fe=wn(de),ve=(0,Ae.Z)({},oe,{scroll:{initial:oe.scroll.initial,current:ne,diff:{value:de,displacement:fe},max:oe.scroll.max}}),ye=Fr({page:ee.subject.page,withPlaceholder:ee.subject.withPlaceholder,axis:ee.axis,frame:ve}),Fe=(0,Ae.Z)({},ee,{frame:ve,subject:ye});return Fe};function co(ee){return Number.isInteger?Number.isInteger(ee):typeof ee=="number"&&isFinite(ee)&&Math.floor(ee)===ee}function Jr(ee){return Object.values?Object.values(ee):Object.keys(ee).map(function(ne){return ee[ne]})}function mo(ee,ne){if(ee.findIndex)return ee.findIndex(ne);for(var oe=0;oe<ee.length;oe++)if(ne(ee[oe]))return oe;return-1}function Vr(ee,ne){if(ee.find)return ee.find(ne);var oe=mo(ee,ne);if(oe!==-1)return ee[oe]}function vr(ee){return Array.prototype.slice.call(ee)}var Zr=St(function(ee){return ee.reduce(function(ne,oe){return ne[oe.descriptor.id]=oe,ne},{})}),Ho=St(function(ee){return ee.reduce(function(ne,oe){return ne[oe.descriptor.id]=oe,ne},{})}),ho=St(function(ee){return Jr(ee)}),Qa=St(function(ee){return Jr(ee)}),Vo=St(function(ee,ne){var oe=Qa(ne).filter(function(de){return ee===de.descriptor.droppableId}).sort(function(de,fe){return de.descriptor.index-fe.descriptor.index});return oe});function Yo(ee){return ee.at&&ee.at.type==="REORDER"?ee.at.destination:null}function ii(ee){return ee.at&&ee.at.type==="COMBINE"?ee.at.combine:null}var Ir=St(function(ee,ne){return ne.filter(function(oe){return oe.descriptor.id!==ee.descriptor.id})}),ni=function(ee){var ne=ee.isMovingForward,oe=ee.draggable,de=ee.destination,fe=ee.insideDestination,ve=ee.previousImpact;if(!de.isCombineEnabled)return null;var ye=Yo(ve);if(!ye)return null;function Fe(ta){var sa={type:"COMBINE",combine:{draggableId:ta,droppableId:de.descriptor.id}};return(0,Ae.Z)({},ve,{at:sa})}var Ze=ve.displaced.all,et=Ze.length?Ze[0]:null;if(ne)return et?Fe(et):null;var Je=Ir(oe,fe);if(!et){if(!Je.length)return null;var je=Je[Je.length-1];return Fe(je.descriptor.id)}var Ve=mo(Je,function(ta){return ta.descriptor.id===et});Ve===-1&&Vt(!1);var st=Ve-1;if(st<0)return null;var jt=Je[st];return Fe(jt.descriptor.id)},Se=function(ee,ne){return ee.descriptor.droppableId===ne.descriptor.id},xt={point:or,value:0},Kt={invisible:{},visible:{},all:[]},bn={displaced:Kt,displacedBy:xt,at:null},Ct=function(ee,ne){return function(oe){return ee<=oe&&oe<=ne}},Vn=function(ee){var ne=Ct(ee.top,ee.bottom),oe=Ct(ee.left,ee.right);return function(de){var fe=ne(de.top)&&ne(de.bottom)&&oe(de.left)&&oe(de.right);if(fe)return!0;var ve=ne(de.top)||ne(de.bottom),ye=oe(de.left)||oe(de.right),Fe=ve&&ye;if(Fe)return!0;var Ze=de.top<ee.top&&de.bottom>ee.bottom,et=de.left<ee.left&&de.right>ee.right,Je=Ze&&et;if(Je)return!0;var je=Ze&&ye||et&&ve;return je}},Xn=function(ee){var ne=Ct(ee.top,ee.bottom),oe=Ct(ee.left,ee.right);return function(de){var fe=ne(de.top)&&ne(de.bottom)&&oe(de.left)&&oe(de.right);return fe}},Sn={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Ln={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},Za=function(ee){return function(ne){var oe=Ct(ne.top,ne.bottom),de=Ct(ne.left,ne.right);return function(fe){return ee===Sn?oe(fe.top)&&oe(fe.bottom):de(fe.left)&&de(fe.right)}}},Gn=function(ne,oe){var de=oe.frame?oe.frame.scroll.diff.displacement:or;return hr(ne,de)},tn=function(ne,oe,de){return oe.subject.active?de(oe.subject.active)(ne):!1},Yt=function(ne,oe,de){return de(oe)(ne)},Bn=function(ne){var oe=ne.target,de=ne.destination,fe=ne.viewport,ve=ne.withDroppableDisplacement,ye=ne.isVisibleThroughFrameFn,Fe=ve?Gn(oe,de):oe;return tn(Fe,de,ye)&&Yt(Fe,fe,ye)},Ba=function(ne){return Bn((0,Ae.Z)({},ne,{isVisibleThroughFrameFn:Vn}))},pr=function(ne){return Bn((0,Ae.Z)({},ne,{isVisibleThroughFrameFn:Xn}))},eo=function(ne){return Bn((0,Ae.Z)({},ne,{isVisibleThroughFrameFn:Za(ne.destination.axis)}))},fo=function(ne,oe,de){if(typeof de=="boolean")return de;if(!oe)return!0;var fe=oe.invisible,ve=oe.visible;if(fe[ne])return!1;var ye=ve[ne];return ye?ye.shouldAnimate:!0};function qo(ee,ne){var oe=ee.page.marginBox,de={top:ne.point.y,right:0,bottom:0,left:ne.point.x};return xa(_a(oe,de))}function Bo(ee){var ne=ee.afterDragging,oe=ee.destination,de=ee.displacedBy,fe=ee.viewport,ve=ee.forceShouldAnimate,ye=ee.last;return ne.reduce(function(Ze,et){var Je=qo(et,de),je=et.descriptor.id;Ze.all.push(je);var Ve=Ba({target:Je,destination:oe,viewport:fe,withDroppableDisplacement:!0});if(!Ve)return Ze.invisible[et.descriptor.id]=!0,Ze;var st=fo(je,ye,ve),jt={draggableId:je,shouldAnimate:st};return Ze.visible[je]=jt,Ze},{all:[],visible:{},invisible:{}})}function Oi(ee,ne){if(!ee.length)return 0;var oe=ee[ee.length-1].descriptor.index;return ne.inHomeList?oe:oe+1}function si(ee){var ne=ee.insideDestination,oe=ee.inHomeList,de=ee.displacedBy,fe=ee.destination,ve=Oi(ne,{inHomeList:oe});return{displaced:Kt,displacedBy:de,at:{type:"REORDER",destination:{droppableId:fe.descriptor.id,index:ve}}}}function tl(ee){var ne=ee.draggable,oe=ee.insideDestination,de=ee.destination,fe=ee.viewport,ve=ee.displacedBy,ye=ee.last,Fe=ee.index,Ze=ee.forceShouldAnimate,et=Se(ne,de);if(Fe==null)return si({insideDestination:oe,inHomeList:et,displacedBy:ve,destination:de});var Je=Vr(oe,function(ta){return ta.descriptor.index===Fe});if(!Je)return si({insideDestination:oe,inHomeList:et,displacedBy:ve,destination:de});var je=Ir(ne,oe),Ve=oe.indexOf(Je),st=je.slice(Ve),jt=Bo({afterDragging:st,destination:de,displacedBy:ve,last:ye,viewport:fe.frame,forceShouldAnimate:Ze});return{displaced:jt,displacedBy:ve,at:{type:"REORDER",destination:{droppableId:de.descriptor.id,index:Fe}}}}function li(ee,ne){return!!ne.effected[ee]}var Ml=function(ee){var ne=ee.isMovingForward,oe=ee.destination,de=ee.draggables,fe=ee.combine,ve=ee.afterCritical;if(!oe.isCombineEnabled)return null;var ye=fe.draggableId,Fe=de[ye],Ze=Fe.descriptor.index,et=li(ye,ve);return et?ne?Ze:Ze-1:ne?Ze+1:Ze},ao=function(ee){var ne=ee.isMovingForward,oe=ee.isInHomeList,de=ee.insideDestination,fe=ee.location;if(!de.length)return null;var ve=fe.index,ye=ne?ve+1:ve-1,Fe=de[0].descriptor.index,Ze=de[de.length-1].descriptor.index,et=oe?Ze:Ze+1;return ye<Fe||ye>et?null:ye},Ha=function(ee){var ne=ee.isMovingForward,oe=ee.isInHomeList,de=ee.draggable,fe=ee.draggables,ve=ee.destination,ye=ee.insideDestination,Fe=ee.previousImpact,Ze=ee.viewport,et=ee.afterCritical,Je=Fe.at;if(Je||Vt(!1),Je.type==="REORDER"){var je=ao({isMovingForward:ne,isInHomeList:oe,location:Je.destination,insideDestination:ye});return je==null?null:tl({draggable:de,insideDestination:ye,destination:ve,viewport:Ze,last:Fe.displaced,displacedBy:Fe.displacedBy,index:je})}var Ve=Ml({isMovingForward:ne,destination:ve,displaced:Fe.displaced,draggables:fe,combine:Je.combine,afterCritical:et});return Ve==null?null:tl({draggable:de,insideDestination:ye,destination:ve,viewport:Ze,last:Fe.displaced,displacedBy:Fe.displacedBy,index:Ve})},Co=function(ee){var ne=ee.displaced,oe=ee.afterCritical,de=ee.combineWith,fe=ee.displacedBy,ve=!!(ne.visible[de]||ne.invisible[de]);return li(de,oe)?ve?or:wn(fe.point):ve?fe.point:or},Or=function(ee){var ne=ee.afterCritical,oe=ee.impact,de=ee.draggables,fe=ii(oe);fe||Vt(!1);var ve=fe.draggableId,ye=de[ve].page.borderBox.center,Fe=Co({displaced:oe.displaced,afterCritical:ne,combineWith:ve,displacedBy:oe.displacedBy});return Pr(ye,Fe)},Mi=function(ne,oe){return oe.margin[ne.start]+oe.borderBox[ne.size]/2},gi=function(ne,oe){return oe.margin[ne.end]+oe.borderBox[ne.size]/2},ko=function(ne,oe,de){return oe[ne.crossAxisStart]+de.margin[ne.crossAxisStart]+de.borderBox[ne.crossAxisSize]/2},Ko=function(ne){var oe=ne.axis,de=ne.moveRelativeTo,fe=ne.isMoving;return la(oe.line,de.marginBox[oe.end]+Mi(oe,fe),ko(oe,de.marginBox,fe))},ui=function(ne){var oe=ne.axis,de=ne.moveRelativeTo,fe=ne.isMoving;return la(oe.line,de.marginBox[oe.start]-gi(oe,fe),ko(oe,de.marginBox,fe))},mi=function(ne){var oe=ne.axis,de=ne.moveInto,fe=ne.isMoving;return la(oe.line,de.contentBox[oe.start]+Mi(oe,fe),ko(oe,de.contentBox,fe))},bl=function(ee){var ne=ee.impact,oe=ee.draggable,de=ee.draggables,fe=ee.droppable,ve=ee.afterCritical,ye=Vo(fe.descriptor.id,de),Fe=oe.page,Ze=fe.axis;if(!ye.length)return mi({axis:Ze,moveInto:fe.page,isMoving:Fe});var et=ne.displaced,Je=ne.displacedBy,je=et.all[0];if(je){var Ve=de[je];if(li(je,ve))return ui({axis:Ze,moveRelativeTo:Ve.page,isMoving:Fe});var st=Lt(Ve.page,Je.point);return ui({axis:Ze,moveRelativeTo:st,isMoving:Fe})}var jt=ye[ye.length-1];if(jt.descriptor.id===oe.descriptor.id)return Fe.borderBox.center;if(li(jt.descriptor.id,ve)){var ta=Lt(jt.page,wn(ve.displacedBy.point));return Ko({axis:Ze,moveRelativeTo:ta,isMoving:Fe})}return Ko({axis:Ze,moveRelativeTo:jt.page,isMoving:Fe})},nl=function(ee,ne){var oe=ee.frame;return oe?Pr(ne,oe.scroll.diff.displacement):ne},al=function(ne){var oe=ne.impact,de=ne.draggable,fe=ne.droppable,ve=ne.draggables,ye=ne.afterCritical,Fe=de.page.borderBox.center,Ze=oe.at;return!fe||!Ze?Fe:Ze.type==="REORDER"?bl({impact:oe,draggable:de,draggables:ve,droppable:fe,afterCritical:ye}):Or({impact:oe,draggables:ve,afterCritical:ye})},rl=function(ee){var ne=al(ee),oe=ee.droppable,de=oe?nl(oe,ne):ne;return de},ou=function(ee,ne){var oe=Dr(ne,ee.scroll.initial),de=wn(oe),fe=xa({top:ne.y,bottom:ne.y+ee.frame.height,left:ne.x,right:ne.x+ee.frame.width}),ve={frame:fe,scroll:{initial:ee.scroll.initial,max:ee.scroll.max,current:ne,diff:{value:oe,displacement:de}}};return ve};function gl(ee,ne){return ee.map(function(oe){return ne[oe]})}function Rl(ee,ne){for(var oe=0;oe<ne.length;oe++){var de=ne[oe].visible[ee];if(de)return de}return null}var as=function(ee){var ne=ee.impact,oe=ee.viewport,de=ee.destination,fe=ee.draggables,ve=ee.maxScrollChange,ye=ou(oe,Pr(oe.scroll.current,ve)),Fe=de.frame?br(de,Pr(de.frame.scroll.current,ve)):de,Ze=ne.displaced,et=Bo({afterDragging:gl(Ze.all,fe),destination:de,displacedBy:ne.displacedBy,viewport:ye.frame,last:Ze,forceShouldAnimate:!1}),Je=Bo({afterDragging:gl(Ze.all,fe),destination:Fe,displacedBy:ne.displacedBy,viewport:oe.frame,last:Ze,forceShouldAnimate:!1}),je={},Ve={},st=[Ze,et,Je];Ze.all.forEach(function(ta){var sa=Rl(ta,st);if(sa){Ve[ta]=sa;return}je[ta]=!0});var jt=(0,Ae.Z)({},ne,{displaced:{all:Ze.all,invisible:je,visible:Ve}});return jt},kr=function(ee,ne){return Pr(ee.scroll.diff.displacement,ne)},Cu=function(ee){var ne=ee.pageBorderBoxCenter,oe=ee.draggable,de=ee.viewport,fe=kr(de,ne),ve=Dr(fe,oe.page.borderBox.center);return Pr(oe.client.borderBox.center,ve)},wu=function(ee){var ne=ee.draggable,oe=ee.destination,de=ee.newPageBorderBoxCenter,fe=ee.viewport,ve=ee.withDroppableDisplacement,ye=ee.onlyOnMainAxis,Fe=ye===void 0?!1:ye,Ze=Dr(de,ne.page.borderBox.center),et=hr(ne.page.borderBox,Ze),Je={target:et,destination:oe,withDroppableDisplacement:ve,viewport:fe};return Fe?eo(Je):pr(Je)},rs=function(ee){var ne=ee.isMovingForward,oe=ee.draggable,de=ee.destination,fe=ee.draggables,ve=ee.previousImpact,ye=ee.viewport,Fe=ee.previousPageBorderBoxCenter,Ze=ee.previousClientSelection,et=ee.afterCritical;if(!de.isEnabled)return null;var Je=Vo(de.descriptor.id,fe),je=Se(oe,de),Ve=ni({isMovingForward:ne,draggable:oe,destination:de,insideDestination:Je,previousImpact:ve})||Ha({isMovingForward:ne,isInHomeList:je,draggable:oe,draggables:fe,destination:de,insideDestination:Je,previousImpact:ve,viewport:ye,afterCritical:et});if(!Ve)return null;var st=rl({impact:Ve,draggable:oe,droppable:de,draggables:fe,afterCritical:et}),jt=wu({draggable:oe,destination:de,newPageBorderBoxCenter:st,viewport:ye.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(jt){var ta=Cu({pageBorderBoxCenter:st,draggable:oe,viewport:ye});return{clientSelection:ta,impact:Ve,scrollJumpRequest:null}}var sa=Dr(st,Fe),fa=as({impact:Ve,viewport:ye,destination:de,draggables:fe,maxScrollChange:sa});return{clientSelection:Ze,impact:fa,scrollJumpRequest:sa}},Ri=function(ne){var oe=ne.subject.active;return oe||Vt(!1),oe},zu=function(ee){var ne=ee.isMovingForward,oe=ee.pageBorderBoxCenter,de=ee.source,fe=ee.droppables,ve=ee.viewport,ye=de.subject.active;if(!ye)return null;var Fe=de.axis,Ze=Ct(ye[Fe.start],ye[Fe.end]),et=ho(fe).filter(function(je){return je!==de}).filter(function(je){return je.isEnabled}).filter(function(je){return!!je.subject.active}).filter(function(je){return Vn(ve.frame)(Ri(je))}).filter(function(je){var Ve=Ri(je);return ne?ye[Fe.crossAxisEnd]<Ve[Fe.crossAxisEnd]:Ve[Fe.crossAxisStart]<ye[Fe.crossAxisStart]}).filter(function(je){var Ve=Ri(je),st=Ct(Ve[Fe.start],Ve[Fe.end]);return Ze(Ve[Fe.start])||Ze(Ve[Fe.end])||st(ye[Fe.start])||st(ye[Fe.end])}).sort(function(je,Ve){var st=Ri(je)[Fe.crossAxisStart],jt=Ri(Ve)[Fe.crossAxisStart];return ne?st-jt:jt-st}).filter(function(je,Ve,st){return Ri(je)[Fe.crossAxisStart]===Ri(st[0])[Fe.crossAxisStart]});if(!et.length)return null;if(et.length===1)return et[0];var Je=et.filter(function(je){var Ve=Ct(Ri(je)[Fe.start],Ri(je)[Fe.end]);return Ve(oe[Fe.line])});return Je.length===1?Je[0]:Je.length>1?Je.sort(function(je,Ve){return Ri(je)[Fe.start]-Ri(Ve)[Fe.start]})[0]:et.sort(function(je,Ve){var st=zn(oe,fr(Ri(je))),jt=zn(oe,fr(Ri(Ve)));return st!==jt?st-jt:Ri(je)[Fe.start]-Ri(Ve)[Fe.start]})[0]},Lu=function(ne,oe){var de=ne.page.borderBox.center;return li(ne.descriptor.id,oe)?Dr(de,oe.displacedBy.point):de},Pu=function(ne,oe){var de=ne.page.borderBox;return li(ne.descriptor.id,oe)?hr(de,wn(oe.displacedBy.point)):de},Nu=function(ee){var ne=ee.pageBorderBoxCenter,oe=ee.viewport,de=ee.destination,fe=ee.insideDestination,ve=ee.afterCritical,ye=fe.filter(function(Fe){return pr({target:Pu(Fe,ve),destination:de,viewport:oe.frame,withDroppableDisplacement:!0})}).sort(function(Fe,Ze){var et=Qn(ne,nl(de,Lu(Fe,ve))),Je=Qn(ne,nl(de,Lu(Ze,ve)));return et<Je?-1:Je<et?1:Fe.descriptor.index-Ze.descriptor.index});return ye[0]||null},iu=St(function(ne,oe){var de=oe[ne.line];return{value:de,point:la(ne.line,de)}}),Vu=function(ne,oe,de){var fe=ne.axis;if(ne.descriptor.mode==="virtual")return la(fe.line,oe[fe.line]);var ve=ne.subject.page.contentBox[fe.size],ye=Vo(ne.descriptor.id,de),Fe=ye.reduce(function(Je,je){return Je+je.client.marginBox[fe.size]},0),Ze=Fe+oe[fe.line],et=Ze-ve;return et<=0?null:la(fe.line,et)},Iu=function(ne,oe){return(0,Ae.Z)({},ne,{scroll:(0,Ae.Z)({},ne.scroll,{max:oe})})},Ou=function(ne,oe,de){var fe=ne.frame;Se(oe,ne)&&Vt(!1),ne.subject.withPlaceholder&&Vt(!1);var ve=iu(ne.axis,oe.displaceBy).point,ye=Vu(ne,ve,de),Fe={placeholderSize:ve,increasedBy:ye,oldFrameMaxScroll:ne.frame?ne.frame.scroll.max:null};if(!fe){var Ze=Fr({page:ne.subject.page,withPlaceholder:Fe,axis:ne.axis,frame:ne.frame});return(0,Ae.Z)({},ne,{subject:Ze})}var et=ye?Pr(fe.scroll.max,ye):fe.scroll.max,Je=Iu(fe,et),je=Fr({page:ne.subject.page,withPlaceholder:Fe,axis:ne.axis,frame:Je});return(0,Ae.Z)({},ne,{subject:je,frame:Je})},ki=function(ne){var oe=ne.subject.withPlaceholder;oe||Vt(!1);var de=ne.frame;if(!de){var fe=Fr({page:ne.subject.page,axis:ne.axis,frame:null,withPlaceholder:null});return(0,Ae.Z)({},ne,{subject:fe})}var ve=oe.oldFrameMaxScroll;ve||Vt(!1);var ye=Iu(de,ve),Fe=Fr({page:ne.subject.page,axis:ne.axis,frame:ye,withPlaceholder:null});return(0,Ae.Z)({},ne,{subject:Fe,frame:ye})},Wu=function(ee){var ne=ee.previousPageBorderBoxCenter,oe=ee.moveRelativeTo,de=ee.insideDestination,fe=ee.draggable,ve=ee.draggables,ye=ee.destination,Fe=ee.viewport,Ze=ee.afterCritical;if(!oe){if(de.length)return null;var et={displaced:Kt,displacedBy:xt,at:{type:"REORDER",destination:{droppableId:ye.descriptor.id,index:0}}},Je=rl({impact:et,draggable:fe,droppable:ye,draggables:ve,afterCritical:Ze}),je=Se(fe,ye)?ye:Ou(ye,fe,ve),Ve=wu({draggable:fe,destination:je,newPageBorderBoxCenter:Je,viewport:Fe.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return Ve?et:null}var st=ne[ye.axis.line]<=oe.page.borderBox.center[ye.axis.line],jt=function(){var sa=oe.descriptor.index;return oe.descriptor.id===fe.descriptor.id||st?sa:sa+1}(),ta=iu(ye.axis,fe.displaceBy);return tl({draggable:fe,insideDestination:de,destination:ye,viewport:Fe,displacedBy:ta,last:Kt,index:jt})},Bu=function(ee){var ne=ee.isMovingForward,oe=ee.previousPageBorderBoxCenter,de=ee.draggable,fe=ee.isOver,ve=ee.draggables,ye=ee.droppables,Fe=ee.viewport,Ze=ee.afterCritical,et=zu({isMovingForward:ne,pageBorderBoxCenter:oe,source:fe,droppables:ye,viewport:Fe});if(!et)return null;var Je=Vo(et.descriptor.id,ve),je=Nu({pageBorderBoxCenter:oe,viewport:Fe,destination:et,insideDestination:Je,afterCritical:Ze}),Ve=Wu({previousPageBorderBoxCenter:oe,destination:et,draggable:de,draggables:ve,moveRelativeTo:je,insideDestination:Je,viewport:Fe,afterCritical:Ze});if(!Ve)return null;var st=rl({impact:Ve,draggable:de,droppable:et,draggables:ve,afterCritical:Ze}),jt=Cu({pageBorderBoxCenter:st,draggable:de,viewport:Fe});return{clientSelection:jt,impact:Ve,scrollJumpRequest:null}},Bi=function(ee){var ne=ee.at;return ne?ne.type==="REORDER"?ne.destination.droppableId:ne.combine.droppableId:null},Au=function(ne,oe){var de=Bi(ne);return de?oe[de]:null},os=function(ee){var ne=ee.state,oe=ee.type,de=Au(ne.impact,ne.dimensions.droppables),fe=!!de,ve=ne.dimensions.droppables[ne.critical.droppable.id],ye=de||ve,Fe=ye.axis.direction,Ze=Fe==="vertical"&&(oe==="MOVE_UP"||oe==="MOVE_DOWN")||Fe==="horizontal"&&(oe==="MOVE_LEFT"||oe==="MOVE_RIGHT");if(Ze&&!fe)return null;var et=oe==="MOVE_DOWN"||oe==="MOVE_RIGHT",Je=ne.dimensions.draggables[ne.critical.draggable.id],je=ne.current.page.borderBoxCenter,Ve=ne.dimensions,st=Ve.draggables,jt=Ve.droppables;return Ze?rs({isMovingForward:et,previousPageBorderBoxCenter:je,draggable:Je,destination:ye,draggables:st,viewport:ne.viewport,previousClientSelection:ne.current.client.selection,previousImpact:ne.impact,afterCritical:ne.afterCritical}):Bu({isMovingForward:et,previousPageBorderBoxCenter:je,draggable:Je,isOver:ye,draggables:st,droppables:jt,viewport:ne.viewport,afterCritical:ne.afterCritical})};function lu(ee){return ee.phase==="DRAGGING"||ee.phase==="COLLECTING"}function Jl(ee){var ne=Ct(ee.top,ee.bottom),oe=Ct(ee.left,ee.right);return function(fe){return ne(fe.y)&&oe(fe.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,oe=ee.draggable,de=ee.candidates,fe=oe.page.borderBox.center,ve=de.map(function(ye){var Fe=ye.axis,Ze=la(ye.axis.line,ne.center[Fe.line],ye.page.borderBox.center[Fe.crossAxisLine]);return{id:ye.descriptor.id,distance:Qn(fe,Ze)}}).sort(function(ye,Fe){return Fe.distance-ye.distance});return ve[0]?ve[0].id:null}function is(ee){var ne=ee.pageBorderBox,oe=ee.draggable,de=ee.droppables,fe=ho(de).filter(function(ve){if(!ve.isEnabled)return!1;var ye=ve.subject.active;if(!ye||!Cl(ne,ye))return!1;if(Jl(ye)(ne.center))return!0;var Fe=ve.axis,Ze=ye.center[Fe.crossAxisLine],et=ne[Fe.crossAxisStart],Je=ne[Fe.crossAxisEnd],je=Ct(ye[Fe.crossAxisStart],ye[Fe.crossAxisEnd]),Ve=je(et),st=je(Je);return!Ve&&!st?!0:Ve?et<Ze:Je>Ze});return fe.length?fe.length===1?fe[0].descriptor.id:Bl({pageBorderBox:ne,draggable:oe,candidates:fe}):null}var Mu=function(ne,oe){return xa(hr(ne,oe))},ls=function(ee,ne){var oe=ee.frame;return oe?Mu(ne,oe.scroll.diff.value):ne};function Jo(ee){var ne=ee.displaced,oe=ee.id;return!!(ne.visible[oe]||ne.invisible[oe])}function us(ee){var ne=ee.draggable,oe=ee.closest,de=ee.inHomeList;return oe?de&&oe.descriptor.index>ne.descriptor.index?oe.descriptor.index-1:oe.descriptor.index:null}var ss=function(ee){var ne=ee.pageBorderBoxWithDroppableScroll,oe=ee.draggable,de=ee.destination,fe=ee.insideDestination,ve=ee.last,ye=ee.viewport,Fe=ee.afterCritical,Ze=de.axis,et=iu(de.axis,oe.displaceBy),Je=et.value,je=ne[Ze.start],Ve=ne[Ze.end],st=Ir(oe,fe),jt=Vr(st,function(sa){var fa=sa.descriptor.id,Ma=sa.page.borderBox.center[Ze.line],Va=li(fa,Fe),Xa=Jo({displaced:ve,id:fa});return Va?Xa?Ve<=Ma:je<Ma-Je:Xa?Ve<=Ma+Je:je<Ma}),ta=us({draggable:oe,closest:jt,inHomeList:Se(oe,de)});return tl({draggable:oe,insideDestination:fe,destination:de,viewport:ye,last:ve,displacedBy:et,index:ta})},ds=4,Uu=function(ee){var ne=ee.draggable,oe=ee.pageBorderBoxWithDroppableScroll,de=ee.previousImpact,fe=ee.destination,ve=ee.insideDestination,ye=ee.afterCritical;if(!fe.isCombineEnabled)return null;var Fe=fe.axis,Ze=iu(fe.axis,ne.displaceBy),et=Ze.value,Je=oe[Fe.start],je=oe[Fe.end],Ve=Ir(ne,ve),st=Vr(Ve,function(ta){var sa=ta.descriptor.id,fa=ta.page.borderBox,Ma=fa[Fe.size],Va=Ma/ds,Xa=li(sa,ye),$r=Jo({displaced:de.displaced,id:sa});return Xa?$r?je>fa[Fe.start]+Va&&je<fa[Fe.end]-Va:Je>fa[Fe.start]-et+Va&&Je<fa[Fe.end]-et-Va:$r?je>fa[Fe.start]+et+Va&&je<fa[Fe.end]+et-Va:Je>fa[Fe.start]+Va&&Je<fa[Fe.end]-Va});if(!st)return null;var jt={displacedBy:Ze,displaced:de.displaced,at:{type:"COMBINE",combine:{draggableId:st.descriptor.id,droppableId:fe.descriptor.id}}};return jt},Ru=function(ee){var ne=ee.pageOffset,oe=ee.draggable,de=ee.draggables,fe=ee.droppables,ve=ee.previousImpact,ye=ee.viewport,Fe=ee.afterCritical,Ze=Mu(oe.page.borderBox,ne),et=is({pageBorderBox:Ze,draggable:oe,droppables:fe});if(!et)return bn;var Je=fe[et],je=Vo(Je.descriptor.id,de),Ve=ls(Je,Ze);return Uu({pageBorderBoxWithDroppableScroll:Ve,draggable:oe,previousImpact:ve,destination:Je,insideDestination:je,afterCritical:Fe})||ss({pageBorderBoxWithDroppableScroll:Ve,draggable:oe,destination:Je,insideDestination:je,last:ve.displaced,viewport:ye,afterCritical:Fe})},ku=function(ee,ne){var oe;return(0,Ae.Z)({},ee,(oe={},oe[ne.descriptor.id]=ne,oe))},Qu=function(ne){var oe=ne.previousImpact,de=ne.impact,fe=ne.droppables,ve=Bi(oe),ye=Bi(de);if(!ve||ve===ye)return fe;var Fe=fe[ve];if(!Fe.subject.withPlaceholder)return fe;var Ze=ki(Fe);return ku(fe,Ze)},ol=function(ee){var ne=ee.draggable,oe=ee.draggables,de=ee.droppables,fe=ee.previousImpact,ve=ee.impact,ye=Qu({previousImpact:fe,impact:ve,droppables:de}),Fe=Bi(ve);if(!Fe)return ye;var Ze=de[Fe];if(Se(ne,Ze)||Ze.subject.withPlaceholder)return ye;var et=Ou(Ze,ne,oe);return ku(ye,et)},ml=function(ee){var ne=ee.state,oe=ee.clientSelection,de=ee.dimensions,fe=ee.viewport,ve=ee.impact,ye=ee.scrollJumpRequest,Fe=fe||ne.viewport,Ze=de||ne.dimensions,et=oe||ne.current.client.selection,Je=Dr(et,ne.initial.client.selection),je={offset:Je,selection:et,borderBoxCenter:Pr(ne.initial.client.borderBoxCenter,Je)},Ve={selection:Pr(je.selection,Fe.scroll.current),borderBoxCenter:Pr(je.borderBoxCenter,Fe.scroll.current),offset:Pr(je.offset,Fe.scroll.diff.value)},st={client:je,page:Ve};if(ne.phase==="COLLECTING")return(0,Ae.Z)({phase:"COLLECTING"},ne,{dimensions:Ze,viewport:Fe,current:st});var jt=Ze.draggables[ne.critical.draggable.id],ta=ve||Ru({pageOffset:Ve.offset,draggable:jt,draggables:Ze.draggables,droppables:Ze.droppables,previousImpact:ne.impact,viewport:Fe,afterCritical:ne.afterCritical}),sa=ol({draggable:jt,impact:ta,previousImpact:ne.impact,draggables:Ze.draggables,droppables:Ze.droppables}),fa=(0,Ae.Z)({},ne,{current:st,dimensions:{draggables:Ze.draggables,droppables:sa},impact:ta,viewport:Fe,scrollJumpRequest:ye||null,forceShouldAnimate:ye?!1:null});return fa};function yu(ee,ne){return ee.map(function(oe){return ne[oe]})}var Yu=function(ee){var ne=ee.impact,oe=ee.viewport,de=ee.draggables,fe=ee.destination,ve=ee.forceShouldAnimate,ye=ne.displaced,Fe=yu(ye.all,de),Ze=Bo({afterDragging:Fe,destination:fe,displacedBy:ne.displacedBy,viewport:oe.frame,forceShouldAnimate:ve,last:ye});return(0,Ae.Z)({},ne,{displaced:Ze})},Ku=function(ee){var ne=ee.impact,oe=ee.draggable,de=ee.droppable,fe=ee.draggables,ve=ee.viewport,ye=ee.afterCritical,Fe=rl({impact:ne,draggable:oe,draggables:fe,droppable:de,afterCritical:ye});return Cu({pageBorderBoxCenter:Fe,draggable:oe,viewport:ve})},ya=function(ee){var ne=ee.state,oe=ee.dimensions,de=ee.viewport;ne.movementMode!=="SNAP"&&Vt(!1);var fe=ne.impact,ve=de||ne.viewport,ye=oe||ne.dimensions,Fe=ye.draggables,Ze=ye.droppables,et=Fe[ne.critical.draggable.id],Je=Bi(fe);Je||Vt(!1);var je=Ze[Je],Ve=Yu({impact:fe,viewport:ve,destination:je,draggables:Fe}),st=Ku({impact:Ve,draggable:et,droppable:je,draggables:Fe,viewport:ve,afterCritical:ne.afterCritical});return ml({impact:Ve,clientSelection:st,state:ne,dimensions:ye,viewport:ve})},cs=function(ee){return{index:ee.index,droppableId:ee.droppableId}},_u=function(ee){var ne=ee.draggable,oe=ee.home,de=ee.draggables,fe=ee.viewport,ve=iu(oe.axis,ne.displaceBy),ye=Vo(oe.descriptor.id,de),Fe=ye.indexOf(ne);Fe===-1&&Vt(!1);var Ze=ye.slice(Fe+1),et=Ze.reduce(function(st,jt){return st[jt.descriptor.id]=!0,st},{}),Je={inVirtualList:oe.descriptor.mode==="virtual",displacedBy:ve,effected:et},je=Bo({afterDragging:Ze,destination:oe,displacedBy:ve,last:null,viewport:fe.frame,forceShouldAnimate:!1}),Ve={displaced:je,displacedBy:ve,at:{type:"REORDER",destination:cs(ne.descriptor)}};return{impact:Ve,afterCritical:Je}},Fu=function(ee,ne){return{draggables:ee.draggables,droppables:ku(ee.droppables,ne)}},Yn=function(ne){},Xl=function(ne){},gs=function(ee){var ne=ee.draggable,oe=ee.offset,de=ee.initialWindowScroll,fe=Lt(ne.client,oe),ve=xn(fe,de),ye=(0,Ae.Z)({},ne,{placeholder:(0,Ae.Z)({},ne.placeholder,{client:fe}),client:fe,page:ve});return ye},Os=function(ee){var ne=ee.frame;return ne||Vt(!1),ne},ms=function(ee){var ne=ee.additions,oe=ee.updatedDroppables,de=ee.viewport,fe=de.scroll.diff.value;return ne.map(function(ve){var ye=ve.descriptor.droppableId,Fe=oe[ye],Ze=Os(Fe),et=Ze.scroll.diff.value,Je=Pr(fe,et),je=gs({draggable:ve,offset:Je,initialWindowScroll:de.scroll.initial});return je})},Ju=function(ee){var ne=ee.state,oe=ee.published;Yn();var de=oe.modified.map(function(Va){var Xa=ne.dimensions.droppables[Va.droppableId],$r=br(Xa,Va.scroll);return $r}),fe=(0,Ae.Z)({},ne.dimensions.droppables,{},Zr(de)),ve=Ho(ms({additions:oe.additions,updatedDroppables:fe,viewport:ne.viewport})),ye=(0,Ae.Z)({},ne.dimensions.draggables,{},ve);oe.removals.forEach(function(Va){delete ye[Va]});var Fe={droppables:fe,draggables:ye},Ze=Bi(ne.impact),et=Ze?Fe.droppables[Ze]:null,Je=Fe.draggables[ne.critical.draggable.id],je=Fe.droppables[ne.critical.droppable.id],Ve=_u({draggable:Je,home:je,draggables:ye,viewport:ne.viewport}),st=Ve.impact,jt=Ve.afterCritical,ta=et&&et.isCombineEnabled?ne.impact:st,sa=Ru({pageOffset:ne.current.page.offset,draggable:Fe.draggables[ne.critical.draggable.id],draggables:Fe.draggables,droppables:Fe.droppables,previousImpact:ta,viewport:ne.viewport,afterCritical:jt});Xl();var fa=(0,Ae.Z)({phase:"DRAGGING"},ne,{phase:"DRAGGING",impact:sa,onLiftImpact:st,dimensions:Fe,afterCritical:jt,forceShouldAnimate:!1});if(ne.phase==="COLLECTING")return fa;var Ma=(0,Ae.Z)({phase:"DROP_PENDING"},fa,{phase:"DROP_PENDING",reason:ne.reason,isWaiting:!1});return Ma},ql=function(ne){return ne.movementMode==="SNAP"},fi=function(ne,oe,de){var fe=Fu(ne.dimensions,oe);return!ql(ne)||de?ml({state:ne,dimensions:fe}):ya({state:ne,dimensions:fe})};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"&&Vt(!1);var oe=ne.payload,de=oe.critical,fe=oe.clientSelection,ve=oe.viewport,ye=oe.dimensions,Fe=oe.movementMode,Ze=ye.draggables[de.draggable.id],et=ye.droppables[de.droppable.id],Je={selection:fe,borderBoxCenter:Ze.client.borderBox.center,offset:or},je={client:Je,page:{selection:Pr(Je.selection,ve.scroll.initial),borderBoxCenter:Pr(Je.selection,ve.scroll.initial),offset:Pr(Je.selection,ve.scroll.diff.value)}},Ve=ho(ye.droppables).every(function(Ls){return!Ls.isFixedOnPage}),st=_u({draggable:Ze,home:et,draggables:ye.draggables,viewport:ve}),jt=st.impact,ta=st.afterCritical,sa={phase:"DRAGGING",isDragging:!0,critical:de,movementMode:Fe,dimensions:ye,initial:je,current:je,isWindowScrollAllowed:Ve,impact:jt,afterCritical:ta,onLiftImpact:jt,viewport:ve,scrollJumpRequest:null,forceShouldAnimate:null};return sa}if(ne.type==="COLLECTION_STARTING"){if(ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING")return ee;ee.phase!=="DRAGGING"&&Vt(!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"||Vt(!1),Ju({state:ee,published:ne.payload});if(ne.type==="MOVE"){if(ee.phase==="DROP_PENDING")return ee;lu(ee)||Vt(!1);var Ma=ne.payload.client;return Ka(Ma,ee.current.client.selection)?ee:ml({state:ee,clientSelection:Ma,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)||Vt(!1);var Va=ne.payload,Xa=Va.id,$r=Va.newScroll,Hr=ee.dimensions.droppables[Xa];if(!Hr)return ee;var bo=br(Hr,$r);return fi(ee,bo,!1)}if(ne.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(ee.phase==="DROP_PENDING")return ee;lu(ee)||Vt(!1);var Ni=ne.payload,Lo=Ni.id,Ii=Ni.isEnabled,cl=ee.dimensions.droppables[Lo];cl||Vt(!1),cl.isEnabled===Ii&&Vt(!1);var Sl=(0,Ae.Z)({},cl,{isEnabled:Ii});return fi(ee,Sl,!0)}if(ne.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(ee.phase==="DROP_PENDING")return ee;lu(ee)||Vt(!1);var vu=ne.payload,cu=vu.id,Kl=vu.isCombineEnabled,pu=ee.dimensions.droppables[cu];pu||Vt(!1),pu.isCombineEnabled===Kl&&Vt(!1);var El=(0,Ae.Z)({},pu,{isCombineEnabled:Kl});return fi(ee,El,!0)}if(ne.type==="MOVE_BY_WINDOW_SCROLL"){if(ee.phase==="DROP_PENDING"||ee.phase==="DROP_ANIMATING")return ee;lu(ee)||Vt(!1),ee.isWindowScrollAllowed||Vt(!1);var xu=ne.payload.newScroll;if(Ka(ee.viewport.scroll.current,xu))return Tu(ee);var hu=ou(ee.viewport,xu);return ql(ee)?ya({state:ee,viewport:hu}):ml({state:ee,viewport:hu})}if(ne.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!lu(ee))return ee;var Ps=ne.payload.maxScroll;if(Ka(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"&&Vt(!1);var Du=os({state:ee,type:ne.type});return Du?ml({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"&&Vt(!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"||Vt(!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}},me=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}},ft=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}},jn=function(ne){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:ne}},on=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}},zt=function(ne){return{type:"DROP_ANIMATE",payload:ne}},Rn=function(ne){return{type:"DROP_COMPLETE",payload:ne}},ln=function(ne){return{type:"DROP",payload:ne}},da=function(ne){return{type:"DROP_PENDING",payload:ne}},Fa=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function Ia(ee){if(!(ee.length<=1)){for(var ne=ee.map(function(Fe){return Fe.descriptor.index}),oe={},de=1;de<ne.length;de++){var fe=ne[de],ve=ne[de-1];fe!==ve+1&&(oe[fe]=!0)}if(Object.keys(oe).length)var ye=ne.map(function(Fe){var Ze=!!oe[Fe];return Ze?"[\u{1F525}"+Fe+"]":""+Fe}).join(", ")}}function ba(ee,ne){if(0)var oe}var ca=function(ee){return function(ne){var oe=ne.getState,de=ne.dispatch;return function(fe){return function(ve){if(ve.type!=="LIFT"){fe(ve);return}var ye=ve.payload,Fe=ye.id,Ze=ye.clientSelection,et=ye.movementMode,Je=oe();Je.phase==="DROP_ANIMATING"&&de(Rn({completed:Je.completed})),oe().phase!=="IDLE"&&Vt(!1),de(Dt()),de(ce({draggableId:Fe,movementMode:et}));var je={shouldPublishImmediately:et==="SNAP"},Ve={draggableId:Fe,scrollOptions:je},st=ee.startPublishing(Ve),jt=st.critical,ta=st.dimensions,sa=st.viewport;ba(jt,ta),de(me({critical:jt,dimensions:ta,clientSelection:Ze,movementMode:et,viewport:sa}))}}}},_r=function(ee){return function(){return function(ne){return function(oe){oe.type==="INITIAL_PUBLISH"&&ee.dragging(),oe.type==="DROP_ANIMATE"&&ee.dropping(oe.payload.completed.result.reason),(oe.type==="FLUSH"||oe.type==="DROP_COMPLETE")&&ee.resting(),ne(oe)}}}},tr={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},wr={opacity:{drop:0,combining:.7},scale:{drop:.75}},Xr={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},oo=Xr.outOfTheWay+"s "+tr.outOfTheWay,kn={fluid:"opacity "+oo,snap:"transform "+oo+", opacity "+oo,drop:function(ne){var oe=ne+"s "+tr.drop;return"transform "+oe+", opacity "+oe},outOfTheWay:"transform "+oo,placeholder:"height "+oo+", width "+oo+", margin "+oo},Xo=function(ne){return Ka(ne,or)?null:"translate("+ne.x+"px, "+ne.y+"px)"},vo={moveTo:Xo,drop:function(ne,oe){var de=Xo(ne);return de?oe?de+" scale("+wr.scale.drop+")":de:null}},Wr=Xr.minDropTime,qr=Xr.maxDropTime,Ao=qr-Wr,No=1500,uo=.6,gr=function(ee){var ne=ee.current,oe=ee.destination,de=ee.reason,fe=Qn(ne,oe);if(fe<=0)return Wr;if(fe>=No)return qr;var ve=fe/No,ye=Wr+Ao*ve,Fe=de==="CANCEL"?ye*uo:ye;return Number(Fe.toFixed(2))},Zo=function(ee){var ne=ee.impact,oe=ee.draggable,de=ee.dimensions,fe=ee.viewport,ve=ee.afterCritical,ye=de.draggables,Fe=de.droppables,Ze=Bi(ne),et=Ze?Fe[Ze]:null,Je=Fe[oe.descriptor.droppableId],je=Ku({impact:ne,draggable:oe,draggables:ye,afterCritical:ve,droppable:et||Je,viewport:fe}),Ve=Dr(je,oe.client.borderBox.center);return Ve},_o=function(ee){var ne=ee.draggables,oe=ee.reason,de=ee.lastImpact,fe=ee.home,ve=ee.viewport,ye=ee.onLiftImpact;if(!de.at||oe!=="DROP"){var Fe=Yu({draggables:ne,impact:ye,destination:fe,viewport:ve,forceShouldAnimate:!0});return{impact:Fe,didDropInsideDroppable:!1}}if(de.at.type==="REORDER")return{impact:de,didDropInsideDroppable:!0};var Ze=(0,Ae.Z)({},de,{displaced:Kt});return{impact:Ze,didDropInsideDroppable:!0}},Ai=function(ee){var ne=ee.getState,oe=ee.dispatch;return function(de){return function(fe){if(fe.type!=="DROP"){de(fe);return}var ve=ne(),ye=fe.payload.reason;if(ve.phase==="COLLECTING"){oe(da({reason:ye}));return}if(ve.phase!=="IDLE"){var Fe=ve.phase==="DROP_PENDING"&&ve.isWaiting;Fe&&Vt(!1),ve.phase==="DRAGGING"||ve.phase==="DROP_PENDING"||Vt(!1);var Ze=ve.critical,et=ve.dimensions,Je=et.draggables[ve.critical.draggable.id],je=_o({reason:ye,lastImpact:ve.impact,afterCritical:ve.afterCritical,onLiftImpact:ve.onLiftImpact,home:ve.dimensions.droppables[ve.critical.droppable.id],viewport:ve.viewport,draggables:ve.dimensions.draggables}),Ve=je.impact,st=je.didDropInsideDroppable,jt=st?Yo(Ve):null,ta=st?ii(Ve):null,sa={index:Ze.draggable.index,droppableId:Ze.droppable.id},fa={draggableId:Je.descriptor.id,type:Je.descriptor.type,source:sa,reason:ye,mode:ve.movementMode,destination:jt,combine:ta},Ma=Zo({impact:Ve,draggable:Je,dimensions:et,viewport:ve.viewport,afterCritical:ve.afterCritical}),Va={critical:ve.critical,afterCritical:ve.afterCritical,result:fa,impact:Ve},Xa=!Ka(ve.current.client.offset,Ma)||!!fa.combine;if(!Xa){oe(Rn({completed:Va}));return}var $r=gr({current:ve.current.client.offset,destination:Ma,reason:ye}),Hr={newHomeClientOffset:Ma,dropDuration:$r,completed:Va};oe(zt(Hr))}}}},$o=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function xi(ee){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(oe){oe.target!==window&&oe.target!==window.document||ee()}}}function Ur(ee){var ne=ee.onWindowScroll;function oe(){ne($o())}var de=qt(oe),fe=xi(de),ve=Un;function ye(){return ve!==Un}function Fe(){ye()&&Vt(!1),ve=Na(window,[fe])}function Ze(){ye()||Vt(!1),de.cancel(),ve(),ve=Un}return{start:Fe,stop:Ze,isActive:ye}}var di=function(ne){return ne.type==="DROP_COMPLETE"||ne.type==="DROP_ANIMATE"||ne.type==="FLUSH"},yi=function(ee){var ne=Ur({onWindowScroll:function(de){ee.dispatch(It({newScroll:de}))}});return function(oe){return function(de){!ne.isActive()&&de.type==="INITIAL_PUBLISH"&&ne.start(),ne.isActive()&&di(de)&&ne.stop(),oe(de)}}},Gi=function(ee){var ne=!1,oe=!1,de=setTimeout(function(){oe=!0}),fe=function(ye){ne||oe||(ne=!0,ee(ye),clearTimeout(de))};return fe.wasCalled=function(){return ne},fe},hi=function(){var ee=[],ne=function(ve){var ye=mo(ee,function(et){return et.timerId===ve});ye===-1&&Vt(!1);var Fe=ee.splice(ye,1),Ze=Fe[0];Ze.callback()},oe=function(ve){var ye=setTimeout(function(){return ne(ye)}),Fe={timerId:ye,callback:ve};ee.push(Fe)},de=function(){if(ee.length){var ve=[].concat(ee);ee.length=0,ve.forEach(function(ye){clearTimeout(ye.timerId),ye.callback()})}};return{add:oe,flush:de}},qi=function(ne,oe){return ne==null&&oe==null?!0:ne==null||oe==null?!1:ne.droppableId===oe.droppableId&&ne.index===oe.index},fl=function(ne,oe){return ne==null&&oe==null?!0:ne==null||oe==null?!1:ne.draggableId===oe.draggableId&&ne.droppableId===oe.droppableId},Gr=function(ne,oe){if(ne===oe)return!0;var de=ne.draggable.id===oe.draggable.id&&ne.draggable.droppableId===oe.draggable.droppableId&&ne.draggable.type===oe.draggable.type&&ne.draggable.index===oe.draggable.index,fe=ne.droppable.id===oe.droppable.id&&ne.droppable.type===oe.droppable.type;return de&&fe},So=function(ne,oe){Yn(),oe(),Xl()},xo=function(ne,oe){return{draggableId:ne.draggable.id,type:ne.droppable.type,source:{droppableId:ne.droppable.id,index:ne.draggable.index},mode:oe}},Si=function(ne,oe,de,fe){if(!ne){de(fe(oe));return}var ve=Gi(de),ye={announce:ve};ne(oe,ye),ve.wasCalled()||de(fe(oe))},ji=function(ee,ne){var oe=hi(),de=null,fe=function(Ve,st){de&&Vt(!1),So("onBeforeCapture",function(){var jt=ee().onBeforeCapture;if(jt){var ta={draggableId:Ve,mode:st};jt(ta)}})},ve=function(Ve,st){de&&Vt(!1),So("onBeforeDragStart",function(){var jt=ee().onBeforeDragStart;jt&&jt(xo(Ve,st))})},ye=function(Ve,st){de&&Vt(!1);var jt=xo(Ve,st);de={mode:st,lastCritical:Ve,lastLocation:jt.source,lastCombine:null},oe.add(function(){So("onDragStart",function(){return Si(ee().onDragStart,jt,ne,nn.onDragStart)})})},Fe=function(Ve,st){var jt=Yo(st),ta=ii(st);de||Vt(!1);var sa=!Gr(Ve,de.lastCritical);sa&&(de.lastCritical=Ve);var fa=!qi(de.lastLocation,jt);fa&&(de.lastLocation=jt);var Ma=!fl(de.lastCombine,ta);if(Ma&&(de.lastCombine=ta),!(!sa&&!fa&&!Ma)){var Va=(0,Ae.Z)({},xo(Ve,de.mode),{combine:ta,destination:jt});oe.add(function(){So("onDragUpdate",function(){return Si(ee().onDragUpdate,Va,ne,nn.onDragUpdate)})})}},Ze=function(){de||Vt(!1),oe.flush()},et=function(Ve){de||Vt(!1),de=null,So("onDragEnd",function(){return Si(ee().onDragEnd,Ve,ne,nn.onDragEnd)})},Je=function(){if(de){var Ve=(0,Ae.Z)({},xo(de.lastCritical,de.mode),{combine:null,destination:null,reason:"CANCEL"});et(Ve)}};return{beforeCapture:fe,beforeStart:ve,start:ye,update:Fe,flush:Ze,drop:et,abort:Je}},ai=function(ee,ne){var oe=ji(ee,ne);return function(de){return function(fe){return function(ve){if(ve.type==="BEFORE_INITIAL_CAPTURE"){oe.beforeCapture(ve.payload.draggableId,ve.payload.movementMode);return}if(ve.type==="INITIAL_PUBLISH"){var ye=ve.payload.critical;oe.beforeStart(ye,ve.payload.movementMode),fe(ve),oe.start(ye,ve.payload.movementMode);return}if(ve.type==="DROP_COMPLETE"){var Fe=ve.payload.completed.result;oe.flush(),fe(ve),oe.drop(Fe);return}if(fe(ve),ve.type==="FLUSH"){oe.abort();return}var Ze=de.getState();Ze.phase==="DRAGGING"&&oe.update(Ze.critical,Ze.impact)}}}},Fi=function(ee){return function(ne){return function(oe){if(oe.type!=="DROP_ANIMATION_FINISHED"){ne(oe);return}var de=ee.getState();de.phase!=="DROP_ANIMATING"&&Vt(!1),ee.dispatch(Rn({completed:de.completed}))}}},Al=function(ee){var ne=null,oe=null;function de(){oe&&(cancelAnimationFrame(oe),oe=null),ne&&(ne(),ne=null)}return function(fe){return function(ve){if((ve.type==="FLUSH"||ve.type==="DROP_COMPLETE"||ve.type==="DROP_ANIMATION_FINISHED")&&de(),fe(ve),ve.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(Fa())}};oe=requestAnimationFrame(function(){oe=null,ne=Na(window,[ye])})}}}},Wi=function(ee){return function(){return function(ne){return function(oe){(oe.type==="DROP_COMPLETE"||oe.type==="FLUSH"||oe.type==="DROP_ANIMATE")&&ee.stopPublishing(),ne(oe)}}}},Ui=function(ee){var ne=!1;return function(){return function(oe){return function(de){if(de.type==="INITIAL_PUBLISH"){ne=!0,ee.tryRecordFocus(de.payload.critical.draggable.id),oe(de),ee.tryRestoreFocusRecorded();return}if(oe(de),!!ne){if(de.type==="FLUSH"){ne=!1,ee.tryRestoreFocusRecorded();return}if(de.type==="DROP_COMPLETE"){ne=!1;var fe=de.payload.completed.result;fe.combine&&ee.tryShiftRecord(fe.draggableId,fe.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(oe){return function(de){if($l(de)){ee.stop(),oe(de);return}if(de.type==="INITIAL_PUBLISH"){oe(de);var fe=ne.getState();fe.phase!=="DRAGGING"&&Vt(!1),ee.start(fe);return}oe(de),ee.scroll(ne.getState())}}}},An=function(ee){return function(ne){return function(oe){if(ne(oe),oe.type==="PUBLISH_WHILE_DRAGGING"){var de=ee.getState();de.phase==="DROP_PENDING"&&(de.isWaiting||ee.dispatch(ln({reason:de.reason})))}}}},Hi=_e.qC,Pl=function(ee){var ne=ee.dimensionMarshal,oe=ee.focusMarshal,de=ee.styleMarshal,fe=ee.getResponders,ve=ee.announce,ye=ee.autoScroller;return(0,_e.MT)(fs,Hi((0,_e.md)(_r(de),Wi(ne),ca(ne),Ai,Fi,Al,An,uu(ye),yi,Ui(oe),ai(fe,ve))))},Qi=function(){return{additions:{},removals:{},modified:{}}};function eu(ee){var ne=ee.registry,oe=ee.callbacks,de=Qi(),fe=null,ve=function(){fe||(oe.collectionStarting(),fe=requestAnimationFrame(function(){fe=null,Yn();var Je=de,je=Je.additions,Ve=Je.removals,st=Je.modified,jt=Object.keys(je).map(function(fa){return ne.draggable.getById(fa).getDimension(or)}).sort(function(fa,Ma){return fa.descriptor.index-Ma.descriptor.index}),ta=Object.keys(st).map(function(fa){var Ma=ne.droppable.getById(fa),Va=Ma.callbacks.getScrollWhileDragging();return{droppableId:fa,scroll:Va}}),sa={additions:jt,removals:Object.keys(Ve),modified:ta};de=Qi(),Xl(),oe.publish(sa)}))},ye=function(Je){var je=Je.descriptor.id;de.additions[je]=Je,de.modified[Je.descriptor.droppableId]=!0,de.removals[je]&&delete de.removals[je],ve()},Fe=function(Je){var je=Je.descriptor;de.removals[je.id]=!0,de.modified[je.droppableId]=!0,de.additions[je.id]&&delete de.additions[je.id],ve()},Ze=function(){fe&&(cancelAnimationFrame(fe),fe=null,de=Qi())};return{add:ye,remove:Fe,stop:Ze}}var kl=function(ee){var ne=ee.scrollHeight,oe=ee.scrollWidth,de=ee.height,fe=ee.width,ve=Dr({x:oe,y:ne},{x:fe,y:de}),ye={x:Math.max(0,ve.x),y:Math.max(0,ve.y)};return ye},il=function(){var ee=document.documentElement;return ee||Vt(!1),ee},ei=function(){var ee=il(),ne=kl({scrollHeight:ee.scrollHeight,scrollWidth:ee.scrollWidth,width:ee.clientWidth,height:ee.clientHeight});return ne},Wo=function(){var ee=$o(),ne=ei(),oe=ee.y,de=ee.x,fe=il(),ve=fe.clientWidth,ye=fe.clientHeight,Fe=de+ve,Ze=oe+ye,et=xa({top:oe,left:de,right:Fe,bottom:Ze}),Je={frame:et,scroll:{initial:ee,current:ee,max:ne,diff:{value:or,displacement:or}}};return Je},Yi=function(ee){var ne=ee.critical,oe=ee.scrollOptions,de=ee.registry;Yn();var fe=Wo(),ve=fe.scroll.current,ye=ne.droppable,Fe=de.droppable.getAllByType(ye.type).map(function(je){return je.callbacks.getDimensionAndWatchScroll(ve,oe)}),Ze=de.draggable.getAllByType(ne.draggable.type).map(function(je){return je.getDimension(ve)}),et={draggables:Ho(Ze),droppables:Zr(Fe)};Xl();var Je={dimensions:et,critical:ne,viewport:fe};return Je};function Do(ee,ne,oe){if(oe.descriptor.id===ne.id||oe.descriptor.type!==ne.type)return!1;var de=ee.droppable.getById(oe.descriptor.droppableId);return de.descriptor.mode==="virtual"}var ll=function(ee,ne){var oe=null,de=eu({callbacks:{publish:ne.publishWhileDragging,collectionStarting:ne.collectionStarting},registry:ee}),fe=function(st,jt){ee.droppable.exists(st)||Vt(!1),oe&&ne.updateDroppableIsEnabled({id:st,isEnabled:jt})},ve=function(st,jt){oe&&(ee.droppable.exists(st)||Vt(!1),ne.updateDroppableIsCombineEnabled({id:st,isCombineEnabled:jt}))},ye=function(st,jt){oe&&(ee.droppable.exists(st)||Vt(!1),ne.updateDroppableScroll({id:st,newScroll:jt}))},Fe=function(st,jt){oe&&ee.droppable.getById(st).callbacks.scroll(jt)},Ze=function(){if(oe){de.stop();var st=oe.critical.droppable;ee.droppable.getAllByType(st.type).forEach(function(jt){return jt.callbacks.dragStopped()}),oe.unsubscribe(),oe=null}},et=function(st){oe||Vt(!1);var jt=oe.critical.draggable;st.type==="ADDITION"&&Do(ee,jt,st.value)&&de.add(st.value),st.type==="REMOVAL"&&Do(ee,jt,st.value)&&de.remove(st.value)},Je=function(st){oe&&Vt(!1);var jt=ee.draggable.getById(st.draggableId),ta=ee.droppable.getById(jt.descriptor.droppableId),sa={draggable:jt.descriptor,droppable:ta.descriptor},fa=ee.subscribe(et);return oe={critical:sa,unsubscribe:fa},Yi({critical:sa,registry:ee,scrollOptions:st.scrollOptions})},je={updateDroppableIsEnabled:fe,updateDroppableIsCombineEnabled:ve,scrollDroppable:Fe,updateDroppableScroll:ye,startPublishing:Je,stopPublishing:Ze};return je},Di=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)},Ei=St(function(ee){return ho(ee).filter(function(ne){return!(!ne.isEnabled||!ne.frame)})}),zi=function(ne,oe){var de=Vr(Ei(oe),function(fe){return fe.frame||Vt(!1),Jl(fe.frame.pageMarginBox)(ne)});return de},zl=function(ee){var ne=ee.center,oe=ee.destination,de=ee.droppables;if(oe){var fe=de[oe];return fe.frame?fe:null}var ve=zi(ne,de);return ve},zo={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ne){return Math.pow(ne,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},$i=function(ee,ne){var oe=ee[ne.size]*zo.startFromPercentage,de=ee[ne.size]*zo.maxScrollAtPercentage,fe={startScrollingFrom:oe,maxScrollValueAt:de};return fe},Dl=function(ee){var ne=ee.startOfRange,oe=ee.endOfRange,de=ee.current,fe=oe-ne;if(fe===0)return 0;var ve=de-ne,ye=ve/fe;return ye},aa=1,_l=function(ee,ne){if(ee>ne.startScrollingFrom)return 0;if(ee<=ne.maxScrollValueAt)return zo.maxPixelScroll;if(ee===ne.startScrollingFrom)return aa;var oe=Dl({startOfRange:ne.maxScrollValueAt,endOfRange:ne.startScrollingFrom,current:ee}),de=1-oe,fe=zo.maxPixelScroll*zo.ease(de);return Math.ceil(fe)},vl=zo.durationDampening.accelerateAt,pl=zo.durationDampening.stopDampeningAt,Tl=function(ee,ne){var oe=ne,de=pl,fe=Date.now(),ve=fe-oe;if(ve>=pl)return ee;if(ve<vl)return aa;var ye=Dl({startOfRange:vl,endOfRange:de,current:ve}),Fe=ee*zo.ease(ye);return Math.ceil(Fe)},wl=function(ee){var ne=ee.distanceToEdge,oe=ee.thresholds,de=ee.dragStartTime,fe=ee.shouldUseTimeDampening,ve=_l(ne,oe);return ve===0?0:fe?Math.max(Tl(ve,de),aa):ve},tu=function(ee){var ne=ee.container,oe=ee.distanceToEdges,de=ee.dragStartTime,fe=ee.axis,ve=ee.shouldUseTimeDampening,ye=$i(ne,fe),Fe=oe[fe.end]<oe[fe.start];return Fe?wl({distanceToEdge:oe[fe.end],thresholds:ye,dragStartTime:de,shouldUseTimeDampening:ve}):-1*wl({distanceToEdge:oe[fe.start],thresholds:ye,dragStartTime:de,shouldUseTimeDampening:ve})},Vl=function(ee){var ne=ee.container,oe=ee.subject,de=ee.proposedScroll,fe=oe.height>ne.height,ve=oe.width>ne.width;return!ve&&!fe?de:ve&&fe?null:{x:ve?0:de.x,y:fe?0:de.y}},lr=er(function(ee){return ee===0?0:ee}),Da=function(ee){var ne=ee.dragStartTime,oe=ee.container,de=ee.subject,fe=ee.center,ve=ee.shouldUseTimeDampening,ye={top:fe.y-oe.top,right:oe.right-fe.x,bottom:oe.bottom-fe.y,left:fe.x-oe.left},Fe=tu({container:oe,distanceToEdges:ye,dragStartTime:ne,axis:Sn,shouldUseTimeDampening:ve}),Ze=tu({container:oe,distanceToEdges:ye,dragStartTime:ne,axis:Ln,shouldUseTimeDampening:ve}),et=lr({x:Ze,y:Fe});if(Ka(et,or))return null;var Je=Vl({container:oe,subject:de,proposedScroll:et});return Je?Ka(Je,or)?null:Je:null},Qr=er(function(ee){return ee===0?0:ee>0?1:-1}),Go=function(){var ee=function(oe,de){return oe<0?oe:oe>de?oe-de:0};return function(ne){var oe=ne.current,de=ne.max,fe=ne.change,ve=Pr(oe,fe),ye={x:ee(ve.x,de.x),y:ee(ve.y,de.y)};return Ka(ye,or)?null:ye}}(),hl=function(ne){var oe=ne.max,de=ne.current,fe=ne.change,ve={x:Math.max(de.x,oe.x),y:Math.max(de.y,oe.y)},ye=Qr(fe),Fe=Go({max:ve,current:de,change:ye});return!Fe||ye.x!==0&&Fe.x===0||ye.y!==0&&Fe.y===0},gu=function(ne,oe){return hl({current:ne.scroll.current,max:ne.scroll.max,change:oe})},ue=function(ne,oe){if(!gu(ne,oe))return null;var de=ne.scroll.max,fe=ne.scroll.current;return Go({current:fe,max:de,change:oe})},Ee=function(ne,oe){var de=ne.frame;return de?hl({current:de.scroll.current,max:de.scroll.max,change:oe}):!1},Pe=function(ne,oe){var de=ne.frame;return!de||!Ee(ne,oe)?null:Go({current:de.scroll.current,max:de.scroll.max,change:oe})},ut=function(ee){var ne=ee.viewport,oe=ee.subject,de=ee.center,fe=ee.dragStartTime,ve=ee.shouldUseTimeDampening,ye=Da({dragStartTime:fe,container:ne.frame,subject:oe,center:de,shouldUseTimeDampening:ve});return ye&&gu(ne,ye)?ye:null},vt=function(ee){var ne=ee.droppable,oe=ee.subject,de=ee.center,fe=ee.dragStartTime,ve=ee.shouldUseTimeDampening,ye=ne.frame;if(!ye)return null;var Fe=Da({dragStartTime:fe,container:ye.pageMarginBox,subject:oe,center:de,shouldUseTimeDampening:ve});return Fe&&Ee(ne,Fe)?Fe:null},_n=function(ee){var ne=ee.state,oe=ee.dragStartTime,de=ee.shouldUseTimeDampening,fe=ee.scrollWindow,ve=ee.scrollDroppable,ye=ne.current.page.borderBoxCenter,Fe=ne.dimensions.draggables[ne.critical.draggable.id],Ze=Fe.page.marginBox;if(ne.isWindowScrollAllowed){var et=ne.viewport,Je=ut({dragStartTime:oe,viewport:et,subject:Ze,center:ye,shouldUseTimeDampening:de});if(Je){fe(Je);return}}var je=zl({center:ye,destination:Bi(ne.impact),droppables:ne.dimensions.droppables});if(je){var Ve=vt({dragStartTime:oe,droppable:je,subject:Ze,center:ye,shouldUseTimeDampening:de});Ve&&ve(je.descriptor.id,Ve)}},mn=function(ee){var ne=ee.scrollWindow,oe=ee.scrollDroppable,de=qt(ne),fe=qt(oe),ve=null,ye=function(Je){ve||Vt(!1);var je=ve,Ve=je.shouldUseTimeDampening,st=je.dragStartTime;_n({state:Je,scrollWindow:de,scrollDroppable:fe,dragStartTime:st,shouldUseTimeDampening:Ve})},Fe=function(Je){Yn(),ve&&Vt(!1);var je=Date.now(),Ve=!1,st=function(){Ve=!0};_n({state:Je,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:st,scrollDroppable:st}),ve={dragStartTime:je,shouldUseTimeDampening:Ve},Xl(),Ve&&ye(Je)},Ze=function(){ve&&(de.cancel(),fe.cancel(),ve=null)};return{start:Fe,stop:Ze,scroll:ye}},Jt=function(ee){var ne=ee.move,oe=ee.scrollDroppable,de=ee.scrollWindow,fe=function(et,Je){var je=Pr(et.current.client.selection,Je);ne({client:je})},ve=function(et,Je){if(!Ee(et,Je))return Je;var je=Pe(et,Je);if(!je)return oe(et.descriptor.id,Je),null;var Ve=Dr(Je,je);oe(et.descriptor.id,Ve);var st=Dr(Je,Ve);return st},ye=function(et,Je,je){if(!et||!gu(Je,je))return je;var Ve=ue(Je,je);if(!Ve)return de(je),null;var st=Dr(je,Ve);de(st);var jt=Dr(je,st);return jt},Fe=function(et){var Je=et.scrollJumpRequest;if(Je){var je=Bi(et.impact);je||Vt(!1);var Ve=ve(et.dimensions.droppables[je],Je);if(Ve){var st=et.viewport,jt=ye(et.isWindowScrollAllowed,st,Ve);jt&&fe(et,jt)}}};return Fe},pt=function(ee){var ne=ee.scrollDroppable,oe=ee.scrollWindow,de=ee.move,fe=mn({scrollWindow:oe,scrollDroppable:ne}),ve=Jt({move:de,scrollWindow:oe,scrollDroppable:ne}),ye=function(et){if(et.phase==="DRAGGING"){if(et.movementMode==="FLUID"){fe.scroll(et);return}et.scrollJumpRequest&&ve(et)}},Fe={scroll:ye,start:fe.start,stop:fe.stop};return Fe},$t="data-rbd",Cn=function(){var ee=$t+"-drag-handle";return{base:ee,draggableId:ee+"-draggable-id",contextId:ee+"-context-id"}}(),$e=function(){var ee=$t+"-draggable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),Bt=function(){var ee=$t+"-droppable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),cn={contextId:$t+"-scroll-container-context-id"},Fn=function(ne){return function(oe){return"["+oe+'="'+ne+'"]'}},Xt=function(ne,oe){return ne.map(function(de){var fe=de.styles[oe];return fe?de.selector+" { "+fe+" }":""}).join(" ")},Ot="pointer-events: none;",Ut=function(ee){var ne=Fn(ee),oe=function(){var Fe=`
cursor: -webkit-grab;
cursor: grab;
`;return{selector:ne(Cn.contextId),styles:{always:`
-webkit-touch-callout: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
touch-action: manipulation;
`,resting:Fe,dragging:Ot,dropAnimating:Fe}}}(),de=function(){var Fe=`
transition: `+kn.outOfTheWay+`;
`;return{selector:ne($e.contextId),styles:{dragging:Fe,dropAnimating:Fe,userCancel:Fe}}}(),fe={selector:ne(Bt.contextId),styles:{always:"overflow-anchor: none;"}},ve={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,oe,fe,ve];return{always:Xt(ye,"always"),resting:Xt(ye,"resting"),dragging:Xt(ye,"dragging"),dropAnimating:Xt(ye,"dropAnimating"),userCancel:Xt(ye,"userCancel")}},Ht=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect,ha=function(){var ne=document.querySelector("head");return ne||Vt(!1),ne},fn=function(ne){var oe=document.createElement("style");return ne&&oe.setAttribute("nonce",ne),oe.type="text/css",oe};function pn(ee,ne){var oe=Zn(function(){return Ut(ee)},[ee]),de=(0,b.useRef)(null),fe=(0,b.useRef)(null),ve=yn(St(function(je){var Ve=fe.current;Ve||Vt(!1),Ve.textContent=je}),[]),ye=yn(function(je){var Ve=de.current;Ve||Vt(!1),Ve.textContent=je},[]);Ht(function(){!de.current&&!fe.current||Vt(!1);var je=fn(ne),Ve=fn(ne);return de.current=je,fe.current=Ve,je.setAttribute($t+"-always",ee),Ve.setAttribute($t+"-dynamic",ee),ha().appendChild(je),ha().appendChild(Ve),ye(oe.always),ve(oe.resting),function(){var st=function(ta){var sa=ta.current;sa||Vt(!1),ha().removeChild(sa),ta.current=null};st(de),st(fe)}},[ne,ye,ve,oe.always,oe.resting,ee]);var Fe=yn(function(){return ve(oe.dragging)},[ve,oe.dragging]),Ze=yn(function(je){if(je==="DROP"){ve(oe.dropAnimating);return}ve(oe.userCancel)},[ve,oe.dropAnimating,oe.userCancel]),et=yn(function(){fe.current&&ve(oe.resting)},[ve,oe.resting]),Je=Zn(function(){return{dragging:Fe,dropping:Ze,resting:et}},[Fe,Ze,et]);return Je}var Er=function(ee){return ee&&ee.ownerDocument?ee.ownerDocument.defaultView:window};function mr(ee){return ee instanceof Er(ee).HTMLElement}function Ja(ee,ne){var oe="["+Cn.contextId+'="'+ee+'"]',de=vr(document.querySelectorAll(oe));if(!de.length)return null;var fe=Vr(de,function(ve){return ve.getAttribute(Cn.draggableId)===ne});return!fe||!mr(fe)?null:fe}function Io(ee){var ne=(0,b.useRef)({}),oe=(0,b.useRef)(null),de=(0,b.useRef)(null),fe=(0,b.useRef)(!1),ve=yn(function(Ve,st){var jt={id:Ve,focus:st};return ne.current[Ve]=jt,function(){var sa=ne.current,fa=sa[Ve];fa!==jt&&delete sa[Ve]}},[]),ye=yn(function(Ve){var st=Ja(ee,Ve);st&&st!==document.activeElement&&st.focus()},[ee]),Fe=yn(function(Ve,st){oe.current===Ve&&(oe.current=st)},[]),Ze=yn(function(){de.current||fe.current&&(de.current=requestAnimationFrame(function(){de.current=null;var Ve=oe.current;Ve&&ye(Ve)}))},[ye]),et=yn(function(Ve){oe.current=null;var st=document.activeElement;st&&st.getAttribute(Cn.draggableId)===Ve&&(oe.current=Ve)},[]);Ht(function(){return fe.current=!0,function(){fe.current=!1;var Ve=de.current;Ve&&cancelAnimationFrame(Ve)}},[]);var Je=Zn(function(){return{register:ve,tryRecordFocus:et,tryRestoreFocusRecorded:Ze,tryShiftRecord:Fe}},[ve,et,Ze,Fe]);return Je}function ra(){var ee={draggables:{},droppables:{}},ne=[];function oe(je){return ne.push(je),function(){var st=ne.indexOf(je);st!==-1&&ne.splice(st,1)}}function de(je){ne.length&&ne.forEach(function(Ve){return Ve(je)})}function fe(je){return ee.draggables[je]||null}function ve(je){var Ve=fe(je);return Ve||Vt(!1),Ve}var ye={register:function(Ve){ee.draggables[Ve.descriptor.id]=Ve,de({type:"ADDITION",value:Ve})},update:function(Ve,st){var jt=ee.draggables[st.descriptor.id];jt&&jt.uniqueId===Ve.uniqueId&&(delete ee.draggables[st.descriptor.id],ee.draggables[Ve.descriptor.id]=Ve)},unregister:function(Ve){var st=Ve.descriptor.id,jt=fe(st);jt&&Ve.uniqueId===jt.uniqueId&&(delete ee.draggables[st],de({type:"REMOVAL",value:Ve}))},getById:ve,findById:fe,exists:function(Ve){return!!fe(Ve)},getAllByType:function(Ve){return Jr(ee.draggables).filter(function(st){return st.descriptor.type===Ve})}};function Fe(je){return ee.droppables[je]||null}function Ze(je){var Ve=Fe(je);return Ve||Vt(!1),Ve}var et={register:function(Ve){ee.droppables[Ve.descriptor.id]=Ve},unregister:function(Ve){var st=Fe(Ve.descriptor.id);st&&Ve.uniqueId===st.uniqueId&&delete ee.droppables[Ve.descriptor.id]},getById:Ze,findById:Fe,exists:function(Ve){return!!Fe(Ve)},getAllByType:function(Ve){return Jr(ee.droppables).filter(function(st){return st.descriptor.type===Ve})}};function Je(){ee.draggables={},ee.droppables={},ne.length=0}return{draggable:ye,droppable:et,subscribe:oe,clean:Je}}function Mr(){var ee=Zn(ra,[]);return(0,b.useEffect)(function(){return function(){requestAnimationFrame(ee.clean)}},[ee]),ee}var ja=b.createContext(null),jr=function(){var ee=document.body;return ee||Vt(!1),ee},yo={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Oo=function(ne){return"rbd-announcement-"+ne};function Uo(ee){var ne=Zn(function(){return Oo(ee)},[ee]),oe=(0,b.useRef)(null);(0,b.useEffect)(function(){var ve=document.createElement("div");return oe.current=ve,ve.id=ne,ve.setAttribute("aria-live","assertive"),ve.setAttribute("aria-atomic","true"),(0,Ae.Z)(ve.style,yo),jr().appendChild(ve),function(){setTimeout(function(){var Ze=jr();Ze.contains(ve)&&Ze.removeChild(ve),ve===oe.current&&(oe.current=null)})}},[ne]);var de=yn(function(fe){var ve=oe.current;if(ve){ve.textContent=fe;return}},[]);return de}var Pa=0,Sr={separator:"::"};function bi(){Pa=0}function wo(ee,ne){return ne===void 0&&(ne=Sr),Zn(function(){return""+ee+ne.separator+Pa++},[ne.separator,ee])}function Dn(ee){var ne=ee.contextId,oe=ee.uniqueId;return"rbd-hidden-text-"+ne+"-"+oe}function ci(ee){var ne=ee.contextId,oe=ee.text,de=wo("hidden-text",{separator:"-"}),fe=Zn(function(){return Dn({contextId:ne,uniqueId:de})},[de,ne]);return(0,b.useEffect)(function(){var ye=document.createElement("div");return ye.id=fe,ye.textContent=oe,ye.style.display="none",jr().appendChild(ye),function(){var Ze=jr();Ze.contains(ye)&&Ze.removeChild(ye)}},[fe,oe]),fe}var _i=b.createContext(null),vi={react:"^16.8.5","react-dom":"^16.8.5"},wi=/(\d+)\.(\d+)\.(\d+)/,Ti=function(ne){var oe=wi.exec(ne);oe==null&&Vt(!1);var de=Number(oe[1]),fe=Number(oe[2]),ve=Number(oe[3]);return{major:de,minor:fe,patch:ve,raw:ne}},ri=function(ne,oe){return oe.major>ne.major?!0:oe.major<ne.major?!1:oe.minor>ne.minor?!0:oe.minor<ne.minor?!1:oe.patch>=ne.patch},ul=function(ee,ne){var oe=Ti(ee),de=Ti(ne);ri(oe,de)},Ki=`
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
`,el=function(ee){var ne=ee.doctype;ne&&(ne.name.toLowerCase(),ne.publicId)};function jo(ee){}function pi(ee,ne){}function sl(){pi(function(){ul(vi.react,b.version),el(document)},[])}function Zl(ee){var ne=(0,b.useRef)(ee);return(0,b.useEffect)(function(){ne.current=ee}),ne}function Lr(){var ee=null;function ne(){return!!ee}function oe(ye){return ye===ee}function de(ye){ee&&Vt(!1);var Fe={abandon:ye};return ee=Fe,Fe}function fe(){ee||Vt(!1),ee=null}function ve(){ee&&(ee.abandon(),fe())}return{isClaimed:ne,isActive:oe,claim:de,release:fe,tryAbandon:ve}}var To=9,oi=13,Qo=27,Ji=32,Xi=33,Li=34,Gl=35,Ll=36,yl=37,Pi=38,jl=39,to=40,nu,bu=(nu={},nu[oi]=!0,nu[To]=!0,nu),Wl=function(ee){bu[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],oe=Vr(ne,function(de){return"on"+de in document});return oe||ee}(),en=0,Kn=5;function Cr(ee,ne){return Math.abs(ne.x-ee.x)>=Kn||Math.abs(ne.y-ee.y)>=Kn}var ir={type:"IDLE"};function Tr(ee){var ne=ee.cancel,oe=ee.completed,de=ee.getPhase,fe=ee.setPhase;return[{eventName:"mousemove",fn:function(ye){var Fe=ye.button,Ze=ye.clientX,et=ye.clientY;if(Fe===en){var Je={x:Ze,y:et},je=de();if(je.type==="DRAGGING"){ye.preventDefault(),je.actions.move(Je);return}je.type!=="PENDING"&&Vt(!1);var Ve=je.point;if(Cr(Ve,Je)){ye.preventDefault();var st=je.actions.fluidLift(Je);fe({type:"DRAGGING",actions:st})}}}},{eventName:"mouseup",fn:function(ye){var Fe=de();if(Fe.type!=="DRAGGING"){ne();return}ye.preventDefault(),Fe.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"mousedown",fn:function(ye){de().type==="DRAGGING"&&ye.preventDefault(),ne()}},{eventName:"keydown",fn:function(ye){var Fe=de();if(Fe.type==="PENDING"){ne();return}if(ye.keyCode===Qo){ye.preventDefault(),ne();return}Wl(ye)}},{eventName:"resize",fn:ne},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){de().type==="PENDING"&&ne()}},{eventName:"webkitmouseforcedown",fn:function(ye){var Fe=de();if(Fe.type==="IDLE"&&Vt(!1),Fe.actions.shouldRespectForcePress()){ne();return}ye.preventDefault()}},{eventName:mu,fn:ne}]}function Eo(ee){var ne=(0,b.useRef)(ir),oe=(0,b.useRef)(Un),de=Zn(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 st=ee.tryGetLock(Ve,ye,{sourceEvent:je});if(st){je.preventDefault();var jt={x:je.clientX,y:je.clientY};oe.current(),et(st,jt)}}}}}},[ee]),fe=Zn(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(je){if(!je.defaultPrevented){var Ve=ee.findClosestDraggableId(je);if(Ve){var st=ee.findOptionsForDraggable(Ve);st&&(st.shouldRespectForcePress||ee.canGetLock(Ve)&&je.preventDefault())}}}}},[ee]),ve=yn(function(){var je={passive:!1,capture:!0};oe.current=Na(window,[fe,de],je)},[fe,de]),ye=yn(function(){var Je=ne.current;Je.type!=="IDLE"&&(ne.current=ir,oe.current(),ve())},[ve]),Fe=yn(function(){var Je=ne.current;ye(),Je.type==="DRAGGING"&&Je.actions.cancel({shouldBlockNextClick:!0}),Je.type==="PENDING"&&Je.actions.abort()},[ye]),Ze=yn(function(){var je={capture:!0,passive:!1},Ve=Tr({cancel:Fe,completed:ye,getPhase:function(){return ne.current},setPhase:function(jt){ne.current=jt}});oe.current=Na(window,Ve,je)},[Fe,ye]),et=yn(function(je,Ve){ne.current.type!=="IDLE"&&Vt(!1),ne.current={type:"PENDING",point:Ve,actions:je},Ze()},[Ze]);Ht(function(){return ve(),function(){oe.current()}},[ve])}var Mo;function no(){}var Zi=(Mo={},Mo[Li]=!0,Mo[Xi]=!0,Mo[Ll]=!0,Mo[Gl]=!0,Mo);function Fo(ee,ne){function oe(){ne(),ee.cancel()}function de(){ne(),ee.drop()}return[{eventName:"keydown",fn:function(ve){if(ve.keyCode===Qo){ve.preventDefault(),oe();return}if(ve.keyCode===Ji){ve.preventDefault(),de();return}if(ve.keyCode===to){ve.preventDefault(),ee.moveDown();return}if(ve.keyCode===Pi){ve.preventDefault(),ee.moveUp();return}if(ve.keyCode===jl){ve.preventDefault(),ee.moveRight();return}if(ve.keyCode===yl){ve.preventDefault(),ee.moveLeft();return}if(Zi[ve.keyCode]){ve.preventDefault();return}Wl(ve)}},{eventName:"mousedown",fn:oe},{eventName:"mouseup",fn:oe},{eventName:"click",fn:oe},{eventName:"touchstart",fn:oe},{eventName:"resize",fn:oe},{eventName:"wheel",fn:oe,options:{passive:!0}},{eventName:mu,fn:oe}]}function dl(ee){var ne=(0,b.useRef)(no),oe=Zn(function(){return{eventName:"keydown",fn:function(ve){if(ve.defaultPrevented||ve.keyCode!==Ji)return;var ye=ee.findClosestDraggableId(ve);if(!ye)return;var Fe=ee.tryGetLock(ye,Je,{sourceEvent:ve});if(!Fe)return;ve.preventDefault();var Ze=!0,et=Fe.snapLift();ne.current();function Je(){Ze||Vt(!1),Ze=!1,ne.current(),de()}ne.current=Na(window,Fo(et,Je),{capture:!0,passive:!1})}}},[ee]),de=yn(function(){var ve={passive:!1,capture:!0};ne.current=Na(window,[oe],ve)},[oe]);Ht(function(){return de(),function(){ne.current()}},[de])}var Ul={type:"IDLE"},qu=120,vs=.15;function ps(ee){var ne=ee.cancel,oe=ee.getPhase;return[{eventName:"orientationchange",fn:ne},{eventName:"resize",fn:ne},{eventName:"contextmenu",fn:function(fe){fe.preventDefault()}},{eventName:"keydown",fn:function(fe){if(oe().type!=="DRAGGING"){ne();return}fe.keyCode===Qo&&fe.preventDefault(),ne()}},{eventName:mu,fn:ne}]}function Hl(ee){var ne=ee.cancel,oe=ee.completed,de=ee.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(ve){var ye=de();if(ye.type!=="DRAGGING"){ne();return}ye.hasMoved=!0;var Fe=ve.touches[0],Ze=Fe.clientX,et=Fe.clientY,Je={x:Ze,y:et};ve.preventDefault(),ye.actions.move(Je)}},{eventName:"touchend",fn:function(ve){var ye=de();if(ye.type!=="DRAGGING"){ne();return}ve.preventDefault(),ye.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"touchcancel",fn:function(ve){if(de().type!=="DRAGGING"){ne();return}ve.preventDefault(),ne()}},{eventName:"touchforcechange",fn:function(ve){var ye=de();ye.type==="IDLE"&&Vt(!1);var Fe=ve.touches[0];if(Fe){var Ze=Fe.force>=vs;if(Ze){var et=ye.actions.shouldRespectForcePress();if(ye.type==="PENDING"){et&&ne();return}if(et){if(ye.hasMoved){ve.preventDefault();return}ne();return}ve.preventDefault()}}}},{eventName:mu,fn:ne}]}function hs(ee){var ne=(0,b.useRef)(Ul),oe=(0,b.useRef)(Un),de=yn(function(){return ne.current},[]),fe=yn(function(st){ne.current=st},[]),ve=Zn(function(){return{eventName:"touchstart",fn:function(st){if(!st.defaultPrevented){var jt=ee.findClosestDraggableId(st);if(jt){var ta=ee.tryGetLock(jt,Fe,{sourceEvent:st});if(ta){var sa=st.touches[0],fa=sa.clientX,Ma=sa.clientY,Va={x:fa,y:Ma};oe.current(),je(ta,Va)}}}}}},[ee]),ye=yn(function(){var st={capture:!0,passive:!1};oe.current=Na(window,[ve],st)},[ve]),Fe=yn(function(){var Ve=ne.current;Ve.type!=="IDLE"&&(Ve.type==="PENDING"&&clearTimeout(Ve.longPressTimerId),fe(Ul),oe.current(),ye())},[ye,fe]),Ze=yn(function(){var Ve=ne.current;Fe(),Ve.type==="DRAGGING"&&Ve.actions.cancel({shouldBlockNextClick:!0}),Ve.type==="PENDING"&&Ve.actions.abort()},[Fe]),et=yn(function(){var st={capture:!0,passive:!1},jt={cancel:Ze,completed:Fe,getPhase:de},ta=Na(window,Hl(jt),st),sa=Na(window,ps(jt),st);oe.current=function(){ta(),sa()}},[Ze,de,Fe]),Je=yn(function(){var st=de();st.type!=="PENDING"&&Vt(!1);var jt=st.actions.fluidLift(st.point);fe({type:"DRAGGING",actions:jt,hasMoved:!1})},[de,fe]),je=yn(function(st,jt){de().type!=="IDLE"&&Vt(!1);var ta=setTimeout(Je,qu);fe({type:"PENDING",point:jt,actions:st,longPressTimerId:ta}),et()},[et,de,fe,Je]);Ht(function(){return ye(),function(){oe.current();var jt=de();jt.type==="PENDING"&&(clearTimeout(jt.longPressTimerId),fe(Ul))}},[de,ye,fe]),Ht(function(){var st=Na(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return st},[])}function au(ee){}var Zu={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Ql(ee,ne){if(ne==null)return!1;var oe=!!Zu[ne.tagName.toLowerCase()];if(oe)return!0;var de=ne.getAttribute("contenteditable");return de==="true"||de===""?!0:ne===ee?!1:Ql(ee,ne.parentElement)}function $u(ee,ne){var oe=ne.target;return mr(oe)?Ql(ee,oe):!1}var Ss=function(ee){return xa(ee.getBoundingClientRect()).center};function es(ee){return ee instanceof Er(ee).Element}var Gu=function(){var ee="matches";if(typeof document=="undefined")return ee;var ne=[ee,"msMatchesSelector","webkitMatchesSelector"],oe=Vr(ne,function(de){return de in Element.prototype});return oe||ee}();function ts(ee,ne){return ee==null?null:ee[Gu](ne)?ee:ts(ee.parentElement,ne)}function $n(ee,ne){return ee.closest?ee.closest(ne):ts(ee,ne)}function Ya(ee){return"["+Cn.contextId+'="'+ee+'"]'}function Nr(ee,ne){var oe=ne.target;if(!es(oe))return null;var de=Ya(ee),fe=$n(oe,de);return!fe||!mr(fe)?null:fe}function ro(ee,ne){var oe=Nr(ee,ne);return oe?oe.getAttribute(Cn.draggableId):null}function Yr(ee,ne){var oe="["+$e.contextId+'="'+ee+'"]',de=vr(document.querySelectorAll(oe)),fe=Vr(de,function(ve){return ve.getAttribute($e.id)===ne});return!fe||!mr(fe)?null:fe}function Br(ee){ee.preventDefault()}function so(ee){var ne=ee.expected,oe=ee.phase,de=ee.isLockActive,fe=ee.shouldWarn;return!(!de()||ne!==oe)}function Ro(ee){var ne=ee.lockAPI,oe=ee.store,de=ee.registry,fe=ee.draggableId;if(ne.isClaimed())return!1;var ve=de.draggable.findById(fe);return!(!ve||!ve.options.isEnabled||!Di(oe.getState(),fe))}function Vi(ee){var ne=ee.lockAPI,oe=ee.contextId,de=ee.store,fe=ee.registry,ve=ee.draggableId,ye=ee.forceSensorStop,Fe=ee.sourceEvent,Ze=Ro({lockAPI:ne,store:de,registry:fe,draggableId:ve});if(!Ze)return null;var et=fe.draggable.getById(ve),Je=Yr(oe,et.descriptor.id);if(!Je||Fe&&!et.options.canDragInteractiveElements&&$u(Je,Fe))return null;var je=ne.claim(ye||Un),Ve="PRE_DRAG";function st(){return et.options.shouldRespectForcePress}function jt(){return ne.isActive(je)}function ta(Hr,bo){so({expected:Hr,phase:Ve,isLockActive:jt,shouldWarn:!0})&&de.dispatch(bo())}var sa=ta.bind(null,"DRAGGING");function fa(Hr){function bo(){ne.release(),Ve="COMPLETED"}Ve!=="PRE_DRAG"&&(bo(),Ve!=="PRE_DRAG"&&Vt(!1)),de.dispatch(ge(Hr.liftActionArgs)),Ve="DRAGGING";function Ni(Lo,Ii){if(Ii===void 0&&(Ii={shouldBlockNextClick:!1}),Hr.cleanup(),Ii.shouldBlockNextClick){var cl=Na(window,[{eventName:"click",fn:Br,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(cl)}bo(),de.dispatch(ln({reason:Lo}))}return(0,Ae.Z)({isActive:function(){return so({expected:"DRAGGING",phase:Ve,isLockActive:jt,shouldWarn:!1})},shouldRespectForcePress:st,drop:function(Ii){return Ni("DROP",Ii)},cancel:function(Ii){return Ni("CANCEL",Ii)}},Hr.actions)}function Ma(Hr){var bo=qt(function(Lo){sa(function(){return wt({client:Lo})})}),Ni=fa({liftActionArgs:{id:ve,clientSelection:Hr,movementMode:"FLUID"},cleanup:function(){return bo.cancel()},actions:{move:bo}});return(0,Ae.Z)({},Ni,{move:bo})}function Va(){var Hr={moveUp:function(){return sa(on)},moveRight:function(){return sa(Nn)},moveDown:function(){return sa(dn)},moveLeft:function(){return sa(In)}};return fa({liftActionArgs:{id:ve,clientSelection:Ss(Je),movementMode:"SNAP"},cleanup:Un,actions:Hr})}function Xa(){var Hr=so({expected:"PRE_DRAG",phase:Ve,isLockActive:jt,shouldWarn:!0});Hr&&ne.release()}var $r={isActive:function(){return so({expected:"PRE_DRAG",phase:Ve,isLockActive:jt,shouldWarn:!1})},shouldRespectForcePress:st,fluidLift:Ma,snapLift:Va,abort:Xa};return $r}var Nl=[Eo,dl,hs];function su(ee){var ne=ee.contextId,oe=ee.store,de=ee.registry,fe=ee.customSensors,ve=ee.enableDefaultSensors,ye=[].concat(ve?Nl:[],fe||[]),Fe=(0,b.useState)(function(){return Lr()})[0],Ze=yn(function(Ma,Va){Ma.isDragging&&!Va.isDragging&&Fe.tryAbandon()},[Fe]);Ht(function(){var Ma=oe.getState(),Va=oe.subscribe(function(){var Xa=oe.getState();Ze(Ma,Xa),Ma=Xa});return Va},[Fe,oe,Ze]),Ht(function(){return Fe.tryAbandon},[Fe.tryAbandon]);var et=yn(function(fa){return Ro({lockAPI:Fe,registry:de,store:oe,draggableId:fa})},[Fe,de,oe]),Je=yn(function(fa,Ma,Va){return Vi({lockAPI:Fe,registry:de,contextId:ne,store:oe,draggableId:fa,forceSensorStop:Ma,sourceEvent:Va&&Va.sourceEvent?Va.sourceEvent:null})},[ne,Fe,de,oe]),je=yn(function(fa){return ro(ne,fa)},[ne]),Ve=yn(function(fa){var Ma=de.draggable.findById(fa);return Ma?Ma.options:null},[de.draggable]),st=yn(function(){Fe.isClaimed()&&(Fe.tryAbandon(),oe.getState().phase!=="IDLE"&&oe.dispatch(Dt()))},[Fe,oe]),jt=yn(Fe.isClaimed,[Fe]),ta=Zn(function(){return{canGetLock:et,tryGetLock:Je,findClosestDraggableId:je,findOptionsForDraggable:Ve,tryReleaseLock:st,isLockClaimed:jt}},[et,Je,je,Ve,st,jt]);au(ye);for(var sa=0;sa<ye.length;sa++)ye[sa](ta)}var Ar=function(ne){return{onBeforeCapture:ne.onBeforeCapture,onBeforeDragStart:ne.onBeforeDragStart,onDragStart:ne.onDragStart,onDragEnd:ne.onDragEnd,onDragUpdate:ne.onDragUpdate}};function wa(ee){return ee.current||Vt(!1),ee.current}function ur(ee){var ne=ee.contextId,oe=ee.setCallbacks,de=ee.sensors,fe=ee.nonce,ve=ee.dragHandleUsageInstructions,ye=(0,b.useRef)(null);sl();var Fe=Zl(ee),Ze=yn(function(){return Ar(Fe.current)},[Fe]),et=Uo(ne),Je=ci({contextId:ne,text:ve}),je=pn(ne,fe),Ve=yn(function(Lo){wa(ye).dispatch(Lo)},[]),st=Zn(function(){return(0,_e.DE)({publishWhileDragging:Ie,updateDroppableScroll:ft,updateDroppableIsEnabled:rt,updateDroppableIsCombineEnabled:Nt,collectionStarting:Oe},Ve)},[Ve]),jt=Mr(),ta=Zn(function(){return ll(jt,st)},[jt,st]),sa=Zn(function(){return pt((0,Ae.Z)({scrollWindow:xl,scrollDroppable:ta.scrollDroppable},(0,_e.DE)({move:wt},Ve)))},[ta.scrollDroppable,Ve]),fa=Io(ne),Ma=Zn(function(){return Pl({announce:et,autoScroller:sa,dimensionMarshal:ta,focusMarshal:fa,getResponders:Ze,styleMarshal:je})},[et,sa,ta,fa,Ze,je]);ye.current=Ma;var Va=yn(function(){var Lo=wa(ye),Ii=Lo.getState();Ii.phase!=="IDLE"&&Lo.dispatch(Dt())},[]),Xa=yn(function(){var Lo=wa(ye).getState();return Lo.isDragging||Lo.phase==="DROP_ANIMATING"},[]),$r=Zn(function(){return{isDragging:Xa,tryAbort:Va}},[Xa,Va]);oe($r);var Hr=yn(function(Lo){return Di(wa(ye).getState(),Lo)},[]),bo=yn(function(){return lu(wa(ye).getState())},[]),Ni=Zn(function(){return{marshal:ta,focus:fa,contextId:ne,canLift:Hr,isMovementAllowed:bo,dragHandleUsageInstructionsId:Je,registry:jt}},[ne,ta,Je,fa,Hr,bo,jt]);return su({contextId:ne,store:Ma,registry:jt,customSensors:de,enableDefaultSensors:ee.enableDefaultSensors!==!1}),(0,b.useEffect)(function(){return Va},[Va]),b.createElement(_i.Provider,{value:Ni},b.createElement(x,{context:ja,store:Ma},ee.children))}var io=0;function ti(){io=0}function du(){return Zn(function(){return""+io++},[])}function Il(){ti(),bi()}function Yl(ee){var ne=du(),oe=ee.dragHandleUsageInstructions||nn.dragHandleUsageInstructions;return b.createElement(zr,null,function(de){return b.createElement(ur,{nonce:ee.nonce,contextId:ne,setCallbacks:de,dragHandleUsageInstructions:oe,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(oe){return ne===oe}},fu=Ol("scroll"),ru=Ol("auto"),Fl=Ol("visible"),Es=function(ne,oe){return oe(ne.overflowX)||oe(ne.overflowY)},bs=function(ne,oe){return oe(ne.overflowX)&&oe(ne.overflowY)},Cs=function(ne){var oe=window.getComputedStyle(ne),de={overflowX:oe.overflowX,overflowY:oe.overflowY};return Es(de,fu)||Es(de,ru)},rd=function(){return!1;var ne,oe,de,fe},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 oe=window.getComputedStyle(ne);return oe.position==="fixed"?!0:ee(ne.parentElement)},id=function(ee){var ne=Vs(ee),oe=od(ee);return{closestScrollable:ne,isFixedOnPage:oe}},ld=function(ee){var ne=ee.descriptor,oe=ee.isEnabled,de=ee.isCombineEnabled,fe=ee.isFixedOnPage,ve=ee.direction,ye=ee.client,Fe=ee.page,Ze=ee.closest,et=function(){if(!Ze)return null;var st=Ze.scrollSize,jt=Ze.client,ta=kl({scrollHeight:st.scrollHeight,scrollWidth:st.scrollWidth,height:jt.paddingBox.height,width:jt.paddingBox.width});return{pageMarginBox:Ze.page.marginBox,frameClient:jt,scrollSize:st,shouldClipSubject:Ze.shouldClipSubject,scroll:{initial:Ze.scroll,current:Ze.scroll,max:ta,diff:{value:or,displacement:or}}}}(),Je=ve==="vertical"?Sn:Ln,je=Fr({page:Fe,withPlaceholder:null,axis:Je,frame:et}),Ve={descriptor:ne,isCombineEnabled:de,isFixedOnPage:fe,axis:Je,isEnabled:oe,client:ye,page:Fe,frame:et,subject:je};return Ve},ud=function(ne,oe){var de=pa(ne);if(!oe||ne!==oe)return de;var fe=de.paddingBox.top-oe.scrollTop,ve=de.paddingBox.left-oe.scrollLeft,ye=fe+oe.scrollHeight,Fe=ve+oe.scrollWidth,Ze={top:fe,right:Fe,bottom:ye,left:ve},et=_a(Ze,de.border),Je=$a({borderBox:et,margin:de.margin,border:de.border,padding:de.padding});return Je},sd=function(ee){var ne=ee.ref,oe=ee.descriptor,de=ee.env,fe=ee.windowScroll,ve=ee.direction,ye=ee.isDropDisabled,Fe=ee.isCombineEnabled,Ze=ee.shouldClipSubject,et=de.closestScrollable,Je=ud(ne,et),je=xn(Je,fe),Ve=function(){if(!et)return null;var jt=pa(et),ta={scrollHeight:et.scrollHeight,scrollWidth:et.scrollWidth};return{client:jt,page:xn(jt,fe),scroll:Ms(et),scrollSize:ta,shouldClipSubject:Ze}}(),st=ld({descriptor:oe,isEnabled:!ye,isCombineEnabled:Fe,isFixedOnPage:de.isFixedOnPage,direction:ve,client:Je,page:je,closest:Ve});return st},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||Vt(!1),ne}var As=function(ne){return ne&&ne.env.closestScrollable||null};function gd(ee){var ne=(0,b.useRef)(null),oe=Bs(_i),de=wo("droppable"),fe=oe.registry,ve=oe.marshal,ye=Zl(ee),Fe=Zn(function(){return{id:ee.droppableId,type:ee.type,mode:ee.mode}},[ee.droppableId,ee.mode,ee.type]),Ze=(0,b.useRef)(Fe),et=Zn(function(){return St(function(Xa,$r){ne.current||Vt(!1);var Hr={x:Xa,y:$r};ve.updateDroppableScroll(Fe.id,Hr)})},[Fe.id,ve]),Je=yn(function(){var Xa=ne.current;return!Xa||!Xa.env.closestScrollable?or:Ms(Xa.env.closestScrollable)},[]),je=yn(function(){var Xa=Je();et(Xa.x,Xa.y)},[Je,et]),Ve=Zn(function(){return qt(je)},[je]),st=yn(function(){var Xa=ne.current,$r=As(Xa);Xa&&$r||Vt(!1);var Hr=Xa.scrollOptions;if(Hr.shouldPublishImmediately){je();return}Ve()},[Ve,je]),jt=yn(function(Xa,$r){ne.current&&Vt(!1);var Hr=ye.current,bo=Hr.getDroppableRef();bo||Vt(!1);var Ni=id(bo),Lo={ref:bo,descriptor:Fe,env:Ni,scrollOptions:$r};ne.current=Lo;var Ii=sd({ref:bo,descriptor:Fe,env:Ni,windowScroll:Xa,direction:Hr.direction,isDropDisabled:Hr.isDropDisabled,isCombineEnabled:Hr.isCombineEnabled,shouldClipSubject:!Hr.ignoreContainerClipping}),cl=Ni.closestScrollable;return cl&&(cl.setAttribute(cn.contextId,oe.contextId),cl.addEventListener("scroll",st,Ws(Lo.scrollOptions))),Ii},[oe.contextId,Fe,st,ye]),ta=yn(function(){var Xa=ne.current,$r=As(Xa);return Xa&&$r||Vt(!1),Ms($r)},[]),sa=yn(function(){var Xa=ne.current;Xa||Vt(!1);var $r=As(Xa);ne.current=null,$r&&(Ve.cancel(),$r.removeAttribute(cn.contextId),$r.removeEventListener("scroll",st,Ws(Xa.scrollOptions)))},[st,Ve]),fa=yn(function(Xa){var $r=ne.current;$r||Vt(!1);var Hr=As($r);Hr||Vt(!1),Hr.scrollTop+=Xa.y,Hr.scrollLeft+=Xa.x},[]),Ma=Zn(function(){return{getDimensionAndWatchScroll:jt,getScrollWhileDragging:ta,dragStopped:sa,scroll:fa}},[sa,jt,ta,fa]),Va=Zn(function(){return{uniqueId:de,descriptor:Fe,callbacks:Ma}},[Ma,Fe,de]);Ht(function(){return Ze.current=Va.descriptor,fe.droppable.register(Va),function(){ne.current&&sa(),fe.droppable.unregister(Va)}},[Ma,Fe,sa,Va,ve,fe.droppable]),Ht(function(){ne.current&&ve.updateDroppableIsEnabled(Ze.current.id,!ee.isDropDisabled)},[ee.isDropDisabled,ve]),Ht(function(){ne.current&&ve.updateDroppableIsCombineEnabled(Ze.current.id,ee.isCombineEnabled)},[ee.isCombineEnabled,ve])}function Rs(){}var Us={width:0,height:0,margin:Ga},md=function(ne){var oe=ne.isAnimatingOpenOnMount,de=ne.placeholder,fe=ne.animate;return oe||fe==="close"?Us:{height:de.client.borderBox.height,width:de.client.borderBox.width,margin:de.client.margin}},fd=function(ne){var oe=ne.isAnimatingOpenOnMount,de=ne.placeholder,fe=ne.animate,ve=md({isAnimatingOpenOnMount:oe,placeholder:de,animate:fe});return{display:de.display,boxSizing:"border-box",width:ve.width,height:ve.height,marginTop:ve.margin.top,marginRight:ve.margin.right,marginBottom:ve.margin.bottom,marginLeft:ve.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:fe!=="none"?kn.placeholder:null}};function vd(ee){var ne=(0,b.useRef)(null),oe=yn(function(){ne.current&&(clearTimeout(ne.current),ne.current=null)},[]),de=ee.animate,fe=ee.onTransitionEnd,ve=ee.onClose,ye=ee.contextId,Fe=(0,b.useState)(ee.animate==="open"),Ze=Fe[0],et=Fe[1];(0,b.useEffect)(function(){return Ze?de!=="open"?(oe(),et(!1),Rs):ne.current?Rs:(ne.current=setTimeout(function(){ne.current=null,et(!1)}),oe):Rs},[de,Ze,oe]);var Je=yn(function(Ve){Ve.propertyName==="height"&&(fe(),de==="close"&&ve())},[de,ve,fe]),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:Je,ref:ee.innerRef})}var pd=b.memo(vd),ks=b.createContext(null);function Qs(ee){ee&&mr(ee)||Vt(!1)}function _s(ee){return typeof ee=="boolean"}function Ts(ee,ne){ne.forEach(function(oe){return oe(ee)})}var hd=[function(ne){var oe=ne.props;oe.droppableId||Vt(!1),typeof oe.droppableId!="string"&&Vt(!1)},function(ne){var oe=ne.props;_s(oe.isDropDisabled)||Vt(!1),_s(oe.isCombineEnabled)||Vt(!1),_s(oe.ignoreContainerClipping)||Vt(!1)},function(ne){var oe=ne.getDroppableRef;Qs(oe())}],Sd=[function(ne){var oe=ne.props,de=ne.getPlaceholderRef;if(oe.placeholder)var fe=de()}],Ed=[function(ne){var oe=ne.props;oe.renderClone||Vt(!1)},function(ne){var oe=ne.getPlaceholderRef;oe()&&Vt(!1)}];function Pd(ee){pi(function(){Ts(ee,hd),ee.props.mode==="standard"&&Ts(ee,Sd),ee.props.mode==="virtual"&&Ts(ee,Ed)})}var yd=function(ee){we(ne,ee);function ne(){for(var de,fe=arguments.length,ve=new Array(fe),ye=0;ye<fe;ye++)ve[ye]=arguments[ye];return de=ee.call.apply(ee,[this].concat(ve))||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(fe,ve){return fe.shouldAnimate?fe.on?{isVisible:!0,data:fe.on,animate:"open"}:ve.isVisible?{isVisible:!0,data:ve.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:!!fe.on,data:fe.on,animate:"none"}};var oe=ne.prototype;return oe.render=function(){if(!this.state.isVisible)return null;var fe={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(fe)},ne}(b.PureComponent),Ys={dragging:5e3,dropAnimating:4500},Fd=function(ne,oe){return oe?kn.drop(oe.duration):ne?kn.snap:kn.fluid},bd=function(ne,oe){return ne?oe?wr.opacity.drop:wr.opacity.combining:null},Cd=function(ne){return ne.forceShouldAnimate!=null?ne.forceShouldAnimate:ne.mode==="SNAP"};function Bd(ee){var ne=ee.dimension,oe=ne.client,de=ee.offset,fe=ee.combineWith,ve=ee.dropping,ye=!!fe,Fe=Cd(ee),Ze=!!ve,et=Ze?vo.drop(de,ye):vo.moveTo(de),Je={position:"fixed",top:oe.marginBox.top,left:oe.marginBox.left,boxSizing:"border-box",width:oe.borderBox.width,height:oe.borderBox.height,transition:Fd(Fe,ve),transform:et,opacity:bd(ye,Ze),zIndex:Ze?Ys.dropAnimating:Ys.dragging,pointerEvents:"none"};return Je}function Ad(ee){return{transform:vo.moveTo(ee.offset),transition:ee.shouldAnimateDisplacement?null:"none"}}function xd(ee){return ee.type==="DRAGGING"?Bd(ee):Ad(ee)}function Dd(ee,ne,oe){oe===void 0&&(oe=or);var de=window.getComputedStyle(ne),fe=ne.getBoundingClientRect(),ve=na(fe,de),ye=xn(ve,oe),Fe={client:ve,tagName:ne.tagName.toLowerCase(),display:de.display},Ze={x:ve.marginBox.width,y:ve.marginBox.height},et={descriptor:ee,placeholder:Fe,displaceBy:Ze,client:ve,page:ye};return et}function wd(ee){var ne=wo("draggable"),oe=ee.descriptor,de=ee.registry,fe=ee.getDraggableRef,ve=ee.canDragInteractiveElements,ye=ee.shouldRespectForcePress,Fe=ee.isEnabled,Ze=Zn(function(){return{canDragInteractiveElements:ve,shouldRespectForcePress:ye,isEnabled:Fe}},[ve,Fe,ye]),et=yn(function(st){var jt=fe();return jt||Vt(!1),Dd(oe,jt,st)},[oe,fe]),Je=Zn(function(){return{uniqueId:ne,descriptor:oe,options:Ze,getDimension:et}},[oe,et,Ze,ne]),je=(0,b.useRef)(Je),Ve=(0,b.useRef)(!0);Ht(function(){return de.draggable.register(je.current),function(){return de.draggable.unregister(je.current)}},[de.draggable]),Ht(function(){if(Ve.current){Ve.current=!1;return}var st=je.current;je.current=Je,de.draggable.update(Je,st)},[Je,de.draggable])}function Ld(ee,ne,oe){pi(function(){function de(ve){return"Draggable[id: "+ve+"]: "}var fe=ee.draggableId;fe||Vt(!1),typeof fe!="string"&&Vt(!1),co(ee.index)||Vt(!1),ee.mapped.type!=="DRAGGING"&&(Qs(oe()),ee.isEnabled&&(Ja(ne,fe)||Vt(!1)))})}function Nd(ee){}function Id(ee){ee.preventDefault()}function Od(ee){var ne=(0,b.useRef)(null),oe=yn(function(Lo){ne.current=Lo},[]),de=yn(function(){return ne.current},[]),fe=Bs(_i),ve=fe.contextId,ye=fe.dragHandleUsageInstructionsId,Fe=fe.registry,Ze=Bs(ks),et=Ze.type,Je=Ze.droppableId,je=Zn(function(){return{id:ee.draggableId,index:ee.index,type:et,droppableId:Je}},[ee.draggableId,ee.index,et,Je]),Ve=ee.children,st=ee.draggableId,jt=ee.isEnabled,ta=ee.shouldRespectForcePress,sa=ee.canDragInteractiveElements,fa=ee.isClone,Ma=ee.mapped,Va=ee.dropAnimationFinished;if(Ld(ee,ve,de),Nd(fa),!fa){var Xa=Zn(function(){return{descriptor:je,registry:Fe,getDraggableRef:de,canDragInteractiveElements:sa,shouldRespectForcePress:ta,isEnabled:jt}},[je,Fe,de,sa,ta,jt]);wd(Xa)}var $r=Zn(function(){return jt?{tabIndex:0,role:"button","aria-describedby":ye,"data-rbd-drag-handle-draggable-id":st,"data-rbd-drag-handle-context-id":ve,draggable:!1,onDragStart:Id}:null},[ve,ye,st,jt]),Hr=yn(function(Lo){Ma.type==="DRAGGING"&&Ma.dropping&&Lo.propertyName==="transform"&&Va()},[Va,Ma]),bo=Zn(function(){var Lo=xd(Ma),Ii=Ma.type==="DRAGGING"&&Ma.dropping?Hr:null,cl={innerRef:oe,draggableProps:{"data-rbd-draggable-context-id":ve,"data-rbd-draggable-id":st,style:Lo,onTransitionEnd:Ii},dragHandleProps:$r};return cl},[ve,$r,st,Ma,Hr,oe]),Ni=Zn(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(bo,Ma.snapshot,Ni)}var Ks=function(ee,ne){return ee===ne},Js=function(ee){var ne=ee.combine,oe=ee.destination;return oe?oe.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(fe,ve){return{x:fe,y:ve}}),ne=St(function(fe,ve,ye,Fe,Ze){return{isDragging:!0,isClone:ve,isDropAnimating:!!Ze,dropAnimation:Ze,mode:fe,draggingOver:ye,combineWith:Fe,combineTargetFor:null}}),oe=St(function(fe,ve,ye,Fe,Ze,et,Je){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:Ze,combineWith:et,mode:ve,offset:fe,dimension:ye,forceShouldAnimate:Je,snapshot:ne(ve,Fe,Ze,et,null)}}}),de=function(ve,ye){if(ve.isDragging){if(ve.critical.draggable.id!==ye.draggableId)return null;var Fe=ve.current.client.offset,Ze=ve.dimensions.draggables[ye.draggableId],et=Bi(ve.impact),Je=Rd(ve.impact),je=ve.forceShouldAnimate;return oe(ee(Fe.x,Fe.y),ve.movementMode,Ze,ye.isClone,et,Je,je)}if(ve.phase==="DROP_ANIMATING"){var Ve=ve.completed;if(Ve.result.draggableId!==ye.draggableId)return null;var st=ye.isClone,jt=ve.dimensions.draggables[ye.draggableId],ta=Ve.result,sa=ta.mode,fa=Js(ta),Ma=Md(ta),Va=ve.dropDuration,Xa={duration:Va,curve:tr.drop,moveTo:ve.newHomeClientOffset,opacity:Ma?wr.opacity.drop:null,scale:Ma?wr.scale.drop:null};return{mapped:{type:"DRAGGING",offset:ve.newHomeClientOffset,dimension:jt,dropping:Xa,draggingOver:fa,combineWith:Ma,mode:sa,forceShouldAnimate:null,snapshot:ne(sa,st,fa,Ma,Xa)}}}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:or,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Xs(null)}};function Td(){var ee=St(function(ye,Fe){return{x:ye,y:Fe}}),ne=St(Xs),oe=St(function(ye,Fe,Ze){return Fe===void 0&&(Fe=null),{mapped:{type:"SECONDARY",offset:ye,combineTargetFor:Fe,shouldAnimateDisplacement:Ze,snapshot:ne(Fe)}}}),de=function(Fe){return Fe?oe(or,Fe,!0):null},fe=function(Fe,Ze,et,Je){var je=et.displaced.visible[Fe],Ve=!!(Je.inVirtualList&&Je.effected[Fe]),st=ii(et),jt=st&&st.draggableId===Fe?Ze:null;if(!je){if(!Ve)return de(jt);if(et.displaced.invisible[Fe])return null;var ta=wn(Je.displacedBy.point),sa=ee(ta.x,ta.y);return oe(sa,jt,!0)}if(Ve)return de(jt);var fa=et.displacedBy.point,Ma=ee(fa.x,fa.y);return oe(Ma,jt,je.shouldAnimate)},ve=function(Fe,Ze){if(Fe.isDragging)return Fe.critical.draggable.id===Ze.draggableId?null:fe(Ze.draggableId,Fe.critical.draggable.id,Fe.impact,Fe.afterCritical);if(Fe.phase==="DROP_ANIMATING"){var et=Fe.completed;return et.result.draggableId===Ze.draggableId?null:fe(Ze.draggableId,et.result.draggableId,et.impact,et.afterCritical)}return null};return ve}var Zd=function(){var ne=kd(),oe=Td(),de=function(ve,ye){return ne(ve,ye)||oe(ve,ye)||_d};return de},Gd={dropAnimationFinished:Fa},jd=an(Zd,Gd,null,{context:ja,pure:!0,areStatePropsEqual:Ks})(Od);function qs(ee){var ne=Bs(ks),oe=ne.isUsingCloneFor;return oe===ee.draggableId&&!ee.isClone?null:b.createElement(jd,ee)}function Hd(ee){var ne=typeof ee.isDragDisabled=="boolean"?!ee.isDragDisabled:!0,oe=!!ee.disableInteractiveElementBlocking,de=!!ee.shouldRespectForcePress;return b.createElement(qs,(0,Ae.Z)({},ee,{isClone:!1,isEnabled:ne,canDragInteractiveElements:oe,shouldRespectForcePress:de}))}function zd(ee){var ne=(0,b.useContext)(_i);ne||Vt(!1);var oe=ne.contextId,de=ne.isMovementAllowed,fe=(0,b.useRef)(null),ve=(0,b.useRef)(null),ye=ee.children,Fe=ee.droppableId,Ze=ee.type,et=ee.mode,Je=ee.direction,je=ee.ignoreContainerClipping,Ve=ee.isDropDisabled,st=ee.isCombineEnabled,jt=ee.snapshot,ta=ee.useClone,sa=ee.updateViewportMaxScroll,fa=ee.getContainerForClone,Ma=yn(function(){return fe.current},[]),Va=yn(function(Sl){fe.current=Sl},[]),Xa=yn(function(){return ve.current},[]),$r=yn(function(Sl){ve.current=Sl},[]);Pd({props:ee,getDroppableRef:Ma,getPlaceholderRef:Xa});var Hr=yn(function(){de()&&sa({maxScroll:ei()})},[de,sa]);gd({droppableId:Fe,type:Ze,mode:et,direction:Je,isDropDisabled:Ve,isCombineEnabled:st,ignoreContainerClipping:je,getDroppableRef:Ma});var bo=b.createElement(yd,{on:ee.placeholder,shouldAnimate:ee.shouldAnimatePlaceholder},function(Sl){var vu=Sl.onClose,cu=Sl.data,Kl=Sl.animate;return b.createElement(pd,{placeholder:cu,onClose:vu,innerRef:$r,animate:Kl,contextId:oe,onTransitionEnd:Hr})}),Ni=Zn(function(){return{innerRef:Va,placeholder:bo,droppableProps:{"data-rbd-droppable-id":Fe,"data-rbd-droppable-context-id":oe}}},[oe,Fe,bo,Va]),Lo=ta?ta.dragging.draggableId:null,Ii=Zn(function(){return{droppableId:Fe,type:Ze,isUsingCloneFor:Lo}},[Fe,Lo,Ze]);function cl(){if(!ta)return null;var Sl=ta.dragging,vu=ta.render,cu=b.createElement(qs,{draggableId:Sl.draggableId,index:Sl.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(Kl,pu){return vu(Kl,pu,Sl)});return Ta.createPortal(cu,fa())}return b.createElement(ks.Provider,{value:Ii},ye(Ni,jt),cl())}var Zs=function(ne,oe){return ne===oe.droppable.type},$s=function(ne,oe){return oe.draggables[ne.draggable.id]},Vd=function(){var ne={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},oe=(0,Ae.Z)({},ne,{shouldAnimatePlaceholder:!1}),de=St(function(ye){return{draggableId:ye.id,type:ye.type,source:{index:ye.index,droppableId:ye.droppableId}}}),fe=St(function(ye,Fe,Ze,et,Je,je){var Ve=Je.descriptor.id,st=Je.descriptor.droppableId===ye;if(st){var jt=je?{render:je,dragging:de(Je.descriptor)}:null,ta={isDraggingOver:Ze,draggingOverWith:Ze?Ve:null,draggingFromThisWith:Ve,isUsingPlaceholder:!0};return{placeholder:Je.placeholder,shouldAnimatePlaceholder:!1,snapshot:ta,useClone:jt}}if(!Fe)return oe;if(!et)return ne;var sa={isDraggingOver:Ze,draggingOverWith:Ve,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:Je.placeholder,shouldAnimatePlaceholder:!0,snapshot:sa,useClone:null}}),ve=function(Fe,Ze){var et=Ze.droppableId,Je=Ze.type,je=!Ze.isDropDisabled,Ve=Ze.renderClone;if(Fe.isDragging){var st=Fe.critical;if(!Zs(Je,st))return oe;var jt=$s(st,Fe.dimensions),ta=Bi(Fe.impact)===et;return fe(et,je,ta,ta,jt,Ve)}if(Fe.phase==="DROP_ANIMATING"){var sa=Fe.completed;if(!Zs(Je,sa.critical))return oe;var fa=$s(sa.critical,Fe.dimensions);return fe(et,je,Js(sa.result)===et,Bi(sa.impact)===et,fa,Ve)}if(Fe.phase==="IDLE"&&Fe.completed&&!Fe.shouldFlush){var Ma=Fe.completed;if(!Zs(Je,Ma.critical))return oe;var Va=Bi(Ma.impact)===et,Xa=!!(Ma.impact.at&&Ma.impact.at.type==="COMBINE"),$r=Ma.critical.droppable.id===et;return Va?Xa?ne:oe:$r?ne:oe}return oe};return ve},Wd={updateViewportMaxScroll:jn};function Ud(){return document.body||Vt(!1),document.body}var Qd={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:Ud},ed=an(Vd,Wd,null,{context:ja,pure:!0,areStatePropsEqual:Ks})(zd);ed.defaultProps=Qd},38486:function(Et,Mt){"use strict";var re;var b=60103,pe=60106,we=60107,Ae=60108,_e=60114,Ue=60109,De=60110,tt=60112,Me=60113,Le=60120,ke=60115,Ge=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"),pe=y("react.portal"),we=y("react.fragment"),Ae=y("react.strict_mode"),_e=y("react.profiler"),Ue=y("react.provider"),De=y("react.context"),tt=y("react.forward_ref"),Me=y("react.suspense"),Le=y("react.suspense_list"),ke=y("react.memo"),Ge=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(Ye){if(typeof Ye=="object"&&Ye!==null){var We=Ye.$$typeof;switch(We){case b:switch(Ye=Ye.type,Ye){case we:case _e:case Ae:case Me:case Le:return Ye;default:switch(Ye=Ye&&Ye.$$typeof,Ye){case De:case tt:case Ge:case ke:case Ue:return Ye;default:return We}}case pe:return We}}}var te=Ue,ae=b,se=tt,ie=we,he=Ge,be=ke,He=pe,Ne=_e,dt=Ae,Re=Me;re=De,re=te,re=ae,re=se,re=ie,re=he,re=be,re=He,re=Ne,re=dt,re=Re,re=function(){return!1},re=function(){return!1},Mt.isContextConsumer=function(Ye){return z(Ye)===De},re=function(Ye){return z(Ye)===Ue},re=function(Ye){return typeof Ye=="object"&&Ye!==null&&Ye.$$typeof===b},re=function(Ye){return z(Ye)===tt},re=function(Ye){return z(Ye)===we},re=function(Ye){return z(Ye)===Ge},re=function(Ye){return z(Ye)===ke},re=function(Ye){return z(Ye)===pe},re=function(Ye){return z(Ye)===_e},re=function(Ye){return z(Ye)===Ae},re=function(Ye){return z(Ye)===Me},re=function(Ye){return typeof Ye=="string"||typeof Ye=="function"||Ye===we||Ye===_e||Ye===a||Ye===Ae||Ye===Me||Ye===Le||Ye===x||typeof Ye=="object"&&Ye!==null&&(Ye.$$typeof===Ge||Ye.$$typeof===ke||Ye.$$typeof===Ue||Ye.$$typeof===De||Ye.$$typeof===tt||Ye.$$typeof===E||Ye.$$typeof===Ke||Ye[0]===le)},re=z},53410:function(Et,Mt,re){"use strict";Et.exports=re(38486)},32637:function(Et,Mt,re){"use strict";Et.exports=re.p+"static/AssistantCode3.a8740efb.jpeg"},73631:function(Et){"use strict";Et.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAZxJREFUOBGtlL1Ow0AMgH2XUIkOLFXVASgTsDHxBIAEzAwMPBQjT8AATGVBgEBCYmHmFcICYmBogCbNYSe52HUTVZWwFJ3PP599Z+WMcy6Af5SwYkWnLYifTyBzq5XNK8YNwbbvYP381ZuaVlN1+HJwAc4d1QYaA+gDsHYANrhGHTdCMtSDMILtwSMDn7ZiANPKwyjeQ0Reo4r1gEoEwRkDb7spdPcBeocMk1Cv00oii5L+fgPwcR/zHfb3AJY2sEpUVLOUhB/l+w7I1iS9TYDFrM3AzhqGDstPZ3li2Z12U2WLvk4fGJh+F0elYN8ZrbWiA7igAP4WR6sFzDAKPgPHP0VnlMsFS5IyyIGoeAamCKybYI5UQLWVE2fgGI/s72wqQXRd9jyxiHgGJtihFxGQm8Qd5XvtF3fEQOrQH9mDm1Z9hyJuEphXIq9uSWSQqv8a4RbAUTFdcs7gifwplYGjT3wzbPFz6Q70EZv8WZoxMP66ApMc86inirNBA8njcFIuvOTXhowPyzuQJiukzi3hQgS7b+I9nJtQn/AHsLGsvlcPPWsAAAAASUVORK5CYII="},5623:function(Et){"use strict";Et.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAedJREFUOBGtVDtLA0EQ/jY5z7dgEBVJLHyAitpYWQqKjVZa5BfEKpWlWPgrLG0UEdTexkILRUQ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