diff --git a/index.html b/index.html index e99bb2de0f..6759658505 100644 --- a/index.html +++ b/index.html @@ -172,7 +172,7 @@ display: block !important; } - + \ No newline at end of file diff --git a/p__Classrooms__Lists__Exercise__Add__index.0627892d.async.js b/p__Classrooms__Lists__Exercise__Add__index.ad93a18b.async.js similarity index 63% rename from p__Classrooms__Lists__Exercise__Add__index.0627892d.async.js rename to p__Classrooms__Lists__Exercise__Add__index.ad93a18b.async.js index 765067386a..7fb5e4b734 100644 --- a/p__Classrooms__Lists__Exercise__Add__index.0627892d.async.js +++ b/p__Classrooms__Lists__Exercise__Add__index.ad93a18b.async.js @@ -1,6 +1,6 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[292],{87169:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return tt}});var b=oe(72308),he=oe(59301),De={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},Ae=De,ke=oe(7657),ze=function(Le,_e){return he.createElement(ke.Z,(0,b.Z)({},Le,{ref:_e,icon:Ae}))},xe=he.forwardRef(ze),tt=xe},12893:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return tt}});var b=oe(72308),he=oe(59301),De={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},Ae=De,ke=oe(7657),ze=function(Le,_e){return he.createElement(ke.Z,(0,b.Z)({},Le,{ref:_e,icon:Ae}))},xe=he.forwardRef(ze),tt=xe},32134:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return tt}});var b=oe(72308),he=oe(59301),De={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},Ae=De,ke=oe(7657),ze=function(Le,_e){return he.createElement(ke.Z,(0,b.Z)({},Le,{ref:_e,icon:Ae}))},xe=he.forwardRef(ze),tt=xe},25346:function(yt,_t){"use strict";_t.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},59489:function(yt,_t){"use strict";_t.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"}},62775:function(yt,_t){"use strict";_t.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"}},12099:function(yt,_t,oe){"use strict";var b=oe(59301),he=Object.defineProperty,De=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,ze=(Me,Le,_e)=>Le in Me?he(Me,Le,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Me[Le]=_e,xe=(Me,Le)=>{for(var _e in Le||(Le={}))Ae.call(Le,_e)&&ze(Me,_e,Le[_e]);if(De)for(var _e of De(Le))ke.call(Le,_e)&&ze(Me,_e,Le[_e]);return Me};const tt=Me=>React.createElement("svg",xe({width:14,height:13,xmlns:"http://www.w3.org/2000/svg"},Me),React.createElement("title",null,"\u6D4B\u8BD5AI\u8BC4\u5206"),React.createElement("path",{d:"M5.19 1.488a2.133 2.133 0 0 1 3.62 0l.96 1.54a.25.25 0 0 0 .152.11l1.76.437a2.133 2.133 0 0 1 1.12 3.443l-1.234 1.465.136 1.912a2.133 2.133 0 0 1-1.823 2.263l-.152.016a2.133 2.133 0 0 1-.954-.15l-1.681-.683a.25.25 0 0 0-.188 0l-1.681.682a2.133 2.133 0 0 1-2.93-2.128l.13-1.81a.25.25 0 0 0-.058-.178L1.198 7.018a2.133 2.133 0 0 1 1.12-3.443l1.76-.436a.25.25 0 0 0 .152-.11Zm2.053.543a.633.633 0 0 0-.78.25l-.96 1.54a1.75 1.75 0 0 1-1.064.774l-1.761.436a.633.633 0 0 0-.332 1.022L3.514 7.44c.294.348.44.797.407 1.251l-.13 1.81a.633.633 0 0 0 .87.631l1.681-.682a1.75 1.75 0 0 1 1.316 0l1.681.682a.633.633 0 0 0 .87-.631l-.18-2.518 1.625-1.931a.633.633 0 0 0-.332-1.022l-1.761-.436a1.75 1.75 0 0 1-1.065-.774l-.959-1.54a.633.633 0 0 0-.203-.203Zm1.544 5.23a.75.75 0 0 1 .102 1.493l-.102.007H5.362a.75.75 0 0 1-.102-1.494l.102-.006h3.425Z",fill:"#3061D0",fillRule:"nonzero"}));_t.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUuMTkgMS40ODhhMi4xMzMgMi4xMzMgMCAwIDEgMy42MiAwbC45NiAxLjU0YS4yNS4yNSAwIDAgMCAuMTUyLjExbDEuNzYuNDM3YTIu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ybyIvPjwvc3ZnPg=="},79751:function(yt,_t,oe){"use strict";var b=oe(59301),he=Object.defineProperty,De=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,ze=(Me,Le,_e)=>Le in Me?he(Me,Le,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Me[Le]=_e,xe=(Me,Le)=>{for(var _e in Le||(Le={}))Ae.call(Le,_e)&&ze(Me,_e,Le[_e]);if(De)for(var _e of De(Le))ke.call(Le,_e)&&ze(Me,_e,Le[_e]);return Me};const tt=Me=>React.createElement("svg",xe({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Me),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143z",fill:"#98BDF7"}),React.createElement("path",{d:"m248.686 803.182-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#145DFF"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#98BDF7"}));_t.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},94890:function(yt,_t,oe){"use strict";var b=oe(59301),he=Object.defineProperty,De=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,ze=(Me,Le,_e)=>Le in Me?he(Me,Le,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Me[Le]=_e,xe=(Me,Le)=>{for(var _e in Le||(Le={}))Ae.call(Le,_e)&&ze(Me,_e,Le[_e]);if(De)for(var _e of De(Le))ke.call(Le,_e)&&ze(Me,_e,Le[_e]);return Me};const tt=Me=>React.createElement("svg",xe({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Me),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143zM248.686 803.182l-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#98BDF7"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#145DFF"}));_t.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},74042:function(){"use strict";function yt(le,E,a,x){a===void 0&&(a=0),x===void 0&&(x=1/0),this._name=le,this._defaultValue=E,this._minimum=a,this._maximum=x}Object.defineProperty(yt.prototype,"name",{get:function(){return this._name},set:function(le){if(typeof le!="string"||le==="")throw new Error("Shape name must be a valid string.");this._name=le}}),Object.defineProperty(yt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("The default value must be a real number, not: "+le);this._defaultValue=le}}),Object.defineProperty(yt.prototype,"minimum",{get:function(){return this._minimum},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("Minimum must be a real number, not: "+le);this._minimum=le}}),Object.defineProperty(yt.prototype,"maximum",{get:function(){return this._maximum},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("Maximum must be a real number, not: "+le);this._maximum=le}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(le,E){var a=go.Shape._FigureParameters[le];return a?a[E]:null},go.Shape.setFigureParameter=function(le,E,a){if(!(a instanceof yt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValuea.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 _t=[];function oe(le,E){var a=_t.pop();return a===void 0?new go.Point(le,E):(a.x=le,a.y=E,a)}function b(){var le=_t.pop();return le===void 0?new go.Point:le}function he(le){_t.push(le)}function De(le,E,a,x,y,z,te,ae,se){se||(se=new go.Point);var ie=le-a,Se=y-te,be=NaN,We=NaN;if(ie===0)if(Se===0)le===a&&(be=le,We=E);else{var Ne=(z-ae)/Se,mt=z-Ne*y;be=le,We=Ne*be+mt}else if(Se===0){var Re=(E-x)/ie,Xe=E-Re*le;be=y,We=Re*be+Xe}else{var Re=(E-x)/ie,Ne=(z-ae)/Se,Xe=E-Re*le,mt=z-Ne*y;be=(mt-Xe)/(Re-Ne),We=Re*be+Xe}return se.x=be,se.y=We,se}function Ae(le,E,a,x,y,z,te,ae,se,ie,Se,be,We,Ne){var mt=1-se,Re=se,Xe=le*mt+a*Re,Qe=E*mt+x*Re,et=a*mt+y*Re,we=x*mt+z*Re,ht=y*mt+te*Re,ct=z*mt+ae*Re,It=Xe*mt+et*Re,gt=Qe*mt+we*Re,Pn=et*mt+ht*Re,an=we*mt+ct*Re,Wt=It*mt+Pn*Re,Tt=gt*mt+an*Re;ie.x=Xe,ie.y=Qe,Se.x=It,Se.y=gt,be.x=Wt,be.y=Tt,We.x=Pn,We.y=an,Ne.x=ht,Ne.y=ct}var ke=new go.Spot(.156,.156),ze=new go.Spot(.844,.844),xe=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new yt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,E/3),x=Math.min(x,a/3);var y=x*xe,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,E-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-y,0,E,y)).add(new go.PathSegment(go.PathSegment.Line,E,a-x)).add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,a-y,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,x,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,y,a,0,a-y)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()));return y>1&&(z.spot1=new go.Spot(0,0,y,y),z.spot2=new go.Spot(1,1,-y,-y)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=a/2,x.endX=E,x.endY=a/2,x}),go.Shape.defineFigureGenerator("LineV",function(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E/2,x.startY=0,x.endX=E/2,x.endY=a,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LineRight",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.25*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)))}),go.Shape.defineFigureGenerator("LineDown",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Line,E,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.75*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,a)))}),go.Shape.defineFigureGenerator("LineUp",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,E,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(le,E,a){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*E,(1-x)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(le,E,a){var x=E/2,y=new go.Geometry().add(new go.PathFigure(E,E/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return y.spot1=ke,y.spot2=ze,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=E,x.endY=a,x}),go.Shape.defineFigureGenerator("Line2",function(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E,x.startY=0,x.endX=0,x.endY=a,x}),go.Shape.defineFigureGenerator("Curve1",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,xe*E,0,E,(1-xe)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,0,xe*a,(1-xe)*E,a)))}),go.Shape.defineFigureGenerator("Curve3",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,xe*a,xe*E,a)))}),go.Shape.defineFigureGenerator("Curve4",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-xe)*E,0,0,(1-xe)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new yt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var y=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),yE&&(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.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())),yE&&(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())),yE&&(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())),y0&&(te.add(new go.PathSegment(go.PathSegment.Move,E/2+ae,E/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,ae,ae).close())),z.spot1=ke,z.spot2=ze,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.08034461*E,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*E,.05349299*a,-.09239631*E,.07836421*a,.1406031*E,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*E,.074219*a,.2450511*E,-.00697547*a,.3776197*E,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*E,.07004196*a,.4539471*E,0,.6066018*E,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*E,.08370865*a,.6914277*E,-.01904177*a,.8921095*E,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*E,.3194596*a,1.036446*E,.04105738*a,1.020377*E,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*E,.562044*a,1.04448*E,.360238*a,.992256*E,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*E,.8217117*a,1.032337*E,.5771781*a,1.018411*E,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*E,.9156953*a,1.028411*E,.9571472*a,.8556702*E,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*E,.9310455*a,.7431877*E,1.009325*a,.5624123*E,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*E,.9344623*a,.4820677*E,1.031761*a,.3030112*E,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.870098*a,.2329994*E,1.01518*a,.03213784*E,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*E,.6545475*a,-.02812061*E,.9032597*a,-.01205169*E,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*E,.4265613*a,-.01812061*E,.6089503*a,-.00606892*E,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.1944299*a,-.01606892*E,.3892545*a,-.01205169*E,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(le,E,a){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,x*a).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new yt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new yt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(le,E,a){var x=le?le.parameter1:NaN,y=le?le.parameter2:NaN;isNaN(x)&&(x=0),isNaN(y)&&(y=315);var z=x%360;z<0&&(z+=360);var te=y%360,ae=Math.min(E,a)/2;return new go.Geometry().add(new go.PathFigure(ae,ae).add(new go.PathSegment(go.PathSegment.Arc,z,te,ae,ae,ae,ae).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(le,E,a){var x=xe/Math.SQRT2*.5,y=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*E,z*a,E,(1-x)*a,(y+x)*E,(z+x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new yt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var y=Math.min(x,E)/2,z=E/2,te=a/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,te-y)).add(new go.PathSegment(go.PathSegment.Line,E,te-y)).add(new go.PathSegment(go.PathSegment.Line,E,te+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,te+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,te+y)).add(new go.PathSegment(go.PathSegment.Line,0,te+y)).add(new go.PathSegment(go.PathSegment.Line,0,te-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,te-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new yt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=Math.min(x,E)/2,z=E/2,te=a/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,te-y)).add(new go.PathSegment(go.PathSegment.Line,E,te-y)).add(new go.PathSegment(go.PathSegment.Line,E,te+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,te+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,te+y)).add(new go.PathSegment(go.PathSegment.Line,0,te+y)).add(new go.PathSegment(go.PathSegment.Line,0,te-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,te-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new yt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(le,E,a){var x=le?le.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),E===0||a===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=E,y.endY=a,y}else{var z=E/2,te=a/2,ae=Math.atan2(a,E),se=x-Math.min(Math.cos(ae)*x/2,z),ie=x-Math.min(Math.sin(ae)*x/2,te),y=new go.Geometry,Se=new go.PathFigure(se,0,!0);return y.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,z,.2*a)),Se.add(new go.PathSegment(go.PathSegment.Line,E-se,0)),Se.add(new go.PathSegment(go.PathSegment.Line,E,ie)),Se.add(new go.PathSegment(go.PathSegment.Line,.8*E,te)),Se.add(new go.PathSegment(go.PathSegment.Line,E,a-ie)),Se.add(new go.PathSegment(go.PathSegment.Line,E-se,a)),Se.add(new go.PathSegment(go.PathSegment.Line,z,.8*a)),Se.add(new go.PathSegment(go.PathSegment.Line,se,a)),Se.add(new go.PathSegment(go.PathSegment.Line,0,a-ie)),Se.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),Se.add(new go.PathSegment(go.PathSegment.Line,0,ie).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new yt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=new go.Geometry,z=new go.PathFigure(.1*E,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new yt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new yt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.5);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,a,Math.abs(1-x)*E,.25*a,Math.abs(1-x)*E,.75*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,xe*E,0,E,(.5-xe/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,(.5+xe/2)*a,xe*E,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,0,E,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*E,.75*a,.5*E,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*E,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,0,0,.45*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.55*E,0,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.5*a,.9*E,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*E,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.6*E,.2*a,E,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.7*a,E,.8*a,.6*E,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,.5*E,.75*a,.55*E,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.7*a,.45*E,.95*a,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*E,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*E,.01*a,0,.25*a,.4*E,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.4*E,.6*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*E,a,.5*E,.75*a,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.6*a,.55*E,.95*a,.5*E,.75*a));var z=.2,te=.3,ae=0,se=z*xe;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5+z+ae)*a,(.5-z+te)*E,(.5+se+ae)*a,(.5-se+te)*E,(.5+z+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*E,(.5+ae)*a,(.5+se+te)*E,(.5+z+ae)*a,(.5+z+te)*E,(.5+se+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+ae)*a,(1-.5+z+te)*E,(.5-se+ae)*a,(.5+se+te)*E,(.5-z+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*E,.36771243*a,(.5-se+te)*E,(.5-z+ae)*a,(.5-z+te+.05)*E,(.5-se+ae-.02)*a)),z=.2,te=0,ae=-.3,se=z*xe,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*E,(.5+ae)*a,(.5+se+te)*E,(.5+z+ae)*a,(.5+z+te)*E,(.5+se+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+ae)*a,(1-.5+z+te)*E,(.5-se+ae)*a,(.5+se+te)*E,(.5-z+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*E,(.5+ae)*a,(.5-se+te)*E,(.5-z+ae)*a,(.5-z+te)*E,(.5-se+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-se+te)*E,(.5+z+ae)*a,(.5-z+te)*E,(.5+se+ae)*a,(.5-se+te)*E,(.5+z+ae)*a)),z=.2,te=-.3,ae=0,se=z*xe,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+ae)*a,(1-.5+z+te-.05)*E,(.5-se+ae-.02)*a,(.5+se+te)*E,(.5-z+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*E,(.5+ae)*a,(.5-se+te)*E,(.5-z+ae)*a,(.5-z+te)*E,(.5-se+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5+z+ae)*a,(.5-z+te)*E,(.5+se+ae)*a,(.5-se+te)*E,(.5+z+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.6*a,(.5+se+te)*E,(.5+z+ae)*a,(.5+z+te)*E,(.5+se+ae)*a).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.5,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*.5,E*.5,E*.5,E*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,E*.5,E*.75,E*.25,E*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,E*.5,E*.25,E*.25,E*.25));var z=.1,te=.5,ae=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(te+z)*E,ae*a)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E*te,a*ae,z*E,z*E).close()),y=new go.PathFigure(E*.5,0,!1),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*.5,E*.5,E*.5,E*.5)),ae=.75,y=new go.PathFigure((te+z)*E,ae*a,!0),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,E*te,a*ae,z*E,z*E).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(le,E,a){var x=.8535533905932737,y=.5*E,z=.5*a;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,z,y,z)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,x*E,x*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=.5,te=.5,ae=.5,se=new go.PathFigure(te*E,(ae-z)*a);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-z)*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),z=.4,y=xe*.4;var ie=b(),Se=b(),be=b(),We=b();Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.42,ie,Se,be,We,We);var Ne=b(),mt=b(),Re=b();Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.58,We,We,Re,Ne,mt);var Xe=b(),Qe=b(),et=b();Ae(te,ae+z,te-y,ae+z,te-z,ae+y,te-z,ae,.42,Xe,Qe,et,We,We);var we=b(),ht=b(),ct=b();return Ae(te,ae+z,te-y,ae+z,te-z,ae+y,te-z,ae,.58,We,We,ct,we,ht),se.add(new go.PathSegment(go.PathSegment.Move,ct.x*E,ct.y*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,we.x*E,we.y*a,ht.x*E,ht.y*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-z)*a,(te-z)*E,(ae-y)*a,(te-y)*E,(ae-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,be.x*E,be.y*a,ie.x*E,ie.y*a,Se.x*E,Se.y*a)),se.add(new go.PathSegment(go.PathSegment.Line,ct.x*E,ct.y*a).close()),se.add(new go.PathSegment(go.PathSegment.Move,et.x*E,et.y*a)),se.add(new go.PathSegment(go.PathSegment.Line,Re.x*E,Re.y*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,Ne.x*E,Ne.y*a,mt.x*E,mt.y*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te+z)*E,(ae+y)*a,(te+y)*E,(ae+z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,et.x*E,et.y*a,Xe.x*E,Xe.y*a,Qe.x*E,Qe.y*a).close()),he(ie),he(Se),he(be),he(We),he(Ne),he(mt),he(Re),he(Xe),he(Qe),he(et),he(we),he(ht),he(ct),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*E,0)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*E,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.5*a,E,.25*a,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new yt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>E&&(x=E);var y=(E-x)/2,z=y+x;return new go.Geometry().add(new go.PathFigure(z,.5*a).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*E,0)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(le,E,a){var x=new go.Geometry,y=xe*.4,z=.4,te=.5,ae=.5,se=b(),ie=b(),Se=b(),be=b(),We=new go.PathFigure((te-z)*E,ae*a,!1);x.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-z)*a,(te-z)*E,(ae-y)*a,(te-y)*E,(ae-z)*a)),Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.44,Se,be,ie,se,se),We.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*E,ie.y*a,Se.x*E,Se.y*a,be.x*E,be.y*a));var Ne=oe(ie.x,ie.y);Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.56,se,se,ie,Se,be);var mt=oe(ie.x,ie.y);We.add(new go.PathSegment(go.PathSegment.Line,(Ne.x*.1+.95*.9)*E,Ne.y*.1*a)),We.add(new go.PathSegment(go.PathSegment.Line,.85*E,Ne.y*.1*a)),We.add(new go.PathSegment(go.PathSegment.Line,.85*E,0)),We.add(new go.PathSegment(go.PathSegment.Line,E,0)),We.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),We.add(new go.PathSegment(go.PathSegment.Line,(mt.x*.1+.9)*E,.15*a)),We.add(new go.PathSegment(go.PathSegment.Line,(mt.x*.1+.9)*E,(mt.y*.1+.05*.9)*a)),We.add(new go.PathSegment(go.PathSegment.Line,mt.x*E,mt.y*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,Se.x*E,Se.y*a,be.x*E,be.y*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te+z)*E,(ae+y)*a,(te+y)*E,(ae+z)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,(te-y)*E,(ae+z)*a,(te-z)*E,(ae+y)*a)),z=.35,y=xe*.35;var Re=new go.PathFigure(te*E,(ae-z)*a,!1);x.add(Re),Re.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),Re.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),Re.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-z)*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a));var Xe=new go.PathFigure((te-z)*E,ae*a,!1);return x.add(Xe),he(se),he(ie),he(Se),he(be),he(Ne),he(mt),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(le,E,a){var x=new go.Geometry,y=.375,z=0,te=-.125,ae=y*xe,se=new go.PathFigure((.525+z)*E,(.5+y+te)*a,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+te)*a,(.5+ae+z)*E,(.5+y+te)*a,(.5+y+z)*E,(.5+ae+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+te)*a,(1-.5+y+z)*E,(.5-ae+te)*a,(.5+ae+z)*E,(.5-y+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+te)*a,(.5-ae+z)*E,(.5-y+te)*a,(.5-y+z)*E,(.5-ae+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*E,(.5+y+te)*a,(.5-y+z)*E,(.5+ae+te)*a,(.5-ae+z)*E,(.5+y+te)*a)),se.add(new go.PathSegment(go.PathSegment.Line,.475*E,.85*a)),se.add(new go.PathSegment(go.PathSegment.Line,.425*E,.85*a)),se.add(new go.PathSegment(go.PathSegment.Line,.425*E,.9*a)),se.add(new go.PathSegment(go.PathSegment.Line,.475*E,.9*a)),se.add(new go.PathSegment(go.PathSegment.Line,.475*E,a)),se.add(new go.PathSegment(go.PathSegment.Line,.525*E,a)),se.add(new go.PathSegment(go.PathSegment.Line,.525*E,.9*a)),se.add(new go.PathSegment(go.PathSegment.Line,.575*E,.9*a)),se.add(new go.PathSegment(go.PathSegment.Line,.575*E,.85*a)),se.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a).close()),y=.325,z=0,te=-.125,ae=y*xe;var se=new go.PathFigure((1-.5+y+z)*E,(.5+te)*a,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5+y+te)*a,(.5+y+z)*E,(.5+ae+te)*a,(.5+ae+z)*E,(.5+y+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+te)*a,(.5-ae+z)*E,(.5+y+te)*a,(.5-y+z)*E,(.5+ae+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+te)*a,(.5-y+z)*E,(.5-ae+te)*a,(.5-ae+z)*E,(.5-y+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+te)*a,(.5+ae+z)*E,(.5-y+te)*a,(1-.5+y+z)*E,(.5-ae+te)*a));var se=new go.PathFigure((.525+z)*E,(.5+y+te)*a,!1);return x.add(se),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(le,E,a){var x=le?le.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(le,E,a){var x=le?le.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(le,E,a){var x=new go.Geometry().add(new go.PathFigure(.5*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*E,.5*a,.5*E,.5*a)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(le,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(le,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new yt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new yt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var y=le?le.parameter2:NaN;isNaN(y)&&(y=.3);var z=(1-x)*E,te=(.5-y/2)*a,ae=(.5+y/2)*a,se=new go.Geometry,ie=new go.PathFigure(0,te,!0);se.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z,te)),ie.add(new go.PathSegment(go.PathSegment.Line,z,0)),ie.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,ae)),ie.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),se.spot1=new go.Spot(0,te/a);var Se=De(0,ae/a,1,ae/a,z/E,1,1,.5,b());return se.spot2=new go.Spot(Se.x,Se.y),he(Se),se}),go.Shape.setFigureParameter("Arrow2",0,new yt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new yt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=30),x>E&&(x=E);var y=le?le.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,a/2);var z=E-x,te=(a-y)/2,ae=te+y,se=new go.Geometry,ie=new go.PathFigure(0,te,!0);se.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z,te)),ie.add(new go.PathSegment(go.PathSegment.Line,z,0)),ie.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,ae)),ie.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),se.spot1=new go.Spot(0,te/a);var Se=De(0,ae/a,1,ae/a,z/E,1,1,.5,b());return se.spot2=new go.Spot(Se.x,Se.y),he(Se),se}),go.Shape.defineFigureGenerator("Chevron",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.214*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.786*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new yt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,ae=new go.PathFigure(E,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close());var se=De(0,.5,.3,0,0,y/a,.1,y/a,b());return te.spot1=new go.Spot(se.x,se.y),se=De(.7,1,1,.5,0,z/a,1,z/a,se),te.spot2=new go.Spot(se.x,se.y),he(se),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new yt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new yt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=40);var y=le?le.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-x)/2,te=z+x,ae=(a-y)/2,se=ae+y;(x>a||y>a)&&(y>x?(x=x*a/y,z=(a-x)/2,te=z+x,ae=0,se=a):(z=0,te=a,ae=0,se=a));var ie=new go.Geometry,Se=new go.PathFigure(E,.5*a,!0);ie.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.7*E,se)),Se.add(new go.PathSegment(go.PathSegment.Line,.7*E,te)),Se.add(new go.PathSegment(go.PathSegment.Line,.3*E,te)),Se.add(new go.PathSegment(go.PathSegment.Line,.3*E,se)),Se.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),Se.add(new go.PathSegment(go.PathSegment.Line,.3*E,ae)),Se.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),Se.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),Se.add(new go.PathSegment(go.PathSegment.Line,.7*E,ae).close());var be=De(0,.5,.3,ae/a,0,z/a,1,z/a,b());return ie.spot1=new go.Spot(be.x,be.y),be=De(.7,se/a,1,.5,0,te/a,1,te/a,be),ie.spot2=new go.Spot(be.x,be.y),he(be),ie}),go.Shape.setFigureParameter("IBeamArrow",0,new yt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,ae=new go.PathFigure(E,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(0,y/a);var se=De(.7,1,1,.5,0,z/a,1,z/a,b());return te.spot2=new go.Spot(se.x,se.y),he(se),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new yt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new yt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=40);var y=le?le.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-x)/2,te=z+x,ae=(a-y)/2,se=ae+y;(x>a||y>a)&&(y>x?(x=x*a/y,z=(a-x)/2,te=z+x,ae=0,se=a):(z=0,te=a,ae=0,se=a));var ie=new go.Geometry,Se=new go.PathFigure(E,.5*a,!0);ie.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.7*E,se)),Se.add(new go.PathSegment(go.PathSegment.Line,.7*E,te)),Se.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),Se.add(new go.PathSegment(go.PathSegment.Line,.2*E,se)),Se.add(new go.PathSegment(go.PathSegment.Line,0,se)),Se.add(new go.PathSegment(go.PathSegment.Line,0,ae)),Se.add(new go.PathSegment(go.PathSegment.Line,.2*E,ae)),Se.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),Se.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),Se.add(new go.PathSegment(go.PathSegment.Line,.7*E,ae).close()),ie.spot1=new go.Spot(0,z/a);var be=De(.7,se/a,1,.5,0,te/a,1,te/a,b());return ie.spot2=new go.Spot(be.x,be.y),he(be),ie}),go.Shape.setFigureParameter("Pointer",0,new yt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.1);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(x,.35);var te=De(.2,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(te.x,te.y),he(te),y}),go.Shape.setFigureParameter("RoundedPointer",0,new yt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),y.spot1=new go.Spot(x,.35);var te=De(0,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(te.x,te.y),he(te),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new yt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.4);var y=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,ae=new go.PathFigure(E,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ae.add(new go.PathSegment(go.PathSegment.Line,0,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(.2,.3);var se=De(.7,1,1,.5,0,z/a,1,z/a,b());return te.spot2=new go.Spot(se.x,se.y),he(se),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new yt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=50);var y=(a-x)/2,z=y+x;x>a&&(y=0,z=a);var te=new go.Geometry,ae=new go.PathFigure(E,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ae.add(new go.PathSegment(go.PathSegment.Line,0,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(.2,y/a);var se=De(.7,1,1,.5,0,z/a,1,z/a,b());return te.spot2=new go.Spot(se.x,se.y),he(se),te}),go.Shape.setFigureParameter("SquareArrow",0,new yt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.7);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(x,1),y}),go.Shape.defineFigureGenerator("Cone1",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=xe*.1,te=new go.PathFigure(0,.9*a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.9*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,a,.85/.9*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var z=new go.PathFigure(0,.9*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,.8*a,.85/.9*E,.8*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.3*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0).close());var z=new go.PathFigure(0,.3*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=xe*.5,te=new go.PathFigure(0,x,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,xe*x,(.5-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*E,x,(.5+z)*E,0,1*E,xe*x)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,1*a,1*E,a-xe*x,(.5+z)*E,1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,1*a,0,a-xe*x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x));var ae=new go.PathFigure(E,x,!1);return y.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,2*x,1*E,2*x-xe*x,(.5+z)*E,2*x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*E,2*x,0,2*x-xe*x)),y.spot1=new go.Spot(0,0,0,2*x),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=xe*.5,te=new go.PathFigure(0,a-x,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,xe*x,(.5-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,x,(.5+z)*E,0,E,xe*x)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,a-xe*x,(.5+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,a,0,a-xe*x));var ae=new go.PathFigure(0,a-x,!1);return y.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a-2*x,0,a-x-xe*x,(.5-z)*E,a-2*x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,E,a-x,(.5+z)*E,a-2*x,E,a-x-xe*x)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*x),y}),go.Shape.defineFigureGenerator("Cylinder3",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=xe*.5,te=new go.PathFigure(x,0,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-xe*x,0,E,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-xe*x,a)),te.add(new go.PathSegment(go.PathSegment.Line,x,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,xe*x,a,0,(.5+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,xe*x,0));var ae=new go.PathFigure(x,0,!1);return y.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*a,x+xe*x,0,2*x,(.5-z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,x,a,2*x,(.5+z)*a,x+xe*x,a)),y.spot1=new go.Spot(0,0,2*x,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=xe*.5,te=new go.PathFigure(E-x,0,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-xe*x,0,E,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-xe*x,a)),te.add(new go.PathSegment(go.PathSegment.Line,x,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,xe*x,a,0,(.5+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,xe*x,0)),te.add(new go.PathSegment(go.PathSegment.Line,E-x,0));var ae=new go.PathFigure(E-x,0,!1);return y.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,E-2*x,.5*a,E-x-xe*x,0,E-2*x,(.5-z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E-2*x,(.5+z)*a,E-x-xe*x,a)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*x,0),y}),go.Shape.defineFigureGenerator("Prism1",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,.25*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.25*E,.25*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.25*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(le,E,a){var x=new go.Geometry,y=.2,z=.1,te=xe*y,ae=xe*z,se=.5,ie=.1,Se=new go.PathFigure(se*E,(ie+z)*a,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(se-y)*E,ie*a,(se-te)*E,(ie+z)*a,(se-y)*E,(ie+ae)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-z)*a,(se-y)*E,(ie-ae)*a,(se-te)*E,(ie-z)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(se+y)*E,ie*a,(se+te)*E,(ie-z)*a,(se+y)*E,(ie-ae)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie+z)*a,(se+y)*E,(ie+ae)*a,(se+te)*E,(ie+z)*a));var be=.05,We=xe*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+We)*E,(ie-be)*a,(se+be)*E,(ie-We)*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.85*E,.35*a)),be=.025,We=xe*be,se=.825,ie=.35,Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-be)*a,(se+be)*E,(ie-We)*a,(se+We)*E,(ie-be)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(se-be)*E,ie*a,(se-We)*E,(ie-be)*a,(se-be)*E,(ie-We)*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a)),be=.05,We=xe*be,se=.5,ie=.7,Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-be)*a,(se+be)*E,(ie-We)*a,(se+We)*E,(ie-be)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(se-be)*E,ie*a,(se-We)*E,(ie-be)*a,(se-be)*E,(ie-We)*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.45*E,a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,.35*a)),be=.025,We=xe*be,se=.175,ie=.35,Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-be)*a,(se+be)*E,(ie-We)*a,(se+We)*E,(ie-be)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(se-be)*E,ie*a,(se-We)*E,(ie-be)*a,(se-be)*E,(ie-We)*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),be=.05,We=xe*be,se=.05,ie=.25,Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-be)*a,(se-be)*E,(ie-We)*a,(se-We)*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 yt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,z=new go.PathFigure(E,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),y.spot1=new go.Spot(0,x),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a));var z=new go.PathFigure(.5*E,.5*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,y*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),x}),go.Shape.defineFigureGenerator("Database",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=xe*.1,te=new go.PathFigure(E,.1*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var ae=new go.PathFigure(E,.1*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.3*a,0,(.2+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.4*a,E,(.3+z)*a,(.5+y)*E,.4*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-y)*E,.4*a,0,(.3+z)*a)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.9*a,.25*E,.1*a).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=xe*.1,te=new go.PathFigure(E,.1*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var ae=new go.PathFigure(E,.1*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.3*a,0,(.2+z)*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var z=xe*.2,te=new go.PathFigure(0,.2*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,0,(.2-z)*a,(.2-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.2*a,(.8+z)*E,0,E,(.2-z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,a,E,(.8+z)*a,(.8+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-z)*E,a,0,(.8+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var ae=new go.PathFigure(0,y*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,y*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),x}),go.Shape.defineFigureGenerator("Document",function(le,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(y*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,y*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(.1*E,.4*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.9*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.6*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Move,.4*E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.9*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.75*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a));var z=new go.PathFigure(E,.5*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a));var te=new go.PathFigure(E,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ae=new go.PathFigure(y*E,0,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),ae.add(new go.PathSegment(go.PathSegment.Move,0,z*a)),ae.add(new go.PathSegment(go.PathSegment.Line,E,z*a)),x}),go.Shape.defineFigureGenerator("Junction",function(le,E,a){var x=new go.Geometry,y=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,te=xe*.5,ae=.5,se=new go.PathFigure(E,ae*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,a,E,(ae+te)*a,(ae+te)*E,a)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,ae*a,(ae-te)*E,a,0,(ae+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,0,0,(ae-te)*a,(ae-te)*E,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,E,ae*a,(ae+te)*E,0,E,(ae-te)*a));var ie=new go.PathFigure((z+y)*E,(z+y)*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z*E,z*a)),ie.add(new go.PathSegment(go.PathSegment.Move,z*E,(z+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Line,(z+y)*E,z*a)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(le,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close());var z=new go.PathFigure(.1*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.75*a)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=.5,te=new go.PathFigure(.5*E,a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*E,.9*a,E,(z+y)*a,(z+y)*E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,y*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,(1-y)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(le,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.44*a,.96*E,.47*a,.93*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.54*a,.86*E,.57*a,.83*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*E,.4*a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,0).close());var z=new go.PathFigure(.1*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.44*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,.1*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close());var z=new go.PathFigure(.2*E,.1*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Move,.1*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.1);var z=1-y,te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close());var ae=new go.PathFigure(.5*y*E,y*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*E,y*a)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=.5,te=new go.PathFigure(E,z*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var ae=new go.PathFigure(E,.5*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(le,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.5*E,.6*a,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure((1-y)*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,y*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),x}),go.Shape.defineFigureGenerator("Process",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(y*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(0,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(y*E,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a));var te=new go.PathFigure(y*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),x.spot1=new go.Spot(y,0),x.spot2=new go.Spot(1-y,1),x}),go.Shape.defineFigureGenerator("Terminator",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,(1-y)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(.5+y)*E,0,E,(.5-y)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.5+y)*a,(.5+y)*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=.5,te=new go.PathFigure(E,z*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var ae=new go.PathFigure(E,z*a,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E,z*a));var se=new go.PathFigure(.8*E,.75*a,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.8*E,.25*a)),se.add(new go.PathSegment(go.PathSegment.Line,.6*E,.25*a)),se.add(new go.PathSegment(go.PathSegment.Line,.6*E,.75*a)),se.add(new go.PathSegment(go.PathSegment.Line,.4*E,.75*a)),se.add(new go.PathSegment(go.PathSegment.Line,.4*E,.25*a)),se.add(new go.PathSegment(go.PathSegment.Line,.2*E,.25*a)),se.add(new go.PathSegment(go.PathSegment.Line,.2*E,.75*a)),x}),go.Shape.defineFigureGenerator("Ground",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Move,.3*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),x}),go.Shape.defineFigureGenerator("Inverter",function(le,E,a){var x=new go.Geometry,y=xe*.1,z=.1,te=.9,ae=.5,se=new go.PathFigure(.8*E,.5*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,a)),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a));var ie=new go.PathFigure((te+z)*E,ae*a,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te+z)*E,(ae+y)*a,(te+y)*E,(ae+z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,(te-y)*E,(ae+z)*a,(te-z)*E,(ae+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-z)*a,(te-z)*E,(ae-y)*a,(te-y)*E,(ae-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,(te+y)*E,(ae-z)*a,(te+z)*E,(ae-y)*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=xe*.4,te=xe*.1,ae=.1,se=.9,ie=.5,Se=new go.PathFigure(.8*E,.5*a,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,.8*E,(.5+z)*a,(.4+y)*E,a)),Se.add(new go.PathSegment(go.PathSegment.Line,0,a)),Se.add(new go.PathSegment(go.PathSegment.Line,0,0)),Se.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),Se.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(.4+y)*E,0,.8*E,(.5-z)*a));var 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=xe*y,te=0,ae=.5,se=new go.PathFigure(.8*E,.5*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(te+z)*E,(ae-y)*a,.7*E,(ae-z)*a)),y=.1,z=xe*.1,te=.9,ae=.5;var ie=new go.PathFigure((te-y)*E,ae*a,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-y)*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,ae*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+y)*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,ae*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(le,E,a){var x=new go.Geometry,y=.5,z=xe*y,te=0,ae=.5,se=new go.PathFigure(0,0,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(te+z+z)*E,(ae-y)*a,.8*E,(ae-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*E,(ae+z)*a,(te+z+z)*E,(ae+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(le,E,a){var x=new go.Geometry,y=.5,z=xe*y,te=.2,ae=.5,se=new go.PathFigure(.1*E,0,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ie=new go.PathFigure(.8*E,.5*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.7*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(te+z)*E,(ae-y)*a,.7*E,(ae-z)*a)),y=.1,z=xe*.1,te=.9,ae=.5;var Se=new go.PathFigure((te-y)*E,ae*a,!0);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-y)*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,ae*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+y)*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,ae*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(le,E,a){var x=new go.Geometry,y=.5,z=xe*y,te=.2,ae=.5,se=new go.PathFigure(.1*E,0,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ie=new go.PathFigure(.2*E,0,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(te+z)*E,(ae-y)*a,.9*E,(ae-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.9*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Resistor",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),x}),go.Shape.defineFigureGenerator("Inductor",function(le,E,a){var x=new go.Geometry,y=xe*.1,z=.1,te=.1,ae=.5,se=new go.PathFigure((te-y*.5)*E,a,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-y)*E,a,(te-z)*E,0)),te=.3,se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+y)*E,a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-y)*E,a,(te-z)*E,0)),te=.5,se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+y)*E,a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-y)*E,a,(te-z)*E,0)),te=.7,se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+y)*E,a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-y)*E,a,(te-z)*E,0)),te=.9,se.add(new go.PathSegment(go.PathSegment.Bezier,(te+y*.5)*E,a,(te+z)*E,0,(te+y)*E,a)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=.5,te=.5,ae=.5,se=new go.PathFigure((te-z)*E,ae*a,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-z)*a,(te-z)*E,(ae-y)*a,(te-y)*E,(ae-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,(te+y)*E,(ae-z)*a,(te+z)*E,(ae-y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te+z)*E,(ae+y)*a,(te+y)*E,(ae+z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,(te-y)*E,(ae+z)*a,(te-z)*E,(ae+y)*a)),se.add(new go.PathSegment(go.PathSegment.Move,(te-z+.1)*E,ae*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z-.1)*E,ae*a,te*E,(ae-z)*a,te*E,(ae+z)*a)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Diode",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(le,E,a){var x=new go.Geometry,y=E,z=a;E=E*.38,a=a*.6;var te=xe*.8,ae=.8,se=0,ie=.5,Se=(y-E)/2,be=(z-a)/2,We=new go.PathFigure(se*E+Se,(ie+ae)*a+be,!0);x.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae)*E+Se,ie*a+be,(se-te)*E+Se,(ie+ae)*a+be,(se-ae)*E+Se,(ie+te)*a+be)),We.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie-ae)*a+be,(se-ae)*E+Se,(ie-te)*a+be,(se-te)*E+Se,(ie-ae)*a+be)),We.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae+te*.5)*E+Se,ie*a+be,se*E+Se,(ie-ae)*a+be,(se-ae+te*.5)*E+Se,(ie-te)*a+be)),We.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie+ae)*a+be,(se-ae+te*.5)*E+Se,(ie+te)*a+be,se*E+Se,(ie+ae)*a+be).close()),te=xe*.4,ae=.4,se=.2,ie=.5;var Ne=new go.PathFigure(se*E+Se,(ie+ae)*a+be,!0);x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae)*E+Se,ie*a+be,(se-te)*E+Se,(ie+ae)*a+be,(se-ae)*E+Se,(ie+te)*a+be)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie-ae)*a+be,(se-ae)*E+Se,(ie-te)*a+be,(se-te)*E+Se,(ie-ae)*a+be)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae+te*.5)*E+Se,ie*a+be,se*E+Se,(ie-ae)*a+be,(se-ae+te*.5)*E+Se,(ie-te)*a+be)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie+ae)*a+be,(se-ae+te*.5)*E+Se,(ie+te)*a+be,se*E+Se,(ie+ae)*a+be).close()),te=xe*.2,ae=.2,se=.5,ie=.5;var mt=new go.PathFigure((se-ae)*E+Se,ie*a+be,!0);x.add(mt),mt.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie-ae)*a+be,(se-ae)*E+Se,(ie-te)*a+be,(se-te)*E+Se,(ie-ae)*a+be)),mt.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae)*E+Se,ie*a+be,(se+te)*E+Se,(ie-ae)*a+be,(se+ae)*E+Se,(ie-te)*a+be)),mt.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie+ae)*a+be,(se+ae)*E+Se,(ie+te)*a+be,(se+te)*E+Se,(ie+ae)*a+be)),mt.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae)*E+Se,ie*a+be,(se-te)*E+Se,(ie+ae)*a+be,(se-ae)*E+Se,(ie+te)*a+be)),te=xe*.4,ae=.4,se=.8,ie=.5;var Re=new go.PathFigure(se*E+Se,(ie-ae)*a+be,!0);x.add(Re),Re.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae)*E+Se,ie*a+be,(se+te)*E+Se,(ie-ae)*a+be,(se+ae)*E+Se,(ie-te)*a+be)),Re.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie+ae)*a+be,(se+ae)*E+Se,(ie+te)*a+be,(se+te)*E+Se,(ie+ae)*a+be)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae-te*.5)*E+Se,ie*a+be,se*E+Se,(ie+ae)*a+be,(se+ae-te*.5)*E+Se,(ie+te)*a+be)),Re.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie-ae)*a+be,(se+ae-te*.5)*E+Se,(ie-te)*a+be,se*E+Se,(ie-ae)*a+be).close()),te=xe*.8,ae=.8,se=1,ie=.5;var Xe=new go.PathFigure(se*E+Se,(ie-ae)*a+be,!0);return x.add(Xe),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae)*E+Se,ie*a+be,(se+te)*E+Se,(ie-ae)*a+be,(se+ae)*E+Se,(ie-te)*a+be)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie+ae)*a+be,(se+ae)*E+Se,(ie+te)*a+be,(se+te)*E+Se,(ie+ae)*a+be)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae-te*.5)*E+Se,ie*a+be,se*E+Se,(ie+ae)*a+be,(se+ae-te*.5)*E+Se,(ie+te)*a+be)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie-ae)*a+be,(se+ae-te*.5)*E+Se,(ie-te)*a+be,se*E+Se,(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=xe*.4,z=.4,te=.5,ae=.5,se=b(),ie=b(),Se=b(),be=b();Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.5,se,se,ie,Se,be);var We=oe(ie.x,ie.y),Ne=new go.PathFigure(ie.x*E,ie.y*a,!0);x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,Se.x*E,Se.y*a,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,Se,be,ie,se,se),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*E,ie.y*a,Se.x*E,Se.y*a,be.x*E,be.y*a)),y=xe*.3,z=.3,Ae(te-z,ae,te-z,ae-y,te-y,ae-z,te,ae-z,.5,Se,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,Se.x*E,Se.y*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.5,se,se,ie,Se,be),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*E,ie.y*a,be.x*E,be.y*a,Se.x*E,Se.y*a).close());var Ne=new go.PathFigure(.45*E,0,!0);return x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.5*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,0).close()),he(se),he(ie),he(Se),he(be),he(We),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a/2,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,E/2,a/2,E/2,a/2));function z(te,ae,se){te.add(new go.PathSegment(go.PathSegment.Move,(.3+ae)*E,(.8+se)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ae)*E,(.5+se)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+ae)*E,(.5+se)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+ae)*E,(.8+se)*a).close())}return z(y,0,0),z(y,.4,0),z(y,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.2*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.37*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.11*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.04*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.49*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.37*a)),y.add(new go.PathSegment(go.PathSegment.Line,.63*E,.86*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.91*a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,.78*a)),y.add(new go.PathSegment(go.PathSegment.Line,.44*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.56*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*E,0,-.25*E,.63*a,.45*E,.44*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*E,.42*a,.48*E,.17*a,.54*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*E,.18*a,.59*E,.29*a,.58*E,.28*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,.6*a,.8*E,.34*a,.88*E,.43*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*E,.31*a,.87*E,.48*a,.88*E,.43*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,1.17*E,.76*a,.82*E,.8*a).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(le,E,a){var x=new go.Geometry,y=.5,z=0,te=0,ae=y*xe,se=.4*Math.SQRT2/2+.5,ie=.5-.5*Math.SQRT2/2,Se=1,be=.5,We=.5,Ne=0,mt=new go.PathFigure(se*E,(1-ie)*a,!1);return x.add(mt),mt.add(new go.PathSegment(go.PathSegment.Bezier,Se*E,be*a,Se*E,.7*a,Se*E,be*a)),mt.add(new go.PathSegment(go.PathSegment.Bezier,(We+z)*E,(Ne+z)*a,(.5+y+z)*E,(.5-ae+z)*a,(.5+ae+z)*E,(.5-y+z)*a)),mt.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+te)*a,(.5-ae+z)*E,(.5-y+te)*a,(.5-y+z)*E,(.5-ae+te)*a)),mt.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*E,.9*a,(.5-y+z)*E,(.5+ae+te)*a,(.5-ae+z)*E,.9*a)),mt.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*E,.8*a)),mt.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*E,.9*a)),mt.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*E,.95*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(E,a,!1);x.add(z);var te=new go.PathFigure(0,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.2*E,.35*a,.3*E,.35*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.7*E,.65*a,.8*E,.65*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var y=new go.PathFigure(0,.2*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.7*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,0,.6*E,.5*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,a,.4*E,.5*a,E,.5*a).close());var z=new go.PathFigure(.45*E,.73*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.73*a)),z.add(new go.PathSegment(go.PathSegment.Move,.38*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.63*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Move,.31*E,.27*a)),z.add(new go.PathSegment(go.PathSegment.Line,.56*E,.27*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(.335*E,(1-.555)*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.68*a,(1-.12)*E,.46*a,(1-.02)*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*E,(1-.555)*a,.02*E,.54*a,.12*E,.46*a)),z.add(new go.PathSegment(go.PathSegment.Line,.365*E,(1-.595)*a));var te=.5-.285,ae=.5,se=te,ie=Math.PI/4,Se=4*(1-Math.cos(ie))/(3*Math.sin(ie)),be=Se*.5,We=te,Ne=te,mt=Se*We,Re=Se*Ne;z.add(new go.PathSegment(go.PathSegment.Bezier,(ae-We)*E,se*a,(ae-(mt+We)/2)*E,(se+(Ne+Re)/2)*a,(ae-We)*E,(se+Re)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(se-Ne)*a,(ae-We)*E,(se-Re)*a,(ae-mt)*E,(se-Ne)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(ae+We)*E,se*a,(ae+mt)*E,(se-Ne)*a,(ae+We)*E,(se-Re)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*E,(1-.595)*a,(ae+We)*E,(se+Re)*a,(ae+(mt+We)/2)*E,(se+(Ne+Re)/2)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*E,(1-.595)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a));var Xe=new go.PathFigure(.2*E,a,!1);x.add(Xe),Xe.add(new go.PathSegment(go.PathSegment.Line,.2*E,.8*a));var Qe=new go.PathFigure(.8*E,a,!1);return x.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var z=new go.PathFigure(.2*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(E,a,!1);x.add(z);var te=new go.PathFigure(.1*E,a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Caution",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.05*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.8*a,0,a,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.1*a,.5*E,0,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,E,a,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,a));var z=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*E,.875*a)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*E,.875*a,z*E,z*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.325*a,.575*E,.725*a,.625*E,.375*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.75*a,.375*E,.375*a,.425*E,.725*a)),x}),go.Shape.defineFigureGenerator("Recycle",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.45*E,.95*a,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*E,.85*a,.17*E,.95*a,.15*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.235*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.625*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,.275*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.575*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*E,.95*a,0,.675*a,0,.7*a)),y.add(new go.PathSegment(go.PathSegment.Move,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.775*a)),y.add(new go.PathSegment(go.PathSegment.Line,.22*E,.775*a));var z=new go.PathFigure(.475*E,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.225*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.275*E,.175*a)),z.add(new go.PathSegment(go.PathSegment.Line,.325*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.05*a,.35*E,0,.375*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*E,.375*a)),z.add(new go.PathSegment(go.PathSegment.Line,.525*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.475*a)),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.315*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.32*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,0,.65*E,.05*a,.625*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*E,.0105*a));var te=new go.PathFigure(.675*E,.575*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.875*E,.525*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.85*E,.95*a,E,.8*a,E,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.95*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.725*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Move,.675*E,.575*a)),te.add(new go.PathSegment(go.PathSegment.Line,.775*E,.775*a)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(le,E,a){var x=new go.Geometry,y=.5,z=xe*.5,te=new go.PathFigure(E,y*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,y*E,a,E,(y+z)*a,(y+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y*a,(y-z)*E,a,0,(y+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,y*E,0,0,(y-z)*a,(y-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,y*a,(y+z)*E,0,E,(y-z)*a));var ae=new go.PathFigure(y*E,0,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*E,.15*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,y*E,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Move,0,y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.15*E,y*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.85*E,y*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.58*E,.1*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.78*E,.54*a)),x}),go.Shape.defineFigureGenerator("Package",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.15*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,.15*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.15*a).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var te=new go.PathFigure(0,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Component",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close());var z=new go.PathFigure(0,.2*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var te=new go.PathFigure(0,.6*a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.45*E,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.15*E,.6*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a));var z=new go.PathFigure(.15*E,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(E,.8*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.8*a).close());var te=.1,ae=xe*.1,se=.2,ie=.9,Se=new go.PathFigure((se-te)*E,ie*a,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-te)*a,(se-te)*E,(ie-ae)*a,(se-ae)*E,(ie-te)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(se+te)*E,ie*a,(se+ae)*E,(ie-te)*a,(se+te)*E,(ie-ae)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie+te)*a,(se+te)*E,(ie+ae)*a,(se+ae)*E,(ie+te)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(se-te)*E,ie*a,(se-ae)*E,(ie+te)*a,(se-te)*E,(ie+ae)*a).close()),te=.1,ae=xe*.1,se=.8,ie=.9;var 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=xe*.1,Se=.1,be=.9,We=new go.PathFigure((Se-se)*E,be*a,!0);x.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,Se*E,(be-se)*a,(Se-se)*E,(be-ie)*a,(Se-ie)*E,(be-se)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Se+se)*E,be*a,(Se+ie)*E,(be-se)*a,(Se+se)*E,(be-ie)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,Se*E,(be+se)*a,(Se+se)*E,(be+ie)*a,(Se+ie)*E,(be+se)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Se-se)*E,be*a,(Se-ie)*E,(be+se)*a,(Se-se)*E,(be+ie)*a)),se=.1,ie=xe*.1,Se=.4,be=.9;var Ne=new go.PathFigure((Se-se)*E,be*a,!0);return x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,Se*E,(be-se)*a,(Se-se)*E,(be-ie)*a,(Se-ie)*E,(be-se)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(Se+se)*E,be*a,(Se+ie)*E,(be-se)*a,(Se+se)*E,(be-ie)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,Se*E,(be+se)*a,(Se+se)*E,(be+ie)*a,(Se+ie)*E,(be+se)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(Se-se)*E,be*a,(Se-ie)*E,(be+se)*a,(Se-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 Se=.05,be=xe*.05,We=.175,Ne=.95,ae=new go.PathFigure((We-Se)*E,Ne*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ne-Se)*a,(We-Se)*E,(Ne-be)*a,(We-be)*E,(Ne-Se)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(We+Se)*E,Ne*a,(We+be)*E,(Ne-Se)*a,(We+Se)*E,(Ne-be)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ne+Se)*a,(We+Se)*E,(Ne+be)*a,(We+be)*E,(Ne+Se)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(We-Se)*E,Ne*a,(We-be)*E,(Ne+Se)*a,(We-Se)*E,(Ne+be)*a));var Se=.05,be=xe*.05,We=.375,Ne=.95,se=new go.PathFigure((We-Se)*E,Ne*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ne-Se)*a,(We-Se)*E,(Ne-be)*a,(We-be)*E,(Ne-Se)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(We+Se)*E,Ne*a,(We+be)*E,(Ne-Se)*a,(We+Se)*E,(Ne-be)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ne+Se)*a,(We+Se)*E,(Ne+be)*a,(We+be)*E,(Ne+Se)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(We-Se)*E,Ne*a,(We-be)*E,(Ne+Se)*a,(We-Se)*E,(Ne+be)*a));var Se=.05,be=xe*.05,We=.625,Ne=.95,ie=new go.PathFigure((We-Se)*E,Ne*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ne-Se)*a,(We-Se)*E,(Ne-be)*a,(We-be)*E,(Ne-Se)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(We+Se)*E,Ne*a,(We+be)*E,(Ne-Se)*a,(We+Se)*E,(Ne-be)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ne+Se)*a,(We+Se)*E,(Ne+be)*a,(We+be)*E,(Ne+Se)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(We-Se)*E,Ne*a,(We-be)*E,(Ne+Se)*a,(We-Se)*E,(Ne+be)*a));var Se=.05,be=xe*.05,We=.825,Ne=.95,mt=new go.PathFigure((We-Se)*E,Ne*a,!0);x.add(mt),mt.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ne-Se)*a,(We-Se)*E,(Ne-be)*a,(We-be)*E,(Ne-Se)*a)),mt.add(new go.PathSegment(go.PathSegment.Bezier,(We+Se)*E,Ne*a,(We+be)*E,(Ne-Se)*a,(We+Se)*E,(Ne-be)*a)),mt.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ne+Se)*a,(We+Se)*E,(Ne+be)*a,(We+be)*E,(Ne+Se)*a)),mt.add(new go.PathSegment(go.PathSegment.Bezier,(We-Se)*E,Ne*a,(We-be)*E,(Ne+Se)*a,(We-Se)*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=xe*.05,ie=.35,Se=.775,be=new go.PathFigure((ie-ae)*E,Se*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(Se-ae)*a,(ie-ae)*E,(Se-se)*a,(ie-se)*E,(Se-ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ae)*E,Se*a,(ie+se)*E,(Se-ae)*a,(ie+ae)*E,(Se-se)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(Se+ae)*a,(ie+ae)*E,(Se+se)*a,(ie+se)*E,(Se+ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ae)*E,Se*a,(ie-se)*E,(Se+ae)*a,(ie-ae)*E,(Se+se)*a).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Globe",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.75*E,0,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.75*a,.75*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*E,a,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,.25*a,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,.15*E,.25*a,.15*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.85*E,.75*a,.85*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.15*a,.35*E,.3*a,.65*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.85*a,.35*E,.7*a,.65*E,.7*a)),x}),go.Shape.defineFigureGenerator("Wave",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.25*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.25*a,.1*E,0,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.25*a,.425*E,.5*a,.575*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.25*a,.8*E,0,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.75*a,.1*E,.5*a,.2*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.75*a,.425*E,a,.575*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.75*a,.8*E,.5*a,.9*E,.5*a)),x}),go.Shape.defineFigureGenerator("Operator",function(le,E,a){var x=new go.Geometry,y=.3,z=xe*.3,te=.5,ae=.7,se=new go.PathFigure((te-y)*E,ae*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-y)*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,ae*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+y)*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,ae*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a));var ie=new go.PathFigure(0,.7*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,E,.7*a,0,0,E,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.65*E,.3*a,.65*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.35*E,.5*a,.35*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*E,.6*a,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.2*E,a,.35*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,a,.7*E,.6*a,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.8*E,a,.65*E,.95*a)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,0,a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.4*a,.8*E,a,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),x}),go.Shape.defineFigureGenerator("Battery",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.1*a));var z=new go.PathFigure(0,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),x}),go.Shape.defineFigureGenerator("Delete",function(le,E,a){var x=new go.Geometry,y=.5,z=xe*.5,te=.5,ae=.5,se=new go.PathFigure((te-y)*E,ae*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-y)*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,ae*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+y)*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,ae*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a));var ie=new go.PathFigure(.15*E,.5*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.85*E,.5*a)),x}),go.Shape.defineFigureGenerator("Flag",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.1*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.1*a,.15*E,0,.35*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,.65*E,.2*a,.85*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.85*E,.6*a,.65*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*E,.4*a,.15*E,.4*a).close()),x}),go.Shape.defineFigureGenerator("Help",function(le,E,a){var x=new go.Geometry,y=.5,z=xe*.5,te=.5,ae=.5,se=new go.PathFigure((te-y)*E,ae*a,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-y)*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,ae*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+y)*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,ae*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a).close()),y=.05,z=xe*.05,te=.5,ae=.8;var ie=new go.PathFigure((te-y)*E,ae*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-y)*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,ae*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+y)*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,ae*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a).close()),ie.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,.75*E,.475*a,.75*E,.225*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.35*a,.4*E,.2*a,.3*E,.25*a)),x}),go.Shape.defineFigureGenerator("Location",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.975*E,.025*a,.5*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*E,.5*a,.5*E,0,.025*E,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*E,.3*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.3*a)),x}),go.Shape.defineFigureGenerator("Unlocked",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.35*a)),x}),go.Shape.defineFigureGenerator("Gear",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.9375*E,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*E,.3316875*a,.79840625*E,.39915625*a,.7834375*E,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*E,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*E,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*E,.19378125*a,.64228125*E,.2188125*a,.603875*E,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*E,.239375*a,.39759375*E,.20190625*a,.36053125*E,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*E,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*E,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*E,.4375*a,.21765625*E,.36059375*a,.201875*E,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*E,.67596875*a,.20221875*E,.603875*a,.21884375*E,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*E,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*E,.80621875*a,.36353125*E,.78340625*a,.3991875*E,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*E,.760625*a,.602375*E,.79809375*a,.63946875*E,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*E,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*E,.56246875*a,.78234375*E,.63940625*a,.798125*E,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*E,.5*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.3*a,0,.375*a,.05*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.075*a,.3*E,.225*a,.4*E,.175*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*E,.075*a,.46*E,.05*a,.525*E,.05*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.4*a,.525*E,.275*a,.475*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.55*a,E,.4*a,E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.425*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.7*a,.675*E,.55*a,.675*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.575*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,.85*a,.65*E,.7*a,.65*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*E,a,.61*E,.85*a,.61*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*E,a,0,a).close()),x}),go.Shape.defineFigureGenerator("Map",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),x}),go.Shape.defineFigureGenerator("Eject",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.7)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var z=new go.PathFigure(0,a*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*1,a*1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.85).close());var z=new go.PathFigure(.126*E,.85*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.85*a).close());var te=new go.PathFigure(.402*E,.85*a,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.402*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*E,.85*a).close());var ae=new go.PathFigure(.678*E,.85*a,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.678*E,.45*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*E,.45*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*E,.85*a).close());var se=new go.PathFigure(.5*E,.1*a,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*E,.3*a)),se.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*E,.3*a).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a*1,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a*1,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*(1-.184)).close());var z=new go.PathFigure(E*.204,a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.204,a*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*1).close());var te=new go.PathFigure(E*.408,a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.408,a*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*1).close());var ae=new go.PathFigure(E*.612,a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*.612,a*(1-.184*3))),ae.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*(1-.184*4))),ae.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*1).close());var se=new go.PathFigure(E*.816,a,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,E*.816,a*(1-.184*4))),se.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-.184*5))),se.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,0).close());var z=new go.PathFigure(E*.055,.07*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.07)),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.1).close());var te=new go.PathFigure(E*.055,.13*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.13)),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.16)),te.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.16).close());var ae=new go.PathFigure(E*.055,.18*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.18)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.21)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.21).close());var se=new go.PathFigure(E*1,0,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,E*.4,0)),se.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.65)),se.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.55*E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*E,.525*a,0,.4*a,.225*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.2*a,.975*E,0,E,.08*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.55*E,a).close()),x}),go.Shape.defineFigureGenerator("Key",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*1,a*.5,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,.575*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.6*a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*E,.425*a)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*E,.5*a,.075*E,.075*a).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*0,E*.3,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*1,E*.3,E*.055)),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var te=new go.PathFigure(E*.11,a*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.8)),te.add(new go.PathSegment(go.PathSegment.Line,E*.11,a*.8).close());var ae=new go.PathFigure(E*(.11+.24133333*1+.028*1),a*.1,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.1)),ae.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.8)),ae.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*1),a*.8).close());var se=new go.PathFigure(E*(.11+.24133333*2+.028*2),a*.1,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.1)),se.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.8)),se.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*2),a*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(le,E,a){var x=new go.Geometry,y=8,z=y*xe,te=new go.PathFigure(y,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.14)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,z,z,0).close());var ae=new go.PathFigure(E*.83,0,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*0).close());var se=new go.PathFigure(E*.83,a*1,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.5)),se.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.5)),se.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*1).close());var ie=new go.PathFigure(E*.78,a*.05,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.05)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.25)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.78,a*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,E/3),x=Math.min(x,a/3);var y=x*xe,z=a*.8,te=new go.Geometry,ae=new go.PathFigure(x,0,!0);return te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),ae.add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-y,0,E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,E,z-x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,E-x,z,E,z-y,E-y,z)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.7,z)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.7,a)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.55,z)),ae.add(new go.PathSegment(go.PathSegment.Line,x,z)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,y,z,0,z-y)),ae.add(new go.PathSegment(go.PathSegment.Line,0,x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()),y>1?(te.spot1=new go.Spot(0,0,y,y),te.spot2=new go.Spot(1,.8,-y,-y)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*.45,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.45).close());var z=new go.PathFigure(E*1,a*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*E,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*.1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.9).close());var z=new go.PathFigure(E*.1,a*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,E*.22,a*.285)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.25).close());var te=new go.PathFigure(E*.28,a*.37,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.37)),te.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.41)),te.add(new go.PathSegment(go.PathSegment.Line,E*.28,a*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(le,E,a){var x=new go.Geometry,y=15,z=y*xe,te=new go.PathFigure(E*.62,a*.475,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),te.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.475)),te.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.03)),te.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,E*.62,a*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var te=new go.PathFigure(E*.4,a*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.66)),te.add(new go.PathSegment(go.PathSegment.Line,E*(1-.26),a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var te=new go.PathFigure(E*.5,a*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.74,a*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close());var z=new go.PathFigure(E*.235,a*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.765,a*.28)),z.add(new go.PathSegment(go.PathSegment.Line,E*.655,a*.97)),z.add(new go.PathSegment(go.PathSegment.Line,E*.345,a*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.5,a*0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},84072:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var yt={},_t="5.0",oe={},b=null,he=!1,De=!1,Ae=null,ke=!1,ze=null,xe=null,tt=0;tt4?parseFloat(Te):5};yt.setHTML5Codebase=function(Te,ot){xe=Te,an(Te,ot)},yt.setJavaCodebase=yt.setJavaCodebaseVersion=yt.isCompiledInstalled=yt.setPreCompiledScriptPath=yt.setPreCompiledResourcePath=function(){},yt.setHTML5CodebaseVersion=function(Te,ot){var Qt=parseFloat(Te);if(Qt!==NaN&&Qt<5){console.log("The GeoGebra HTML5 codebase version "+Qt+" is deprecated. Using version latest instead.");return}ze=Te,Pn(Te,ot)},yt.getHTML5CodebaseVersion=function(){return le},yt.getParameters=function(){return oe},yt.setFontsCSSURL=function(Te){te=Te},yt.setGiacJSURL=function(Te){},yt.setJNLPFile=function(Te){Le=Te},yt.setJNLPBaseDir=function(Te){},yt.inject=function(){function Te(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ot="auto",Qt=oe.id,An,Bt=!1,un=0;un=5)return!0;var Te=yt.getAppletObject();return Te&&typeof Te.recalculateEnvironments=="function"?(Te.recalculateEnvironments(),!0):!1},yt.startAnimation=function(){var Te=yt.getAppletObject();return Te&&typeof Te.startAnimation=="function"?(Te.startAnimation(),!0):!1},yt.stopAnimation=function(){var Te=yt.getAppletObject();return Te&&typeof Te.stopAnimation=="function"?(Te.stopAnimation(),!0):!1},yt.getAppletObject=function(){var Te=oe.id!==void 0?oe.id:"ggbApplet";return window[Te]},yt.resize=function(){};var mt=function(Te,ot,Qt){var An=document.createElement("param");An.setAttribute("name",ot),An.setAttribute("value",Qt),Te.appendChild(An)},Re=function(Te){return Te&&Te!=="false"},Xe=function(Te,ot,Qt){se(le)<=4.2&&(Qt=!0);var An=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==le||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(An=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Bt=document.createElement("div");Bt.classList.add("appletParameters","notranslate");var un=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,un=605);else{var ut=100;(Re(ot.showToolBar)||Re(ot.showMenuBar))&&(ot.hasOwnProperty("customToolBar")&&(ot.customToolbar=ot.customToolBar),ut=Re(ot.showMenuBar)?245:155),un=5?(ot.appletOnLoad=function(zn){var xa=Te.querySelector(".ggb_preview");xa&&xa.parentNode.removeChild(xa),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Pt),window.GGBT_wsf_view&&$(window).trigger("resize"),nt(zn)},kn||Pt.appendChild(dn)):Bt.appendChild(dn),Pt.appendChild(Bt),kn||Te.appendChild(Pt),setTimeout(function(){yt.resize()},1)}else{var kt=document.createElement("div");kt.className="applet_scaler",kt.style.position="relative",kt.style.display="block",kt.appendChild(Bt),Te.appendChild(kt),ot.appletOnLoad=function(zn){yt.resize(),nt(zn)}}function Rt(zn,xa){xa&&typeof xa.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(zn,xa.appletOnLoad):renderGGBElement(zn),Wt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",xa)}function Qn(zn,xa){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:zn,params:xa}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(cr){Rt(cr.article,cr.params)}),html5AppletsToProcess=null)},se(le)<5&&(zn.className+=" geogebraweb")):Rt(zn,xa)}if(An){scriptLoadStarted=!0;for(var na=0;na0?(Xt.remove(),Pt.attr("id","fullscreencontent").show(),jQuery(nt).append(Pt),window.dispatchEvent(new Event("resize"))):Xe(Xt,ot,!1),window.GGBT_wsf_view.launchFullScreen(nt)}else Je=An,Xe(Te,ot,!1);if(!window.GGBT_wsf_view)for(Ce=0;CeTe/4*3&&(Xt=Te/4*3),nt=Xt/5.8,ut.setAttribute("src",y),ut.setAttribute("width",Xt),ut.setAttribute("height",nt);var Pt=(Te-Xt)/2,kn=(ot-nt)/2;ut.style.left=Pt+"px",ut.style.top=kn+"px",Bt.appendChild(ut)}}return Bt.appendChild(Ce),Bt},It=function(Te){return Te=Te.toLowerCase(),Te==="html5"||Te==="screenshot"?Te:"html5"},gt=["web","webSimple","web3d","tablet","tablet3d","phone"],Pn=function(Te,ot){if(le=Te,ot){an(le,!0);return}var Qt=!he;if(Qt){var An=se(le);!isNaN(An)&&An<4.4&&(Qt=!1)}var Bt,un;window.location.protocol.substr(0,4)==="http"?Bt=window.location.protocol:Bt="http:";var Ce=le.indexOf("//");Ce>0?un=le:Ce===0?un=Bt+le:un="https://www.geogebra.org/apps/5.2.814.0/";for(var ut in gt)if(le.slice(gt[ut].length*-1)===gt[ut]||le.slice((gt[ut].length+1)*-1)===gt[ut]+"/"){an(un,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Qt&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!Re(oe.showToolBar)&&!Re(oe.showMenuBar)&&!Re(oe.showAlgebraInput)&&!Re(oe.enableRightClick)&&(!oe.appName||oe.appName=="classic")?un+="webSimple/":un+="web3d/",an(un,!1)},an=function(Te,ot){if(Te.requirejs){_e=Te;return}Te.slice(-1)!=="/"&&(Te+="/"),_e=Te,ot===null&&(ot=Te.indexOf("http")===-1),He=ot,E="web.nocache.js",a=!1;var Qt=_e.split("/");Qt.length>1&&(!ot&&Qt[Qt.length-2]==="webSimple"?(E="webSimple.nocache.js",a=!0):gt.indexOf(Qt[Qt.length-2])>=0&&(E=Qt[Qt.length-2]+".nocache.js")),Qt=Te.split("/"),le=Qt[Qt.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 An=parseFloat(le);An!==NaN&&An<5&&Te.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+An+" is deprecated. Using version latest instead."),Pn("5.0",ot))},Wt=function(Te,ot){window.console&&window.console.log&&(!ot||typeof ot.showLogging=="undefined"||ot.showLogging&&ot.showLogging!=="false")&&console.log(Te)};oe.material_id!==void 0?be(Tt):Tt();function Tt(){var Te=_t;ze!==null?Te=ze:parseFloat(Te)<5&&(Te="5.0"),Pn(Te,!1),xe!==null&&an(xe,He),ke=!0}return yt},GGBAppletUtils=function(){"use strict";function yt(){return window.GGBT_wsf_edit!==void 0}function _t(ke,ze){ze!=1?(ke.style.transformOrigin="0% 0% 0px",ke.style.webkitTransformOrigin="0% 0% 0px",ke.style.transform="scale("+ze+","+ze+")",ke.style.webkitTransform="scale("+ze+","+ze+")",ke.style.maxWidth="initial",ke.querySelector(".ggb_preview")!==null&&(ke.querySelector(".ggb_preview").style.maxWidth="initial"),ke.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ke.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ke.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ke.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ke.style.transform="none",ke.style.webkitTransform="none")}function oe(ke,ze,xe,tt,Me,Le){var _e=null;if(Le!=null&&Le!="")for(var He=ke.parentNode;He!=null;)if((" "+He.className+" ").indexOf(" "+Le+" ")>-1){_e=He;break}else He=He.parentNode;var Je=0,le=0,E=0,a=0,x=0,y=0,z=0;if(_e)Je=_e.offsetWidth,le=Math.max(tt?_e.offsetWidth:0,_e.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Je=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),E=Je):(Je=window.innerWidth,le=window.innerHeight,E=window.innerWidth),ke){var te=ke.getBoundingClientRect();te.left>0&&te.left<=Je&&(Me===void 0||!Me)&&(document.dir==="rtl"?(x=Je-te.width-te.left,y=E<=480?10:30):(y=te.left,x=E<=480?10:30),a=y+x)}if(ke&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ae=ke.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,z=40)}}return ke&&((xe===void 0||!xe)&&ze>0&&ze+a1&&(Le=!0)),ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Le=!0),!(ke.hasOwnProperty("disableAutoScale")&&ke.disableAutoScale))Me=b(ke,ze,Le,xe,ke.scaleContainerClass);else return tt;return Le&&(!ke.hasOwnProperty("scale")||tt===1)?Me:Math.min(tt,Me)}function De(ke){var ze=Math.min(window.innerWidth,document.documentElement.clientWidth),xe=Math.min(window.innerHeight,document.documentElement.clientHeight),tt=ke.getBoundingClientRect(),Me=(ze-tt.width)/2,Le=(xe-tt.height)/2;Le<0&&(Le=0),ke.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Me<40?ke.style.left="40px":ke.style.left=Me+"px",ke.style.top=Le+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Le<40?ke.style.top="40px":ke.style.top=Le+"px",ke.style.left=Me+"px")}function Ae(ke,ze){var xe=ke.querySelector(".appletParameters");if(xe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ze.id!==xe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ke)}if(xe.parentElement&&/fullscreen/.test(xe.parentElement.className))return;var tt=he(ze,ke);yt()&&xe.setAttribute("data-param-scale",tt);for(var Me=null,Le=0;Le=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(yt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(yt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(yt){var _t=c[yt];return _t==null?null:_t},r=d,webModule.__errFn=e}function B(){function yt(ke){var ze=ke.lastIndexOf(rb);ze==-1&&(ze=ke.length);var xe=ke.indexOf(sb);xe==-1&&(xe=ke.length);var tt=ke.lastIndexOf(tb,Math.min(xe,ze));return tt>=O?ke.substring(O,tt+P):W}function _t(ke){if(!ke.match(/^\w+:\/\//)){var ze=o.createElement(ub);ze.src=ke+vb,ke=yt(ze.src)}return ke}function oe(){var ke=__gwt_getMetaProperty(wb);return ke!=null?ke:W}function b(){for(var ke=o.getElementsByTagName(_),ze=O;zeO?ke[ke.length-P].href:W}function De(){var ke=o.location;return ke.href==ke.protocol+zb+ke.host+ke.pathname+ke.search+ke.hash}var Ae=oe();return Ae==W&&(Ae=b()),Ae==W&&(Ae=he()),Ae==W&&De()&&(Ae=yt(o.location.href)),Ae=_t(Ae),Ae}function C(yt){return yt.match(/^\//)||yt.match(/^[a-zA-Z]+:\/\//)?yt:webModule.__moduleBase+yt}function D(){var yt=[],_t=O,oe=[],b=[];function he(ke){var ze=b[ke](),xe=oe[ke];if(ze in xe)return ze;var tt=[];for(var Me in xe)tt[xe[Me]]=Me;throw r&&r(ke,tt,ze),null}if(__gwt_isKnownPropertyValue=function(ke,ze){return ze in oe[ke]},webModule.__getPropMap=function(){var ke={};for(var ze in oe)oe.hasOwnProperty(ze)&&(ke[ze]=he(ze));return ke},webModule.__computePropValue=he,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var De;try{De=Cb;var Ae=De.indexOf(Db);Ae!=-1&&(_t=parseInt(De.substring(Ae+P),$),De=De.substring(O,Ae))}catch(ke){}return webModule.__softPermutationId=_t,C(De+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},77665:function(yt,_t,oe){"use strict";oe.d(_t,{Ax:function(){return Ae},Ds:function(){return ke},KI:function(){return xe},SI:function(){return De},f1:function(){return he}});var b=oe(13952);function he(tt){let Me=!0;if(tt.length>0){for(let Le=0;Lea in E?De(E,a,{enumerable:!0,configurable:!0,writable:!0,value:x}):E[a]=x,Le=(E,a)=>{for(var x in a||(a={}))xe.call(a,x)&&Me(E,x,a[x]);if(ze)for(var x of ze(a))tt.call(a,x)&&Me(E,x,a[x]);return E},_e=(E,a)=>Ae(E,ke(a)),He=(E,a)=>{var x={};for(var y in E)xe.call(E,y)&&a.indexOf(y)<0&&(x[y]=E[y]);if(E!=null&&ze)for(var y of ze(E))a.indexOf(y)<0&&tt.call(E,y)&&(x[y]=E[y]);return x},Je=(E,a,x)=>new Promise((y,z)=>{var te=ie=>{try{se(x.next(ie))}catch(Se){z(Se)}},ae=ie=>{try{se(x.throw(ie))}catch(Se){z(Se)}},se=ie=>ie.done?y(ie.value):Promise.resolve(ie.value).then(te,ae);se((x=x.apply(E,a)).next())});const le=E=>{var a=E,{children:x}=a,y=He(a,["children"]);const[z,te]=(0,he.useState)(!1);return he.createElement(b.ZP,_e(Le({},y),{loading:z,onClick:ae=>Je(void 0,null,function*(){try{te(!0),yield y.onClick(ae),te(!1)}catch(se){console.error(se),te(!1)}})}),x)}},48102:function(yt,_t,oe){"use strict";var b=oe(86204),he=oe.n(b),De=Object.defineProperty,Ae=(tt,Me,Le)=>Me in tt?De(tt,Me,{enumerable:!0,configurable:!0,writable:!0,value:Le}):tt[Me]=Le,ke=(tt,Me,Le)=>Ae(tt,typeof Me!="symbol"?Me+"":Me,Le),ze=(tt,Me,Le)=>new Promise((_e,He)=>{var Je=a=>{try{E(Le.next(a))}catch(x){He(x)}},le=a=>{try{E(Le.throw(a))}catch(x){He(x)}},E=a=>a.done?_e(a.value):Promise.resolve(a.value).then(Je,le);E((Le=Le.apply(tt,Me)).next())});class xe extends b.EventEmitter{constructor(Me,Le){super(),ke(this,"url"),ke(this,"body"),ke(this,"fullContent",""),ke(this,"controller",null),ke(this,"buffer",""),this.url=Me,this.body=Le}startStream(){return ze(this,null,function*(){this.controller=new AbortController;const{signal:Me}=this.controller;try{const Le=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Me});if(!Le.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${Le.status}`);const _e=Le.headers.get("content-type");if(!_e)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(_e.includes("application/json")){const le=yield Le.json();this.emit("error",le);return}if(!_e.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const He=Le.body.getReader(),Je=new TextDecoder("utf-8");for(;;){const{done:le,value:E}=yield He.read();if(le)break;const a=Je.decode(E,{stream:!0});this.buffer+=a;const x=this.buffer.split(` +(self.webpackChunk=self.webpackChunk||[]).push([[292],{87169:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return tt}});var b=oe(72308),he=oe(59301),De={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},Ae=De,ke=oe(7657),ze=function(Le,_e){return he.createElement(ke.Z,(0,b.Z)({},Le,{ref:_e,icon:Ae}))},xe=he.forwardRef(ze),tt=xe},12893:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return tt}});var b=oe(72308),he=oe(59301),De={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},Ae=De,ke=oe(7657),ze=function(Le,_e){return he.createElement(ke.Z,(0,b.Z)({},Le,{ref:_e,icon:Ae}))},xe=he.forwardRef(ze),tt=xe},32134:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return tt}});var b=oe(72308),he=oe(59301),De={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},Ae=De,ke=oe(7657),ze=function(Le,_e){return he.createElement(ke.Z,(0,b.Z)({},Le,{ref:_e,icon:Ae}))},xe=he.forwardRef(ze),tt=xe},25346:function(yt,kt){"use strict";kt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},59489:function(yt,kt){"use strict";kt.Z={wrap:"wrap___ilWvf",deleteIcon:"deleteIcon___JBDG8",keywordTag:"keywordTag___iieCb",questionTitleEditorWrap:"questionTitleEditorWrap___MHB5s",choiceListWrap:"choiceListWrap___jB8b1",choiceWrap:"choiceWrap___QFkTc",choiceIndex:"choiceIndex___Mr2YO",judgementIndex:"judgementIndex___fUVWK",setAnswerBtn:"setAnswerBtn___Whox5",activeAnswer:"activeAnswer___fGU6Y",activeJudgementAnswer:"activeJudgementAnswer___wJv8P",actionWrapper:"actionWrapper___ERQ7k",addIcon:"addIcon___L9TE0",inputBorder:"inputBorder___Q5tRE",placeholder:"placeholder___p9sFY",blankInputNumberWrapper:"blankInputNumberWrapper___uEHb0",addBtn:"addBtn___WR5ZI",blankIndex:"blankIndex___x9Pny",baseInputWrapper:"baseInputWrapper___eVsG7",collapseWrapper:"collapseWrapper___ZTysU",panelHeader:"panelHeader___QSN9g",open:"open___B6FU9",close:"close___QX19r",hide:"hide___mn25n"}},62775:function(yt,kt){"use strict";kt.Z={flex_box_center:"flex_box_center___ycN2f",flex_space_between:"flex_space_between___LcS9e",flex_box_vertical_center:"flex_box_vertical_center___uwjPm",flex_box_center_end:"flex_box_center_end___Pc903",flex_box_column:"flex_box_column___AXEdv",bg:"bg___fm2Cw",title:"title___J3MCU",editIcon:"editIcon___i4Zll",titleLeft:"titleLeft___da61c",titleRight:"titleRight___EsdL6",formWrap:"formWrap___YTxC3",baseLineHeight:"baseLineHeight___TprCB",radioBtnWrapper:"radioBtnWrapper___Mt_XG",radiogroup:"radiogroup___EvkWh",easy:"easy___mSxtg",medium:"medium___NIaWN",hard:"hard___mddnD",baseFormItem:"baseFormItem___csbyb",cascaderPopup:"cascaderPopup___BttnF",selectdiv:"selectdiv___TAr4i",divitem:"divitem___iaXB2",bottmodiv:"bottmodiv___bmp6p",cancelBtn:"cancelBtn___Q4ZcL",confirmBtn:"confirmBtn___nRiCD",concat:"concat___jlPR1"}},12099:function(yt,kt,oe){"use strict";var b=oe(59301),he=Object.defineProperty,De=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,ze=(Me,Le,_e)=>Le in Me?he(Me,Le,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Me[Le]=_e,xe=(Me,Le)=>{for(var _e in Le||(Le={}))Ae.call(Le,_e)&&ze(Me,_e,Le[_e]);if(De)for(var _e of De(Le))ke.call(Le,_e)&&ze(Me,_e,Le[_e]);return Me};const tt=Me=>React.createElement("svg",xe({width:14,height:13,xmlns:"http://www.w3.org/2000/svg"},Me),React.createElement("title",null,"\u6D4B\u8BD5AI\u8BC4\u5206"),React.createElement("path",{d:"M5.19 1.488a2.133 2.133 0 0 1 3.62 0l.96 1.54a.25.25 0 0 0 .152.11l1.76.437a2.133 2.133 0 0 1 1.12 3.443l-1.234 1.465.136 1.912a2.133 2.133 0 0 1-1.823 2.263l-.152.016a2.133 2.133 0 0 1-.954-.15l-1.681-.683a.25.25 0 0 0-.188 0l-1.681.682a2.133 2.133 0 0 1-2.93-2.128l.13-1.81a.25.25 0 0 0-.058-.178L1.198 7.018a2.133 2.133 0 0 1 1.12-3.443l1.76-.436a.25.25 0 0 0 .152-.11Zm2.053.543a.633.633 0 0 0-.78.25l-.96 1.54a1.75 1.75 0 0 1-1.064.774l-1.761.436a.633.633 0 0 0-.332 1.022L3.514 7.44c.294.348.44.797.407 1.251l-.13 1.81a.633.633 0 0 0 .87.631l1.681-.682a1.75 1.75 0 0 1 1.316 0l1.681.682a.633.633 0 0 0 .87-.631l-.18-2.518 1.625-1.931a.633.633 0 0 0-.332-1.022l-1.761-.436a1.75 1.75 0 0 1-1.065-.774l-.959-1.54a.633.633 0 0 0-.203-.203Zm1.544 5.23a.75.75 0 0 1 .102 1.493l-.102.007H5.362a.75.75 0 0 1-.102-1.494l.102-.006h3.425Z",fill:"#3061D0",fillRule:"nonzero"}));kt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUuMTkgMS40ODhhMi4xMzMgMi4xMzMgMCAwIDEgMy42MiAwbC45NiAxLjU0YS4yNS4yNSAwIDAgMCAuMTUyLjExbDEuNzYuNDM3YTIuMTM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vPjwvc3ZnPg=="},79751:function(yt,kt,oe){"use strict";var b=oe(59301),he=Object.defineProperty,De=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,ze=(Me,Le,_e)=>Le in Me?he(Me,Le,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Me[Le]=_e,xe=(Me,Le)=>{for(var _e in Le||(Le={}))Ae.call(Le,_e)&&ze(Me,_e,Le[_e]);if(De)for(var _e of De(Le))ke.call(Le,_e)&&ze(Me,_e,Le[_e]);return Me};const tt=Me=>React.createElement("svg",xe({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Me),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143z",fill:"#98BDF7"}),React.createElement("path",{d:"m248.686 803.182-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#145DFF"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#98BDF7"}));kt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},94890:function(yt,kt,oe){"use strict";var b=oe(59301),he=Object.defineProperty,De=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,ze=(Me,Le,_e)=>Le in Me?he(Me,Le,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Me[Le]=_e,xe=(Me,Le)=>{for(var _e in Le||(Le={}))Ae.call(Le,_e)&&ze(Me,_e,Le[_e]);if(De)for(var _e of De(Le))ke.call(Le,_e)&&ze(Me,_e,Le[_e]);return Me};const tt=Me=>React.createElement("svg",xe({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Me),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143zM248.686 803.182l-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#98BDF7"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#145DFF"}));kt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},74042:function(){"use strict";function yt(le,E,a,x){a===void 0&&(a=0),x===void 0&&(x=1/0),this._name=le,this._defaultValue=E,this._minimum=a,this._maximum=x}Object.defineProperty(yt.prototype,"name",{get:function(){return this._name},set:function(le){if(typeof le!="string"||le==="")throw new Error("Shape name must be a valid string.");this._name=le}}),Object.defineProperty(yt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("The default value must be a real number, not: "+le);this._defaultValue=le}}),Object.defineProperty(yt.prototype,"minimum",{get:function(){return this._minimum},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("Minimum must be a real number, not: "+le);this._minimum=le}}),Object.defineProperty(yt.prototype,"maximum",{get:function(){return this._maximum},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("Maximum must be a real number, not: "+le);this._maximum=le}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(le,E){var a=go.Shape._FigureParameters[le];return a?a[E]:null},go.Shape.setFigureParameter=function(le,E,a){if(!(a instanceof yt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValuea.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var x=go.Shape._FigureParameters[le];x||(x=[],go.Shape._FigureParameters[le]=x),x[E]=a};var kt=[];function oe(le,E){var a=kt.pop();return a===void 0?new go.Point(le,E):(a.x=le,a.y=E,a)}function b(){var le=kt.pop();return le===void 0?new go.Point:le}function he(le){kt.push(le)}function De(le,E,a,x,y,z,te,ae,se){se||(se=new go.Point);var ie=le-a,Se=y-te,be=NaN,We=NaN;if(ie===0)if(Se===0)le===a&&(be=le,We=E);else{var Ne=(z-ae)/Se,mt=z-Ne*y;be=le,We=Ne*be+mt}else if(Se===0){var Re=(E-x)/ie,Je=E-Re*le;be=y,We=Re*be+Je}else{var Re=(E-x)/ie,Ne=(z-ae)/Se,Je=E-Re*le,mt=z-Ne*y;be=(mt-Je)/(Re-Ne),We=Re*be+Je}return se.x=be,se.y=We,se}function Ae(le,E,a,x,y,z,te,ae,se,ie,Se,be,We,Ne){var mt=1-se,Re=se,Je=le*mt+a*Re,Qe=E*mt+x*Re,et=a*mt+y*Re,we=x*mt+z*Re,ht=y*mt+te*Re,ct=z*mt+ae*Re,Lt=Je*mt+et*Re,gt=Qe*mt+we*Re,yn=et*mt+ht*Re,nn=we*mt+ct*Re,Wt=Lt*mt+yn*Re,_t=gt*mt+nn*Re;ie.x=Je,ie.y=Qe,Se.x=Lt,Se.y=gt,be.x=Wt,be.y=_t,We.x=yn,We.y=nn,Ne.x=ht,Ne.y=ct}var ke=new go.Spot(.156,.156),ze=new go.Spot(.844,.844),xe=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new yt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,E/3),x=Math.min(x,a/3);var y=x*xe,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,E-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-y,0,E,y)).add(new go.PathSegment(go.PathSegment.Line,E,a-x)).add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,a-y,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,x,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,y,a,0,a-y)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()));return y>1&&(z.spot1=new go.Spot(0,0,y,y),z.spot2=new go.Spot(1,1,-y,-y)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=a/2,x.endX=E,x.endY=a/2,x}),go.Shape.defineFigureGenerator("LineV",function(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E/2,x.startY=0,x.endX=E/2,x.endY=a,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LineRight",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.25*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)))}),go.Shape.defineFigureGenerator("LineDown",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Line,E,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.75*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,a)))}),go.Shape.defineFigureGenerator("LineUp",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,E,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(le,E,a){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*E,(1-x)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(le,E,a){var x=E/2,y=new go.Geometry().add(new go.PathFigure(E,E/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return y.spot1=ke,y.spot2=ze,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=E,x.endY=a,x}),go.Shape.defineFigureGenerator("Line2",function(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E,x.startY=0,x.endX=0,x.endY=a,x}),go.Shape.defineFigureGenerator("Curve1",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,xe*E,0,E,(1-xe)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,0,xe*a,(1-xe)*E,a)))}),go.Shape.defineFigureGenerator("Curve3",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,xe*a,xe*E,a)))}),go.Shape.defineFigureGenerator("Curve4",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-xe)*E,0,0,(1-xe)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new yt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var y=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),yE&&(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.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())),yE&&(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())),yE&&(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())),y0&&(te.add(new go.PathSegment(go.PathSegment.Move,E/2+ae,E/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,ae,ae).close())),z.spot1=ke,z.spot2=ze,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.08034461*E,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*E,.05349299*a,-.09239631*E,.07836421*a,.1406031*E,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*E,.074219*a,.2450511*E,-.00697547*a,.3776197*E,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*E,.07004196*a,.4539471*E,0,.6066018*E,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*E,.08370865*a,.6914277*E,-.01904177*a,.8921095*E,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*E,.3194596*a,1.036446*E,.04105738*a,1.020377*E,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*E,.562044*a,1.04448*E,.360238*a,.992256*E,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*E,.8217117*a,1.032337*E,.5771781*a,1.018411*E,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*E,.9156953*a,1.028411*E,.9571472*a,.8556702*E,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*E,.9310455*a,.7431877*E,1.009325*a,.5624123*E,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*E,.9344623*a,.4820677*E,1.031761*a,.3030112*E,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.870098*a,.2329994*E,1.01518*a,.03213784*E,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*E,.6545475*a,-.02812061*E,.9032597*a,-.01205169*E,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*E,.4265613*a,-.01812061*E,.6089503*a,-.00606892*E,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.1944299*a,-.01606892*E,.3892545*a,-.01205169*E,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(le,E,a){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,x*a).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new yt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new yt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(le,E,a){var x=le?le.parameter1:NaN,y=le?le.parameter2:NaN;isNaN(x)&&(x=0),isNaN(y)&&(y=315);var z=x%360;z<0&&(z+=360);var te=y%360,ae=Math.min(E,a)/2;return new go.Geometry().add(new go.PathFigure(ae,ae).add(new go.PathSegment(go.PathSegment.Arc,z,te,ae,ae,ae,ae).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(le,E,a){var x=xe/Math.SQRT2*.5,y=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*E,z*a,E,(1-x)*a,(y+x)*E,(z+x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new yt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var y=Math.min(x,E)/2,z=E/2,te=a/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,te-y)).add(new go.PathSegment(go.PathSegment.Line,E,te-y)).add(new go.PathSegment(go.PathSegment.Line,E,te+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,te+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,te+y)).add(new go.PathSegment(go.PathSegment.Line,0,te+y)).add(new go.PathSegment(go.PathSegment.Line,0,te-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,te-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new yt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=Math.min(x,E)/2,z=E/2,te=a/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,te-y)).add(new go.PathSegment(go.PathSegment.Line,E,te-y)).add(new go.PathSegment(go.PathSegment.Line,E,te+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,te+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,te+y)).add(new go.PathSegment(go.PathSegment.Line,0,te+y)).add(new go.PathSegment(go.PathSegment.Line,0,te-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,te-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new yt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(le,E,a){var x=le?le.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),E===0||a===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=E,y.endY=a,y}else{var z=E/2,te=a/2,ae=Math.atan2(a,E),se=x-Math.min(Math.cos(ae)*x/2,z),ie=x-Math.min(Math.sin(ae)*x/2,te),y=new go.Geometry,Se=new go.PathFigure(se,0,!0);return y.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,z,.2*a)),Se.add(new go.PathSegment(go.PathSegment.Line,E-se,0)),Se.add(new go.PathSegment(go.PathSegment.Line,E,ie)),Se.add(new go.PathSegment(go.PathSegment.Line,.8*E,te)),Se.add(new go.PathSegment(go.PathSegment.Line,E,a-ie)),Se.add(new go.PathSegment(go.PathSegment.Line,E-se,a)),Se.add(new go.PathSegment(go.PathSegment.Line,z,.8*a)),Se.add(new go.PathSegment(go.PathSegment.Line,se,a)),Se.add(new go.PathSegment(go.PathSegment.Line,0,a-ie)),Se.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),Se.add(new go.PathSegment(go.PathSegment.Line,0,ie).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new yt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=new go.Geometry,z=new go.PathFigure(.1*E,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new yt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new yt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.5);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,a,Math.abs(1-x)*E,.25*a,Math.abs(1-x)*E,.75*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,xe*E,0,E,(.5-xe/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,(.5+xe/2)*a,xe*E,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,0,E,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*E,.75*a,.5*E,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*E,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,0,0,.45*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.55*E,0,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.5*a,.9*E,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*E,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.6*E,.2*a,E,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.7*a,E,.8*a,.6*E,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,.5*E,.75*a,.55*E,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.7*a,.45*E,.95*a,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*E,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*E,.01*a,0,.25*a,.4*E,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.4*E,.6*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*E,a,.5*E,.75*a,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.6*a,.55*E,.95*a,.5*E,.75*a));var z=.2,te=.3,ae=0,se=z*xe;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5+z+ae)*a,(.5-z+te)*E,(.5+se+ae)*a,(.5-se+te)*E,(.5+z+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*E,(.5+ae)*a,(.5+se+te)*E,(.5+z+ae)*a,(.5+z+te)*E,(.5+se+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+ae)*a,(1-.5+z+te)*E,(.5-se+ae)*a,(.5+se+te)*E,(.5-z+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*E,.36771243*a,(.5-se+te)*E,(.5-z+ae)*a,(.5-z+te+.05)*E,(.5-se+ae-.02)*a)),z=.2,te=0,ae=-.3,se=z*xe,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*E,(.5+ae)*a,(.5+se+te)*E,(.5+z+ae)*a,(.5+z+te)*E,(.5+se+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+ae)*a,(1-.5+z+te)*E,(.5-se+ae)*a,(.5+se+te)*E,(.5-z+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*E,(.5+ae)*a,(.5-se+te)*E,(.5-z+ae)*a,(.5-z+te)*E,(.5-se+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-se+te)*E,(.5+z+ae)*a,(.5-z+te)*E,(.5+se+ae)*a,(.5-se+te)*E,(.5+z+ae)*a)),z=.2,te=-.3,ae=0,se=z*xe,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+ae)*a,(1-.5+z+te-.05)*E,(.5-se+ae-.02)*a,(.5+se+te)*E,(.5-z+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*E,(.5+ae)*a,(.5-se+te)*E,(.5-z+ae)*a,(.5-z+te)*E,(.5-se+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5+z+ae)*a,(.5-z+te)*E,(.5+se+ae)*a,(.5-se+te)*E,(.5+z+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.6*a,(.5+se+te)*E,(.5+z+ae)*a,(.5+z+te)*E,(.5+se+ae)*a).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.5,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*.5,E*.5,E*.5,E*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,E*.5,E*.75,E*.25,E*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,E*.5,E*.25,E*.25,E*.25));var z=.1,te=.5,ae=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(te+z)*E,ae*a)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E*te,a*ae,z*E,z*E).close()),y=new go.PathFigure(E*.5,0,!1),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*.5,E*.5,E*.5,E*.5)),ae=.75,y=new go.PathFigure((te+z)*E,ae*a,!0),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,E*te,a*ae,z*E,z*E).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(le,E,a){var x=.8535533905932737,y=.5*E,z=.5*a;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,z,y,z)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,x*E,x*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=.5,te=.5,ae=.5,se=new go.PathFigure(te*E,(ae-z)*a);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-z)*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),z=.4,y=xe*.4;var ie=b(),Se=b(),be=b(),We=b();Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.42,ie,Se,be,We,We);var Ne=b(),mt=b(),Re=b();Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.58,We,We,Re,Ne,mt);var Je=b(),Qe=b(),et=b();Ae(te,ae+z,te-y,ae+z,te-z,ae+y,te-z,ae,.42,Je,Qe,et,We,We);var we=b(),ht=b(),ct=b();return Ae(te,ae+z,te-y,ae+z,te-z,ae+y,te-z,ae,.58,We,We,ct,we,ht),se.add(new go.PathSegment(go.PathSegment.Move,ct.x*E,ct.y*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,we.x*E,we.y*a,ht.x*E,ht.y*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-z)*a,(te-z)*E,(ae-y)*a,(te-y)*E,(ae-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,be.x*E,be.y*a,ie.x*E,ie.y*a,Se.x*E,Se.y*a)),se.add(new go.PathSegment(go.PathSegment.Line,ct.x*E,ct.y*a).close()),se.add(new go.PathSegment(go.PathSegment.Move,et.x*E,et.y*a)),se.add(new go.PathSegment(go.PathSegment.Line,Re.x*E,Re.y*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,Ne.x*E,Ne.y*a,mt.x*E,mt.y*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te+z)*E,(ae+y)*a,(te+y)*E,(ae+z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,et.x*E,et.y*a,Je.x*E,Je.y*a,Qe.x*E,Qe.y*a).close()),he(ie),he(Se),he(be),he(We),he(Ne),he(mt),he(Re),he(Je),he(Qe),he(et),he(we),he(ht),he(ct),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*E,0)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*E,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.5*a,E,.25*a,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new yt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>E&&(x=E);var y=(E-x)/2,z=y+x;return new go.Geometry().add(new go.PathFigure(z,.5*a).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*E,0)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(le,E,a){var x=new go.Geometry,y=xe*.4,z=.4,te=.5,ae=.5,se=b(),ie=b(),Se=b(),be=b(),We=new go.PathFigure((te-z)*E,ae*a,!1);x.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-z)*a,(te-z)*E,(ae-y)*a,(te-y)*E,(ae-z)*a)),Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.44,Se,be,ie,se,se),We.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*E,ie.y*a,Se.x*E,Se.y*a,be.x*E,be.y*a));var Ne=oe(ie.x,ie.y);Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.56,se,se,ie,Se,be);var mt=oe(ie.x,ie.y);We.add(new go.PathSegment(go.PathSegment.Line,(Ne.x*.1+.95*.9)*E,Ne.y*.1*a)),We.add(new go.PathSegment(go.PathSegment.Line,.85*E,Ne.y*.1*a)),We.add(new go.PathSegment(go.PathSegment.Line,.85*E,0)),We.add(new go.PathSegment(go.PathSegment.Line,E,0)),We.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),We.add(new go.PathSegment(go.PathSegment.Line,(mt.x*.1+.9)*E,.15*a)),We.add(new go.PathSegment(go.PathSegment.Line,(mt.x*.1+.9)*E,(mt.y*.1+.05*.9)*a)),We.add(new go.PathSegment(go.PathSegment.Line,mt.x*E,mt.y*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,Se.x*E,Se.y*a,be.x*E,be.y*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te+z)*E,(ae+y)*a,(te+y)*E,(ae+z)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,(te-y)*E,(ae+z)*a,(te-z)*E,(ae+y)*a)),z=.35,y=xe*.35;var Re=new go.PathFigure(te*E,(ae-z)*a,!1);x.add(Re),Re.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),Re.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),Re.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-z)*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a));var Je=new go.PathFigure((te-z)*E,ae*a,!1);return x.add(Je),he(se),he(ie),he(Se),he(be),he(Ne),he(mt),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(le,E,a){var x=new go.Geometry,y=.375,z=0,te=-.125,ae=y*xe,se=new go.PathFigure((.525+z)*E,(.5+y+te)*a,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+te)*a,(.5+ae+z)*E,(.5+y+te)*a,(.5+y+z)*E,(.5+ae+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+te)*a,(1-.5+y+z)*E,(.5-ae+te)*a,(.5+ae+z)*E,(.5-y+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+te)*a,(.5-ae+z)*E,(.5-y+te)*a,(.5-y+z)*E,(.5-ae+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*E,(.5+y+te)*a,(.5-y+z)*E,(.5+ae+te)*a,(.5-ae+z)*E,(.5+y+te)*a)),se.add(new go.PathSegment(go.PathSegment.Line,.475*E,.85*a)),se.add(new go.PathSegment(go.PathSegment.Line,.425*E,.85*a)),se.add(new go.PathSegment(go.PathSegment.Line,.425*E,.9*a)),se.add(new go.PathSegment(go.PathSegment.Line,.475*E,.9*a)),se.add(new go.PathSegment(go.PathSegment.Line,.475*E,a)),se.add(new go.PathSegment(go.PathSegment.Line,.525*E,a)),se.add(new go.PathSegment(go.PathSegment.Line,.525*E,.9*a)),se.add(new go.PathSegment(go.PathSegment.Line,.575*E,.9*a)),se.add(new go.PathSegment(go.PathSegment.Line,.575*E,.85*a)),se.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a).close()),y=.325,z=0,te=-.125,ae=y*xe;var se=new go.PathFigure((1-.5+y+z)*E,(.5+te)*a,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5+y+te)*a,(.5+y+z)*E,(.5+ae+te)*a,(.5+ae+z)*E,(.5+y+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+te)*a,(.5-ae+z)*E,(.5+y+te)*a,(.5-y+z)*E,(.5+ae+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+te)*a,(.5-y+z)*E,(.5-ae+te)*a,(.5-ae+z)*E,(.5-y+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+te)*a,(.5+ae+z)*E,(.5-y+te)*a,(1-.5+y+z)*E,(.5-ae+te)*a));var se=new go.PathFigure((.525+z)*E,(.5+y+te)*a,!1);return x.add(se),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(le,E,a){var x=le?le.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(le,E,a){var x=le?le.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(le,E,a){var x=new go.Geometry().add(new go.PathFigure(.5*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*E,.5*a,.5*E,.5*a)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(le,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(le,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new yt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new yt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var y=le?le.parameter2:NaN;isNaN(y)&&(y=.3);var z=(1-x)*E,te=(.5-y/2)*a,ae=(.5+y/2)*a,se=new go.Geometry,ie=new go.PathFigure(0,te,!0);se.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z,te)),ie.add(new go.PathSegment(go.PathSegment.Line,z,0)),ie.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,ae)),ie.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),se.spot1=new go.Spot(0,te/a);var Se=De(0,ae/a,1,ae/a,z/E,1,1,.5,b());return se.spot2=new go.Spot(Se.x,Se.y),he(Se),se}),go.Shape.setFigureParameter("Arrow2",0,new yt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new yt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=30),x>E&&(x=E);var y=le?le.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,a/2);var z=E-x,te=(a-y)/2,ae=te+y,se=new go.Geometry,ie=new go.PathFigure(0,te,!0);se.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z,te)),ie.add(new go.PathSegment(go.PathSegment.Line,z,0)),ie.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,ae)),ie.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),se.spot1=new go.Spot(0,te/a);var Se=De(0,ae/a,1,ae/a,z/E,1,1,.5,b());return se.spot2=new go.Spot(Se.x,Se.y),he(Se),se}),go.Shape.defineFigureGenerator("Chevron",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.214*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.786*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new yt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,ae=new go.PathFigure(E,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close());var se=De(0,.5,.3,0,0,y/a,.1,y/a,b());return te.spot1=new go.Spot(se.x,se.y),se=De(.7,1,1,.5,0,z/a,1,z/a,se),te.spot2=new go.Spot(se.x,se.y),he(se),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new yt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new yt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=40);var y=le?le.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-x)/2,te=z+x,ae=(a-y)/2,se=ae+y;(x>a||y>a)&&(y>x?(x=x*a/y,z=(a-x)/2,te=z+x,ae=0,se=a):(z=0,te=a,ae=0,se=a));var ie=new go.Geometry,Se=new go.PathFigure(E,.5*a,!0);ie.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.7*E,se)),Se.add(new go.PathSegment(go.PathSegment.Line,.7*E,te)),Se.add(new go.PathSegment(go.PathSegment.Line,.3*E,te)),Se.add(new go.PathSegment(go.PathSegment.Line,.3*E,se)),Se.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),Se.add(new go.PathSegment(go.PathSegment.Line,.3*E,ae)),Se.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),Se.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),Se.add(new go.PathSegment(go.PathSegment.Line,.7*E,ae).close());var be=De(0,.5,.3,ae/a,0,z/a,1,z/a,b());return ie.spot1=new go.Spot(be.x,be.y),be=De(.7,se/a,1,.5,0,te/a,1,te/a,be),ie.spot2=new go.Spot(be.x,be.y),he(be),ie}),go.Shape.setFigureParameter("IBeamArrow",0,new yt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,ae=new go.PathFigure(E,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(0,y/a);var se=De(.7,1,1,.5,0,z/a,1,z/a,b());return te.spot2=new go.Spot(se.x,se.y),he(se),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new yt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new yt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=40);var y=le?le.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-x)/2,te=z+x,ae=(a-y)/2,se=ae+y;(x>a||y>a)&&(y>x?(x=x*a/y,z=(a-x)/2,te=z+x,ae=0,se=a):(z=0,te=a,ae=0,se=a));var ie=new go.Geometry,Se=new go.PathFigure(E,.5*a,!0);ie.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.7*E,se)),Se.add(new go.PathSegment(go.PathSegment.Line,.7*E,te)),Se.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),Se.add(new go.PathSegment(go.PathSegment.Line,.2*E,se)),Se.add(new go.PathSegment(go.PathSegment.Line,0,se)),Se.add(new go.PathSegment(go.PathSegment.Line,0,ae)),Se.add(new go.PathSegment(go.PathSegment.Line,.2*E,ae)),Se.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),Se.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),Se.add(new go.PathSegment(go.PathSegment.Line,.7*E,ae).close()),ie.spot1=new go.Spot(0,z/a);var be=De(.7,se/a,1,.5,0,te/a,1,te/a,b());return ie.spot2=new go.Spot(be.x,be.y),he(be),ie}),go.Shape.setFigureParameter("Pointer",0,new yt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.1);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(x,.35);var te=De(.2,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(te.x,te.y),he(te),y}),go.Shape.setFigureParameter("RoundedPointer",0,new yt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),y.spot1=new go.Spot(x,.35);var te=De(0,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(te.x,te.y),he(te),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new yt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.4);var y=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,ae=new go.PathFigure(E,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ae.add(new go.PathSegment(go.PathSegment.Line,0,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(.2,.3);var se=De(.7,1,1,.5,0,z/a,1,z/a,b());return te.spot2=new go.Spot(se.x,se.y),he(se),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new yt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=50);var y=(a-x)/2,z=y+x;x>a&&(y=0,z=a);var te=new go.Geometry,ae=new go.PathFigure(E,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ae.add(new go.PathSegment(go.PathSegment.Line,0,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(.2,y/a);var se=De(.7,1,1,.5,0,z/a,1,z/a,b());return te.spot2=new go.Spot(se.x,se.y),he(se),te}),go.Shape.setFigureParameter("SquareArrow",0,new yt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.7);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(x,1),y}),go.Shape.defineFigureGenerator("Cone1",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=xe*.1,te=new go.PathFigure(0,.9*a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.9*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,a,.85/.9*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var z=new go.PathFigure(0,.9*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,.8*a,.85/.9*E,.8*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.3*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0).close());var z=new go.PathFigure(0,.3*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=xe*.5,te=new go.PathFigure(0,x,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,xe*x,(.5-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*E,x,(.5+z)*E,0,1*E,xe*x)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,1*a,1*E,a-xe*x,(.5+z)*E,1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,1*a,0,a-xe*x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x));var ae=new go.PathFigure(E,x,!1);return y.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,2*x,1*E,2*x-xe*x,(.5+z)*E,2*x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*E,2*x,0,2*x-xe*x)),y.spot1=new go.Spot(0,0,0,2*x),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=xe*.5,te=new go.PathFigure(0,a-x,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,xe*x,(.5-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,x,(.5+z)*E,0,E,xe*x)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,a-xe*x,(.5+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,a,0,a-xe*x));var ae=new go.PathFigure(0,a-x,!1);return y.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a-2*x,0,a-x-xe*x,(.5-z)*E,a-2*x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,E,a-x,(.5+z)*E,a-2*x,E,a-x-xe*x)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*x),y}),go.Shape.defineFigureGenerator("Cylinder3",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=xe*.5,te=new go.PathFigure(x,0,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-xe*x,0,E,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-xe*x,a)),te.add(new go.PathSegment(go.PathSegment.Line,x,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,xe*x,a,0,(.5+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,xe*x,0));var ae=new go.PathFigure(x,0,!1);return y.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*a,x+xe*x,0,2*x,(.5-z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,x,a,2*x,(.5+z)*a,x+xe*x,a)),y.spot1=new go.Spot(0,0,2*x,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=xe*.5,te=new go.PathFigure(E-x,0,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-xe*x,0,E,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-xe*x,a)),te.add(new go.PathSegment(go.PathSegment.Line,x,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,xe*x,a,0,(.5+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,xe*x,0)),te.add(new go.PathSegment(go.PathSegment.Line,E-x,0));var ae=new go.PathFigure(E-x,0,!1);return y.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,E-2*x,.5*a,E-x-xe*x,0,E-2*x,(.5-z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E-2*x,(.5+z)*a,E-x-xe*x,a)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*x,0),y}),go.Shape.defineFigureGenerator("Prism1",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,.25*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.25*E,.25*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.25*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(le,E,a){var x=new go.Geometry,y=.2,z=.1,te=xe*y,ae=xe*z,se=.5,ie=.1,Se=new go.PathFigure(se*E,(ie+z)*a,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(se-y)*E,ie*a,(se-te)*E,(ie+z)*a,(se-y)*E,(ie+ae)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-z)*a,(se-y)*E,(ie-ae)*a,(se-te)*E,(ie-z)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(se+y)*E,ie*a,(se+te)*E,(ie-z)*a,(se+y)*E,(ie-ae)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie+z)*a,(se+y)*E,(ie+ae)*a,(se+te)*E,(ie+z)*a));var be=.05,We=xe*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+We)*E,(ie-be)*a,(se+be)*E,(ie-We)*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.85*E,.35*a)),be=.025,We=xe*be,se=.825,ie=.35,Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-be)*a,(se+be)*E,(ie-We)*a,(se+We)*E,(ie-be)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(se-be)*E,ie*a,(se-We)*E,(ie-be)*a,(se-be)*E,(ie-We)*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a)),be=.05,We=xe*be,se=.5,ie=.7,Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-be)*a,(se+be)*E,(ie-We)*a,(se+We)*E,(ie-be)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(se-be)*E,ie*a,(se-We)*E,(ie-be)*a,(se-be)*E,(ie-We)*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.45*E,a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,.35*a)),be=.025,We=xe*be,se=.175,ie=.35,Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-be)*a,(se+be)*E,(ie-We)*a,(se+We)*E,(ie-be)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(se-be)*E,ie*a,(se-We)*E,(ie-be)*a,(se-be)*E,(ie-We)*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),be=.05,We=xe*be,se=.05,ie=.25,Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-be)*a,(se-be)*E,(ie-We)*a,(se-We)*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 yt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,z=new go.PathFigure(E,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),y.spot1=new go.Spot(0,x),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a));var z=new go.PathFigure(.5*E,.5*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,y*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),x}),go.Shape.defineFigureGenerator("Database",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=xe*.1,te=new go.PathFigure(E,.1*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var ae=new go.PathFigure(E,.1*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.3*a,0,(.2+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.4*a,E,(.3+z)*a,(.5+y)*E,.4*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-y)*E,.4*a,0,(.3+z)*a)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.9*a,.25*E,.1*a).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=xe*.1,te=new go.PathFigure(E,.1*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var ae=new go.PathFigure(E,.1*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.3*a,0,(.2+z)*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var z=xe*.2,te=new go.PathFigure(0,.2*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,0,(.2-z)*a,(.2-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.2*a,(.8+z)*E,0,E,(.2-z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,a,E,(.8+z)*a,(.8+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-z)*E,a,0,(.8+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var ae=new go.PathFigure(0,y*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,y*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),x}),go.Shape.defineFigureGenerator("Document",function(le,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(y*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,y*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(.1*E,.4*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.9*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.6*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Move,.4*E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.9*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.75*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a));var z=new go.PathFigure(E,.5*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a));var te=new go.PathFigure(E,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ae=new go.PathFigure(y*E,0,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),ae.add(new go.PathSegment(go.PathSegment.Move,0,z*a)),ae.add(new go.PathSegment(go.PathSegment.Line,E,z*a)),x}),go.Shape.defineFigureGenerator("Junction",function(le,E,a){var x=new go.Geometry,y=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,te=xe*.5,ae=.5,se=new go.PathFigure(E,ae*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,a,E,(ae+te)*a,(ae+te)*E,a)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,ae*a,(ae-te)*E,a,0,(ae+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,0,0,(ae-te)*a,(ae-te)*E,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,E,ae*a,(ae+te)*E,0,E,(ae-te)*a));var ie=new go.PathFigure((z+y)*E,(z+y)*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z*E,z*a)),ie.add(new go.PathSegment(go.PathSegment.Move,z*E,(z+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Line,(z+y)*E,z*a)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(le,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close());var z=new go.PathFigure(.1*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.75*a)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=.5,te=new go.PathFigure(.5*E,a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*E,.9*a,E,(z+y)*a,(z+y)*E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,y*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,(1-y)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(le,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.44*a,.96*E,.47*a,.93*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.54*a,.86*E,.57*a,.83*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*E,.4*a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,0).close());var z=new go.PathFigure(.1*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.44*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,.1*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close());var z=new go.PathFigure(.2*E,.1*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Move,.1*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.1);var z=1-y,te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close());var ae=new go.PathFigure(.5*y*E,y*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*E,y*a)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=.5,te=new go.PathFigure(E,z*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var ae=new go.PathFigure(E,.5*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(le,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.5*E,.6*a,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure((1-y)*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,y*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),x}),go.Shape.defineFigureGenerator("Process",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(y*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(0,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(y*E,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a));var te=new go.PathFigure(y*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),x.spot1=new go.Spot(y,0),x.spot2=new go.Spot(1-y,1),x}),go.Shape.defineFigureGenerator("Terminator",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,(1-y)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(.5+y)*E,0,E,(.5-y)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.5+y)*a,(.5+y)*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=.5,te=new go.PathFigure(E,z*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var ae=new go.PathFigure(E,z*a,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E,z*a));var se=new go.PathFigure(.8*E,.75*a,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.8*E,.25*a)),se.add(new go.PathSegment(go.PathSegment.Line,.6*E,.25*a)),se.add(new go.PathSegment(go.PathSegment.Line,.6*E,.75*a)),se.add(new go.PathSegment(go.PathSegment.Line,.4*E,.75*a)),se.add(new go.PathSegment(go.PathSegment.Line,.4*E,.25*a)),se.add(new go.PathSegment(go.PathSegment.Line,.2*E,.25*a)),se.add(new go.PathSegment(go.PathSegment.Line,.2*E,.75*a)),x}),go.Shape.defineFigureGenerator("Ground",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Move,.3*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),x}),go.Shape.defineFigureGenerator("Inverter",function(le,E,a){var x=new go.Geometry,y=xe*.1,z=.1,te=.9,ae=.5,se=new go.PathFigure(.8*E,.5*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,a)),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a));var ie=new go.PathFigure((te+z)*E,ae*a,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te+z)*E,(ae+y)*a,(te+y)*E,(ae+z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,(te-y)*E,(ae+z)*a,(te-z)*E,(ae+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-z)*a,(te-z)*E,(ae-y)*a,(te-y)*E,(ae-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,(te+y)*E,(ae-z)*a,(te+z)*E,(ae-y)*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=xe*.4,te=xe*.1,ae=.1,se=.9,ie=.5,Se=new go.PathFigure(.8*E,.5*a,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,.8*E,(.5+z)*a,(.4+y)*E,a)),Se.add(new go.PathSegment(go.PathSegment.Line,0,a)),Se.add(new go.PathSegment(go.PathSegment.Line,0,0)),Se.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),Se.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(.4+y)*E,0,.8*E,(.5-z)*a));var 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=xe*y,te=0,ae=.5,se=new go.PathFigure(.8*E,.5*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(te+z)*E,(ae-y)*a,.7*E,(ae-z)*a)),y=.1,z=xe*.1,te=.9,ae=.5;var ie=new go.PathFigure((te-y)*E,ae*a,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-y)*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,ae*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+y)*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,ae*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(le,E,a){var x=new go.Geometry,y=.5,z=xe*y,te=0,ae=.5,se=new go.PathFigure(0,0,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(te+z+z)*E,(ae-y)*a,.8*E,(ae-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*E,(ae+z)*a,(te+z+z)*E,(ae+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(le,E,a){var x=new go.Geometry,y=.5,z=xe*y,te=.2,ae=.5,se=new go.PathFigure(.1*E,0,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ie=new go.PathFigure(.8*E,.5*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.7*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(te+z)*E,(ae-y)*a,.7*E,(ae-z)*a)),y=.1,z=xe*.1,te=.9,ae=.5;var Se=new go.PathFigure((te-y)*E,ae*a,!0);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-y)*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,ae*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+y)*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,ae*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(le,E,a){var x=new go.Geometry,y=.5,z=xe*y,te=.2,ae=.5,se=new go.PathFigure(.1*E,0,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ie=new go.PathFigure(.2*E,0,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(te+z)*E,(ae-y)*a,.9*E,(ae-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.9*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Resistor",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),x}),go.Shape.defineFigureGenerator("Inductor",function(le,E,a){var x=new go.Geometry,y=xe*.1,z=.1,te=.1,ae=.5,se=new go.PathFigure((te-y*.5)*E,a,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-y)*E,a,(te-z)*E,0)),te=.3,se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+y)*E,a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-y)*E,a,(te-z)*E,0)),te=.5,se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+y)*E,a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-y)*E,a,(te-z)*E,0)),te=.7,se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+y)*E,a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-y)*E,a,(te-z)*E,0)),te=.9,se.add(new go.PathSegment(go.PathSegment.Bezier,(te+y*.5)*E,a,(te+z)*E,0,(te+y)*E,a)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(le,E,a){var x=new go.Geometry,y=xe*.5,z=.5,te=.5,ae=.5,se=new go.PathFigure((te-z)*E,ae*a,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-z)*a,(te-z)*E,(ae-y)*a,(te-y)*E,(ae-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,(te+y)*E,(ae-z)*a,(te+z)*E,(ae-y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te+z)*E,(ae+y)*a,(te+y)*E,(ae+z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,(te-y)*E,(ae+z)*a,(te-z)*E,(ae+y)*a)),se.add(new go.PathSegment(go.PathSegment.Move,(te-z+.1)*E,ae*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z-.1)*E,ae*a,te*E,(ae-z)*a,te*E,(ae+z)*a)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Diode",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(le,E,a){var x=new go.Geometry,y=E,z=a;E=E*.38,a=a*.6;var te=xe*.8,ae=.8,se=0,ie=.5,Se=(y-E)/2,be=(z-a)/2,We=new go.PathFigure(se*E+Se,(ie+ae)*a+be,!0);x.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae)*E+Se,ie*a+be,(se-te)*E+Se,(ie+ae)*a+be,(se-ae)*E+Se,(ie+te)*a+be)),We.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie-ae)*a+be,(se-ae)*E+Se,(ie-te)*a+be,(se-te)*E+Se,(ie-ae)*a+be)),We.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae+te*.5)*E+Se,ie*a+be,se*E+Se,(ie-ae)*a+be,(se-ae+te*.5)*E+Se,(ie-te)*a+be)),We.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie+ae)*a+be,(se-ae+te*.5)*E+Se,(ie+te)*a+be,se*E+Se,(ie+ae)*a+be).close()),te=xe*.4,ae=.4,se=.2,ie=.5;var Ne=new go.PathFigure(se*E+Se,(ie+ae)*a+be,!0);x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae)*E+Se,ie*a+be,(se-te)*E+Se,(ie+ae)*a+be,(se-ae)*E+Se,(ie+te)*a+be)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie-ae)*a+be,(se-ae)*E+Se,(ie-te)*a+be,(se-te)*E+Se,(ie-ae)*a+be)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae+te*.5)*E+Se,ie*a+be,se*E+Se,(ie-ae)*a+be,(se-ae+te*.5)*E+Se,(ie-te)*a+be)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie+ae)*a+be,(se-ae+te*.5)*E+Se,(ie+te)*a+be,se*E+Se,(ie+ae)*a+be).close()),te=xe*.2,ae=.2,se=.5,ie=.5;var mt=new go.PathFigure((se-ae)*E+Se,ie*a+be,!0);x.add(mt),mt.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie-ae)*a+be,(se-ae)*E+Se,(ie-te)*a+be,(se-te)*E+Se,(ie-ae)*a+be)),mt.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae)*E+Se,ie*a+be,(se+te)*E+Se,(ie-ae)*a+be,(se+ae)*E+Se,(ie-te)*a+be)),mt.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie+ae)*a+be,(se+ae)*E+Se,(ie+te)*a+be,(se+te)*E+Se,(ie+ae)*a+be)),mt.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae)*E+Se,ie*a+be,(se-te)*E+Se,(ie+ae)*a+be,(se-ae)*E+Se,(ie+te)*a+be)),te=xe*.4,ae=.4,se=.8,ie=.5;var Re=new go.PathFigure(se*E+Se,(ie-ae)*a+be,!0);x.add(Re),Re.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae)*E+Se,ie*a+be,(se+te)*E+Se,(ie-ae)*a+be,(se+ae)*E+Se,(ie-te)*a+be)),Re.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie+ae)*a+be,(se+ae)*E+Se,(ie+te)*a+be,(se+te)*E+Se,(ie+ae)*a+be)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae-te*.5)*E+Se,ie*a+be,se*E+Se,(ie+ae)*a+be,(se+ae-te*.5)*E+Se,(ie+te)*a+be)),Re.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie-ae)*a+be,(se+ae-te*.5)*E+Se,(ie-te)*a+be,se*E+Se,(ie-ae)*a+be).close()),te=xe*.8,ae=.8,se=1,ie=.5;var Je=new go.PathFigure(se*E+Se,(ie-ae)*a+be,!0);return x.add(Je),Je.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae)*E+Se,ie*a+be,(se+te)*E+Se,(ie-ae)*a+be,(se+ae)*E+Se,(ie-te)*a+be)),Je.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie+ae)*a+be,(se+ae)*E+Se,(ie+te)*a+be,(se+te)*E+Se,(ie+ae)*a+be)),Je.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae-te*.5)*E+Se,ie*a+be,se*E+Se,(ie+ae)*a+be,(se+ae-te*.5)*E+Se,(ie+te)*a+be)),Je.add(new go.PathSegment(go.PathSegment.Bezier,se*E+Se,(ie-ae)*a+be,(se+ae-te*.5)*E+Se,(ie-te)*a+be,se*E+Se,(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=xe*.4,z=.4,te=.5,ae=.5,se=b(),ie=b(),Se=b(),be=b();Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.5,se,se,ie,Se,be);var We=oe(ie.x,ie.y),Ne=new go.PathFigure(ie.x*E,ie.y*a,!0);x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,Se.x*E,Se.y*a,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,Se,be,ie,se,se),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*E,ie.y*a,Se.x*E,Se.y*a,be.x*E,be.y*a)),y=xe*.3,z=.3,Ae(te-z,ae,te-z,ae-y,te-y,ae-z,te,ae-z,.5,Se,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,Se.x*E,Se.y*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.5,se,se,ie,Se,be),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*E,ie.y*a,be.x*E,be.y*a,Se.x*E,Se.y*a).close());var Ne=new go.PathFigure(.45*E,0,!0);return x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.5*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,0).close()),he(se),he(ie),he(Se),he(be),he(We),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a/2,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,E/2,a/2,E/2,a/2));function z(te,ae,se){te.add(new go.PathSegment(go.PathSegment.Move,(.3+ae)*E,(.8+se)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ae)*E,(.5+se)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+ae)*E,(.5+se)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+ae)*E,(.8+se)*a).close())}return z(y,0,0),z(y,.4,0),z(y,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.2*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.37*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.11*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.04*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.49*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.37*a)),y.add(new go.PathSegment(go.PathSegment.Line,.63*E,.86*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.91*a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,.78*a)),y.add(new go.PathSegment(go.PathSegment.Line,.44*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.56*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*E,0,-.25*E,.63*a,.45*E,.44*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*E,.42*a,.48*E,.17*a,.54*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*E,.18*a,.59*E,.29*a,.58*E,.28*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,.6*a,.8*E,.34*a,.88*E,.43*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*E,.31*a,.87*E,.48*a,.88*E,.43*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,1.17*E,.76*a,.82*E,.8*a).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(le,E,a){var x=new go.Geometry,y=.5,z=0,te=0,ae=y*xe,se=.4*Math.SQRT2/2+.5,ie=.5-.5*Math.SQRT2/2,Se=1,be=.5,We=.5,Ne=0,mt=new go.PathFigure(se*E,(1-ie)*a,!1);return x.add(mt),mt.add(new go.PathSegment(go.PathSegment.Bezier,Se*E,be*a,Se*E,.7*a,Se*E,be*a)),mt.add(new go.PathSegment(go.PathSegment.Bezier,(We+z)*E,(Ne+z)*a,(.5+y+z)*E,(.5-ae+z)*a,(.5+ae+z)*E,(.5-y+z)*a)),mt.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+te)*a,(.5-ae+z)*E,(.5-y+te)*a,(.5-y+z)*E,(.5-ae+te)*a)),mt.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*E,.9*a,(.5-y+z)*E,(.5+ae+te)*a,(.5-ae+z)*E,.9*a)),mt.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*E,.8*a)),mt.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*E,.9*a)),mt.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*E,.95*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(E,a,!1);x.add(z);var te=new go.PathFigure(0,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.2*E,.35*a,.3*E,.35*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.7*E,.65*a,.8*E,.65*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var y=new go.PathFigure(0,.2*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.7*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,0,.6*E,.5*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,a,.4*E,.5*a,E,.5*a).close());var z=new go.PathFigure(.45*E,.73*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.73*a)),z.add(new go.PathSegment(go.PathSegment.Move,.38*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.63*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Move,.31*E,.27*a)),z.add(new go.PathSegment(go.PathSegment.Line,.56*E,.27*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(.335*E,(1-.555)*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.68*a,(1-.12)*E,.46*a,(1-.02)*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*E,(1-.555)*a,.02*E,.54*a,.12*E,.46*a)),z.add(new go.PathSegment(go.PathSegment.Line,.365*E,(1-.595)*a));var te=.5-.285,ae=.5,se=te,ie=Math.PI/4,Se=4*(1-Math.cos(ie))/(3*Math.sin(ie)),be=Se*.5,We=te,Ne=te,mt=Se*We,Re=Se*Ne;z.add(new go.PathSegment(go.PathSegment.Bezier,(ae-We)*E,se*a,(ae-(mt+We)/2)*E,(se+(Ne+Re)/2)*a,(ae-We)*E,(se+Re)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(se-Ne)*a,(ae-We)*E,(se-Re)*a,(ae-mt)*E,(se-Ne)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(ae+We)*E,se*a,(ae+mt)*E,(se-Ne)*a,(ae+We)*E,(se-Re)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*E,(1-.595)*a,(ae+We)*E,(se+Re)*a,(ae+(mt+We)/2)*E,(se+(Ne+Re)/2)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*E,(1-.595)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a));var Je=new go.PathFigure(.2*E,a,!1);x.add(Je),Je.add(new go.PathSegment(go.PathSegment.Line,.2*E,.8*a));var Qe=new go.PathFigure(.8*E,a,!1);return x.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var z=new go.PathFigure(.2*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(E,a,!1);x.add(z);var te=new go.PathFigure(.1*E,a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Caution",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.05*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.8*a,0,a,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.1*a,.5*E,0,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,E,a,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,a));var z=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*E,.875*a)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*E,.875*a,z*E,z*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.325*a,.575*E,.725*a,.625*E,.375*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.75*a,.375*E,.375*a,.425*E,.725*a)),x}),go.Shape.defineFigureGenerator("Recycle",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.45*E,.95*a,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*E,.85*a,.17*E,.95*a,.15*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.235*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.625*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,.275*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.575*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*E,.95*a,0,.675*a,0,.7*a)),y.add(new go.PathSegment(go.PathSegment.Move,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.775*a)),y.add(new go.PathSegment(go.PathSegment.Line,.22*E,.775*a));var z=new go.PathFigure(.475*E,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.225*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.275*E,.175*a)),z.add(new go.PathSegment(go.PathSegment.Line,.325*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.05*a,.35*E,0,.375*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*E,.375*a)),z.add(new go.PathSegment(go.PathSegment.Line,.525*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.475*a)),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.315*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.32*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,0,.65*E,.05*a,.625*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*E,.0105*a));var te=new go.PathFigure(.675*E,.575*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.875*E,.525*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.85*E,.95*a,E,.8*a,E,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.95*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.725*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Move,.675*E,.575*a)),te.add(new go.PathSegment(go.PathSegment.Line,.775*E,.775*a)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(le,E,a){var x=new go.Geometry,y=.5,z=xe*.5,te=new go.PathFigure(E,y*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,y*E,a,E,(y+z)*a,(y+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y*a,(y-z)*E,a,0,(y+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,y*E,0,0,(y-z)*a,(y-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,y*a,(y+z)*E,0,E,(y-z)*a));var ae=new go.PathFigure(y*E,0,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*E,.15*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,y*E,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Move,0,y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.15*E,y*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.85*E,y*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.58*E,.1*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.78*E,.54*a)),x}),go.Shape.defineFigureGenerator("Package",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.15*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,.15*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.15*a).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var te=new go.PathFigure(0,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Component",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close());var z=new go.PathFigure(0,.2*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var te=new go.PathFigure(0,.6*a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.45*E,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.15*E,.6*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a));var z=new go.PathFigure(.15*E,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(E,.8*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.8*a).close());var te=.1,ae=xe*.1,se=.2,ie=.9,Se=new go.PathFigure((se-te)*E,ie*a,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-te)*a,(se-te)*E,(ie-ae)*a,(se-ae)*E,(ie-te)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(se+te)*E,ie*a,(se+ae)*E,(ie-te)*a,(se+te)*E,(ie-ae)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie+te)*a,(se+te)*E,(ie+ae)*a,(se+ae)*E,(ie+te)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(se-te)*E,ie*a,(se-ae)*E,(ie+te)*a,(se-te)*E,(ie+ae)*a).close()),te=.1,ae=xe*.1,se=.8,ie=.9;var 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=xe*.1,Se=.1,be=.9,We=new go.PathFigure((Se-se)*E,be*a,!0);x.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,Se*E,(be-se)*a,(Se-se)*E,(be-ie)*a,(Se-ie)*E,(be-se)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Se+se)*E,be*a,(Se+ie)*E,(be-se)*a,(Se+se)*E,(be-ie)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,Se*E,(be+se)*a,(Se+se)*E,(be+ie)*a,(Se+ie)*E,(be+se)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Se-se)*E,be*a,(Se-ie)*E,(be+se)*a,(Se-se)*E,(be+ie)*a)),se=.1,ie=xe*.1,Se=.4,be=.9;var Ne=new go.PathFigure((Se-se)*E,be*a,!0);return x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,Se*E,(be-se)*a,(Se-se)*E,(be-ie)*a,(Se-ie)*E,(be-se)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(Se+se)*E,be*a,(Se+ie)*E,(be-se)*a,(Se+se)*E,(be-ie)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,Se*E,(be+se)*a,(Se+se)*E,(be+ie)*a,(Se+ie)*E,(be+se)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(Se-se)*E,be*a,(Se-ie)*E,(be+se)*a,(Se-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 Se=.05,be=xe*.05,We=.175,Ne=.95,ae=new go.PathFigure((We-Se)*E,Ne*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ne-Se)*a,(We-Se)*E,(Ne-be)*a,(We-be)*E,(Ne-Se)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(We+Se)*E,Ne*a,(We+be)*E,(Ne-Se)*a,(We+Se)*E,(Ne-be)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ne+Se)*a,(We+Se)*E,(Ne+be)*a,(We+be)*E,(Ne+Se)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(We-Se)*E,Ne*a,(We-be)*E,(Ne+Se)*a,(We-Se)*E,(Ne+be)*a));var Se=.05,be=xe*.05,We=.375,Ne=.95,se=new go.PathFigure((We-Se)*E,Ne*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ne-Se)*a,(We-Se)*E,(Ne-be)*a,(We-be)*E,(Ne-Se)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(We+Se)*E,Ne*a,(We+be)*E,(Ne-Se)*a,(We+Se)*E,(Ne-be)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ne+Se)*a,(We+Se)*E,(Ne+be)*a,(We+be)*E,(Ne+Se)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(We-Se)*E,Ne*a,(We-be)*E,(Ne+Se)*a,(We-Se)*E,(Ne+be)*a));var Se=.05,be=xe*.05,We=.625,Ne=.95,ie=new go.PathFigure((We-Se)*E,Ne*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ne-Se)*a,(We-Se)*E,(Ne-be)*a,(We-be)*E,(Ne-Se)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(We+Se)*E,Ne*a,(We+be)*E,(Ne-Se)*a,(We+Se)*E,(Ne-be)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ne+Se)*a,(We+Se)*E,(Ne+be)*a,(We+be)*E,(Ne+Se)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(We-Se)*E,Ne*a,(We-be)*E,(Ne+Se)*a,(We-Se)*E,(Ne+be)*a));var Se=.05,be=xe*.05,We=.825,Ne=.95,mt=new go.PathFigure((We-Se)*E,Ne*a,!0);x.add(mt),mt.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ne-Se)*a,(We-Se)*E,(Ne-be)*a,(We-be)*E,(Ne-Se)*a)),mt.add(new go.PathSegment(go.PathSegment.Bezier,(We+Se)*E,Ne*a,(We+be)*E,(Ne-Se)*a,(We+Se)*E,(Ne-be)*a)),mt.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ne+Se)*a,(We+Se)*E,(Ne+be)*a,(We+be)*E,(Ne+Se)*a)),mt.add(new go.PathSegment(go.PathSegment.Bezier,(We-Se)*E,Ne*a,(We-be)*E,(Ne+Se)*a,(We-Se)*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=xe*.05,ie=.35,Se=.775,be=new go.PathFigure((ie-ae)*E,Se*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(Se-ae)*a,(ie-ae)*E,(Se-se)*a,(ie-se)*E,(Se-ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ae)*E,Se*a,(ie+se)*E,(Se-ae)*a,(ie+ae)*E,(Se-se)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(Se+ae)*a,(ie+ae)*E,(Se+se)*a,(ie+se)*E,(Se+ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ae)*E,Se*a,(ie-se)*E,(Se+ae)*a,(ie-ae)*E,(Se+se)*a).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Globe",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.75*E,0,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.75*a,.75*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*E,a,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,.25*a,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,.15*E,.25*a,.15*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.85*E,.75*a,.85*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.15*a,.35*E,.3*a,.65*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.85*a,.35*E,.7*a,.65*E,.7*a)),x}),go.Shape.defineFigureGenerator("Wave",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.25*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.25*a,.1*E,0,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.25*a,.425*E,.5*a,.575*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.25*a,.8*E,0,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.75*a,.1*E,.5*a,.2*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.75*a,.425*E,a,.575*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.75*a,.8*E,.5*a,.9*E,.5*a)),x}),go.Shape.defineFigureGenerator("Operator",function(le,E,a){var x=new go.Geometry,y=.3,z=xe*.3,te=.5,ae=.7,se=new go.PathFigure((te-y)*E,ae*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-y)*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,ae*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+y)*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,ae*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a));var ie=new go.PathFigure(0,.7*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,E,.7*a,0,0,E,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.65*E,.3*a,.65*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.35*E,.5*a,.35*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*E,.6*a,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.2*E,a,.35*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,a,.7*E,.6*a,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.8*E,a,.65*E,.95*a)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,0,a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.4*a,.8*E,a,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),x}),go.Shape.defineFigureGenerator("Battery",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.1*a));var z=new go.PathFigure(0,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),x}),go.Shape.defineFigureGenerator("Delete",function(le,E,a){var x=new go.Geometry,y=.5,z=xe*.5,te=.5,ae=.5,se=new go.PathFigure((te-y)*E,ae*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-y)*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,ae*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+y)*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,ae*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a));var ie=new go.PathFigure(.15*E,.5*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.85*E,.5*a)),x}),go.Shape.defineFigureGenerator("Flag",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.1*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.1*a,.15*E,0,.35*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,.65*E,.2*a,.85*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.85*E,.6*a,.65*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*E,.4*a,.15*E,.4*a).close()),x}),go.Shape.defineFigureGenerator("Help",function(le,E,a){var x=new go.Geometry,y=.5,z=xe*.5,te=.5,ae=.5,se=new go.PathFigure((te-y)*E,ae*a,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-y)*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,ae*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+y)*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,ae*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a).close()),y=.05,z=xe*.05,te=.5,ae=.8;var ie=new go.PathFigure((te-y)*E,ae*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-y)*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,ae*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+y)*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,ae*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a).close()),ie.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,.75*E,.475*a,.75*E,.225*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.35*a,.4*E,.2*a,.3*E,.25*a)),x}),go.Shape.defineFigureGenerator("Location",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.975*E,.025*a,.5*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*E,.5*a,.5*E,0,.025*E,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*E,.3*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.3*a)),x}),go.Shape.defineFigureGenerator("Unlocked",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.35*a)),x}),go.Shape.defineFigureGenerator("Gear",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.9375*E,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*E,.3316875*a,.79840625*E,.39915625*a,.7834375*E,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*E,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*E,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*E,.19378125*a,.64228125*E,.2188125*a,.603875*E,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*E,.239375*a,.39759375*E,.20190625*a,.36053125*E,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*E,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*E,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*E,.4375*a,.21765625*E,.36059375*a,.201875*E,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*E,.67596875*a,.20221875*E,.603875*a,.21884375*E,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*E,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*E,.80621875*a,.36353125*E,.78340625*a,.3991875*E,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*E,.760625*a,.602375*E,.79809375*a,.63946875*E,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*E,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*E,.56246875*a,.78234375*E,.63940625*a,.798125*E,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*E,.5*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.3*a,0,.375*a,.05*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.075*a,.3*E,.225*a,.4*E,.175*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*E,.075*a,.46*E,.05*a,.525*E,.05*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.4*a,.525*E,.275*a,.475*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.55*a,E,.4*a,E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.425*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.7*a,.675*E,.55*a,.675*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.575*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,.85*a,.65*E,.7*a,.65*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*E,a,.61*E,.85*a,.61*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*E,a,0,a).close()),x}),go.Shape.defineFigureGenerator("Map",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),x}),go.Shape.defineFigureGenerator("Eject",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.7)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var z=new go.PathFigure(0,a*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*1,a*1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.85).close());var z=new go.PathFigure(.126*E,.85*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.85*a).close());var te=new go.PathFigure(.402*E,.85*a,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.402*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*E,.85*a).close());var ae=new go.PathFigure(.678*E,.85*a,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.678*E,.45*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*E,.45*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*E,.85*a).close());var se=new go.PathFigure(.5*E,.1*a,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*E,.3*a)),se.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*E,.3*a).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a*1,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a*1,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*(1-.184)).close());var z=new go.PathFigure(E*.204,a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.204,a*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*1).close());var te=new go.PathFigure(E*.408,a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.408,a*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*1).close());var ae=new go.PathFigure(E*.612,a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*.612,a*(1-.184*3))),ae.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*(1-.184*4))),ae.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*1).close());var se=new go.PathFigure(E*.816,a,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,E*.816,a*(1-.184*4))),se.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-.184*5))),se.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,0).close());var z=new go.PathFigure(E*.055,.07*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.07)),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.1).close());var te=new go.PathFigure(E*.055,.13*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.13)),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.16)),te.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.16).close());var ae=new go.PathFigure(E*.055,.18*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.18)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.21)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.21).close());var se=new go.PathFigure(E*1,0,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,E*.4,0)),se.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.65)),se.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.55*E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*E,.525*a,0,.4*a,.225*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.2*a,.975*E,0,E,.08*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.55*E,a).close()),x}),go.Shape.defineFigureGenerator("Key",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*1,a*.5,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,.575*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.6*a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*E,.425*a)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*E,.5*a,.075*E,.075*a).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*0,E*.3,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*1,E*.3,E*.055)),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var te=new go.PathFigure(E*.11,a*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.8)),te.add(new go.PathSegment(go.PathSegment.Line,E*.11,a*.8).close());var ae=new go.PathFigure(E*(.11+.24133333*1+.028*1),a*.1,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.1)),ae.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.8)),ae.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*1),a*.8).close());var se=new go.PathFigure(E*(.11+.24133333*2+.028*2),a*.1,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.1)),se.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.8)),se.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*2),a*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(le,E,a){var x=new go.Geometry,y=8,z=y*xe,te=new go.PathFigure(y,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.14)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,z,z,0).close());var ae=new go.PathFigure(E*.83,0,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*0).close());var se=new go.PathFigure(E*.83,a*1,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.5)),se.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.5)),se.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*1).close());var ie=new go.PathFigure(E*.78,a*.05,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.05)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.25)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.78,a*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,E/3),x=Math.min(x,a/3);var y=x*xe,z=a*.8,te=new go.Geometry,ae=new go.PathFigure(x,0,!0);return te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),ae.add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-y,0,E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,E,z-x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,E-x,z,E,z-y,E-y,z)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.7,z)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.7,a)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.55,z)),ae.add(new go.PathSegment(go.PathSegment.Line,x,z)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,y,z,0,z-y)),ae.add(new go.PathSegment(go.PathSegment.Line,0,x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()),y>1?(te.spot1=new go.Spot(0,0,y,y),te.spot2=new go.Spot(1,.8,-y,-y)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*.45,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.45).close());var z=new go.PathFigure(E*1,a*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*E,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*.1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.9).close());var z=new go.PathFigure(E*.1,a*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,E*.22,a*.285)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.25).close());var te=new go.PathFigure(E*.28,a*.37,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.37)),te.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.41)),te.add(new go.PathSegment(go.PathSegment.Line,E*.28,a*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(le,E,a){var x=new go.Geometry,y=15,z=y*xe,te=new go.PathFigure(E*.62,a*.475,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),te.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.475)),te.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.03)),te.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,E*.62,a*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var te=new go.PathFigure(E*.4,a*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.66)),te.add(new go.PathSegment(go.PathSegment.Line,E*(1-.26),a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var te=new go.PathFigure(E*.5,a*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.74,a*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close());var z=new go.PathFigure(E*.235,a*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.765,a*.28)),z.add(new go.PathSegment(go.PathSegment.Line,E*.655,a*.97)),z.add(new go.PathSegment(go.PathSegment.Line,E*.345,a*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.5,a*0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},84072:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var yt={},kt="5.0",oe={},b=null,he=!1,De=!1,Ae=null,ke=!1,ze=null,xe=null,tt=0;tt4?parseFloat(Te):5};yt.setHTML5Codebase=function(Te,ot){xe=Te,nn(Te,ot)},yt.setJavaCodebase=yt.setJavaCodebaseVersion=yt.isCompiledInstalled=yt.setPreCompiledScriptPath=yt.setPreCompiledResourcePath=function(){},yt.setHTML5CodebaseVersion=function(Te,ot){var Ut=parseFloat(Te);if(Ut!==NaN&&Ut<5){console.log("The GeoGebra HTML5 codebase version "+Ut+" is deprecated. Using version latest instead.");return}ze=Te,yn(Te,ot)},yt.getHTML5CodebaseVersion=function(){return le},yt.getParameters=function(){return oe},yt.setFontsCSSURL=function(Te){te=Te},yt.setGiacJSURL=function(Te){},yt.setJNLPFile=function(Te){Le=Te},yt.setJNLPBaseDir=function(Te){},yt.inject=function(){function Te(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ot="auto",Ut=oe.id,xn,At=!1,ln=0;ln=5)return!0;var Te=yt.getAppletObject();return Te&&typeof Te.recalculateEnvironments=="function"?(Te.recalculateEnvironments(),!0):!1},yt.startAnimation=function(){var Te=yt.getAppletObject();return Te&&typeof Te.startAnimation=="function"?(Te.startAnimation(),!0):!1},yt.stopAnimation=function(){var Te=yt.getAppletObject();return Te&&typeof Te.stopAnimation=="function"?(Te.stopAnimation(),!0):!1},yt.getAppletObject=function(){var Te=oe.id!==void 0?oe.id:"ggbApplet";return window[Te]},yt.resize=function(){};var mt=function(Te,ot,Ut){var xn=document.createElement("param");xn.setAttribute("name",ot),xn.setAttribute("value",Ut),Te.appendChild(xn)},Re=function(Te){return Te&&Te!=="false"},Je=function(Te,ot,Ut){se(le)<=4.2&&(Ut=!0);var xn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==le||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(xn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var At=document.createElement("div");At.classList.add("appletParameters","notranslate");var ln=ot.width,Ce=ot.height;if(ot.disableAutoScale=ot.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ot.disableAutoScale,ot.width!==void 0)if(se(le)<=4.4)Re(ot.showToolBar)&&(ot.height-=7),Re(ot.showAlgebraInput)&&(ot.height-=37),ot.width<605&&Re(ot.showToolBar)&&(ot.width=605,ln=605);else{var ut=100;(Re(ot.showToolBar)||Re(ot.showMenuBar))&&(ot.hasOwnProperty("customToolBar")&&(ot.customToolbar=ot.customToolBar),ut=Re(ot.showMenuBar)?245:155),ln=5?(ot.appletOnLoad=function(Vn){var xa=Te.querySelector(".ggb_preview");xa&&xa.parentNode.removeChild(xa),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Pt),window.GGBT_wsf_view&&$(window).trigger("resize"),nt(Vn)},_n||Pt.appendChild(sn)):At.appendChild(sn),Pt.appendChild(At),_n||Te.appendChild(Pt),setTimeout(function(){yt.resize()},1)}else{var Rt=document.createElement("div");Rt.className="applet_scaler",Rt.style.position="relative",Rt.style.display="block",Rt.appendChild(At),Te.appendChild(Rt),ot.appletOnLoad=function(Vn){yt.resize(),nt(Vn)}}function Mt(Vn,xa){xa&&typeof xa.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Vn,xa.appletOnLoad):renderGGBElement(Vn),Wt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",xa)}function Yn(Vn,xa){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Vn,params:xa}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(cr){Mt(cr.article,cr.params)}),html5AppletsToProcess=null)},se(le)<5&&(Vn.className+=" geogebraweb")):Mt(Vn,xa)}if(xn){scriptLoadStarted=!0;for(var aa=0;aa0?(Xt.remove(),Pt.attr("id","fullscreencontent").show(),jQuery(nt).append(Pt),window.dispatchEvent(new Event("resize"))):Je(Xt,ot,!1),window.GGBT_wsf_view.launchFullScreen(nt)}else Ke=xn,Je(Te,ot,!1);if(!window.GGBT_wsf_view)for(Ce=0;CeTe/4*3&&(Xt=Te/4*3),nt=Xt/5.8,ut.setAttribute("src",y),ut.setAttribute("width",Xt),ut.setAttribute("height",nt);var Pt=(Te-Xt)/2,_n=(ot-nt)/2;ut.style.left=Pt+"px",ut.style.top=_n+"px",At.appendChild(ut)}}return At.appendChild(Ce),At},Lt=function(Te){return Te=Te.toLowerCase(),Te==="html5"||Te==="screenshot"?Te:"html5"},gt=["web","webSimple","web3d","tablet","tablet3d","phone"],yn=function(Te,ot){if(le=Te,ot){nn(le,!0);return}var Ut=!he;if(Ut){var xn=se(le);!isNaN(xn)&&xn<4.4&&(Ut=!1)}var At,ln;window.location.protocol.substr(0,4)==="http"?At=window.location.protocol:At="http:";var Ce=le.indexOf("//");Ce>0?ln=le:Ce===0?ln=At+le:ln="https://www.geogebra.org/apps/5.2.814.0/";for(var ut in gt)if(le.slice(gt[ut].length*-1)===gt[ut]||le.slice((gt[ut].length+1)*-1)===gt[ut]+"/"){nn(ln,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ut&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!Re(oe.showToolBar)&&!Re(oe.showMenuBar)&&!Re(oe.showAlgebraInput)&&!Re(oe.enableRightClick)&&(!oe.appName||oe.appName=="classic")?ln+="webSimple/":ln+="web3d/",nn(ln,!1)},nn=function(Te,ot){if(Te.requirejs){_e=Te;return}Te.slice(-1)!=="/"&&(Te+="/"),_e=Te,ot===null&&(ot=Te.indexOf("http")===-1),He=ot,E="web.nocache.js",a=!1;var Ut=_e.split("/");Ut.length>1&&(!ot&&Ut[Ut.length-2]==="webSimple"?(E="webSimple.nocache.js",a=!0):gt.indexOf(Ut[Ut.length-2])>=0&&(E=Ut[Ut.length-2]+".nocache.js")),Ut=Te.split("/"),le=Ut[Ut.length-3],le.substr(0,4)==="test"?le=le.substr(4,1)+"."+le.substr(5,1):(le.substr(0,3)==="war"||le.substr(0,4)==="beta")&&(le="5.0");var xn=parseFloat(le);xn!==NaN&&xn<5&&Te.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+xn+" is deprecated. Using version latest instead."),yn("5.0",ot))},Wt=function(Te,ot){window.console&&window.console.log&&(!ot||typeof ot.showLogging=="undefined"||ot.showLogging&&ot.showLogging!=="false")&&console.log(Te)};oe.material_id!==void 0?be(_t):_t();function _t(){var Te=kt;ze!==null?Te=ze:parseFloat(Te)<5&&(Te="5.0"),yn(Te,!1),xe!==null&&nn(xe,He),ke=!0}return yt},GGBAppletUtils=function(){"use strict";function yt(){return window.GGBT_wsf_edit!==void 0}function kt(ke,ze){ze!=1?(ke.style.transformOrigin="0% 0% 0px",ke.style.webkitTransformOrigin="0% 0% 0px",ke.style.transform="scale("+ze+","+ze+")",ke.style.webkitTransform="scale("+ze+","+ze+")",ke.style.maxWidth="initial",ke.querySelector(".ggb_preview")!==null&&(ke.querySelector(".ggb_preview").style.maxWidth="initial"),ke.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ke.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ke.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ke.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ke.style.transform="none",ke.style.webkitTransform="none")}function oe(ke,ze,xe,tt,Me,Le){var _e=null;if(Le!=null&&Le!="")for(var He=ke.parentNode;He!=null;)if((" "+He.className+" ").indexOf(" "+Le+" ")>-1){_e=He;break}else He=He.parentNode;var Ke=0,le=0,E=0,a=0,x=0,y=0,z=0;if(_e)Ke=_e.offsetWidth,le=Math.max(tt?_e.offsetWidth:0,_e.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ke=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),E=Ke):(Ke=window.innerWidth,le=window.innerHeight,E=window.innerWidth),ke){var te=ke.getBoundingClientRect();te.left>0&&te.left<=Ke&&(Me===void 0||!Me)&&(document.dir==="rtl"?(x=Ke-te.width-te.left,y=E<=480?10:30):(y=te.left,x=E<=480?10:30),a=y+x)}if(ke&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ae=ke.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,z=40)}}return ke&&((xe===void 0||!xe)&&ze>0&&ze+a1&&(Le=!0)),ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Le=!0),!(ke.hasOwnProperty("disableAutoScale")&&ke.disableAutoScale))Me=b(ke,ze,Le,xe,ke.scaleContainerClass);else return tt;return Le&&(!ke.hasOwnProperty("scale")||tt===1)?Me:Math.min(tt,Me)}function De(ke){var ze=Math.min(window.innerWidth,document.documentElement.clientWidth),xe=Math.min(window.innerHeight,document.documentElement.clientHeight),tt=ke.getBoundingClientRect(),Me=(ze-tt.width)/2,Le=(xe-tt.height)/2;Le<0&&(Le=0),ke.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Me<40?ke.style.left="40px":ke.style.left=Me+"px",ke.style.top=Le+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Le<40?ke.style.top="40px":ke.style.top=Le+"px",ke.style.left=Me+"px")}function Ae(ke,ze){var xe=ke.querySelector(".appletParameters");if(xe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ze.id!==xe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ke)}if(xe.parentElement&&/fullscreen/.test(xe.parentElement.className))return;var tt=he(ze,ke);yt()&&xe.setAttribute("data-param-scale",tt);for(var Me=null,Le=0;Le=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(yt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(yt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(yt){var kt=c[yt];return kt==null?null:kt},r=d,webModule.__errFn=e}function B(){function yt(ke){var ze=ke.lastIndexOf(rb);ze==-1&&(ze=ke.length);var xe=ke.indexOf(sb);xe==-1&&(xe=ke.length);var tt=ke.lastIndexOf(tb,Math.min(xe,ze));return tt>=O?ke.substring(O,tt+P):W}function kt(ke){if(!ke.match(/^\w+:\/\//)){var ze=o.createElement(ub);ze.src=ke+vb,ke=yt(ze.src)}return ke}function oe(){var ke=__gwt_getMetaProperty(wb);return ke!=null?ke:W}function b(){for(var ke=o.getElementsByTagName(_),ze=O;zeO?ke[ke.length-P].href:W}function De(){var ke=o.location;return ke.href==ke.protocol+zb+ke.host+ke.pathname+ke.search+ke.hash}var Ae=oe();return Ae==W&&(Ae=b()),Ae==W&&(Ae=he()),Ae==W&&De()&&(Ae=yt(o.location.href)),Ae=kt(Ae),Ae}function C(yt){return yt.match(/^\//)||yt.match(/^[a-zA-Z]+:\/\//)?yt:webModule.__moduleBase+yt}function D(){var yt=[],kt=O,oe=[],b=[];function he(ke){var ze=b[ke](),xe=oe[ke];if(ze in xe)return ze;var tt=[];for(var Me in xe)tt[xe[Me]]=Me;throw r&&r(ke,tt,ze),null}if(__gwt_isKnownPropertyValue=function(ke,ze){return ze in oe[ke]},webModule.__getPropMap=function(){var ke={};for(var ze in oe)oe.hasOwnProperty(ze)&&(ke[ze]=he(ze));return ke},webModule.__computePropValue=he,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var De;try{De=Cb;var Ae=De.indexOf(Db);Ae!=-1&&(kt=parseInt(De.substring(Ae+P),$),De=De.substring(O,Ae))}catch(ke){}return webModule.__softPermutationId=kt,C(De+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},77665:function(yt,kt,oe){"use strict";oe.d(kt,{Ax:function(){return Ae},Ds:function(){return ke},KI:function(){return xe},SI:function(){return De},f1:function(){return he}});var b=oe(13952);function he(tt){let Me=!0;if(tt.length>0){for(let Le=0;Lea in E?De(E,a,{enumerable:!0,configurable:!0,writable:!0,value:x}):E[a]=x,Le=(E,a)=>{for(var x in a||(a={}))xe.call(a,x)&&Me(E,x,a[x]);if(ze)for(var x of ze(a))tt.call(a,x)&&Me(E,x,a[x]);return E},_e=(E,a)=>Ae(E,ke(a)),He=(E,a)=>{var x={};for(var y in E)xe.call(E,y)&&a.indexOf(y)<0&&(x[y]=E[y]);if(E!=null&&ze)for(var y of ze(E))a.indexOf(y)<0&&tt.call(E,y)&&(x[y]=E[y]);return x},Ke=(E,a,x)=>new Promise((y,z)=>{var te=ie=>{try{se(x.next(ie))}catch(Se){z(Se)}},ae=ie=>{try{se(x.throw(ie))}catch(Se){z(Se)}},se=ie=>ie.done?y(ie.value):Promise.resolve(ie.value).then(te,ae);se((x=x.apply(E,a)).next())});const le=E=>{var a=E,{children:x}=a,y=He(a,["children"]);const[z,te]=(0,he.useState)(!1);return he.createElement(b.ZP,_e(Le({},y),{loading:z,onClick:ae=>Ke(void 0,null,function*(){try{te(!0),yield y.onClick(ae),te(!1)}catch(se){console.error(se),te(!1)}})}),x)}},48102:function(yt,kt,oe){"use strict";var b=oe(86204),he=oe.n(b),De=Object.defineProperty,Ae=(tt,Me,Le)=>Me in tt?De(tt,Me,{enumerable:!0,configurable:!0,writable:!0,value:Le}):tt[Me]=Le,ke=(tt,Me,Le)=>Ae(tt,typeof Me!="symbol"?Me+"":Me,Le),ze=(tt,Me,Le)=>new Promise((_e,He)=>{var Ke=a=>{try{E(Le.next(a))}catch(x){He(x)}},le=a=>{try{E(Le.throw(a))}catch(x){He(x)}},E=a=>a.done?_e(a.value):Promise.resolve(a.value).then(Ke,le);E((Le=Le.apply(tt,Me)).next())});class xe extends b.EventEmitter{constructor(Me,Le){super(),ke(this,"url"),ke(this,"body"),ke(this,"fullContent",""),ke(this,"controller",null),ke(this,"buffer",""),this.url=Me,this.body=Le}startStream(){return ze(this,null,function*(){this.controller=new AbortController;const{signal:Me}=this.controller;try{const Le=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Me});if(!Le.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${Le.status}`);const _e=Le.headers.get("content-type");if(!_e)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(_e.includes("application/json")){const le=yield Le.json();this.emit("error",le);return}if(!_e.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const He=Le.body.getReader(),Ke=new TextDecoder("utf-8");for(;;){const{done:le,value:E}=yield He.read();if(le)break;const a=Ke.decode(E,{stream:!0});this.buffer+=a;const x=this.buffer.split(` `);this.buffer=x.pop()||"";for(const y of x)if(y.startsWith("data:")){const z=y.slice(5).trim();if(z==="[DONE]")break;try{const te=JSON.parse(z);te.data&&this.handleData(te.data)}catch(te){this.buffer=y+` -`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",te)}}}this.emit("done",this.fullContent)}catch(Le){Le.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",Le.message)}})}handleData(Me){Me.content&&(this.fullContent+=Me.content,this.emit("data",{chunk:Me,full:this.fullContent}))}cancelRequest(){var Me;(Me=this.controller)==null||Me.abort()}}_t.Z=xe},7299:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return gt}});var b=oe(59301),he=oe(96536),De=oe(77596),Ae=oe(3310),ke=oe(14179),ze=oe(56102),xe={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},tt=oe(8591),Me=oe(11611),Le=oe(13058),_e=oe(30084),He=oe(10787),Je=oe(14752),le=oe(43428),E=oe(95237),a=oe(43604),x={smartWrp:"smartWrp___NjRcB"},y=oe(58531),z=oe(36433),te=oe(27051),ae=oe(59301),se=(Pn,an,Wt)=>new Promise((Tt,Te)=>{var ot=Bt=>{try{An(Wt.next(Bt))}catch(un){Te(un)}},Qt=Bt=>{try{An(Wt.throw(Bt))}catch(un){Te(un)}},An=Bt=>Bt.done?Tt(Bt.value):Promise.resolve(Bt.value).then(ot,Qt);An((Wt=Wt.apply(Pn,an)).next())});const ie=` +`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",te)}}}this.emit("done",this.fullContent)}catch(Le){Le.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",Le.message)}})}handleData(Me){Me.content&&(this.fullContent+=Me.content,this.emit("data",{chunk:Me,full:this.fullContent}))}cancelRequest(){var Me;(Me=this.controller)==null||Me.abort()}}kt.Z=xe},7299:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return gt}});var b=oe(59301),he=oe(96536),De=oe(77596),Ae=oe(3310),ke=oe(14179),ze=oe(56102),xe={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},tt=oe(8591),Me=oe(11611),Le=oe(13058),_e=oe(30084),He=oe(10787),Ke=oe(14752),le=oe(43428),E=oe(95237),a=oe(43604),x={smartWrp:"smartWrp___NjRcB"},y=oe(58531),z=oe(36433),te=oe(27051),ae=oe(59301),se=(yn,nn,Wt)=>new Promise((_t,Te)=>{var ot=At=>{try{xn(Wt.next(At))}catch(ln){Te(ln)}},Ut=At=>{try{xn(Wt.throw(At))}catch(ln){Te(ln)}},xn=At=>At.done?_t(At.value):Promise.resolve(At.value).then(ot,Ut);xn((Wt=Wt.apply(yn,nn)).next())});const ie=` @@ -136,35 +136,35 @@ initArrayDisplay(); <\/script> -`;function Se({open:Pn=!0,onChange:an,defaultValue:Wt,placement:Tt,width:Te,height:ot,extra:Qt,onDynamic:An,showExtra:Bt=!0}){const un=(0,b.useRef)(null),Ce=(0,b.useRef)(null),[ut,Xt]=(0,b.useState)(Wt||""),[nt,Pt]=(0,b.useState)(Wt||""),[kn,dn]=(0,b.useState)(!!Pn),[kt,Rt]=(0,b.useState)(1),Qn={selectOnLineNumbers:!0};(0,b.useEffect)(()=>{Pn&&(Xt(Wt),Pt(Wt),dn(!0))},[Pn,Wt]),(0,b.useEffect)(()=>{ut!==""&&(clearTimeout(Ce.current),Ce.current=setTimeout(()=>{const tn=document.createElement("iframe");if(tn.style.width="100%",tn.style.height="100%",tn.style.border="0",un.current){un.current.innerHTML="",un.current.appendChild(tn);const Fa=tn.contentDocument||tn.contentWindow.document;Fa.open(),Fa.write(ut),Fa.close()}},1e3))},[Pn,ut]);const na=tn=>{Xt(tn),an==null||an(tn,nt)};return ae.createElement(le.Z,{title:"\u667A\u80FD\u52A8\u6548",placement:"right",open:kn,width:Bt?700:"100%",height:ot||"100vh",rootClassName:x.smartWrp,destroyOnClose:!0,onClose:()=>dn(!1),extra:Bt&&ae.createElement("div",null,ae.createElement(z.tp,{dataSource:[{name:"\u9884\u89C8",id:1},{name:"\u4EE3\u7801",id:2}],value:kt,onChange:tn=>Rt(tn)}),ae.createElement(te.Z,{type:"primary",className:"ml20",onClick:()=>se(this,null,function*(){yield An(ut,()=>{dn(!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:kt===1?"block":"none"}},ae.createElement("div",{className:"h100",ref:un})),ae.createElement(a.Z,{flex:"1",style:{display:kt===2?"block":"none"}},ae.createElement(y.ZP,{height:"90vh",value:Wt,language:"html",theme:"vs",showMiniMap:!1,options:Qn,onChange:na}))))}var be=Se,We=Object.defineProperty,Ne=Object.defineProperties,mt=Object.getOwnPropertyDescriptors,Re=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,et=(Pn,an,Wt)=>an in Pn?We(Pn,an,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Pn[an]=Wt,we=(Pn,an)=>{for(var Wt in an||(an={}))Xe.call(an,Wt)&&et(Pn,Wt,an[Wt]);if(Re)for(var Wt of Re(an))Qe.call(an,Wt)&&et(Pn,Wt,an[Wt]);return Pn},ht=(Pn,an)=>Ne(Pn,mt(an)),ct=(Pn,an)=>{var Wt={};for(var Tt in Pn)Xe.call(Pn,Tt)&&an.indexOf(Tt)<0&&(Wt[Tt]=Pn[Tt]);if(Pn!=null&&Re)for(var Tt of Re(Pn))an.indexOf(Tt)<0&&Qe.call(Pn,Tt)&&(Wt[Tt]=Pn[Tt]);return Wt},gt=({onFinish:Pn,value:an,streamingStatus:Wt,cancelIndex:Tt,loadImage:Te,onDynamic:ot})=>{const[Qt,An]=(0,b.useState)(""),[Bt,un]=(0,b.useState)({defaultValue:"",open:0,language:"",placement:"right",height:"100vh"}),[Ce,ut]=(0,b.useState)(0),[Xt,nt]=(0,b.useState)(!1),Pt=kt=>kt.replace(/`(\$\$.*?\$\$)`/g,"$1").replace(/\$\$([\s\S]*?)\$\$/g,(Rt,Qn)=>`$$${Qn.trim()}$$`).replace(/\\\(([\s\S]*?)\\\)/g,'$$$$$1$$$$').replace(/\\\[([\s\S]*?)\\\]/g,'$$$$$1$$$$').replace(/_{2,}/g,"`$&`"),kn=()=>{nt(!0),Pn==null||Pn()};(0,b.useEffect)(()=>{const kt=Te?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A +`;function Se({open:yn=!0,onChange:nn,defaultValue:Wt,placement:_t,width:Te,height:ot,extra:Ut,onDynamic:xn,showExtra:At=!0}){const ln=(0,b.useRef)(null),Ce=(0,b.useRef)(null),[ut,Xt]=(0,b.useState)(Wt||""),[nt,Pt]=(0,b.useState)(Wt||""),[_n,sn]=(0,b.useState)(!!yn),[Rt,Mt]=(0,b.useState)(1),Yn={selectOnLineNumbers:!0};(0,b.useEffect)(()=>{yn&&(Xt(Wt),Pt(Wt),sn(!0))},[yn,Wt]),(0,b.useEffect)(()=>{ut!==""&&(clearTimeout(Ce.current),Ce.current=setTimeout(()=>{const tn=document.createElement("iframe");if(tn.style.width="100%",tn.style.height="100%",tn.style.border="0",ln.current){ln.current.innerHTML="",ln.current.appendChild(tn);const Fa=tn.contentDocument||tn.contentWindow.document;Fa.open(),Fa.write(ut),Fa.close()}},1e3))},[yn,ut]);const aa=tn=>{Xt(tn),nn==null||nn(tn,nt)};return ae.createElement(le.Z,{title:"\u667A\u80FD\u52A8\u6548",placement:"right",open:_n,width:At?700:"100%",height:ot||"100vh",rootClassName:x.smartWrp,destroyOnClose:!0,onClose:()=>sn(!1),extra:At&&ae.createElement("div",null,ae.createElement(z.tp,{dataSource:[{name:"\u9884\u89C8",id:1},{name:"\u4EE3\u7801",id:2}],value:Rt,onChange:tn=>Mt(tn)}),ae.createElement(te.Z,{type:"primary",className:"ml20",onClick:()=>se(this,null,function*(){yield xn(ut,()=>{sn(!1)})})},"\u4FDD\u5B58\u81F3\u8BFE\u4EF6"))},ae.createElement(E.Z,{className:"h100"},ae.createElement(a.Z,{flex:"1",style:{background:"#f6f7fb",borderRight:"#e8eaf1 1px solid",display:Rt===1?"block":"none"}},ae.createElement("div",{className:"h100",ref:ln})),ae.createElement(a.Z,{flex:"1",style:{display:Rt===2?"block":"none"}},ae.createElement(y.ZP,{height:"90vh",value:Wt,language:"html",theme:"vs",showMiniMap:!1,options:Yn,onChange:aa}))))}var be=Se,We=Object.defineProperty,Ne=Object.defineProperties,mt=Object.getOwnPropertyDescriptors,Re=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,et=(yn,nn,Wt)=>nn in yn?We(yn,nn,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):yn[nn]=Wt,we=(yn,nn)=>{for(var Wt in nn||(nn={}))Je.call(nn,Wt)&&et(yn,Wt,nn[Wt]);if(Re)for(var Wt of Re(nn))Qe.call(nn,Wt)&&et(yn,Wt,nn[Wt]);return yn},ht=(yn,nn)=>Ne(yn,mt(nn)),ct=(yn,nn)=>{var Wt={};for(var _t in yn)Je.call(yn,_t)&&nn.indexOf(_t)<0&&(Wt[_t]=yn[_t]);if(yn!=null&&Re)for(var _t of Re(yn))nn.indexOf(_t)<0&&Qe.call(yn,_t)&&(Wt[_t]=yn[_t]);return Wt},gt=({onFinish:yn,value:nn,streamingStatus:Wt,cancelIndex:_t,loadImage:Te,onDynamic:ot})=>{const[Ut,xn]=(0,b.useState)(""),[At,ln]=(0,b.useState)({defaultValue:"",open:0,language:"",placement:"right",height:"100vh"}),[Ce,ut]=(0,b.useState)(0),[Xt,nt]=(0,b.useState)(!1),Pt=Rt=>Rt.replace(/`(\$\$.*?\$\$)`/g,"$1").replace(/\$\$([\s\S]*?)\$\$/g,(Mt,Yn)=>`$$${Yn.trim()}$$`).replace(/\\\(([\s\S]*?)\\\)/g,'$$$$$1$$$$').replace(/\\\[([\s\S]*?)\\\]/g,'$$$$$1$$$$').replace(/_{2,}/g,"`$&`"),_n=()=>{nt(!0),yn==null||yn()};(0,b.useEffect)(()=>{const Rt=Te?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A -${an}`:an,Rt=Pt(kt);if(!Xt)if(Te||!Wt||Tt>0){An(Rt),ut(Rt.length),(!Wt||Tt>0)&&!Te&&kn();return}else if((Rt==null?void 0:Rt.length)<4)An(Rt),ut(Rt.length);else if(Ce{An(Rt.slice(0,Ce+2)),ut(tn=>tn+2)},Qn>10?Math.max(500/(Qn/2),20):50);return()=>clearInterval(na)}else Wt||kn()},[an,Wt,Tt,Te,Ce]);const dn=(0,b.useMemo)(()=>b.createElement("section",{className:`${xe.answer} fadeIn animated edu_md`},b.createElement(he.UG,{remarkPlugins:[_e.Z,He.Z],rehypePlugins:[Le.Z,Ae.Z],components:{code(kt){var Rt=kt,{node:Qn,inline:na,className:tn,children:Fa}=Rt,_a=ct(Rt,["node","inline","className","children"]);const ya=/language-(\w+)/.exec(tn||""),zn=String(Fa).trim();return na||!ya?b.createElement("code",we({className:tn},_a),Fa):b.createElement("code",{className:xe.codeCopy,"data-text":`\`\`\`${ya?ya[1]:""} +${nn}`:nn,Mt=Pt(Rt);if(!Xt)if(Te||!Wt||_t>0){xn(Mt),ut(Mt.length),(!Wt||_t>0)&&!Te&&_n();return}else if((Mt==null?void 0:Mt.length)<4)xn(Mt),ut(Mt.length);else if(Ce{xn(Mt.slice(0,Ce+2)),ut(tn=>tn+2)},Yn>10?Math.max(500/(Yn/2),20):50);return()=>clearInterval(aa)}else Wt||_n()},[nn,Wt,_t,Te,Ce]);const sn=(0,b.useMemo)(()=>b.createElement("section",{className:`${xe.answer} fadeIn animated edu_md`},b.createElement(he.UG,{remarkPlugins:[_e.Z,He.Z],rehypePlugins:[Le.Z,Ae.Z],components:{code(Rt){var Mt=Rt,{node:Yn,inline:aa,className:tn,children:Fa}=Mt,_a=ct(Mt,["node","inline","className","children"]);const ya=/language-(\w+)/.exec(tn||""),Vn=String(Fa).trim();return aa||!ya?b.createElement("code",we({className:tn},_a),Fa):b.createElement("code",{className:xe.codeCopy,"data-text":`\`\`\`${ya?ya[1]:""} ${Fa} -\`\`\``},b.createElement(ze.CopyToClipboard,{text:zn,onCopy:()=>tt.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},b.createElement("button",null,"\u590D\u5236")),ya[1]==="html"&&Xt&&b.createElement("button",{className:xe.runCode,onClick:()=>{un(we({},ht(we({},Bt),{open:++Bt.open,defaultValue:zn,language:ya[1]})))}},"\u8FD0\u884CHTML"),b.createElement(De.Z,we({wrapLongLines:!0,style:ke.Z,language:ya[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},_a),zn))},img({node:kt}){var Rt;const Qn=(Rt=kt.properties)==null?void 0:Rt.src;return b.createElement(Me.Z,{src:Qn,width:320,"data-text":Qn,onLoad:()=>Te&&setTimeout(()=>kn(),500)})}}},Xt?Qt:`${Qt}__`)),[Qt]);return b.createElement(b.Fragment,null,b.createElement(be,{defaultValue:Bt.defaultValue,open:Bt.open,language:Bt.language,height:Bt.height,onChange:(kt,Rt)=>{An(Qt.replaceAll(Rt,kt))},onDynamic:ot}),dn)}},18678:function(yt,_t,oe){"use strict";var b=oe(59301);const he=({scrollBoxRef:De,bottomInspectRef:Ae,contentRef:ke,status:ze,rootMargin:xe="70px",bottomOffset:tt=110})=>{const[Me,Le]=(0,b.useState)(!0),_e=(0,b.useRef)(!1);return(0,b.useEffect)(()=>{if(!De.current||!Ae.current)return;const He=new IntersectionObserver(([Je])=>{var le,E,a,x;if(!document.contains(Je.target)){console.log("\u76EE\u6807\u5143\u7D20\u5DF2\u4ECE DOM \u79FB\u9664");return}if(((le=Je.rootBounds)==null?void 0:le.width)===0&&((E=Je.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=Je.boundingClientRect)==null?void 0:a.width)===0&&((x=Je.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(Je.isIntersecting)},{root:De.current,rootMargin:xe,threshold:0});return He.observe(Ae.current),()=>{He.disconnect()}},[De.current,Ae.current,xe]),(0,b.useEffect)(()=>{if(!ze)return;const He=De.current,Je=ke.current;_e.current=!1;let le=He.scrollTop;const E=()=>{const{scrollTop:x,scrollHeight:y,clientHeight:z}=He;x>le?x+z>=y-tt&&(He.scrollTop=He.scrollHeight,_e.current=!1):x{_e.current||(He.scrollTop=He.scrollHeight)});return a.observe(Je),()=>{setTimeout(()=>{a.unobserve(Je)},250),He.removeEventListener("scroll",E)}},[ze]),Me};_t.Z=he},85133:function(yt,_t,oe){"use strict";var b=oe(59301);const he=({contentRef:De,status:Ae})=>((0,b.useEffect)(()=>{!Ae&&(De!=null&&De.current)&&De.current.querySelectorAll("code[data-text], mathx[data-text]").forEach(xe=>{xe.tagName.toLowerCase()==="code"?xe.parentElement&&(xe.parentElement.contentEditable="false"):xe.tagName.toLowerCase()==="mathx"&&(xe.contentEditable="false")})},[Ae]),(ze=!1)=>{const xe=_e=>{const He={"&":"&","<":"<",">":">",""":'"',"'":"'"," ":" ","©":"\xA9","®":"\xAE","€":"\u20AC"};return _e.replace(/&[^;]+;/g,Je=>He[Je]||Je)};if(!De.current)return"";const tt=De.current.cloneNode(!0);tt.querySelectorAll("code[data-text], mathx[data-text]").forEach(_e=>{let He=_e.getAttribute("data-text");_e.tagName.toLowerCase()==="code"?He=He.replace(/```.*\n|\n```/g,""):_e.tagName.toLowerCase()==="mathx"&&(He=`$$${He}$$`);const Je=document.createTextNode(He);_e.parentNode.replaceChild(Je,_e)}),ze&&tt.querySelectorAll('[data-select="disabled"]').forEach(He=>{var Je;const le=He.textContent||"",E=document.createTextNode(le+` -`);(Je=He.parentNode)==null||Je.replaceChild(E,He)});let Le=tt.innerHTML;return ze||(Le=Le.replace(/<[^>]*data-select="disabled"[^>]*>.*?<\/[^>]*>/g,"")),Le=Le.replace(/

/g,""),Le=Le.replace(/<\/p>/g,` +\`\`\``},b.createElement(ze.CopyToClipboard,{text:Vn,onCopy:()=>tt.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},b.createElement("button",null,"\u590D\u5236")),ya[1]==="html"&&Xt&&b.createElement("button",{className:xe.runCode,onClick:()=>{ln(we({},ht(we({},At),{open:++At.open,defaultValue:Vn,language:ya[1]})))}},"\u8FD0\u884CHTML"),b.createElement(De.Z,we({wrapLongLines:!0,style:ke.Z,language:ya[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},_a),Vn))},img({node:Rt}){var Mt;const Yn=(Mt=Rt.properties)==null?void 0:Mt.src;return b.createElement(Me.Z,{src:Yn,width:320,"data-text":Yn,onLoad:()=>Te&&setTimeout(()=>_n(),500)})}}},Xt?Ut:`${Ut}__`)),[Ut]);return b.createElement(b.Fragment,null,b.createElement(be,{defaultValue:At.defaultValue,open:At.open,language:At.language,height:At.height,onChange:(Rt,Mt)=>{xn(Ut.replaceAll(Mt,Rt))},onDynamic:ot}),sn)}},18678:function(yt,kt,oe){"use strict";var b=oe(59301);const he=({scrollBoxRef:De,bottomInspectRef:Ae,contentRef:ke,status:ze,rootMargin:xe="70px",bottomOffset:tt=110})=>{const[Me,Le]=(0,b.useState)(!0),_e=(0,b.useRef)(!1);return(0,b.useEffect)(()=>{if(!De.current||!Ae.current)return;const He=new IntersectionObserver(([Ke])=>{var le,E,a,x;if(!document.contains(Ke.target)){console.log("\u76EE\u6807\u5143\u7D20\u5DF2\u4ECE DOM \u79FB\u9664");return}if(((le=Ke.rootBounds)==null?void 0:le.width)===0&&((E=Ke.rootBounds)==null?void 0:E.height)===0){console.log("root\uFF08\u6EDA\u52A8\u5BB9\u5668\uFF09\u65E0\u6548\uFF0C\u53EF\u80FD\u5DF2\u88AB\u79FB\u9664");return}if(((a=Ke.boundingClientRect)==null?void 0:a.width)===0&&((x=Ke.boundingClientRect)==null?void 0:x.height)===0){console.log("\u76EE\u6807\u5143\u7D20\u5BBD\u9AD8\u4E3A 0\uFF0C\u53EF\u80FD\u5DF2\u88AB\u79FB\u9664\u6216 display: none");return}Le(Ke.isIntersecting)},{root:De.current,rootMargin:xe,threshold:0});return He.observe(Ae.current),()=>{He.disconnect()}},[De.current,Ae.current,xe]),(0,b.useEffect)(()=>{if(!ze)return;const He=De.current,Ke=ke.current;_e.current=!1;let le=He.scrollTop;const E=()=>{const{scrollTop:x,scrollHeight:y,clientHeight:z}=He;x>le?x+z>=y-tt&&(He.scrollTop=He.scrollHeight,_e.current=!1):x{_e.current||(He.scrollTop=He.scrollHeight)});return a.observe(Ke),()=>{setTimeout(()=>{a.unobserve(Ke)},250),He.removeEventListener("scroll",E)}},[ze]),Me};kt.Z=he},85133:function(yt,kt,oe){"use strict";var b=oe(59301);const he=({contentRef:De,status:Ae})=>((0,b.useEffect)(()=>{!Ae&&(De!=null&&De.current)&&De.current.querySelectorAll("code[data-text], mathx[data-text]").forEach(xe=>{xe.tagName.toLowerCase()==="code"?xe.parentElement&&(xe.parentElement.contentEditable="false"):xe.tagName.toLowerCase()==="mathx"&&(xe.contentEditable="false")})},[Ae]),(ze=!1)=>{const xe=_e=>{const He={"&":"&","<":"<",">":">",""":'"',"'":"'"," ":" ","©":"\xA9","®":"\xAE","€":"\u20AC"};return _e.replace(/&[^;]+;/g,Ke=>He[Ke]||Ke)};if(!De.current)return"";const tt=De.current.cloneNode(!0);tt.querySelectorAll("code[data-text], mathx[data-text]").forEach(_e=>{let He=_e.getAttribute("data-text");_e.tagName.toLowerCase()==="code"?He=He.replace(/```.*\n|\n```/g,""):_e.tagName.toLowerCase()==="mathx"&&(He=`$$${He}$$`);const Ke=document.createTextNode(He);_e.parentNode.replaceChild(Ke,_e)}),ze&&tt.querySelectorAll('[data-select="disabled"]').forEach(He=>{var Ke;const le=He.textContent||"",E=document.createTextNode(le+` +`);(Ke=He.parentNode)==null||Ke.replaceChild(E,He)});let Le=tt.innerHTML;return ze||(Le=Le.replace(/<[^>]*data-select="disabled"[^>]*>.*?<\/[^>]*>/g,"")),Le=Le.replace(/

/g,""),Le=Le.replace(/<\/p>/g,` `),Le=Le.replace(/
/g,` `),Le=Le.replace(/\r\n/g,` -`),Le=Le.replace(/<[^>]*>/g,""),Le=xe(Le),Le});_t.Z=he},57833:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return He}});var b=oe(59301),he=oe(43418),De=oe(95237),Ae=oe(93948),ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGIAAABYCAYAAAAORCLFAAAAAXNSR0IArs4c6QAAIABJREFUeF7lfQecXFXZ/nNumT6zvWeTTSWkEEJooUgRpSMooiLfxycqTcQGIvipAf1UsNFEUAQBQTpSDCgtIQVTSAgJ6ckm2ZJt2dnd6XPL+fuec8/sZAmSbAKBv/P73Z3ZmXvv3Ps+5+1lGD5kD855cHM8P85xtRqmG1a5H5sqQqz1Q3aZ+/xy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3gvLqpKCcBcrD+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=oe(59301);const Le=["\u6587\u4EF6\u89E3\u6790\u8BFB\u53D6\u4E2D","\u5185\u5BB9\u7406\u89E3\u5206\u6790\u4E2D","\u7ED3\u6784\u5316\u63D0\u53D6\u4E2D"];var He=()=>{const[Je,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(We=>We>=99?(clearInterval(z.current),99):We+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 We=be/1048576;let Ne;return We<=.3?Ne=3:We<=.5?Ne=5:We<=1?Ne=10:We<=2?Ne=20:We<=3?Ne=30:We<=10?Ne=We*10:Ne=100,` \u9884\u8BA1\u5904\u7406\u65F6\u957F\u4E3A${Ne}\u5206\u949F\uFF0C\u8BF7\u52FF\u5173\u95ED\u7A97\u53E3`},ie=()=>Me.createElement("span",{className:tt.dotLoading},Me.createElement("span",null,"."),Me.createElement("span",null,"."),Me.createElement("span",null,"."));return{progress:Je,progressOpen:E,openProgress:te,closeProgress:ae,toggleLock:()=>y(be=>!be),CreateProgressModal:(be=Le,We)=>(typeof be=="string"&&(be=[be,be,be]),Me.createElement(he.default,{centered:!0,closable:!1,destroyOnClose:!0,zIndex:1200,open:E,title:null,footer:null,width:500,afterClose:()=>le(0)},Me.createElement(De.Z,{align:"middle",className:"mt40 mb20",style:{flexDirection:"column"}},Je<=30&&Me.createElement(Me.Fragment,null,Me.createElement("img",{src:ke,alt:"Step 1"}),Me.createElement("div",{className:"mt20 c-light-primary"},be[0],ie())),Je>30&&Je<60&&Me.createElement(Me.Fragment,null,Me.createElement("img",{src:ze,alt:"Step 2"}),Me.createElement("div",{className:"mt20 c-light-primary"},be[1],ie())),Je>=60&&Me.createElement(Me.Fragment,null,Me.createElement("img",{src:xe,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:Je}),!!We&&Me.createElement("div",{className:"c-grey-999"},se(We)))))}}},3738:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return an}});var b=oe(59301),he=oe(38854),De=oe(8591),Ae=oe(6848),ke=oe(92832),ze=oe(3113),xe=oe(7299),tt={wrap:"wrap___AasCO",chatContainer:"chatContainer___n6e3E",btnContainer:"btnContainer___yKyVB",btn:"btn___Y_09T",inputContainer:"inputContainer____bM3M",sendBtn:"sendBtn___UHHLj",sendBtnDisabled:"sendBtnDisabled___AoSRc",cancelBtn:"cancelBtn___yql4C",loadingWrp:"loadingWrp___gYLGT","dot-fade":"dot-fade___LruoO"},Le=({position:Wt,children:Tt})=>{const{left:Te=0,top:ot=0}=Wt||{},[Qt,An]=(0,b.useState)(Te),[Bt,un]=(0,b.useState)(ot),Ce=(0,b.useRef)(null),ut=()=>{if(Ce.current){const Xt=Ce.current.offsetWidth,nt=Ce.current.offsetHeight,Pt=window.innerWidth,kn=window.innerHeight;let dn=Te,kt=ot;Te+Xt>Pt&&(dn=Pt-Xt),dn<0&&(dn=0),ot+nt>kn&&(kt=kn-nt),kt<0&&(kt=0),An(dn),un(kt)}};return(0,b.useEffect)(()=>{if(!Ce.current||!Wt)return;const Xt=new ResizeObserver(()=>{ut()});return Xt.observe(Ce.current),()=>{Xt.disconnect()}},[Te,ot,Wt]),(0,b.useEffect)(()=>{Wt&&ut()},[Te,ot,Wt]),Wt?b.createElement("div",{ref:Ce,style:{position:"fixed",left:`${Qt}px`,top:`${Bt}px`,zIndex:1050}},Tt):null},_e=oe(13952),He=oe(56102),Je=oe(48102),le=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(Wt,Tt,Te)=>Tt in Wt?le(Wt,Tt,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Wt[Tt]=Te,ae=(Wt,Tt)=>{for(var Te in Tt||(Tt={}))y.call(Tt,Te)&&te(Wt,Te,Tt[Te]);if(x)for(var Te of x(Tt))z.call(Tt,Te)&&te(Wt,Te,Tt[Te]);return Wt},se=(Wt,Tt)=>E(Wt,a(Tt)),ie=(Wt,Tt,Te)=>new Promise((ot,Qt)=>{var An=Ce=>{try{un(Te.next(Ce))}catch(ut){Qt(ut)}},Bt=Ce=>{try{un(Te.throw(Ce))}catch(ut){Qt(ut)}},un=Ce=>Ce.done?ot(Ce.value):Promise.resolve(Ce.value).then(An,Bt);un((Te=Te.apply(Wt,Tt)).next())}),be=({visible:Wt,position:Tt,selectText:Te,applyRefinedText:ot,fetchUrl:Qt,noRestrictModal:An})=>{var Bt;const[un,Ce]=(0,b.useState)(!1),[ut,Xt]=(0,b.useState)([]),[nt,Pt]=(0,b.useState)(""),[kn,dn]=(0,b.useState)(1),[kt,Rt]=(0,b.useState)(""),[Qn,na]=(0,b.useState)(!1),tn=(0,b.useRef)(null),[Fa,_a]=(0,b.useState)(!1),[ya,zn]=(0,b.useState)(0),xa=(0,b.useRef)(!1),cr=((Bt=ut==null?void 0:ut[(ut==null?void 0:ut.length)-1])==null?void 0:Bt.loading)===!0;(0,b.useEffect)(()=>{if(Wt){dn(1);return}_a(!1),Ce(!1),Ya(),zn(0),Xt([]),dn(0)},[Wt]);const Ya=()=>{var pa,ja;Pt(""),Rt(""),(ja=(pa=tn.current)==null?void 0:pa.cancelRequest)==null||ja.call(pa)},Kn=(...pa)=>ie(void 0,[...pa],function*(ja="",gr=ut){const Ua=Date.now(),Br=[...gr,{text:ja,key:Ua,sender:"user",show:!0},{loading:!0,key:Ua,sender:"AI",show:!0}];dn(2),Xt(Br);const ho=$n(gr),Ht={no_record_times:!0,prompt:ja,history:ho};tn.current=new Je.Z(_e.Z.API_SERVER+Qt,Ht),yield new Promise(Tn=>{tn.current.on("data",Xn=>{const{chunk:{msg:ha},full:Be}=Xn,at=ha==="error";_a(!0),Rt(rn(Be)),Xt(st=>st.map((Ft,St)=>St===st.length-1?se(ae({},Ft),{text:Be,loading:!1,error:at}):Ft))}),tn.current.on("done",()=>Tn()),tn.current.on("error",Xn=>{const ha="\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(Xn)==="[object Object]"&&Xn.status===-9&&(dn(1),An(Xn.data)),Xt(Be=>Be.map((at,st)=>st===Be.length-1?se(ae({},at),{text:ha,loading:!1,error:!0}):at)),Tn()}),tn.current.on("cancelled",()=>Tn()),tn.current.startStream()}),Ce(!1)}),sa=pa=>{Pt(pa.target.value)},$n=pa=>pa.reduce((gr,Ua)=>{if(Ua.sender==="user"){const Br=pa.find(ho=>ho.key===Ua.key&&ho.sender==="AI");Br&&(Br!=null&&Br.text)&&!(Br!=null&&Br.error)&&gr.push({question:Ua.text,answer:Br.text})}return gr},[]),oa=()=>{if(wa)return;const pa=bt("\u6539\u5199");Ya(),Ce(!0),Kn(pa)},Ea=pa=>{if(pa.key==="Enter"&&!pa.shiftKey){if(pa.preventDefault(),xa.current||va)return;oa()}},Va=()=>{var pa,ja;zn(gr=>gr+1),(ja=(pa=tn.current)==null?void 0:pa.cancelRequest)==null||ja.call(pa),Ce(!1),_a(!1)},En=[{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")}],rn=(pa="")=>{const ja=["\u7B54\u6848\uFF1A","\u96BE\u5EA6\uFF1A","\u89E3\u6790\uFF1A","\u77E5\u8BC6\u70B9\uFF1A","\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09","\u7F16\u7A0B\u8BED\u8A00\uFF1A","\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A","\u7A0B\u5E8F\u4EE3\u7801\uFF1A","\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A","\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"];return Array.from({length:20}).forEach((gr,Ua)=>{ja.push(`\u7B54\u6848${Ua+1}\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${Ua+1})\u8F93\u5165\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${Ua+1})\u8F93\u51FA\uFF1A`)}),ja.forEach(gr=>{const Ua=new RegExp(gr,"g");pa=pa.replace(Ua,`**${gr}** `)}),pa},bt=pa=>pa==="\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${pa}\u4E0A\u9762\u8FD9\u53E5\u8BDD\uFF0C\u6839\u636E\u539F\u683C\u5F0F\u8FD4\u56DE\u7ED9\u6211\uFF0C\u4E0D\u8981\u53BB\u6389\u63D0\u793A\u8BED`,Gt=pa=>{let ja="";pa.key==="1"&&(ja=bt("\u6DA6\u8272")),pa.key==="2"&&(ja=bt("\u6269\u5199")),pa.key==="3"&&(ja=bt("\u7F29\u5199")),Ya(),Ce(!0),Kn(ja)},Da=()=>{const pa=ut.splice(ut.length-2),{text:ja}=(pa==null?void 0:pa[0])||{};Ya(),Ce(!0),Kn(ja,ut)},va=un||Fa,wa=(nt==null?void 0:nt.trim())==="";return Wt?b.createElement(he.Z,{open:wa&&!va&&(Qn||!kt),overlayStyle:{minWidth:200},menu:{items:En,onClick:Gt}},b.createElement(Le,{position:Tt},b.createElement("div",{className:tt.wrap},kn===2&&b.createElement(b.Fragment,null,b.createElement("div",{className:tt.chatContainer},cr&&b.createElement("div",{className:tt.loadingWrp},b.createElement("span",null,"\u6B63\u5728\u751F\u6210\u4E2D"),b.createElement("div",{className:"ai-loading"})),kt&&b.createElement(xe.Z,{cancelIndex:ya,streamingStatus:un,loadImage:!1,onFinish:()=>ie(void 0,null,function*(){zn(0),setTimeout(()=>_a(!1),0)}),value:kt})),b.createElement("div",{className:tt.btnContainer},b.createElement("div",{onClick:()=>ot(!0,kt),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,kt),className:tt.btn,style:{padding:"0 16px",width:"initial"}},b.createElement("i",{className:"iconfont icon-charu mr10 font14"}),"\u63D2\u5165"),b.createElement(He.CopyToClipboard,{text:kt,onCopy:()=>De.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},b.createElement(Ae.Z,{title:"\u590D\u5236"},b.createElement("div",{className:tt.btn,style:{marginLeft:"auto"}},b.createElement("i",{className:"iconfont icon-fuzhi8 font14"})))),b.createElement(Ae.Z,{title:"\u91CD\u65B0\u751F\u6210"},b.createElement("div",{onClick:Da,className:tt.btn},b.createElement("i",{className:"iciconfontonfot icon-gengxin-genghuan-tihuan font17"}))),b.createElement(Ae.Z,{title:"\u5220\u9664"},b.createElement("div",{onClick:()=>{dn(1),Ya(),Xt([])},className:tt.btn},b.createElement("i",{className:"iconfont icon-shanchu14 font14"}))))),b.createElement("div",{className:tt.inputContainer},b.createElement(ke.default.TextArea,{placeholder:"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u7684\u6587\u672C\u4F18\u5316\u5EFA\u8BAE",value:nt,bordered:!1,onFocus:()=>na(!0),onBlur:()=>setTimeout(()=>na(!1),300),onChange:sa,onPressEnter:Ea,onCompositionStart:()=>xa.current=!0,onCompositionEnd:()=>xa.current=!1}),Fa?b.createElement("div",{className:`iconfont icon-tingzhihuida ${tt.cancelBtn}`,onClick:Va}):b.createElement(ze.ZP,{className:wa?tt.sendBtnDisabled:tt.sendBtn,icon:b.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:va,onClick:oa}))))):b.createElement(b.Fragment,null)},We={"hover-line-container":"hover-line-container___kkYQN","hover-line-content":"hover-line-content___ZkD9e","line-button-container":"line-button-container___A79j9",button:"button___X_Iu7"},Ne=Object.defineProperty,mt=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,Qe=(Wt,Tt,Te)=>Tt in Wt?Ne(Wt,Tt,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Wt[Tt]=Te,et=(Wt,Tt)=>{for(var Te in Tt||(Tt={}))Re.call(Tt,Te)&&Qe(Wt,Te,Tt[Te]);if(mt)for(var Te of mt(Tt))Xe.call(Tt,Te)&&Qe(Wt,Te,Tt[Te]);return Wt};const we=Wt=>React.createElement("svg",et({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},Wt),React.createElement("title",null,"AI\u6539\u5199"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"26.797%",y1:"22.073%",x2:"82.181%",y2:"80.474%",id:"rewrite_svg__a"},React.createElement("stop",{stopColor:"#5C64FF",offset:"0%"}),React.createElement("stop",{stopColor:"#6988F8",offset:"100%"}))),React.createElement("path",{d:"m10.406 4.741.007.015h-.007v-.022.007Zm-.04-.04.855-1.495 1.497-.855-1.496-.855L10.366 0l-.854 1.497-1.497.855 1.496.854.855 1.495ZM3.1 8.442l1.71 3.1 1.603-3.1 3.1-1.71L6.52 5.023l-1.71-3.1-1.71 3.1L0 6.733l3.099 1.709H3.1Zm6.84 3.1 1.069 1.924 1.068-1.924L14 10.473l-1.924-1.069-1.069-1.923L9.94 9.405l-1.924 1.068 1.924 1.07v-.001Z",fill:"url(#rewrite_svg__a)",fillRule:"nonzero"}));var ht="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIyNi43OTclIiB5MT0iMjIuMDczJSIgeDI9IjgyLjE4MSUiIHkyPSI4MC40NzQlIiBpZD0iYSI+PHN0b3Agc3RvcC1jb2xvcj0iIzVDNjRGRiIgb2Zmc2V0PSIwJSIvPjxzdG9wIHN0b3AtY29sb3I9IiM2OTg4RjgiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxwYXRoIGQ9Im0xMC40MDYgNC43NDEuMDA3LjAxNWgtLjAwN3YtLjAyMi4wMDdabS0uMDQtLjA0Ljg1NS0xLjQ5NSAxLjQ5Ny0uODU1LTEuNDk2LS44NTVMMTAuMzY2IDBsLS44NTQgMS40OTctMS40OTcuODU1IDEuNDk2Ljg1NC44NTUgMS40OTVaTTMuMSA4LjQ0MmwxLjcxIDMuMSAxLjYwMy0zLjEgMy4xLTEuNzFMNi41MiA1LjAyM2wtMS43MS0zLjEtMS43MSAzLjFMMCA2LjczM2wzLjA5OSAxLjcwOUgzLjFabTYuODQgMy4xIDEuMDY5IDEuOTI0IDEuMDY4LTEuOTI0TDE0IDEwLjQ3M2wtMS45MjQtMS4wNjktMS4wNjktMS45MjNMOS45NCA5LjQwNWwtMS45MjQgMS4wNjggMS45MjQgMS4wN3YtLjAwMVoiIGZpbGw9InVybCgjYSkiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg==",It=(0,b.forwardRef)(({initialContent:Wt,onButtonClick:Tt},Te)=>{const[ot,Qt]=(0,b.useState)(null),[An,Bt]=(0,b.useState)(null),[un,Ce]=(0,b.useState)(""),[ut,Xt]=(0,b.useState)(null),nt=Te,Pt=tn=>{const Fa=document.elementFromPoint(10,tn),_a=document.createRange();let ya=null;const zn=document.createTreeWalker(nt.current,NodeFilter.SHOW_TEXT,{acceptNode:oa=>{const Ea=document.createRange();Ea.selectNodeContents(oa);const Va=Ea.getBoundingClientRect();return Va.top<=tn&&Va.bottom>=tn?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let xa="",cr,Ya,Kn=null,sa=null,$n=null;for(;cr=zn.nextNode();){cr.parentNode.getAttribute("data-select")==="disabled"&&(Ya=!0),xa+=cr.textContent,sa||(sa=cr),$n=cr;const oa=document.createRange();oa.selectNodeContents(cr);const Ea=oa.getBoundingClientRect();Kn===null&&(Kn=Ea.top)}if(sa&&$n&&!Ya){const oa=document.createRange();oa.setStart(sa,0),oa.setEnd($n,$n.textContent.length),Xt(oa)}else Xt(null);return Bt(Kn-1),Ya?"":xa.trim()};function kn(tn){for(;tn.parentElement&&tn.parentElement.tagName.toLowerCase()!=="section";){var Fa=window.getComputedStyle(tn.parentElement);if(Fa.pointerEvents==="none")return!0;tn=tn.parentElement}return!1}const dn=tn=>{var Fa,_a;if(kn(tn.target)){Bt(-1e6);return}if(((_a=(Fa=document.getSelection())==null?void 0:Fa.toString)==null?void 0:_a.call(Fa))!==""){Bt(-1e6);return}const ya=Pt(tn.clientY);if((ya==null?void 0:ya.trim())===""){Bt(-1e6);return}const zn=nt.current.getBoundingClientRect();Qt(zn.left-30),Ce(ya)},kt=()=>{},Rt=tn=>{Tt&&un&&Tt(un,tn.clientX,tn.clientY,ut)},Qn=()=>{if(ut){const tn=window.getSelection();tn.removeAllRanges(),tn.addRange(ut)}},na=()=>{window.getSelection().removeAllRanges()};return(0,b.useEffect)(()=>{const tn=nt.current;return tn.addEventListener("mousemove",dn),tn.addEventListener("mouseleave",kt),()=>{tn.removeEventListener("mousemove",dn),tn.removeEventListener("mouseleave",kt),na()}},[Wt]),b.createElement("div",{className:We["hover-line-container2"]},An!==null&&b.createElement("div",{className:We["line-button-container"],style:{top:An,left:ot},onMouseEnter:()=>{Qn()},onMouseLeave:()=>{na(),Bt(null),Ce(""),Xt(null)}},b.createElement("div",{className:We.button,onClick:Rt},b.createElement("img",{src:ht}),b.createElement("span",null,"AI\u6539\u5199"))))}),gt={toolbar:"toolbar___qYQBF","chat-dialog":"chat-dialog___AUJYU",button:"button___VhNes"},an=({nodeRef:Wt,noRestrictModal:Tt})=>{const[Te,ot]=(0,b.useState)(null),[Qt,An]=(0,b.useState)(null),[Bt,un]=(0,b.useState)(!1),[Ce,ut]=(0,b.useState)(null),[Xt,nt]=(0,b.useState)(!1),[Pt,kn]=(0,b.useState)(!1),dn=Wt,kt=(0,b.useRef)(null),Rt=(0,b.useRef)(null),[Qn,na]=(0,b.useState)("");(0,b.useEffect)(()=>{Te!=null&&Te.toString()&&na(Te==null?void 0:Te.toString())},[Te==null?void 0:Te.toString()]);const tn=()=>{const zn=window.getSelection(),xa=dn.current.scrollTop,cr=dn.current.getBoundingClientRect();if(zn.rangeCount>0&&zn.toString().length>0){const Ya=zn.getRangeAt(0);ot(Ya.cloneRange());const Kn=Ya.getBoundingClientRect(),sa=40;let $n=Kn.top+xa-5+sa;$n{if(!zn||zn.rangeCount===0){nt(!1);return}const cr=zn.getRangeAt(0).getBoundingClientRect(),Ya=window.getComputedStyle(dn.current),Kn=parseInt(Ya.lineHeight),sa=parseInt(Ya.paddingTop),$n=dn.current.scrollTop,oa=dn.current.getBoundingClientRect(),Ea=cr.top-oa.top+$n,Va=Math.floor((Ea-sa)/Kn),En=sa+Va*Kn-$n;ut(En),nt(!0)},_a=zn=>{dn.current&&!dn.current.contains(zn.target)&&kn(!1)};(0,b.useEffect)(()=>{const zn=dn.current;return zn.addEventListener("scroll",tn),zn.addEventListener("input",tn),zn.addEventListener("click",tn),zn.addEventListener("mouseup",tn),zn.addEventListener("keyup",tn),zn.addEventListener("click",tn),document.addEventListener("mousedown",_a),()=>{zn.removeEventListener("scroll",tn),zn.removeEventListener("input",tn),zn.removeEventListener("click",tn),zn.removeEventListener("mouseup",tn),zn.removeEventListener("keyup",tn),zn.removeEventListener("click",tn),document.removeEventListener("mousedown",_a)}},[]);const ya=(zn=!0,xa)=>{if(!Te)return;const cr=Rt.current.querySelector("section.edu_md").innerHTML.replace(/]*>([\s\S]*?)<\/p>/g,"$1"),Ya=Te.cloneRange(),Kn=window.getSelection();if(Kn.removeAllRanges(),Kn.addRange(Ya),zn){Ya.deleteContents();const sa=document.createElement("div");sa.innerHTML=cr;const $n=Array.from(sa.childNodes);for(;$n.length>0;)Ya.insertNode($n.pop())}else{Ya.collapse(!1);const sa=document.createElement("div");sa.innerHTML=" "+cr;const $n=Array.from(sa.childNodes);for(;$n.length>0;)Ya.insertNode($n.pop())}Kn.removeAllRanges(),ot(null),un(!1),An(null)};return b.createElement("section",{ref:Rt},Qt&&b.createElement("div",{ref:kt,className:gt.toolbar,style:{top:Qt==null?void 0:Qt.top,left:Qt==null?void 0:Qt.left}},b.createElement("div",{className:gt.button,onClick:()=>un(!0)},b.createElement("img",{src:ht}),b.createElement("span",null,"AI\u6539\u5199"))),b.createElement(be,{key:JSON.stringify(Qt),noRestrictModal:Tt,visible:Bt,position:Qt,selectText:Qn,applyRefinedText:ya,fetchUrl:"/api/stream/intelligent_imports/stream.json"}),dn.current&&b.createElement(It,{ref:dn,onButtonClick:(zn,xa,cr,Ya)=>{ot(Ya),un(!0),na(zn),An({left:xa,top:cr+20})}}))}},88441:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return ke}});var b=oe(59301),he=oe(43418),De={num:"num___VQiqB"},ke=({visible:ze,usedCount:xe,totalCount:tt,onOk:Me,onCancel:Le})=>{const _e=()=>xe>0?b.createElement("div",null,"\u672C\u6B21\u5C06\u6D88\u80171\u6B21\u5927\u6A21\u578B\u4F7F\u7528\u673A\u4F1A\uFF08\u6BCF\u65E5",tt,"\u6B21\u673A\u4F1A\uFF0C\u4ECA\u65E5\u5269\u4F59",b.createElement("span",{className:De.num},xe),"\u6B21\uFF09\uFF0C\u786E\u5B9A\u64CD\u4F5C\u5417\uFF1F"):b.createElement("div",{className:"mb20"},"\u4ECA\u65E5\u5927\u6A21\u578B\u4F7F\u7528\u673A\u4F1A\u5DF2\u7528\u5B8C\uFF08\u6BCF\u65E5",tt,"\u6B21\u673A\u4F1A\uFF0C\u4ECA\u65E5\u5269\u4F59",b.createElement("span",{className:De.num},xe),"\u6B21\uFF09\u3002");return b.createElement(he.default,{centered:!0,open:ze,title:"\u63D0\u793A",width:620,zIndex:1100,onCancel:Le,onOk:Me,footer:xe>0?void 0:null},_e())}},53412:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return a},Q:function(){return le}});var b=oe(59301),he={container:"container___DAVRd",katex:"katex___oS9Qs",liWrap:"liWrap___pAkIe",backBottom:"backBottom___kT237",imgBox:"imgBox___O8q6M"},De=oe(48102),Ae=oe(13952),ke=oe(7299),ze=oe(3738),xe=oe(18678),tt=o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g==",Le=oe(92310),_e=oe.n(Le),He=oe(8591),Je=(x,y,z)=>new Promise((te,ae)=>{var se=be=>{try{Se(z.next(be))}catch(We){ae(We)}},ie=be=>{try{Se(z.throw(be))}catch(We){ae(We)}},Se=be=>be.done?te(be.value):Promise.resolve(be.value).then(se,ie);Se((z=z.apply(x,y)).next())});const le={contentRef:{current:null},value:null,status:!1,open:()=>Je(void 0,null,function*(){}),close:()=>{}};var a=({className:x,style:y,onChange:z,onSuccess:te,onCancel:ae,onError:se,fetchUrl:ie,noRestrictModal:Se=()=>{},showEditableToolbar:be,bottomOffset:We=110,loadingText:Ne,showEmptyData:mt=!0,onStatusChange:Re,stringTransformer:Xe,bottomContainerNode:Qe})=>{const[et,we]=(0,b.useState)(!1),[ht,ct]=(0,b.useState)(""),[It,gt]=(0,b.useState)(0),[Pn,an]=(0,b.useState)(!1),Wt=(0,b.useRef)(null),Tt=(0,b.useRef)(null),Te=(0,b.useRef)(null),ot=(0,b.useRef)(null),Qt=(0,xe.Z)({scrollBoxRef:ot,bottomInspectRef:Te,contentRef:Tt,status:Pn,bottomOffset:We}),An=et||Pn;(0,b.useEffect)(()=>{z==null||z(ht)},[ht]),(0,b.useEffect)(()=>{Re==null||Re({contentRef:Tt,status:An,value:ht,open:Bt,close:un})},[An,ht]);const Bt=ut=>Je(void 0,null,function*(){we(!0),ct(""),gt(0);const Xt=ie;ut!=null&&ut.fetchUrl&&delete ut.fetchUrl,Wt.current=new De.Z(`${Ae.Z.API_SERVER}${Xt}`,ut),yield new Promise((nt,Pt)=>{Wt.current.on("data",kn=>{let{chunk:{content:dn,type:kt}}=kn;an(!0),kt==="text"&&ct(Rt=>Xe?Xe(Rt+dn):Rt+dn)}),Wt.current.on("done",()=>{nt()}),Wt.current.on("error",kn=>{Object.prototype.toString.call(kn)==="[object Object]"&&kn.status===-1&&He.ZP.warning((kn==null?void 0:kn.message)||""),nt(),se==null||se(kn)}),Wt.current.on("cancelled",()=>{nt(),ae==null||ae()}),Wt.current.startStream()}),we(!1)}),un=()=>{var ut,Xt;gt(1),(Xt=(ut=Wt.current)==null?void 0:ut.cancelRequest)==null||Xt.call(ut),we(!1),an(!1)},Ce=(0,b.useMemo)(()=>Tt.current?b.createElement(ze.Z,{noRestrictModal:Se,nodeRef:Tt}):b.createElement(b.Fragment,null),[Tt.current]);return b.createElement(b.Fragment,null,b.createElement("div",{className:_e()(he.container,x),style:y,ref:ot},b.createElement("div",{ref:Tt,className:he.liWrap,contentEditable:!An},ht&&b.createElement(ke.Z,{cancelIndex:It,streamingStatus:et,loadImage:!1,onFinish:()=>Je(void 0,null,function*(){gt(0),setTimeout(()=>an(!1),0),te==null||te(ht)}),value:ht})),!ht&&!An&&b.createElement("div",{className:he.imgBox},b.createElement("img",{width:56,src:Me}),b.createElement("span",null,"\u9884\u89C8\u533A")),mt&&An&&b.createElement(tt.Z,{text:Ne}),!Qt&&b.createElement("div",{className:he.backBottom,onClick:()=>{ot.current.scrollTop=ot.current.scrollHeight}},b.createElement("i",{className:"iconfont icon-huidaodibu"})),b.createElement("div",{ref:Te}),Qe),!An&&be&&Ce)}},89118:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return Ae}});var b=oe(59301),he={loading:"loading___SifAS",dot:"dot___J5R0d","dot-fade":"dot-fade___BPUGC"},Ae=({text:ke})=>b.createElement("div",null,b.createElement("div",{className:he.loading},b.createElement("div",{className:he.dot}),b.createElement("div",{className:he.dot}),b.createElement("div",{className:he.dot})),!!ke&&b.createElement("div",{className:"mt5"},ke))},55385:function(yt,_t,oe){"use strict";oe.d(_t,{o:function(){return b}});const b=he=>(he=he.replace(new RegExp("(?$1'),he=he.replace(new RegExp("(?]*>/g,""),Le=xe(Le),Le});kt.Z=he},57833:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return He}});var b=oe(59301),he=oe(43418),De=oe(95237),Ae=oe(93948),ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGIAAABYCAYAAAAORCLFAAAAAXNSR0IArs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+bFmjPWGroF8qEPEb+PzPsvND33m7EM5NRT+83CenqBJZzSmM68xttRUorEJSFa8xQOI+yUScYcAoFkM8sWkIL+3lo2YY+HFyUsp7EM69d/+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=oe(59301);const Le=["\u6587\u4EF6\u89E3\u6790\u8BFB\u53D6\u4E2D","\u5185\u5BB9\u7406\u89E3\u5206\u6790\u4E2D","\u7ED3\u6784\u5316\u63D0\u53D6\u4E2D"];var He=()=>{const[Ke,le]=(0,b.useState)(0),[E,a]=(0,b.useState)(!1),[x,y]=(0,b.useState)(!0),z=(0,b.useRef)(null);(0,b.useEffect)(()=>{if(x)return;const be=()=>{le(We=>We>=99?(clearInterval(z.current),99):We+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 We=be/1048576;let Ne;return We<=.3?Ne=3:We<=.5?Ne=5:We<=1?Ne=10:We<=2?Ne=20:We<=3?Ne=30:We<=10?Ne=We*10:Ne=100,` \u9884\u8BA1\u5904\u7406\u65F6\u957F\u4E3A${Ne}\u5206\u949F\uFF0C\u8BF7\u52FF\u5173\u95ED\u7A97\u53E3`},ie=()=>Me.createElement("span",{className:tt.dotLoading},Me.createElement("span",null,"."),Me.createElement("span",null,"."),Me.createElement("span",null,"."));return{progress:Ke,progressOpen:E,openProgress:te,closeProgress:ae,toggleLock:()=>y(be=>!be),CreateProgressModal:(be=Le,We)=>(typeof be=="string"&&(be=[be,be,be]),Me.createElement(he.default,{centered:!0,closable:!1,destroyOnClose:!0,zIndex:1200,open:E,title:null,footer:null,width:500,afterClose:()=>le(0)},Me.createElement(De.Z,{align:"middle",className:"mt40 mb20",style:{flexDirection:"column"}},Ke<=30&&Me.createElement(Me.Fragment,null,Me.createElement("img",{src:ke,alt:"Step 1"}),Me.createElement("div",{className:"mt20 c-light-primary"},be[0],ie())),Ke>30&&Ke<60&&Me.createElement(Me.Fragment,null,Me.createElement("img",{src:ze,alt:"Step 2"}),Me.createElement("div",{className:"mt20 c-light-primary"},be[1],ie())),Ke>=60&&Me.createElement(Me.Fragment,null,Me.createElement("img",{src:xe,alt:"Step 3"}),Me.createElement("div",{className:"mt20 c-light-primary"},be[2],ie())),Me.createElement(Ae.Z,{className:tt.progress,status:"active",style:{width:"auto"},size:[300,8],percent:Ke}),!!We&&Me.createElement("div",{className:"c-grey-999"},se(We)))))}}},3738:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return nn}});var b=oe(59301),he=oe(38854),De=oe(8591),Ae=oe(6848),ke=oe(92832),ze=oe(3113),xe=oe(7299),tt={wrap:"wrap___AasCO",chatContainer:"chatContainer___n6e3E",btnContainer:"btnContainer___yKyVB",btn:"btn___Y_09T",inputContainer:"inputContainer____bM3M",sendBtn:"sendBtn___UHHLj",sendBtnDisabled:"sendBtnDisabled___AoSRc",cancelBtn:"cancelBtn___yql4C",loadingWrp:"loadingWrp___gYLGT","dot-fade":"dot-fade___LruoO"},Le=({position:Wt,children:_t})=>{const{left:Te=0,top:ot=0}=Wt||{},[Ut,xn]=(0,b.useState)(Te),[At,ln]=(0,b.useState)(ot),Ce=(0,b.useRef)(null),ut=()=>{if(Ce.current){const Xt=Ce.current.offsetWidth,nt=Ce.current.offsetHeight,Pt=window.innerWidth,_n=window.innerHeight;let sn=Te,Rt=ot;Te+Xt>Pt&&(sn=Pt-Xt),sn<0&&(sn=0),ot+nt>_n&&(Rt=_n-nt),Rt<0&&(Rt=0),xn(sn),ln(Rt)}};return(0,b.useEffect)(()=>{if(!Ce.current||!Wt)return;const Xt=new ResizeObserver(()=>{ut()});return Xt.observe(Ce.current),()=>{Xt.disconnect()}},[Te,ot,Wt]),(0,b.useEffect)(()=>{Wt&&ut()},[Te,ot,Wt]),Wt?b.createElement("div",{ref:Ce,style:{position:"fixed",left:`${Ut}px`,top:`${At}px`,zIndex:1050}},_t):null},_e=oe(13952),He=oe(56102),Ke=oe(48102),le=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(Wt,_t,Te)=>_t in Wt?le(Wt,_t,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Wt[_t]=Te,ae=(Wt,_t)=>{for(var Te in _t||(_t={}))y.call(_t,Te)&&te(Wt,Te,_t[Te]);if(x)for(var Te of x(_t))z.call(_t,Te)&&te(Wt,Te,_t[Te]);return Wt},se=(Wt,_t)=>E(Wt,a(_t)),ie=(Wt,_t,Te)=>new Promise((ot,Ut)=>{var xn=Ce=>{try{ln(Te.next(Ce))}catch(ut){Ut(ut)}},At=Ce=>{try{ln(Te.throw(Ce))}catch(ut){Ut(ut)}},ln=Ce=>Ce.done?ot(Ce.value):Promise.resolve(Ce.value).then(xn,At);ln((Te=Te.apply(Wt,_t)).next())}),be=({visible:Wt,position:_t,selectText:Te,applyRefinedText:ot,fetchUrl:Ut,noRestrictModal:xn})=>{var At;const[ln,Ce]=(0,b.useState)(!1),[ut,Xt]=(0,b.useState)([]),[nt,Pt]=(0,b.useState)(""),[_n,sn]=(0,b.useState)(1),[Rt,Mt]=(0,b.useState)(""),[Yn,aa]=(0,b.useState)(!1),tn=(0,b.useRef)(null),[Fa,_a]=(0,b.useState)(!1),[ya,Vn]=(0,b.useState)(0),xa=(0,b.useRef)(!1),cr=((At=ut==null?void 0:ut[(ut==null?void 0:ut.length)-1])==null?void 0:At.loading)===!0;(0,b.useEffect)(()=>{if(Wt){sn(1);return}_a(!1),Ce(!1),Ya(),Vn(0),Xt([]),sn(0)},[Wt]);const Ya=()=>{var ha,ja;Pt(""),Mt(""),(ja=(ha=tn.current)==null?void 0:ha.cancelRequest)==null||ja.call(ha)},Jn=(...ha)=>ie(void 0,[...ha],function*(ja="",gr=ut){const Ua=Date.now(),Br=[...gr,{text:ja,key:Ua,sender:"user",show:!0},{loading:!0,key:Ua,sender:"AI",show:!0}];sn(2),Xt(Br);const po=ea(gr),Ht={no_record_times:!0,prompt:ja,history:po};tn.current=new Ke.Z(_e.Z.API_SERVER+Ut,Ht),yield new Promise(Zn=>{tn.current.on("data",qn=>{const{chunk:{msg:Sa},full:Be}=qn,at=Sa==="error";_a(!0),Mt(an(Be)),Xt(st=>st.map((Ft,St)=>St===st.length-1?se(ae({},Ft),{text:Be,loading:!1,error:at}):Ft))}),tn.current.on("done",()=>Zn()),tn.current.on("error",qn=>{const Sa="\u62B1\u6B49\uFF0C\u6211\u521A\u521A\u9047\u5230\u4E86\u4E00\u70B9\u95EE\u9898\uFF0C\u6CA1\u80FD\u5B8C\u6210\u60A8\u7684\u8BF7\u6C42\u3002\u8BF7\u60A8\u7A0D\u540E\u518D\u8BD5\u4E00\u6B21\uFF0C\u6216\u8005\u8054\u7CFB\u6280\u672F\u652F\u6301\u5E2E\u5FD9\u89E3\u51B3!";Object.prototype.toString.call(qn)==="[object Object]"&&qn.status===-9&&(sn(1),xn(qn.data)),Xt(Be=>Be.map((at,st)=>st===Be.length-1?se(ae({},at),{text:Sa,loading:!1,error:!0}):at)),Zn()}),tn.current.on("cancelled",()=>Zn()),tn.current.startStream()}),Ce(!1)}),da=ha=>{Pt(ha.target.value)},ea=ha=>ha.reduce((gr,Ua)=>{if(Ua.sender==="user"){const Br=ha.find(po=>po.key===Ua.key&&po.sender==="AI");Br&&(Br!=null&&Br.text)&&!(Br!=null&&Br.error)&&gr.push({question:Ua.text,answer:Br.text})}return gr},[]),ia=()=>{if(wa)return;const ha=bt("\u6539\u5199");Ya(),Ce(!0),Jn(ha)},Ea=ha=>{if(ha.key==="Enter"&&!ha.shiftKey){if(ha.preventDefault(),xa.current||pa)return;ia()}},Va=()=>{var ha,ja;Vn(gr=>gr+1),(ja=(ha=tn.current)==null?void 0:ha.cancelRequest)==null||ja.call(ha),Ce(!1),_a(!1)},Pn=[{key:"1",label:b.createElement("span",null," ",b.createElement("i",{className:"iconfont icon-runse font14 mr10"}),"\u6DA6\u8272 ")},{key:"2",label:b.createElement("span",null,b.createElement("i",{className:"iconfont icon-kuoxie font14 mr10"}),"\u6269\u5199")},{key:"3",label:b.createElement("span",null," ",b.createElement("i",{className:"iconfont icon-suoxie font14 mr10"}),"\u7F29\u5199")}],an=(ha="")=>{const ja=["\u7B54\u6848\uFF1A","\u96BE\u5EA6\uFF1A","\u89E3\u6790\uFF1A","\u77E5\u8BC6\u70B9\uFF1A","\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09","\u7F16\u7A0B\u8BED\u8A00\uFF1A","\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A","\u7A0B\u5E8F\u4EE3\u7801\uFF1A","\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A","\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"];return Array.from({length:20}).forEach((gr,Ua)=>{ja.push(`\u7B54\u6848${Ua+1}\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${Ua+1})\u8F93\u5165\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${Ua+1})\u8F93\u51FA\uFF1A`)}),ja.forEach(gr=>{const Ua=new RegExp(gr,"g");ha=ha.replace(Ua,`**${gr}** `)}),ha},bt=ha=>ha==="\u6539\u5199"?`${nt}\uFF0C\u6839\u636E\u4E0A\u8FF0\u8981\u6C42\u6539\u5199\u8FD9\u53E5\u8BDD\uFF0C${Te}\uFF0C\u6839\u636E\u539F\u683C\u5F0F\u8FD4\u56DE\u7ED9\u6211\uFF0C\u4E0D\u8981\u53BB\u6389\u63D0\u793A\u8BED`:`${Te}\uFF0C${ha}\u4E0A\u9762\u8FD9\u53E5\u8BDD\uFF0C\u6839\u636E\u539F\u683C\u5F0F\u8FD4\u56DE\u7ED9\u6211\uFF0C\u4E0D\u8981\u53BB\u6389\u63D0\u793A\u8BED`,Gt=ha=>{let ja="";ha.key==="1"&&(ja=bt("\u6DA6\u8272")),ha.key==="2"&&(ja=bt("\u6269\u5199")),ha.key==="3"&&(ja=bt("\u7F29\u5199")),Ya(),Ce(!0),Jn(ja)},Da=()=>{const ha=ut.splice(ut.length-2),{text:ja}=(ha==null?void 0:ha[0])||{};Ya(),Ce(!0),Jn(ja,ut)},pa=ln||Fa,wa=(nt==null?void 0:nt.trim())==="";return Wt?b.createElement(he.Z,{open:wa&&!pa&&(Yn||!Rt),overlayStyle:{minWidth:200},menu:{items:Pn,onClick:Gt}},b.createElement(Le,{position:_t},b.createElement("div",{className:tt.wrap},_n===2&&b.createElement(b.Fragment,null,b.createElement("div",{className:tt.chatContainer},cr&&b.createElement("div",{className:tt.loadingWrp},b.createElement("span",null,"\u6B63\u5728\u751F\u6210\u4E2D"),b.createElement("div",{className:"ai-loading"})),Rt&&b.createElement(xe.Z,{cancelIndex:ya,streamingStatus:ln,loadImage:!1,onFinish:()=>ie(void 0,null,function*(){Vn(0),setTimeout(()=>_a(!1),0)}),value:Rt})),b.createElement("div",{className:tt.btnContainer},b.createElement("div",{onClick:()=>ot(!0,Rt),className:tt.btn,style:{padding:"0 16px",width:"initial"}},b.createElement("i",{className:"iconfont icon-tihuan mr10 font14"}),"\u66FF\u6362"),b.createElement("div",{onClick:()=>ot(!1,Rt),className:tt.btn,style:{padding:"0 16px",width:"initial"}},b.createElement("i",{className:"iconfont icon-charu mr10 font14"}),"\u63D2\u5165"),b.createElement(He.CopyToClipboard,{text:Rt,onCopy:()=>De.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},b.createElement(Ae.Z,{title:"\u590D\u5236"},b.createElement("div",{className:tt.btn,style:{marginLeft:"auto"}},b.createElement("i",{className:"iconfont icon-fuzhi8 font14"})))),b.createElement(Ae.Z,{title:"\u91CD\u65B0\u751F\u6210"},b.createElement("div",{onClick:Da,className:tt.btn},b.createElement("i",{className:"iciconfontonfot icon-gengxin-genghuan-tihuan font17"}))),b.createElement(Ae.Z,{title:"\u5220\u9664"},b.createElement("div",{onClick:()=>{sn(1),Ya(),Xt([])},className:tt.btn},b.createElement("i",{className:"iconfont icon-shanchu14 font14"}))))),b.createElement("div",{className:tt.inputContainer},b.createElement(ke.default.TextArea,{placeholder:"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u7684\u6587\u672C\u4F18\u5316\u5EFA\u8BAE",value:nt,bordered:!1,onFocus:()=>aa(!0),onBlur:()=>setTimeout(()=>aa(!1),300),onChange:da,onPressEnter:Ea,onCompositionStart:()=>xa.current=!0,onCompositionEnd:()=>xa.current=!1}),Fa?b.createElement("div",{className:`iconfont icon-tingzhihuida ${tt.cancelBtn}`,onClick:Va}):b.createElement(ze.ZP,{className:wa?tt.sendBtnDisabled:tt.sendBtn,icon:b.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:pa,onClick:ia}))))):b.createElement(b.Fragment,null)},We={"hover-line-container":"hover-line-container___kkYQN","hover-line-content":"hover-line-content___ZkD9e","line-button-container":"line-button-container___A79j9",button:"button___X_Iu7"},Ne=Object.defineProperty,mt=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,Qe=(Wt,_t,Te)=>_t in Wt?Ne(Wt,_t,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Wt[_t]=Te,et=(Wt,_t)=>{for(var Te in _t||(_t={}))Re.call(_t,Te)&&Qe(Wt,Te,_t[Te]);if(mt)for(var Te of mt(_t))Je.call(_t,Te)&&Qe(Wt,Te,_t[Te]);return Wt};const we=Wt=>React.createElement("svg",et({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},Wt),React.createElement("title",null,"AI\u6539\u5199"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"26.797%",y1:"22.073%",x2:"82.181%",y2:"80.474%",id:"rewrite_svg__a"},React.createElement("stop",{stopColor:"#5C64FF",offset:"0%"}),React.createElement("stop",{stopColor:"#6988F8",offset:"100%"}))),React.createElement("path",{d:"m10.406 4.741.007.015h-.007v-.022.007Zm-.04-.04.855-1.495 1.497-.855-1.496-.855L10.366 0l-.854 1.497-1.497.855 1.496.854.855 1.495ZM3.1 8.442l1.71 3.1 1.603-3.1 3.1-1.71L6.52 5.023l-1.71-3.1-1.71 3.1L0 6.733l3.099 1.709H3.1Zm6.84 3.1 1.069 1.924 1.068-1.924L14 10.473l-1.924-1.069-1.069-1.923L9.94 9.405l-1.924 1.068 1.924 1.07v-.001Z",fill:"url(#rewrite_svg__a)",fillRule:"nonzero"}));var ht="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIyNi43OTclIiB5MT0iMjIuMDczJSIgeDI9IjgyLjE4MSUiIHkyPSI4MC40NzQlIiBpZD0iYSI+PHN0b3Agc3RvcC1jb2xvcj0iIzVDNjRGRiIgb2Zmc2V0PSIwJSIvPjxzdG9wIHN0b3AtY29sb3I9IiM2OTg4RjgiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxwYXRoIGQ9Im0xMC40MDYgNC43NDEuMDA3LjAxNWgtLjAwN3YtLjAyMi4wMDdabS0uMDQtLjA0Ljg1NS0xLjQ5NSAxLjQ5Ny0uODU1LTEuNDk2LS44NTVMMTAuMzY2IDBsLS44NTQgMS40OTctMS40OTcuODU1IDEuNDk2Ljg1NC44NTUgMS40OTVaTTMuMSA4LjQ0MmwxLjcxIDMuMSAxLjYwMy0zLjEgMy4xLTEuNzFMNi41MiA1LjAyM2wtMS43MS0zLjEtMS43MSAzLjFMMCA2LjczM2wzLjA5OSAxLjcwOUgzLjFabTYuODQgMy4xIDEuMDY5IDEuOTI0IDEuMDY4LTEuOTI0TDE0IDEwLjQ3M2wtMS45MjQtMS4wNjktMS4wNjktMS45MjNMOS45NCA5LjQwNWwtMS45MjQgMS4wNjggMS45MjQgMS4wN3YtLjAwMVoiIGZpbGw9InVybCgjYSkiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg==",Lt=(0,b.forwardRef)(({initialContent:Wt,onButtonClick:_t},Te)=>{const[ot,Ut]=(0,b.useState)(null),[xn,At]=(0,b.useState)(null),[ln,Ce]=(0,b.useState)(""),[ut,Xt]=(0,b.useState)(null),nt=Te,Pt=tn=>{const Fa=document.elementFromPoint(10,tn),_a=document.createRange();let ya=null;const Vn=document.createTreeWalker(nt.current,NodeFilter.SHOW_TEXT,{acceptNode:ia=>{const Ea=document.createRange();Ea.selectNodeContents(ia);const Va=Ea.getBoundingClientRect();return Va.top<=tn&&Va.bottom>=tn?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let xa="",cr,Ya,Jn=null,da=null,ea=null;for(;cr=Vn.nextNode();){cr.parentNode.getAttribute("data-select")==="disabled"&&(Ya=!0),xa+=cr.textContent,da||(da=cr),ea=cr;const ia=document.createRange();ia.selectNodeContents(cr);const Ea=ia.getBoundingClientRect();Jn===null&&(Jn=Ea.top)}if(da&&ea&&!Ya){const ia=document.createRange();ia.setStart(da,0),ia.setEnd(ea,ea.textContent.length),Xt(ia)}else Xt(null);return At(Jn-1),Ya?"":xa.trim()};function _n(tn){for(;tn.parentElement&&tn.parentElement.tagName.toLowerCase()!=="section";){var Fa=window.getComputedStyle(tn.parentElement);if(Fa.pointerEvents==="none")return!0;tn=tn.parentElement}return!1}const sn=tn=>{var Fa,_a;if(_n(tn.target)){At(-1e6);return}if(((_a=(Fa=document.getSelection())==null?void 0:Fa.toString)==null?void 0:_a.call(Fa))!==""){At(-1e6);return}const ya=Pt(tn.clientY);if((ya==null?void 0:ya.trim())===""){At(-1e6);return}const Vn=nt.current.getBoundingClientRect();Ut(Vn.left-30),Ce(ya)},Rt=()=>{},Mt=tn=>{_t&&ln&&_t(ln,tn.clientX,tn.clientY,ut)},Yn=()=>{if(ut){const tn=window.getSelection();tn.removeAllRanges(),tn.addRange(ut)}},aa=()=>{window.getSelection().removeAllRanges()};return(0,b.useEffect)(()=>{const tn=nt.current;return tn.addEventListener("mousemove",sn),tn.addEventListener("mouseleave",Rt),()=>{tn.removeEventListener("mousemove",sn),tn.removeEventListener("mouseleave",Rt),aa()}},[Wt]),b.createElement("div",{className:We["hover-line-container2"]},xn!==null&&b.createElement("div",{className:We["line-button-container"],style:{top:xn,left:ot},onMouseEnter:()=>{Yn()},onMouseLeave:()=>{aa(),At(null),Ce(""),Xt(null)}},b.createElement("div",{className:We.button,onClick:Mt},b.createElement("img",{src:ht}),b.createElement("span",null,"AI\u6539\u5199"))))}),gt={toolbar:"toolbar___qYQBF","chat-dialog":"chat-dialog___AUJYU",button:"button___VhNes"},nn=({nodeRef:Wt,noRestrictModal:_t})=>{const[Te,ot]=(0,b.useState)(null),[Ut,xn]=(0,b.useState)(null),[At,ln]=(0,b.useState)(!1),[Ce,ut]=(0,b.useState)(null),[Xt,nt]=(0,b.useState)(!1),[Pt,_n]=(0,b.useState)(!1),sn=Wt,Rt=(0,b.useRef)(null),Mt=(0,b.useRef)(null),[Yn,aa]=(0,b.useState)("");(0,b.useEffect)(()=>{Te!=null&&Te.toString()&&aa(Te==null?void 0:Te.toString())},[Te==null?void 0:Te.toString()]);const tn=()=>{const Vn=window.getSelection(),xa=sn.current.scrollTop,cr=sn.current.getBoundingClientRect();if(Vn.rangeCount>0&&Vn.toString().length>0){const Ya=Vn.getRangeAt(0);ot(Ya.cloneRange());const Jn=Ya.getBoundingClientRect(),da=40;let ea=Jn.top+xa-5+da;ea{if(!Vn||Vn.rangeCount===0){nt(!1);return}const cr=Vn.getRangeAt(0).getBoundingClientRect(),Ya=window.getComputedStyle(sn.current),Jn=parseInt(Ya.lineHeight),da=parseInt(Ya.paddingTop),ea=sn.current.scrollTop,ia=sn.current.getBoundingClientRect(),Ea=cr.top-ia.top+ea,Va=Math.floor((Ea-da)/Jn),Pn=da+Va*Jn-ea;ut(Pn),nt(!0)},_a=Vn=>{sn.current&&!sn.current.contains(Vn.target)&&_n(!1)};(0,b.useEffect)(()=>{const Vn=sn.current;return Vn.addEventListener("scroll",tn),Vn.addEventListener("input",tn),Vn.addEventListener("click",tn),Vn.addEventListener("mouseup",tn),Vn.addEventListener("keyup",tn),Vn.addEventListener("click",tn),document.addEventListener("mousedown",_a),()=>{Vn.removeEventListener("scroll",tn),Vn.removeEventListener("input",tn),Vn.removeEventListener("click",tn),Vn.removeEventListener("mouseup",tn),Vn.removeEventListener("keyup",tn),Vn.removeEventListener("click",tn),document.removeEventListener("mousedown",_a)}},[]);const ya=(Vn=!0,xa)=>{if(!Te)return;const cr=Mt.current.querySelector("section.edu_md").innerHTML.replace(/]*>([\s\S]*?)<\/p>/g,"$1"),Ya=Te.cloneRange(),Jn=window.getSelection();if(Jn.removeAllRanges(),Jn.addRange(Ya),Vn){Ya.deleteContents();const da=document.createElement("div");da.innerHTML=cr;const ea=Array.from(da.childNodes);for(;ea.length>0;)Ya.insertNode(ea.pop())}else{Ya.collapse(!1);const da=document.createElement("div");da.innerHTML=" "+cr;const ea=Array.from(da.childNodes);for(;ea.length>0;)Ya.insertNode(ea.pop())}Jn.removeAllRanges(),ot(null),ln(!1),xn(null)};return b.createElement("section",{ref:Mt},Ut&&b.createElement("div",{ref:Rt,className:gt.toolbar,style:{top:Ut==null?void 0:Ut.top,left:Ut==null?void 0:Ut.left}},b.createElement("div",{className:gt.button,onClick:()=>ln(!0)},b.createElement("img",{src:ht}),b.createElement("span",null,"AI\u6539\u5199"))),b.createElement(be,{key:JSON.stringify(Ut),noRestrictModal:_t,visible:At,position:Ut,selectText:Yn,applyRefinedText:ya,fetchUrl:"/api/stream/intelligent_imports/stream.json"}),sn.current&&b.createElement(Lt,{ref:sn,onButtonClick:(Vn,xa,cr,Ya)=>{ot(Ya),ln(!0),aa(Vn),xn({left:xa,top:cr+20})}}))}},88441:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return ke}});var b=oe(59301),he=oe(43418),De={num:"num___VQiqB"},ke=({visible:ze,usedCount:xe,totalCount:tt,onOk:Me,onCancel:Le})=>{const _e=()=>xe>0?b.createElement("div",null,"\u672C\u6B21\u5C06\u6D88\u80171\u6B21\u5927\u6A21\u578B\u4F7F\u7528\u673A\u4F1A\uFF08\u6BCF\u65E5",tt,"\u6B21\u673A\u4F1A\uFF0C\u4ECA\u65E5\u5269\u4F59",b.createElement("span",{className:De.num},xe),"\u6B21\uFF09\uFF0C\u786E\u5B9A\u64CD\u4F5C\u5417\uFF1F"):b.createElement("div",{className:"mb20"},"\u4ECA\u65E5\u5927\u6A21\u578B\u4F7F\u7528\u673A\u4F1A\u5DF2\u7528\u5B8C\uFF08\u6BCF\u65E5",tt,"\u6B21\u673A\u4F1A\uFF0C\u4ECA\u65E5\u5269\u4F59",b.createElement("span",{className:De.num},xe),"\u6B21\uFF09\u3002");return b.createElement(he.default,{centered:!0,open:ze,title:"\u63D0\u793A",width:620,zIndex:1100,onCancel:Le,onOk:Me,footer:xe>0?void 0:null},_e())}},53412:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return a},Q:function(){return le}});var b=oe(59301),he={container:"container___DAVRd",katex:"katex___oS9Qs",liWrap:"liWrap___pAkIe",backBottom:"backBottom___kT237",imgBox:"imgBox___O8q6M"},De=oe(48102),Ae=oe(13952),ke=oe(7299),ze=oe(3738),xe=oe(18678),tt=oe(89118),Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAAB4CAYAAAAqs3YmAAAAAXNSR0IArs4c6QAADGlJREFUeF7tnVlQHMcZx7/umT0AcSjGBonDOmxdgV2Ww0iWIsmxrfIhJ1VJ2W+uilgEjqtclTwmLxQvyYur8uCKYmFQXMmbXUlV4lw+YsmHkBECdhdkSZZlyUJgScEWh7h2d7pTvcUuw2hhp3dm2dmleWPn66+/+f+me7p7vplGkOQfpRTVt56vgJCyARAtpAg5knS1JosRhBQMdMpJbddPd+68jhCiyQiBkil0sO2qc2J4yoMQLU6mvCizVAFCyLdFlUX9p9o3z/Fqww2Qtbxa7+BuAY9X6pXtGcSBEzVneFsiN8C6lqFKqihuc8MX3pgCTrAFurt2fc2jBj/AI/5GiuGBaCVIgtv2vOnAmd89OstT8Vq33fPL7pzgdJ6LKotaAoLx/k73Jzza8ANs8h1SD1gcBdMfCHg8ki/aMojzk3lPRH9hAxtfp+tfPN64AdZ6/c+pK+jvcr/DU6GwXaqAUT0FwDRfUQJgmgEYrV4ANKpgmssLgGkGYLR6AdCogmkuLwCmGYDR6gVAowqmubwAmGYARqsXAI0qmObyAmCaARitXgA0qmCaywuAaQZgtHoB0KiCaS4vAKYZgNHqBUCjCqa5vACYZgBGqxcAjSqY5vKmARR5nmkmmaD65fJII0/kRZ6nteFpo1PnkSKR55lZ8KLRxvJIRZ5nZgJkUbM8UlSnyfPcXpkLPz1QBPm5mXti2Rj51AzAXz4ah0vXZxZPD8E4qtPkef76xY0CnkWvAAbxN38ejUXHBjZIO4z9betGi4YvwmIK/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rsl3SD0SEx891y99PIgU0MRAl+tj/V6WWvIDPOJvVH9WQ2w7wCe9FiLTr6/D3cPnZdGaH2DLUCVVFHeyFWZKuVQmBrP36MPzZBtCNFiG7w8Yef2bG+BCptVudapcpkDhiTOVAHniSGTLDTA6IZ4YnvJkM8SsBsggRl5pbj1fASFlQ6IlpkRXkRWPZwrA/wPlJnpuyspBOgAAAABJRU5ErkJggg==",Le=oe(92310),_e=oe.n(Le),He=oe(8591),Ke=(x,y,z)=>new Promise((te,ae)=>{var se=be=>{try{Se(z.next(be))}catch(We){ae(We)}},ie=be=>{try{Se(z.throw(be))}catch(We){ae(We)}},Se=be=>be.done?te(be.value):Promise.resolve(be.value).then(se,ie);Se((z=z.apply(x,y)).next())});const le={contentRef:{current:null},value:null,status:!1,open:()=>Ke(void 0,null,function*(){}),close:()=>{}};var a=({className:x,style:y,onChange:z,onSuccess:te,onCancel:ae,onError:se,fetchUrl:ie,noRestrictModal:Se=()=>{},showEditableToolbar:be,bottomOffset:We=110,loadingText:Ne,showEmptyData:mt=!0,onStatusChange:Re,stringTransformer:Je,bottomContainerNode:Qe})=>{const[et,we]=(0,b.useState)(!1),[ht,ct]=(0,b.useState)(""),[Lt,gt]=(0,b.useState)(0),[yn,nn]=(0,b.useState)(!1),Wt=(0,b.useRef)(null),_t=(0,b.useRef)(null),Te=(0,b.useRef)(null),ot=(0,b.useRef)(null),Ut=(0,xe.Z)({scrollBoxRef:ot,bottomInspectRef:Te,contentRef:_t,status:yn,bottomOffset:We}),xn=et||yn;(0,b.useEffect)(()=>{z==null||z(ht)},[ht]),(0,b.useEffect)(()=>{Re==null||Re({contentRef:_t,status:xn,value:ht,open:At,close:ln})},[xn,ht]);const At=ut=>Ke(void 0,null,function*(){we(!0),ct(""),gt(0);const Xt=ie;ut!=null&&ut.fetchUrl&&delete ut.fetchUrl,Wt.current=new De.Z(`${Ae.Z.API_SERVER}${Xt}`,ut),yield new Promise((nt,Pt)=>{Wt.current.on("data",_n=>{let{chunk:{content:sn,type:Rt}}=_n;nn(!0),Rt==="text"&&ct(Mt=>Je?Je(Mt+sn):Mt+sn)}),Wt.current.on("done",()=>{nt()}),Wt.current.on("error",_n=>{Object.prototype.toString.call(_n)==="[object Object]"&&_n.status===-1&&He.ZP.warning((_n==null?void 0:_n.message)||""),nt(),se==null||se(_n)}),Wt.current.on("cancelled",()=>{nt(),ae==null||ae()}),Wt.current.startStream()}),we(!1)}),ln=()=>{var ut,Xt;gt(1),(Xt=(ut=Wt.current)==null?void 0:ut.cancelRequest)==null||Xt.call(ut),we(!1),nn(!1)},Ce=(0,b.useMemo)(()=>_t.current?b.createElement(ze.Z,{noRestrictModal:Se,nodeRef:_t}):b.createElement(b.Fragment,null),[_t.current]);return b.createElement(b.Fragment,null,b.createElement("div",{className:_e()(he.container,x),style:y,ref:ot},b.createElement("div",{ref:_t,className:he.liWrap,contentEditable:!xn},ht&&b.createElement(ke.Z,{cancelIndex:Lt,streamingStatus:et,loadImage:!1,onFinish:()=>Ke(void 0,null,function*(){gt(0),setTimeout(()=>nn(!1),0),te==null||te(ht)}),value:ht})),!ht&&!xn&&b.createElement("div",{className:he.imgBox},b.createElement("img",{width:56,src:Me}),b.createElement("span",null,"\u9884\u89C8\u533A")),mt&&xn&&b.createElement(tt.Z,{text:Ne}),!Ut&&b.createElement("div",{className:he.backBottom,onClick:()=>{ot.current.scrollTop=ot.current.scrollHeight}},b.createElement("i",{className:"iconfont icon-huidaodibu"})),b.createElement("div",{ref:Te}),Qe),!xn&&be&&Ce)}},89118:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return Ae}});var b=oe(59301),he={loading:"loading___SifAS",dot:"dot___J5R0d","dot-fade":"dot-fade___BPUGC"},Ae=({text:ke})=>b.createElement("div",null,b.createElement("div",{className:he.loading},b.createElement("div",{className:he.dot}),b.createElement("div",{className:he.dot}),b.createElement("div",{className:he.dot})),!!ke&&b.createElement("div",{className:"mt5"},ke))},55385:function(yt,kt,oe){"use strict";oe.d(kt,{o:function(){return b}});const b=he=>(he=he.replace(new RegExp("(?$1'),he=he.replace(new RegExp("(?$1 -`),he)},92578:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return x}});var b=oe(59301),he=oe(17574),De=oe(88387),Ae={flex_box_center:"flex_box_center___SFmJH",flex_space_between:"flex_space_between___f2H1D",flex_box_vertical_center:"flex_box_vertical_center___hW_hp",flex_box_center_end:"flex_box_center_end___yklmJ",flex_box_column:"flex_box_column___m0oUw",customTree:"customTree___ZhEHU",name:"name___RIkn2"},ke=Object.defineProperty,ze=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,_e=(y,z,te)=>z in y?ke(y,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):y[z]=te,He=(y,z)=>{for(var te in z||(z={}))Me.call(z,te)&&_e(y,te,z[te]);if(tt)for(var te of tt(z))Le.call(z,te)&&_e(y,te,z[te]);return y},Je=(y,z)=>ze(y,xe(z)),le=(y,z)=>{var te={};for(var ae in y)Me.call(y,ae)&&z.indexOf(ae)<0&&(te[ae]=y[ae]);if(y!=null&&tt)for(var ae of tt(y))z.indexOf(ae)<0&&Le.call(y,ae)&&(te[ae]=y[ae]);return te},E=(y,z,te)=>new Promise((ae,se)=>{var ie=We=>{try{be(te.next(We))}catch(Ne){se(Ne)}},Se=We=>{try{be(te.throw(We))}catch(Ne){se(Ne)}},be=We=>We.done?ae(We.value):Promise.resolve(We.value).then(ie,Se);be((te=te.apply(y,z)).next())}),x=y=>{var z=y,{value:te,onChange:ae,defaultValue:se,disabled:ie}=z,Se=le(z,["value","onChange","defaultValue","disabled"]);const[be,We]=(0,b.useState)([]),[Ne,mt]=(0,b.useState)("1");(0,b.useEffect)(()=>{Re()},[]);const Re=()=>E(void 0,null,function*(){const et=yield(0,De.NZ)({});if(et!=null&&et.data){const we=[{title:b.createElement("div",{title:"\u6839\u76EE\u5F55",className:Ae.name},"\u6839\u76EE\u5F55"),value:0,key:0,icon:b.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:Xe(et.data||[])}];We(we),mt("2")}}),Xe=et=>{function we(ht){const ct=ht.children,It=Array.isArray(ct)&&ct.length>0,gt=ht==null?void 0:ht.group_id;return{title:b.createElement("div",{title:ht==null?void 0:ht.name,className:Ae.name},ht==null?void 0:ht.name),value:gt,key:gt,icon:b.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:It?ct==null?void 0:ct.map(Pn=>we(Pn)):[]}}return et==null?void 0:et.map(ht=>we(ht))},Qe=se?{defaultExpandedKeys:[0],defaultSelectedKeys:[0]}:{selectedKeys:te,defaultExpandedKeys:te};return b.createElement("div",{className:Ae.customTree},b.createElement(he.default,He(Je(He({key:Ne},Qe),{showIcon:!0,treeData:be,onSelect:ae,disabled:ie}),Se)))}},99871:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return Ae}});var b=oe(59301),he={digitalLabel:"digitalLabel___tImKs",active:"active___Ck70Q"},Ae=({number:ke,active:ze,className:xe})=>b.createElement("div",{className:`${he.digitalLabel} ${ze?he.active:""} ${xe}`},ke)},26615:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return y}});var b=oe(59301),he=oe(17574),De={folderWrapper:"folderWrapper___G__0a",folderIcon:"folderIcon___oTG6c"},Ae=oe(73631),ke=oe(5623),ze=oe(88387),xe=Object.defineProperty,tt=Object.defineProperties,Me=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,Je=(z,te,ae)=>te in z?xe(z,te,{enumerable:!0,configurable:!0,writable:!0,value:ae}):z[te]=ae,le=(z,te)=>{for(var ae in te||(te={}))_e.call(te,ae)&&Je(z,ae,te[ae]);if(Le)for(var ae of Le(te))He.call(te,ae)&&Je(z,ae,te[ae]);return z},E=(z,te)=>tt(z,Me(te)),a=(z,te,ae)=>new Promise((se,ie)=>{var Se=Ne=>{try{We(ae.next(Ne))}catch(mt){ie(mt)}},be=Ne=>{try{We(ae.throw(Ne))}catch(mt){ie(mt)}},We=Ne=>Ne.done?se(Ne.value):Promise.resolve(Ne.value).then(Se,be);We((ae=ae.apply(z,te)).next())}),y=({value:z,onChange:te,scrollId:ae})=>{const[se,ie]=(0,b.useState)([]);(0,b.useEffect)(()=>{Se()},[]);const Se=()=>a(void 0,null,function*(){const Xe=yield(0,ze.NZ)({});if(Xe!=null&&Xe.data){const Qe=[{title:"\u6839\u76EE\u5F55",value:0,key:0,icon:b.createElement("img",{src:Ae,className:De.folderIcon}),isLeaf:!1,children:be(Xe.data||[])}];ie(Qe)}}),be=Xe=>Xe.map(Qe=>({title:Qe.name,key:Qe.group_id,icon:b.createElement("img",{src:Ae,className:De.folderIcon}),isLeaf:Qe.children.length===0,children:be(Qe.children)})),We=(Xe,Qe,et)=>Xe.map(we=>we.key===Qe?le(le({},we),et):we.children?E(le({},we),{children:We(we.children,Qe,et)}):we),Ne=(Xe,Qe,et)=>Xe.map(we=>{if(we.key===Qe)return E(le({},we),{icon:et?b.createElement("img",{src:ke,className:De.folderIcon}):b.createElement("img",{src:Ae,className:De.folderIcon})});if(we.children)return E(le({},we),{children:Ne(we.children,Qe,et)})}),mt=(Xe,Qe)=>{ie(et=>Ne(et,Qe.node.key,Qe.expanded))},Re=z?{selectedKeys:z,defaultExpandedKeys:z}:{};return se.length>0&&b.createElement("div",{id:ae||""},b.createElement(he.default,le({showLine:{showLeafIcon:!1},showIcon:!0,treeData:se,className:De.folderWrapper,onSelect:te,onExpand:mt},Re)))}},50838:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return ze}});var b=oe(60324),he={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},De=oe(32637),Ae=oe(59301),ze=({type:xe,style:tt})=>{const Me=Ae.createElement("div",{className:he.wrap,onClick:Le=>{Le.preventDefault(),Le.stopPropagation()}},Ae.createElement("p",null,xe==="shixun"||xe==="paths"?"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u662F\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002":"\u5F53\u524D\u8BD5\u5377\u5305\u542B\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002",Ae.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",xe==="paths"?"\u53D1\u9001\u5230\u8BFE\u5802":"\u53D1\u5E03","\u4F7F\u7528\u4E4B\u524D\uFF0C\u8BF7\u5148\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u83B7\u53D6\u6388\u6743\u7801\u3002"),Ae.createElement("div",{className:he.contact},Ae.createElement("div",{className:he.img},Ae.createElement("img",{src:De,width:"124px",height:"124px"})),Ae.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return Ae.createElement(b.Z,{content:Me},Ae.createElement("span",{className:he.text,style:tt},"\u9AD8\u6D88\u8017"))}},89837:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return _e}});var b=oe(59301),he={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},De=oe(92310),Ae=oe.n(De),ke=oe(71418),ze=oe(2859),xe=oe(52430),tt=oe(89299),Me=(He,Je,le)=>new Promise((E,a)=>{var x=te=>{try{z(le.next(te))}catch(ae){a(ae)}},y=te=>{try{z(le.throw(te))}catch(ae){a(ae)}},z=te=>te.done?E(te.value):Promise.resolve(te.value).then(x,y);z((le=le.apply(He,Je)).next())}),_e=({data:He,className:Je,fullWidth:le,style:E={},onClose:a,onOk:x,showFullTools:y,noAssociationId:z})=>{const te=(0,b.useRef)(null),ae=(0,b.useRef)(null),se=(0,b.useRef)(null),ie=(0,b.useRef)(null),[Se,be]=(0,b.useState)(!1),[We,Ne]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>{se.current||(se.current=document.createElement("style"),document.head.appendChild(se.current)),He!=null&&He.visible?(document.body.setAttribute("data-custom","y-hidden"),se.current.innerHTML=" html { overflow-y: hidden; }",He!=null&&He.src&&mt()):(document.body.removeAttribute("data-custom"),se.current&&(document.head.removeChild(se.current),se.current=null))},[He==null?void 0:He.visible]);const mt=()=>Me(void 0,null,function*(){be(!0),Ne("\u6B63\u5728\u52A0\u8F7D\u4E2D");const we=yield(0,tt.ZJ)(He==null?void 0:He.src);te.current.src="",te.current.src=we,te.current.onload=function(){et()},be(!1),Ne("")}),Re=()=>{document.body.removeAttribute("data-custom"),se.current.innerHTML=" ",a()},Xe=we=>Me(void 0,null,function*(){be(!0),Ne("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ht=yield(0,xe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:He.title,file:we.dataUrl}});ht!=null&&ht.id&&!z?(yield(0,xe.ZP)(`/api/attachments/${He.id}/add_subitem.json`,{method:"post",body:{subitem_id:ht==null?void 0:ht.id,settings:JSON.stringify(we.state)}})).status===0&&x():ht!=null&&ht.id&&x(ht),document.body.removeAttribute("data-custom"),se.current.innerHTML=" ",be(!1),Ne("")}),Qe=()=>{const we=document.querySelector('a[href="https://markerjs.com/"]');we&&we.parentNode&&(we.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(ct=>{const It=document.querySelector(ct.name);It&&It.setAttribute("title",ct.title)})},et=()=>{ae.current=new ze.hP(te.current),ae.current.targetRoot=ie.current,ae.current.addEventListener("render",Xe),ae.current.addEventListener("beforeclose",Re),y&&(ae.current.availableMarkerTypes=ae.current.ALL_MARKER_TYPES,ae.current.uiStyleSettings.redoButtonVisible=!0,ae.current.uiStyleSettings.notesButtonVisible=!0,ae.current.uiStyleSettings.zoomButtonVisible=!0,ae.current.uiStyleSettings.zoomOutButtonVisible=!0,ae.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ae.current.uiStyleSettings,ae.current.show(),He!=null&&He.snapshotData&&ae.current.restoreState(He.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Qe()},300)};return b.createElement(b.Fragment,null,(He==null?void 0:He.visible)&&b.createElement(ke.Z,{spinning:Se,tip:We,style:{position:"absolute"}},b.createElement("div",{ref:ie,className:Ae()(he.imageDimensions,Je,le?he.fullWidth:""),style:E},b.createElement("img",{className:he.img,ref:te}))))}},28298:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return Ya},$:function(){return cr}});var b=oe(59301),he={flex_box_center:"flex_box_center___ILe3s",flex_space_between:"flex_space_between___c0XhE",flex_box_vertical_center:"flex_box_vertical_center___Iusj1",flex_box_center_end:"flex_box_center_end___DIVMO",flex_box_column:"flex_box_column___x06LA",intelligentBox:"intelligentBox___M5xO7",red:"red___oyEWt",imgBox:"imgBox___DdoNI",underpin:"underpin___fwUex",row:"row___W9MrK",leftLayout:"leftLayout___MMjoZ",rightLayout:"rightLayout___EsxRX",head:"head___Q7Od8",centerBox:"centerBox___j58Ut",title:"title___rMcNx",tip:"tip___gLHFS",leftBox:"leftBox___DJ6lp",question:"question___THjM9",rightBox:"rightBox___CuMdf",error:"error___PHzCG",actionHead:"actionHead___vTHMx",edit:"edit___EaRLy",option:"option___z4UTy",active:"active___o8wNJ",fill:"fill___g760n",text:"text___L_lug",liWrap:"liWrap___LDwxe",li:"li___k4Mcf",buttonFixed:"buttonFixed___QxKdm",buttonWrap:"buttonWrap___OEep5",button:"button___b2y4h",menu:"menu___aQ4xO",tabs:"tabs___QmlP4",dotLoading:"dotLoading___zUYOu",showHide:"showHide___fHrAG"},De=oe(92310),Ae=oe.n(De),ke=oe(78241),ze=oe(8591),xe=oe(43418),tt=oe(5871),Me=oe(95237),Le=oe(24905),_e=oe(38854),He=oe(54580),Je=oe(3113),le=oe(93948),E=oe(19842),a=oe(92832),x=oe(36433),y=oe(13952),z="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAUCAYAAADC1B7dAAAAAXNSR0IArs4c6QAABk1JREFUWEd1lwlsVkUQx3/7ClGMSMSrHCKXHCpQhYhCNB5AYqRQGq1AiKgEEAiokAJFFIoipcVE5EYFyn23IGCJgoTDQimWSJSzCIKIcglUEIGu2bdv3+77vo+XfPl2Z2Zn5z8zuzsjSPDJ0tZV2ftfGog0BG0Q1AbuRABCgJDBvxorWqDE5xkZh+4porNGjRXNyKvlMuCbf2OXDPRIWYHnnQJKqaSQOimFos3s67HmG1NCupzxWDcgD2Qjf0P1qT/fqGAcGh4Yb4x1ZZSsCySy3oAV4LnOCByi9Pl7CQ00HPvIDb0cz8sUqSUFLqgQkJRjPCavzEFUZoaecz2oNjYAjXGJgEQi5Bio1kYiZYDEOEt5z4+ecZ4D2I2kGePl0eWlkUJkVxp/+yvkpOa5IDOtxxIAiE2nuEg5RhjZ2EiFhgYpF6ZfTNq662KzI+TpgOGJPJFaMjwEJCc06YZgtY5AENLMA7HpCcVTYfd0TR/yi+Vvy4F9CyG5BaQviV9nKBeOwNrXoNdOSKqqqSe2wJZ3dfS9JP0LM+M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){Ea(Gt)}},rn=bt=>bt.done?oa(bt.value):Promise.resolve(bt.value).then(Va,En);rn(($n=$n.apply(Kn,sa)).next())}),we=b.memo(({tagName:Kn="div",value:sa="",className:$n,style:oa={},onBlur:Ea,id:Va})=>{const En=(0,b.useRef)(null);(0,b.useEffect)(()=>{if(!En.current)return;Qe(void 0,null,function*(){const Gt=En.current;Gt.innerHTML="";const Da=sa==null?void 0:sa.split(/(`?\$\$[\s\S]*?\$\$`?)/g);for(const va of Da)if(va.startsWith("$$")&&va.endsWith("$$")||va.startsWith("`$$")&&va.endsWith("$$`")){const wa=va.startsWith("`$$")?va.slice(3,-3):va.slice(2,-2),pa=document.createElement("span");pa.setAttribute("contentEditable","false"),pa.setAttribute("title",va),pa.className="edu_latex",Gt.appendChild(pa),Xe().render(wa,pa,{throwOnError:!1})}else{const wa=va==null?void 0:va.replace(/<[^>]*>/g,pa=>pa.startsWith("{var bt,Gt;if(Ea&&En.current){const va=En.current.cloneNode(!0),wa=va.querySelectorAll("span.edu_latex");for(let pa of wa){const ja=pa.getAttribute("title"),gr=document.createTextNode(ja||""),Ua=pa;(Gt=(bt=Ua.parentNode)==null?void 0:bt.replaceChild)==null||Gt.call(bt,gr,Ua)}Ea(va.innerHTML)}};return b.createElement(b.Fragment,null,b.createElement(Kn,{ref:En,contentEditable:!0,className:$n,style:oa,onBlur:rn}))}),ht=oe(64681),ct=oe(41312),It=oe(43428),gt=oe(6848),Pn=oe(43604),an={wrap:"wrap___Yz6fc",left:"left___F0axg",tip:"tip___nCmqI",bottomBtn:"bottomBtn___x70Gq",disabled:"disabled___CWzre"},Wt=oe(55385),Tt=oe(89299),Te=oe(57833),ot=oe(85133),Qt=oe(88441),An=oe(53412),Bt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAHr1JREFUaEPNmweYnVW1/n/7a6fMmcm0ZEoSUkkCSQgJCVWKoAI2FAH1iqBYwXvFLogF8S9X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kLNm4YS1JK8n69q1sH2inoEaotmvJZOAT71/FGw47ADuVonVuPWvu3c0TT3ejogAVCFI1VTy6fZjISuM1TWfPygOwizAr20fwzIOkkvW8fcUcLGesFAbhz+y0/OYFV13w7/8XgH1X76avXbJ0167iN/r6/Hf6JdyUrMMVHuvaNpPN7SFfHKMQSWa1VnH+h9/I3FlNuOkUtfU1bHsiYvczKbbn2ri340nePH8l20ZGsL0QT3ceSz4zptUyNDrK4oXzeGGTHxxbt/jujuoXv/nd+/9rYqPZX7Lmn3rvH7Lwa3/og0d+eklP78j5c2vmntZUO7V27e5nGM2NsGtoF65dxQmHz+NDZxxBKpEkNSVFmE3w8iMOj2x5kZ78ANWJBNPqpyESJQIZUvJDk8Km1qUpFovDc2e13Mp4+vIv/uasf/i/Wf4R0vqri/mh2RfXLlow66St+fXvbu/qOW4o3z/1iMXzxOnvOIpUlYNjW2QaUvSvTbFlS462PQMUo2EaG2pIpjzT+y4UlQpDuUchH3ec6DdeUqy5+M7P/v/1j1p/aiXuv/zyxDOP7ViyYP7Ug9r6upadcPSqhYlkYm405jXteNqt8reG9LYO5NJVqt8VXlsU2Nsi6WySofvCfml38xm3nvFv+Ve8/wNgli4fKbeMnwAAAABJRU5ErkJggg==",un=(Kn,sa,$n)=>new Promise((oa,Ea)=>{var Va=bt=>{try{rn($n.next(bt))}catch(Gt){Ea(Gt)}},En=bt=>{try{rn($n.throw(bt))}catch(Gt){Ea(Gt)}},rn=bt=>bt.done?oa(bt.value):Promise.resolve(bt.value).then(Va,En);rn(($n=$n.apply(Kn,sa)).next())}),ut=(0,b.forwardRef)(({onUpdateNum:Kn,onSave:sa},$n)=>{var oa;const Ea=`\u8BF7\u8F93\u5165\u51FA\u9898\u8981\u6C42\uFF0C\u60A8\u4E5F\u53EF\u4EE5\u5148\u4E0A\u4F20\u6750\u6599\u4E4B\u540E\u518D\u6839\u636E\u6750\u6599\u51FA\u9898 -\u4F8B\uFF1A\u8BF7\u751F\u6210\u5173\u4E8E\u300APython\u7A0B\u5E8F\u8BBE\u8BA1\u300B\u7684\u8BD5\u9898\u3002\u8003\u5BDF\u77E5\u8BC6\u70B9\uFF1A\u53D8\u91CF\u5B9A\u4E49\u3001\u6570\u636E\u7C7B\u578B\u3001\u8FD0\u7B97\u7B26\u548C\u63A7\u5236\u7ED3\u6784\u3002\u96BE\u5EA6\u4E3A\u201C\u56F0\u96BE\u201D\u7684\u8BD5\u9898\u536020%`,[Va,En]=(0,b.useState)(!1),[rn,bt]=(0,b.useState)([]),[Gt,Da]=(0,b.useState)(null),[va,wa]=(0,b.useState)([]),[pa,ja]=(0,b.useState)(0),[gr,Ua]=(0,b.useState)(0),[Br,ho]=(0,b.useState)(!1),[Ht,Tn]=(0,b.useState)(""),[Xn,ha]=(0,b.useState)(0),[Be,at]=(0,b.useState)(0),[st,Ft]=(0,b.useState)(0),[St,mn]=(0,b.useState)(0),[Jt,Ge]=(0,b.useState)(0),[Ke,Ue]=(0,b.useState)(0),[Ct,sn]=(0,b.useState)(0),[hn,aa]=(0,b.useState)(0),[Vn,Dn]=(0,b.useState)(An.Q),{contentRef:Gn,value:_n,status:jt,open:La,close:lr}=Vn,io=(0,ot.Z)({contentRef:Gn,status:jt}),{openProgress:Wa,closeProgress:zt,CreateProgressModal:jr,progressOpen:Ta}=(0,Te.Z)();(0,b.useEffect)(()=>{Gt&&br(),Gt===!1&&(lr(),Kn==null||Kn(),bt([]),Tn(""),ha(0),at(0),Ft(0),mn(0),Ge(0),Ue(0),sn(0),aa(0))},[Gt]);const vr=()=>{Da(!0)};(0,b.useImperativeHandle)($n,()=>({onClick:vr}));const er=la=>{ho(!0),ja(la),Ua(0)},kr=la=>un(void 0,null,function*(){const tr=la.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(tr)==-1?(ze.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u683C\u5F0F\u6709\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),Promise.reject()):la.size/1024/1024>10?(ze.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u5927\u5C0F\u9650\u523610MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),Promise.reject()):!0}),br=()=>un(void 0,null,function*(){const la=yield(0,ie.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});la.status===0&&(ja(la.total_number),Ua(la.remaining_number))}),$r=la=>(la=la||"",la=String(la),la=la.replace(/\s+/g,""),la),wr=(la=!0)=>un(void 0,null,function*(){var tr,Oa;const Sn=[{name:"\u5355\u9009\u9898",num:Xn||0},{name:"\u591A\u9009\u9898",num:Be||0},{name:"\u5224\u65AD\u9898",num:st||0},{name:"\u586B\u7A7A\u9898",num:St||0},{name:"\u7B80\u7B54\u9898",num:Jt||0},{name:"\u7EC4\u5408\u9898",num:hn||0},{name:"\u7F16\u7A0B\u9898",num:Ke||0},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",num:Ct||0}];if(la){if($r(Ht)){if(Ht.length>1e3){ze.ZP.warning("\u51FA\u9898\u8981\u6C42\u5B57\u6570\u9650\u5236\u4E3A1000\u5B57");return}}else{ze.ZP.warning("\u8BF7\u5148\u8F93\u5165\u51FA\u9898\u8981\u6C42");return}if(!$r(Ht)&&!(rn!=null&&rn.length)){ze.ZP.warning("\u8BF7\u4E0A\u4F20\u6750\u6599\u6587\u6863\u6216\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6750\u6599\u5185\u5BB9");return}const Wn=Sn.reduce((qa,Ka)=>qa+Ka.num,0);if(Wn===0){ze.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}if(Wn>30){ze.ZP.warning("\u51FA\u9898\u6570\u91CF\u8FBE\u5230\u9650\u5236");return}if(pa!==-1){ho(!0);return}}ho(!1);const Aa={scene_type:6,request_identifier:Math.random(),file_id:(Oa=(tr=rn[0])==null?void 0:tr.response)==null?void 0:Oa.id,content:Ht,count_arr:Sn.map(Wn=>Wn.num).join(",")};yield La(Aa),br()}),ra=()=>un(void 0,null,function*(){const la=io();if(sa){Da(!1),sa(la);return}Wa(),En(!0),wa([]);const tr=new FormData;tr.append("html",la);const Oa=yield(0,ie.ZP)("/api/intelligent_imports/import.json",{method:"post",body:tr},!0);if((Oa==null?void 0:Oa.status)===0)if(Oa!=null&&Oa.data){zt(100),wa(Oa==null?void 0:Oa.data);return}else ze.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898");En(!1),zt()}),$t=()=>un(void 0,null,function*(){const la=io();(0,Tt.RG)(la)}),Xa=["uploading","error"].includes((oa=rn==null?void 0:rn[0])==null?void 0:oa.status);return b.createElement(b.Fragment,null,b.createElement(Qt.Z,{visible:Br,totalCount:pa,usedCount:gr,onCancel:()=>ho(!1),onOk:()=>wr(!1)}),b.createElement(It.Z,{title:"\u667A\u80FD\u51FA\u9898",extra:b.createElement("div",{className:an.extraHeader},b.createElement(Me.Z,{align:"middle"},!jt&&!!_n&&b.createElement(b.Fragment,null,b.createElement(x.op,{onClick:ra,className:"mr15",shape:"default"},"\u4FDD\u5B58\u8BD5\u9898"),b.createElement(x.op,{onClick:$t,shape:"default",type:"text"},b.createElement("i",{className:"iconfont icon-fuzhi8 mr5 font14"}),"\u590D\u5236")),b.createElement("i",{onClick:()=>{const la=tr=>{xe.default.confirm({centered:!0,icon:null,width:500,zIndex:1101,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:tr,onOk:()=>{Da(!1)}})};if(jt){la("\u6B63\u5728\u751F\u6210\u8BD5\u9898\u4E2D\uFF0C\u786E\u5B9A\u8981\u9000\u51FA\u5417\uFF1F");return}else _n?la("\u8BD5\u9898\u672A\u4FDD\u5B58\uFF0C\u786E\u5B9A\u8981\u9000\u51FA\u5417\uFF1F"):Da(!1)},className:"iconfont icon-guanbi11 current ml15"}))),placement:"bottom",height:"100%",headerStyle:{height:54,borderBottomColor:"#DCDCDC"},bodyStyle:{padding:0},closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:Gt},b.createElement("div",{className:an.wrap},b.createElement("div",{className:an.left},b.createElement("div",{className:an.tip},b.createElement("img",{src:Bt}),b.createElement("span",null,"\u60A8\u597D\uFF01\u6211\u662F\u60A8\u7684\u667A\u80FD\u51FA\u9898\u52A9\u624B\uFF0C\u6211\u5DF2\u5B66\u4E60\u4E86\u5E73\u53F0\u4EE5\u53CA\u4E92\u8054\u7F51\u4E0A\u6D77\u91CF\u7684\u8BD5\u9898\u77E5\u8BC6\u5E93\u3002\u53EF\u4EE5\u6839\u636E\u60A8\u7684\u8981\u6C42\u548C\u4E0A\u4F20\u7684\u6750\u6599\u7075\u6D3B\u751F\u6210\u5404\u7C7B\u8BD5\u9898\u3002\u6B22\u8FCE\u968F\u65F6\u4E0E\u6211\u4E92\u52A8\uFF0C\u8BA9\u6211\u4EEC\u4E00\u8D77\u6253\u9020\u66F4\u9AD8\u6548\u3001\u66F4\u4F18\u8D28\u7684\u8BD5\u9898\uFF01")),b.createElement("div",{className:"mb10 mt20 c-black"},b.createElement("b",null,"\u51FA\u9898\u8981\u6C42")),b.createElement(a.default.TextArea,{style:{height:160},className:"mb20",value:Ht,placeholder:Ea,onChange:la=>{Tn(la.target.value)}}),b.createElement(He.default,{accept:".doc,.docx,.pdf,.png,.jpg",action:`${y.Z.API_SERVER}/api/attachments.json`,maxCount:1,fileList:rn,withCredentials:!0,data:{upload_type:1},beforeUpload:kr,onChange:({file:la})=>{var tr,Oa;la.status!=="removed"&&(la.status==="done"&&((tr=la==null?void 0:la.response)==null?void 0:tr.status)!==0&&(la.status="error",la.response=(Oa=la==null?void 0:la.response)==null?void 0:Oa.message),bt([la]))},onRemove:()=>bt([])},b.createElement(gt.Z,{title:"\u5355\u6B21\u4EC5\u652F\u6301\u4E0A\u4F201\u4E2A\u6587\u6863\u62161\u5F20\u56FE\u7247\uFF0C\u6587\u6863\u652F\u6301PDF/Word\u683C\u5F0F\uFF0C\u56FE\u7247\u652F\u63011\u5F20\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247"},b.createElement(x.op,{style:{borderRadius:2}},b.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6750\u6599"))),b.createElement("div",{className:"c-black mt20"},b.createElement("div",{className:"mb10 c-black"},b.createElement("b",null,"\u51FA\u9898\u6570\u91CF"),b.createElement("span",{className:"c-grey-999"},"\uFF08\u4E3A\u4FDD\u8BC1\u51FA\u9898\u4F53\u9A8C\uFF0C\u5355\u6B21\u51FA\u9898\u603B\u6570\u91CF\u4E0D\u80FD\u8D85\u8FC7",b.createElement("span",{style:{padding:"0 6px",color:"#FB901F"}},"30"),"\u9053\uFF09")),b.createElement(Me.Z,{style:{gap:16}},b.createElement(Pn.Z,null,b.createElement("label",null,"\u5355\u9009\u9898"),b.createElement(tt.Z,{min:0,max:10,value:Xn,onChange:ha,style:{marginLeft:"8px"}})),b.createElement(Pn.Z,null,b.createElement("label",null,"\u591A\u9009\u9898"),b.createElement(tt.Z,{min:0,max:10,value:Be,onChange:at,style:{marginLeft:"8px"}})),b.createElement(Pn.Z,null,b.createElement("label",null,"\u5224\u65AD\u9898"),b.createElement(tt.Z,{min:0,max:10,value:st,onChange:Ft,style:{marginLeft:"8px"}})),b.createElement(Pn.Z,null,b.createElement("label",null,"\u586B\u7A7A\u9898"),b.createElement(tt.Z,{min:0,max:10,value:St,onChange:mn,style:{marginLeft:"8px"}})),b.createElement(Pn.Z,null,b.createElement("label",null,"\u7B80\u7B54\u9898"),b.createElement(tt.Z,{min:0,max:10,value:Jt,onChange:Ge,style:{marginLeft:"8px"}})))),jt?b.createElement("div",{onClick:lr,className:an.bottomBtn},b.createElement("i",{className:"iconfont icon-tingzhihuida"}),"\u505C\u6B62\u51FA\u9898"):Xa?b.createElement("div",{className:`${an.bottomBtn} ${an.disabled}`},b.createElement("i",{className:"iconfont icon-kaishichuti font14"}),"\u5F00\u59CB\u51FA\u9898"):b.createElement("div",{onClick:()=>{wr()},className:an.bottomBtn},b.createElement("i",{className:"iconfont icon-kaishichuti font14"}),"\u5F00\u59CB\u51FA\u9898")),b.createElement(An.Z,{onStatusChange:Dn,loadingText:"\u8BD5\u9898\u751F\u6210\u4E2D",fetchUrl:"/api/stream/intelligent_imports/stream.json",showEditableToolbar:!Ta,noRestrictModal:er,stringTransformer:Wt.o,onError:la=>{Object.prototype.toString.call(la)==="[object Object]"&&la.status===-9&&er(la.data)}}))),b.createElement(It.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:Va},b.createElement(Me.Z,{align:"middle",style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},b.createElement("img",{src:oe(36413),alt:"\u667A\u80FD\u51FA\u9898"}),b.createElement("span",{className:"ml10"},"\u667A\u80FD\u51FA\u9898")),b.createElement(Ya,{stickyTop:-24,hideWordFeatures:!0,dataSource:va,isRefreshItemBank:!0,okText:"\u5BFC\u5165\u9898\u5E93",mode:1,onCancel:()=>En(!1),onSuccess:()=>{En(!1),Da(!1)}}),b.createElement("div",{style:{height:70}})),jr("\u5904\u7406\u4E2D"))}),Xt=Object.defineProperty,nt=Object.defineProperties,Pt=Object.getOwnPropertyDescriptors,kn=Object.getOwnPropertySymbols,dn=Object.prototype.hasOwnProperty,kt=Object.prototype.propertyIsEnumerable,Rt=(Kn,sa,$n)=>sa in Kn?Xt(Kn,sa,{enumerable:!0,configurable:!0,writable:!0,value:$n}):Kn[sa]=$n,Qn=(Kn,sa)=>{for(var $n in sa||(sa={}))dn.call(sa,$n)&&Rt(Kn,$n,sa[$n]);if(kn)for(var $n of kn(sa))kt.call(sa,$n)&&Rt(Kn,$n,sa[$n]);return Kn},na=(Kn,sa)=>nt(Kn,Pt(sa)),tn=(Kn,sa,$n)=>new Promise((oa,Ea)=>{var Va=bt=>{try{rn($n.next(bt))}catch(Gt){Ea(Gt)}},En=bt=>{try{rn($n.throw(bt))}catch(Gt){Ea(Gt)}},rn=bt=>bt.done?oa(bt.value):Promise.resolve(bt.value).then(Va,En);rn(($n=$n.apply(Kn,sa)).next())});const Fa=Kn=>{Kn.preventDefault();let $n=(Kn.clipboardData||window.clipboardData).getData("Text");document.execCommand("insertText",!1,$n)},_a=Kn=>{Kn.key==="Enter"&&Kn.preventDefault()},ya=({children:Kn,style:sa})=>b.createElement("div",{className:he.leftBox,style:sa,onPaste:Fa},Kn),zn=({children:Kn,style:sa,className:$n})=>b.createElement("div",{className:Ae()(he.rightBox,$n),style:sa,onPaste:Fa},Kn),xa=({className:Kn,style:sa={},width:$n=1200,onCancel:oa=()=>{},onSuccess:Ea=()=>{},gather:Va={},mode:En=1,stickyTop:rn=0,subDisciplineId:bt=[],hideWordFeatures:Gt,dataSource:Da=[],customLeftHeadNode:va,customRightHeadNode:wa,customLeftContent:pa,hideRecognition:ja=!1,onExchange:gr,isSingleSelection:Ua=!1,underpinBackgroundStyle:Br={},headExtraNode:ho,isRefreshItemBank:Ht=!1,okText:Tn="\u786E\u5B9A\u5BFC\u5165",onSave:Xn})=>{var ha;const[Be,at]=(0,b.useState)(1),[st,Ft]=(0,b.useState)(0),[St,mn]=(0,b.useState)(""),[Jt,Ge]=(0,b.useState)(!1),[Ke,Ue]=(0,b.useState)([]),[Ct,sn]=(0,b.useState)([]),[hn,aa]=(0,b.useState)(!1),[Vn,Dn]=(0,b.useState)(!1),[Gn,_n]=(0,b.useState)(!1),[jt,La]=(0,b.useState)(!1),[lr,io]=(0,b.useState)([]),[Wa,zt]=(0,b.useState)(1),[jr,Ta]=(0,b.useState)(!1),[vr,er]=(0,b.useState)(!0),[kr,br]=(0,b.useState)(0),[$r,wr]=(0,b.useState)(!1),[ra]=ke.default.useForm(),[$t]=ke.default.useForm(),Xa=(0,b.useRef)(null),la=(0,b.useRef)(null),tr=(0,b.useRef)(),Oa=(0,b.useRef)(null),Sn=["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"],qn=["C","C++","Java","Python","JavaScript","Ruby"];(0,b.useEffect)(()=>{Da!=null&&Da.length&&Ti(Da)},[Da]),(0,b.useEffect)(()=>{Be===2&&Xa.current.focus()},[Be]),(0,b.useEffect)(()=>{Gn&&Wn()},[Gn]);const Aa=()=>{if(Be===1){ze.ZP.warning("\u8BF7\u5148\u4E0A\u4F20\u8BD5\u9898\uFF01");return}xe.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u6E05\u7A7A\u64CD\u4F5C\u5C06\u5220\u9664\u8BD5\u9898\u7F16\u8F91\u533A\u57DF\u7684\u5168\u90E8\u5185\u5BB9\uFF0C\u786E\u5B9A\u4E00\u952E\u6E05\u7A7A\u5417\uFF1F",onOk:()=>tn(void 0,null,function*(){at(1)})})},Wn=()=>tn(void 0,null,function*(){const me=yield(0,ie.ZP)("/api/disciplines.json",{method:"get",params:{source:En===1?"new_question":"subject"}});io(me.disciplines||[])}),qa=me=>{const pt=[],At=(gn,Et)=>{gn.length>=2&&pt.push(gn.join(""));for(let xn=Et;xn(me=me||"",me=String(me),me=me.replace(/\s+/g,""),me),pr=me=>(me=me||"",me=String(me),me=me.replace(/

/g,""),me=me.replace(/
/g,` +`),he)},92578:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return x}});var b=oe(59301),he=oe(17574),De=oe(88387),Ae={flex_box_center:"flex_box_center___SFmJH",flex_space_between:"flex_space_between___f2H1D",flex_box_vertical_center:"flex_box_vertical_center___hW_hp",flex_box_center_end:"flex_box_center_end___yklmJ",flex_box_column:"flex_box_column___m0oUw",customTree:"customTree___ZhEHU",name:"name___RIkn2"},ke=Object.defineProperty,ze=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,_e=(y,z,te)=>z in y?ke(y,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):y[z]=te,He=(y,z)=>{for(var te in z||(z={}))Me.call(z,te)&&_e(y,te,z[te]);if(tt)for(var te of tt(z))Le.call(z,te)&&_e(y,te,z[te]);return y},Ke=(y,z)=>ze(y,xe(z)),le=(y,z)=>{var te={};for(var ae in y)Me.call(y,ae)&&z.indexOf(ae)<0&&(te[ae]=y[ae]);if(y!=null&&tt)for(var ae of tt(y))z.indexOf(ae)<0&&Le.call(y,ae)&&(te[ae]=y[ae]);return te},E=(y,z,te)=>new Promise((ae,se)=>{var ie=We=>{try{be(te.next(We))}catch(Ne){se(Ne)}},Se=We=>{try{be(te.throw(We))}catch(Ne){se(Ne)}},be=We=>We.done?ae(We.value):Promise.resolve(We.value).then(ie,Se);be((te=te.apply(y,z)).next())}),x=y=>{var z=y,{value:te,onChange:ae,defaultValue:se,disabled:ie}=z,Se=le(z,["value","onChange","defaultValue","disabled"]);const[be,We]=(0,b.useState)([]),[Ne,mt]=(0,b.useState)("1");(0,b.useEffect)(()=>{Re()},[]);const Re=()=>E(void 0,null,function*(){const et=yield(0,De.NZ)({});if(et!=null&&et.data){const we=[{title:b.createElement("div",{title:"\u6839\u76EE\u5F55",className:Ae.name},"\u6839\u76EE\u5F55"),value:0,key:0,icon:b.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:Je(et.data||[])}];We(we),mt("2")}}),Je=et=>{function we(ht){const ct=ht.children,Lt=Array.isArray(ct)&&ct.length>0,gt=ht==null?void 0:ht.group_id;return{title:b.createElement("div",{title:ht==null?void 0:ht.name,className:Ae.name},ht==null?void 0:ht.name),value:gt,key:gt,icon:b.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:Lt?ct==null?void 0:ct.map(yn=>we(yn)):[]}}return et==null?void 0:et.map(ht=>we(ht))},Qe=se?{defaultExpandedKeys:[0],defaultSelectedKeys:[0]}:{selectedKeys:te,defaultExpandedKeys:te};return b.createElement("div",{className:Ae.customTree},b.createElement(he.default,He(Ke(He({key:Ne},Qe),{showIcon:!0,treeData:be,onSelect:ae,disabled:ie}),Se)))}},99871:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return Ae}});var b=oe(59301),he={digitalLabel:"digitalLabel___tImKs",active:"active___Ck70Q"},Ae=({number:ke,active:ze,className:xe})=>b.createElement("div",{className:`${he.digitalLabel} ${ze?he.active:""} ${xe}`},ke)},26615:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return y}});var b=oe(59301),he=oe(17574),De={folderWrapper:"folderWrapper___G__0a",folderIcon:"folderIcon___oTG6c"},Ae=oe(73631),ke=oe(5623),ze=oe(88387),xe=Object.defineProperty,tt=Object.defineProperties,Me=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,Ke=(z,te,ae)=>te in z?xe(z,te,{enumerable:!0,configurable:!0,writable:!0,value:ae}):z[te]=ae,le=(z,te)=>{for(var ae in te||(te={}))_e.call(te,ae)&&Ke(z,ae,te[ae]);if(Le)for(var ae of Le(te))He.call(te,ae)&&Ke(z,ae,te[ae]);return z},E=(z,te)=>tt(z,Me(te)),a=(z,te,ae)=>new Promise((se,ie)=>{var Se=Ne=>{try{We(ae.next(Ne))}catch(mt){ie(mt)}},be=Ne=>{try{We(ae.throw(Ne))}catch(mt){ie(mt)}},We=Ne=>Ne.done?se(Ne.value):Promise.resolve(Ne.value).then(Se,be);We((ae=ae.apply(z,te)).next())}),y=({value:z,onChange:te,scrollId:ae})=>{const[se,ie]=(0,b.useState)([]);(0,b.useEffect)(()=>{Se()},[]);const Se=()=>a(void 0,null,function*(){const Je=yield(0,ze.NZ)({});if(Je!=null&&Je.data){const Qe=[{title:"\u6839\u76EE\u5F55",value:0,key:0,icon:b.createElement("img",{src:Ae,className:De.folderIcon}),isLeaf:!1,children:be(Je.data||[])}];ie(Qe)}}),be=Je=>Je.map(Qe=>({title:Qe.name,key:Qe.group_id,icon:b.createElement("img",{src:Ae,className:De.folderIcon}),isLeaf:Qe.children.length===0,children:be(Qe.children)})),We=(Je,Qe,et)=>Je.map(we=>we.key===Qe?le(le({},we),et):we.children?E(le({},we),{children:We(we.children,Qe,et)}):we),Ne=(Je,Qe,et)=>Je.map(we=>{if(we.key===Qe)return E(le({},we),{icon:et?b.createElement("img",{src:ke,className:De.folderIcon}):b.createElement("img",{src:Ae,className:De.folderIcon})});if(we.children)return E(le({},we),{children:Ne(we.children,Qe,et)})}),mt=(Je,Qe)=>{ie(et=>Ne(et,Qe.node.key,Qe.expanded))},Re=z?{selectedKeys:z,defaultExpandedKeys:z}:{};return se.length>0&&b.createElement("div",{id:ae||""},b.createElement(he.default,le({showLine:{showLeafIcon:!1},showIcon:!0,treeData:se,className:De.folderWrapper,onSelect:te,onExpand:mt},Re)))}},50838:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return ze}});var b=oe(60324),he={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},De=oe(32637),Ae=oe(59301),ze=({type:xe,style:tt})=>{const Me=Ae.createElement("div",{className:he.wrap,onClick:Le=>{Le.preventDefault(),Le.stopPropagation()}},Ae.createElement("p",null,xe==="shixun"||xe==="paths"?"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u662F\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002":"\u5F53\u524D\u8BD5\u5377\u5305\u542B\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002",Ae.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",xe==="paths"?"\u53D1\u9001\u5230\u8BFE\u5802":"\u53D1\u5E03","\u4F7F\u7528\u4E4B\u524D\uFF0C\u8BF7\u5148\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u83B7\u53D6\u6388\u6743\u7801\u3002"),Ae.createElement("div",{className:he.contact},Ae.createElement("div",{className:he.img},Ae.createElement("img",{src:De,width:"124px",height:"124px"})),Ae.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return Ae.createElement(b.Z,{content:Me},Ae.createElement("span",{className:he.text,style:tt},"\u9AD8\u6D88\u8017"))}},89837:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return _e}});var b=oe(59301),he={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},De=oe(92310),Ae=oe.n(De),ke=oe(71418),ze=oe(2859),xe=oe(52430),tt=oe(89299),Me=(He,Ke,le)=>new Promise((E,a)=>{var x=te=>{try{z(le.next(te))}catch(ae){a(ae)}},y=te=>{try{z(le.throw(te))}catch(ae){a(ae)}},z=te=>te.done?E(te.value):Promise.resolve(te.value).then(x,y);z((le=le.apply(He,Ke)).next())}),_e=({data:He,className:Ke,fullWidth:le,style:E={},onClose:a,onOk:x,showFullTools:y,noAssociationId:z})=>{const te=(0,b.useRef)(null),ae=(0,b.useRef)(null),se=(0,b.useRef)(null),ie=(0,b.useRef)(null),[Se,be]=(0,b.useState)(!1),[We,Ne]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>{se.current||(se.current=document.createElement("style"),document.head.appendChild(se.current)),He!=null&&He.visible?(document.body.setAttribute("data-custom","y-hidden"),se.current.innerHTML=" html { overflow-y: hidden; }",He!=null&&He.src&&mt()):(document.body.removeAttribute("data-custom"),se.current&&(document.head.removeChild(se.current),se.current=null))},[He==null?void 0:He.visible]);const mt=()=>Me(void 0,null,function*(){be(!0),Ne("\u6B63\u5728\u52A0\u8F7D\u4E2D");const we=yield(0,tt.ZJ)(He==null?void 0:He.src);te.current.src="",te.current.src=we,te.current.onload=function(){et()},be(!1),Ne("")}),Re=()=>{document.body.removeAttribute("data-custom"),se.current.innerHTML=" ",a()},Je=we=>Me(void 0,null,function*(){be(!0),Ne("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ht=yield(0,xe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:He.title,file:we.dataUrl}});ht!=null&&ht.id&&!z?(yield(0,xe.ZP)(`/api/attachments/${He.id}/add_subitem.json`,{method:"post",body:{subitem_id:ht==null?void 0:ht.id,settings:JSON.stringify(we.state)}})).status===0&&x():ht!=null&&ht.id&&x(ht),document.body.removeAttribute("data-custom"),se.current.innerHTML=" ",be(!1),Ne("")}),Qe=()=>{const we=document.querySelector('a[href="https://markerjs.com/"]');we&&we.parentNode&&(we.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(ct=>{const Lt=document.querySelector(ct.name);Lt&&Lt.setAttribute("title",ct.title)})},et=()=>{ae.current=new ze.hP(te.current),ae.current.targetRoot=ie.current,ae.current.addEventListener("render",Je),ae.current.addEventListener("beforeclose",Re),y&&(ae.current.availableMarkerTypes=ae.current.ALL_MARKER_TYPES,ae.current.uiStyleSettings.redoButtonVisible=!0,ae.current.uiStyleSettings.notesButtonVisible=!0,ae.current.uiStyleSettings.zoomButtonVisible=!0,ae.current.uiStyleSettings.zoomOutButtonVisible=!0,ae.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ae.current.uiStyleSettings,ae.current.show(),He!=null&&He.snapshotData&&ae.current.restoreState(He.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Qe()},300)};return b.createElement(b.Fragment,null,(He==null?void 0:He.visible)&&b.createElement(ke.Z,{spinning:Se,tip:We,style:{position:"absolute"}},b.createElement("div",{ref:ie,className:Ae()(he.imageDimensions,Ke,le?he.fullWidth:""),style:E},b.createElement("img",{className:he.img,ref:te}))))}},28298:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return Ya},$:function(){return cr}});var b=oe(59301),he={flex_box_center:"flex_box_center___ILe3s",flex_space_between:"flex_space_between___c0XhE",flex_box_vertical_center:"flex_box_vertical_center___Iusj1",flex_box_center_end:"flex_box_center_end___DIVMO",flex_box_column:"flex_box_column___x06LA",intelligentBox:"intelligentBox___M5xO7",red:"red___oyEWt",imgBox:"imgBox___DdoNI",underpin:"underpin___fwUex",row:"row___W9MrK",leftLayout:"leftLayout___MMjoZ",rightLayout:"rightLayout___EsxRX",head:"head___Q7Od8",centerBox:"centerBox___j58Ut",title:"title___rMcNx",tip:"tip___gLHFS",leftBox:"leftBox___DJ6lp",question:"question___THjM9",rightBox:"rightBox___CuMdf",error:"error___PHzCG",actionHead:"actionHead___vTHMx",edit:"edit___EaRLy",option:"option___z4UTy",active:"active___o8wNJ",fill:"fill___g760n",text:"text___L_lug",liWrap:"liWrap___LDwxe",li:"li___k4Mcf",buttonFixed:"buttonFixed___QxKdm",buttonWrap:"buttonWrap___OEep5",button:"button___b2y4h",menu:"menu___aQ4xO",tabs:"tabs___QmlP4",dotLoading:"dotLoading___zUYOu",showHide:"showHide___fHrAG"},De=oe(92310),Ae=oe.n(De),ke=oe(78241),ze=oe(8591),xe=oe(43418),tt=oe(5871),Me=oe(95237),Le=oe(24905),_e=oe(38854),He=oe(54580),Ke=oe(3113),le=oe(93948),E=oe(19842),a=oe(92832),x=o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GO8zOvXxwauew/iTQhBWNnhEhN9KLM19boyRQA6apSMS2t84fe7yRTCYPHhKTQFM2NPsCsNKfddTGYjgJ1ARpNCahOiJF9sXiTIkEGjWh3xy4lINS5EigPkPzSQlVEmheg/4MSKA+O9PJ/a/QIfoKNS1Cqz/9E6OFLRQhuo0IhQa9SdCNvB63UKRoKS0UGtQnQYvZ6sxCk/D1OIke6IbG1z8T8f1Al7ZUhE+g0paK+vRpU5O+ROObmvSnTsk6gVBsKyQV+gSCEEgbe/X5o5NYgW6/u5m+Q1vr0SJ0C+gKpJdbdIkHnNMRSK+XBSwBU05VIL3giaHdhayKQHrFugsCsCX9CKRDDrCUu5jvJJCOGeki/CBK00E/QVA0WIOO2jIIP4jW8/OSP8u/m/aksJr16LC7IMj2sEbzuEkBnmdFo+u9PG7yNxidqHC3DAxxAAAAAElFTkSuQmCC",ie=oe(52430),Se=oe(26615),be=oe(5623),We=oe(14752),Ne=oe(24302),mt=oe(35944),Re=oe(15342),Je=oe.n(Re),Qe=(Jn,da,ea)=>new Promise((ia,Ea)=>{var Va=bt=>{try{an(ea.next(bt))}catch(Gt){Ea(Gt)}},Pn=bt=>{try{an(ea.throw(bt))}catch(Gt){Ea(Gt)}},an=bt=>bt.done?ia(bt.value):Promise.resolve(bt.value).then(Va,Pn);an((ea=ea.apply(Jn,da)).next())}),we=b.memo(({tagName:Jn="div",value:da="",className:ea,style:ia={},onBlur:Ea,id:Va})=>{const Pn=(0,b.useRef)(null);(0,b.useEffect)(()=>{if(!Pn.current)return;Qe(void 0,null,function*(){const Gt=Pn.current;Gt.innerHTML="";const Da=da==null?void 0:da.split(/(`?\$\$[\s\S]*?\$\$`?)/g);for(const pa of Da)if(pa.startsWith("$$")&&pa.endsWith("$$")||pa.startsWith("`$$")&&pa.endsWith("$$`")){const wa=pa.startsWith("`$$")?pa.slice(3,-3):pa.slice(2,-2),ha=document.createElement("span");ha.setAttribute("contentEditable","false"),ha.setAttribute("title",pa),ha.className="edu_latex",Gt.appendChild(ha),Je().render(wa,ha,{throwOnError:!1})}else{const wa=pa==null?void 0:pa.replace(/<[^>]*>/g,ha=>ha.startsWith("{var bt,Gt;if(Ea&&Pn.current){const pa=Pn.current.cloneNode(!0),wa=pa.querySelectorAll("span.edu_latex");for(let ha of wa){const ja=ha.getAttribute("title"),gr=document.createTextNode(ja||""),Ua=ha;(Gt=(bt=Ua.parentNode)==null?void 0:bt.replaceChild)==null||Gt.call(bt,gr,Ua)}Ea(pa.innerHTML)}};return b.createElement(b.Fragment,null,b.createElement(Jn,{ref:Pn,contentEditable:!0,className:ea,style:ia,onBlur:an}))}),ht=oe(64681),ct=oe(41312),Lt=oe(43428),gt=oe(6848),yn=oe(43604),nn={wrap:"wrap___Yz6fc",left:"left___F0axg",tip:"tip___nCmqI",bottomBtn:"bottomBtn___x70Gq",disabled:"disabled___CWzre"},Wt=oe(55385),_t=oe(89299),Te=oe(57833),ot=oe(85133),Ut=oe(88441),xn=oe(53412),At="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAHr1JREFUaEPNmweYnVW1/n/7a6fMmcm0ZEoSUkkCSQgJCVWKoAI2FAH1iqBYwXvFLogF8S9XvRYElUeqIJegFOmEKgiICUkgJBBCkpnMZHoyc6ad9pW9r3t/58wEsJfn+Z8z5zn9fN+711rvetdaewT/rsvi073GBEsdrIN8214WOfbCyLHnSks0SSGqFCCFlSOS/VLKNhXJbULKTVYgXwhKwWZevNX/d5ya+Ff+6OzZx9WGycRbhZs+JbKdYyPbmqZsR5Qsi7xrIS2LSAgQFuh7fdHIVQRSmZsVhsqSciARyifswL/LsuX9w8/fOfyvOs9/CeB5845bEuJ9WljidOm6tZHtEjkOkWPjuw4l2yZMJAk1UKsMVh9ZCVAqBhxJiEJzE2GEE0Z4ocSOwmEnCm9VxfDy7M77tvyzwP8pwAfMPG6JtOyLI0e8M7SEi2UTuB7SdlGOi+85+K5NyfEIXBdcrwy4YmENV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p4+vIv/uasf/i/Wf4R0vqri/mh2RfXLlow66St+fXvbu/qOW4o3z/1iMXzxOnvOIpUlYNjW2QaUvSvTbFlS462PQMUo2EaG2pIpjzT+y4UlQpDuUchH3ec6DdeUqy5+M7P/v/1j1p/aiXuv/zyxDOP7ViyYP7Ug9r6upadcPSqhYlkYm405jXteNqt8reG9LYO5NJVqt8VXlsU2Nsi6WySofvCfml38xm3nvFv+Ve8/wNgli4fKbeMnwAAAABJRU5ErkJggg==",ln=(Jn,da,ea)=>new Promise((ia,Ea)=>{var Va=bt=>{try{an(ea.next(bt))}catch(Gt){Ea(Gt)}},Pn=bt=>{try{an(ea.throw(bt))}catch(Gt){Ea(Gt)}},an=bt=>bt.done?ia(bt.value):Promise.resolve(bt.value).then(Va,Pn);an((ea=ea.apply(Jn,da)).next())}),ut=(0,b.forwardRef)(({onUpdateNum:Jn,onSave:da},ea)=>{var ia;const Ea=`\u8BF7\u8F93\u5165\u51FA\u9898\u8981\u6C42\uFF0C\u60A8\u4E5F\u53EF\u4EE5\u5148\u4E0A\u4F20\u6750\u6599\u4E4B\u540E\u518D\u6839\u636E\u6750\u6599\u51FA\u9898 +\u4F8B\uFF1A\u8BF7\u751F\u6210\u5173\u4E8E\u300APython\u7A0B\u5E8F\u8BBE\u8BA1\u300B\u7684\u8BD5\u9898\u3002\u8003\u5BDF\u77E5\u8BC6\u70B9\uFF1A\u53D8\u91CF\u5B9A\u4E49\u3001\u6570\u636E\u7C7B\u578B\u3001\u8FD0\u7B97\u7B26\u548C\u63A7\u5236\u7ED3\u6784\u3002\u96BE\u5EA6\u4E3A\u201C\u56F0\u96BE\u201D\u7684\u8BD5\u9898\u536020%`,[Va,Pn]=(0,b.useState)(!1),[an,bt]=(0,b.useState)([]),[Gt,Da]=(0,b.useState)(null),[pa,wa]=(0,b.useState)([]),[ha,ja]=(0,b.useState)(0),[gr,Ua]=(0,b.useState)(0),[Br,po]=(0,b.useState)(!1),[Ht,Zn]=(0,b.useState)(""),[qn,Sa]=(0,b.useState)(0),[Be,at]=(0,b.useState)(0),[st,Ft]=(0,b.useState)(0),[St,mn]=(0,b.useState)(0),[Kt,Ge]=(0,b.useState)(0),[Ye,Ue]=(0,b.useState)(0),[Bt,un]=(0,b.useState)(0),[pn,ra]=(0,b.useState)(0),[Wn,Ln]=(0,b.useState)(xn.Q),{contentRef:jn,value:Tn,status:jt,open:La,close:lr}=Wn,oo=(0,ot.Z)({contentRef:jn,status:jt}),{openProgress:Wa,closeProgress:zt,CreateProgressModal:jr,progressOpen:Ta}=(0,Te.Z)();(0,b.useEffect)(()=>{Gt&&br(),Gt===!1&&(lr(),Jn==null||Jn(),bt([]),Zn(""),Sa(0),at(0),Ft(0),mn(0),Ge(0),Ue(0),un(0),ra(0))},[Gt]);const vr=()=>{Da(!0)};(0,b.useImperativeHandle)(ea,()=>({onClick:vr}));const er=ua=>{po(!0),ja(ua),Ua(0)},kr=ua=>ln(void 0,null,function*(){const tr=ua.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(tr)==-1?(ze.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u683C\u5F0F\u6709\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),Promise.reject()):ua.size/1024/1024>10?(ze.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u5927\u5C0F\u9650\u523610MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),Promise.reject()):!0}),br=()=>ln(void 0,null,function*(){const ua=yield(0,ie.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});ua.status===0&&(ja(ua.total_number),Ua(ua.remaining_number))}),qr=ua=>(ua=ua||"",ua=String(ua),ua=ua.replace(/\s+/g,""),ua),wr=(ua=!0)=>ln(void 0,null,function*(){var tr,Oa;const hn=[{name:"\u5355\u9009\u9898",num:qn||0},{name:"\u591A\u9009\u9898",num:Be||0},{name:"\u5224\u65AD\u9898",num:st||0},{name:"\u586B\u7A7A\u9898",num:St||0},{name:"\u7B80\u7B54\u9898",num:Kt||0},{name:"\u7EC4\u5408\u9898",num:pn||0},{name:"\u7F16\u7A0B\u9898",num:Ye||0},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",num:Bt||0}];if(ua){if(qr(Ht)){if(Ht.length>1e3){ze.ZP.warning("\u51FA\u9898\u8981\u6C42\u5B57\u6570\u9650\u5236\u4E3A1000\u5B57");return}}else{ze.ZP.warning("\u8BF7\u5148\u8F93\u5165\u51FA\u9898\u8981\u6C42");return}if(!qr(Ht)&&!(an!=null&&an.length)){ze.ZP.warning("\u8BF7\u4E0A\u4F20\u6750\u6599\u6587\u6863\u6216\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6750\u6599\u5185\u5BB9");return}const Un=hn.reduce((qa,Ka)=>qa+Ka.num,0);if(Un===0){ze.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}if(Un>30){ze.ZP.warning("\u51FA\u9898\u6570\u91CF\u8FBE\u5230\u9650\u5236");return}if(ha!==-1){po(!0);return}}po(!1);const Aa={scene_type:6,request_identifier:Math.random(),file_id:(Oa=(tr=an[0])==null?void 0:tr.response)==null?void 0:Oa.id,content:Ht,count_arr:hn.map(Un=>Un.num).join(",")};yield La(Aa),br()}),oa=()=>ln(void 0,null,function*(){const ua=oo();if(da){Da(!1),da(ua);return}Wa(),Pn(!0),wa([]);const tr=new FormData;tr.append("html",ua);const Oa=yield(0,ie.ZP)("/api/intelligent_imports/import.json",{method:"post",body:tr},!0);if((Oa==null?void 0:Oa.status)===0)if(Oa!=null&&Oa.data){zt(100),wa(Oa==null?void 0:Oa.data);return}else ze.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898");Pn(!1),zt()}),$t=()=>ln(void 0,null,function*(){const ua=oo();(0,_t.RG)(ua)}),Xa=["uploading","error"].includes((ia=an==null?void 0:an[0])==null?void 0:ia.status);return b.createElement(b.Fragment,null,b.createElement(Ut.Z,{visible:Br,totalCount:ha,usedCount:gr,onCancel:()=>po(!1),onOk:()=>wr(!1)}),b.createElement(Lt.Z,{title:"\u667A\u80FD\u51FA\u9898",extra:b.createElement("div",{className:nn.extraHeader},b.createElement(Me.Z,{align:"middle"},!jt&&!!Tn&&b.createElement(b.Fragment,null,b.createElement(x.op,{onClick:oa,className:"mr15",shape:"default"},"\u4FDD\u5B58\u8BD5\u9898"),b.createElement(x.op,{onClick:$t,shape:"default",type:"text"},b.createElement("i",{className:"iconfont icon-fuzhi8 mr5 font14"}),"\u590D\u5236")),b.createElement("i",{onClick:()=>{const ua=tr=>{xe.default.confirm({centered:!0,icon:null,width:500,zIndex:1101,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:tr,onOk:()=>{Da(!1)}})};if(jt){ua("\u6B63\u5728\u751F\u6210\u8BD5\u9898\u4E2D\uFF0C\u786E\u5B9A\u8981\u9000\u51FA\u5417\uFF1F");return}else Tn?ua("\u8BD5\u9898\u672A\u4FDD\u5B58\uFF0C\u786E\u5B9A\u8981\u9000\u51FA\u5417\uFF1F"):Da(!1)},className:"iconfont icon-guanbi11 current ml15"}))),placement:"bottom",height:"100%",headerStyle:{height:54,borderBottomColor:"#DCDCDC"},bodyStyle:{padding:0},closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:Gt},b.createElement("div",{className:nn.wrap},b.createElement("div",{className:nn.left},b.createElement("div",{className:nn.tip},b.createElement("img",{src:At}),b.createElement("span",null,"\u60A8\u597D\uFF01\u6211\u662F\u60A8\u7684\u667A\u80FD\u51FA\u9898\u52A9\u624B\uFF0C\u6211\u5DF2\u5B66\u4E60\u4E86\u5E73\u53F0\u4EE5\u53CA\u4E92\u8054\u7F51\u4E0A\u6D77\u91CF\u7684\u8BD5\u9898\u77E5\u8BC6\u5E93\u3002\u53EF\u4EE5\u6839\u636E\u60A8\u7684\u8981\u6C42\u548C\u4E0A\u4F20\u7684\u6750\u6599\u7075\u6D3B\u751F\u6210\u5404\u7C7B\u8BD5\u9898\u3002\u6B22\u8FCE\u968F\u65F6\u4E0E\u6211\u4E92\u52A8\uFF0C\u8BA9\u6211\u4EEC\u4E00\u8D77\u6253\u9020\u66F4\u9AD8\u6548\u3001\u66F4\u4F18\u8D28\u7684\u8BD5\u9898\uFF01")),b.createElement("div",{className:"mb10 mt20 c-black"},b.createElement("b",null,"\u51FA\u9898\u8981\u6C42")),b.createElement(a.default.TextArea,{style:{height:160},className:"mb20",value:Ht,placeholder:Ea,onChange:ua=>{Zn(ua.target.value)}}),b.createElement(He.default,{accept:".doc,.docx,.pdf,.png,.jpg",action:`${y.Z.API_SERVER}/api/attachments.json`,maxCount:1,fileList:an,withCredentials:!0,data:{upload_type:1},beforeUpload:kr,onChange:({file:ua})=>{var tr,Oa;ua.status!=="removed"&&(ua.status==="done"&&((tr=ua==null?void 0:ua.response)==null?void 0:tr.status)!==0&&(ua.status="error",ua.response=(Oa=ua==null?void 0:ua.response)==null?void 0:Oa.message),bt([ua]))},onRemove:()=>bt([])},b.createElement(gt.Z,{title:"\u5355\u6B21\u4EC5\u652F\u6301\u4E0A\u4F201\u4E2A\u6587\u6863\u62161\u5F20\u56FE\u7247\uFF0C\u6587\u6863\u652F\u6301PDF/Word\u683C\u5F0F\uFF0C\u56FE\u7247\u652F\u63011\u5F20\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247"},b.createElement(x.op,{style:{borderRadius:2}},b.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6750\u6599"))),b.createElement("div",{className:"c-black mt20"},b.createElement("div",{className:"mb10 c-black"},b.createElement("b",null,"\u51FA\u9898\u6570\u91CF"),b.createElement("span",{className:"c-grey-999"},"\uFF08\u4E3A\u4FDD\u8BC1\u51FA\u9898\u4F53\u9A8C\uFF0C\u5355\u6B21\u51FA\u9898\u603B\u6570\u91CF\u4E0D\u80FD\u8D85\u8FC7",b.createElement("span",{style:{padding:"0 6px",color:"#FB901F"}},"30"),"\u9053\uFF09")),b.createElement(Me.Z,{style:{gap:16}},b.createElement(yn.Z,null,b.createElement("label",null,"\u5355\u9009\u9898"),b.createElement(tt.Z,{min:0,max:10,value:qn,onChange:Sa,style:{marginLeft:"8px"}})),b.createElement(yn.Z,null,b.createElement("label",null,"\u591A\u9009\u9898"),b.createElement(tt.Z,{min:0,max:10,value:Be,onChange:at,style:{marginLeft:"8px"}})),b.createElement(yn.Z,null,b.createElement("label",null,"\u5224\u65AD\u9898"),b.createElement(tt.Z,{min:0,max:10,value:st,onChange:Ft,style:{marginLeft:"8px"}})),b.createElement(yn.Z,null,b.createElement("label",null,"\u586B\u7A7A\u9898"),b.createElement(tt.Z,{min:0,max:10,value:St,onChange:mn,style:{marginLeft:"8px"}})),b.createElement(yn.Z,null,b.createElement("label",null,"\u7B80\u7B54\u9898"),b.createElement(tt.Z,{min:0,max:10,value:Kt,onChange:Ge,style:{marginLeft:"8px"}})))),jt?b.createElement("div",{onClick:lr,className:nn.bottomBtn},b.createElement("i",{className:"iconfont icon-tingzhihuida"}),"\u505C\u6B62\u51FA\u9898"):Xa?b.createElement("div",{className:`${nn.bottomBtn} ${nn.disabled}`},b.createElement("i",{className:"iconfont icon-kaishichuti font14"}),"\u5F00\u59CB\u51FA\u9898"):b.createElement("div",{onClick:()=>{wr()},className:nn.bottomBtn},b.createElement("i",{className:"iconfont icon-kaishichuti font14"}),"\u5F00\u59CB\u51FA\u9898")),b.createElement(xn.Z,{onStatusChange:Ln,loadingText:"\u8BD5\u9898\u751F\u6210\u4E2D",fetchUrl:"/api/stream/intelligent_imports/stream.json",showEditableToolbar:!Ta,noRestrictModal:er,stringTransformer:Wt.o,onError:ua=>{Object.prototype.toString.call(ua)==="[object Object]"&&ua.status===-9&&er(ua.data)}}))),b.createElement(Lt.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:Va},b.createElement(Me.Z,{align:"middle",style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},b.createElement("img",{src:oe(36413),alt:"\u667A\u80FD\u51FA\u9898"}),b.createElement("span",{className:"ml10"},"\u667A\u80FD\u51FA\u9898")),b.createElement(Ya,{stickyTop:-24,hideWordFeatures:!0,dataSource:pa,isRefreshItemBank:!0,okText:"\u5BFC\u5165\u9898\u5E93",mode:1,onCancel:()=>Pn(!1),onSuccess:()=>{Pn(!1),Da(!1)}}),b.createElement("div",{style:{height:70}})),jr("\u5904\u7406\u4E2D"))}),Xt=Object.defineProperty,nt=Object.defineProperties,Pt=Object.getOwnPropertyDescriptors,_n=Object.getOwnPropertySymbols,sn=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,Mt=(Jn,da,ea)=>da in Jn?Xt(Jn,da,{enumerable:!0,configurable:!0,writable:!0,value:ea}):Jn[da]=ea,Yn=(Jn,da)=>{for(var ea in da||(da={}))sn.call(da,ea)&&Mt(Jn,ea,da[ea]);if(_n)for(var ea of _n(da))Rt.call(da,ea)&&Mt(Jn,ea,da[ea]);return Jn},aa=(Jn,da)=>nt(Jn,Pt(da)),tn=(Jn,da,ea)=>new Promise((ia,Ea)=>{var Va=bt=>{try{an(ea.next(bt))}catch(Gt){Ea(Gt)}},Pn=bt=>{try{an(ea.throw(bt))}catch(Gt){Ea(Gt)}},an=bt=>bt.done?ia(bt.value):Promise.resolve(bt.value).then(Va,Pn);an((ea=ea.apply(Jn,da)).next())});const Fa=Jn=>{Jn.preventDefault();let ea=(Jn.clipboardData||window.clipboardData).getData("Text");document.execCommand("insertText",!1,ea)},_a=Jn=>{Jn.key==="Enter"&&Jn.preventDefault()},ya=({children:Jn,style:da})=>b.createElement("div",{className:he.leftBox,style:da,onPaste:Fa},Jn),Vn=({children:Jn,style:da,className:ea})=>b.createElement("div",{className:Ae()(he.rightBox,ea),style:da,onPaste:Fa},Jn),xa=({className:Jn,style:da={},width:ea=1200,onCancel:ia=()=>{},onSuccess:Ea=()=>{},gather:Va={},mode:Pn=1,stickyTop:an=0,subDisciplineId:bt=[],hideWordFeatures:Gt,dataSource:Da=[],customLeftHeadNode:pa,customRightHeadNode:wa,customLeftContent:ha,hideRecognition:ja=!1,onExchange:gr,isSingleSelection:Ua=!1,underpinBackgroundStyle:Br={},headExtraNode:po,isRefreshItemBank:Ht=!1,okText:Zn="\u786E\u5B9A\u5BFC\u5165",onSave:qn})=>{var Sa;const[Be,at]=(0,b.useState)(1),[st,Ft]=(0,b.useState)(0),[St,mn]=(0,b.useState)(""),[Kt,Ge]=(0,b.useState)(!1),[Ye,Ue]=(0,b.useState)([]),[Bt,un]=(0,b.useState)([]),[pn,ra]=(0,b.useState)(!1),[Wn,Ln]=(0,b.useState)(!1),[jn,Tn]=(0,b.useState)(!1),[jt,La]=(0,b.useState)(!1),[lr,oo]=(0,b.useState)([]),[Wa,zt]=(0,b.useState)(1),[jr,Ta]=(0,b.useState)(!1),[vr,er]=(0,b.useState)(!0),[kr,br]=(0,b.useState)(0),[qr,wr]=(0,b.useState)(!1),[oa]=ke.default.useForm(),[$t]=ke.default.useForm(),Xa=(0,b.useRef)(null),ua=(0,b.useRef)(null),tr=(0,b.useRef)(),Oa=(0,b.useRef)(null),hn=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],$n=["C","C++","Java","Python","JavaScript","Ruby"];(0,b.useEffect)(()=>{Da!=null&&Da.length&&Gi(Da)},[Da]),(0,b.useEffect)(()=>{Be===2&&Xa.current.focus()},[Be]),(0,b.useEffect)(()=>{jn&&Un()},[jn]);const Aa=()=>{if(Be===1){ze.ZP.warning("\u8BF7\u5148\u4E0A\u4F20\u8BD5\u9898\uFF01");return}xe.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u6E05\u7A7A\u64CD\u4F5C\u5C06\u5220\u9664\u8BD5\u9898\u7F16\u8F91\u533A\u57DF\u7684\u5168\u90E8\u5185\u5BB9\uFF0C\u786E\u5B9A\u4E00\u952E\u6E05\u7A7A\u5417\uFF1F",onOk:()=>tn(void 0,null,function*(){at(1)})})},Un=()=>tn(void 0,null,function*(){const me=yield(0,ie.ZP)("/api/disciplines.json",{method:"get",params:{source:Pn===1?"new_question":"subject"}});oo(me.disciplines||[])}),qa=me=>{const pt=[],xt=(gn,Et)=>{gn.length>=2&&pt.push(gn.join(""));for(let wn=Et;wn(me=me||"",me=String(me),me=me.replace(/\s+/g,""),me),pr=me=>(me=me||"",me=String(me),me=me.replace(/
/g,""),me=me.replace(/
/g,` `),me=me.replace(/<\/div>/g,` -`),me=nr(me),me),_r=me=>me.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),nr=me=>me.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"),jo=me=>{var pt;const At=me.clipboardData;if(At){const gn=At.types.toString(),Et=At.items;if(gn==="Files"||At.types.indexOf("Files")>-1){me.preventDefault();try{let xn=Et[1];((pt=Et[0])==null?void 0:pt.kind)==="file"&&(xn=Et[0]);const Fn=xn.getAsFile();(0,mt.I)(Fn,fn=>{var yn;if(fn.id){if(((yn=Fn==null?void 0:Fn.type)==null?void 0:yn.indexOf("image"))>-1){const Ma=``;document.execCommand("insertText",!1,Ma)}}else(fn==null?void 0:fn.status)===401&&(document.location.href="/user/login")})}catch(xn){ze.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};function Co(me,pt){return tn(this,null,function*(){if(typeof me=="string")return yield pt(me);if(typeof me!="object"||me===null)return me;if(Array.isArray(me))return yield Promise.all(me.map(Et=>tn(this,null,function*(){return yield Co(Et,pt)})));const At={};for(const gn in me)if(Object.prototype.hasOwnProperty.call(me,gn)){const Et=me[gn];typeof Et=="string"?At[gn]=yield pt(Et):typeof Et=="object"?At[gn]=yield Co(Et,pt):At[gn]=Et}return At})}const pi=()=>tn(void 0,null,function*(){var me;Ge(!0),mn("\u5904\u7406\u4E2D"),yield new Promise(gn=>setTimeout(gn,1e3));let pt=(me=la.current)==null?void 0:me.querySelectorAll('[data-text="edit"]'),At="";try{pt.forEach(function(gn){var Et,xn,Fn,fn;const yn=gn.cloneNode(!0),Ma=yn.querySelectorAll("span.edu_latex");for(let hr of Ma){const da=hr.getAttribute("title"),ma=document.createTextNode(da),ar=hr;(xn=(Et=ar.parentNode)==null?void 0:Et.replaceChild)==null||xn.call(Et,ma,ar)}const ir=yn.querySelectorAll("span[style]");for(let hr of ir)if(hr.style.fontFamily){const da=hr.innerHTML,ma=document.createTextNode(da),ar=hr;(fn=(Fn=ar.parentNode)==null?void 0:Fn.replaceChild)==null||fn.call(Fn,ma,ar)}yn==null||yn.childNodes.forEach(function(hr){hr.nodeType===Node.ELEMENT_NODE&&hr.localName!=="h5"&&hr.localName!=="h4"?At+=`

${hr.innerHTML}

`:hr.nodeType===Node.TEXT_NODE&&(At+=`

${hr.textContent}

`)})}),ul("/api/intelligent_imports/import.json",{html:nr(At)})}catch(gn){console.error("\u5904\u7406\u8282\u70B9\u9519\u8BEF:",gn)}}),Pr=me=>{let pt=me.filter(At=>!!(At!=null&&At.type));return pt=pt.map(At=>{var gn;const Et=(gn=Oo.find(Fn=>Fn.id===(At==null?void 0:At.type)))==null?void 0:gn.deal,xn=na(Qn({},At),{id:String(Math.random()).slice(-6),knowledgePoint:Ka(At==null?void 0:At.knowledgePoint)});return Et?Et(xn):xn}),pt},Ar=()=>{if(Be===1){ze.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!");return}xe.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u91CD\u65B0\u8BC6\u522B\u4F1A\u8986\u76D6\u53F3\u4FA7\u5DF2\u8BC6\u522B\u7ED3\u679C\uFF0C\u5305\u62EC\u4EBA\u5DE5\u4FEE\u6539\u7684\u5185\u5BB9\uFF0C\u786E\u5B9A\u91CD\u65B0\u8BC6\u522B\u5417?",onOk:pi})},so=()=>b.createElement("div",{className:he.row},b.createElement("div",{className:he.leftLayout},b.createElement(ya,{style:{height:675}},Be===1&&b.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center"},onClick:()=>at(2)},b.createElement("div",{style:{color:"#9096A3",fontSize:12}},"1.\u672C\u529F\u80FD\u652F\u6301\u5BFC\u5165\u7684\u9898\u578B\uFF1A\u5355\u9009\u9898\u3001\u591A\u9009\u9898\u3001\u586B\u7A7A\u9898\u3001\u5224\u65AD\u9898\u3001\u7B80\u7B54\u9898\u3001 \u7EC4\u5408\u9898\u3001\u7F16\u7A0B\u9898\u3001\u7A0B\u5E8F\u586B\u7A7A\u9898\u3002",b.createElement("br",null),"2.\u82E5\u8981\u5BFC\u5165\u7EC4\u5408\u9898\uFF0C\u8BF7\u5728\u9898\u76EE\u524D\u540E\u4F7F\u7528\u4E00\u5BF9\u201C","{{\u201D\u3001\u201C}}","\u201D\u5C06\u5185\u5BB9\u6807\u51FA\uFF1B\u5927\u9898\u9898\u5E72\u548C\u5C0F\u9898\u9898\u5E72\u4E4B\u95F4\u4E0D\u9700\u8981\u7A7A\u884C\uFF1B\u5927\u9898\u548C\u5C0F\u9898\u9898\u5E72\u90FD\u9700\u6807\u6CE8\u9898\u53F7\uFF1B\u5C0F\u9898\u7B54\u6848\u53EF\u8DDF\u5728\u5C0F\u9898\u9898\u5E72\u540E\uFF0C\u5E76\u7528\u7A7A\u683C\u4E0E\u9898\u5E72\u5185\u5BB9\u9694\u5F00\u3002\u8303\u4F8B\u53EF\u53C2\u8003\u63A8\u8350\u683C\u5F0F\u3002",b.createElement("br",null),"3.\u5BFC\u5165\u652F\u6301\u6587\u672C\u3001\u56FE\u7247\u3001\u516C\u5F0F\u3002\u9898\u76EE\u7ED3\u6784\u652F\u6301\u8BC6\u522B\u7B54\u6848\u3001\u89E3\u6790\u3001\u96BE\u5EA6\u3001\u77E5\u8BC6\u70B9\u3002",b.createElement("br",null),"4.\u82E5\u8BC6\u522B\u6709\u8BEF\uFF0C\u53EF\u5728\u5DE6\u4FA7\u4FEE\u6539\u9898\u76EE\u5185\u5BB9\u540E\u91CD\u65B0\u8BC6\u522B\uFF0C\u6216\u4E0B\u8F7D\u63A8\u8350\u683C\u5F0F\uFF0C\u6309\u683C\u5F0F\u4FEE\u6539\u540E\u91CD\u65B0\u5BFC\u5165\u8BC6\u522B\u3002",b.createElement("br",null)),b.createElement("div",{className:he.imgBox,style:{marginTop:75}},b.createElement("img",{width:56,src:te}),b.createElement("span",null,"\u7F16\u8F91\u533A"))),Be===2&&b.createElement("div",{"data-text":"edit",onBlur:()=>{Xa.current.innerHTML||at(1)},ref:Xa,contentEditable:!0,style:{color:"#9096A3",height:"100%",overflow:"auto"}}))),b.createElement("div",{className:he.rightLayout,style:{display:"flex",alignItems:"start",justifyContent:"center"}},b.createElement("div",{className:he.imgBox,style:{marginTop:240}},b.createElement("img",{width:56,src:ae}),b.createElement("span",null,"\u9884\u89C8\u533A")))),za=(me,pt,At,gn)=>{var Et;console.log(me,pt,At,gn,"onDataChange\u4FEE\u6539\u6570\u503C");const xn=JSON.parse(JSON.stringify(Ct));gn===void 0?xn[pt][me]=At:xn[pt].questions[gn][me]=At;const Fn=Qn({},xn[pt]),fn=(Et=Oo.find(yn=>yn.id===(Fn==null?void 0:Fn.type)))==null?void 0:Et.deal;xn[pt]=fn(Fn),sn(xn)},Tr=(me,pt,At)=>{var gn;const Et=At!==void 0,xn=(gn=Oo.find(yn=>yn.id===(me==null?void 0:me.type)))==null?void 0:gn.type,Fn=`${pt+1}.${At===void 0?"":At+1+"."}`,fn=`${(me==null?void 0:me.type)==="7"?"{{":""}${Fn}\u3010${xn}\u3011${(me==null?void 0:me.question)||""}`;return b.createElement(b.Fragment,null,Et&&b.createElement("h4",{contentEditable:!0}),b.createElement(we,{id:me==null?void 0:me.id,tagName:"div",value:fn}))},Hr=(me,pt)=>tn(void 0,null,function*(){var At;const gn=yield gr(me,pt),Et=(At=gn==null?void 0:gn.data)==null?void 0:At.content;if(Et!=null&&Et.length){const xn=Pr(Et)[0];Ke.splice(pt,1,xn),Ct.splice(pt,1,xn),Ue([...Ke]),sn([...Ct])}}),ur=(me,pt,At)=>{var gn;const Et=At!==void 0,xn=(gn=Oo.find(fn=>fn.id===(me==null?void 0:me.type)))==null?void 0:gn.type,Fn=`${pt+1}.${At===void 0?"":At+1+"."}`;return Et?b.createElement("div",{style:{padding:"10px 18px"}},`${Fn}\u3010${xn}\u3011`,b.createElement(we,{id:me==null?void 0:me.id,tagName:"span",className:he.edit,onBlur:fn=>za("question",pt,fn,At),value:(me==null?void 0:me.question)||""})):b.createElement(b.Fragment,null,b.createElement("div",{className:he.actionHead},b.createElement("div",{className:"c-light-primary"},`${Fn}\u3010${xn}\u3011`),En!==1&&b.createElement(tt.Z,{disabled:(me==null?void 0:me.type)==="7",min:0,max:100,style:{width:100,marginLeft:10},addonAfter:"\u5206",precision:1,size:"middle",onChange:fn=>za("score",pt,fn,At),value:me==null?void 0:me.score}),b.createElement(Me.Z,{align:"middle",style:{marginLeft:"auto"}},!!gr&&b.createElement("span",{className:"current c-light-primary mr30",onClick:()=>Hr(me,pt)},b.createElement("i",{className:"iconfont icon-huanyihuan mr5"}),"\u6362\u4E00\u6362"),b.createElement(Le.default,{onChange:fn=>za("checked",pt,fn.target.checked,At),checked:!!(me!=null&&me.checked)},"\u4E0D\u5BFC\u5165\u6B64\u9898"))),b.createElement(we,{id:me==null?void 0:me.id,tagName:"div",style:{padding:"10px 18px"},className:he.edit,onBlur:fn=>za("question",pt,fn,At),value:me==null?void 0:me.question}))},zr=(me,pt,At)=>b.createElement(b.Fragment,null,["0","1","2","4"].includes(me==null?void 0:me.type)&&b.createElement(we,{id:me==null?void 0:me.id,value:`\u7B54\u6848\uFF1A${pt||""}`,tagName:"p"}),!At&&b.createElement(we,{id:me==null?void 0:me.id,value:`\u96BE\u5EA6\uFF1A${(me==null?void 0:me.difficulty)||""}`,tagName:"p"}),(me==null?void 0:me.type)!=="7"&&b.createElement(we,{id:me==null?void 0:me.id,value:`\u89E3\u6790\uFF1A${(me==null?void 0:me.analyze)||""}`,tagName:"p"}),!At&&b.createElement(we,{id:me==null?void 0:me.id,value:`\u77E5\u8BC6\u70B9\uFF1A${(me==null?void 0:me.knowledgePoint)||""}`,tagName:"p"})),vo=(me,pt,At,gn)=>{const Et=gn!==void 0,xn=["\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],Fn=Et&&!me.last&&!me.errorMsg?{marginBottom:10}:{},fn=xn.map(yn=>({key:yn,label:yn,onClick:()=>za("difficulty",At,yn,gn)}));return b.createElement("div",{className:he.liWrap,style:Fn},["4"].includes(me==null?void 0:me.type)&&b.createElement("div",{className:he.li},b.createElement("aside",null,"\u7B54\xA0\xA0\xA0\xA0\u6848\uFF1A"),b.createElement(we,{id:me==null?void 0:me.id,tagName:"div",className:`${he.edit} c-black`,onBlur:yn=>za("answer",At,[yn],gn),value:pt})),!Et&&b.createElement("div",{className:he.li},b.createElement("aside",null,"\u96BE\xA0\xA0\xA0\xA0\u5EA6\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(_e.Z,{menu:{items:fn}},b.createElement("span",{className:"c-light-primary"},me==null?void 0:me.difficulty,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),(me==null?void 0:me.type)!=="7"&&b.createElement("div",{className:he.li},b.createElement("aside",null,"\u89E3\xA0\xA0\xA0\xA0\u6790\uFF1A"),b.createElement(we,{id:me==null?void 0:me.id,tagName:"div",className:`${he.edit} c-grey-333`,onBlur:yn=>za("analyze",At,yn,gn),value:me==null?void 0:me.analyze})),!Et&&b.createElement("div",{onKeyDown:_a,className:he.li},b.createElement("aside",null,"\u77E5\u8BC6\u70B9\uFF1A"),b.createElement(we,{id:me==null?void 0:me.id,tagName:"div",value:(me==null?void 0:me.knowledgePoint)||"",className:`${he.edit} c-grey-333`,onBlur:yn=>za("knowledgePoint",At,Ka(pr(yn)),gn)})))},Qr=me=>b.createElement(b.Fragment,null,typeof(me==null?void 0:me.errorMsg)=="string"&&!!(me!=null&&me.errorMsg)&&b.createElement("h5",{contentEditable:!1},b.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),b.createElement("div",null,me==null?void 0:me.errorMsg))),Ha=me=>b.createElement(b.Fragment,null,typeof(me==null?void 0:me.errorMsg)=="string"&&!!(me!=null&&me.errorMsg)&&b.createElement("h5",null,b.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),b.createElement("div",null,me==null?void 0:me.errorMsg))),wo=(me,pt,At,gn)=>{let Et="flex";return(Ua&&kr!==gn||hn&&!(At!=null&&At.errorMsg))&&(Et="none"),b.createElement("div",{className:he.row,style:{display:Et}},b.createElement("div",{className:he.leftLayout},pa||b.createElement(ya,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:he.question},me))),b.createElement("div",{className:he.rightLayout},b.createElement(zn,{className:At!=null&&At.errorMsg?he.error:""},pt)))},Oo=[{id:"0",type:"\u5355\u9009\u9898",element:(me,pt,At)=>{var gn,Et;const xn=At!==void 0;let Fn=(gn=me==null?void 0:me.answer)==null?void 0:gn[0];const fn=b.createElement(b.Fragment,null,Tr(me,pt,At),(Et=me==null?void 0:me.options)==null?void 0:Et.map((hr,da)=>b.createElement(we,{id:me==null?void 0:me.id,key:da,value:`${Sn[da]}.${hr}`,tagName:"p"})),zr(me,Fn,xn),Qr(me));let yn=xn?me:Ct[pt];const Ma=yn==null?void 0:yn.options,ir=b.createElement(b.Fragment,null,ur(yn,pt,At),Ma==null?void 0:Ma.map((hr,da)=>{var ma;return b.createElement("div",{key:da,className:he.option},b.createElement("aside",{className:((ma=yn==null?void 0:yn.answer)==null?void 0:ma[0])===Sn[da]?he.active:"",onClick:()=>za("answer",pt,[Sn[da]],At)},Sn[da]),b.createElement(we,{id:yn==null?void 0:yn.id,tagName:"div",className:`${he.text}`,onBlur:ar=>{Ma[da]=ar,za("options",pt,Ma,At)},value:hr}))}),vo(yn,"",pt,At),Ha(yn));return xn?[fn,ir]:wo(fn,ir,yn,pt)},deal:me=>{var pt,At,gn;me.score=me.score===void 0?2:me.score;let Et=Ka((pt=me==null?void 0:me.answer)==null?void 0:pt[0]).toUpperCase();me.answer=Et?[Et]:[];let xn=[];if(!(me!=null&&me.options))xn.push("\u672A\u8BC6\u522B\u5230\u9009\u9879\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C A.\u9009\u9879\u4E00 B.\u9009\u9879\u4E8C C.\u9009\u9879\u4E09 \u201D");else{me.options=(At=me.options)==null?void 0:At.slice(0,8);const Fn=me.options.map(yn=>yn==null?void 0:yn.trim().replace(/^\s+|\s+$/g,""));new Set(Fn).size!==Fn.length&&xn.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return Et||xn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D"),Et&&(Sn.slice(0,((gn=me==null?void 0:me.options)==null?void 0:gn.length)||8).includes(Et)||xn.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D")),Ka(me==null?void 0:me.question)||xn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),me.errorMsg=xn.join(` -`),me}},{id:"1",type:"\u591A\u9009\u9898",element:(me,pt,At)=>{var gn,Et;const xn=At!==void 0;let Fn=(gn=me==null?void 0:me.answer)==null?void 0:gn[0];const fn=b.createElement(b.Fragment,null,Tr(me,pt,At),(Et=me==null?void 0:me.options)==null?void 0:Et.map((hr,da)=>b.createElement(we,{id:me==null?void 0:me.id,key:da,value:`${Sn[da]}.${hr}`,tagName:"p"})),zr(me,Fn,xn),Qr(me));let yn=xn?me:Ct[pt];const Ma=yn==null?void 0:yn.options,ir=b.createElement(b.Fragment,null,ur(yn,pt,At),Ma==null?void 0:Ma.map((hr,da)=>{var ma,ar;return b.createElement("div",{key:da,className:he.option},b.createElement("aside",{className:(ar=(ma=yn==null?void 0:yn.answer)==null?void 0:ma[0])!=null&&ar.includes(Sn[da])?he.active:"",onClick:()=>{var dr;let Mo=((dr=yn==null?void 0:yn.answer)==null?void 0:dr[0])||"";const Ko=Sn[da];Mo.includes(Ko)?Mo=Mo.replace(new RegExp(Ko,"g"),""):Mo+=Ko,Mo=Mo.split("").sort().join(""),za("answer",pt,[Mo],At)}},Sn[da]),b.createElement(we,{id:yn==null?void 0:yn.id,tagName:"div",className:`${he.text}`,onBlur:dr=>{Ma[da]=dr,za("options",pt,Ma,At)},value:hr}))}),vo(yn,"",pt,At),Ha(yn));return xn?[fn,ir]:wo(fn,ir,yn,pt)},deal:me=>{var pt,At,gn;me.score=me.score===void 0?2:me.score;let Et=Ka((pt=me==null?void 0:me.answer)==null?void 0:pt[0]).toUpperCase().split("").sort().join("");me.answer=Et?[Et]:[];let xn=[];if(!(me!=null&&me.options))xn.push("\u672A\u8BC6\u522B\u5230\u9009\u9879\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C A.\u9009\u9879\u4E00 B.\u9009\u9879\u4E8C C.\u9009\u9879\u4E09 \u201D");else{me.options=(At=me.options)==null?void 0:At.slice(0,8);const Fn=me.options.map(yn=>yn==null?void 0:yn.trim().replace(/^\s+|\s+$/g,""));new Set(Fn).size!==Fn.length&&xn.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}if(Et||xn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D"),Et){const Fn=Sn.slice(0,((gn=me==null?void 0:me.options)==null?void 0:gn.length)||8);qa(Fn).includes(Et)||xn.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D")}return Ka(me==null?void 0:me.question)||xn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),me.errorMsg=xn.join(` -`),me}},{id:"2",type:"\u5224\u65AD\u9898",element:(me,pt,At)=>{var gn,Et;const xn=At!==void 0;let Fn=(gn=me==null?void 0:me.answer)==null?void 0:gn[0];const fn=b.createElement(b.Fragment,null,Tr(me,pt,At),zr(me,Fn,xn),Qr(me));let yn=xn?me:Ct[pt];const Ma=["\u6B63\u786E","\u9519\u8BEF"];let ir=((Et=yn==null?void 0:yn.answer)==null?void 0:Et[0])||"";["\u6B63\u786E","\u5BF9","T","True","t","true"].includes(ir)?ir="\u6B63\u786E":["\u9519\u8BEF","\u9519","T","true","t","false"].includes(ir)&&(ir="\u9519\u8BEF");const hr=b.createElement(b.Fragment,null,ur(yn,pt,At),Ma==null?void 0:Ma.map((da,ma)=>b.createElement("div",{key:ma,className:he.option},b.createElement("aside",{style:{borderRadius:2},className:ir===da?he.active:"",onClick:()=>za("answer",pt,[da],At)},da==="\u6B63\u786E"?"T":"F"),b.createElement("div",{style:{pointerEvents:"none"},className:`${he.text}`},da))),vo(yn,"",pt,At),Ha(yn));return xn?[fn,hr]:wo(fn,hr,yn,pt)},deal:me=>{var pt;me.score=me.score===void 0?2:me.score;let At=Ka((pt=me==null?void 0:me.answer)==null?void 0:pt[0]);me.answer=At?[At]:[];let gn=[];return At||gn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),At&&!["\u6B63\u786E","\u5BF9","T","True","t","true","\u9519\u8BEF","\u9519","T","true","t","false"].includes(At)&&gn.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),Ka(me==null?void 0:me.question)||gn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),me.errorMsg=gn.join(` -`),me}},{id:"3",type:"\u586B\u7A7A\u9898",element:(me,pt,At)=>{var gn,Et;const xn=At!==void 0,Fn=b.createElement(b.Fragment,null,Tr(me,pt,At),(gn=me==null?void 0:me.answer)==null?void 0:gn.map((Ma,ir)=>b.createElement(we,{id:me==null?void 0:me.id,key:ir,tagName:"p",value:`\u7B54\u6848${ir+1}\uFF1A${Ma.text||""}`})),zr(me,"",xn),Qr(me));let fn=xn?me:Ct[pt];const yn=b.createElement(b.Fragment,null,ur(fn,pt,At),(Et=fn==null?void 0:fn.answer)==null?void 0:Et.map((Ma,ir)=>b.createElement("div",{key:ir,className:he.option},b.createElement("aside",{className:he.fill},"\u586B\u7A7A\u9879",ir+1),Ma.model===1&&b.createElement(we,{id:fn==null?void 0:fn.id,tagName:"div",onBlur:hr=>{fn.answer[ir].latex=pr(hr),za("answer",pt,fn.answer,At)},className:`${he.text}`,value:Ma.latex}),Ma.model===2&&b.createElement(Ne.Z,{value:Ma.latex,onChange:hr=>{fn.answer[ir].latex=hr,za("answer",pt,fn.answer,At)}}))),vo(fn,"",pt,At),Ha(fn));return xn?[Fn,yn]:wo(Fn,yn,fn,pt)},deal:me=>{var pt,At,gn,Et;me.score=me.score===void 0?2:me.score,me.question=(pt=me.question)==null?void 0:pt.replaceAll("\u2581","_");const xn=(At=me.answer)==null?void 0:At.map(fn=>{if(Object.prototype.toString.call(fn)==="[object Object]")return fn;fn=fn==null?void 0:fn.trim();const yn={model:1,text:fn,latex:fn};return fn.startsWith("$$")&&fn.endsWith("$$")||fn.startsWith("`$$")&&fn.endsWith("$$`")?(yn.model=2,yn.latex=fn.slice(2,-2)):yn.latex=pr(fn),yn});me.answer=xn;let Fn=[];return xn||Fn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1A\u4E2D\u56FD\uFF1B\u7B54\u68482\uFF1A\u4E16\u754C"),Ka(me==null?void 0:me.question)?me!=null&&me.question.includes("_")?(gn=me==null?void 0:me.answer)!=null&&gn.length&&((me==null?void 0:me.question.match(/_+/g))||[]).length!==((Et=me==null?void 0:me.answer)==null?void 0:Et.length)&&Fn.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):Fn.push("\u586B\u7A7A\u9879\u672A\u8BBE\u7F6E\uFF0C\u8BF7\u4F7F\u7528\u82F1\u6587\u4E0B\u5212\u7EBF\u201C___\u201D\u8868\u793A\u586B\u7A7A\u9879"):Fn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),me.errorMsg=Fn.join(` -`),me}},{id:"4",type:"\u7B80\u7B54\u9898",element:(me,pt,At)=>{var gn,Et;const xn=At!==void 0;let Fn=(gn=me==null?void 0:me.answer)==null?void 0:gn[0];const fn=b.createElement(b.Fragment,null,Tr(me,pt,At),zr(me,Fn,xn),Qr(me));let yn=xn?me:Ct[pt];const Ma=b.createElement(b.Fragment,null,ur(yn,pt,At),vo(yn,(Et=yn==null?void 0:yn.answer)==null?void 0:Et[0],pt,At),Ha(yn));return xn?[fn,Ma]:wo(fn,Ma,yn,pt)},deal:me=>{me.score=me.score===void 0?5:me.score;let pt=[];return Ka(me==null?void 0:me.question)||pt.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),me.errorMsg=pt.join(` -`),me}},{id:"6",type:"\u7F16\u7A0B\u9898",element:(me,pt)=>{var At,gn;const Et=Ct[pt],xn=qn.slice(0,4).map(Fn=>({key:Fn,label:Fn,onClick:()=>za("platform",pt,Fn)}));return b.createElement("div",{className:he.row,style:{display:hn?Et!=null&&Et.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:he.leftLayout},b.createElement(ya,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:he.question},Tr(me,pt),b.createElement(we,{id:me==null?void 0:me.id,value:`\u8BD5\u9898\u63CF\u8FF0\uFF1A${(me==null?void 0:me.description)||""}`,tagName:"p"}),zr(me),b.createElement(we,{id:me==null?void 0:me.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${me==null?void 0:me.timeLimit}`,tagName:"p"}),b.createElement(we,{id:me==null?void 0:me.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(me==null?void 0:me.platform)||""}`,tagName:"p"}),b.createElement("p",{contentEditable:!0},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),b.createElement("h4",null),b.createElement(we,{id:me==null?void 0:me.id,value:(me==null?void 0:me.code)||"",tagName:"div"}),(At=me==null?void 0:me.inputs)==null?void 0:At.map((Fn,fn)=>{var yn;return b.createElement(b.Fragment,{key:fn},b.createElement("h4",null),b.createElement(we,{id:me==null?void 0:me.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${fn+1})\u8F93\u5165\uFF1A${Fn||""}`,tagName:"div"}),b.createElement(we,{id:me==null?void 0:me.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${fn+1})\u8F93\u51FA\uFF1A${((yn=me==null?void 0:me.outputs)==null?void 0:yn[fn])||""}`,tagName:"div"}))}),Qr(me)))),b.createElement("div",{className:he.rightLayout},b.createElement(zn,{className:Et!=null&&Et.errorMsg?he.error:""},ur(Et,pt),b.createElement("div",{className:he.liWrap,style:{background:"transparent",marginBottom:0,padding:0}},b.createElement("div",{className:he.li},b.createElement("aside",null,"\u8BD5\u9898\u63CF\u8FF0\uFF1A"),b.createElement(we,{className:he.edit,id:Et==null?void 0:Et.id,value:Et==null?void 0:Et.description,tagName:"div",onBlur:Fn=>za("description",pt,Fn)}))),vo(Et,"",pt),b.createElement("div",{className:he.liWrap},b.createElement("div",{className:he.li},b.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),b.createElement(we,{className:he.edit,id:Et==null?void 0:Et.id,value:Et==null?void 0:Et.timeLimit,tagName:"div",onBlur:Fn=>za("timeLimit",pt,pr(Fn))})),b.createElement("div",{className:he.li},b.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(_e.Z,{menu:{items:xn}},b.createElement("span",{className:"c-light-primary"},Et==null?void 0:Et.platform,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),b.createElement("div",{className:he.li,style:{flexDirection:"column",alignItems:"start"}},b.createElement("aside",{className:"mb10"},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),b.createElement(we,{className:he.edit,id:Et==null?void 0:Et.id,value:(Et==null?void 0:Et.code)||"",onBlur:Fn=>za("code",pt,pr(Fn)),tagName:"div"}))),(gn=Et==null?void 0:Et.inputs)==null?void 0:gn.map((Fn,fn)=>{var yn;return b.createElement("div",{className:he.liWrap,key:fn},b.createElement("div",{className:he.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",fn+1,")\u8F93\u5165\uFF1A"),b.createElement(we,{id:Et==null?void 0:Et.id,value:Fn||"",className:he.edit,onBlur:Ma=>{const ir=[...(Et==null?void 0:Et.inputs)||[]];ir[fn]=pr(Ma),za("inputs",pt,ir)},tagName:"div"})),b.createElement("div",{className:he.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",fn+1,")\u8F93\u51FA\uFF1A"),b.createElement(we,{id:Et==null?void 0:Et.id,value:((yn=Et==null?void 0:Et.outputs)==null?void 0:yn[fn])||"",className:he.edit,onBlur:Ma=>{const ir=[...(Et==null?void 0:Et.outputs)||[]];ir[fn]=pr(Ma),za("outputs",pt,ir)},tagName:"div"})))}),Ha(Et))))},deal:me=>{var pt,At,gn;me.score=me.score===void 0?10:me.score,me.code=(pt=me.code)==null?void 0:pt.trim();let Et=[];Ka(me==null?void 0:me.question)?((At=me==null?void 0:me.question)==null?void 0:At.length)>60&&Et.push("\u7F16\u7A0B\u9898\u540D\u79F0\u9650\u523660\u4E2A\u5B57\u7B26"):Et.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ka(me==null?void 0:me.description)||Et.push("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\u63CF\u8FF0");const xn=Ka(String((me==null?void 0:me.timeLimit)||""));if(me.timeLimit=xn,(!xn||xn&&!["3","4","5","6","7","8","9","10"].includes(xn))&&Et.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),me.platform=Ka(me==null?void 0:me.platform),me!=null&&me.platform){const Fn=["c","c++","java","python"],fn=(gn=me==null?void 0:me.platform)==null?void 0:gn.toLowerCase(),yn=Fn.findIndex(Ma=>Ma===fn);yn>-1?me.platform=qn[yn]:Et.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00")}else Et.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00");if(!(me!=null&&me.inputs)||!(me!=null&&me.outputs))me.inputs=[],me.outputs=[],Et.push("\u672A\u8BC6\u522B\u5230\u6D4B\u8BD5\u7528\u4F8B\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u6D4B\u8BD5\u7528\u4F8B(1)\u8F93\u5165\uFF1A1\uFF1B\u6D4B\u8BD5\u7528\u4F8B(1)\u8F93\u51FA\uFF1A2");else{const Fn=Math.min(me.inputs.length,me.outputs.length);me.inputs=me.inputs.slice(0,Fn),me.outputs=me.outputs.slice(0,Fn),me.outputs.some(fn=>!Ka(fn))&&Et.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879")}return me.errorMsg=Et.join(` -`),me}},{id:"7",type:"\u7EC4\u5408\u9898",element:(me,pt)=>{var At,gn;const Et=Ct[pt];return b.createElement("div",{className:he.row,style:{display:hn?Et!=null&&Et.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:he.leftLayout},b.createElement(ya,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:he.question},Tr(me,pt),zr(me),(At=me==null?void 0:me.questions)==null?void 0:At.map((xn,Fn)=>{var fn;const yn=(fn=Oo.find(Ma=>Ma.id===(xn==null?void 0:xn.type)))==null?void 0:fn.element;return b.createElement(b.Fragment,{key:`left-${me.id}-${Fn}`},yn(xn,pt,Fn)[0])}),Qr(me),b.createElement("p",{contentEditable:!0},"}}")))),b.createElement("div",{className:he.rightLayout},b.createElement(zn,{className:Et!=null&&Et.errorMsg?he.error:""},ur(Et,pt),vo(Et,"",pt),(gn=Et==null?void 0:Et.questions)==null?void 0:gn.map((xn,Fn)=>{var fn;const yn=(fn=Oo.find(Ma=>Ma.id===(xn==null?void 0:xn.type)))==null?void 0:fn.element;return b.createElement(b.Fragment,{key:`right-${Et.id}-${Fn}`},yn(xn,pt,Fn)[1])}),Ha(Et))))},deal:me=>{var pt,At,gn,Et,xn;const Fn=Pr,fn=[...Oo],yn=fn.findIndex(da=>da.id==="0"),Ma=fn.findIndex(da=>da.id==="1");if(yn!==-1){const da=fn[yn].deal;fn[yn].deal=ma=>{const ar=da(ma);return ar.errorMsg&&(ar.errorMsg=ar.errorMsg.split(` +`),me=nr(me),me),_r=me=>me.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),nr=me=>me.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"),jo=me=>{var pt;const xt=me.clipboardData;if(xt){const gn=xt.types.toString(),Et=xt.items;if(gn==="Files"||xt.types.indexOf("Files")>-1){me.preventDefault();try{let wn=Et[1];((pt=Et[0])==null?void 0:pt.kind)==="file"&&(wn=Et[0]);const bn=wn.getAsFile();(0,mt.I)(bn,fn=>{var Fn;if(fn.id){if(((Fn=bn==null?void 0:bn.type)==null?void 0:Fn.indexOf("image"))>-1){const Ma=``;document.execCommand("insertText",!1,Ma)}}else(fn==null?void 0:fn.status)===401&&(document.location.href="/user/login")})}catch(wn){ze.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};function Co(me,pt){return tn(this,null,function*(){if(typeof me=="string")return yield pt(me);if(typeof me!="object"||me===null)return me;if(Array.isArray(me))return yield Promise.all(me.map(Et=>tn(this,null,function*(){return yield Co(Et,pt)})));const xt={};for(const gn in me)if(Object.prototype.hasOwnProperty.call(me,gn)){const Et=me[gn];typeof Et=="string"?xt[gn]=yield pt(Et):typeof Et=="object"?xt[gn]=yield Co(Et,pt):xt[gn]=Et}return xt})}const pi=()=>tn(void 0,null,function*(){var me;Ge(!0),mn("\u5904\u7406\u4E2D"),yield new Promise(gn=>setTimeout(gn,1e3));let pt=(me=ua.current)==null?void 0:me.querySelectorAll('[data-text="edit"]'),xt="";try{pt.forEach(function(gn){var Et,wn,bn,fn;const Fn=gn.cloneNode(!0),Ma=Fn.querySelectorAll("span.edu_latex");for(let hr of Ma){const ca=hr.getAttribute("title"),ma=document.createTextNode(ca),ar=hr;(wn=(Et=ar.parentNode)==null?void 0:Et.replaceChild)==null||wn.call(Et,ma,ar)}const ir=Fn.querySelectorAll("span[style]");for(let hr of ir)if(hr.style.fontFamily){const ca=hr.innerHTML,ma=document.createTextNode(ca),ar=hr;(fn=(bn=ar.parentNode)==null?void 0:bn.replaceChild)==null||fn.call(bn,ma,ar)}Fn==null||Fn.childNodes.forEach(function(hr){hr.nodeType===Node.ELEMENT_NODE&&hr.localName!=="h5"&&hr.localName!=="h4"?xt+=`

${hr.innerHTML}

`:hr.nodeType===Node.TEXT_NODE&&(xt+=`

${hr.textContent}

`)})}),sl("/api/intelligent_imports/import.json",{html:nr(xt)})}catch(gn){console.error("\u5904\u7406\u8282\u70B9\u9519\u8BEF:",gn)}}),Pr=me=>{let pt=me.filter(xt=>!!(xt!=null&&xt.type));return pt=pt.map(xt=>{var gn;const Et=(gn=Oo.find(bn=>bn.id===(xt==null?void 0:xt.type)))==null?void 0:gn.deal,wn=aa(Yn({},xt),{id:String(Math.random()).slice(-6),knowledgePoint:Ka(xt==null?void 0:xt.knowledgePoint)});return Et?Et(wn):wn}),pt},Ar=()=>{if(Be===1){ze.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!");return}xe.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u91CD\u65B0\u8BC6\u522B\u4F1A\u8986\u76D6\u53F3\u4FA7\u5DF2\u8BC6\u522B\u7ED3\u679C\uFF0C\u5305\u62EC\u4EBA\u5DE5\u4FEE\u6539\u7684\u5185\u5BB9\uFF0C\u786E\u5B9A\u91CD\u65B0\u8BC6\u522B\u5417?",onOk:pi})},uo=()=>b.createElement("div",{className:he.row},b.createElement("div",{className:he.leftLayout},b.createElement(ya,{style:{height:675}},Be===1&&b.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center"},onClick:()=>at(2)},b.createElement("div",{style:{color:"#9096A3",fontSize:12}},"1.\u672C\u529F\u80FD\u652F\u6301\u5BFC\u5165\u7684\u9898\u578B\uFF1A\u5355\u9009\u9898\u3001\u591A\u9009\u9898\u3001\u586B\u7A7A\u9898\u3001\u5224\u65AD\u9898\u3001\u7B80\u7B54\u9898\u3001 \u7EC4\u5408\u9898\u3001\u7F16\u7A0B\u9898\u3001\u7A0B\u5E8F\u586B\u7A7A\u9898\u3002",b.createElement("br",null),"2.\u82E5\u8981\u5BFC\u5165\u7EC4\u5408\u9898\uFF0C\u8BF7\u5728\u9898\u76EE\u524D\u540E\u4F7F\u7528\u4E00\u5BF9\u201C","{{\u201D\u3001\u201C}}","\u201D\u5C06\u5185\u5BB9\u6807\u51FA\uFF1B\u5927\u9898\u9898\u5E72\u548C\u5C0F\u9898\u9898\u5E72\u4E4B\u95F4\u4E0D\u9700\u8981\u7A7A\u884C\uFF1B\u5927\u9898\u548C\u5C0F\u9898\u9898\u5E72\u90FD\u9700\u6807\u6CE8\u9898\u53F7\uFF1B\u5C0F\u9898\u7B54\u6848\u53EF\u8DDF\u5728\u5C0F\u9898\u9898\u5E72\u540E\uFF0C\u5E76\u7528\u7A7A\u683C\u4E0E\u9898\u5E72\u5185\u5BB9\u9694\u5F00\u3002\u8303\u4F8B\u53EF\u53C2\u8003\u63A8\u8350\u683C\u5F0F\u3002",b.createElement("br",null),"3.\u5BFC\u5165\u652F\u6301\u6587\u672C\u3001\u56FE\u7247\u3001\u516C\u5F0F\u3002\u9898\u76EE\u7ED3\u6784\u652F\u6301\u8BC6\u522B\u7B54\u6848\u3001\u89E3\u6790\u3001\u96BE\u5EA6\u3001\u77E5\u8BC6\u70B9\u3002",b.createElement("br",null),"4.\u82E5\u8BC6\u522B\u6709\u8BEF\uFF0C\u53EF\u5728\u5DE6\u4FA7\u4FEE\u6539\u9898\u76EE\u5185\u5BB9\u540E\u91CD\u65B0\u8BC6\u522B\uFF0C\u6216\u4E0B\u8F7D\u63A8\u8350\u683C\u5F0F\uFF0C\u6309\u683C\u5F0F\u4FEE\u6539\u540E\u91CD\u65B0\u5BFC\u5165\u8BC6\u522B\u3002",b.createElement("br",null)),b.createElement("div",{className:he.imgBox,style:{marginTop:75}},b.createElement("img",{width:56,src:te}),b.createElement("span",null,"\u7F16\u8F91\u533A"))),Be===2&&b.createElement("div",{"data-text":"edit",onBlur:()=>{Xa.current.innerHTML||at(1)},ref:Xa,contentEditable:!0,style:{color:"#9096A3",height:"100%",overflow:"auto"}}))),b.createElement("div",{className:he.rightLayout,style:{display:"flex",alignItems:"start",justifyContent:"center"}},b.createElement("div",{className:he.imgBox,style:{marginTop:240}},b.createElement("img",{width:56,src:ae}),b.createElement("span",null,"\u9884\u89C8\u533A")))),za=(me,pt,xt,gn)=>{var Et;console.log(me,pt,xt,gn,"onDataChange\u4FEE\u6539\u6570\u503C");const wn=JSON.parse(JSON.stringify(Bt));gn===void 0?wn[pt][me]=xt:wn[pt].questions[gn][me]=xt;const bn=Yn({},wn[pt]),fn=(Et=Oo.find(Fn=>Fn.id===(bn==null?void 0:bn.type)))==null?void 0:Et.deal;wn[pt]=fn(bn),un(wn)},Tr=(me,pt,xt)=>{var gn;const Et=xt!==void 0,wn=(gn=Oo.find(Fn=>Fn.id===(me==null?void 0:me.type)))==null?void 0:gn.type,bn=`${pt+1}.${xt===void 0?"":xt+1+"."}`,fn=`${(me==null?void 0:me.type)==="7"?"{{":""}${bn}\u3010${wn}\u3011${(me==null?void 0:me.question)||""}`;return b.createElement(b.Fragment,null,Et&&b.createElement("h4",{contentEditable:!0}),b.createElement(we,{id:me==null?void 0:me.id,tagName:"div",value:fn}))},Hr=(me,pt)=>tn(void 0,null,function*(){var xt;const gn=yield gr(me,pt),Et=(xt=gn==null?void 0:gn.data)==null?void 0:xt.content;if(Et!=null&&Et.length){const wn=Pr(Et)[0];Ye.splice(pt,1,wn),Bt.splice(pt,1,wn),Ue([...Ye]),un([...Bt])}}),ur=(me,pt,xt)=>{var gn;const Et=xt!==void 0,wn=(gn=Oo.find(fn=>fn.id===(me==null?void 0:me.type)))==null?void 0:gn.type,bn=`${pt+1}.${xt===void 0?"":xt+1+"."}`;return Et?b.createElement("div",{style:{padding:"10px 18px"}},`${bn}\u3010${wn}\u3011`,b.createElement(we,{id:me==null?void 0:me.id,tagName:"span",className:he.edit,onBlur:fn=>za("question",pt,fn,xt),value:(me==null?void 0:me.question)||""})):b.createElement(b.Fragment,null,b.createElement("div",{className:he.actionHead},b.createElement("div",{className:"c-light-primary"},`${bn}\u3010${wn}\u3011`),Pn!==1&&b.createElement(tt.Z,{disabled:(me==null?void 0:me.type)==="7",min:0,max:100,style:{width:100,marginLeft:10},addonAfter:"\u5206",precision:1,size:"middle",onChange:fn=>za("score",pt,fn,xt),value:me==null?void 0:me.score}),b.createElement(Me.Z,{align:"middle",style:{marginLeft:"auto"}},!!gr&&b.createElement("span",{className:"current c-light-primary mr30",onClick:()=>Hr(me,pt)},b.createElement("i",{className:"iconfont icon-huanyihuan mr5"}),"\u6362\u4E00\u6362"),b.createElement(Le.default,{onChange:fn=>za("checked",pt,fn.target.checked,xt),checked:!!(me!=null&&me.checked)},"\u4E0D\u5BFC\u5165\u6B64\u9898"))),b.createElement(we,{id:me==null?void 0:me.id,tagName:"div",style:{padding:"10px 18px"},className:he.edit,onBlur:fn=>za("question",pt,fn,xt),value:me==null?void 0:me.question}))},zr=(me,pt,xt)=>b.createElement(b.Fragment,null,["0","1","2","4"].includes(me==null?void 0:me.type)&&b.createElement(we,{id:me==null?void 0:me.id,value:`\u7B54\u6848\uFF1A${pt||""}`,tagName:"p"}),!xt&&b.createElement(we,{id:me==null?void 0:me.id,value:`\u96BE\u5EA6\uFF1A${(me==null?void 0:me.difficulty)||""}`,tagName:"p"}),(me==null?void 0:me.type)!=="7"&&b.createElement(we,{id:me==null?void 0:me.id,value:`\u89E3\u6790\uFF1A${(me==null?void 0:me.analyze)||""}`,tagName:"p"}),!xt&&b.createElement(we,{id:me==null?void 0:me.id,value:`\u77E5\u8BC6\u70B9\uFF1A${(me==null?void 0:me.knowledgePoint)||""}`,tagName:"p"})),fo=(me,pt,xt,gn)=>{const Et=gn!==void 0,wn=["\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],bn=Et&&!me.last&&!me.errorMsg?{marginBottom:10}:{},fn=wn.map(Fn=>({key:Fn,label:Fn,onClick:()=>za("difficulty",xt,Fn,gn)}));return b.createElement("div",{className:he.liWrap,style:bn},["4"].includes(me==null?void 0:me.type)&&b.createElement("div",{className:he.li},b.createElement("aside",null,"\u7B54\xA0\xA0\xA0\xA0\u6848\uFF1A"),b.createElement(we,{id:me==null?void 0:me.id,tagName:"div",className:`${he.edit} c-black`,onBlur:Fn=>za("answer",xt,[Fn],gn),value:pt})),!Et&&b.createElement("div",{className:he.li},b.createElement("aside",null,"\u96BE\xA0\xA0\xA0\xA0\u5EA6\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(_e.Z,{menu:{items:fn}},b.createElement("span",{className:"c-light-primary"},me==null?void 0:me.difficulty,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),(me==null?void 0:me.type)!=="7"&&b.createElement("div",{className:he.li},b.createElement("aside",null,"\u89E3\xA0\xA0\xA0\xA0\u6790\uFF1A"),b.createElement(we,{id:me==null?void 0:me.id,tagName:"div",className:`${he.edit} c-grey-333`,onBlur:Fn=>za("analyze",xt,Fn,gn),value:me==null?void 0:me.analyze})),!Et&&b.createElement("div",{onKeyDown:_a,className:he.li},b.createElement("aside",null,"\u77E5\u8BC6\u70B9\uFF1A"),b.createElement(we,{id:me==null?void 0:me.id,tagName:"div",value:(me==null?void 0:me.knowledgePoint)||"",className:`${he.edit} c-grey-333`,onBlur:Fn=>za("knowledgePoint",xt,Ka(pr(Fn)),gn)})))},Qr=me=>b.createElement(b.Fragment,null,typeof(me==null?void 0:me.errorMsg)=="string"&&!!(me!=null&&me.errorMsg)&&b.createElement("h5",{contentEditable:!1},b.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),b.createElement("div",null,me==null?void 0:me.errorMsg))),Ha=me=>b.createElement(b.Fragment,null,typeof(me==null?void 0:me.errorMsg)=="string"&&!!(me!=null&&me.errorMsg)&&b.createElement("h5",null,b.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),b.createElement("div",null,me==null?void 0:me.errorMsg))),wo=(me,pt,xt,gn)=>{let Et="flex";return(Ua&&kr!==gn||pn&&!(xt!=null&&xt.errorMsg))&&(Et="none"),b.createElement("div",{className:he.row,style:{display:Et}},b.createElement("div",{className:he.leftLayout},ha||b.createElement(ya,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:he.question},me))),b.createElement("div",{className:he.rightLayout},b.createElement(Vn,{className:xt!=null&&xt.errorMsg?he.error:""},pt)))},Oo=[{id:"0",type:"\u5355\u9009\u9898",element:(me,pt,xt)=>{var gn,Et;const wn=xt!==void 0;let bn=(gn=me==null?void 0:me.answer)==null?void 0:gn[0];const fn=b.createElement(b.Fragment,null,Tr(me,pt,xt),(Et=me==null?void 0:me.options)==null?void 0:Et.map((hr,ca)=>b.createElement(we,{id:me==null?void 0:me.id,key:ca,value:`${hn[ca]}.${hr}`,tagName:"p"})),zr(me,bn,wn),Qr(me));let Fn=wn?me:Bt[pt];const Ma=Fn==null?void 0:Fn.options,ir=b.createElement(b.Fragment,null,ur(Fn,pt,xt),Ma==null?void 0:Ma.map((hr,ca)=>{var ma;return b.createElement("div",{key:ca,className:he.option},b.createElement("aside",{className:((ma=Fn==null?void 0:Fn.answer)==null?void 0:ma[0])===hn[ca]?he.active:"",onClick:()=>za("answer",pt,[hn[ca]],xt)},hn[ca]),b.createElement(we,{id:Fn==null?void 0:Fn.id,tagName:"div",className:`${he.text}`,onBlur:ar=>{Ma[ca]=ar,za("options",pt,Ma,xt)},value:hr}))}),fo(Fn,"",pt,xt),Ha(Fn));return wn?[fn,ir]:wo(fn,ir,Fn,pt)},deal:me=>{var pt,xt,gn;me.score=me.score===void 0?2:me.score;let Et=Ka((pt=me==null?void 0:me.answer)==null?void 0:pt[0]).toUpperCase();me.answer=Et?[Et]:[];let wn=[];if(!(me!=null&&me.options))wn.push("\u672A\u8BC6\u522B\u5230\u9009\u9879\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C A.\u9009\u9879\u4E00 B.\u9009\u9879\u4E8C C.\u9009\u9879\u4E09 \u201D");else{me.options=(xt=me.options)==null?void 0:xt.slice(0,8);const bn=me.options.map(Fn=>Fn==null?void 0:Fn.trim().replace(/^\s+|\s+$/g,""));new Set(bn).size!==bn.length&&wn.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return Et||wn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D"),Et&&(hn.slice(0,((gn=me==null?void 0:me.options)==null?void 0:gn.length)||8).includes(Et)||wn.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D")),Ka(me==null?void 0:me.question)||wn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),me.errorMsg=wn.join(` +`),me}},{id:"1",type:"\u591A\u9009\u9898",element:(me,pt,xt)=>{var gn,Et;const wn=xt!==void 0;let bn=(gn=me==null?void 0:me.answer)==null?void 0:gn[0];const fn=b.createElement(b.Fragment,null,Tr(me,pt,xt),(Et=me==null?void 0:me.options)==null?void 0:Et.map((hr,ca)=>b.createElement(we,{id:me==null?void 0:me.id,key:ca,value:`${hn[ca]}.${hr}`,tagName:"p"})),zr(me,bn,wn),Qr(me));let Fn=wn?me:Bt[pt];const Ma=Fn==null?void 0:Fn.options,ir=b.createElement(b.Fragment,null,ur(Fn,pt,xt),Ma==null?void 0:Ma.map((hr,ca)=>{var ma,ar;return b.createElement("div",{key:ca,className:he.option},b.createElement("aside",{className:(ar=(ma=Fn==null?void 0:Fn.answer)==null?void 0:ma[0])!=null&&ar.includes(hn[ca])?he.active:"",onClick:()=>{var dr;let Mo=((dr=Fn==null?void 0:Fn.answer)==null?void 0:dr[0])||"";const Ko=hn[ca];Mo.includes(Ko)?Mo=Mo.replace(new RegExp(Ko,"g"),""):Mo+=Ko,Mo=Mo.split("").sort().join(""),za("answer",pt,[Mo],xt)}},hn[ca]),b.createElement(we,{id:Fn==null?void 0:Fn.id,tagName:"div",className:`${he.text}`,onBlur:dr=>{Ma[ca]=dr,za("options",pt,Ma,xt)},value:hr}))}),fo(Fn,"",pt,xt),Ha(Fn));return wn?[fn,ir]:wo(fn,ir,Fn,pt)},deal:me=>{var pt,xt,gn;me.score=me.score===void 0?2:me.score;let Et=Ka((pt=me==null?void 0:me.answer)==null?void 0:pt[0]).toUpperCase().split("").sort().join("");me.answer=Et?[Et]:[];let wn=[];if(!(me!=null&&me.options))wn.push("\u672A\u8BC6\u522B\u5230\u9009\u9879\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C A.\u9009\u9879\u4E00 B.\u9009\u9879\u4E8C C.\u9009\u9879\u4E09 \u201D");else{me.options=(xt=me.options)==null?void 0:xt.slice(0,8);const bn=me.options.map(Fn=>Fn==null?void 0:Fn.trim().replace(/^\s+|\s+$/g,""));new Set(bn).size!==bn.length&&wn.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}if(Et||wn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D"),Et){const bn=hn.slice(0,((gn=me==null?void 0:me.options)==null?void 0:gn.length)||8);qa(bn).includes(Et)||wn.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D")}return Ka(me==null?void 0:me.question)||wn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),me.errorMsg=wn.join(` +`),me}},{id:"2",type:"\u5224\u65AD\u9898",element:(me,pt,xt)=>{var gn,Et;const wn=xt!==void 0;let bn=(gn=me==null?void 0:me.answer)==null?void 0:gn[0];const fn=b.createElement(b.Fragment,null,Tr(me,pt,xt),zr(me,bn,wn),Qr(me));let Fn=wn?me:Bt[pt];const Ma=["\u6B63\u786E","\u9519\u8BEF"];let ir=((Et=Fn==null?void 0:Fn.answer)==null?void 0:Et[0])||"";["\u6B63\u786E","\u5BF9","T","True","t","true"].includes(ir)?ir="\u6B63\u786E":["\u9519\u8BEF","\u9519","T","true","t","false"].includes(ir)&&(ir="\u9519\u8BEF");const hr=b.createElement(b.Fragment,null,ur(Fn,pt,xt),Ma==null?void 0:Ma.map((ca,ma)=>b.createElement("div",{key:ma,className:he.option},b.createElement("aside",{style:{borderRadius:2},className:ir===ca?he.active:"",onClick:()=>za("answer",pt,[ca],xt)},ca==="\u6B63\u786E"?"T":"F"),b.createElement("div",{style:{pointerEvents:"none"},className:`${he.text}`},ca))),fo(Fn,"",pt,xt),Ha(Fn));return wn?[fn,hr]:wo(fn,hr,Fn,pt)},deal:me=>{var pt;me.score=me.score===void 0?2:me.score;let xt=Ka((pt=me==null?void 0:me.answer)==null?void 0:pt[0]);me.answer=xt?[xt]:[];let gn=[];return xt||gn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),xt&&!["\u6B63\u786E","\u5BF9","T","True","t","true","\u9519\u8BEF","\u9519","T","true","t","false"].includes(xt)&&gn.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),Ka(me==null?void 0:me.question)||gn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),me.errorMsg=gn.join(` +`),me}},{id:"3",type:"\u586B\u7A7A\u9898",element:(me,pt,xt)=>{var gn,Et;const wn=xt!==void 0,bn=b.createElement(b.Fragment,null,Tr(me,pt,xt),(gn=me==null?void 0:me.answer)==null?void 0:gn.map((Ma,ir)=>b.createElement(we,{id:me==null?void 0:me.id,key:ir,tagName:"p",value:`\u7B54\u6848${ir+1}\uFF1A${Ma.text||""}`})),zr(me,"",wn),Qr(me));let fn=wn?me:Bt[pt];const Fn=b.createElement(b.Fragment,null,ur(fn,pt,xt),(Et=fn==null?void 0:fn.answer)==null?void 0:Et.map((Ma,ir)=>b.createElement("div",{key:ir,className:he.option},b.createElement("aside",{className:he.fill},"\u586B\u7A7A\u9879",ir+1),Ma.model===1&&b.createElement(we,{id:fn==null?void 0:fn.id,tagName:"div",onBlur:hr=>{fn.answer[ir].latex=pr(hr),za("answer",pt,fn.answer,xt)},className:`${he.text}`,value:Ma.latex}),Ma.model===2&&b.createElement(Ne.Z,{value:Ma.latex,onChange:hr=>{fn.answer[ir].latex=hr,za("answer",pt,fn.answer,xt)}}))),fo(fn,"",pt,xt),Ha(fn));return wn?[bn,Fn]:wo(bn,Fn,fn,pt)},deal:me=>{var pt,xt,gn,Et;me.score=me.score===void 0?2:me.score,me.question=(pt=me.question)==null?void 0:pt.replaceAll("\u2581","_");const wn=(xt=me.answer)==null?void 0:xt.map(fn=>{if(Object.prototype.toString.call(fn)==="[object Object]")return fn;fn=fn==null?void 0:fn.trim();const Fn={model:1,text:fn,latex:fn};return fn.startsWith("$$")&&fn.endsWith("$$")||fn.startsWith("`$$")&&fn.endsWith("$$`")?(Fn.model=2,Fn.latex=fn.slice(2,-2)):Fn.latex=pr(fn),Fn});me.answer=wn;let bn=[];return wn||bn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1A\u4E2D\u56FD\uFF1B\u7B54\u68482\uFF1A\u4E16\u754C"),Ka(me==null?void 0:me.question)?me!=null&&me.question.includes("_")?(gn=me==null?void 0:me.answer)!=null&&gn.length&&((me==null?void 0:me.question.match(/_+/g))||[]).length!==((Et=me==null?void 0:me.answer)==null?void 0:Et.length)&&bn.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):bn.push("\u586B\u7A7A\u9879\u672A\u8BBE\u7F6E\uFF0C\u8BF7\u4F7F\u7528\u82F1\u6587\u4E0B\u5212\u7EBF\u201C___\u201D\u8868\u793A\u586B\u7A7A\u9879"):bn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),me.errorMsg=bn.join(` +`),me}},{id:"4",type:"\u7B80\u7B54\u9898",element:(me,pt,xt)=>{var gn,Et;const wn=xt!==void 0;let bn=(gn=me==null?void 0:me.answer)==null?void 0:gn[0];const fn=b.createElement(b.Fragment,null,Tr(me,pt,xt),zr(me,bn,wn),Qr(me));let Fn=wn?me:Bt[pt];const Ma=b.createElement(b.Fragment,null,ur(Fn,pt,xt),fo(Fn,(Et=Fn==null?void 0:Fn.answer)==null?void 0:Et[0],pt,xt),Ha(Fn));return wn?[fn,Ma]:wo(fn,Ma,Fn,pt)},deal:me=>{me.score=me.score===void 0?5:me.score;let pt=[];return Ka(me==null?void 0:me.question)||pt.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),me.errorMsg=pt.join(` +`),me}},{id:"6",type:"\u7F16\u7A0B\u9898",element:(me,pt)=>{var xt,gn;const Et=Bt[pt],wn=$n.slice(0,4).map(bn=>({key:bn,label:bn,onClick:()=>za("platform",pt,bn)}));return b.createElement("div",{className:he.row,style:{display:pn?Et!=null&&Et.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:he.leftLayout},b.createElement(ya,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:he.question},Tr(me,pt),b.createElement(we,{id:me==null?void 0:me.id,value:`\u8BD5\u9898\u63CF\u8FF0\uFF1A${(me==null?void 0:me.description)||""}`,tagName:"p"}),zr(me),b.createElement(we,{id:me==null?void 0:me.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${me==null?void 0:me.timeLimit}`,tagName:"p"}),b.createElement(we,{id:me==null?void 0:me.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(me==null?void 0:me.platform)||""}`,tagName:"p"}),b.createElement("p",{contentEditable:!0},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),b.createElement("h4",null),b.createElement(we,{id:me==null?void 0:me.id,value:(me==null?void 0:me.code)||"",tagName:"div"}),(xt=me==null?void 0:me.inputs)==null?void 0:xt.map((bn,fn)=>{var Fn;return b.createElement(b.Fragment,{key:fn},b.createElement("h4",null),b.createElement(we,{id:me==null?void 0:me.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${fn+1})\u8F93\u5165\uFF1A${bn||""}`,tagName:"div"}),b.createElement(we,{id:me==null?void 0:me.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${fn+1})\u8F93\u51FA\uFF1A${((Fn=me==null?void 0:me.outputs)==null?void 0:Fn[fn])||""}`,tagName:"div"}))}),Qr(me)))),b.createElement("div",{className:he.rightLayout},b.createElement(Vn,{className:Et!=null&&Et.errorMsg?he.error:""},ur(Et,pt),b.createElement("div",{className:he.liWrap,style:{background:"transparent",marginBottom:0,padding:0}},b.createElement("div",{className:he.li},b.createElement("aside",null,"\u8BD5\u9898\u63CF\u8FF0\uFF1A"),b.createElement(we,{className:he.edit,id:Et==null?void 0:Et.id,value:Et==null?void 0:Et.description,tagName:"div",onBlur:bn=>za("description",pt,bn)}))),fo(Et,"",pt),b.createElement("div",{className:he.liWrap},b.createElement("div",{className:he.li},b.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),b.createElement(we,{className:he.edit,id:Et==null?void 0:Et.id,value:Et==null?void 0:Et.timeLimit,tagName:"div",onBlur:bn=>za("timeLimit",pt,pr(bn))})),b.createElement("div",{className:he.li},b.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(_e.Z,{menu:{items:wn}},b.createElement("span",{className:"c-light-primary"},Et==null?void 0:Et.platform,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),b.createElement("div",{className:he.li,style:{flexDirection:"column",alignItems:"start"}},b.createElement("aside",{className:"mb10"},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),b.createElement(we,{className:he.edit,id:Et==null?void 0:Et.id,value:(Et==null?void 0:Et.code)||"",onBlur:bn=>za("code",pt,pr(bn)),tagName:"div"}))),(gn=Et==null?void 0:Et.inputs)==null?void 0:gn.map((bn,fn)=>{var Fn;return b.createElement("div",{className:he.liWrap,key:fn},b.createElement("div",{className:he.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",fn+1,")\u8F93\u5165\uFF1A"),b.createElement(we,{id:Et==null?void 0:Et.id,value:bn||"",className:he.edit,onBlur:Ma=>{const ir=[...(Et==null?void 0:Et.inputs)||[]];ir[fn]=pr(Ma),za("inputs",pt,ir)},tagName:"div"})),b.createElement("div",{className:he.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",fn+1,")\u8F93\u51FA\uFF1A"),b.createElement(we,{id:Et==null?void 0:Et.id,value:((Fn=Et==null?void 0:Et.outputs)==null?void 0:Fn[fn])||"",className:he.edit,onBlur:Ma=>{const ir=[...(Et==null?void 0:Et.outputs)||[]];ir[fn]=pr(Ma),za("outputs",pt,ir)},tagName:"div"})))}),Ha(Et))))},deal:me=>{var pt,xt,gn;me.score=me.score===void 0?10:me.score,me.code=(pt=me.code)==null?void 0:pt.trim();let Et=[];Ka(me==null?void 0:me.question)?((xt=me==null?void 0:me.question)==null?void 0:xt.length)>60&&Et.push("\u7F16\u7A0B\u9898\u540D\u79F0\u9650\u523660\u4E2A\u5B57\u7B26"):Et.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ka(me==null?void 0:me.description)||Et.push("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\u63CF\u8FF0");const wn=Ka(String((me==null?void 0:me.timeLimit)||""));if(me.timeLimit=wn,(!wn||wn&&!["3","4","5","6","7","8","9","10"].includes(wn))&&Et.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),me.platform=Ka(me==null?void 0:me.platform),me!=null&&me.platform){const bn=["c","c++","java","python"],fn=(gn=me==null?void 0:me.platform)==null?void 0:gn.toLowerCase(),Fn=bn.findIndex(Ma=>Ma===fn);Fn>-1?me.platform=$n[Fn]:Et.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00")}else Et.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00");if(!(me!=null&&me.inputs)||!(me!=null&&me.outputs))me.inputs=[],me.outputs=[],Et.push("\u672A\u8BC6\u522B\u5230\u6D4B\u8BD5\u7528\u4F8B\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u6D4B\u8BD5\u7528\u4F8B(1)\u8F93\u5165\uFF1A1\uFF1B\u6D4B\u8BD5\u7528\u4F8B(1)\u8F93\u51FA\uFF1A2");else{const bn=Math.min(me.inputs.length,me.outputs.length);me.inputs=me.inputs.slice(0,bn),me.outputs=me.outputs.slice(0,bn),me.outputs.some(fn=>!Ka(fn))&&Et.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879")}return me.errorMsg=Et.join(` +`),me}},{id:"7",type:"\u7EC4\u5408\u9898",element:(me,pt)=>{var xt,gn;const Et=Bt[pt];return b.createElement("div",{className:he.row,style:{display:pn?Et!=null&&Et.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:he.leftLayout},b.createElement(ya,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:he.question},Tr(me,pt),zr(me),(xt=me==null?void 0:me.questions)==null?void 0:xt.map((wn,bn)=>{var fn;const Fn=(fn=Oo.find(Ma=>Ma.id===(wn==null?void 0:wn.type)))==null?void 0:fn.element;return b.createElement(b.Fragment,{key:`left-${me.id}-${bn}`},Fn(wn,pt,bn)[0])}),Qr(me),b.createElement("p",{contentEditable:!0},"}}")))),b.createElement("div",{className:he.rightLayout},b.createElement(Vn,{className:Et!=null&&Et.errorMsg?he.error:""},ur(Et,pt),fo(Et,"",pt),(gn=Et==null?void 0:Et.questions)==null?void 0:gn.map((wn,bn)=>{var fn;const Fn=(fn=Oo.find(Ma=>Ma.id===(wn==null?void 0:wn.type)))==null?void 0:fn.element;return b.createElement(b.Fragment,{key:`right-${Et.id}-${bn}`},Fn(wn,pt,bn)[1])}),Ha(Et))))},deal:me=>{var pt,xt,gn,Et,wn;const bn=Pr,fn=[...Oo],Fn=fn.findIndex(ca=>ca.id==="0"),Ma=fn.findIndex(ca=>ca.id==="1");if(Fn!==-1){const ca=fn[Fn].deal;fn[Fn].deal=ma=>{const ar=ca(ma);return ar.errorMsg&&(ar.errorMsg=ar.errorMsg.split(` `).filter(dr=>dr!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(` -`)),ar}}if(Ma!==-1){const da=fn[Ma].deal;fn[Ma].deal=ma=>{const ar=da(ma);return ar.errorMsg&&(ar.errorMsg=ar.errorMsg.split(` +`)),ar}}if(Ma!==-1){const ca=fn[Ma].deal;fn[Ma].deal=ma=>{const ar=ca(ma);return ar.errorMsg&&(ar.errorMsg=ar.errorMsg.split(` `).filter(dr=>dr!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(` -`)),ar}}me.questions=(pt=me.questions)!=null&&pt.length?Pr(me.questions.slice(0,20)):[],me.questions=(At=me.questions)==null?void 0:At.map((da,ma)=>{var ar;if(da.type==="0"||da.type==="1"){const dr=(ar=da.options)==null?void 0:ar.map(Mo=>Mo==null?void 0:Mo.trim().replace(/^\s+|\s+$/g,""));dr&&new Set(dr).size!==dr.length&&(da.errorMsg=(da.errorMsg?da.errorMsg+` -`:"")+"\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return na(Qn({},da),{last:ma===me.questions.length-1})});const ir=(gn=me.questions)==null?void 0:gn.reduce((da,ma)=>{const ar=parseFloat(ma.score);return isNaN(ar)?da:da+ar},0);me.score=ir;let hr=[];return(Et=me.questions)!=null&&Et.length?me.errorMsg=((xn=me.questions)==null?void 0:xn.findIndex(da=>!!da.errorMsg))>-1:hr.push("\u8BF7\u6DFB\u52A0\u5C0F\u9898"),Ka(me==null?void 0:me.question)||hr.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),hr.length&&(me.errorMsg=hr.join(` -`)),me}},{id:"8",type:"\u7A0B\u5E8F\u586B\u7A7A\u9898",element:(me,pt)=>{var At,gn;const Et=Ct[pt],xn=qn.map(Fn=>({key:Fn,label:Fn,onClick:()=>za("platform",pt,Fn)}));return b.createElement("div",{className:he.row,style:{display:hn?Et!=null&&Et.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:he.leftLayout},b.createElement(ya,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:he.question},Tr(me,pt),zr(me),b.createElement(we,{id:me==null?void 0:me.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${me==null?void 0:me.timeLimit}`,tagName:"p"}),b.createElement(we,{id:me==null?void 0:me.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(me==null?void 0:me.platform)||""}`,tagName:"p"}),b.createElement("p",{contentEditable:!0},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),b.createElement("h4",null),b.createElement(we,{id:me==null?void 0:me.id,value:(me==null?void 0:me.code)||"",tagName:"div"}),b.createElement("h4",null),b.createElement(we,{id:me==null?void 0:me.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A${(me==null?void 0:me.input)||""}`,tagName:"p"}),b.createElement(we,{id:me==null?void 0:me.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A${(me==null?void 0:me.output)||""}`,tagName:"p"}),(At=me==null?void 0:me.answer)==null?void 0:At.map((Fn,fn)=>b.createElement(we,{key:fn,id:me==null?void 0:me.id,value:`\u7B54\u6848${fn+1}\uFF1A${Fn||""}`,tagName:"p"})),Qr(me)))),b.createElement("div",{className:he.rightLayout},b.createElement(zn,{className:Et!=null&&Et.errorMsg?he.error:""},ur(Et,pt),vo(Et,"",pt),b.createElement("div",{className:he.liWrap},b.createElement("div",{className:he.li,onKeyDown:_a},b.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),b.createElement(we,{className:he.edit,id:Et==null?void 0:Et.id,value:Et==null?void 0:Et.timeLimit,tagName:"div",onBlur:Fn=>za("timeLimit",pt,pr(Fn))})),b.createElement("div",{className:he.li},b.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(_e.Z,{menu:{items:xn}},b.createElement("span",{className:"c-light-primary"},Et==null?void 0:Et.platform,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),b.createElement("div",{className:he.li,style:{flexDirection:"column",alignItems:"start"}},b.createElement("aside",{className:"mb10"},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),b.createElement(we,{className:he.edit,id:Et==null?void 0:Et.id,value:(Et==null?void 0:Et.code)||"",onBlur:Fn=>za("code",pt,pr(Fn)),tagName:"div"})),b.createElement("div",{className:he.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A"),b.createElement(we,{className:he.edit,id:Et==null?void 0:Et.id,value:(Et==null?void 0:Et.input)||"",onBlur:Fn=>za("input",pt,pr(Fn)),tagName:"div"})),b.createElement("div",{className:he.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"),b.createElement(we,{className:he.edit,id:Et==null?void 0:Et.id,value:(Et==null?void 0:Et.output)||"",onBlur:Fn=>za("output",pt,pr(Fn)),tagName:"div"}))),b.createElement("div",{className:he.liWrap},(gn=Et==null?void 0:Et.answer)==null?void 0:gn.map((Fn,fn)=>b.createElement("div",{className:he.li,key:fn},b.createElement("aside",null,"\u7B54\u6848",fn+1,"\uFF1A"),b.createElement(we,{id:Et==null?void 0:Et.id,value:Fn||"",className:he.edit,onBlur:yn=>{const Ma=[...(Et==null?void 0:Et.answer)||[]];Ma[fn]=pr(yn),za("output",pt,Ma)},tagName:"div"})))),Ha(Et))))},deal:me=>{var pt,At,gn,Et,xn,Fn,fn,yn;me.score=me.score===void 0?10:me.score,me.code=(gn=(At=(pt=me.code)==null?void 0:pt.trim())==null?void 0:At.replace(/@_@/g,"@\u2581@"))==null?void 0:gn.replace(/@__@/g,"@\u2581\u2581@");let Ma=[];if(Ka(me==null?void 0:me.question)||Ma.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ka(me==null?void 0:me.code)?/@▁@|@▁▁@/.test(me==null?void 0:me.code)?(Et=me==null?void 0:me.answer)!=null&&Et.length&&((xn=me==null?void 0:me.code.match(/@▁@|@▁▁@/g))==null?void 0:xn.length)!==((Fn=me==null?void 0:me.answer)==null?void 0:Fn.length)&&Ma.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):Ma.push("\u7A0B\u5E8F\u4EE3\u7801\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u7A0B\u5E8F\u4EE3\u7801\u4E2D\u7684\u586B\u7A7A\u9879\u9700\u8981\u4F7F\u7528 @\u2581@ \u7B26\u53F7\u6807\u8BC6\u51FA\u6765"):Ma.push("\u672A\u8BC6\u522B\u5230\u7A0B\u5E8F\u4EE3\u7801"),me!=null&&me.answer?(fn=me.answer)!=null&&fn.some(hr=>!Ka(hr))&&Ma.push("\u7B54\u6848\u4E3A\u5FC5\u586B\u9879"):Ma.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1AHello\uFF1B\u7B54\u68482\uFF1AWorld"),me.platform=Ka(me==null?void 0:me.platform),me!=null&&me.platform){const hr=["c","c++","java","python","javascript","ruby"],da=(yn=me==null?void 0:me.platform)==null?void 0:yn.toLowerCase(),ma=hr.findIndex(ar=>ar===da);ma>-1?me.platform=qn[ma]:Ma.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00")}else Ma.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00");Ka(me==null?void 0:me.output)||Ma.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879");const ir=Ka(String((me==null?void 0:me.timeLimit)||""));return me.timeLimit=ir,(!ir||ir&&!["3","4","5","6","7","8","9","10"].includes(ir))&&Ma.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),me.errorMsg=Ma.join(` -`),me}}],yl=()=>b.createElement(b.Fragment,null,Ke.filter(me=>{var pt;return!!((pt=Oo.find(gn=>gn.id===(me==null?void 0:me.type)))==null?void 0:pt.element)}).map((me,pt)=>{var At;const gn=(At=Oo.find(Et=>Et.id===(me==null?void 0:me.type)))==null?void 0:At.element;return b.createElement(b.Fragment,{key:me.id},gn(me,pt))})),Kl=()=>tn(void 0,null,function*(){const me=Ct.filter(pt=>!pt.checked);if(Be!==3||!me.length){ze.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\uFF01");return}if(Xn){wr(!0),yield Xn(Ct),wr(!1);return}ra.setFieldsValue({sub_discipline_id:bt}),_n(!0)}),Ii=(me,pt=[])=>{if(typeof me=="string")return me.trim();if(Array.isArray(me))return me.map(At=>Ii(At,pt));if(typeof me=="object"&&me!==null){const At={};for(const gn in me)me.hasOwnProperty(gn)&&(pt.includes(gn)?At[gn]=me[gn]:At[gn]=Ii(me[gn],pt));return At}return me},Ti=me=>tn(void 0,null,function*(){const pt=Pr(Ii(me));Ue(pt),sn(JSON.parse(JSON.stringify(pt))),at(3),Ge(!1),aa(!1)});(0,b.useEffect)(()=>{if(vr)return;const me=()=>{Ft(pt=>pt>=90?(clearInterval(tr.current),90):pt+1)};return tr.current=setInterval(me,5e4/90),()=>clearInterval(tr.current)},[vr]);const ul=(me,pt)=>{er(!1);const At=new FormData;Object.keys(pt).forEach(Et=>{At.append(Et,pt[Et])});const gn=new window.XMLHttpRequest;gn.withCredentials=!0,gn.addEventListener("load",function(Et){return tn(this,null,function*(){var xn,Fn;try{const fn=JSON.parse((xn=Et==null?void 0:Et.target)==null?void 0:xn.response);if(er(!0),Ft(100),yield new Promise(yn=>setTimeout(()=>yn(),780)),fn.status===0){if(!((Fn=fn==null?void 0:fn.data)!=null&&Fn.length)){ze.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!"),Ge(!1);return}Ti((fn==null?void 0:fn.data)||[])}else Ge(!1),ze.ZP.warning(fn==null?void 0:fn.message)}catch(fn){console.log("\u8BF7\u6C42\u9519\u8BEF\uFF1A",fn)}})}),gn.addEventListener("error",()=>{Ge(!1)}),gn.open("POST",`${y.Z.API_SERVER}${me}`),gn.send(At)},Za=me=>tn(void 0,null,function*(){const pt=me.name.split(".").slice(-1)[0].toLowerCase();return["docx"].indexOf(pt)==-1?(ze.ZP.error(`${me.name}\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\uFF0C\u5F53\u524D\u4EC5\u9650\u652F\u6301\u683C\u5F0F\u4E3Adocx\u6587\u4EF6\uFF08Microsoft Word 2007\u4EE5\u4E0A\u7684\u7248\u672C\uFF09`),Promise.reject()):(Ge(!0),mn("\u5904\u7406\u4E2D"),ul("/api/intelligent_imports/import.json",{file:me}),Promise.reject())});let jn=[{key:1,label:b.createElement(He.default,{showUploadList:!1,accept:".docx",maxCount:1,beforeUpload:Za},b.createElement("div",{style:{padding:"0 5px",width:108,height:35,lineHeight:"35px"}},"\u672C\u5730\u5BFC\u5165"))}];((0,ht.Ny)()||(0,ht.$O)())&&jn.push({key:2,label:b.createElement("div",{style:{padding:"0 5px"}},"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898"),onClick:()=>{Oa.current.onClick()}});const Rn=[Ct.length,(ha=Ct.filter(me=>!!(me!=null&&me.errorMsg)))==null?void 0:ha.length];return b.createElement("div",{className:Ae()(he.intelligentBox,"intelligent-body-curb",Kn),style:na(Qn({},sa),{width:$n}),ref:la},b.createElement("div",{className:he.underpin},b.createElement("b",{style:Br}),b.createElement("b",{style:Br})),b.createElement("div",{className:he.head,style:{top:rn}},b.createElement("div",{className:he.leftLayout},va||b.createElement(b.Fragment,null,b.createElement(Me.Z,{align:"middle"},b.createElement("div",{className:he.title},"\u8BD5\u9898\u7F16\u8F91"),!Gt&&b.createElement(x.op,{href:`${y.Z.API_SERVER}/api/intelligent_imports/download_template`,download:!0,type:"link"},"\u4E0B\u8F7DWord\u6A21\u7248",b.createElement("i",{className:"iconfont icon-xiazai4 font14 ml10"})),b.createElement(x.op,{onClick:Aa,shape:"default"},"\u4E00\u952E\u6E05\u7A7A"),!Gt&&b.createElement(_e.Z,{overlayClassName:he.menu,menu:{items:jn}},b.createElement(x.op,{className:"ml20",type:"primary",shape:"default"},"\u5BFC\u5165\u8BD5\u9898")),!!ho&&ho),b.createElement("div",{className:he.tip},b.createElement("i",{className:"iconfont icon-tishi7 font12 mr10"}),"\u63D0\u793A\uFF1A\u82E5\u8BC6\u522B\u6709\u8BEF\uFF0C\u53EF\u5728\u5DE6\u4FA7\u7F16\u8F91\u533A\u70B9\u51FB\u5BF9\u5E94\u7684\u8BD5\u9898\u6309\u683C\u5F0F\u4FEE\u6539\u540E\u91CD\u65B0\u8BC6\u522B"))),b.createElement(Me.Z,{className:he.rightLayout,style:{alignItems:"start"}},wa||b.createElement(b.Fragment,null,b.createElement("div",{className:he.title,style:{marginRight:0}},"\u8BD5\u9898\u9884\u89C8"),[3].includes(Be)&&b.createElement(Le.default,{className:"ml20",checked:hn,onChange:me=>aa(me.target.checked)},"\u4EC5\u67E5\u770B\u9519\u8BEF\u8BD5\u9898"),[3].includes(Be)&&b.createElement("div",{style:{color:"#5F6368",marginLeft:"auto"}},"\u5171\u8BC6\u522B",b.createElement("span",{className:"ml5 mr5 c-light-primary"},Rn[0]),"\u9898\uFF0C\u5176\u4E2D\u8BC6\u522B\u6709\u8BEF",b.createElement("span",{className:"ml5 mr5 c-red-e53"},Rn[1]),"\u9898")),Ua&&b.createElement("div",{className:he.tabs},Ke==null?void 0:Ke.map((me,pt)=>b.createElement("div",{onClick:()=>{br(pt)},className:kr===pt&&he.active,key:pt},"\u65B0\u9898",pt+1)))),b.createElement("div",{className:he.centerBox},b.createElement("img",{className:"mb10",src:se,width:56}),!ja&&b.createElement(x.op,{onClick:Ar},"\u8BC6\u522B"))),[1,2].includes(Be)&&so(),[3].includes(Be)&&yl(),b.createElement("div",{className:"pb10"}),b.createElement("div",{className:he.buttonFixed},b.createElement("div",{className:he.buttonWrap},b.createElement(Je.ZP,{size:"middle",className:`${he.button} mr20`,onClick:oa},"\u53D6\u6D88"),b.createElement(Je.ZP,{size:"middle",type:"primary",loading:$r,className:`${he.button}`,onClick:Kl},Tn))),b.createElement(xe.default,{centered:!0,closable:!1,destroyOnClose:!0,open:Jt,title:null,footer:null,width:320,afterClose:()=>Ft(0)},b.createElement(Me.Z,{align:"middle",style:{flexDirection:"column"}},b.createElement("b",{style:{color:"#5F6368"},className:"font16 mb5 mt20"},St,b.createElement("span",{className:he.dotLoading},b.createElement("span",null,"."),b.createElement("span",null,"."),b.createElement("span",null,"."))),b.createElement(le.Z,{style:{width:"auto"},size:[200,8],showInfo:!1,percent:st}),b.createElement("div",{style:{color:"#5F6368"},className:"mb20"},"\u6B63\u5728\u8BC6\u522B\uFF0C\u5DF2\u5B8C\u6210",b.createElement("span",{className:"ml5 c-light-primary"},st,"%")))),b.createElement(xe.default,{centered:!0,open:Gn,title:"\u8BD5\u9898\u5BFC\u5165\u8BBE\u7F6E",confirmLoading:Vn,width:480,onCancel:()=>_n(!1),onOk:()=>ra.submit(),afterClose:()=>{ra.resetFields()}},b.createElement(ke.default,{style:{maxHeight:550},form:ra,layout:"horizontal",colon:!1,size:"large",onFinish:me=>tn(void 0,null,function*(){var pt,At,gn,Et,xn;const Fn=Ct.filter(Ma=>!Ma.checked&&!Ma.errorMsg);Dn(!0);const fn=()=>tn(void 0,null,function*(){var Ma,ir;const hr=yield(0,ie.ZP)("/api/intelligent_imports/save.json",{method:"post",body:na(Qn(Qn({},Va),me),{list:Fn,mode:En})});hr.status===0&&(Ht&&((Ma=hr==null?void 0:hr.data)!=null&&Ma.success)&&window.location.pathname==="/problemset"&&(ct.Z.publish("refresh-item-bank",me.group_id),yield new Promise(da=>setTimeout(()=>da(),1500))),ze.ZP.success(`\u6210\u529F\u5BFC\u5165${(ir=hr==null?void 0:hr.data)==null?void 0:ir.success}\u9053\u8BD5\u9898`,3),Ea(hr),_n(!1)),Dn(!1)});if(En!==1){yield fn();return}const yn=yield(0,ie.ZP)("/api/intelligent_imports/is_repeated.json",{method:"post",body:{list:Ct,mode:En}});if(yn.status===0){if(!((pt=yn==null?void 0:yn.data)!=null&&pt.error_size)){yield fn();return}xe.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onCancel:()=>{Dn(!1)},title:"\u63D0\u793A",content:b.createElement("div",{style:{overflow:"auto",maxHeight:500}},"\u5171",b.createElement("span",{className:"c-light-primary ml5 mr5"},(At=yn==null?void 0:yn.data)==null?void 0:At.all_size),"\u9053\u8BD5\u9898\uFF0C\u5176\u4E2D",b.createElement("span",{style:{color:"#FF9D18"},className:"ml5 mr5"},(gn=yn==null?void 0:yn.data)==null?void 0:gn.error_size),"\u9053\u8BD5\u9898\u91CD\u590D\uFF08\u7B2C",b.createElement("span",{className:"ml5 mr5"},(xn=(Et=yn==null?void 0:yn.data)==null?void 0:Et.index)==null?void 0:xn.join("\u3001")),"\u9053\uFF09\uFF0C\u91CD\u590D\u8BD5\u9898\u5C06\u4F1A\u4E3A\u60A8\u81EA\u52A8\u8FC7\u6EE4\uFF0C\u786E\u5B9A\u5BFC\u5165\u5417\uFF1F"),onOk:fn})}})},b.createElement("div",{className:"c-grey-999 mb20"},"\u63D0\u793A\uFF1A\u8BC6\u522B\u6709\u8BEF\u7684\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u5BFC\u5165"),b.createElement(ke.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"sub_discipline_id",labelCol:{span:5},wrapperCol:{span:19},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B"}]},b.createElement(E.Z,{placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",fieldNames:{label:"name",value:"id",children:"sub_disciplines"},options:lr})),En===1&&b.createElement(ke.default.Item,{label:b.createElement(Me.Z,{align:"middle",style:{justifyContent:"space-between"}},b.createElement("span",null,"\u653E\u5165\u6587\u4EF6\u5939\u76EE\u5F55"),b.createElement("div",{onClick:()=>La(!0),style:{marginLeft:211,transform:"translateX(14px)",display:"flex",color:"#5F6368",cursor:"pointer"}},b.createElement("img",{className:"mr5 primary-hover",src: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(Se.Z,{key:Wa})))),b.createElement(xe.default,{centered:!0,open:jt,title:"\u65B0\u5EFA\u6587\u4EF6\u5939",destroyOnClose:!0,width:480,confirmLoading:jr,onCancel:()=>La(!1),onOk:()=>$t.submit(),afterClose:()=>{$t.resetFields()}},b.createElement(ke.default,{style:{maxHeight:550},form:$t,layout:"horizontal",colon:!1,size:"large",onFinish:me=>tn(void 0,null,function*(){var pt;Ta(!0),(yield(0,ie.ZP)("/api/item_banks_groups.json",{method:"post",body:{name:me.name,parent_id:(pt=me==null?void 0:me.parent_id)==null?void 0:pt[0]}})).status===0?(zt(Wa+1),setTimeout(()=>{ze.ZP.success("\u64CD\u4F5C\u6210\u529F"),La(!1),Ta(!1)},1e3)):Ta(!1)})},b.createElement(ke.default.Item,{label:"\u6587\u4EF6\u5939\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},b.createElement(a.default,{maxLength:60,showCount:!0,placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"})),b.createElement(ke.default.Item,{label:"\u6587\u4EF6\u5939\u4F4D\u7F6E",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"parent_id"},b.createElement(Se.Z,null)))),b.createElement(ut,{onSave:me=>{Ge(!0),mn("\u5904\u7406\u4E2D"),ul("/api/intelligent_imports/import.json",{html:me})},ref:Oa}))},cr=z;var Ya=xa},24302:function(yt,_t,oe){"use strict";var b=oe(59301),he=oe(25346),De=oe(48136),Ae=oe(53267),ke=oe(43418),ze=oe(59301);const xe=(0,b.forwardRef)(({callback:tt,width:Me,onChange:Le,disabled:_e,readOnly:He,type:Je="",value:le="",style:E={}},a)=>{const x=(0,b.useRef)(),y=(0,b.useRef)(),[z,te]=(0,b.useState)(0),[ae,se]=(0,b.useState)(0),[ie,Se]=(0,b.useState)(!1),be=()=>{var Re=document.createElement("div");Re.innerHTML=x.current.getValue();var Xe=Re.innerText;return tt&&tt(Xe),Xe};(0,b.useImperativeHandle)(a,()=>({getData:be}));const We=Re=>{Re.preventDefault();const Xe=Re.clientX-z,Qe=Re.clientY-ae;document.body.onmousemove=et=>{let we=et.clientX-Xe,ht=et.clientY-Qe;const ct=document.getElementsByClassName("markdown-popup-form")[0],It=window.innerWidth-ct.offsetWidth,gt=window.innerHeight-ct.offsetHeight;we=Math.max(0,Math.min(we,It)),ht=Math.max(0,Math.min(ht,gt)),Ne(et.clientX,et.clientY,Xe,Qe)&&(te(we),se(ht))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ne=(Re,Xe,Qe,et)=>{const we=document.body.clientHeight,ht=document.body.clientWidth;return Re<20&&Qe>Re||Re>ht-20&&QeXe||Xe>we-20&&et{ie&&setTimeout(()=>{const Re=document.getElementsByClassName("markdown-popup-form")[0],Xe=window.innerWidth/2-Re.offsetWidth/2,Qe=window.innerHeight/2-Re.offsetHeight/2;te(Xe),se(Qe)},0)},[ie]);const mt=()=>{_e||He||Se(!0)};return ze.createElement("div",{style:E},ze.createElement("div",{style:{width:Me||"100%",position:"relative"},className:`${he.Z.mathFillWrap} ${_e||He?"cursorDefault":""}`,onClick:()=>mt()},ze.createElement("math-field",{disabled:_e,locale:"zh_cn",class:`${he.Z.mathField} ${Je}`,readOnly:He,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:x,style:{width:"100%",fontSize:le?18:14},value:le||""})),ze.createElement(ke.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:z,top:ae},title:ze.createElement("div",{style:{cursor:"move"},onMouseDown:We},"\u8F93\u5165\u516C\u5F0F"),open:ie,onOk:()=>{const Re=y.current.getData();x.current.setValue(Re),Le(Re),Se(!1)},onCancel:()=>{Se(!1)},destroyOnClose:!0,className:"markdown-popup-form"},ze.createElement(Ae.Z,{value:le,ref:y,onChange:Le,showSaveButton:!1})))});_t.Z=xe},53267:function(yt,_t,oe){"use strict";var b=oe(59301),he=oe(95237),De=oe(43604),Ae=oe(99313),ke=oe(3113),ze=oe(98573),xe=oe(25346),tt=oe(48136),Me=oe(59301);const Le=(0,b.forwardRef)(({callback:_e,showSaveButton:He,value:Je=""},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 +`)),ar}}me.questions=(pt=me.questions)!=null&&pt.length?Pr(me.questions.slice(0,20)):[],me.questions=(xt=me.questions)==null?void 0:xt.map((ca,ma)=>{var ar;if(ca.type==="0"||ca.type==="1"){const dr=(ar=ca.options)==null?void 0:ar.map(Mo=>Mo==null?void 0:Mo.trim().replace(/^\s+|\s+$/g,""));dr&&new Set(dr).size!==dr.length&&(ca.errorMsg=(ca.errorMsg?ca.errorMsg+` +`:"")+"\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return aa(Yn({},ca),{last:ma===me.questions.length-1})});const ir=(gn=me.questions)==null?void 0:gn.reduce((ca,ma)=>{const ar=parseFloat(ma.score);return isNaN(ar)?ca:ca+ar},0);me.score=ir;let hr=[];return(Et=me.questions)!=null&&Et.length?me.errorMsg=((wn=me.questions)==null?void 0:wn.findIndex(ca=>!!ca.errorMsg))>-1:hr.push("\u8BF7\u6DFB\u52A0\u5C0F\u9898"),Ka(me==null?void 0:me.question)||hr.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),hr.length&&(me.errorMsg=hr.join(` +`)),me}},{id:"8",type:"\u7A0B\u5E8F\u586B\u7A7A\u9898",element:(me,pt)=>{var xt,gn;const Et=Bt[pt],wn=$n.map(bn=>({key:bn,label:bn,onClick:()=>za("platform",pt,bn)}));return b.createElement("div",{className:he.row,style:{display:pn?Et!=null&&Et.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:he.leftLayout},b.createElement(ya,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:he.question},Tr(me,pt),zr(me),b.createElement(we,{id:me==null?void 0:me.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${me==null?void 0:me.timeLimit}`,tagName:"p"}),b.createElement(we,{id:me==null?void 0:me.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(me==null?void 0:me.platform)||""}`,tagName:"p"}),b.createElement("p",{contentEditable:!0},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),b.createElement("h4",null),b.createElement(we,{id:me==null?void 0:me.id,value:(me==null?void 0:me.code)||"",tagName:"div"}),b.createElement("h4",null),b.createElement(we,{id:me==null?void 0:me.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A${(me==null?void 0:me.input)||""}`,tagName:"p"}),b.createElement(we,{id:me==null?void 0:me.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A${(me==null?void 0:me.output)||""}`,tagName:"p"}),(xt=me==null?void 0:me.answer)==null?void 0:xt.map((bn,fn)=>b.createElement(we,{key:fn,id:me==null?void 0:me.id,value:`\u7B54\u6848${fn+1}\uFF1A${bn||""}`,tagName:"p"})),Qr(me)))),b.createElement("div",{className:he.rightLayout},b.createElement(Vn,{className:Et!=null&&Et.errorMsg?he.error:""},ur(Et,pt),fo(Et,"",pt),b.createElement("div",{className:he.liWrap},b.createElement("div",{className:he.li,onKeyDown:_a},b.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),b.createElement(we,{className:he.edit,id:Et==null?void 0:Et.id,value:Et==null?void 0:Et.timeLimit,tagName:"div",onBlur:bn=>za("timeLimit",pt,pr(bn))})),b.createElement("div",{className:he.li},b.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(_e.Z,{menu:{items:wn}},b.createElement("span",{className:"c-light-primary"},Et==null?void 0:Et.platform,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),b.createElement("div",{className:he.li,style:{flexDirection:"column",alignItems:"start"}},b.createElement("aside",{className:"mb10"},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),b.createElement(we,{className:he.edit,id:Et==null?void 0:Et.id,value:(Et==null?void 0:Et.code)||"",onBlur:bn=>za("code",pt,pr(bn)),tagName:"div"})),b.createElement("div",{className:he.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A"),b.createElement(we,{className:he.edit,id:Et==null?void 0:Et.id,value:(Et==null?void 0:Et.input)||"",onBlur:bn=>za("input",pt,pr(bn)),tagName:"div"})),b.createElement("div",{className:he.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"),b.createElement(we,{className:he.edit,id:Et==null?void 0:Et.id,value:(Et==null?void 0:Et.output)||"",onBlur:bn=>za("output",pt,pr(bn)),tagName:"div"}))),b.createElement("div",{className:he.liWrap},(gn=Et==null?void 0:Et.answer)==null?void 0:gn.map((bn,fn)=>b.createElement("div",{className:he.li,key:fn},b.createElement("aside",null,"\u7B54\u6848",fn+1,"\uFF1A"),b.createElement(we,{id:Et==null?void 0:Et.id,value:bn||"",className:he.edit,onBlur:Fn=>{const Ma=[...(Et==null?void 0:Et.answer)||[]];Ma[fn]=pr(Fn),za("output",pt,Ma)},tagName:"div"})))),Ha(Et))))},deal:me=>{var pt,xt,gn,Et,wn,bn,fn,Fn;me.score=me.score===void 0?10:me.score,me.code=(gn=(xt=(pt=me.code)==null?void 0:pt.trim())==null?void 0:xt.replace(/@_@/g,"@\u2581@"))==null?void 0:gn.replace(/@__@/g,"@\u2581\u2581@");let Ma=[];if(Ka(me==null?void 0:me.question)||Ma.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ka(me==null?void 0:me.code)?/@▁@|@▁▁@/.test(me==null?void 0:me.code)?(Et=me==null?void 0:me.answer)!=null&&Et.length&&((wn=me==null?void 0:me.code.match(/@▁@|@▁▁@/g))==null?void 0:wn.length)!==((bn=me==null?void 0:me.answer)==null?void 0:bn.length)&&Ma.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):Ma.push("\u7A0B\u5E8F\u4EE3\u7801\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u7A0B\u5E8F\u4EE3\u7801\u4E2D\u7684\u586B\u7A7A\u9879\u9700\u8981\u4F7F\u7528 @\u2581@ \u7B26\u53F7\u6807\u8BC6\u51FA\u6765"):Ma.push("\u672A\u8BC6\u522B\u5230\u7A0B\u5E8F\u4EE3\u7801"),me!=null&&me.answer?(fn=me.answer)!=null&&fn.some(hr=>!Ka(hr))&&Ma.push("\u7B54\u6848\u4E3A\u5FC5\u586B\u9879"):Ma.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1AHello\uFF1B\u7B54\u68482\uFF1AWorld"),me.platform=Ka(me==null?void 0:me.platform),me!=null&&me.platform){const hr=["c","c++","java","python","javascript","ruby"],ca=(Fn=me==null?void 0:me.platform)==null?void 0:Fn.toLowerCase(),ma=hr.findIndex(ar=>ar===ca);ma>-1?me.platform=$n[ma]:Ma.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00")}else Ma.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00");Ka(me==null?void 0:me.output)||Ma.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879");const ir=Ka(String((me==null?void 0:me.timeLimit)||""));return me.timeLimit=ir,(!ir||ir&&!["3","4","5","6","7","8","9","10"].includes(ir))&&Ma.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),me.errorMsg=Ma.join(` +`),me}}],yl=()=>b.createElement(b.Fragment,null,Ye.filter(me=>{var pt;return!!((pt=Oo.find(gn=>gn.id===(me==null?void 0:me.type)))==null?void 0:pt.element)}).map((me,pt)=>{var xt;const gn=(xt=Oo.find(Et=>Et.id===(me==null?void 0:me.type)))==null?void 0:xt.element;return b.createElement(b.Fragment,{key:me.id},gn(me,pt))})),Kl=()=>tn(void 0,null,function*(){const me=Bt.filter(pt=>!pt.checked);if(Be!==3||!me.length){ze.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\uFF01");return}if(qn){wr(!0),yield qn(Bt),wr(!1);return}oa.setFieldsValue({sub_discipline_id:bt}),Tn(!0)}),Mi=(me,pt=[])=>{if(typeof me=="string")return me.trim();if(Array.isArray(me))return me.map(xt=>Mi(xt,pt));if(typeof me=="object"&&me!==null){const xt={};for(const gn in me)me.hasOwnProperty(gn)&&(pt.includes(gn)?xt[gn]=me[gn]:xt[gn]=Mi(me[gn],pt));return xt}return me},Gi=me=>tn(void 0,null,function*(){const pt=Pr(Mi(me));Ue(pt),un(JSON.parse(JSON.stringify(pt))),at(3),Ge(!1),ra(!1)});(0,b.useEffect)(()=>{if(vr)return;const me=()=>{Ft(pt=>pt>=90?(clearInterval(tr.current),90):pt+1)};return tr.current=setInterval(me,5e4/90),()=>clearInterval(tr.current)},[vr]);const sl=(me,pt)=>{er(!1);const xt=new FormData;Object.keys(pt).forEach(Et=>{xt.append(Et,pt[Et])});const gn=new window.XMLHttpRequest;gn.withCredentials=!0,gn.addEventListener("load",function(Et){return tn(this,null,function*(){var wn,bn;try{const fn=JSON.parse((wn=Et==null?void 0:Et.target)==null?void 0:wn.response);if(er(!0),Ft(100),yield new Promise(Fn=>setTimeout(()=>Fn(),780)),fn.status===0){if(!((bn=fn==null?void 0:fn.data)!=null&&bn.length)){ze.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!"),Ge(!1);return}Gi((fn==null?void 0:fn.data)||[])}else Ge(!1),ze.ZP.warning(fn==null?void 0:fn.message)}catch(fn){console.log("\u8BF7\u6C42\u9519\u8BEF\uFF1A",fn)}})}),gn.addEventListener("error",()=>{Ge(!1)}),gn.open("POST",`${y.Z.API_SERVER}${me}`),gn.send(xt)},Za=me=>tn(void 0,null,function*(){const pt=me.name.split(".").slice(-1)[0].toLowerCase();return["docx"].indexOf(pt)==-1?(ze.ZP.error(`${me.name}\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\uFF0C\u5F53\u524D\u4EC5\u9650\u652F\u6301\u683C\u5F0F\u4E3Adocx\u6587\u4EF6\uFF08Microsoft Word 2007\u4EE5\u4E0A\u7684\u7248\u672C\uFF09`),Promise.reject()):(Ge(!0),mn("\u5904\u7406\u4E2D"),sl("/api/intelligent_imports/import.json",{file:me}),Promise.reject())});let Hn=[{key:1,label:b.createElement(He.default,{showUploadList:!1,accept:".docx",maxCount:1,beforeUpload:Za},b.createElement("div",{style:{padding:"0 5px",width:108,height:35,lineHeight:"35px"}},"\u672C\u5730\u5BFC\u5165"))}];((0,ht.Ny)()||(0,ht.$O)())&&Hn.push({key:2,label:b.createElement("div",{style:{padding:"0 5px"}},"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898"),onClick:()=>{Oa.current.onClick()}});const kn=[Bt.length,(Sa=Bt.filter(me=>!!(me!=null&&me.errorMsg)))==null?void 0:Sa.length];return b.createElement("div",{className:Ae()(he.intelligentBox,"intelligent-body-curb",Jn),style:aa(Yn({},da),{width:ea}),ref:ua},b.createElement("div",{className:he.underpin},b.createElement("b",{style:Br}),b.createElement("b",{style:Br})),b.createElement("div",{className:he.head,style:{top:an}},b.createElement("div",{className:he.leftLayout},pa||b.createElement(b.Fragment,null,b.createElement(Me.Z,{align:"middle"},b.createElement("div",{className:he.title},"\u8BD5\u9898\u7F16\u8F91"),!Gt&&b.createElement(x.op,{href:`${y.Z.API_SERVER}/api/intelligent_imports/download_template`,download:!0,type:"link"},"\u4E0B\u8F7DWord\u6A21\u7248",b.createElement("i",{className:"iconfont icon-xiazai4 font14 ml10"})),b.createElement(x.op,{onClick:Aa,shape:"default"},"\u4E00\u952E\u6E05\u7A7A"),!Gt&&b.createElement(_e.Z,{overlayClassName:he.menu,menu:{items:Hn}},b.createElement(x.op,{className:"ml20",type:"primary",shape:"default"},"\u5BFC\u5165\u8BD5\u9898")),!!po&&po),b.createElement("div",{className:he.tip},b.createElement("i",{className:"iconfont icon-tishi7 font12 mr10"}),"\u63D0\u793A\uFF1A\u82E5\u8BC6\u522B\u6709\u8BEF\uFF0C\u53EF\u5728\u5DE6\u4FA7\u7F16\u8F91\u533A\u70B9\u51FB\u5BF9\u5E94\u7684\u8BD5\u9898\u6309\u683C\u5F0F\u4FEE\u6539\u540E\u91CD\u65B0\u8BC6\u522B"))),b.createElement(Me.Z,{className:he.rightLayout,style:{alignItems:"start"}},wa||b.createElement(b.Fragment,null,b.createElement("div",{className:he.title,style:{marginRight:0}},"\u8BD5\u9898\u9884\u89C8"),[3].includes(Be)&&b.createElement(Le.default,{className:"ml20",checked:pn,onChange:me=>ra(me.target.checked)},"\u4EC5\u67E5\u770B\u9519\u8BEF\u8BD5\u9898"),[3].includes(Be)&&b.createElement("div",{style:{color:"#5F6368",marginLeft:"auto"}},"\u5171\u8BC6\u522B",b.createElement("span",{className:"ml5 mr5 c-light-primary"},kn[0]),"\u9898\uFF0C\u5176\u4E2D\u8BC6\u522B\u6709\u8BEF",b.createElement("span",{className:"ml5 mr5 c-red-e53"},kn[1]),"\u9898")),Ua&&b.createElement("div",{className:he.tabs},Ye==null?void 0:Ye.map((me,pt)=>b.createElement("div",{onClick:()=>{br(pt)},className:kr===pt&&he.active,key:pt},"\u65B0\u9898",pt+1)))),b.createElement("div",{className:he.centerBox},b.createElement("img",{className:"mb10",src:se,width:56}),!ja&&b.createElement(x.op,{onClick:Ar},"\u8BC6\u522B"))),[1,2].includes(Be)&&uo(),[3].includes(Be)&&yl(),b.createElement("div",{className:"pb10"}),b.createElement("div",{className:he.buttonFixed},b.createElement("div",{className:he.buttonWrap},b.createElement(Ke.ZP,{size:"middle",className:`${he.button} mr20`,onClick:ia},"\u53D6\u6D88"),b.createElement(Ke.ZP,{size:"middle",type:"primary",loading:qr,className:`${he.button}`,onClick:Kl},Zn))),b.createElement(xe.default,{centered:!0,closable:!1,destroyOnClose:!0,open:Kt,title:null,footer:null,width:320,afterClose:()=>Ft(0)},b.createElement(Me.Z,{align:"middle",style:{flexDirection:"column"}},b.createElement("b",{style:{color:"#5F6368"},className:"font16 mb5 mt20"},St,b.createElement("span",{className:he.dotLoading},b.createElement("span",null,"."),b.createElement("span",null,"."),b.createElement("span",null,"."))),b.createElement(le.Z,{style:{width:"auto"},size:[200,8],showInfo:!1,percent:st}),b.createElement("div",{style:{color:"#5F6368"},className:"mb20"},"\u6B63\u5728\u8BC6\u522B\uFF0C\u5DF2\u5B8C\u6210",b.createElement("span",{className:"ml5 c-light-primary"},st,"%")))),b.createElement(xe.default,{centered:!0,open:jn,title:"\u8BD5\u9898\u5BFC\u5165\u8BBE\u7F6E",confirmLoading:Wn,width:480,onCancel:()=>Tn(!1),onOk:()=>oa.submit(),afterClose:()=>{oa.resetFields()}},b.createElement(ke.default,{style:{maxHeight:550},form:oa,layout:"horizontal",colon:!1,size:"large",onFinish:me=>tn(void 0,null,function*(){var pt,xt,gn,Et,wn;const bn=Bt.filter(Ma=>!Ma.checked&&!Ma.errorMsg);Ln(!0);const fn=()=>tn(void 0,null,function*(){var Ma,ir;const hr=yield(0,ie.ZP)("/api/intelligent_imports/save.json",{method:"post",body:aa(Yn(Yn({},Va),me),{list:bn,mode:Pn})});hr.status===0&&(Ht&&((Ma=hr==null?void 0:hr.data)!=null&&Ma.success)&&window.location.pathname==="/problemset"&&(ct.Z.publish("refresh-item-bank",me.group_id),yield new Promise(ca=>setTimeout(()=>ca(),1500))),ze.ZP.success(`\u6210\u529F\u5BFC\u5165${(ir=hr==null?void 0:hr.data)==null?void 0:ir.success}\u9053\u8BD5\u9898`,3),Ea(hr),Tn(!1)),Ln(!1)});if(Pn!==1){yield fn();return}const Fn=yield(0,ie.ZP)("/api/intelligent_imports/is_repeated.json",{method:"post",body:{list:Bt,mode:Pn}});if(Fn.status===0){if(!((pt=Fn==null?void 0:Fn.data)!=null&&pt.error_size)){yield fn();return}xe.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onCancel:()=>{Ln(!1)},title:"\u63D0\u793A",content:b.createElement("div",{style:{overflow:"auto",maxHeight:500}},"\u5171",b.createElement("span",{className:"c-light-primary ml5 mr5"},(xt=Fn==null?void 0:Fn.data)==null?void 0:xt.all_size),"\u9053\u8BD5\u9898\uFF0C\u5176\u4E2D",b.createElement("span",{style:{color:"#FF9D18"},className:"ml5 mr5"},(gn=Fn==null?void 0:Fn.data)==null?void 0:gn.error_size),"\u9053\u8BD5\u9898\u91CD\u590D\uFF08\u7B2C",b.createElement("span",{className:"ml5 mr5"},(wn=(Et=Fn==null?void 0:Fn.data)==null?void 0:Et.index)==null?void 0:wn.join("\u3001")),"\u9053\uFF09\uFF0C\u91CD\u590D\u8BD5\u9898\u5C06\u4F1A\u4E3A\u60A8\u81EA\u52A8\u8FC7\u6EE4\uFF0C\u786E\u5B9A\u5BFC\u5165\u5417\uFF1F"),onOk:fn})}})},b.createElement("div",{className:"c-grey-999 mb20"},"\u63D0\u793A\uFF1A\u8BC6\u522B\u6709\u8BEF\u7684\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u5BFC\u5165"),b.createElement(ke.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"sub_discipline_id",labelCol:{span:5},wrapperCol:{span:19},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B"}]},b.createElement(E.Z,{placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",fieldNames:{label:"name",value:"id",children:"sub_disciplines"},options:lr})),Pn===1&&b.createElement(ke.default.Item,{label:b.createElement(Me.Z,{align:"middle",style:{justifyContent:"space-between"}},b.createElement("span",null,"\u653E\u5165\u6587\u4EF6\u5939\u76EE\u5F55"),b.createElement("div",{onClick:()=>La(!0),style:{marginLeft:211,transform:"translateX(14px)",display:"flex",color:"#5F6368",cursor:"pointer"}},b.createElement("img",{className:"mr5 primary-hover",src: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(Se.Z,{key:Wa})))),b.createElement(xe.default,{centered:!0,open:jt,title:"\u65B0\u5EFA\u6587\u4EF6\u5939",destroyOnClose:!0,width:480,confirmLoading:jr,onCancel:()=>La(!1),onOk:()=>$t.submit(),afterClose:()=>{$t.resetFields()}},b.createElement(ke.default,{style:{maxHeight:550},form:$t,layout:"horizontal",colon:!1,size:"large",onFinish:me=>tn(void 0,null,function*(){var pt;Ta(!0),(yield(0,ie.ZP)("/api/item_banks_groups.json",{method:"post",body:{name:me.name,parent_id:(pt=me==null?void 0:me.parent_id)==null?void 0:pt[0]}})).status===0?(zt(Wa+1),setTimeout(()=>{ze.ZP.success("\u64CD\u4F5C\u6210\u529F"),La(!1),Ta(!1)},1e3)):Ta(!1)})},b.createElement(ke.default.Item,{label:"\u6587\u4EF6\u5939\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},b.createElement(a.default,{maxLength:60,showCount:!0,placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"})),b.createElement(ke.default.Item,{label:"\u6587\u4EF6\u5939\u4F4D\u7F6E",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"parent_id"},b.createElement(Se.Z,null)))),b.createElement(ut,{onSave:me=>{Ge(!0),mn("\u5904\u7406\u4E2D"),sl("/api/intelligent_imports/import.json",{html:me})},ref:Oa}))},cr=z;var Ya=xa},24302:function(yt,kt,oe){"use strict";var b=oe(59301),he=oe(25346),De=oe(48136),Ae=oe(53267),ke=oe(43418),ze=oe(59301);const xe=(0,b.forwardRef)(({callback:tt,width:Me,onChange:Le,disabled:_e,readOnly:He,type:Ke="",value:le="",style:E={}},a)=>{const x=(0,b.useRef)(),y=(0,b.useRef)(),[z,te]=(0,b.useState)(0),[ae,se]=(0,b.useState)(0),[ie,Se]=(0,b.useState)(!1),be=()=>{var Re=document.createElement("div");Re.innerHTML=x.current.getValue();var Je=Re.innerText;return tt&&tt(Je),Je};(0,b.useImperativeHandle)(a,()=>({getData:be}));const We=Re=>{Re.preventDefault();const Je=Re.clientX-z,Qe=Re.clientY-ae;document.body.onmousemove=et=>{let we=et.clientX-Je,ht=et.clientY-Qe;const ct=document.getElementsByClassName("markdown-popup-form")[0],Lt=window.innerWidth-ct.offsetWidth,gt=window.innerHeight-ct.offsetHeight;we=Math.max(0,Math.min(we,Lt)),ht=Math.max(0,Math.min(ht,gt)),Ne(et.clientX,et.clientY,Je,Qe)&&(te(we),se(ht))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ne=(Re,Je,Qe,et)=>{const we=document.body.clientHeight,ht=document.body.clientWidth;return Re<20&&Qe>Re||Re>ht-20&&QeJe||Je>we-20&&et{ie&&setTimeout(()=>{const Re=document.getElementsByClassName("markdown-popup-form")[0],Je=window.innerWidth/2-Re.offsetWidth/2,Qe=window.innerHeight/2-Re.offsetHeight/2;te(Je),se(Qe)},0)},[ie]);const mt=()=>{_e||He||Se(!0)};return ze.createElement("div",{style:E},ze.createElement("div",{style:{width:Me||"100%",position:"relative"},className:`${he.Z.mathFillWrap} ${_e||He?"cursorDefault":""}`,onClick:()=>mt()},ze.createElement("math-field",{disabled:_e,locale:"zh_cn",class:`${he.Z.mathField} ${Ke}`,readOnly:He,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:x,style:{width:"100%",fontSize:le?18:14},value:le||""})),ze.createElement(ke.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:z,top:ae},title:ze.createElement("div",{style:{cursor:"move"},onMouseDown:We},"\u8F93\u5165\u516C\u5F0F"),open:ie,onOk:()=>{const Re=y.current.getData();x.current.setValue(Re),Le(Re),Se(!1)},onCancel:()=>{Se(!1)},destroyOnClose:!0,className:"markdown-popup-form"},ze.createElement(Ae.Z,{value:le,ref:y,onChange:Le,showSaveButton:!1})))});kt.Z=xe},53267:function(yt,kt,oe){"use strict";var b=oe(59301),he=oe(95237),De=oe(43604),Ae=oe(99313),ke=oe(3113),ze=oe(98573),xe=oe(25346),tt=oe(48136),Me=oe(59301);const Le=(0,b.forwardRef)(({callback:_e,showSaveButton:He,value:Ke=""},le)=>{const E=(0,b.useRef)(),a=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r x=a + r\\text{cos}\\theta \\ \r y=b + r\\text{sin}\\theta \r \\end{matrix}\\right. `},{value:`\\begin{array}{l} \r @@ -232,7 +232,7 @@ ${Fa} \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r -\\end{array}`}]}]}],y=ae=>{E.current.setValue(E.current.getValue()+" "+ae.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Me.createElement(he.Z,{className:xe.Z.lists,gutter:[10,10]},a.map((ae,se)=>Me.createElement(De.Z,{flex:"110px",className:xe.Z.item},Me.createElement("div",null,Me.createElement(ze.Z,{value:`$$${ae.value}$$`}),ae.name),Me.createElement("div",{className:xe.Z.children},ae.children.map((ie,Se)=>Me.createElement("div",{key:Se},Me.createElement("h1",null,ie.name),Me.createElement(he.Z,{gutter:[10,10]},ie.data.map((be,We)=>Me.createElement(De.Z,{key:We,onClick:()=>y(be),className:xe.Z.diamond},Me.createElement(ze.Z,{value:"`$$"+be.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Me.createElement(he.Z,{className:xe.Z.lists,gutter:[10,10]},x.map((ae,se)=>Me.createElement(De.Z,{flex:"110px",className:xe.Z.item},Me.createElement("div",null,Me.createElement(ze.Z,{value:"`$$"+ae.value+"$$`"}),ae.name),Me.createElement("div",{className:xe.Z.children},ae.children.map((ie,Se)=>Me.createElement("div",{key:Se},ie.name&&Me.createElement("h1",null,ie.name),Me.createElement(he.Z,{gutter:[10,10]},ie.data.map((be,We)=>Me.createElement(De.Z,{key:We,onClick:()=>y(be),className:xe.Z.diamond},Me.createElement(ze.Z,{value:"`$$"+be.value+"$$`"}))))))))))}],te=()=>{var ae=document.createElement("div");ae.innerHTML=E.current.getValue();var se=ae.innerText;return _e&&_e(se),se};return(0,b.useImperativeHandle)(le,()=>({getData:te})),Me.createElement("div",{className:xe.Z.mathWrap},Me.createElement(Ae.default,{defaultActiveKey:"1",items:z}),Me.createElement("math-field",{locale:"zh_cn",className:xe.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:E,style:{width:800,marginTop:30,fontSize:18}},Je||""),He&&Me.createElement("div",{className:xe.Z.button},Me.createElement(ke.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});_t.Z=Le},59592:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return He}});var b=oe(59301),he=oe(78241),De=oe(43418),Ae=oe(92832),ke=oe(87169),ze=oe(52430),xe={publicQuest:"publicQuest___iYvzo",publicQuestContent:"publicQuestContent___vgbKh",public_tips:"public_tips___UX0Dn",concat:"concat___wOfND"},tt=oe(32793),Me=oe(59301),Le=(Je,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(Je,le)).next())}),He=({type:Je="subject",open:le,onCancel:E,onOkClick:a,subDisciplineId:x})=>{const[y]=he.default.useForm(),[z,te]=(0,b.useState)([]),[ae,se]=(0,b.useState)(!1);(0,b.useEffect)(()=>{},[]);const ie=()=>Le(void 0,null,function*(){if(Je){const Se=yield(0,ze.ZP)("/api/disciplines.json",{method:"get",params:{source:Je}});te(Se.disciplines||[])}});return Me.createElement(De.default,{title:Me.createElement("div",{style:{fontWeight:"bold"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9"),open:le,width:558,centered:!0,className:xe.publicQuest,onCancel:()=>{E(),y.resetFields()},onOk:()=>{y.validateFields().then(Se=>Le(void 0,null,function*(){const be=yield(0,ze.ZP)("/api/tag_disciplines.json",{method:"post",body:{name:Se==null?void 0:Se.name,sub_discipline_id:x}});(be==null?void 0:be.status)===0&&a({name:Se==null?void 0:Se.name,id:be==null?void 0:be.tag_discipline_id,public:!1,type:"personal"}),y.resetFields(),E()}))}},Me.createElement("div",{className:xe.publicQuestContent},Me.createElement("div",{className:xe.public_tips},Me.createElement(ke.Z,{style:{color:"#FF8C29",marginRight:10,paddingTop:5}}),"\u65B0\u5EFA\u7684\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u5E73\u53F0\u5BA1\u6838\u5217\u5165\u516C\u5F00\u77E5\u8BC6\u70B9\u540E\uFF0C\u5BF9\u6240\u6709\u7528\u6237\u53EF\u89C1\u3002 \u5E73\u53F0\u6709\u6743\u5220\u9664\u4E0D\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF0C\u8BF7\u8BA4\u771F\u586B\u5199\u77E5\u8BC6\u70B9\u540D\u79F0\u3002"),Me.createElement(he.default,{labelAlign:"left",form:y,colon:!1},Me.createElement(he.default.Item,{label:"\u77E5\u8BC6\u70B9\u540D\u79F0",name:"name",rules:[{required:!0}]},Me.createElement(Ae.default,{showCount:!0,maxLength:20,placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0"}))),Me.createElement(tt.Z,{open:ae,onCancel:()=>{se(!1)}})))}},33329:function(yt,_t,oe){"use strict";oe.d(_t,{Q:function(){return Me},Z:function(){return _e}});var b=oe(59301),he={flex_box_center:"flex_box_center___VcCAZ",flex_space_between:"flex_space_between___I3jjO",flex_box_vertical_center:"flex_box_vertical_center___Rm_54",flex_box_center_end:"flex_box_center_end___nTsdc",flex_box_column:"flex_box_column___UVpzN",tags:"tags___kRRoe",text:"text___IyyEa",tagWrap:"tagWrap___v63mB",tag:"tag___X7wE6",c:"c___mZMPq",cpp:"cpp___eaTie",java:"java___gL98T",python:"python___eNRkk",edit:"edit___tbVu0"},De=oe(92310),Ae=oe.n(De),ke=oe(43418),ze=oe(8591),xe=oe(24905),tt=(He,Je,le)=>new Promise((E,a)=>{var x=te=>{try{z(le.next(te))}catch(ae){a(ae)}},y=te=>{try{z(le.throw(te))}catch(ae){a(ae)}},z=te=>te.done?E(te.value):Promise.resolve(te.value).then(x,y);z((le=le.apply(He,Je)).next())});const Me=({title:He="\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00",dataSource:Je=[],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(Je)},[le]),b.createElement(ke.default,{centered:!0,open:le,title:He,confirmLoading:te,width:564,onOk:()=>tt(void 0,null,function*(){if(!y.length){ze.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00");return}ae(!0),yield x(y),ae(!1)}),onCancel:()=>E(!1)},!!a&&b.createElement("div",{className:"c-grey-666 font16 mb10"},a),b.createElement("div",{style:{background:"#F6F7F9",padding:"20px 20px 20px 26px"}},b.createElement(xe.default.Group,{value:y,options:[{label:"C\u8BED\u8A00",value:"C"},{label:"C++\u8BED\u8A00",value:"C++",style:{marginLeft:30}},{label:"Java\u8BED\u8A00",value:"Java",style:{marginLeft:30}},{label:"Python\u8BED\u8A00",value:"Python",style:{marginLeft:30}}],onChange:se=>{z(se)}})))};var _e=({title:He="\u5141\u8BB8\u7F16\u7A0B\u7684\u8BED\u8A00",className:Je,style:le={},onEdit:E,dataSource:a=[]})=>{const x={C:b.createElement("div",{className:he.c},"C"),"C++":b.createElement("div",{className:he.cpp},"C++"),Java:b.createElement("div",{className:he.java},"Java"),Python:b.createElement("div",{className:he.python},"Python")};return b.createElement("div",{className:Ae()(he.tags,Je),style:le},!!He&&b.createElement("div",{className:he.text},He),b.createElement("div",{className:he.tagWrap},a==null?void 0:a.map(y=>b.createElement(b.Fragment,{key:y},x[y]))),!!E&&b.createElement("div",{onClick:E,className:`iconfont icon-bianji_Hover ${he.edit}`}))}},44931:function(yt,_t,oe){"use strict";oe.d(_t,{t:function(){return kn}});var b=oe(59301),he=oe(92832),De=oe(78241),Ae=oe(43418),ke=oe(95237),ze=oe(43604),xe=oe(5871),tt=oe(57809),Me=oe(5112),Le=oe(89314),_e=oe(44993),He=oe(59489),Je=oe(8591),le=oe(3113),E=oe(71418),a=oe(24334),x={flex_box_center:"flex_box_center___kOQ8P",flex_space_between:"flex_space_between___fY6jt",flex_box_vertical_center:"flex_box_vertical_center___bDSSI",flex_box_center_end:"flex_box_center_end___mQ6mU",flex_box_column:"flex_box_column___F15G0",result:"result___UYRo8",left:"left___TRaH5",right:"right___twp9s",box:"box___vwndt",li:"li___hRe2d"},y=oe(52430),z=oe(78837),te=oe(4213),ae=oe(56102),se=oe(7051),ie=oe(59301),Se=Object.defineProperty,be=Object.defineProperties,We=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,Xe=(dn,kt,Rt)=>kt in dn?Se(dn,kt,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):dn[kt]=Rt,Qe=(dn,kt)=>{for(var Rt in kt||(kt={}))mt.call(kt,Rt)&&Xe(dn,Rt,kt[Rt]);if(Ne)for(var Rt of Ne(kt))Re.call(kt,Rt)&&Xe(dn,Rt,kt[Rt]);return dn},et=(dn,kt)=>be(dn,We(kt)),we=(dn,kt,Rt)=>new Promise((Qn,na)=>{var tn=ya=>{try{_a(Rt.next(ya))}catch(zn){na(zn)}},Fa=ya=>{try{_a(Rt.throw(ya))}catch(zn){na(zn)}},_a=ya=>ya.done?Qn(ya.value):Promise.resolve(ya.value).then(tn,Fa);_a((Rt=Rt.apply(dn,kt)).next())}),ct=({buttonProps:dn,buttonText:kt,form:Rt,hackIdentifier:Qn="",answerKey:na,data:tn})=>{const[Fa,_a]=(0,b.useState)(!1),[ya,zn]=(0,b.useState)(!1),[xa,cr]=(0,b.useState)(!1),[Ya,Kn]=(0,b.useState)({}),[sa,$n]=(0,b.useState)(""),[oa,Ea]=(0,b.useState)(""),Va=(0,b.useRef)(Qn),En=(0,b.useRef)(""),rn=(0,b.useRef)(!1);(0,b.useEffect)(()=>{xa&&va()},[xa]),(0,b.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const bt=()=>new Date().getTime(),Gt=tn==null?void 0:tn.code,Da=()=>{var ja,gr;let Ua=Gt?tn==null?void 0:tn.code:(ja=Rt.getFieldValue("hack_codes"))==null?void 0:ja.code,Br=Gt?tn==null?void 0:tn.answer_content:Rt.getFieldValue(na),ho=Gt?tn==null?void 0:tn.input:(gr=Rt.getFieldValue("hack_sets"))==null?void 0:gr.input;Br==null||Br.forEach(Ht=>{const Tn=Ht.value||Ht.answer_text||"";Ua=Ua.replace(/(@▁@|@▁▁@)/,Tn)}),Ea(ho),$n(Ua),Kn({}),cr(!0)},va=()=>we(void 0,null,function*(){var ja,gr,Ua,Br;const ho=bt(),Ht=Gt?tn==null?void 0:tn.time_limit:(ja=Rt.getFieldsValue())==null?void 0:ja.hack.time_limit,Tn=Gt?(gr=tn==null?void 0:tn.answer_content)==null?void 0:gr.length:(Br=(Ua=Rt.getFieldsValue())==null?void 0:Ua.standard_answers)==null?void 0:Br.length;_a(!0),yield(0,z.bM)(En.current,{test_hack_code:sa,test_input:oa});function Xn(){return we(this,null,function*(){const{status:ha,data:Be}=yield(0,z.rX)(En.current,"submit"),st=bt()-ho>(Ht+3)*1e3*Tn;if(rn.current){if(st){Je.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),_a(!1);return}if(ha===0){_a(!1),Kn(et(Qe({},Be),{showText:!0}));return}setTimeout(Xn,1e3)}})}Xn()}),wa=()=>we(void 0,null,function*(){var ja,gr,Ua,Br,ho,Ht,Tn;if(!tn){try{yield Rt.validateFields()}catch(at){(Ua=(gr=(ja=at==null?void 0:at.errorFields)==null?void 0:ja[0])==null?void 0:gr.name)!=null&&Ua.includes("standard_answers")?Je.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Je.ZP.error(at.errorFields[0].errors[0]),Rt.scrollToField(at.errorFields[0].name,{behavior:"smooth",block:"center"});return}zn(!0);let ha="";const Be=Rt.getFieldsValue();Va.current?ha=yield(0,y.ZP)(`/api/problems/${Va.current}.json`,{method:"put",body:et(Qe({},Be),{hack:et(Qe({},Be==null?void 0:Be.hack),{sub_discipline_id:(Tn=(Ht=Be==null?void 0:Be.hack)==null?void 0:Ht.sub_discipline_id)==null?void 0:Tn[1],difficult:Be.difficulty,item_banks_group_id:Be.item_banks_group_id}),hack_codes:et(Qe({},Be.hack_codes),{code:a.Base64.encode(Be.hack_codes.code)}),update_hack_sets:[Qe({},Be.hack_sets)],is_blank:!0})}):(ha=yield(0,y.ZP)("/api/problems.json",{method:"post",body:et(Qe({},Be),{hack:et(Qe({},Be==null?void 0:Be.hack),{sub_discipline_id:(ho=(Br=Be==null?void 0:Be.hack)==null?void 0:Br.sub_discipline_id)==null?void 0:ho[1],difficult:Be.difficulty,item_banks_group_id:Be.item_banks_group_id}),hack_codes:et(Qe({},Be.hack_codes),{code:a.Base64.encode(Be.hack_codes.code)}),hack_sets:[Qe({},Be.hack_sets)],is_blank:!0})}),Va.current=ha==null?void 0:ha.identifier,sessionStorage.projectFill=ha==null?void 0:ha.identifier)}const Xn=yield(0,y.ZP)(`/api/problems/${Va.current}/start.json`,{method:"get"});if((Xn==null?void 0:Xn.status)===0){En.current=Xn==null?void 0:Xn.identifier,rn.current=!0,zn(!1),Da();return}zn(!1)}),pa=ja=>{const{status:gr,error_msg:Ua,execute_time:Br,output:ho,input:Ht,expected_output:Tn}=ja;let Xn=null;switch(gr){case se.h.OK:Xn=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",Br/1e3,"\u79D2"),ie.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case se.h.NOMATCH:Xn=ie.createElement(ie.Fragment,null,ie.createElement("div",null,"\u8F93\u5165\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},Ht),ie.createElement("div",null,"\u8F93\u51FA\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},ho&&a.Base64.decode(ho)),ie.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},Tn&&a.Base64.decode(Tn)));break;case se.h.EXECUTEFAILURE:Xn=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ie.createElement("pre",null,Ht)),ie.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ie.createElement("pre",{className:"error"},a.Base64.decode(Ua)));break;case se.h.COMPILEFAILURE:Xn=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ie.createElement("pre",null,Ht)),ie.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ie.createElement("pre",{className:"error"},a.Base64.decode(Ua)));break;case se.h.PODFAILURE:Xn=ie.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case se.h.TIMEOUT:Xn=ie.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return ie.createElement(ie.Fragment,null," ",Xn," ")};return ie.createElement("div",null,ie.createElement(le.ZP,et(Qe({loading:ya},dn),{onClick:wa}),kt),ie.createElement(Ae.default,{open:xa,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:Fa,cancelButtonProps:{style:{display:"none"}},onOk:()=>va(),onCancel:()=>{rn.current=!1,cr(!1)}},ie.createElement("div",{className:x.result},ie.createElement("div",{className:x.left},ie.createElement("div",{className:"mb20"},ie.createElement("span",{className:"c-black"},"\u6267\u884C\u4EE3\u7801"),!tn&&ie.createElement(ae.CopyToClipboard,{text:sa,onCopy:()=>Je.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:sa,onChange:ja=>$n(ja)})),ie.createElement("div",{className:x.right},ie.createElement("div",{className:"c-black mb20"},"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"),ie.createElement("div",{className:x.box},ie.createElement("div",{className:x.li},ie.createElement(he.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:oa,onChange:ja=>Ea(ja.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:Fa,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},ie.createElement("div",{className:x.li,style:{height:196,overflow:"auto",padding:10}},pa(Ya))))))))},It=oe(87169),gt=oe(59301),Pn=Object.defineProperty,an=Object.defineProperties,Wt=Object.getOwnPropertyDescriptors,Tt=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,Qt=(dn,kt,Rt)=>kt in dn?Pn(dn,kt,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):dn[kt]=Rt,An=(dn,kt)=>{for(var Rt in kt||(kt={}))Te.call(kt,Rt)&&Qt(dn,Rt,kt[Rt]);if(Tt)for(var Rt of Tt(kt))ot.call(kt,Rt)&&Qt(dn,Rt,kt[Rt]);return dn},Bt=(dn,kt)=>an(dn,Wt(kt)),un=(dn,kt)=>{var Rt={};for(var Qn in dn)Te.call(dn,Qn)&&kt.indexOf(Qn)<0&&(Rt[Qn]=dn[Qn]);if(dn!=null&&Tt)for(var Qn of Tt(dn))kt.indexOf(Qn)<0&&ot.call(dn,Qn)&&(Rt[Qn]=dn[Qn]);return Rt};const{TextArea:Ce}=he.default,ut=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],Xt=({value:dn,onChange:kt})=>gt.createElement(Switch,{checked:dn,onChange:Rt=>{kt(Rt)}}),nt="@\u2581@",Pt="@\u2581\u2581@",kn=({questionTitlePlaceholder:dn,form:kt,scoreByBlank:Rt=!1,hackidentifier:Qn,answerKey:na})=>{const[tn,Fa]=(0,b.useState)(!1),[_a,ya]=(0,b.useState)(!1),xa=(0,_e.useParams)().type==="edit",cr=(En,rn)=>{const bt=rn.line;let Gt=0;for(let va=0;va{const Da=En.getRange(rn.from,rn.to);let va=0;if(rn.text.forEach(wa=>{va+=wa.split(nt).length-1}),rn.text.forEach(wa=>{va+=wa.split(Pt).length-1}),rn.origin!=="setValue"){if(Da&&(Da.indexOf(nt)!==-1||Da.indexOf(Pt)!==-1)){const wa=Da.split(nt).length-1+Da.split(Pt).length-1,pa=cr(En,rn.from);if(console.log(`\u5220\u9664${wa}\u4E2A\uFF0C \u524D\u9762\u6709${pa}\u4E2A\uFF0C\u65B0\u589E${va}\u4E2A`),wa>1){const ja=Array.from({length:wa},(gr,Ua)=>pa+Ua);Gt(ja)}else Gt(pa)}else if(va>0){const wa=cr(En,rn.from);console.log(`\u65B0\u589E${va}\u4E2A\uFF0C\u4E4B\u524D\u6709${wa}\u4E2A`),bt(va,wa)}}},Kn=()=>{const En=kt.getFieldValue(na);kt.setFieldsValue({[na]:En==null?void 0:En.map((rn,bt)=>Bt(An({},rn),{position:bt+1}))})},sa=(0,b.useRef)(),$n=(En,rn)=>{for(let bt=0;bt{oa.current(En),Kn()},Va=De.default.useWatch(na,kt);return gt.createElement("div",{className:He.Z.wrap},gt.createElement(De.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},gt.createElement(Le.h,{scrollId:"name",watch:!0,height:140})),gt.createElement("div",{className:He.Z.questionTitleEditorWrap},gt.createElement(De.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},gt.createElement(Le.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(En,rn)=>{const bt=kt.getFieldValue(na);console.log("--preAnswerData",bt,rn),kt.setFieldsValue({[na]:bt==null?void 0:bt.map((Gt,Da)=>{var va;return Bt(An({},Gt),{position:Da+1,multi_line:(va=rn==null?void 0:rn[Da])==null?void 0:va.multiLine})})})},placeholder:dn,onCMBeforeChange:(En,rn)=>{Ya(En,rn,$n,Ea)}}))),gt.createElement(De.default.List,{name:na,rules:[{validator(En,rn){if(!(rn!=null&&rn.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const bt of rn){const{answer_text:Gt}=bt||{};if((Gt==null?void 0:Gt.length)===0)return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(En,{add:rn,remove:bt},{errors:Gt})=>(sa.current=rn,oa.current=bt,gt.createElement(gt.Fragment,null,gt.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},gt.createElement(De.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),gt.createElement("div",{onClick:()=>{Ae.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:gt.createElement("div",null,gt.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",gt.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),gt.createElement("div",{style:{marginTop:10}},"2.\u8BD5\u9898\u7B97\u5206\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u5C06\u7A0B\u5E8F\u91CC\u9762\u7684\u6240\u6709\u7A7A\u66FF\u6362\u6210\u5B66\u751F\u7684\u7B54\u6848\u8FDB\u884C\u8BC4\u6D4B\u3002\u8F93\u51FA\u7684\u7ED3\u679C\u4E0E\u6D4B\u8BD5\u96C6\u6BD4\u5BF9\uFF0C\u5B8C\u5168\u6B63\u786E\u5219\u5F97\u6EE1\u5206\uFF1B\u82E5\u4E0D\u5B8C\u5168\u6B63\u786E\uFF0C\u5219\u4F9D\u6B21\u5C06\u6BCF\u4E2A\u7A7A\u6362\u6210\u5B66\u751F\u63D0\u4EA4\u7684\u7B54\u6848\uFF0C\u540C\u65F6\u5C06\u5176\u4ED6\u7A7A\u66FF\u6362\u6210\u6807\u51C6\u7B54\u6848\uFF0C\u8FD0\u884C\u7A0B\u5E8F\u3002\u5982\u679C\u8FD9\u4E2A\u7A7A\u7684\u5B66\u751F\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7ED3\u5408\u80FD\u5F97\u5230\u6B63\u786E\u8F93\u51FA\uFF0C\u5219\u8FD9\u4E2A\u7A7A\u5F97\u5230\u8BE5\u7A7A\u7684\u6EE1\u5206\uFF0C\u5426\u5219\u8BE5\u7A7A\u5F970\u5206\u3002"))})},style:{minHeight:32,color:"#3061D0",cursor:"pointer"}},gt.createElement(It.Z,{style:{marginRight:3,color:"#3061D0"}}),gt.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),En.map((Da,va)=>{var wa=Da,{key:pa,name:ja}=wa,gr=un(wa,["key","name"]),Ua,Br;return gt.createElement(ke.Z,{className:"mb20",key:pa,align:"middle",wrap:!1},gt.createElement(ze.Z,{flex:"0 0 auto",className:`${He.Z.blankIndex}`},"\u586B\u7A7A\u9879",va+1),gt.createElement(ze.Z,{flex:1},gt.createElement(ke.Z,{align:"top",justify:"space-between",wrap:!1},gt.createElement(ze.Z,null,gt.createElement(De.default.Item,Bt(An({},gr),{name:[ja,"answer_text"],noStyle:!0}),(Ua=Va==null?void 0:Va[ja])!=null&&Ua.multi_line||(Br=Va==null?void 0:Va[ja])!=null&&Br.multiLine?gt.createElement(Ce,{spellCheck:!1,style:{marginLeft:10,width:550}}):gt.createElement(he.default,{style:{marginLeft:10,width:550},className:He.Z.blankInput,size:"large",maxLength:1e3,onBlur:ho=>{}}))),Rt&>.createElement(ze.Z,{flex:"224px"},gt.createElement(De.default.Item,Bt(An({},gr),{name:[ja,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),gt.createElement(xe.Z,{size:"large",className:He.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),gt.createElement("div",{onClick:()=>Fa(!0)},gt.createElement(De.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},gt.createElement(Le.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:tn}))),gt.createElement(De.default.Item,{label:"\u7F16\u7A0B\u8BED\u8A00",style:{marginTop:30},name:["hack_codes","language"],labelCol:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00"}]},gt.createElement(tt.default,{size:"large"},ut.map(En=>gt.createElement(tt.default.Option,{key:En.title,value:En.key}," ",En.title)))),gt.createElement(De.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},gt.createElement(De.default.Item,{name:["hack","time_limit"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"},{type:"number",min:3,message:"\u6700\u5C0F\u9650\u5236\u65F6\u95F4\u662F3\u79D2"}],noStyle:!0},gt.createElement(xe.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),gt.createElement("span",{className:"ml10 font14"},"\u79D2")),gt.createElement(De.default.Item,{label:"\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406",style:{marginTop:30},name:["hack","submit_rule"],labelCol:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406"}]},gt.createElement(Me.ZP.Group,{style:{marginTop:-10}},gt.createElement(Me.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),gt.createElement(Me.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),gt.createElement(Me.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),gt.createElement(De.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),gt.createElement("div",{style:{background:"#F6F7F9",padding:15}},gt.createElement(De.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},gt.createElement(Ce,{rows:4})),gt.createElement(De.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24},name:["hack_sets","output"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F93\u51FA\u5185\u5BB9"}]},gt.createElement(Ce,{rows:4}))),gt.createElement(ct,{form:kt,answerKey:na,hackIdentifier:Qn,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:gt.createElement("i",{className:"iconfont icon-ceshi"}),style:{background:"rgba(55,173,131,0.05)",borderRadius:19,border:"1px solid #37AD83",width:116,height:38,display:"inline-flex",fontSize:14,alignItems:"center",justifyContent:"center",marginTop:20,cursor:"pointer",color:"#37AD83"}}}))}},40260:function(yt,_t,oe){"use strict";oe.d(_t,{u:function(){return ie}});var b=oe(59301),he=oe(95237),De=oe(43604),Ae=oe(6848),ke=oe(78241),ze=oe(59489),xe=oe(32134),tt=oe(12893),Me=oe(89314),Le=oe(59301),_e=Object.defineProperty,He=Object.defineProperties,Je=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(Se,be,We)=>be in Se?_e(Se,be,{enumerable:!0,configurable:!0,writable:!0,value:We}):Se[be]=We,y=(Se,be)=>{for(var We in be||(be={}))E.call(be,We)&&x(Se,We,be[We]);if(le)for(var We of le(be))a.call(be,We)&&x(Se,We,be[We]);return Se},z=(Se,be)=>He(Se,Je(be)),te=(Se,be)=>{var We={};for(var Ne in Se)E.call(Se,Ne)&&be.indexOf(Ne)<0&&(We[Ne]=Se[Ne]);if(Se!=null&&le)for(var Ne of le(Se))be.indexOf(Ne)<0&&a.call(Se,Ne)&&(We[Ne]=Se[Ne]);return We};const ae=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],se=({value:Se,onChange:be,choiceTextKey:We,answerKey:Ne,index:mt,isEdit:Re,setInputActive:Xe,form:Qe,choiceOptionsPath:et,allowChangeMode:we,showAddIcon:ht,addItem:ct,deleteItem:It})=>{console.log(Se,"value");const gt=(Se==null?void 0:Se[Ne])===1,Pn=()=>{const Wt=Qe.getFieldValue(et);Qe.setFieldValue(et,Wt.map(Tt=>z(y({},Tt),{[Ne]:0})))},an=()=>{gt?be(z(y({},Se),{[Ne]:0})):(we||Pn(),be(z(y({},Se),{[Ne]:1})))};return Le.createElement(he.Z,{className:ze.Z.choiceWrap,align:"middle",wrap:!1},Le.createElement(De.Z,{onClick:an,className:`${ze.Z.choiceIndex} ${gt?ze.Z.activeAnswer:""}`},ae[mt]),Le.createElement(De.Z,{flex:1,className:`${ze.Z.editorWrap} ml15`,onClick:Xe},Le.createElement(Me.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:Re,value:Se==null?void 0:Se[We],onChange:Wt=>{be(z(y({},Se),{[We]:Wt}))}})),Le.createElement(De.Z,{flex:"0 0 auto",className:"ml15"},Le.createElement("div",{onClick:an,className:`${ze.Z.setAnswerBtn} ${gt?ze.Z.activeAnswer:""}`},gt?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),Le.createElement(De.Z,{className:ze.Z.actionWrapper},Le.createElement(Ae.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},Le.createElement(xe.Z,{className:ze.Z.addIcon,onClick:ct,style:{visibility:ht?"visible":"hidden"}})),Le.createElement(Ae.Z,{title:"\u5220\u9664"},Le.createElement(tt.Z,{className:ze.Z.deleteIcon,onClick:It,style:{visibility:mt>1?"visible":"hidden"}}))))},ie=({questionTitlePlaceholder:Se,titleKey:be,choiceKey:We,analysisKey:Ne,choiceTextKey:mt,answerKey:Re,choiceOptionsPath:Xe,allowChangeMode:Qe=!0,form:et,showAnalysis:we=!0})=>{const[ht,ct]=(0,b.useState)(),[It,gt]=(0,b.useState)(!1);return Le.createElement("div",{className:ze.Z.wrap},Le.createElement("div",{className:ze.Z.questionTitleEditorWrap},Le.createElement(ke.default.Item,{label:"\u9898\u5E72",name:be,labelCol:{span:24},rules:[{required:!0}]},Le.createElement(Me.h,{scrollId:Array.isArray(be)?be.join("_"):`${be}`,watch:!0,height:140,placeholder:Se}))),Le.createElement(ke.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),Le.createElement(ke.default.List,{name:We,rules:[{validator(Pn,an){const Wt=an.some(Te=>Te[Re]===1),Tt=an.findIndex(Te=>{var ot;return((ot=Te[mt])==null?void 0:ot.length)<=0});return Tt!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${ae[Tt]}\u9009\u9879\u7684\u5185\u5BB9`)):Wt?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(Pn,{add:an,remove:Wt})=>Le.createElement("div",{id:Array.isArray(Xe)?Xe.join("_"):`${Xe}`},Pn.map((Tt,Te)=>{var ot=Tt,{key:Qt,name:An}=ot,Bt=te(ot,["key","name"]);const un=ht===Qt,Ce=()=>{ct(Qt)},ut=Te<7&&Te===Pn.length-1,Xt=()=>an({[mt]:"",[Re]:0}),nt=()=>Wt(An);return Le.createElement(ke.default.Item,z(y({},Bt),{key:Qt,name:An,className:ze.Z.choiceListWrap,rules:[{validator(Pt,kn){return kn!=null&&kn.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${ae[Te]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),Le.createElement(se,{choiceTextKey:mt,answerKey:Re,index:Te,isEdit:un,setInputActive:Ce,form:et,choiceOptionsPath:Xe,allowChangeMode:Qe,showAddIcon:ut,addItem:Xt,deleteItem:nt}))}),Pn.length<8&&Le.createElement("div",{className:`${ze.Z.addBtn} mb30`,onClick:()=>an({[mt]:"",[Re]:0})},"\u6DFB\u52A0\u9009\u9879"))),we&&Le.createElement("div",{onClick:()=>gt(!0)},Le.createElement(ke.default.Item,{name:Ne,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Le.createElement(Me.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:It}))))}},95062:function(yt,_t,oe){"use strict";oe.d(_t,{u:function(){return Qe}});var b=oe(59301),he=oe(43418),De=oe(95237),Ae=oe(43604),ke=oe(92832),ze=oe(6848),xe=oe(78673),tt=oe(78241),Me=oe(5112),Le=oe(5871),_e=oe(89314),He=oe(12893),Je=oe(61485),le=oe(59489),E=oe(24302),a=oe(59301),x=Object.defineProperty,y=Object.defineProperties,z=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ie=(et,we,ht)=>we in et?x(et,we,{enumerable:!0,configurable:!0,writable:!0,value:ht}):et[we]=ht,Se=(et,we)=>{for(var ht in we||(we={}))ae.call(we,ht)&&ie(et,ht,we[ht]);if(te)for(var ht of te(we))se.call(we,ht)&&ie(et,ht,we[ht]);return et},be=(et,we)=>y(et,z(we)),We=(et,we)=>{var ht={};for(var ct in et)ae.call(et,ct)&&we.indexOf(ct)<0&&(ht[ct]=et[ct]);if(et!=null&&te)for(var ct of te(et))we.indexOf(ct)<0&&se.call(et,ct)&&(ht[ct]=et[ct]);return ht};const Ne=({value:et,onChange:we})=>{const ht=It=>{he.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:le.Z.modal,onOk:()=>{const gt=[...et];gt.splice(It,1),we(gt)}})},ct=()=>{const It=[...et];It.push(""),we(It)};return a.createElement(De.Z,{className:"ml20"},a.createElement(Ae.Z,{flex:1},et==null?void 0:et.map((It,gt)=>a.createElement(De.Z,{key:`${It}_${gt}`,className:"mb20"},a.createElement(ke.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:It,autoSize:{maxRows:3},maxLength:1e3,onBlur:Pn=>{const an=[...et],Wt=Pn.target.value.trim();an[gt]=Wt,we(an)}}),a.createElement(ze.Z,{title:"\u5220\u9664"},a.createElement(He.Z,{className:le.Z.deleteIcon,style:{marginLeft:15,visibility:gt>0?"visible":"hidden"},onClick:()=>ht(gt)}))))),a.createElement(Ae.Z,null,a.createElement("div",{className:`${le.Z.addBtn}`,onClick:()=>{ct()}},"\u65B0\u589E\u7B54\u6848")))},mt=({value:et,onChange:we})=>{const ht=It=>{he.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:le.Z.modal,onOk:()=>{const gt=[...et];gt.splice(It,1),we(gt)}})},ct=()=>{const It=[...et];It.push(""),we(It)};return a.createElement(De.Z,{className:"ml20"},a.createElement(Ae.Z,{flex:1},et==null?void 0:et.map((It,gt)=>a.createElement(De.Z,{key:`${It}_${gt}`,align:"middle",className:"mb20"},a.createElement(E.Z,{value:It,style:{flex:1},onChange:Pn=>{const an=[...et];an[gt]=Pn,we(an)}}),a.createElement(ze.Z,{title:"\u5220\u9664"},a.createElement(He.Z,{className:le.Z.deleteIcon,style:{marginLeft:15,visibility:gt>0?"visible":"hidden"},onClick:()=>ht(gt)}))))),a.createElement(Ae.Z,null,a.createElement("div",{className:`${le.Z.addBtn}`,onClick:()=>{ct()}},"\u65B0\u589E\u7B54\u6848")))},Re=({value:et=!0,onChange:we})=>a.createElement(xe.Z,{checked:!et,onChange:ht=>{we(!ht)}}),Xe="\u2581",Qe=({questionTitlePlaceholder:et,form:we,scoreByBlank:ht=!1,answerKey:ct})=>{const[It,gt]=(0,b.useState)(!1),Pn=(Bt,un)=>{const Ce=un.line;let ut=0;for(let nt=0;nt{const Xt=Bt.getRange(un.from,un.to);let nt=0;if(un.text.forEach(Pt=>{nt+=Pt.split(Xe).length-1}),un.origin!=="setValue"){if(Xt&&Xt.indexOf(Xe)!==-1){const Pt=Xt.split(Xe).length-1,kn=Pn(Bt,un.from);if(console.log(`\u5220\u9664${Pt}\u4E2A\uFF0C \u524D\u9762\u6709${kn}\u4E2A\uFF0C\u65B0\u589E${nt}\u4E2A`),Pt>1){const dn=Array.from({length:Pt},(kt,Rt)=>kn+Rt);ut(dn)}else ut(kn)}else if(nt>0){const Pt=Pn(Bt,un.from);console.log(`\u65B0\u589E${nt}\u4E2A\uFF0C\u4E4B\u524D\u6709${Pt}\u4E2A`),Ce(nt,Pt)}}},Wt=()=>{const Bt=we.getFieldValue(ct);we.setFieldsValue({[ct]:Bt.map((un,Ce)=>be(Se({},un),{position:Ce+1}))})},Tt=(0,b.useRef)(),Te=(Bt,un)=>{for(let Ce=0;Ce{ot.current(Bt),Wt()},An=tt.default.useWatch(ct,we);return a.createElement("div",{className:le.Z.wrap},a.createElement("div",{className:le.Z.questionTitleEditorWrap},a.createElement(tt.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},a.createElement(_e.h,{scrollId:"name",watch:!0,height:140,placeholder:et,showNullButton:!0,onCMBeforeChange:(Bt,un)=>{an(Bt,un,Te,Qt)}}))),a.createElement(tt.default.List,{name:ct,rules:[{validator(Bt,un){if(!(un!=null&&un.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Ce of un){const{answer_text:ut}=Ce||{};if(ut!=null&&ut.some(Xt=>(Xt==null?void 0:Xt.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Bt,{add:un,remove:Ce},{errors:ut})=>(Tt.current=un,ot.current=Ce,a.createElement(a.Fragment,null,a.createElement(tt.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Bt!=null&&Bt.length)&&a.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),Bt.map((Xt,nt)=>{var Pt=Xt,{key:kn,name:dn}=Pt,kt=We(Pt,["key","name"]),Rt,Qn;return a.createElement("div",{style:{marginBottom:10},key:kn},a.createElement(De.Z,{className:"mb20",align:"middle",wrap:!1},a.createElement(Ae.Z,{style:{marginRight:10},flex:"0 0 auto",className:`${le.Z.blankIndex}`},"\u586B\u7A7A\u9879",nt+1),a.createElement(tt.default.Item,be(Se({},kt),{name:[dn,"model"],noStyle:!0}),a.createElement(Me.ZP.Group,{onChange:()=>{const na=we.getFieldValue(ct);we.setFieldsValue({[ct]:na.map((tn,Fa)=>be(Se({},tn),{answer_text:dn===Fa?[""]:tn.answer_text}))})}},a.createElement(Me.ZP,{value:1},"\u6587\u672C\u6A21\u5F0F ",a.createElement(ze.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6587\u672C\u7B54\u6848"},a.createElement(Je.Z,null))),a.createElement(Me.ZP,{value:2},"\u6570\u5B66\u516C\u5F0F\u6A21\u5F0F ",a.createElement(ze.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u7F16\u5199\u6570\u5B66\u516C\u5F0F\u4F5C\u4E3A\u7B54\u6848"},a.createElement(Je.Z,null)))))),a.createElement(De.Z,{style:{marginLeft:20},align:"middle",wrap:!1},a.createElement(Ae.Z,{flex:1},a.createElement(De.Z,{align:"top",justify:"space-between",wrap:!1},a.createElement(Ae.Z,{flex:1},a.createElement(tt.default.Item,be(Se({},kt),{name:[dn,"answer_text"],noStyle:!0}),((Qn=(Rt=we.getFieldValue(ct))==null?void 0:Rt[dn])==null?void 0:Qn.model)===1?a.createElement(Ne,null):a.createElement(mt,null))),ht&&a.createElement(Ae.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement(tt.default.Item,be(Se({},kt),{name:[dn,"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(Se({},kt),{name:[dn,"position"],noStyle:!0}),a.createElement(ke.default,{type:"hidden"})))))})))),a.createElement(De.Z,{align:"middle"},a.createElement(tt.default.Item,{name:"downcase",valuePropName:"checked"},a.createElement(xe.Z,null)),a.createElement(Ae.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),a.createElement(De.Z,{align:"middle"},a.createElement(tt.default.Item,{name:"no_space",valuePropName:"checked"},a.createElement(xe.Z,null)),a.createElement(Ae.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(An==null?void 0:An.length)>1&&a.createElement(De.Z,{align:"middle",className:(An==null?void 0:An.length)>1?"mb30":`${le.Z.hide}`},a.createElement(tt.default.Item,{name:"is_ordered"},a.createElement(Re,null)),a.createElement(Ae.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),a.createElement("div",{onClick:()=>gt(!0)},a.createElement(tt.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},a.createElement(_e.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:It}))))}},42784:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return te}});var b=oe(59301),he=oe(95237),De=oe(43604),Ae=oe(78241),ke=oe(59489),ze=oe(89314),xe=oe(59301),tt=Object.defineProperty,Me=Object.defineProperties,Le=Object.getOwnPropertyDescriptors,_e=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,le=(ae,se,ie)=>se in ae?tt(ae,se,{enumerable:!0,configurable:!0,writable:!0,value:ie}):ae[se]=ie,E=(ae,se)=>{for(var ie in se||(se={}))He.call(se,ie)&&le(ae,ie,se[ie]);if(_e)for(var ie of _e(se))Je.call(se,ie)&&le(ae,ie,se[ie]);return ae},a=(ae,se)=>Me(ae,Le(se)),x=(ae,se)=>{var ie={};for(var Se in ae)He.call(ae,Se)&&se.indexOf(Se)<0&&(ie[Se]=ae[Se]);if(ae!=null&&_e)for(var Se of _e(ae))se.indexOf(Se)<0&&Je.call(ae,Se)&&(ie[Se]=ae[Se]);return ie};const y={\u6B63\u786E:"T",\u9519\u8BEF:"F"},z=({value:ae,onChange:se,form:ie})=>{const Se=(ae==null?void 0:ae.is_answer)===1,be=ae==null?void 0:ae.choice_text,We=()=>{const Ne=ie.getFieldsValue().choices.map(mt=>({choice_text:mt.choice_text,is_answer:0}));ie.setFieldsValue({choices:Ne}),se(a(E({},ae),{is_answer:1}))};return xe.createElement(he.Z,{className:ke.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},xe.createElement(De.Z,{onClick:We,className:`${ke.Z.choiceIndex} ${ke.Z.judgementIndex} ${Se?ke.Z.activeAnswer:""}`},y[be]),xe.createElement(De.Z,{flex:1,className:`${ke.Z.editorWrap} ml15`},xe.createElement("div",{className:`${ke.Z.inputBorder} ${ke.Z.placeholder} ${Se?ke.Z.activeJudgementAnswer:""}`},be)),xe.createElement(De.Z,{flex:"0 0 auto",className:"ml15"},xe.createElement("div",{onClick:We,className:`${ke.Z.setAnswerBtn} ${Se?ke.Z.activeAnswer:""}`},Se?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},te=({questionTitlePlaceholder:ae,choiceKey:se,form:ie})=>{const[Se,be]=(0,b.useState)(!1);return xe.createElement("div",{className:ke.Z.wrap},xe.createElement("div",{className:ke.Z.questionTitleEditorWrap},xe.createElement(Ae.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},xe.createElement(ze.h,{scrollId:"name",watch:!0,height:140,placeholder:ae}))),xe.createElement(Ae.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},xe.createElement(Ae.default.List,{name:"choices",rules:[{validator(We,Ne){return Ne.some(Re=>(Re==null?void 0:Re.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},We=>xe.createElement("div",{id:"choices"},We.map(Ne=>{var mt=Ne,{key:Re,name:Xe}=mt,Qe=x(mt,["key","name"]);return xe.createElement(Ae.default.Item,a(E({},Qe),{key:Re,name:Xe,noStyle:!0}),xe.createElement(z,{form:ie}))})))),xe.createElement("div",{onClick:()=>be(!0)},xe.createElement(Ae.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},xe.createElement(ze.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Se}))))}},89314:function(yt,_t,oe){"use strict";oe.d(_t,{h:function(){return E},x:function(){return a}});var b=oe(4213),he=oe(59489),De=oe(98573),Ae=oe(59301),ke=Object.defineProperty,ze=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,_e=(x,y,z)=>y in x?ke(x,y,{enumerable:!0,configurable:!0,writable:!0,value:z}):x[y]=z,He=(x,y)=>{for(var z in y||(y={}))Me.call(y,z)&&_e(x,z,y[z]);if(tt)for(var z of tt(y))Le.call(y,z)&&_e(x,z,y[z]);return x},Je=(x,y)=>ze(x,xe(y)),le=(x,y)=>{var z={};for(var te in x)Me.call(x,te)&&y.indexOf(te)<0&&(z[te]=x[te]);if(x!=null&&tt)for(var te of tt(x))y.indexOf(te)<0&&Le.call(x,te)&&(z[te]=x[te]);return z};const E=x=>{var y=x,{value:z,onChange:te,scrollId:ae}=y,se=le(y,["value","onChange","scrollId"]);return Ae.createElement("div",{id:ae||""},Ae.createElement(b.Z,Je(He({},se),{defaultValue:z,onChange:(ie,Se)=>{Se!=null&&Se.length?te(ie,Se):te(ie)}})))},a=({value:x,onChange:y,placeholder:z,height:te=140,isEdit:ae,miniToolbar:se,watch:ie=!0})=>ae?Ae.createElement(b.Z,{watch:ie,isFocus:!0,height:te||void 0,placeholder:z,defaultValue:x,onChange:y,miniToolbar:se}):Ae.createElement("div",{style:{cursor:"pointer"}},x?Ae.createElement(De.Z,{className:he.Z.inputBorder,value:x}):Ae.createElement("div",{className:`${he.Z.inputBorder} ${he.Z.placeholder} inputBorderError`},z))},12796:function(yt,_t,oe){"use strict";oe.d(_t,{W:function(){return mt}});var b=oe(59301),he=oe(8591),De=oe(12563),Ae=oe(78241),ke=oe(78673),ze=oe(95237),xe=oe(43604),tt=oe(6848),Me=oe(92832),Le=oe(5871),_e=oe(59489),He=oe(89314),Je=oe(4213),le=oe(61485),E=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,ae=(Re,Xe,Qe)=>Xe in Re?E(Re,Xe,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):Re[Xe]=Qe,se=(Re,Xe)=>{for(var Qe in Xe||(Xe={}))z.call(Xe,Qe)&&ae(Re,Qe,Xe[Qe]);if(y)for(var Qe of y(Xe))te.call(Xe,Qe)&&ae(Re,Qe,Xe[Qe]);return Re},ie=(Re,Xe)=>a(Re,x(Xe)),Se=(Re,Xe)=>{var Qe={};for(var et in Re)z.call(Re,et)&&Xe.indexOf(et)<0&&(Qe[et]=Re[et]);if(Re!=null&&y)for(var et of y(Re))Xe.indexOf(et)<0&&te.call(Re,et)&&(Qe[et]=Re[et]);return Qe};const be=Re=>{var Xe=Re,{value:Qe,onChange:et}=Xe,we=Se(Xe,["value","onChange"]);const ht=ct=>{et([ct])};return b.createElement(Je.Z,ie(se({},we),{defaultValue:Qe==null?void 0:Qe[0],onChange:ht}))},We=Re=>{if(!Re)return!1;if(/^s*$/.test(Re)||Re.trim()===""){he.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let Xe=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return Re==="|"?(he.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Ne=({value:Re=[],onClose:Xe})=>b.createElement(De.default,{closable:!0,onClose:Xe,className:_e.Z.keywordTag},b.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},Re.join(" \u6216 "))),mt=({questionTitlePlaceholder:Re,form:Xe,showKeywords:Qe,isMustKeyWords:et=Qe})=>{const[we,ht]=(0,b.useState)(!1),[ct,It]=(0,b.useState)(""),gt=Ae.default.useWatch("use_keywords",Xe),Pn=Ae.default.useWatch("question_score",Xe);return b.createElement("div",{className:_e.Z.wrap},b.createElement("div",{className:_e.Z.questionTitleEditorWrap},b.createElement(Ae.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},b.createElement(He.h,{scrollId:"name",watch:!0,height:140,placeholder:Re}))),b.createElement(Ae.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},b.createElement(be,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Qe&&!et&&b.createElement(Ae.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},b.createElement(ke.Z,{defaultChecked:!0})),Qe&&et&&b.createElement(ze.Z,{align:"middle",className:"mb30"},b.createElement(Ae.default.Item,{name:"use_keywords",valuePropName:"checked"},b.createElement(ke.Z,null)),b.createElement(xe.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),b.createElement(xe.Z,null,b.createElement(tt.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},b.createElement(le.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(gt||!et)&&b.createElement(Ae.default.List,{name:"keywords",rules:[{validator(an,Wt){return et?Wt!=null&&Wt.length?(Wt==null?void 0:Wt.reduce((Te,ot)=>Te+ot.score,0))>parseFloat(Pn)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},(an,{add:Wt,remove:Tt})=>b.createElement(b.Fragment,null,b.createElement("div",{className:`${_e.Z.title} mb10`},et?"\u5173\u952E\u8BCD":b.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),b.createElement(ze.Z,{align:"middle",className:"font14 mb30"},b.createElement(xe.Z,{flex:1},b.createElement(Me.default,{value:ct,onChange:Te=>{It(Te.target.value)},maxLength:50,allowClear:!0,onPressEnter:Te=>{var ot,Qt,An,Bt;const un=`${(ot=Te.target)==null?void 0:ot.value}`,Ce=(An=(Qt=un==null?void 0:un.split("|"))==null?void 0:Qt.filter(nt=>!!nt))==null?void 0:An.map(nt=>nt==null?void 0:nt.trim()),ut=Xe.getFieldValue("keywords"),Xt=((Bt=ut==null?void 0:ut.map(nt=>nt==null?void 0:nt.keyword))==null?void 0:Bt.flat())||[];for(const nt of Ce)if(Xt.includes(nt)){he.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}We(un)&&(Wt({keyword:Ce,score:1}),It(""))},className:_e.Z.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),b.createElement(xe.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),an.map(Te=>{var ot=Te,{key:Qt,name:An}=ot,Bt=Se(ot,["key","name"]);return b.createElement(ze.Z,{key:Qt,className:"mb20",style:{marginRight:148}},b.createElement(xe.Z,{flex:1},b.createElement(ze.Z,{align:"middle",justify:"space-between"},b.createElement(Ae.default.Item,ie(se({},Bt),{name:[An,"keyword"]}),b.createElement(Ne,{onClose:()=>Tt(An)})),et&&b.createElement(Ae.default.Item,ie(se({},Bt),{name:[An,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:_e.Z.blankInputNumberWrapper}),b.createElement(Le.Z,{className:_e.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),b.createElement("div",{onClick:()=>ht(!0)},b.createElement(Ae.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(He.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:we}))))}},20135:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return ke}});var b={text:"text___bQulM",sup:"sup___rX_Y3"},he=oe(78241),De=oe(59301),ke=({text:ze,name:xe="question_score"})=>{const tt=({value:Me})=>De.createElement("div",{className:b.text},De.createElement("span",{className:b.sup},"*"),De.createElement("span",{className:"mr10"},"\u5206\u503C"),De.createElement("span",null,Me||"--"),De.createElement("span",{className:"c-grey-999"},ze));return De.createElement(he.default.Item,{noStyle:!0,name:xe},De.createElement(tt,null))}},56636:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return We},P:function(){return ie}});var b=oe(59301),he=oe(78241),De=oe(43418),Ae=oe(5112),ke=oe(92832),ze=oe(1710),xe={brief:"brief___LOzpE",contentTitle:"contentTitle___xkdcN",content:"content___Vtri0",tips:"tips___tuAtH",antdTable:"antdTable___s8T2N",tableCell:"tableCell___kN9Fw",antdModal:"antdModal___WVBk3",orangeColor:"orangeColor___ryB2u"},tt=oe(84698),Me=Object.defineProperty,Le=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,He=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,E=(Ne,mt,Re)=>mt in Ne?Me(Ne,mt,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ne[mt]=Re,a=(Ne,mt)=>{for(var Re in mt||(mt={}))Je.call(mt,Re)&&E(Ne,Re,mt[Re]);if(He)for(var Re of He(mt))le.call(mt,Re)&&E(Ne,Re,mt[Re]);return Ne},x=(Ne,mt)=>Le(Ne,_e(mt)),y=(Ne,mt)=>{var Re={};for(var Xe in Ne)Je.call(Ne,Xe)&&mt.indexOf(Xe)<0&&(Re[Xe]=Ne[Xe]);if(Ne!=null&&He)for(var Xe of He(Ne))mt.indexOf(Xe)<0&&le.call(Ne,Xe)&&(Re[Xe]=Ne[Xe]);return Re},z=(Ne,mt,Re)=>new Promise((Xe,Qe)=>{var et=ct=>{try{ht(Re.next(ct))}catch(It){Qe(It)}},we=ct=>{try{ht(Re.throw(ct))}catch(It){Qe(It)}},ht=ct=>ct.done?Xe(ct.value):Promise.resolve(ct.value).then(et,we);ht((Re=Re.apply(Ne,mt)).next())});const te=({studentNames:Ne,total:mt})=>{const Re=["","\u4E00","\u4E24","\u4E09"];return mt>3?b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:xe.orangeColor},Ne==null?void 0:Ne.join("\u3001")),"\u7B49",b.createElement("span",{className:xe.orangeColor},mt),"\u540D\u5B66\u751F"):b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:xe.orangeColor},Ne==null?void 0:Ne.join("\u3001")),Re[mt],"\u540D\u5B66\u751F")},ae=({used:Ne,copy:mt,canNotCopy:Re,studentNames:Xe,studentCount:Qe,inPaper:et,is_random:we=!1,position:ht=""})=>{const ct=()=>{if(mt>0&&Re>0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:xe.orangeColor},mt),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C",b.createElement("span",{className:xe.orangeColor},Re),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236");if(mt>0&&Re===0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:xe.orangeColor},mt),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236");if(mt===0&&Re>0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:xe.orangeColor},Re),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236")},It=ht||(et?"\u8BD5\u5377":"\u8BFE\u7A0B");return b.createElement("span",null,b.createElement(te,{studentNames:Xe,total:Qe}),"\u5B66\u4E60\u8FC7",It,"\u4E2D\u7684",b.createElement("span",{className:xe.orangeColor},Ne),"\u4E2A\u9879\u76EE\uFF0C",ct(),"\u3002\u8BF7\u9009\u62E9",we?"":"\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C","\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")},se=({onCancel:Ne,onOk:mt,visible:Re,inPaper:Xe,renderData:Qe,type:et,isMultipleCourse:we=!1})=>{const[ht]=he.default.useForm(),[ct,It]=(0,b.useState)(1),[gt,Pn]=(0,b.useState)(!1),an=(0,b.useMemo)(()=>(Qe==null?void 0:Qe.total_num)===1&&(Qe==null?void 0:Qe.can_copy_num)===1,[Qe]),Wt=(0,b.useMemo)(()=>{var Tt;return(Tt=Qe==null?void 0:Qe.course_data_list)==null?void 0:Tt.filter(Te=>Te.is_show)},[Qe]);return b.createElement(b.Fragment,null,an?b.createElement(De.default,{centered:!0,closable:!0,open:Re,destroyOnClose:!0,title:"\u63D0\u793A",className:xe.antdModal,width:682,confirmLoading:gt,onCancel:Ne,onOk:()=>z(void 0,null,function*(){var Tt;Pn(!0);let Te=ct;if(we){const ot=a({},ht.getFieldsValue());Te=(Tt=Qe==null?void 0:Qe.course_data_list)==null?void 0:Tt.map(Qt=>ot[Qt.id]!==void 0?x(a({},Qt),{is_copy:ot[Qt.id]}):Qt)}yield mt(Te),Pn(!1)})},b.createElement("div",{className:xe.content,style:{marginBottom:20}},we?"\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5DF2\u5728\u6559\u5B66\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u8BF7\u95EE\u662F\u5426\u590D\u5236\u6210\u65B0\u7684\u5B9E\u8BAD\u53D1\u9001\u81F3\u6559\u5B66\u8BFE\u5802\u4E2D?":b.createElement(b.Fragment,null,b.createElement(te,{studentNames:Qe==null?void 0:Qe.student_names,total:Qe==null?void 0:Qe.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u8BF7\u9009\u62E9\u662F\u5426\u5C06\u8BE5\u9879\u76EE\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")),we?b.createElement(he.default,{form:ht,preserve:!1},Wt==null?void 0:Wt.map(Tt=>b.createElement(b.Fragment,{key:Tt.id},b.createElement("h3",{className:"ml15 mb5"},Tt.name),b.createElement(he.default.Item,{name:Tt.id,initialValue:1},b.createElement(Ae.ZP.Group,{className:xe.content},b.createElement(Ae.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236\u5B9E\u8BAD"),b.createElement(Ae.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236\u5B9E\u8BAD")))))):b.createElement(Ae.ZP.Group,{value:ct,onChange:Tt=>It(Tt.target.value),className:xe.content,style:{marginBottom:30}},b.createElement(Ae.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236"),b.createElement(Ae.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236")),b.createElement("div",null,b.createElement("div",{className:xe.content,style:{marginBottom:10}},"* \u8BF4\u660E\uFF1A"),b.createElement("div",{className:xe.content,style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),b.createElement("div",{className:`${xe.content} ${xe.orangeColor}`},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"))):b.createElement(De.default,{centered:!0,closable:!0,destroyOnClose:!0,open:Re,confirmLoading:gt,title:"\u63D0\u793A",width:682,onCancel:Ne,onOk:()=>z(void 0,null,function*(){var Tt;Pn(!0);let Te=0;if(we){const ot=a({},ht.getFieldsValue());Te=(Tt=Qe==null?void 0:Qe.course_data_list)==null?void 0:Tt.map(Qt=>ot[Qt.id]!==void 0?x(a({},Qt),{is_use:ot[Qt.id]}):Qt)}yield mt(Te),Pn(!1)})},b.createElement("div",{className:xe.content},b.createElement(te,{studentNames:Qe==null?void 0:Qe.student_names,total:Qe==null?void 0:Qe.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002",we?b.createElement(he.default,{form:ht,preserve:!1},b.createElement("h3",null,"\u5F53\u524D\u5B9E\u8BAD\u4E0D\u53EF\u590D\u5236\uFF0C\u5DF2\u7ECF\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5B58\u5728\u8BE5\u5B9E\u8BAD\uFF0C\u540C\u4E00\u5B9E\u8BAD\u5728\u8BFE\u5802\u4E2D\u91CD\u590D\u4F7F\u7528\u65F6\uFF0C\u4F1A\u5BFC\u81F4\u6210\u7EE9\u4E92\u76F8\u5F71\u54CD\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u7EE7\u7EED\u4F7F\u7528"),Wt==null?void 0:Wt.map(Tt=>b.createElement(b.Fragment,{key:Tt.id},b.createElement("h3",{className:"ml15 mb5"},Tt.name),b.createElement(he.default.Item,{name:Tt.id,initialValue:1},b.createElement(Ae.ZP.Group,{className:xe.content},b.createElement(Ae.ZP,{value:1,style:{color:"#464f66"}},"\u7EE7\u7EED\u4F7F\u7528"),b.createElement(Ae.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u4F7F\u7528")))))):b.createElement("div",null,"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u82E5\u786E\u8BA4\u7EE7\u7EED\u53D1\u9001\uFF0C",b.createElement("span",{className:xe.orangeColor},"\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"),"\uFF08\u5982\u679C\u4E0D\u60F3\u6E05\u7A7A\u5B66\u751F\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u5EFA\u8BAE\u53C2\u7167\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u5185\u5BB9\u81EA\u884C\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u6216\u8005\u5C1D\u8BD5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u4EBA\u5F00\u653E\u672C\u9879\u76EE\u7684\u590D\u5236\u6743\u9650\uFF09\u3002"))))},ie=function(){const[Ne,mt]=(0,b.useState)(!1),[Re,Xe]=(0,b.useState)();return[Ne,()=>mt(!1),Re,we=>z(this,null,function*(){var ht;const ct=we,{isImportMultipleCourse:It=!1}=ct,gt=y(ct,["isImportMultipleCourse"]);console.log(we);const Pn=(we==null?void 0:we.result)||(yield(0,tt.Tr)(gt));return"status"in Pn?!1:It?((ht=Pn==null?void 0:Pn.course_data_list)==null?void 0:ht.some(Wt=>Wt.is_show))?(Xe(Pn),mt(!0),!0):Pn.course_data_list||[]:Pn.student_count===0?!1:(Xe(Pn),mt(!0),!0)})]},Se=Ne=>{const[mt]=he.default.useForm(),[Re,Xe]=(0,b.useState)(!1),{onCancel:Qe,onOk:et,visible:we,inPaper:ht=!1,renderData:ct,type:It,isMultipleCourse:gt=!1,position:Pn}=Ne;let an=(0,b.useMemo)(()=>ht?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:xe.tableCell,render(Te,ot){return b.createElement("a",{href:`/shixuns/${ot.identifier}/challenges`,target:"_blank"},Te)}},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(Te,ot)=>b.createElement(b.Fragment,null,b.createElement(he.default.Item,{name:[`${It==="subject"?ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_copy"],initialValue:1},b.createElement(Ae.ZP.Group,null,b.createElement(Ae.ZP,{value:1},"\u662F"),b.createElement(Ae.ZP,{value:0},"\u5426"))),b.createElement(he.default.Item,{name:[`${It==="subject"?ot==null?void 0:ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(ke.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:xe.tableCell,render(Te,ot){return b.createElement("a",{href:`/shixuns/${ot.identifier}/challenges`,target:"_blank"},Te)}},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(Te,ot)=>b.createElement(he.default.Item,{name:[`${It==="subject"?ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_use"],initialValue:1},b.createElement(Ae.ZP.Group,null,b.createElement(Ae.ZP,{value:1},"\u662F"),b.createElement(Ae.ZP,{value:0},"\u5426")))},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(Te,ot)=>b.createElement(he.default.Item,{name:[`${It==="subject"?ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_copy"],initialValue:1},b.createElement(Ae.ZP.Group,null,b.createElement(Ae.ZP,{value:1},"\u662F"),b.createElement(Ae.ZP,{value:0},"\u5426")))}],[ht]),Wt=(0,b.useMemo)(()=>ht?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:xe.tableCell,align:"center",ellipsis:!0,render:(Te,ot)=>b.createElement(b.Fragment,null,b.createElement("a",{href:`/shixuns/${ot.identifier}/challenges`,target:"_blank"},Te),b.createElement(he.default.Item,{name:[`${It==="subject"?ot==null?void 0:ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(ke.default,{type:"hidden"})),b.createElement(he.default.Item,{name:[`${It==="subject"?ot==null?void 0:ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(ke.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:xe.tableCell,ellipsis:!0,align:"center",render:(Te,ot)=>b.createElement("a",{href:`/shixuns/${ot.identifier}/challenges`,target:"_blank"},Te)},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(Te,ot)=>b.createElement(b.Fragment,null,b.createElement(he.default.Item,{name:[`${It==="subject"?ot==null?void 0:ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_use"],initialValue:0},b.createElement(Ae.ZP.Group,null,b.createElement(Ae.ZP,{value:1},"\u662F"),b.createElement(Ae.ZP,{value:0},"\u5426"))),b.createElement(he.default.Item,{name:[`${It==="subject"?ot==null?void 0:ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(ke.default,{type:"hidden"})))}],[ht]);if(gt){const Te={title:"\u8BFE\u5802\u540D\u79F0",ellipsis:!0,dataIndex:"course_name",width:190,align:"center",className:xe.tableCell,render:(ot,Qt)=>b.createElement("a",{href:`/classrooms/${Qt.course_id}`},ot)};an=[Te,...an],Wt=[Te,...Wt]}const Tt=(0,b.useMemo)(()=>ae({used:ct==null?void 0:ct.repeat_shixun_num,copy:ct==null?void 0:ct.can_copy_num,canNotCopy:ct==null?void 0:ct.no_copy_num,studentNames:ct==null?void 0:ct.student_names,studentCount:ct==null?void 0:ct.student_count,is_random:ct==null?void 0:ct.is_random,inPaper:ht,position:Pn}),[ct,ht,Pn]);return b.createElement(De.default,{title:"\u63D0\u793A",centered:!0,open:we,confirmLoading:Re,onOk:()=>z(void 0,null,function*(){Xe(!0);const Te=mt.getFieldsValue(),ot=Object.keys(Te).map(Qt=>({id:parseInt(Qt.split("_")[0]),course_id:parseInt(Qt.split("_")[1]),is_use:Te[Qt].is_use,is_copy:Te[Qt].is_copy}));yield et(ot),Xe(!1)}),onCancel:Qe,width:880,okText:"\u786E\u8BA4",className:xe.antdModal,destroyOnClose:!0},b.createElement(he.default,{form:mt,preserve:!1},b.createElement("div",{className:xe.brief},Tt),b.createElement("div",{style:{marginBottom:30}},b.createElement("div",{style:{marginBottom:20}},"* \u8BF4\u660E"),b.createElement("div",{style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),b.createElement("div",{className:xe.orangeColor},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002")),(ct==null?void 0:ct.can_copy_num)>0&&b.createElement("div",null,b.createElement("div",{className:xe.contentTitle},"\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),b.createElement(ze.default,{columns:an,className:xe.antdTable,dataSource:ct==null?void 0:ct.can_copy_list,rowKey:It==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:240},bordered:!0})),(ct==null?void 0:ct.no_copy_num)>0&&b.createElement("div",null,b.createElement("div",{className:xe.contentTitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),b.createElement(ze.default,{columns:Wt,className:xe.antdTable,dataSource:ct==null?void 0:ct.no_copy_list,rowKey:It==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:200},bordered:!0})),(ct==null?void 0:ct.no_use_list.length)>0&&(ct==null?void 0:ct.no_use_list.map(Te=>b.createElement("div",{key:It==="subject"?Te.stage_shixun_id:Te.shixun_course_id||Te.id},b.createElement(he.default.Item,{name:[`${It==="subject"?Te==null?void 0:Te.stage_shixun_id:Te.shixun_course_id||Te.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(ke.default,{type:"hidden"})),b.createElement(he.default.Item,{name:[`${It==="subject"?Te==null?void 0:Te.stage_shixun_id:Te.shixun_course_id||Te.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(ke.default,{type:"hidden"})))))))};var We=Ne=>{const{modalType:mt}=Ne;return mt==="multiple"?b.createElement(Se,a({},Ne)):b.createElement(se,a({},Ne))}},67702:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return tt}});var b=oe(59301),he={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},De=oe(43418),Ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",ze=(Me,Le,_e)=>new Promise((He,Je)=>{var le=x=>{try{a(_e.next(x))}catch(y){Je(y)}},E=x=>{try{a(_e.throw(x))}catch(y){Je(y)}},a=x=>x.done?He(x.value):Promise.resolve(x.value).then(le,E);a((_e=_e.apply(Me,Le)).next())}),tt=({type:Me,resdata:Le,onok:_e,oktext:He,okloading:Je})=>{const[le,E]=(0,b.useState)(!1),{can_copy_list:a,can_copy_num:x,challenge_type:y,course_data_list:z,no_copy_list:te,no_copy_num:ae,no_use_list:se,no_use_num:ie,repeat_shixun_num:Se,student_count:be,total_num:We,use_num:Ne}=Le;let mt=x>0||Me==="exercise";(0,b.useEffect)(()=>{(Le==null?void 0:Le.student_count)>0&&E(!0)},[Le]),console.log("---11",Je),(0,b.useEffect)(()=>{Je||E(!1)},[Je]);const Re=()=>{if(Me==="exercise"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:he.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:he.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:he.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(Me==="exercise"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:he.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:he.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:he.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Me==="shixun"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:he.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:he.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Me==="shixun"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:he.orangeColor},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:he.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Me==="subject"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:he.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:he.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:he.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Me==="subject"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",b.createElement("span",{className:he.orangeColor},be)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",b.createElement("span",{className:he.orangeColor},Ne)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:he.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Me==="exercisepush")return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:he.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",b.createElement("span",{className:he.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",b.createElement("span",{className:he.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(Me==="shixunpush"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:he.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:he.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:he.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Me==="shixunpush"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:he.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",b.createElement("span",{className:he.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:he.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Xe=()=>{if(Me==="exercise"||Me==="subject"||Me==="exercisepush"||Me==="shixunpush")return b.createElement("div",{style:{marginTop:20}},ae>0&&b.createElement("div",null,b.createElement("span",{className:he.flex},b.createElement("img",{src:ke,style:{width:14}}),b.createElement("span",{className:he.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:he.statusbody},Me==="exercise"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:he.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(Me==="subject"||Me==="exercisepush")&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",mt&&b.createElement("span",{className:he.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),Me==="shixunpush"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",mt&&b.createElement("span",{className:he.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),b.createElement("div",null,te==null?void 0:te.map((Qe,et)=>b.createElement("a",{href:`/shixuns/${Qe.identifier}/challenges`,target:"_blank"},"\u300A",Qe==null?void 0:Qe.name,"\u300B",et+1!==ae&&"\u3001"))))),x>0&&b.createElement("div",{style:{marginTop:20}},b.createElement("span",{className:he.flex},b.createElement("img",{src:Ae,style:{width:14}}),b.createElement("span",{className:he.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:he.statusbody},Me==="exercise"&&b.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(Me==="subject"||Me==="exercisepush")&&b.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),Me==="shixunpush"&&b.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),b.createElement("div",null,a==null?void 0:a.map((Qe,et)=>b.createElement("a",{href:`/shixuns/${Qe.identifier}/challenges`,target:"_blank"},"\u300A",Qe==null?void 0:Qe.name,"\u300B",et+1!==x&&"\u3001"))))));if(Me==="shixun")return b.createElement("div",{style:{marginTop:20}},x>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return b.createElement(De.default,{open:le,onCancel:()=>{E(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!mt&&"none"}},zIndex:1003,confirmLoading:Je,okText:mt?He:"\u6211\u77E5\u9053\u4E86",onOk:()=>ze(void 0,null,function*(){mt?yield _e([...a,...se]):E(!1)})},b.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Re(),Xe()))}},41539:function(yt,_t,oe){"use strict";oe.d(_t,{h:function(){return ae}});var b=oe(59301),he=oe(57809),De=oe(78241),Ae=oe(3113),ke=oe(89780),ze=oe.n(ke),xe=oe(39060),tt=oe(76596),Me=Object.defineProperty,Le=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,He=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,E=(se,ie,Se)=>ie in se?Me(se,ie,{enumerable:!0,configurable:!0,writable:!0,value:Se}):se[ie]=Se,a=(se,ie)=>{for(var Se in ie||(ie={}))Je.call(ie,Se)&&E(se,Se,ie[Se]);if(He)for(var Se of He(ie))le.call(ie,Se)&&E(se,Se,ie[Se]);return se},x=(se,ie)=>Le(se,_e(ie));const y=he.default.Option,z={labelCol:{span:4},wrapperCol:{span:20}},te={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};_t.Z=({callback:se,onCancel:ie})=>{const[Se,be]=(0,b.useState)("python");function We(mt){be(te[mt][1])}function Ne(mt){se(mt)}return b.createElement(De.default,x(a({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ne,style:{width:500}}),b.createElement(De.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},b.createElement(he.default,{getPopupContainer:mt=>mt.parentNode,onChange:We},Object.keys(te).map(mt=>b.createElement(y,{key:mt,value:mt},te[mt][0])))),b.createElement(De.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},b.createElement(ae,{mode:Se})),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Ae.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Ae.ZP,{type:"ghost",onClick:ie},"\u53D6\u6D88")))};function ae({value:se,onChange:ie,mode:Se,options:be={}}){const We=(0,b.useRef)(),[Ne,mt]=(0,b.useState)();return(0,b.useEffect)(()=>{if(Ne){let Re=function(Xe){const Qe=Xe.getValue();ie&&ie(Qe)};return Ne.on("change",Re),()=>{Ne.off("change",Re)}}},[Ne,ie]),(0,b.useEffect)(()=>{Ne&&Ne.setOption("mode",Se)},[Ne,Se]),(0,b.useEffect)(()=>{Ne&&(se!==Ne.getValue()||se==="")&&setTimeout(()=>{Ne.setValue(se||"")},300)},[Ne,se]),(0,b.useEffect)(()=>{if(We.current&&!Ne){const Re=ze().fromTextArea(We.current,a({mode:Se,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},be));mt(Re)}},[We.current,Ne]),b.createElement("div",{className:"my-codemirror-container"},b.createElement("textarea",{ref:We}))}},4213:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return Jt}});var b=oe(59301),he=oe(89780),De=oe.n(he),Ae=oe(76374),ke=oe(39060),ze=oe(6313),xe=oe(25717),tt=oe(99498),Me=oe(25419),Le=oe(67549),_e=oe(98573),He=({value:Ge="",className:Ke,showTextOnly:Ue,showLines:Ct,style:sn={}})=>{const hn=(0,b.useMemo)(()=>"",[Ge]);return b.createElement(b.Fragment,null,b.createElement("div",{dangerouslySetInnerHTML:{__html:hn}}))},Je=oe(59301),le=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(Ge,Ke,Ue)=>Ke in Ge?le(Ge,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):Ge[Ke]=Ue,ae=(Ge,Ke)=>{for(var Ue in Ke||(Ke={}))y.call(Ke,Ue)&&te(Ge,Ue,Ke[Ue]);if(x)for(var Ue of x(Ke))z.call(Ke,Ue)&&te(Ge,Ue,Ke[Ue]);return Ge},se=(Ge,Ke)=>E(Ge,a(Ke));let ie=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function Se({onActionCallback:Ge,title:Ke,icon:Ue,actionName:Ct,className:sn="",children:hn}){function aa(){Ge(Ct)}return Je.createElement("a",{title:Ke,className:sn,onClick:aa},Je.createElement("i",{className:`${Ue}`}),hn)}var be=({watch:Ge,showNullButton:Ke,showNullProgramButton:Ue,onActionCallback:Ct,fullScreen:sn,insertTemp:hn,hidetoolBar:aa,extraUse:Vn})=>{const Dn=[...ie,{title:`${Ge?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Ge?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Je.createElement("ul",{className:"markdown-toolbar-container"},!aa&&Dn.map((Gn,_n)=>Je.createElement("li",{key:_n},Gn.actionName?Je.createElement(Se,se(ae({},Gn),{onActionCallback:Ct})):Je.createElement("span",{className:"v-line"}))),Ke?Je.createElement("li",null,Je.createElement(Se,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Ct},Je.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Ue?Je.createElement(Je.Fragment,null,Je.createElement("li",null,Je.createElement(Se,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Ct},Je.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Je.createElement("li",null,Je.createElement(Se,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Ct},Je.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,hn&&Je.createElement("li",null,Je.createElement(Se,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${hn}`,onActionCallback:Ct},Je.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Vn&&Je.createElement("li",null,Vn),Je.createElement("li",{className:"btn-full-screen"},Je.createElement(Se,{icon:`${sn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:sn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Ct})))},We=oe(51498),Ne=oe(78241),mt=oe(92832),Re=oe(3113),Xe=Object.defineProperty,Qe=Object.defineProperties,et=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,ht=Object.prototype.hasOwnProperty,ct=Object.prototype.propertyIsEnumerable,It=(Ge,Ke,Ue)=>Ke in Ge?Xe(Ge,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):Ge[Ke]=Ue,gt=(Ge,Ke)=>{for(var Ue in Ke||(Ke={}))ht.call(Ke,Ue)&&It(Ge,Ue,Ke[Ue]);if(we)for(var Ue of we(Ke))ct.call(Ke,Ue)&&It(Ge,Ue,Ke[Ue]);return Ge},Pn=(Ge,Ke)=>Qe(Ge,et(Ke));const an={labelCol:{span:4},wrapperCol:{span:20}};var Wt=({callback:Ge,onCancel:Ke})=>{function Ue(Ct){Ge(Ct)}return b.createElement(Ne.default,Pn(gt({},an),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Ue,style:{width:500}}),b.createElement(Ne.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},b.createElement(mt.default,null)),b.createElement(Ne.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},b.createElement(mt.default,null)),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Re.ZP,{type:"ghost",onClick:Ke},"\u53D6\u6D88")))},Tt=oe(41539),Te=oe(35944),ot=oe(43418),Qt=oe(95237),An=oe(89837),Bt=oe(59301),un=({callback:Ge,onCancel:Ke})=>{const Ue=document.createElement("canvas"),Ct=Ue.getContext("2d");Ue.width=1e3,Ue.height=800,Ct.fillStyle="#ffffff",Ct.fillRect(0,0,Ue.width,Ue.height);const sn=Ue.toDataURL("image/png");return Bt.createElement(ot.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Bt.createElement(Qt.Z,{style:{height:"100vh"}},Bt.createElement(An.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:sn,visible:!0,title:String(Date.now())},onOk:hn=>{Ge({src:hn.url})},onClose:Ke})))},Ce=oe(12378);function ut(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(ut,go.CommandHandler),ut.prototype.canAlignSelection=function(){var Ge=this.diagram;return!(Ge===null||Ge.isReadOnly||Ge.isModelReadOnly||Ge.selection.count<2)},ut.prototype.alignLeft=function(){var Ge=this.diagram;Ge.startTransaction("aligning left");var Ke=1/0;Ge.selection.each(function(Ue){Ue instanceof go.Link||(Ke=Math.min(Ue.position.x,Ke))}),Ge.selection.each(function(Ue){Ue instanceof go.Link||Ue.move(new go.Point(Ke,Ue.position.y))}),Ge.commitTransaction("aligning left")},ut.prototype.alignRight=function(){var Ge=this.diagram;Ge.startTransaction("aligning right");var Ke=-1/0;Ge.selection.each(function(Ue){if(!(Ue instanceof go.Link)){var Ct=Ue.actualBounds.x+Ue.actualBounds.width;Ke=Math.max(Ct,Ke)}}),Ge.selection.each(function(Ue){Ue instanceof go.Link||Ue.move(new go.Point(Ke-Ue.actualBounds.width,Ue.position.y))}),Ge.commitTransaction("aligning right")},ut.prototype.alignTop=function(){var Ge=this.diagram;Ge.startTransaction("alignTop");var Ke=1/0;Ge.selection.each(function(Ue){Ue instanceof go.Link||(Ke=Math.min(Ue.position.y,Ke))}),Ge.selection.each(function(Ue){Ue instanceof go.Link||Ue.move(new go.Point(Ue.position.x,Ke))}),Ge.commitTransaction("alignTop")},ut.prototype.alignBottom=function(){var Ge=this.diagram;Ge.startTransaction("aligning bottom");var Ke=-1/0;Ge.selection.each(function(Ue){if(!(Ue instanceof go.Link)){var Ct=Ue.actualBounds.y+Ue.actualBounds.height;Ke=Math.max(Ct,Ke)}}),Ge.selection.each(function(Ue){Ue instanceof go.Link||Ue.move(new go.Point(Ue.actualBounds.x,Ke-Ue.actualBounds.height))}),Ge.commitTransaction("aligning bottom")},ut.prototype.alignCenterX=function(){var Ge=this.diagram,Ke=Ge.selection.first();if(Ke){Ge.startTransaction("aligning Center X");var Ue=Ke.actualBounds.x+Ke.actualBounds.width/2;Ge.selection.each(function(Ct){Ct instanceof go.Link||Ct.move(new go.Point(Ue-Ct.actualBounds.width/2,Ct.actualBounds.y))}),Ge.commitTransaction("aligning Center X")}},ut.prototype.alignCenterY=function(){var Ge=this.diagram,Ke=Ge.selection.first();if(Ke){Ge.startTransaction("aligning Center Y");var Ue=Ke.actualBounds.y+Ke.actualBounds.height/2;Ge.selection.each(function(Ct){Ct instanceof go.Link||Ct.move(new go.Point(Ct.actualBounds.x,Ue-Ct.actualBounds.height/2))}),Ge.commitTransaction("aligning Center Y")}},ut.prototype.alignColumn=function(Ge){var Ke=this.diagram;Ke.startTransaction("align Column"),Ge===void 0&&(Ge=0),Ge=parseFloat(Ge);var Ue=new Array;Ke.selection.each(function(Vn){Vn instanceof go.Link||Ue.push(Vn)});for(var Ct=0;Ct0){for(var Vn=hn.elt(aa-1);Vn!==null&&Vn.isTreeExpanded&&!Vn.isTreeLeaf;){var Dn=this._sortTreeChildrenByY(Vn);Vn=Dn.last()}Vn!==null&&Ge.select(Vn)}else Ge.select(sn)}}else if(Ue.key==="Down")if(Ke.isTreeExpanded&&!Ke.isTreeLeaf){var Ct=this._sortTreeChildrenByY(Ke).first();Ct!==null&&Ge.select(Ct)}else for(;Ke!==null;){var sn=Ke.findTreeParentNode();if(sn===null)break;var hn=this._sortTreeChildrenByY(sn),aa=hn.indexOf(Ke);if(aahn.y?1:sn.xhn.x?1:0}),Ke},ut.prototype.copyToClipboard=function(Ge){go.CommandHandler.prototype.copyToClipboard.call(this,Ge),this._lastPasteOffset.set(this.pasteOffset)},ut.prototype.pasteFromClipboard=function(){var Ge=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Ge,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Ge},Object.defineProperty(ut.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Ge){if(Ge!=="move"&&Ge!=="select"&&Ge!=="scroll"&&Ge!=="tree"&&Ge!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Ge);this._arrowKeyBehavior=Ge}}),Object.defineProperty(ut.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Ge){if(!(Ge instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Ge);this._pasteOffset.set(Ge)}});var Xt=ut,nt=oe(74042),Pt=oe(43604),kn=oe(52430),dn={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},kt=oe(59301),Rt=(Ge,Ke,Ue)=>new Promise((Ct,sn)=>{var hn=Dn=>{try{Vn(Ue.next(Dn))}catch(Gn){sn(Gn)}},aa=Dn=>{try{Vn(Ue.throw(Dn))}catch(Gn){sn(Gn)}},Vn=Dn=>Dn.done?Ct(Dn.value):Promise.resolve(Dn.value).then(hn,aa);Vn((Ue=Ue.apply(Ge,Ke)).next())});function Qn({onCancel:Ge,callback:Ke}){let Ue=(0,b.useRef)(),Ct=(0,b.useRef)(),sn=(0,b.useRef)(),hn=(0,b.useRef)(!1);const aa=(0,b.useRef)(!1),[Vn,Dn]=(0,b.useState)(0);function Gn(){const jt=Ce.bx.make,La={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};Ue.current=new Ce.S0(Ct.current,{padding:20,grid:jt(Ce.s_,"Grid",jt(Ce.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),jt(Ce.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Sn=>{var qn=Sn.diagram.commandHandler.addTopLevelParts(Sn.diagram.selection,!0);qn||Sn.diagram.currentTool.doCancel()},commandHandler:jt(Xt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Sn=>{var qn=Sn.subject;qn.location=qn.location.copy().snapToGridPoint(Sn.diagram.grid.gridOrigin,Sn.diagram.grid.gridCellSize),setTimeout(()=>{Sn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Sn=>{var qn=Sn.subject;setTimeout(()=>{Sn.diagram.commandHandler.editTextBlock()})},LinkRelinked:Sn=>{var qn=Sn.parameter.part;qn.invalidateConnectedLinks();var Aa=Sn.subject;Sn.diagram.toolManager.linkingTool.isForwards?Aa.toNode.invalidateConnectedLinks():Aa.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Ue.current.nodeTemplate=jt(Ce.NB,"Auto",{locationSpot:Ce.z6.Center,locationObjectName:"SHAPE",desiredSize:new Ce.$u(120,60),minSize:new Ce.$u(40,40),resizable:!0,resizeCellSize:new Ce.$u(10,10),rotatable:!0},new Ce.KX("location","loc",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),new Ce.KX("desiredSize","size",Ce.$u.parse).makeTwoWay(Ce.$u.stringify),jt(Ce.bn,{name:"SHAPE",fill:La.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ce.z6.AllSides,toSpot:Ce.z6.AllSides},new Ce.KX("figure"),new Ce.KX("fill"),new Ce.KX("stroke","borderColor"),new Ce.KX("strokeWidth","thickness"),new Ce.KX("strokeDashArray","dash")),jt(Ce.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),jt(Ce.al,{margin:1,textAlign:"center",overflow:Ce.al.OverflowEllipsis,editable:!0},new Ce.KX("text").makeTwoWay(),new Ce.KX("stroke","color"))),Ue.current.nodeTemplate.toolTip=jt("ToolTip",jt(Ce.s_,"Vertical",{maxSize:new Ce.$u(200,NaN)},jt(Ce.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ce.KX("text")),jt(Ce.al,{font:"10pt sans-serif",textAlign:"center"},new Ce.KX("text","details"))));function lr(Sn,qn){var Aa=(Wn,qa)=>{Wn.handled=!0,Wn.diagram.model.commit(Ka=>{var pr=qa.part.adornedPart,_r=new Ce.E9().setRectSpot(pr.actualBounds,Sn);_r.subtract(pr.location),_r.scale(2,2),_r.x+=Math.sign(_r.x)*130,_r.y+=Math.sign(_r.y)*130,_r.add(pr.location),_r.snapToGridPoint(Wn.diagram.grid.gridOrigin,Wn.diagram.grid.gridCellSize);var nr=Ka.copyNodeData(pr.data);Ka.setGroupKeyForNodeData(nr,Ka.getGroupKeyForNodeData(pr.data)),Ka.addNodeData(nr);var jo={from:pr.key,to:Ka.getKeyForNodeData(nr)};Ka.addLinkData(jo);var Co=Wn.diagram.findNodeForData(nr);Co.location=_r,Wn.diagram.select(Co),setTimeout(()=>{Wn.diagram.commandHandler.editTextBlock()},20)})};return jt(Ce.bn,{figure:qn,alignment:Sn,alignmentFocus:Sn.opposite(),width:Sn.equals(Ce.z6.Top)||Sn.equals(Ce.z6.Bottom)?25:18,height:Sn.equals(Ce.z6.Top)||Sn.equals(Ce.z6.Bottom)?18:25,fill:"orange",stroke:La.white,strokeWidth:4,mouseEnter:(Wn,qa)=>qa.fill="dodgerblue",mouseLeave:(Wn,qa)=>qa.fill="orange",isActionable:!0,click:Aa,contextClick:Aa})}function io(Sn){return jt(Ce.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(qn,Aa)=>Aa.fill="dodgerblue",mouseLeave:(qn,Aa)=>Aa.fill="orange",click:(qn,Aa)=>{qn.diagram.commandHandler.showContextMenu(Aa.part.adornedPart)}},Sn||{})}Ue.current.nodeTemplate.selectionAdornmentTemplate=jt(Ce.uz,"Spot",jt(Ce.Vm,{padding:10}),lr(Ce.z6.Top,"TriangleUp"),lr(Ce.z6.Left,"TriangleLeft"),lr(Ce.z6.Right,"TriangleRight"),lr(Ce.z6.Bottom,"TriangleDown"),io({alignment:new Ce.z6(.75,0)}));function Wa(Sn,qn){return(Aa,Wn)=>{Aa.handled=!0,Aa.diagram.model.commit(qa=>{qa.set(Wn.part.adornedPart.data,Sn,qn)})}}function zt(Sn,qn){return qn||(qn="color"),jt(Ce.bn,{width:16,height:16,stroke:"lightgray",fill:Sn,margin:1,background:"transparent",mouseEnter:(Aa,Wn)=>Wn.stroke="dodgerblue",mouseLeave:(Aa,Wn)=>Wn.stroke="lightgray",click:Wa(qn,Sn),contextClick:Wa(qn,Sn)})}function jr(){return[jt("ContextMenuButton",jt(Ce.s_,"Horizontal",zt(La.white,"fill"),zt(La.beige,"fill"),zt(La.extralightblue,"fill"),zt(La.extralightred,"fill"))),jt("ContextMenuButton",jt(Ce.s_,"Horizontal",zt(La.lightgray,"fill"),zt(La.lightgreen,"fill"),zt(La.lightblue,"fill"),zt(La.lightred,"fill")))]}function Ta(){return[jt("ContextMenuButton",jt(Ce.s_,"Horizontal",zt(La.black),zt(La.green),zt(La.blue),zt(La.red))),jt("ContextMenuButton",jt(Ce.s_,"Horizontal",zt(La.white),zt(La.magenta),zt(La.purple),zt(La.orange)))]}function vr(Sn,qn){return qn||(qn="thickness"),jt(Ce.bn,"LineH",{width:16,height:16,strokeWidth:Sn,margin:1,background:"transparent",mouseEnter:(Aa,Wn)=>Wn.background="dodgerblue",mouseLeave:(Aa,Wn)=>Wn.background="transparent",click:Wa(qn,Sn),contextClick:Wa(qn,Sn)})}function er(Sn,qn){return qn||(qn="dash"),jt(Ce.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Sn,margin:1,background:"transparent",mouseEnter:(Aa,Wn)=>Wn.background="dodgerblue",mouseLeave:(Aa,Wn)=>Wn.background="transparent",click:Wa(qn,Sn),contextClick:Wa(qn,Sn)})}function kr(){return[jt("ContextMenuButton",jt(Ce.s_,"Horizontal",vr(1),vr(2),vr(3),vr(4))),jt("ContextMenuButton",jt(Ce.s_,"Horizontal",er(null),er([2,4]),er([4,4])))]}function br(Sn,qn){return qn||(qn="figure"),jt(Ce.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Sn,margin:1,background:"transparent",mouseEnter:(Aa,Wn)=>Wn.fill="dodgerblue",mouseLeave:(Aa,Wn)=>Wn.fill="lightgray",click:Wa(qn,Sn),contextClick:Wa(qn,Sn)})}Ue.current.nodeTemplate.contextMenu=jt("ContextMenu",jt("ContextMenuButton",jt(Ce.s_,"Horizontal",br("Rectangle"),br("RoundedRectangle"),br("Ellipse"),br("Diamond"))),jt("ContextMenuButton",jt(Ce.s_,"Horizontal",br("Parallelogram2"),br("ManualOperation"),br("Procedure"),br("Cylinder1"))),jt("ContextMenuButton",jt(Ce.s_,"Horizontal",br("Terminator"),br("CreateRequest"),br("Document"),br("TriangleDown"))),jr(),Ta(),kr()),Ue.current.groupTemplate=jt(Ce.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ce.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Sn,qn)=>{var Aa=qn.addMembers(qn.diagram.selection,!0);Aa||qn.diagram.currentTool.doCancel()},avoidable:!1},new Ce.KX("location","loc",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),jt(Ce.s_,"Auto",{name:"BODY"},jt(Ce.bn,{parameter1:10,fill:La.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ce.z6.AllSides,toSpot:Ce.z6.AllSides},new Ce.KX("fill"),new Ce.KX("stroke","color"),new Ce.KX("strokeWidth","thickness"),new Ce.KX("strokeDashArray","dash")),jt(Ce.Vm,{background:"transparent",margin:20})),jt(Ce.al,{alignment:Ce.z6.Top,alignmentFocus:Ce.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Ce.KX("text"),new Ce.KX("stroke","color"))),Ue.current.groupTemplate.selectionAdornmentTemplate=jt(Ce.uz,"Spot",jt(Ce.s_,"Auto",jt(Ce.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),jt(Ce.Vm,{margin:1.5})),io({alignment:Ce.z6.TopRight,alignmentFocus:Ce.z6.BottomRight})),Ue.current.groupTemplate.contextMenu=jt("ContextMenu",jr(),Ta(),kr()),Ue.current.linkTemplate=jt(Ce.rU,{layerName:"Foreground",routing:Ce.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Ce.KX("fromSpot","fromSpot",Ce.z6.parse),new Ce.KX("toSpot","toSpot",Ce.z6.parse),new Ce.KX("fromShortLength","dir",Sn=>Sn>=1?10:0),new Ce.KX("toShortLength","dir",Sn=>Sn>=1?10:0),new Ce.KX("points").makeTwoWay(),jt(Ce.bn,{strokeWidth:2},new Ce.KX("stroke","color"),new Ce.KX("strokeWidth","thickness"),new Ce.KX("strokeDashArray","dash")),jt(Ce.bn,{segmentIndex:0,segmentOffset:new Ce.E9(15,0),segmentOrientation:Ce.rU.OrientAlong,alignmentFocus:Ce.z6.Right,figure:"circle",width:10,strokeWidth:0},new Ce.KX("fill","color"),new Ce.KX("visible","dir",Sn=>Sn===1)),jt(Ce.bn,{segmentIndex:-1,segmentOffset:new Ce.E9(-10,6),segmentOrientation:Ce.rU.OrientPlus90,alignmentFocus:Ce.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ce.KX("fill","color"),new Ce.KX("visible","dir",Sn=>Sn>=1),new Ce.KX("width","thickness",Sn=>7+3*Sn),new Ce.KX("height","thickness",Sn=>7+3*Sn),new Ce.KX("segmentOffset","thickness",Sn=>new Ce.E9(-15,4+1.5*Sn))),jt(Ce.bn,{segmentIndex:0,segmentOffset:new Ce.E9(15,-6),segmentOrientation:Ce.rU.OrientMinus90,alignmentFocus:Ce.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ce.KX("fill","color"),new Ce.KX("visible","dir",Sn=>Sn===2),new Ce.KX("width","thickness",Sn=>7+3*Sn),new Ce.KX("height","thickness",Sn=>7+3*Sn),new Ce.KX("segmentOffset","thickness",Sn=>new Ce.E9(-15,4+1.5*Sn))),jt(Ce.al,{alignmentFocus:new Ce.z6(0,1,-4,0),editable:!0},new Ce.KX("text").makeTwoWay(),new Ce.KX("stroke","color"))),Ue.current.linkTemplate.selectionAdornmentTemplate=jt(Ce.uz,jt(Ce.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:$r(2)},new Ce.KX("pathPattern","thickness",$r)),io({alignmentFocus:new Ce.z6(0,0,-6,-4)}));function $r(Sn){return jt(Ce.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Sn+4).toString()+" H3"})}function wr(Sn){var qn="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Sn===0?qn="M0 0 M16 16 M0 8 L16 8":Sn===2&&(qn="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),jt(Ce.bn,{geometryString:qn,margin:2,background:"transparent",mouseEnter:(Aa,Wn)=>Wn.background="dodgerblue",mouseLeave:(Aa,Wn)=>Wn.background="transparent",click:Wa("dir",Sn),contextClick:Wa("dir",Sn)})}function ra(Sn){var qn=(Aa,Wn)=>{Aa.handled=!0,Aa.diagram.model.commit(qa=>{var Ka=Wn.part.adornedPart;qa.set(Ka.data,Sn?"toSpot":"fromSpot",Ce.z6.stringify(Ce.z6.AllSides)),(Sn?Ka.toNode:Ka.fromNode).invalidateConnectedLinks()})};return jt(Ce.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Aa,Wn)=>Wn.background="dodgerblue",mouseLeave:(Aa,Wn)=>Wn.background="transparent",click:qn,contextClick:qn})}function $t(Sn,qn){var Aa=0,Wn=Ce.z6.RightSide;Sn.equals(Ce.z6.Top)?(Aa=270,Wn=Ce.z6.TopSide):Sn.equals(Ce.z6.Left)?(Aa=180,Wn=Ce.z6.LeftSide):Sn.equals(Ce.z6.Bottom)&&(Aa=90,Wn=Ce.z6.BottomSide),qn||(Aa-=180);var qa=(Ka,pr)=>{Ka.handled=!0,Ka.diagram.model.commit(_r=>{var nr=pr.part.adornedPart;_r.set(nr.data,qn?"toSpot":"fromSpot",Ce.z6.stringify(Wn)),(qn?nr.toNode:nr.fromNode).invalidateConnectedLinks()})};return jt(Ce.bn,{alignment:Sn,alignmentFocus:Sn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Aa,background:"transparent",mouseEnter:(Ka,pr)=>pr.background="dodgerblue",mouseLeave:(Ka,pr)=>pr.background="transparent",click:qa,contextClick:qa})}Ue.current.linkTemplate.contextMenu=jt("ContextMenu",Ta(),kr(),jt("ContextMenuButton",jt(Ce.s_,"Horizontal",wr(0),wr(1),wr(2))),jt("ContextMenuButton",jt(Ce.s_,"Horizontal",jt(Ce.s_,"Spot",ra(!1),$t(Ce.z6.Top,!1),$t(Ce.z6.Left,!1),$t(Ce.z6.Right,!1),$t(Ce.z6.Bottom,!1)),jt(Ce.s_,"Spot",{margin:new Ce.Zt(0,0,0,2)},ra(!0),$t(Ce.z6.Top,!0),$t(Ce.z6.Left,!0),$t(Ce.z6.Right,!0),$t(Ce.z6.Bottom,!0)))));const Xa=`{ "class": "GraphLinksModel", +\\end{array}`}]}]}],y=ae=>{E.current.setValue(E.current.getValue()+" "+ae.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Me.createElement(he.Z,{className:xe.Z.lists,gutter:[10,10]},a.map((ae,se)=>Me.createElement(De.Z,{flex:"110px",className:xe.Z.item},Me.createElement("div",null,Me.createElement(ze.Z,{value:`$$${ae.value}$$`}),ae.name),Me.createElement("div",{className:xe.Z.children},ae.children.map((ie,Se)=>Me.createElement("div",{key:Se},Me.createElement("h1",null,ie.name),Me.createElement(he.Z,{gutter:[10,10]},ie.data.map((be,We)=>Me.createElement(De.Z,{key:We,onClick:()=>y(be),className:xe.Z.diamond},Me.createElement(ze.Z,{value:"`$$"+be.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Me.createElement(he.Z,{className:xe.Z.lists,gutter:[10,10]},x.map((ae,se)=>Me.createElement(De.Z,{flex:"110px",className:xe.Z.item},Me.createElement("div",null,Me.createElement(ze.Z,{value:"`$$"+ae.value+"$$`"}),ae.name),Me.createElement("div",{className:xe.Z.children},ae.children.map((ie,Se)=>Me.createElement("div",{key:Se},ie.name&&Me.createElement("h1",null,ie.name),Me.createElement(he.Z,{gutter:[10,10]},ie.data.map((be,We)=>Me.createElement(De.Z,{key:We,onClick:()=>y(be),className:xe.Z.diamond},Me.createElement(ze.Z,{value:"`$$"+be.value+"$$`"}))))))))))}],te=()=>{var ae=document.createElement("div");ae.innerHTML=E.current.getValue();var se=ae.innerText;return _e&&_e(se),se};return(0,b.useImperativeHandle)(le,()=>({getData:te})),Me.createElement("div",{className:xe.Z.mathWrap},Me.createElement(Ae.default,{defaultActiveKey:"1",items:z}),Me.createElement("math-field",{locale:"zh_cn",className:xe.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:E,style:{width:800,marginTop:30,fontSize:18}},Ke||""),He&&Me.createElement("div",{className:xe.Z.button},Me.createElement(ke.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});kt.Z=Le},59592:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return He}});var b=oe(59301),he=oe(78241),De=oe(43418),Ae=oe(92832),ke=oe(87169),ze=oe(52430),xe={publicQuest:"publicQuest___iYvzo",publicQuestContent:"publicQuestContent___vgbKh",public_tips:"public_tips___UX0Dn",concat:"concat___wOfND"},tt=oe(32793),Me=oe(59301),Le=(Ke,le,E)=>new Promise((a,x)=>{var y=ae=>{try{te(E.next(ae))}catch(se){x(se)}},z=ae=>{try{te(E.throw(ae))}catch(se){x(se)}},te=ae=>ae.done?a(ae.value):Promise.resolve(ae.value).then(y,z);te((E=E.apply(Ke,le)).next())}),He=({type:Ke="subject",open:le,onCancel:E,onOkClick:a,subDisciplineId:x})=>{const[y]=he.default.useForm(),[z,te]=(0,b.useState)([]),[ae,se]=(0,b.useState)(!1);(0,b.useEffect)(()=>{},[]);const ie=()=>Le(void 0,null,function*(){if(Ke){const Se=yield(0,ze.ZP)("/api/disciplines.json",{method:"get",params:{source:Ke}});te(Se.disciplines||[])}});return Me.createElement(De.default,{title:Me.createElement("div",{style:{fontWeight:"bold"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9"),open:le,width:558,centered:!0,className:xe.publicQuest,onCancel:()=>{E(),y.resetFields()},onOk:()=>{y.validateFields().then(Se=>Le(void 0,null,function*(){const be=yield(0,ze.ZP)("/api/tag_disciplines.json",{method:"post",body:{name:Se==null?void 0:Se.name,sub_discipline_id:x}});(be==null?void 0:be.status)===0&&a({name:Se==null?void 0:Se.name,id:be==null?void 0:be.tag_discipline_id,public:!1,type:"personal"}),y.resetFields(),E()}))}},Me.createElement("div",{className:xe.publicQuestContent},Me.createElement("div",{className:xe.public_tips},Me.createElement(ke.Z,{style:{color:"#FF8C29",marginRight:10,paddingTop:5}}),"\u65B0\u5EFA\u7684\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u5E73\u53F0\u5BA1\u6838\u5217\u5165\u516C\u5F00\u77E5\u8BC6\u70B9\u540E\uFF0C\u5BF9\u6240\u6709\u7528\u6237\u53EF\u89C1\u3002 \u5E73\u53F0\u6709\u6743\u5220\u9664\u4E0D\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF0C\u8BF7\u8BA4\u771F\u586B\u5199\u77E5\u8BC6\u70B9\u540D\u79F0\u3002"),Me.createElement(he.default,{labelAlign:"left",form:y,colon:!1},Me.createElement(he.default.Item,{label:"\u77E5\u8BC6\u70B9\u540D\u79F0",name:"name",rules:[{required:!0}]},Me.createElement(Ae.default,{showCount:!0,maxLength:20,placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0"}))),Me.createElement(tt.Z,{open:ae,onCancel:()=>{se(!1)}})))}},33329:function(yt,kt,oe){"use strict";oe.d(kt,{Q:function(){return Me},Z:function(){return _e}});var b=oe(59301),he={flex_box_center:"flex_box_center___VcCAZ",flex_space_between:"flex_space_between___I3jjO",flex_box_vertical_center:"flex_box_vertical_center___Rm_54",flex_box_center_end:"flex_box_center_end___nTsdc",flex_box_column:"flex_box_column___UVpzN",tags:"tags___kRRoe",text:"text___IyyEa",tagWrap:"tagWrap___v63mB",tag:"tag___X7wE6",c:"c___mZMPq",cpp:"cpp___eaTie",java:"java___gL98T",python:"python___eNRkk",edit:"edit___tbVu0"},De=oe(92310),Ae=oe.n(De),ke=oe(43418),ze=oe(8591),xe=oe(24905),tt=(He,Ke,le)=>new Promise((E,a)=>{var x=te=>{try{z(le.next(te))}catch(ae){a(ae)}},y=te=>{try{z(le.throw(te))}catch(ae){a(ae)}},z=te=>te.done?E(te.value):Promise.resolve(te.value).then(x,y);z((le=le.apply(He,Ke)).next())});const Me=({title:He="\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00",dataSource:Ke=[],visible:le,setVisible:E,tip:a,onOk:x})=>{const[y,z]=(0,b.useState)([]),[te,ae]=(0,b.useState)(!1);return(0,b.useEffect)(()=>{le&&z(Ke)},[le]),b.createElement(ke.default,{centered:!0,open:le,title:He,confirmLoading:te,width:564,onOk:()=>tt(void 0,null,function*(){if(!y.length){ze.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00");return}ae(!0),yield x(y),ae(!1)}),onCancel:()=>E(!1)},!!a&&b.createElement("div",{className:"c-grey-666 font16 mb10"},a),b.createElement("div",{style:{background:"#F6F7F9",padding:"20px 20px 20px 26px"}},b.createElement(xe.default.Group,{value:y,options:[{label:"C\u8BED\u8A00",value:"C"},{label:"C++\u8BED\u8A00",value:"C++",style:{marginLeft:30}},{label:"Java\u8BED\u8A00",value:"Java",style:{marginLeft:30}},{label:"Python\u8BED\u8A00",value:"Python",style:{marginLeft:30}}],onChange:se=>{z(se)}})))};var _e=({title:He="\u5141\u8BB8\u7F16\u7A0B\u7684\u8BED\u8A00",className:Ke,style:le={},onEdit:E,dataSource:a=[]})=>{const x={C:b.createElement("div",{className:he.c},"C"),"C++":b.createElement("div",{className:he.cpp},"C++"),Java:b.createElement("div",{className:he.java},"Java"),Python:b.createElement("div",{className:he.python},"Python")};return b.createElement("div",{className:Ae()(he.tags,Ke),style:le},!!He&&b.createElement("div",{className:he.text},He),b.createElement("div",{className:he.tagWrap},a==null?void 0:a.map(y=>b.createElement(b.Fragment,{key:y},x[y]))),!!E&&b.createElement("div",{onClick:E,className:`iconfont icon-bianji_Hover ${he.edit}`}))}},44931:function(yt,kt,oe){"use strict";oe.d(kt,{t:function(){return _n}});var b=oe(59301),he=oe(92832),De=oe(78241),Ae=oe(43418),ke=oe(95237),ze=oe(43604),xe=oe(5871),tt=oe(57809),Me=oe(5112),Le=oe(89314),_e=oe(44993),He=oe(59489),Ke=oe(8591),le=oe(3113),E=oe(71418),a=oe(24334),x={flex_box_center:"flex_box_center___kOQ8P",flex_space_between:"flex_space_between___fY6jt",flex_box_vertical_center:"flex_box_vertical_center___bDSSI",flex_box_center_end:"flex_box_center_end___mQ6mU",flex_box_column:"flex_box_column___F15G0",result:"result___UYRo8",left:"left___TRaH5",right:"right___twp9s",box:"box___vwndt",li:"li___hRe2d"},y=oe(52430),z=oe(78837),te=oe(4213),ae=oe(56102),se=oe(7051),ie=oe(59301),Se=Object.defineProperty,be=Object.defineProperties,We=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,Je=(sn,Rt,Mt)=>Rt in sn?Se(sn,Rt,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):sn[Rt]=Mt,Qe=(sn,Rt)=>{for(var Mt in Rt||(Rt={}))mt.call(Rt,Mt)&&Je(sn,Mt,Rt[Mt]);if(Ne)for(var Mt of Ne(Rt))Re.call(Rt,Mt)&&Je(sn,Mt,Rt[Mt]);return sn},et=(sn,Rt)=>be(sn,We(Rt)),we=(sn,Rt,Mt)=>new Promise((Yn,aa)=>{var tn=ya=>{try{_a(Mt.next(ya))}catch(Vn){aa(Vn)}},Fa=ya=>{try{_a(Mt.throw(ya))}catch(Vn){aa(Vn)}},_a=ya=>ya.done?Yn(ya.value):Promise.resolve(ya.value).then(tn,Fa);_a((Mt=Mt.apply(sn,Rt)).next())}),ct=({buttonProps:sn,buttonText:Rt,form:Mt,hackIdentifier:Yn="",answerKey:aa,data:tn})=>{const[Fa,_a]=(0,b.useState)(!1),[ya,Vn]=(0,b.useState)(!1),[xa,cr]=(0,b.useState)(!1),[Ya,Jn]=(0,b.useState)({}),[da,ea]=(0,b.useState)(""),[ia,Ea]=(0,b.useState)(""),Va=(0,b.useRef)(Yn),Pn=(0,b.useRef)(""),an=(0,b.useRef)(!1);(0,b.useEffect)(()=>{xa&&pa()},[xa]),(0,b.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const bt=()=>new Date().getTime(),Gt=tn==null?void 0:tn.code,Da=()=>{var ja,gr;let Ua=Gt?tn==null?void 0:tn.code:(ja=Mt.getFieldValue("hack_codes"))==null?void 0:ja.code,Br=Gt?tn==null?void 0:tn.answer_content:Mt.getFieldValue(aa),po=Gt?tn==null?void 0:tn.input:(gr=Mt.getFieldValue("hack_sets"))==null?void 0:gr.input;Br==null||Br.forEach(Ht=>{const Zn=Ht.value||Ht.answer_text||"";Ua=Ua.replace(/(@▁@|@▁▁@)/,Zn)}),Ea(po),ea(Ua),Jn({}),cr(!0)},pa=()=>we(void 0,null,function*(){var ja,gr,Ua,Br;const po=bt(),Ht=Gt?tn==null?void 0:tn.time_limit:(ja=Mt.getFieldsValue())==null?void 0:ja.hack.time_limit,Zn=Gt?(gr=tn==null?void 0:tn.answer_content)==null?void 0:gr.length:(Br=(Ua=Mt.getFieldsValue())==null?void 0:Ua.standard_answers)==null?void 0:Br.length;_a(!0),yield(0,z.bM)(Pn.current,{test_hack_code:da,test_input:ia});function qn(){return we(this,null,function*(){const{status:Sa,data:Be}=yield(0,z.rX)(Pn.current,"submit"),st=bt()-po>(Ht+3)*1e3*Zn;if(an.current){if(st){Ke.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),_a(!1);return}if(Sa===0){_a(!1),Jn(et(Qe({},Be),{showText:!0}));return}setTimeout(qn,1e3)}})}qn()}),wa=()=>we(void 0,null,function*(){var ja,gr,Ua,Br,po,Ht,Zn;if(!tn){try{yield Mt.validateFields()}catch(at){(Ua=(gr=(ja=at==null?void 0:at.errorFields)==null?void 0:ja[0])==null?void 0:gr.name)!=null&&Ua.includes("standard_answers")?Ke.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Ke.ZP.error(at.errorFields[0].errors[0]),Mt.scrollToField(at.errorFields[0].name,{behavior:"smooth",block:"center"});return}Vn(!0);let Sa="";const Be=Mt.getFieldsValue();Va.current?Sa=yield(0,y.ZP)(`/api/problems/${Va.current}.json`,{method:"put",body:et(Qe({},Be),{hack:et(Qe({},Be==null?void 0:Be.hack),{sub_discipline_id:(Zn=(Ht=Be==null?void 0:Be.hack)==null?void 0:Ht.sub_discipline_id)==null?void 0:Zn[1],difficult:Be.difficulty,item_banks_group_id:Be.item_banks_group_id}),hack_codes:et(Qe({},Be.hack_codes),{code:a.Base64.encode(Be.hack_codes.code)}),update_hack_sets:[Qe({},Be.hack_sets)],is_blank:!0})}):(Sa=yield(0,y.ZP)("/api/problems.json",{method:"post",body:et(Qe({},Be),{hack:et(Qe({},Be==null?void 0:Be.hack),{sub_discipline_id:(po=(Br=Be==null?void 0:Be.hack)==null?void 0:Br.sub_discipline_id)==null?void 0:po[1],difficult:Be.difficulty,item_banks_group_id:Be.item_banks_group_id}),hack_codes:et(Qe({},Be.hack_codes),{code:a.Base64.encode(Be.hack_codes.code)}),hack_sets:[Qe({},Be.hack_sets)],is_blank:!0})}),Va.current=Sa==null?void 0:Sa.identifier,sessionStorage.projectFill=Sa==null?void 0:Sa.identifier)}const qn=yield(0,y.ZP)(`/api/problems/${Va.current}/start.json`,{method:"get"});if((qn==null?void 0:qn.status)===0){Pn.current=qn==null?void 0:qn.identifier,an.current=!0,Vn(!1),Da();return}Vn(!1)}),ha=ja=>{const{status:gr,error_msg:Ua,execute_time:Br,output:po,input:Ht,expected_output:Zn}=ja;let qn=null;switch(gr){case se.h.OK:qn=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",Br/1e3,"\u79D2"),ie.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case se.h.NOMATCH:qn=ie.createElement(ie.Fragment,null,ie.createElement("div",null,"\u8F93\u5165\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},Ht),ie.createElement("div",null,"\u8F93\u51FA\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},po&&a.Base64.decode(po)),ie.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},Zn&&a.Base64.decode(Zn)));break;case se.h.EXECUTEFAILURE:qn=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ie.createElement("pre",null,Ht)),ie.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ie.createElement("pre",{className:"error"},a.Base64.decode(Ua)));break;case se.h.COMPILEFAILURE:qn=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ie.createElement("pre",null,Ht)),ie.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ie.createElement("pre",{className:"error"},a.Base64.decode(Ua)));break;case se.h.PODFAILURE:qn=ie.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case se.h.TIMEOUT:qn=ie.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return ie.createElement(ie.Fragment,null," ",qn," ")};return ie.createElement("div",null,ie.createElement(le.ZP,et(Qe({loading:ya},sn),{onClick:wa}),Rt),ie.createElement(Ae.default,{open:xa,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:Fa,cancelButtonProps:{style:{display:"none"}},onOk:()=>pa(),onCancel:()=>{an.current=!1,cr(!1)}},ie.createElement("div",{className:x.result},ie.createElement("div",{className:x.left},ie.createElement("div",{className:"mb20"},ie.createElement("span",{className:"c-black"},"\u6267\u884C\u4EE3\u7801"),!tn&&ie.createElement(ae.CopyToClipboard,{text:da,onCopy:()=>Ke.ZP.success("\u590D\u5236\u6210\u529F")},ie.createElement("span",{style:{float:"right"},className:"current c-light-primary"},ie.createElement("i",{className:"iconfont icon-fuzhi8 mr5"}),"\u590D\u5236"))),ie.createElement(te.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:da,onChange:ja=>ea(ja)})),ie.createElement("div",{className:x.right},ie.createElement("div",{className:"c-black mb20"},"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"),ie.createElement("div",{className:x.box},ie.createElement("div",{className:x.li},ie.createElement(he.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:ia,onChange:ja=>Ea(ja.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:Fa,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},ie.createElement("div",{className:x.li,style:{height:196,overflow:"auto",padding:10}},ha(Ya))))))))},Lt=oe(87169),gt=oe(59301),yn=Object.defineProperty,nn=Object.defineProperties,Wt=Object.getOwnPropertyDescriptors,_t=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,Ut=(sn,Rt,Mt)=>Rt in sn?yn(sn,Rt,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):sn[Rt]=Mt,xn=(sn,Rt)=>{for(var Mt in Rt||(Rt={}))Te.call(Rt,Mt)&&Ut(sn,Mt,Rt[Mt]);if(_t)for(var Mt of _t(Rt))ot.call(Rt,Mt)&&Ut(sn,Mt,Rt[Mt]);return sn},At=(sn,Rt)=>nn(sn,Wt(Rt)),ln=(sn,Rt)=>{var Mt={};for(var Yn in sn)Te.call(sn,Yn)&&Rt.indexOf(Yn)<0&&(Mt[Yn]=sn[Yn]);if(sn!=null&&_t)for(var Yn of _t(sn))Rt.indexOf(Yn)<0&&ot.call(sn,Yn)&&(Mt[Yn]=sn[Yn]);return Mt};const{TextArea:Ce}=he.default,ut=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],Xt=({value:sn,onChange:Rt})=>gt.createElement(Switch,{checked:sn,onChange:Mt=>{Rt(Mt)}}),nt="@\u2581@",Pt="@\u2581\u2581@",_n=({questionTitlePlaceholder:sn,form:Rt,scoreByBlank:Mt=!1,hackidentifier:Yn,answerKey:aa})=>{const[tn,Fa]=(0,b.useState)(!1),[_a,ya]=(0,b.useState)(!1),xa=(0,_e.useParams)().type==="edit",cr=(Pn,an)=>{const bt=an.line;let Gt=0;for(let pa=0;pa{const Da=Pn.getRange(an.from,an.to);let pa=0;if(an.text.forEach(wa=>{pa+=wa.split(nt).length-1}),an.text.forEach(wa=>{pa+=wa.split(Pt).length-1}),an.origin!=="setValue"){if(Da&&(Da.indexOf(nt)!==-1||Da.indexOf(Pt)!==-1)){const wa=Da.split(nt).length-1+Da.split(Pt).length-1,ha=cr(Pn,an.from);if(console.log(`\u5220\u9664${wa}\u4E2A\uFF0C \u524D\u9762\u6709${ha}\u4E2A\uFF0C\u65B0\u589E${pa}\u4E2A`),wa>1){const ja=Array.from({length:wa},(gr,Ua)=>ha+Ua);Gt(ja)}else Gt(ha)}else if(pa>0){const wa=cr(Pn,an.from);console.log(`\u65B0\u589E${pa}\u4E2A\uFF0C\u4E4B\u524D\u6709${wa}\u4E2A`),bt(pa,wa)}}},Jn=()=>{const Pn=Rt.getFieldValue(aa);Rt.setFieldsValue({[aa]:Pn==null?void 0:Pn.map((an,bt)=>At(xn({},an),{position:bt+1}))})},da=(0,b.useRef)(),ea=(Pn,an)=>{for(let bt=0;bt{ia.current(Pn),Jn()},Va=De.default.useWatch(aa,Rt);return gt.createElement("div",{className:He.Z.wrap},gt.createElement(De.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},gt.createElement(Le.h,{scrollId:"name",watch:!0,height:140})),gt.createElement("div",{className:He.Z.questionTitleEditorWrap},gt.createElement(De.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},gt.createElement(Le.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(Pn,an)=>{const bt=Rt.getFieldValue(aa);console.log("--preAnswerData",bt,an),Rt.setFieldsValue({[aa]:bt==null?void 0:bt.map((Gt,Da)=>{var pa;return At(xn({},Gt),{position:Da+1,multi_line:(pa=an==null?void 0:an[Da])==null?void 0:pa.multiLine})})})},placeholder:sn,onCMBeforeChange:(Pn,an)=>{Ya(Pn,an,ea,Ea)}}))),gt.createElement(De.default.List,{name:aa,rules:[{validator(Pn,an){if(!(an!=null&&an.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const bt of an){const{answer_text:Gt}=bt||{};if((Gt==null?void 0:Gt.length)===0)return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Pn,{add:an,remove:bt},{errors:Gt})=>(da.current=an,ia.current=bt,gt.createElement(gt.Fragment,null,gt.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},gt.createElement(De.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),gt.createElement("div",{onClick:()=>{Ae.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:gt.createElement("div",null,gt.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",gt.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),gt.createElement("div",{style:{marginTop:10}},"2.\u8BD5\u9898\u7B97\u5206\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u5C06\u7A0B\u5E8F\u91CC\u9762\u7684\u6240\u6709\u7A7A\u66FF\u6362\u6210\u5B66\u751F\u7684\u7B54\u6848\u8FDB\u884C\u8BC4\u6D4B\u3002\u8F93\u51FA\u7684\u7ED3\u679C\u4E0E\u6D4B\u8BD5\u96C6\u6BD4\u5BF9\uFF0C\u5B8C\u5168\u6B63\u786E\u5219\u5F97\u6EE1\u5206\uFF1B\u82E5\u4E0D\u5B8C\u5168\u6B63\u786E\uFF0C\u5219\u4F9D\u6B21\u5C06\u6BCF\u4E2A\u7A7A\u6362\u6210\u5B66\u751F\u63D0\u4EA4\u7684\u7B54\u6848\uFF0C\u540C\u65F6\u5C06\u5176\u4ED6\u7A7A\u66FF\u6362\u6210\u6807\u51C6\u7B54\u6848\uFF0C\u8FD0\u884C\u7A0B\u5E8F\u3002\u5982\u679C\u8FD9\u4E2A\u7A7A\u7684\u5B66\u751F\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7ED3\u5408\u80FD\u5F97\u5230\u6B63\u786E\u8F93\u51FA\uFF0C\u5219\u8FD9\u4E2A\u7A7A\u5F97\u5230\u8BE5\u7A7A\u7684\u6EE1\u5206\uFF0C\u5426\u5219\u8BE5\u7A7A\u5F970\u5206\u3002"))})},style:{minHeight:32,color:"#3061D0",cursor:"pointer"}},gt.createElement(Lt.Z,{style:{marginRight:3,color:"#3061D0"}}),gt.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),Pn.map((Da,pa)=>{var wa=Da,{key:ha,name:ja}=wa,gr=ln(wa,["key","name"]),Ua,Br;return gt.createElement(ke.Z,{className:"mb20",key:ha,align:"middle",wrap:!1},gt.createElement(ze.Z,{flex:"0 0 auto",className:`${He.Z.blankIndex}`},"\u586B\u7A7A\u9879",pa+1),gt.createElement(ze.Z,{flex:1},gt.createElement(ke.Z,{align:"top",justify:"space-between",wrap:!1},gt.createElement(ze.Z,null,gt.createElement(De.default.Item,At(xn({},gr),{name:[ja,"answer_text"],noStyle:!0}),(Ua=Va==null?void 0:Va[ja])!=null&&Ua.multi_line||(Br=Va==null?void 0:Va[ja])!=null&&Br.multiLine?gt.createElement(Ce,{spellCheck:!1,style:{marginLeft:10,width:550}}):gt.createElement(he.default,{style:{marginLeft:10,width:550},className:He.Z.blankInput,size:"large",maxLength:1e3,onBlur:po=>{}}))),Mt&>.createElement(ze.Z,{flex:"224px"},gt.createElement(De.default.Item,At(xn({},gr),{name:[ja,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),gt.createElement(xe.Z,{size:"large",className:He.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),gt.createElement("div",{onClick:()=>Fa(!0)},gt.createElement(De.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},gt.createElement(Le.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:tn}))),gt.createElement(De.default.Item,{label:"\u7F16\u7A0B\u8BED\u8A00",style:{marginTop:30},name:["hack_codes","language"],labelCol:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00"}]},gt.createElement(tt.default,{size:"large"},ut.map(Pn=>gt.createElement(tt.default.Option,{key:Pn.title,value:Pn.key}," ",Pn.title)))),gt.createElement(De.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},gt.createElement(De.default.Item,{name:["hack","time_limit"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"},{type:"number",min:3,message:"\u6700\u5C0F\u9650\u5236\u65F6\u95F4\u662F3\u79D2"}],noStyle:!0},gt.createElement(xe.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),gt.createElement("span",{className:"ml10 font14"},"\u79D2")),gt.createElement(De.default.Item,{label:"\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406",style:{marginTop:30},name:["hack","submit_rule"],labelCol:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406"}]},gt.createElement(Me.ZP.Group,{style:{marginTop:-10}},gt.createElement(Me.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),gt.createElement(Me.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),gt.createElement(Me.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),gt.createElement(De.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),gt.createElement("div",{style:{background:"#F6F7F9",padding:15}},gt.createElement(De.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},gt.createElement(Ce,{rows:4})),gt.createElement(De.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24},name:["hack_sets","output"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F93\u51FA\u5185\u5BB9"}]},gt.createElement(Ce,{rows:4}))),gt.createElement(ct,{form:Rt,answerKey:aa,hackIdentifier:Yn,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:gt.createElement("i",{className:"iconfont icon-ceshi"}),style:{background:"rgba(55,173,131,0.05)",borderRadius:19,border:"1px solid #37AD83",width:116,height:38,display:"inline-flex",fontSize:14,alignItems:"center",justifyContent:"center",marginTop:20,cursor:"pointer",color:"#37AD83"}}}))}},40260:function(yt,kt,oe){"use strict";oe.d(kt,{u:function(){return ie}});var b=oe(59301),he=oe(95237),De=oe(43604),Ae=oe(6848),ke=oe(78241),ze=oe(59489),xe=oe(32134),tt=oe(12893),Me=oe(89314),Le=oe(59301),_e=Object.defineProperty,He=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(Se,be,We)=>be in Se?_e(Se,be,{enumerable:!0,configurable:!0,writable:!0,value:We}):Se[be]=We,y=(Se,be)=>{for(var We in be||(be={}))E.call(be,We)&&x(Se,We,be[We]);if(le)for(var We of le(be))a.call(be,We)&&x(Se,We,be[We]);return Se},z=(Se,be)=>He(Se,Ke(be)),te=(Se,be)=>{var We={};for(var Ne in Se)E.call(Se,Ne)&&be.indexOf(Ne)<0&&(We[Ne]=Se[Ne]);if(Se!=null&&le)for(var Ne of le(Se))be.indexOf(Ne)<0&&a.call(Se,Ne)&&(We[Ne]=Se[Ne]);return We};const ae=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],se=({value:Se,onChange:be,choiceTextKey:We,answerKey:Ne,index:mt,isEdit:Re,setInputActive:Je,form:Qe,choiceOptionsPath:et,allowChangeMode:we,showAddIcon:ht,addItem:ct,deleteItem:Lt})=>{console.log(Se,"value");const gt=(Se==null?void 0:Se[Ne])===1,yn=()=>{const Wt=Qe.getFieldValue(et);Qe.setFieldValue(et,Wt.map(_t=>z(y({},_t),{[Ne]:0})))},nn=()=>{gt?be(z(y({},Se),{[Ne]:0})):(we||yn(),be(z(y({},Se),{[Ne]:1})))};return Le.createElement(he.Z,{className:ze.Z.choiceWrap,align:"middle",wrap:!1},Le.createElement(De.Z,{onClick:nn,className:`${ze.Z.choiceIndex} ${gt?ze.Z.activeAnswer:""}`},ae[mt]),Le.createElement(De.Z,{flex:1,className:`${ze.Z.editorWrap} ml15`,onClick:Je},Le.createElement(Me.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:Re,value:Se==null?void 0:Se[We],onChange:Wt=>{be(z(y({},Se),{[We]:Wt}))}})),Le.createElement(De.Z,{flex:"0 0 auto",className:"ml15"},Le.createElement("div",{onClick:nn,className:`${ze.Z.setAnswerBtn} ${gt?ze.Z.activeAnswer:""}`},gt?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),Le.createElement(De.Z,{className:ze.Z.actionWrapper},Le.createElement(Ae.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},Le.createElement(xe.Z,{className:ze.Z.addIcon,onClick:ct,style:{visibility:ht?"visible":"hidden"}})),Le.createElement(Ae.Z,{title:"\u5220\u9664"},Le.createElement(tt.Z,{className:ze.Z.deleteIcon,onClick:Lt,style:{visibility:mt>1?"visible":"hidden"}}))))},ie=({questionTitlePlaceholder:Se,titleKey:be,choiceKey:We,analysisKey:Ne,choiceTextKey:mt,answerKey:Re,choiceOptionsPath:Je,allowChangeMode:Qe=!0,form:et,showAnalysis:we=!0})=>{const[ht,ct]=(0,b.useState)(),[Lt,gt]=(0,b.useState)(!1);return Le.createElement("div",{className:ze.Z.wrap},Le.createElement("div",{className:ze.Z.questionTitleEditorWrap},Le.createElement(ke.default.Item,{label:"\u9898\u5E72",name:be,labelCol:{span:24},rules:[{required:!0}]},Le.createElement(Me.h,{scrollId:Array.isArray(be)?be.join("_"):`${be}`,watch:!0,height:140,placeholder:Se}))),Le.createElement(ke.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),Le.createElement(ke.default.List,{name:We,rules:[{validator(yn,nn){const Wt=nn.some(Te=>Te[Re]===1),_t=nn.findIndex(Te=>{var ot;return((ot=Te[mt])==null?void 0:ot.length)<=0});return _t!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${ae[_t]}\u9009\u9879\u7684\u5185\u5BB9`)):Wt?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(yn,{add:nn,remove:Wt})=>Le.createElement("div",{id:Array.isArray(Je)?Je.join("_"):`${Je}`},yn.map((_t,Te)=>{var ot=_t,{key:Ut,name:xn}=ot,At=te(ot,["key","name"]);const ln=ht===Ut,Ce=()=>{ct(Ut)},ut=Te<7&&Te===yn.length-1,Xt=()=>nn({[mt]:"",[Re]:0}),nt=()=>Wt(xn);return Le.createElement(ke.default.Item,z(y({},At),{key:Ut,name:xn,className:ze.Z.choiceListWrap,rules:[{validator(Pt,_n){return _n!=null&&_n.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${ae[Te]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),Le.createElement(se,{choiceTextKey:mt,answerKey:Re,index:Te,isEdit:ln,setInputActive:Ce,form:et,choiceOptionsPath:Je,allowChangeMode:Qe,showAddIcon:ut,addItem:Xt,deleteItem:nt}))}),yn.length<8&&Le.createElement("div",{className:`${ze.Z.addBtn} mb30`,onClick:()=>nn({[mt]:"",[Re]:0})},"\u6DFB\u52A0\u9009\u9879"))),we&&Le.createElement("div",{onClick:()=>gt(!0)},Le.createElement(ke.default.Item,{name:Ne,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Le.createElement(Me.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Lt}))))}},95062:function(yt,kt,oe){"use strict";oe.d(kt,{u:function(){return Qe}});var b=oe(59301),he=oe(43418),De=oe(95237),Ae=oe(43604),ke=oe(92832),ze=oe(6848),xe=oe(78673),tt=oe(78241),Me=oe(5112),Le=oe(5871),_e=oe(89314),He=oe(12893),Ke=oe(61485),le=oe(59489),E=oe(24302),a=oe(59301),x=Object.defineProperty,y=Object.defineProperties,z=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ie=(et,we,ht)=>we in et?x(et,we,{enumerable:!0,configurable:!0,writable:!0,value:ht}):et[we]=ht,Se=(et,we)=>{for(var ht in we||(we={}))ae.call(we,ht)&&ie(et,ht,we[ht]);if(te)for(var ht of te(we))se.call(we,ht)&&ie(et,ht,we[ht]);return et},be=(et,we)=>y(et,z(we)),We=(et,we)=>{var ht={};for(var ct in et)ae.call(et,ct)&&we.indexOf(ct)<0&&(ht[ct]=et[ct]);if(et!=null&&te)for(var ct of te(et))we.indexOf(ct)<0&&se.call(et,ct)&&(ht[ct]=et[ct]);return ht};const Ne=({value:et,onChange:we})=>{const ht=Lt=>{he.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:le.Z.modal,onOk:()=>{const gt=[...et];gt.splice(Lt,1),we(gt)}})},ct=()=>{const Lt=[...et];Lt.push(""),we(Lt)};return a.createElement(De.Z,{className:"ml20"},a.createElement(Ae.Z,{flex:1},et==null?void 0:et.map((Lt,gt)=>a.createElement(De.Z,{key:`${Lt}_${gt}`,className:"mb20"},a.createElement(ke.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:Lt,autoSize:{maxRows:3},maxLength:1e3,onBlur:yn=>{const nn=[...et],Wt=yn.target.value.trim();nn[gt]=Wt,we(nn)}}),a.createElement(ze.Z,{title:"\u5220\u9664"},a.createElement(He.Z,{className:le.Z.deleteIcon,style:{marginLeft:15,visibility:gt>0?"visible":"hidden"},onClick:()=>ht(gt)}))))),a.createElement(Ae.Z,null,a.createElement("div",{className:`${le.Z.addBtn}`,onClick:()=>{ct()}},"\u65B0\u589E\u7B54\u6848")))},mt=({value:et,onChange:we})=>{const ht=Lt=>{he.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:le.Z.modal,onOk:()=>{const gt=[...et];gt.splice(Lt,1),we(gt)}})},ct=()=>{const Lt=[...et];Lt.push(""),we(Lt)};return a.createElement(De.Z,{className:"ml20"},a.createElement(Ae.Z,{flex:1},et==null?void 0:et.map((Lt,gt)=>a.createElement(De.Z,{key:`${Lt}_${gt}`,align:"middle",className:"mb20"},a.createElement(E.Z,{value:Lt,style:{flex:1},onChange:yn=>{const nn=[...et];nn[gt]=yn,we(nn)}}),a.createElement(ze.Z,{title:"\u5220\u9664"},a.createElement(He.Z,{className:le.Z.deleteIcon,style:{marginLeft:15,visibility:gt>0?"visible":"hidden"},onClick:()=>ht(gt)}))))),a.createElement(Ae.Z,null,a.createElement("div",{className:`${le.Z.addBtn}`,onClick:()=>{ct()}},"\u65B0\u589E\u7B54\u6848")))},Re=({value:et=!0,onChange:we})=>a.createElement(xe.Z,{checked:!et,onChange:ht=>{we(!ht)}}),Je="\u2581",Qe=({questionTitlePlaceholder:et,form:we,scoreByBlank:ht=!1,answerKey:ct})=>{const[Lt,gt]=(0,b.useState)(!1),yn=(At,ln)=>{const Ce=ln.line;let ut=0;for(let nt=0;nt{const Xt=At.getRange(ln.from,ln.to);let nt=0;if(ln.text.forEach(Pt=>{nt+=Pt.split(Je).length-1}),ln.origin!=="setValue"){if(Xt&&Xt.indexOf(Je)!==-1){const Pt=Xt.split(Je).length-1,_n=yn(At,ln.from);if(console.log(`\u5220\u9664${Pt}\u4E2A\uFF0C \u524D\u9762\u6709${_n}\u4E2A\uFF0C\u65B0\u589E${nt}\u4E2A`),Pt>1){const sn=Array.from({length:Pt},(Rt,Mt)=>_n+Mt);ut(sn)}else ut(_n)}else if(nt>0){const Pt=yn(At,ln.from);console.log(`\u65B0\u589E${nt}\u4E2A\uFF0C\u4E4B\u524D\u6709${Pt}\u4E2A`),Ce(nt,Pt)}}},Wt=()=>{const At=we.getFieldValue(ct);we.setFieldsValue({[ct]:At.map((ln,Ce)=>be(Se({},ln),{position:Ce+1}))})},_t=(0,b.useRef)(),Te=(At,ln)=>{for(let Ce=0;Ce{ot.current(At),Wt()},xn=tt.default.useWatch(ct,we);return a.createElement("div",{className:le.Z.wrap},a.createElement("div",{className:le.Z.questionTitleEditorWrap},a.createElement(tt.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},a.createElement(_e.h,{scrollId:"name",watch:!0,height:140,placeholder:et,showNullButton:!0,onCMBeforeChange:(At,ln)=>{nn(At,ln,Te,Ut)}}))),a.createElement(tt.default.List,{name:ct,rules:[{validator(At,ln){if(!(ln!=null&&ln.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Ce of ln){const{answer_text:ut}=Ce||{};if(ut!=null&&ut.some(Xt=>(Xt==null?void 0:Xt.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(At,{add:ln,remove:Ce},{errors:ut})=>(_t.current=ln,ot.current=Ce,a.createElement(a.Fragment,null,a.createElement(tt.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(At!=null&&At.length)&&a.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),At.map((Xt,nt)=>{var Pt=Xt,{key:_n,name:sn}=Pt,Rt=We(Pt,["key","name"]),Mt,Yn;return a.createElement("div",{style:{marginBottom:10},key:_n},a.createElement(De.Z,{className:"mb20",align:"middle",wrap:!1},a.createElement(Ae.Z,{style:{marginRight:10},flex:"0 0 auto",className:`${le.Z.blankIndex}`},"\u586B\u7A7A\u9879",nt+1),a.createElement(tt.default.Item,be(Se({},Rt),{name:[sn,"model"],noStyle:!0}),a.createElement(Me.ZP.Group,{onChange:()=>{const aa=we.getFieldValue(ct);we.setFieldsValue({[ct]:aa.map((tn,Fa)=>be(Se({},tn),{answer_text:sn===Fa?[""]:tn.answer_text}))})}},a.createElement(Me.ZP,{value:1},"\u6587\u672C\u6A21\u5F0F ",a.createElement(ze.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6587\u672C\u7B54\u6848"},a.createElement(Ke.Z,null))),a.createElement(Me.ZP,{value:2},"\u6570\u5B66\u516C\u5F0F\u6A21\u5F0F ",a.createElement(ze.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u7F16\u5199\u6570\u5B66\u516C\u5F0F\u4F5C\u4E3A\u7B54\u6848"},a.createElement(Ke.Z,null)))))),a.createElement(De.Z,{style:{marginLeft:20},align:"middle",wrap:!1},a.createElement(Ae.Z,{flex:1},a.createElement(De.Z,{align:"top",justify:"space-between",wrap:!1},a.createElement(Ae.Z,{flex:1},a.createElement(tt.default.Item,be(Se({},Rt),{name:[sn,"answer_text"],noStyle:!0}),((Yn=(Mt=we.getFieldValue(ct))==null?void 0:Mt[sn])==null?void 0:Yn.model)===1?a.createElement(Ne,null):a.createElement(mt,null))),ht&&a.createElement(Ae.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement(tt.default.Item,be(Se({},Rt),{name:[sn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:le.Z.blankInputNumberWrapper}),a.createElement(Le.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),a.createElement(tt.default.Item,be(Se({},Rt),{name:[sn,"position"],noStyle:!0}),a.createElement(ke.default,{type:"hidden"})))))})))),a.createElement(De.Z,{align:"middle"},a.createElement(tt.default.Item,{name:"downcase",valuePropName:"checked"},a.createElement(xe.Z,null)),a.createElement(Ae.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),a.createElement(De.Z,{align:"middle"},a.createElement(tt.default.Item,{name:"no_space",valuePropName:"checked"},a.createElement(xe.Z,null)),a.createElement(Ae.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(xn==null?void 0:xn.length)>1&&a.createElement(De.Z,{align:"middle",className:(xn==null?void 0:xn.length)>1?"mb30":`${le.Z.hide}`},a.createElement(tt.default.Item,{name:"is_ordered"},a.createElement(Re,null)),a.createElement(Ae.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),a.createElement("div",{onClick:()=>gt(!0)},a.createElement(tt.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},a.createElement(_e.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Lt}))))}},42784:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return te}});var b=oe(59301),he=oe(95237),De=oe(43604),Ae=oe(78241),ke=oe(59489),ze=oe(89314),xe=oe(59301),tt=Object.defineProperty,Me=Object.defineProperties,Le=Object.getOwnPropertyDescriptors,_e=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable,le=(ae,se,ie)=>se in ae?tt(ae,se,{enumerable:!0,configurable:!0,writable:!0,value:ie}):ae[se]=ie,E=(ae,se)=>{for(var ie in se||(se={}))He.call(se,ie)&&le(ae,ie,se[ie]);if(_e)for(var ie of _e(se))Ke.call(se,ie)&&le(ae,ie,se[ie]);return ae},a=(ae,se)=>Me(ae,Le(se)),x=(ae,se)=>{var ie={};for(var Se in ae)He.call(ae,Se)&&se.indexOf(Se)<0&&(ie[Se]=ae[Se]);if(ae!=null&&_e)for(var Se of _e(ae))se.indexOf(Se)<0&&Ke.call(ae,Se)&&(ie[Se]=ae[Se]);return ie};const y={\u6B63\u786E:"T",\u9519\u8BEF:"F"},z=({value:ae,onChange:se,form:ie})=>{const Se=(ae==null?void 0:ae.is_answer)===1,be=ae==null?void 0:ae.choice_text,We=()=>{const Ne=ie.getFieldsValue().choices.map(mt=>({choice_text:mt.choice_text,is_answer:0}));ie.setFieldsValue({choices:Ne}),se(a(E({},ae),{is_answer:1}))};return xe.createElement(he.Z,{className:ke.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},xe.createElement(De.Z,{onClick:We,className:`${ke.Z.choiceIndex} ${ke.Z.judgementIndex} ${Se?ke.Z.activeAnswer:""}`},y[be]),xe.createElement(De.Z,{flex:1,className:`${ke.Z.editorWrap} ml15`},xe.createElement("div",{className:`${ke.Z.inputBorder} ${ke.Z.placeholder} ${Se?ke.Z.activeJudgementAnswer:""}`},be)),xe.createElement(De.Z,{flex:"0 0 auto",className:"ml15"},xe.createElement("div",{onClick:We,className:`${ke.Z.setAnswerBtn} ${Se?ke.Z.activeAnswer:""}`},Se?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},te=({questionTitlePlaceholder:ae,choiceKey:se,form:ie})=>{const[Se,be]=(0,b.useState)(!1);return xe.createElement("div",{className:ke.Z.wrap},xe.createElement("div",{className:ke.Z.questionTitleEditorWrap},xe.createElement(Ae.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},xe.createElement(ze.h,{scrollId:"name",watch:!0,height:140,placeholder:ae}))),xe.createElement(Ae.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},xe.createElement(Ae.default.List,{name:"choices",rules:[{validator(We,Ne){return Ne.some(Re=>(Re==null?void 0:Re.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},We=>xe.createElement("div",{id:"choices"},We.map(Ne=>{var mt=Ne,{key:Re,name:Je}=mt,Qe=x(mt,["key","name"]);return xe.createElement(Ae.default.Item,a(E({},Qe),{key:Re,name:Je,noStyle:!0}),xe.createElement(z,{form:ie}))})))),xe.createElement("div",{onClick:()=>be(!0)},xe.createElement(Ae.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},xe.createElement(ze.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Se}))))}},89314:function(yt,kt,oe){"use strict";oe.d(kt,{h:function(){return E},x:function(){return a}});var b=oe(4213),he=oe(59489),De=oe(98573),Ae=oe(59301),ke=Object.defineProperty,ze=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,_e=(x,y,z)=>y in x?ke(x,y,{enumerable:!0,configurable:!0,writable:!0,value:z}):x[y]=z,He=(x,y)=>{for(var z in y||(y={}))Me.call(y,z)&&_e(x,z,y[z]);if(tt)for(var z of tt(y))Le.call(y,z)&&_e(x,z,y[z]);return x},Ke=(x,y)=>ze(x,xe(y)),le=(x,y)=>{var z={};for(var te in x)Me.call(x,te)&&y.indexOf(te)<0&&(z[te]=x[te]);if(x!=null&&tt)for(var te of tt(x))y.indexOf(te)<0&&Le.call(x,te)&&(z[te]=x[te]);return z};const E=x=>{var y=x,{value:z,onChange:te,scrollId:ae}=y,se=le(y,["value","onChange","scrollId"]);return Ae.createElement("div",{id:ae||""},Ae.createElement(b.Z,Ke(He({},se),{defaultValue:z,onChange:(ie,Se)=>{Se!=null&&Se.length?te(ie,Se):te(ie)}})))},a=({value:x,onChange:y,placeholder:z,height:te=140,isEdit:ae,miniToolbar:se,watch:ie=!0})=>ae?Ae.createElement(b.Z,{watch:ie,isFocus:!0,height:te||void 0,placeholder:z,defaultValue:x,onChange:y,miniToolbar:se}):Ae.createElement("div",{style:{cursor:"pointer"}},x?Ae.createElement(De.Z,{className:he.Z.inputBorder,value:x}):Ae.createElement("div",{className:`${he.Z.inputBorder} ${he.Z.placeholder} inputBorderError`},z))},12796:function(yt,kt,oe){"use strict";oe.d(kt,{W:function(){return mt}});var b=oe(59301),he=oe(8591),De=oe(12563),Ae=oe(78241),ke=oe(78673),ze=oe(95237),xe=oe(43604),tt=oe(6848),Me=oe(92832),Le=oe(5871),_e=oe(59489),He=oe(89314),Ke=oe(4213),le=oe(61485),E=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,ae=(Re,Je,Qe)=>Je in Re?E(Re,Je,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):Re[Je]=Qe,se=(Re,Je)=>{for(var Qe in Je||(Je={}))z.call(Je,Qe)&&ae(Re,Qe,Je[Qe]);if(y)for(var Qe of y(Je))te.call(Je,Qe)&&ae(Re,Qe,Je[Qe]);return Re},ie=(Re,Je)=>a(Re,x(Je)),Se=(Re,Je)=>{var Qe={};for(var et in Re)z.call(Re,et)&&Je.indexOf(et)<0&&(Qe[et]=Re[et]);if(Re!=null&&y)for(var et of y(Re))Je.indexOf(et)<0&&te.call(Re,et)&&(Qe[et]=Re[et]);return Qe};const be=Re=>{var Je=Re,{value:Qe,onChange:et}=Je,we=Se(Je,["value","onChange"]);const ht=ct=>{et([ct])};return b.createElement(Ke.Z,ie(se({},we),{defaultValue:Qe==null?void 0:Qe[0],onChange:ht}))},We=Re=>{if(!Re)return!1;if(/^s*$/.test(Re)||Re.trim()===""){he.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let Je=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return Re==="|"?(he.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Ne=({value:Re=[],onClose:Je})=>b.createElement(De.default,{closable:!0,onClose:Je,className:_e.Z.keywordTag},b.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},Re.join(" \u6216 "))),mt=({questionTitlePlaceholder:Re,form:Je,showKeywords:Qe,isMustKeyWords:et=Qe})=>{const[we,ht]=(0,b.useState)(!1),[ct,Lt]=(0,b.useState)(""),gt=Ae.default.useWatch("use_keywords",Je),yn=Ae.default.useWatch("question_score",Je);return b.createElement("div",{className:_e.Z.wrap},b.createElement("div",{className:_e.Z.questionTitleEditorWrap},b.createElement(Ae.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},b.createElement(He.h,{scrollId:"name",watch:!0,height:140,placeholder:Re}))),b.createElement(Ae.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},b.createElement(be,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Qe&&!et&&b.createElement(Ae.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},b.createElement(ke.Z,{defaultChecked:!0})),Qe&&et&&b.createElement(ze.Z,{align:"middle",className:"mb30"},b.createElement(Ae.default.Item,{name:"use_keywords",valuePropName:"checked"},b.createElement(ke.Z,null)),b.createElement(xe.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),b.createElement(xe.Z,null,b.createElement(tt.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},b.createElement(le.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(gt||!et)&&b.createElement(Ae.default.List,{name:"keywords",rules:[{validator(nn,Wt){return et?Wt!=null&&Wt.length?(Wt==null?void 0:Wt.reduce((Te,ot)=>Te+ot.score,0))>parseFloat(yn)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},(nn,{add:Wt,remove:_t})=>b.createElement(b.Fragment,null,b.createElement("div",{className:`${_e.Z.title} mb10`},et?"\u5173\u952E\u8BCD":b.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),b.createElement(ze.Z,{align:"middle",className:"font14 mb30"},b.createElement(xe.Z,{flex:1},b.createElement(Me.default,{value:ct,onChange:Te=>{Lt(Te.target.value)},maxLength:50,allowClear:!0,onPressEnter:Te=>{var ot,Ut,xn,At;const ln=`${(ot=Te.target)==null?void 0:ot.value}`,Ce=(xn=(Ut=ln==null?void 0:ln.split("|"))==null?void 0:Ut.filter(nt=>!!nt))==null?void 0:xn.map(nt=>nt==null?void 0:nt.trim()),ut=Je.getFieldValue("keywords"),Xt=((At=ut==null?void 0:ut.map(nt=>nt==null?void 0:nt.keyword))==null?void 0:At.flat())||[];for(const nt of Ce)if(Xt.includes(nt)){he.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}We(ln)&&(Wt({keyword:Ce,score:1}),Lt(""))},className:_e.Z.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),b.createElement(xe.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),nn.map(Te=>{var ot=Te,{key:Ut,name:xn}=ot,At=Se(ot,["key","name"]);return b.createElement(ze.Z,{key:Ut,className:"mb20",style:{marginRight:148}},b.createElement(xe.Z,{flex:1},b.createElement(ze.Z,{align:"middle",justify:"space-between"},b.createElement(Ae.default.Item,ie(se({},At),{name:[xn,"keyword"]}),b.createElement(Ne,{onClose:()=>_t(xn)})),et&&b.createElement(Ae.default.Item,ie(se({},At),{name:[xn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:_e.Z.blankInputNumberWrapper}),b.createElement(Le.Z,{className:_e.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),b.createElement("div",{onClick:()=>ht(!0)},b.createElement(Ae.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(He.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:we}))))}},20135:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return ke}});var b={text:"text___bQulM",sup:"sup___rX_Y3"},he=oe(78241),De=oe(59301),ke=({text:ze,name:xe="question_score"})=>{const tt=({value:Me})=>De.createElement("div",{className:b.text},De.createElement("span",{className:b.sup},"*"),De.createElement("span",{className:"mr10"},"\u5206\u503C"),De.createElement("span",null,Me||"--"),De.createElement("span",{className:"c-grey-999"},ze));return De.createElement(he.default.Item,{noStyle:!0,name:xe},De.createElement(tt,null))}},56636:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return We},P:function(){return ie}});var b=oe(59301),he=oe(78241),De=oe(43418),Ae=oe(5112),ke=oe(92832),ze=oe(1710),xe={brief:"brief___LOzpE",contentTitle:"contentTitle___xkdcN",content:"content___Vtri0",tips:"tips___tuAtH",antdTable:"antdTable___s8T2N",tableCell:"tableCell___kN9Fw",antdModal:"antdModal___WVBk3",orangeColor:"orangeColor___ryB2u"},tt=oe(84698),Me=Object.defineProperty,Le=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,He=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,E=(Ne,mt,Re)=>mt in Ne?Me(Ne,mt,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ne[mt]=Re,a=(Ne,mt)=>{for(var Re in mt||(mt={}))Ke.call(mt,Re)&&E(Ne,Re,mt[Re]);if(He)for(var Re of He(mt))le.call(mt,Re)&&E(Ne,Re,mt[Re]);return Ne},x=(Ne,mt)=>Le(Ne,_e(mt)),y=(Ne,mt)=>{var Re={};for(var Je in Ne)Ke.call(Ne,Je)&&mt.indexOf(Je)<0&&(Re[Je]=Ne[Je]);if(Ne!=null&&He)for(var Je of He(Ne))mt.indexOf(Je)<0&&le.call(Ne,Je)&&(Re[Je]=Ne[Je]);return Re},z=(Ne,mt,Re)=>new Promise((Je,Qe)=>{var et=ct=>{try{ht(Re.next(ct))}catch(Lt){Qe(Lt)}},we=ct=>{try{ht(Re.throw(ct))}catch(Lt){Qe(Lt)}},ht=ct=>ct.done?Je(ct.value):Promise.resolve(ct.value).then(et,we);ht((Re=Re.apply(Ne,mt)).next())});const te=({studentNames:Ne,total:mt})=>{const Re=["","\u4E00","\u4E24","\u4E09"];return mt>3?b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:xe.orangeColor},Ne==null?void 0:Ne.join("\u3001")),"\u7B49",b.createElement("span",{className:xe.orangeColor},mt),"\u540D\u5B66\u751F"):b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:xe.orangeColor},Ne==null?void 0:Ne.join("\u3001")),Re[mt],"\u540D\u5B66\u751F")},ae=({used:Ne,copy:mt,canNotCopy:Re,studentNames:Je,studentCount:Qe,inPaper:et,is_random:we=!1,position:ht=""})=>{const ct=()=>{if(mt>0&&Re>0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:xe.orangeColor},mt),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C",b.createElement("span",{className:xe.orangeColor},Re),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236");if(mt>0&&Re===0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:xe.orangeColor},mt),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236");if(mt===0&&Re>0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:xe.orangeColor},Re),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236")},Lt=ht||(et?"\u8BD5\u5377":"\u8BFE\u7A0B");return b.createElement("span",null,b.createElement(te,{studentNames:Je,total:Qe}),"\u5B66\u4E60\u8FC7",Lt,"\u4E2D\u7684",b.createElement("span",{className:xe.orangeColor},Ne),"\u4E2A\u9879\u76EE\uFF0C",ct(),"\u3002\u8BF7\u9009\u62E9",we?"":"\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C","\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")},se=({onCancel:Ne,onOk:mt,visible:Re,inPaper:Je,renderData:Qe,type:et,isMultipleCourse:we=!1})=>{const[ht]=he.default.useForm(),[ct,Lt]=(0,b.useState)(1),[gt,yn]=(0,b.useState)(!1),nn=(0,b.useMemo)(()=>(Qe==null?void 0:Qe.total_num)===1&&(Qe==null?void 0:Qe.can_copy_num)===1,[Qe]),Wt=(0,b.useMemo)(()=>{var _t;return(_t=Qe==null?void 0:Qe.course_data_list)==null?void 0:_t.filter(Te=>Te.is_show)},[Qe]);return b.createElement(b.Fragment,null,nn?b.createElement(De.default,{centered:!0,closable:!0,open:Re,destroyOnClose:!0,title:"\u63D0\u793A",className:xe.antdModal,width:682,confirmLoading:gt,onCancel:Ne,onOk:()=>z(void 0,null,function*(){var _t;yn(!0);let Te=ct;if(we){const ot=a({},ht.getFieldsValue());Te=(_t=Qe==null?void 0:Qe.course_data_list)==null?void 0:_t.map(Ut=>ot[Ut.id]!==void 0?x(a({},Ut),{is_copy:ot[Ut.id]}):Ut)}yield mt(Te),yn(!1)})},b.createElement("div",{className:xe.content,style:{marginBottom:20}},we?"\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5DF2\u5728\u6559\u5B66\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u8BF7\u95EE\u662F\u5426\u590D\u5236\u6210\u65B0\u7684\u5B9E\u8BAD\u53D1\u9001\u81F3\u6559\u5B66\u8BFE\u5802\u4E2D?":b.createElement(b.Fragment,null,b.createElement(te,{studentNames:Qe==null?void 0:Qe.student_names,total:Qe==null?void 0:Qe.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u8BF7\u9009\u62E9\u662F\u5426\u5C06\u8BE5\u9879\u76EE\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")),we?b.createElement(he.default,{form:ht,preserve:!1},Wt==null?void 0:Wt.map(_t=>b.createElement(b.Fragment,{key:_t.id},b.createElement("h3",{className:"ml15 mb5"},_t.name),b.createElement(he.default.Item,{name:_t.id,initialValue:1},b.createElement(Ae.ZP.Group,{className:xe.content},b.createElement(Ae.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236\u5B9E\u8BAD"),b.createElement(Ae.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236\u5B9E\u8BAD")))))):b.createElement(Ae.ZP.Group,{value:ct,onChange:_t=>Lt(_t.target.value),className:xe.content,style:{marginBottom:30}},b.createElement(Ae.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236"),b.createElement(Ae.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236")),b.createElement("div",null,b.createElement("div",{className:xe.content,style:{marginBottom:10}},"* \u8BF4\u660E\uFF1A"),b.createElement("div",{className:xe.content,style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),b.createElement("div",{className:`${xe.content} ${xe.orangeColor}`},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"))):b.createElement(De.default,{centered:!0,closable:!0,destroyOnClose:!0,open:Re,confirmLoading:gt,title:"\u63D0\u793A",width:682,onCancel:Ne,onOk:()=>z(void 0,null,function*(){var _t;yn(!0);let Te=0;if(we){const ot=a({},ht.getFieldsValue());Te=(_t=Qe==null?void 0:Qe.course_data_list)==null?void 0:_t.map(Ut=>ot[Ut.id]!==void 0?x(a({},Ut),{is_use:ot[Ut.id]}):Ut)}yield mt(Te),yn(!1)})},b.createElement("div",{className:xe.content},b.createElement(te,{studentNames:Qe==null?void 0:Qe.student_names,total:Qe==null?void 0:Qe.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002",we?b.createElement(he.default,{form:ht,preserve:!1},b.createElement("h3",null,"\u5F53\u524D\u5B9E\u8BAD\u4E0D\u53EF\u590D\u5236\uFF0C\u5DF2\u7ECF\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5B58\u5728\u8BE5\u5B9E\u8BAD\uFF0C\u540C\u4E00\u5B9E\u8BAD\u5728\u8BFE\u5802\u4E2D\u91CD\u590D\u4F7F\u7528\u65F6\uFF0C\u4F1A\u5BFC\u81F4\u6210\u7EE9\u4E92\u76F8\u5F71\u54CD\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u7EE7\u7EED\u4F7F\u7528"),Wt==null?void 0:Wt.map(_t=>b.createElement(b.Fragment,{key:_t.id},b.createElement("h3",{className:"ml15 mb5"},_t.name),b.createElement(he.default.Item,{name:_t.id,initialValue:1},b.createElement(Ae.ZP.Group,{className:xe.content},b.createElement(Ae.ZP,{value:1,style:{color:"#464f66"}},"\u7EE7\u7EED\u4F7F\u7528"),b.createElement(Ae.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u4F7F\u7528")))))):b.createElement("div",null,"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u82E5\u786E\u8BA4\u7EE7\u7EED\u53D1\u9001\uFF0C",b.createElement("span",{className:xe.orangeColor},"\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"),"\uFF08\u5982\u679C\u4E0D\u60F3\u6E05\u7A7A\u5B66\u751F\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u5EFA\u8BAE\u53C2\u7167\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u5185\u5BB9\u81EA\u884C\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u6216\u8005\u5C1D\u8BD5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u4EBA\u5F00\u653E\u672C\u9879\u76EE\u7684\u590D\u5236\u6743\u9650\uFF09\u3002"))))},ie=function(){const[Ne,mt]=(0,b.useState)(!1),[Re,Je]=(0,b.useState)();return[Ne,()=>mt(!1),Re,we=>z(this,null,function*(){var ht;const ct=we,{isImportMultipleCourse:Lt=!1}=ct,gt=y(ct,["isImportMultipleCourse"]);console.log(we);const yn=(we==null?void 0:we.result)||(yield(0,tt.Tr)(gt));return"status"in yn?!1:Lt?((ht=yn==null?void 0:yn.course_data_list)==null?void 0:ht.some(Wt=>Wt.is_show))?(Je(yn),mt(!0),!0):yn.course_data_list||[]:yn.student_count===0?!1:(Je(yn),mt(!0),!0)})]},Se=Ne=>{const[mt]=he.default.useForm(),[Re,Je]=(0,b.useState)(!1),{onCancel:Qe,onOk:et,visible:we,inPaper:ht=!1,renderData:ct,type:Lt,isMultipleCourse:gt=!1,position:yn}=Ne;let nn=(0,b.useMemo)(()=>ht?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:xe.tableCell,render(Te,ot){return b.createElement("a",{href:`/shixuns/${ot.identifier}/challenges`,target:"_blank"},Te)}},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(Te,ot)=>b.createElement(b.Fragment,null,b.createElement(he.default.Item,{name:[`${Lt==="subject"?ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_copy"],initialValue:1},b.createElement(Ae.ZP.Group,null,b.createElement(Ae.ZP,{value:1},"\u662F"),b.createElement(Ae.ZP,{value:0},"\u5426"))),b.createElement(he.default.Item,{name:[`${Lt==="subject"?ot==null?void 0:ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(ke.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:xe.tableCell,render(Te,ot){return b.createElement("a",{href:`/shixuns/${ot.identifier}/challenges`,target:"_blank"},Te)}},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(Te,ot)=>b.createElement(he.default.Item,{name:[`${Lt==="subject"?ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_use"],initialValue:1},b.createElement(Ae.ZP.Group,null,b.createElement(Ae.ZP,{value:1},"\u662F"),b.createElement(Ae.ZP,{value:0},"\u5426")))},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(Te,ot)=>b.createElement(he.default.Item,{name:[`${Lt==="subject"?ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_copy"],initialValue:1},b.createElement(Ae.ZP.Group,null,b.createElement(Ae.ZP,{value:1},"\u662F"),b.createElement(Ae.ZP,{value:0},"\u5426")))}],[ht]),Wt=(0,b.useMemo)(()=>ht?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:xe.tableCell,align:"center",ellipsis:!0,render:(Te,ot)=>b.createElement(b.Fragment,null,b.createElement("a",{href:`/shixuns/${ot.identifier}/challenges`,target:"_blank"},Te),b.createElement(he.default.Item,{name:[`${Lt==="subject"?ot==null?void 0:ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(ke.default,{type:"hidden"})),b.createElement(he.default.Item,{name:[`${Lt==="subject"?ot==null?void 0:ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(ke.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:xe.tableCell,ellipsis:!0,align:"center",render:(Te,ot)=>b.createElement("a",{href:`/shixuns/${ot.identifier}/challenges`,target:"_blank"},Te)},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(Te,ot)=>b.createElement(b.Fragment,null,b.createElement(he.default.Item,{name:[`${Lt==="subject"?ot==null?void 0:ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_use"],initialValue:0},b.createElement(Ae.ZP.Group,null,b.createElement(Ae.ZP,{value:1},"\u662F"),b.createElement(Ae.ZP,{value:0},"\u5426"))),b.createElement(he.default.Item,{name:[`${Lt==="subject"?ot==null?void 0:ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(ke.default,{type:"hidden"})))}],[ht]);if(gt){const Te={title:"\u8BFE\u5802\u540D\u79F0",ellipsis:!0,dataIndex:"course_name",width:190,align:"center",className:xe.tableCell,render:(ot,Ut)=>b.createElement("a",{href:`/classrooms/${Ut.course_id}`},ot)};nn=[Te,...nn],Wt=[Te,...Wt]}const _t=(0,b.useMemo)(()=>ae({used:ct==null?void 0:ct.repeat_shixun_num,copy:ct==null?void 0:ct.can_copy_num,canNotCopy:ct==null?void 0:ct.no_copy_num,studentNames:ct==null?void 0:ct.student_names,studentCount:ct==null?void 0:ct.student_count,is_random:ct==null?void 0:ct.is_random,inPaper:ht,position:yn}),[ct,ht,yn]);return b.createElement(De.default,{title:"\u63D0\u793A",centered:!0,open:we,confirmLoading:Re,onOk:()=>z(void 0,null,function*(){Je(!0);const Te=mt.getFieldsValue(),ot=Object.keys(Te).map(Ut=>({id:parseInt(Ut.split("_")[0]),course_id:parseInt(Ut.split("_")[1]),is_use:Te[Ut].is_use,is_copy:Te[Ut].is_copy}));yield et(ot),Je(!1)}),onCancel:Qe,width:880,okText:"\u786E\u8BA4",className:xe.antdModal,destroyOnClose:!0},b.createElement(he.default,{form:mt,preserve:!1},b.createElement("div",{className:xe.brief},_t),b.createElement("div",{style:{marginBottom:30}},b.createElement("div",{style:{marginBottom:20}},"* \u8BF4\u660E"),b.createElement("div",{style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),b.createElement("div",{className:xe.orangeColor},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002")),(ct==null?void 0:ct.can_copy_num)>0&&b.createElement("div",null,b.createElement("div",{className:xe.contentTitle},"\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),b.createElement(ze.default,{columns:nn,className:xe.antdTable,dataSource:ct==null?void 0:ct.can_copy_list,rowKey:Lt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:240},bordered:!0})),(ct==null?void 0:ct.no_copy_num)>0&&b.createElement("div",null,b.createElement("div",{className:xe.contentTitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),b.createElement(ze.default,{columns:Wt,className:xe.antdTable,dataSource:ct==null?void 0:ct.no_copy_list,rowKey:Lt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:200},bordered:!0})),(ct==null?void 0:ct.no_use_list.length)>0&&(ct==null?void 0:ct.no_use_list.map(Te=>b.createElement("div",{key:Lt==="subject"?Te.stage_shixun_id:Te.shixun_course_id||Te.id},b.createElement(he.default.Item,{name:[`${Lt==="subject"?Te==null?void 0:Te.stage_shixun_id:Te.shixun_course_id||Te.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(ke.default,{type:"hidden"})),b.createElement(he.default.Item,{name:[`${Lt==="subject"?Te==null?void 0:Te.stage_shixun_id:Te.shixun_course_id||Te.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(ke.default,{type:"hidden"})))))))};var We=Ne=>{const{modalType:mt}=Ne;return mt==="multiple"?b.createElement(Se,a({},Ne)):b.createElement(se,a({},Ne))}},67702:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return tt}});var b=oe(59301),he={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},De=oe(43418),Ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QA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promise((He,Ke)=>{var le=x=>{try{a(_e.next(x))}catch(y){Ke(y)}},E=x=>{try{a(_e.throw(x))}catch(y){Ke(y)}},a=x=>x.done?He(x.value):Promise.resolve(x.value).then(le,E);a((_e=_e.apply(Me,Le)).next())}),tt=({type:Me,resdata:Le,onok:_e,oktext:He,okloading:Ke})=>{const[le,E]=(0,b.useState)(!1),{can_copy_list:a,can_copy_num:x,challenge_type:y,course_data_list:z,no_copy_list:te,no_copy_num:ae,no_use_list:se,no_use_num:ie,repeat_shixun_num:Se,student_count:be,total_num:We,use_num:Ne}=Le;let mt=x>0||Me==="exercise";(0,b.useEffect)(()=>{(Le==null?void 0:Le.student_count)>0&&E(!0)},[Le]),console.log("---11",Ke),(0,b.useEffect)(()=>{Ke||E(!1)},[Ke]);const Re=()=>{if(Me==="exercise"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:he.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:he.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:he.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(Me==="exercise"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:he.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:he.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:he.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Me==="shixun"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:he.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:he.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Me==="shixun"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:he.orangeColor},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:he.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Me==="subject"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:he.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:he.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:he.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Me==="subject"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",b.createElement("span",{className:he.orangeColor},be)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",b.createElement("span",{className:he.orangeColor},Ne)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:he.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Me==="exercisepush")return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:he.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",b.createElement("span",{className:he.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",b.createElement("span",{className:he.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(Me==="shixunpush"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:he.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:he.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:he.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Me==="shixunpush"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:he.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",b.createElement("span",{className:he.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:he.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Je=()=>{if(Me==="exercise"||Me==="subject"||Me==="exercisepush"||Me==="shixunpush")return b.createElement("div",{style:{marginTop:20}},ae>0&&b.createElement("div",null,b.createElement("span",{className:he.flex},b.createElement("img",{src:ke,style:{width:14}}),b.createElement("span",{className:he.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:he.statusbody},Me==="exercise"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:he.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(Me==="subject"||Me==="exercisepush")&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",mt&&b.createElement("span",{className:he.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),Me==="shixunpush"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",mt&&b.createElement("span",{className:he.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),b.createElement("div",null,te==null?void 0:te.map((Qe,et)=>b.createElement("a",{href:`/shixuns/${Qe.identifier}/challenges`,target:"_blank"},"\u300A",Qe==null?void 0:Qe.name,"\u300B",et+1!==ae&&"\u3001"))))),x>0&&b.createElement("div",{style:{marginTop:20}},b.createElement("span",{className:he.flex},b.createElement("img",{src:Ae,style:{width:14}}),b.createElement("span",{className:he.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:he.statusbody},Me==="exercise"&&b.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(Me==="subject"||Me==="exercisepush")&&b.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),Me==="shixunpush"&&b.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),b.createElement("div",null,a==null?void 0:a.map((Qe,et)=>b.createElement("a",{href:`/shixuns/${Qe.identifier}/challenges`,target:"_blank"},"\u300A",Qe==null?void 0:Qe.name,"\u300B",et+1!==x&&"\u3001"))))));if(Me==="shixun")return b.createElement("div",{style:{marginTop:20}},x>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return b.createElement(De.default,{open:le,onCancel:()=>{E(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!mt&&"none"}},zIndex:1003,confirmLoading:Ke,okText:mt?He:"\u6211\u77E5\u9053\u4E86",onOk:()=>ze(void 0,null,function*(){mt?yield _e([...a,...se]):E(!1)})},b.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Re(),Je()))}},41539:function(yt,kt,oe){"use strict";oe.d(kt,{h:function(){return ae}});var b=oe(59301),he=oe(57809),De=oe(78241),Ae=oe(3113),ke=oe(89780),ze=oe.n(ke),xe=oe(39060),tt=oe(76596),Me=Object.defineProperty,Le=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,He=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,E=(se,ie,Se)=>ie in se?Me(se,ie,{enumerable:!0,configurable:!0,writable:!0,value:Se}):se[ie]=Se,a=(se,ie)=>{for(var Se in ie||(ie={}))Ke.call(ie,Se)&&E(se,Se,ie[Se]);if(He)for(var Se of He(ie))le.call(ie,Se)&&E(se,Se,ie[Se]);return se},x=(se,ie)=>Le(se,_e(ie));const y=he.default.Option,z={labelCol:{span:4},wrapperCol:{span:20}},te={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};kt.Z=({callback:se,onCancel:ie})=>{const[Se,be]=(0,b.useState)("python");function We(mt){be(te[mt][1])}function Ne(mt){se(mt)}return b.createElement(De.default,x(a({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ne,style:{width:500}}),b.createElement(De.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},b.createElement(he.default,{getPopupContainer:mt=>mt.parentNode,onChange:We},Object.keys(te).map(mt=>b.createElement(y,{key:mt,value:mt},te[mt][0])))),b.createElement(De.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},b.createElement(ae,{mode:Se})),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Ae.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Ae.ZP,{type:"ghost",onClick:ie},"\u53D6\u6D88")))};function ae({value:se,onChange:ie,mode:Se,options:be={}}){const We=(0,b.useRef)(),[Ne,mt]=(0,b.useState)();return(0,b.useEffect)(()=>{if(Ne){let Re=function(Je){const Qe=Je.getValue();ie&&ie(Qe)};return Ne.on("change",Re),()=>{Ne.off("change",Re)}}},[Ne,ie]),(0,b.useEffect)(()=>{Ne&&Ne.setOption("mode",Se)},[Ne,Se]),(0,b.useEffect)(()=>{Ne&&(se!==Ne.getValue()||se==="")&&setTimeout(()=>{Ne.setValue(se||"")},300)},[Ne,se]),(0,b.useEffect)(()=>{if(We.current&&!Ne){const Re=ze().fromTextArea(We.current,a({mode:Se,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},be));mt(Re)}},[We.current,Ne]),b.createElement("div",{className:"my-codemirror-container"},b.createElement("textarea",{ref:We}))}},4213:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return Kt}});var b=oe(59301),he=oe(89780),De=oe.n(he),Ae=oe(76374),ke=oe(39060),ze=oe(6313),xe=oe(25717),tt=oe(99498),Me=oe(25419),Le=oe(67549),_e=oe(98573),He=({value:Ge="",className:Ye,showTextOnly:Ue,showLines:Bt,style:un={}})=>{const pn=(0,b.useMemo)(()=>"",[Ge]);return b.createElement(b.Fragment,null,b.createElement("div",{dangerouslySetInnerHTML:{__html:pn}}))},Ke=oe(59301),le=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(Ge,Ye,Ue)=>Ye in Ge?le(Ge,Ye,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):Ge[Ye]=Ue,ae=(Ge,Ye)=>{for(var Ue in Ye||(Ye={}))y.call(Ye,Ue)&&te(Ge,Ue,Ye[Ue]);if(x)for(var Ue of x(Ye))z.call(Ye,Ue)&&te(Ge,Ue,Ye[Ue]);return Ge},se=(Ge,Ye)=>E(Ge,a(Ye));let ie=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function Se({onActionCallback:Ge,title:Ye,icon:Ue,actionName:Bt,className:un="",children:pn}){function ra(){Ge(Bt)}return Ke.createElement("a",{title:Ye,className:un,onClick:ra},Ke.createElement("i",{className:`${Ue}`}),pn)}var be=({watch:Ge,showNullButton:Ye,showNullProgramButton:Ue,onActionCallback:Bt,fullScreen:un,insertTemp:pn,hidetoolBar:ra,extraUse:Wn})=>{const Ln=[...ie,{title:`${Ge?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Ge?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ke.createElement("ul",{className:"markdown-toolbar-container"},!ra&&Ln.map((jn,Tn)=>Ke.createElement("li",{key:Tn},jn.actionName?Ke.createElement(Se,se(ae({},jn),{onActionCallback:Bt})):Ke.createElement("span",{className:"v-line"}))),Ye?Ke.createElement("li",null,Ke.createElement(Se,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Bt},Ke.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Ue?Ke.createElement(Ke.Fragment,null,Ke.createElement("li",null,Ke.createElement(Se,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Bt},Ke.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ke.createElement("li",null,Ke.createElement(Se,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Bt},Ke.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,pn&&Ke.createElement("li",null,Ke.createElement(Se,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${pn}`,onActionCallback:Bt},Ke.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Wn&&Ke.createElement("li",null,Wn),Ke.createElement("li",{className:"btn-full-screen"},Ke.createElement(Se,{icon:`${un?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:un?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Bt})))},We=oe(51498),Ne=oe(78241),mt=oe(92832),Re=oe(3113),Je=Object.defineProperty,Qe=Object.defineProperties,et=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,ht=Object.prototype.hasOwnProperty,ct=Object.prototype.propertyIsEnumerable,Lt=(Ge,Ye,Ue)=>Ye in Ge?Je(Ge,Ye,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):Ge[Ye]=Ue,gt=(Ge,Ye)=>{for(var Ue in Ye||(Ye={}))ht.call(Ye,Ue)&&Lt(Ge,Ue,Ye[Ue]);if(we)for(var Ue of we(Ye))ct.call(Ye,Ue)&&Lt(Ge,Ue,Ye[Ue]);return Ge},yn=(Ge,Ye)=>Qe(Ge,et(Ye));const nn={labelCol:{span:4},wrapperCol:{span:20}};var Wt=({callback:Ge,onCancel:Ye})=>{function Ue(Bt){Ge(Bt)}return b.createElement(Ne.default,yn(gt({},nn),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Ue,style:{width:500}}),b.createElement(Ne.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},b.createElement(mt.default,null)),b.createElement(Ne.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},b.createElement(mt.default,null)),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Re.ZP,{type:"ghost",onClick:Ye},"\u53D6\u6D88")))},_t=oe(41539),Te=oe(35944),ot=oe(43418),Ut=oe(95237),xn=oe(89837),At=oe(59301),ln=({callback:Ge,onCancel:Ye})=>{const Ue=document.createElement("canvas"),Bt=Ue.getContext("2d");Ue.width=1e3,Ue.height=800,Bt.fillStyle="#ffffff",Bt.fillRect(0,0,Ue.width,Ue.height);const un=Ue.toDataURL("image/png");return At.createElement(ot.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},At.createElement(Ut.Z,{style:{height:"100vh"}},At.createElement(xn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:un,visible:!0,title:String(Date.now())},onOk:pn=>{Ge({src:pn.url})},onClose:Ye})))},Ce=oe(12378);function ut(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(ut,go.CommandHandler),ut.prototype.canAlignSelection=function(){var Ge=this.diagram;return!(Ge===null||Ge.isReadOnly||Ge.isModelReadOnly||Ge.selection.count<2)},ut.prototype.alignLeft=function(){var Ge=this.diagram;Ge.startTransaction("aligning left");var Ye=1/0;Ge.selection.each(function(Ue){Ue instanceof go.Link||(Ye=Math.min(Ue.position.x,Ye))}),Ge.selection.each(function(Ue){Ue instanceof go.Link||Ue.move(new go.Point(Ye,Ue.position.y))}),Ge.commitTransaction("aligning left")},ut.prototype.alignRight=function(){var Ge=this.diagram;Ge.startTransaction("aligning right");var Ye=-1/0;Ge.selection.each(function(Ue){if(!(Ue instanceof go.Link)){var Bt=Ue.actualBounds.x+Ue.actualBounds.width;Ye=Math.max(Bt,Ye)}}),Ge.selection.each(function(Ue){Ue instanceof go.Link||Ue.move(new go.Point(Ye-Ue.actualBounds.width,Ue.position.y))}),Ge.commitTransaction("aligning right")},ut.prototype.alignTop=function(){var Ge=this.diagram;Ge.startTransaction("alignTop");var Ye=1/0;Ge.selection.each(function(Ue){Ue instanceof go.Link||(Ye=Math.min(Ue.position.y,Ye))}),Ge.selection.each(function(Ue){Ue instanceof go.Link||Ue.move(new go.Point(Ue.position.x,Ye))}),Ge.commitTransaction("alignTop")},ut.prototype.alignBottom=function(){var Ge=this.diagram;Ge.startTransaction("aligning bottom");var Ye=-1/0;Ge.selection.each(function(Ue){if(!(Ue instanceof go.Link)){var Bt=Ue.actualBounds.y+Ue.actualBounds.height;Ye=Math.max(Bt,Ye)}}),Ge.selection.each(function(Ue){Ue instanceof go.Link||Ue.move(new go.Point(Ue.actualBounds.x,Ye-Ue.actualBounds.height))}),Ge.commitTransaction("aligning bottom")},ut.prototype.alignCenterX=function(){var Ge=this.diagram,Ye=Ge.selection.first();if(Ye){Ge.startTransaction("aligning Center X");var Ue=Ye.actualBounds.x+Ye.actualBounds.width/2;Ge.selection.each(function(Bt){Bt instanceof go.Link||Bt.move(new go.Point(Ue-Bt.actualBounds.width/2,Bt.actualBounds.y))}),Ge.commitTransaction("aligning Center X")}},ut.prototype.alignCenterY=function(){var Ge=this.diagram,Ye=Ge.selection.first();if(Ye){Ge.startTransaction("aligning Center Y");var Ue=Ye.actualBounds.y+Ye.actualBounds.height/2;Ge.selection.each(function(Bt){Bt instanceof go.Link||Bt.move(new go.Point(Bt.actualBounds.x,Ue-Bt.actualBounds.height/2))}),Ge.commitTransaction("aligning Center Y")}},ut.prototype.alignColumn=function(Ge){var Ye=this.diagram;Ye.startTransaction("align Column"),Ge===void 0&&(Ge=0),Ge=parseFloat(Ge);var Ue=new Array;Ye.selection.each(function(Wn){Wn instanceof go.Link||Ue.push(Wn)});for(var Bt=0;Bt0){for(var Wn=pn.elt(ra-1);Wn!==null&&Wn.isTreeExpanded&&!Wn.isTreeLeaf;){var Ln=this._sortTreeChildrenByY(Wn);Wn=Ln.last()}Wn!==null&&Ge.select(Wn)}else Ge.select(un)}}else if(Ue.key==="Down")if(Ye.isTreeExpanded&&!Ye.isTreeLeaf){var Bt=this._sortTreeChildrenByY(Ye).first();Bt!==null&&Ge.select(Bt)}else for(;Ye!==null;){var un=Ye.findTreeParentNode();if(un===null)break;var pn=this._sortTreeChildrenByY(un),ra=pn.indexOf(Ye);if(rapn.y?1:un.xpn.x?1:0}),Ye},ut.prototype.copyToClipboard=function(Ge){go.CommandHandler.prototype.copyToClipboard.call(this,Ge),this._lastPasteOffset.set(this.pasteOffset)},ut.prototype.pasteFromClipboard=function(){var Ge=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Ge,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Ge},Object.defineProperty(ut.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Ge){if(Ge!=="move"&&Ge!=="select"&&Ge!=="scroll"&&Ge!=="tree"&&Ge!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Ge);this._arrowKeyBehavior=Ge}}),Object.defineProperty(ut.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Ge){if(!(Ge instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Ge);this._pasteOffset.set(Ge)}});var Xt=ut,nt=oe(74042),Pt=oe(43604),_n=oe(52430),sn={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Rt=oe(59301),Mt=(Ge,Ye,Ue)=>new Promise((Bt,un)=>{var pn=Ln=>{try{Wn(Ue.next(Ln))}catch(jn){un(jn)}},ra=Ln=>{try{Wn(Ue.throw(Ln))}catch(jn){un(jn)}},Wn=Ln=>Ln.done?Bt(Ln.value):Promise.resolve(Ln.value).then(pn,ra);Wn((Ue=Ue.apply(Ge,Ye)).next())});function Yn({onCancel:Ge,callback:Ye}){let Ue=(0,b.useRef)(),Bt=(0,b.useRef)(),un=(0,b.useRef)(),pn=(0,b.useRef)(!1);const ra=(0,b.useRef)(!1),[Wn,Ln]=(0,b.useState)(0);function jn(){const jt=Ce.bx.make,La={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};Ue.current=new Ce.S0(Bt.current,{padding:20,grid:jt(Ce.s_,"Grid",jt(Ce.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),jt(Ce.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:hn=>{var $n=hn.diagram.commandHandler.addTopLevelParts(hn.diagram.selection,!0);$n||hn.diagram.currentTool.doCancel()},commandHandler:jt(Xt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:hn=>{var $n=hn.subject;$n.location=$n.location.copy().snapToGridPoint(hn.diagram.grid.gridOrigin,hn.diagram.grid.gridCellSize),setTimeout(()=>{hn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:hn=>{var $n=hn.subject;setTimeout(()=>{hn.diagram.commandHandler.editTextBlock()})},LinkRelinked:hn=>{var $n=hn.parameter.part;$n.invalidateConnectedLinks();var Aa=hn.subject;hn.diagram.toolManager.linkingTool.isForwards?Aa.toNode.invalidateConnectedLinks():Aa.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Ue.current.nodeTemplate=jt(Ce.NB,"Auto",{locationSpot:Ce.z6.Center,locationObjectName:"SHAPE",desiredSize:new Ce.$u(120,60),minSize:new Ce.$u(40,40),resizable:!0,resizeCellSize:new Ce.$u(10,10),rotatable:!0},new Ce.KX("location","loc",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),new Ce.KX("desiredSize","size",Ce.$u.parse).makeTwoWay(Ce.$u.stringify),jt(Ce.bn,{name:"SHAPE",fill:La.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ce.z6.AllSides,toSpot:Ce.z6.AllSides},new Ce.KX("figure"),new Ce.KX("fill"),new Ce.KX("stroke","borderColor"),new Ce.KX("strokeWidth","thickness"),new Ce.KX("strokeDashArray","dash")),jt(Ce.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),jt(Ce.al,{margin:1,textAlign:"center",overflow:Ce.al.OverflowEllipsis,editable:!0},new Ce.KX("text").makeTwoWay(),new Ce.KX("stroke","color"))),Ue.current.nodeTemplate.toolTip=jt("ToolTip",jt(Ce.s_,"Vertical",{maxSize:new Ce.$u(200,NaN)},jt(Ce.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ce.KX("text")),jt(Ce.al,{font:"10pt sans-serif",textAlign:"center"},new Ce.KX("text","details"))));function lr(hn,$n){var Aa=(Un,qa)=>{Un.handled=!0,Un.diagram.model.commit(Ka=>{var pr=qa.part.adornedPart,_r=new Ce.E9().setRectSpot(pr.actualBounds,hn);_r.subtract(pr.location),_r.scale(2,2),_r.x+=Math.sign(_r.x)*130,_r.y+=Math.sign(_r.y)*130,_r.add(pr.location),_r.snapToGridPoint(Un.diagram.grid.gridOrigin,Un.diagram.grid.gridCellSize);var nr=Ka.copyNodeData(pr.data);Ka.setGroupKeyForNodeData(nr,Ka.getGroupKeyForNodeData(pr.data)),Ka.addNodeData(nr);var jo={from:pr.key,to:Ka.getKeyForNodeData(nr)};Ka.addLinkData(jo);var Co=Un.diagram.findNodeForData(nr);Co.location=_r,Un.diagram.select(Co),setTimeout(()=>{Un.diagram.commandHandler.editTextBlock()},20)})};return jt(Ce.bn,{figure:$n,alignment:hn,alignmentFocus:hn.opposite(),width:hn.equals(Ce.z6.Top)||hn.equals(Ce.z6.Bottom)?25:18,height:hn.equals(Ce.z6.Top)||hn.equals(Ce.z6.Bottom)?18:25,fill:"orange",stroke:La.white,strokeWidth:4,mouseEnter:(Un,qa)=>qa.fill="dodgerblue",mouseLeave:(Un,qa)=>qa.fill="orange",isActionable:!0,click:Aa,contextClick:Aa})}function oo(hn){return jt(Ce.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:($n,Aa)=>Aa.fill="dodgerblue",mouseLeave:($n,Aa)=>Aa.fill="orange",click:($n,Aa)=>{$n.diagram.commandHandler.showContextMenu(Aa.part.adornedPart)}},hn||{})}Ue.current.nodeTemplate.selectionAdornmentTemplate=jt(Ce.uz,"Spot",jt(Ce.Vm,{padding:10}),lr(Ce.z6.Top,"TriangleUp"),lr(Ce.z6.Left,"TriangleLeft"),lr(Ce.z6.Right,"TriangleRight"),lr(Ce.z6.Bottom,"TriangleDown"),oo({alignment:new Ce.z6(.75,0)}));function Wa(hn,$n){return(Aa,Un)=>{Aa.handled=!0,Aa.diagram.model.commit(qa=>{qa.set(Un.part.adornedPart.data,hn,$n)})}}function zt(hn,$n){return $n||($n="color"),jt(Ce.bn,{width:16,height:16,stroke:"lightgray",fill:hn,margin:1,background:"transparent",mouseEnter:(Aa,Un)=>Un.stroke="dodgerblue",mouseLeave:(Aa,Un)=>Un.stroke="lightgray",click:Wa($n,hn),contextClick:Wa($n,hn)})}function jr(){return[jt("ContextMenuButton",jt(Ce.s_,"Horizontal",zt(La.white,"fill"),zt(La.beige,"fill"),zt(La.extralightblue,"fill"),zt(La.extralightred,"fill"))),jt("ContextMenuButton",jt(Ce.s_,"Horizontal",zt(La.lightgray,"fill"),zt(La.lightgreen,"fill"),zt(La.lightblue,"fill"),zt(La.lightred,"fill")))]}function Ta(){return[jt("ContextMenuButton",jt(Ce.s_,"Horizontal",zt(La.black),zt(La.green),zt(La.blue),zt(La.red))),jt("ContextMenuButton",jt(Ce.s_,"Horizontal",zt(La.white),zt(La.magenta),zt(La.purple),zt(La.orange)))]}function vr(hn,$n){return $n||($n="thickness"),jt(Ce.bn,"LineH",{width:16,height:16,strokeWidth:hn,margin:1,background:"transparent",mouseEnter:(Aa,Un)=>Un.background="dodgerblue",mouseLeave:(Aa,Un)=>Un.background="transparent",click:Wa($n,hn),contextClick:Wa($n,hn)})}function er(hn,$n){return $n||($n="dash"),jt(Ce.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:hn,margin:1,background:"transparent",mouseEnter:(Aa,Un)=>Un.background="dodgerblue",mouseLeave:(Aa,Un)=>Un.background="transparent",click:Wa($n,hn),contextClick:Wa($n,hn)})}function kr(){return[jt("ContextMenuButton",jt(Ce.s_,"Horizontal",vr(1),vr(2),vr(3),vr(4))),jt("ContextMenuButton",jt(Ce.s_,"Horizontal",er(null),er([2,4]),er([4,4])))]}function br(hn,$n){return $n||($n="figure"),jt(Ce.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:hn,margin:1,background:"transparent",mouseEnter:(Aa,Un)=>Un.fill="dodgerblue",mouseLeave:(Aa,Un)=>Un.fill="lightgray",click:Wa($n,hn),contextClick:Wa($n,hn)})}Ue.current.nodeTemplate.contextMenu=jt("ContextMenu",jt("ContextMenuButton",jt(Ce.s_,"Horizontal",br("Rectangle"),br("RoundedRectangle"),br("Ellipse"),br("Diamond"))),jt("ContextMenuButton",jt(Ce.s_,"Horizontal",br("Parallelogram2"),br("ManualOperation"),br("Procedure"),br("Cylinder1"))),jt("ContextMenuButton",jt(Ce.s_,"Horizontal",br("Terminator"),br("CreateRequest"),br("Document"),br("TriangleDown"))),jr(),Ta(),kr()),Ue.current.groupTemplate=jt(Ce.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ce.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(hn,$n)=>{var Aa=$n.addMembers($n.diagram.selection,!0);Aa||$n.diagram.currentTool.doCancel()},avoidable:!1},new Ce.KX("location","loc",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),jt(Ce.s_,"Auto",{name:"BODY"},jt(Ce.bn,{parameter1:10,fill:La.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ce.z6.AllSides,toSpot:Ce.z6.AllSides},new Ce.KX("fill"),new Ce.KX("stroke","color"),new Ce.KX("strokeWidth","thickness"),new Ce.KX("strokeDashArray","dash")),jt(Ce.Vm,{background:"transparent",margin:20})),jt(Ce.al,{alignment:Ce.z6.Top,alignmentFocus:Ce.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Ce.KX("text"),new Ce.KX("stroke","color"))),Ue.current.groupTemplate.selectionAdornmentTemplate=jt(Ce.uz,"Spot",jt(Ce.s_,"Auto",jt(Ce.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),jt(Ce.Vm,{margin:1.5})),oo({alignment:Ce.z6.TopRight,alignmentFocus:Ce.z6.BottomRight})),Ue.current.groupTemplate.contextMenu=jt("ContextMenu",jr(),Ta(),kr()),Ue.current.linkTemplate=jt(Ce.rU,{layerName:"Foreground",routing:Ce.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Ce.KX("fromSpot","fromSpot",Ce.z6.parse),new Ce.KX("toSpot","toSpot",Ce.z6.parse),new Ce.KX("fromShortLength","dir",hn=>hn>=1?10:0),new Ce.KX("toShortLength","dir",hn=>hn>=1?10:0),new Ce.KX("points").makeTwoWay(),jt(Ce.bn,{strokeWidth:2},new Ce.KX("stroke","color"),new Ce.KX("strokeWidth","thickness"),new Ce.KX("strokeDashArray","dash")),jt(Ce.bn,{segmentIndex:0,segmentOffset:new Ce.E9(15,0),segmentOrientation:Ce.rU.OrientAlong,alignmentFocus:Ce.z6.Right,figure:"circle",width:10,strokeWidth:0},new Ce.KX("fill","color"),new Ce.KX("visible","dir",hn=>hn===1)),jt(Ce.bn,{segmentIndex:-1,segmentOffset:new Ce.E9(-10,6),segmentOrientation:Ce.rU.OrientPlus90,alignmentFocus:Ce.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ce.KX("fill","color"),new Ce.KX("visible","dir",hn=>hn>=1),new Ce.KX("width","thickness",hn=>7+3*hn),new Ce.KX("height","thickness",hn=>7+3*hn),new Ce.KX("segmentOffset","thickness",hn=>new Ce.E9(-15,4+1.5*hn))),jt(Ce.bn,{segmentIndex:0,segmentOffset:new Ce.E9(15,-6),segmentOrientation:Ce.rU.OrientMinus90,alignmentFocus:Ce.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ce.KX("fill","color"),new Ce.KX("visible","dir",hn=>hn===2),new Ce.KX("width","thickness",hn=>7+3*hn),new Ce.KX("height","thickness",hn=>7+3*hn),new Ce.KX("segmentOffset","thickness",hn=>new Ce.E9(-15,4+1.5*hn))),jt(Ce.al,{alignmentFocus:new Ce.z6(0,1,-4,0),editable:!0},new Ce.KX("text").makeTwoWay(),new Ce.KX("stroke","color"))),Ue.current.linkTemplate.selectionAdornmentTemplate=jt(Ce.uz,jt(Ce.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:qr(2)},new Ce.KX("pathPattern","thickness",qr)),oo({alignmentFocus:new Ce.z6(0,0,-6,-4)}));function qr(hn){return jt(Ce.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(hn+4).toString()+" H3"})}function wr(hn){var $n="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return hn===0?$n="M0 0 M16 16 M0 8 L16 8":hn===2&&($n="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),jt(Ce.bn,{geometryString:$n,margin:2,background:"transparent",mouseEnter:(Aa,Un)=>Un.background="dodgerblue",mouseLeave:(Aa,Un)=>Un.background="transparent",click:Wa("dir",hn),contextClick:Wa("dir",hn)})}function oa(hn){var $n=(Aa,Un)=>{Aa.handled=!0,Aa.diagram.model.commit(qa=>{var Ka=Un.part.adornedPart;qa.set(Ka.data,hn?"toSpot":"fromSpot",Ce.z6.stringify(Ce.z6.AllSides)),(hn?Ka.toNode:Ka.fromNode).invalidateConnectedLinks()})};return jt(Ce.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Aa,Un)=>Un.background="dodgerblue",mouseLeave:(Aa,Un)=>Un.background="transparent",click:$n,contextClick:$n})}function $t(hn,$n){var Aa=0,Un=Ce.z6.RightSide;hn.equals(Ce.z6.Top)?(Aa=270,Un=Ce.z6.TopSide):hn.equals(Ce.z6.Left)?(Aa=180,Un=Ce.z6.LeftSide):hn.equals(Ce.z6.Bottom)&&(Aa=90,Un=Ce.z6.BottomSide),$n||(Aa-=180);var qa=(Ka,pr)=>{Ka.handled=!0,Ka.diagram.model.commit(_r=>{var nr=pr.part.adornedPart;_r.set(nr.data,$n?"toSpot":"fromSpot",Ce.z6.stringify(Un)),($n?nr.toNode:nr.fromNode).invalidateConnectedLinks()})};return jt(Ce.bn,{alignment:hn,alignmentFocus:hn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Aa,background:"transparent",mouseEnter:(Ka,pr)=>pr.background="dodgerblue",mouseLeave:(Ka,pr)=>pr.background="transparent",click:qa,contextClick:qa})}Ue.current.linkTemplate.contextMenu=jt("ContextMenu",Ta(),kr(),jt("ContextMenuButton",jt(Ce.s_,"Horizontal",wr(0),wr(1),wr(2))),jt("ContextMenuButton",jt(Ce.s_,"Horizontal",jt(Ce.s_,"Spot",oa(!1),$t(Ce.z6.Top,!1),$t(Ce.z6.Left,!1),$t(Ce.z6.Right,!1),$t(Ce.z6.Bottom,!1)),jt(Ce.s_,"Spot",{margin:new Ce.Zt(0,0,0,2)},oa(!0),$t(Ce.z6.Top,!0),$t(Ce.z6.Left,!0),$t(Ce.z6.Right,!0),$t(Ce.z6.Bottom,!0)))));const Xa=`{ "class": "GraphLinksModel", "nodeDataArray": [ {"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3}, {"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"}, @@ -252,39 +252,39 @@ ${Fa} {"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 la=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function tr(Sn){return console.log("shapeName:",Sn),la.indexOf(Sn)>=0}var Oa=new Ce.YI(sn.current,{maxSelectionCount:1,linkTemplate:jt(Ce.rU,{locationSpot:Ce.z6.Center,selectionAdornmentTemplate:jt(Ce.uz,"Link",{locationSpot:Ce.z6.Center},jt(Ce.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),jt(Ce.bn,{toArrow:"Standard",stroke:null}))},{routing:Ce.rU.AvoidsNodes,curve:Ce.rU.JumpOver,corner:5,toShortLength:4},new Ce.KX("points"),jt(Ce.bn,{isPanelMain:!0,strokeWidth:2}),jt(Ce.bn,{toArrow:"Standard",stroke:null})),model:new Ce.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Ce.bn.getFigureGenerators().toArray().map(Sn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Sn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Ue.current.addDiagramListener("TextEdited",function(Sn){var qn;const Aa=Sn.subject.part;var Wn=(qn=document.activeElement)==null?void 0:qn.value;typeof Wn=="string"&&Wn.trim()===""&&Ue.current.model.commit(function(qa){qa.set(Aa.data,"text","\u672A\u547D\u540D"),Ue.current.commandHandler.stopCommand()},"increment")}),Oa.nodeTemplate=jt(Ce.NB,"Auto",{locationSpot:Ce.z6.Center},new Ce.KX("location","location",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),jt(Ce.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new Ce.KX("stroke").makeTwoWay(),new Ce.KX("fill").makeTwoWay(),new Ce.KX("figure")),jt(Ce.al,{margin:new Ce.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Ce.$u(16,16),maxSize:new Ce.$u(10,NaN),textAlign:"center",editable:!0},new Ce.KX("key").makeTwoWay())),setTimeout(()=>{Ue.current.grid=jt(Ce.s_,"Grid",jt(Ce.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),jt(Ce.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Ue.current.grid.visible=!0,Ue.current.grid.gridCellStroke="darkgray",Ue.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Ue.current,Ue.current}const _n=()=>Rt(this,null,function*(){var jt=Ue.current.makeImage();const La=yield(0,kn.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:jt.src}});Ke({src:La.url})});return(0,b.useEffect)(()=>(setTimeout(()=>{Gn()},500),Dn(Vn+1),()=>{Ue.current=null}),[]),kt.createElement("div",{ref:aa,className:hn.current?`${dn.maxH60} body-overflow-initial`:"body-overflow-initial"},kt.createElement(ot.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Vn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:kt.createElement(Qt.Z,null,kt.createElement(Pt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),kt.createElement(Pt.Z,{onClick:()=>{var jt,La,lr=Ue.current.selection.first();if(hn.current=!hn.current,document.activeElement&&lr){let io=(La=(jt=document.activeElement)==null?void 0:jt.value)==null?void 0:La.trim();typeof io=="string"&&Ue.current.model.commit(function(Wa){Wa.set(lr.data,"text",io||"\u672A\u547D\u540D"),Ue.current.commandHandler.stopCommand()},"increment")}Dn(Vn+1)}},kt.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Ge},kt.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:dn.flowChartWrp},kt.createElement("div",{style:{display:"flex",height:"100%"}},kt.createElement("div",{style:{width:"300px",height:"100%"}},kt.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),kt.createElement("div",{style:{height:"calc(100% - 50px)"},className:dn.myPaletteDiv,ref:sn})),kt.createElement("div",{style:{flex:1,position:"relative"}},kt.createElement("div",{ref:Ct,style:{height:"80vh"}}))),kt.createElement("div",{className:"tr"},kt.createElement(Re.ZP,{size:"large",onClick:_n,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var na=Qn,tn=oe(5112),Fa=oe(5871);const _a=tn.ZP.Group,ya={margin:"0 8px"};var zn=({callback:Ge,onCancel:Ke})=>{function Ue(Ct){Ge(Ct)}return b.createElement(Ne.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Ue},b.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},b.createElement("span",{style:ya},"\u5355\u5143\u683C\u6570\uFF1A"),b.createElement("span",{style:ya},"\u884C\u6570"),b.createElement(Ne.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},b.createElement(Fa.Z,null)),b.createElement("span",{style:ya},"\u5217\u6570"),b.createElement(Ne.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},b.createElement(Fa.Z,null))),b.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},b.createElement("span",{style:ya},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),b.createElement(Ne.default.Item,{name:"align"},b.createElement(_a,null,b.createElement(tn.ZP,{value:"default"},b.createElement("i",{className:"fa fa-align-justify"})),b.createElement(tn.ZP,{value:"left"},b.createElement("i",{className:"fa fa-align-left"})),b.createElement(tn.ZP,{value:"center"},b.createElement("i",{className:"fa fa-align-center"})),b.createElement(tn.ZP,{value:"right"},b.createElement("i",{className:"fa fa-align-right"}))))),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Re.ZP,{type:"ghost",onClick:Ke},"\u53D6\u6D88")))},xa=oe(78673),cr=oe(84072),Ya=oe.n(cr),sa=(0,b.forwardRef)(({use3d:Ge,width:Ke,height:Ue,callback:Ct,showSaveButton:sn},hn)=>{const aa=(0,b.useRef)(),Vn=(0,b.useRef)(),[Dn,Gn]=(0,b.useState)(!1),_n=(0,b.useRef)({id:aa,appName:"graphing",width:Ke||1e3,height:Ue||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,b.useEffect)(()=>{Vn.current=new(Ya())(_n.current,!0),window.onload=function(){Vn.current.inject("applet_container")}},[]);const jt=()=>{var La=window.ggbApplet.getPNGBase64(1,!0,72);return Ct&&Ct(La),La};return(0,b.useEffect)(()=>{_n.current.appName=Dn?"3D":"graphing",Vn.current.inject("applet_container")},[Dn]),(0,b.useEffect)(()=>{Gn(Ge)},[Ge]),(0,b.useImperativeHandle)(hn,()=>({getImgData:jt})),b.createElement(b.Fragment,null,b.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:aa}),b.createElement(Qt.Z,{align:"middle"},b.createElement(Pt.Z,{flex:1},b.createElement(xa.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Dn,onChange:La=>Gn(La)})),b.createElement(Pt.Z,null,b.createElement(Re.ZP,{size:"large",onClick:jt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),$n=oe(53267),oa=oe(1012),Ea=oe(8591);const Va="link",En="upload-image",rn="add-flowchart",bt="draw-image",Gt="add-flowchart",Da="code-block",va="add-table",wa="------------",pa={default:wa,left:`:${wa}`,center:`:${wa}:`,right:`${wa}:`};var ja=oe(47458),gr=(Ge,Ke,Ue)=>new Promise((Ct,sn)=>{var hn=Dn=>{try{Vn(Ue.next(Dn))}catch(Gn){sn(Gn)}},aa=Dn=>{try{Vn(Ue.throw(Dn))}catch(Gn){sn(Gn)}},Vn=Dn=>Dn.done?Ct(Dn.value):Promise.resolve(Dn.value).then(hn,aa);Vn((Ue=Ue.apply(Ge,Ke)).next())});function Ua(){}let Br=0;const ho=1e4,Ht="\u2581",Tn="@\u2581\u2581@",Xn="@\u2581@",ha=` +]}`;var ua=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function tr(hn){return console.log("shapeName:",hn),ua.indexOf(hn)>=0}var Oa=new Ce.YI(un.current,{maxSelectionCount:1,linkTemplate:jt(Ce.rU,{locationSpot:Ce.z6.Center,selectionAdornmentTemplate:jt(Ce.uz,"Link",{locationSpot:Ce.z6.Center},jt(Ce.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),jt(Ce.bn,{toArrow:"Standard",stroke:null}))},{routing:Ce.rU.AvoidsNodes,curve:Ce.rU.JumpOver,corner:5,toShortLength:4},new Ce.KX("points"),jt(Ce.bn,{isPanelMain:!0,strokeWidth:2}),jt(Ce.bn,{toArrow:"Standard",stroke:null})),model:new Ce.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Ce.bn.getFigureGenerators().toArray().map(hn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:hn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Ue.current.addDiagramListener("TextEdited",function(hn){var $n;const Aa=hn.subject.part;var Un=($n=document.activeElement)==null?void 0:$n.value;typeof Un=="string"&&Un.trim()===""&&Ue.current.model.commit(function(qa){qa.set(Aa.data,"text","\u672A\u547D\u540D"),Ue.current.commandHandler.stopCommand()},"increment")}),Oa.nodeTemplate=jt(Ce.NB,"Auto",{locationSpot:Ce.z6.Center},new Ce.KX("location","location",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),jt(Ce.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new Ce.KX("stroke").makeTwoWay(),new Ce.KX("fill").makeTwoWay(),new Ce.KX("figure")),jt(Ce.al,{margin:new Ce.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Ce.$u(16,16),maxSize:new Ce.$u(10,NaN),textAlign:"center",editable:!0},new Ce.KX("key").makeTwoWay())),setTimeout(()=>{Ue.current.grid=jt(Ce.s_,"Grid",jt(Ce.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),jt(Ce.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Ue.current.grid.visible=!0,Ue.current.grid.gridCellStroke="darkgray",Ue.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Ue.current,Ue.current}const Tn=()=>Mt(this,null,function*(){var jt=Ue.current.makeImage();const La=yield(0,_n.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:jt.src}});Ye({src:La.url})});return(0,b.useEffect)(()=>(setTimeout(()=>{jn()},500),Ln(Wn+1),()=>{Ue.current=null}),[]),Rt.createElement("div",{ref:ra,className:pn.current?`${sn.maxH60} body-overflow-initial`:"body-overflow-initial"},Rt.createElement(ot.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Wn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Rt.createElement(Ut.Z,null,Rt.createElement(Pt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Rt.createElement(Pt.Z,{onClick:()=>{var jt,La,lr=Ue.current.selection.first();if(pn.current=!pn.current,document.activeElement&&lr){let oo=(La=(jt=document.activeElement)==null?void 0:jt.value)==null?void 0:La.trim();typeof oo=="string"&&Ue.current.model.commit(function(Wa){Wa.set(lr.data,"text",oo||"\u672A\u547D\u540D"),Ue.current.commandHandler.stopCommand()},"increment")}Ln(Wn+1)}},Rt.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Ge},Rt.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:sn.flowChartWrp},Rt.createElement("div",{style:{display:"flex",height:"100%"}},Rt.createElement("div",{style:{width:"300px",height:"100%"}},Rt.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Rt.createElement("div",{style:{height:"calc(100% - 50px)"},className:sn.myPaletteDiv,ref:un})),Rt.createElement("div",{style:{flex:1,position:"relative"}},Rt.createElement("div",{ref:Bt,style:{height:"80vh"}}))),Rt.createElement("div",{className:"tr"},Rt.createElement(Re.ZP,{size:"large",onClick:Tn,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var aa=Yn,tn=oe(5112),Fa=oe(5871);const _a=tn.ZP.Group,ya={margin:"0 8px"};var Vn=({callback:Ge,onCancel:Ye})=>{function Ue(Bt){Ge(Bt)}return b.createElement(Ne.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Ue},b.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},b.createElement("span",{style:ya},"\u5355\u5143\u683C\u6570\uFF1A"),b.createElement("span",{style:ya},"\u884C\u6570"),b.createElement(Ne.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},b.createElement(Fa.Z,null)),b.createElement("span",{style:ya},"\u5217\u6570"),b.createElement(Ne.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},b.createElement(Fa.Z,null))),b.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},b.createElement("span",{style:ya},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),b.createElement(Ne.default.Item,{name:"align"},b.createElement(_a,null,b.createElement(tn.ZP,{value:"default"},b.createElement("i",{className:"fa fa-align-justify"})),b.createElement(tn.ZP,{value:"left"},b.createElement("i",{className:"fa fa-align-left"})),b.createElement(tn.ZP,{value:"center"},b.createElement("i",{className:"fa fa-align-center"})),b.createElement(tn.ZP,{value:"right"},b.createElement("i",{className:"fa fa-align-right"}))))),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Re.ZP,{type:"ghost",onClick:Ye},"\u53D6\u6D88")))},xa=oe(78673),cr=oe(84072),Ya=oe.n(cr),da=(0,b.forwardRef)(({use3d:Ge,width:Ye,height:Ue,callback:Bt,showSaveButton:un},pn)=>{const ra=(0,b.useRef)(),Wn=(0,b.useRef)(),[Ln,jn]=(0,b.useState)(!1),Tn=(0,b.useRef)({id:ra,appName:"graphing",width:Ye||1e3,height:Ue||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,b.useEffect)(()=>{Wn.current=new(Ya())(Tn.current,!0),window.onload=function(){Wn.current.inject("applet_container")}},[]);const jt=()=>{var La=window.ggbApplet.getPNGBase64(1,!0,72);return Bt&&Bt(La),La};return(0,b.useEffect)(()=>{Tn.current.appName=Ln?"3D":"graphing",Wn.current.inject("applet_container")},[Ln]),(0,b.useEffect)(()=>{jn(Ge)},[Ge]),(0,b.useImperativeHandle)(pn,()=>({getImgData:jt})),b.createElement(b.Fragment,null,b.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:ra}),b.createElement(Ut.Z,{align:"middle"},b.createElement(Pt.Z,{flex:1},b.createElement(xa.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Ln,onChange:La=>jn(La)})),b.createElement(Pt.Z,null,b.createElement(Re.ZP,{size:"large",onClick:jt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),ea=oe(53267),ia=oe(1012),Ea=oe(8591);const Va="link",Pn="upload-image",an="add-flowchart",bt="draw-image",Gt="add-flowchart",Da="code-block",pa="add-table",wa="------------",ha={default:wa,left:`:${wa}`,center:`:${wa}:`,right:`${wa}:`};var ja=oe(47458),gr=(Ge,Ye,Ue)=>new Promise((Bt,un)=>{var pn=Ln=>{try{Wn(Ue.next(Ln))}catch(jn){un(jn)}},ra=Ln=>{try{Wn(Ue.throw(Ln))}catch(jn){un(jn)}},Wn=Ln=>Ln.done?Bt(Ln.value):Promise.resolve(Ln.value).then(pn,ra);Wn((Ue=Ue.apply(Ge,Ye)).next())});function Ua(){}let Br=0;const po=1e4,Ht="\u2581",Zn="@\u2581\u2581@",qn="@\u2581@",Sa=` **\u6A21\u677F\u6807\u9898** -\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,Be=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function at(Ge){return/^\d+$/.test(Ge)?`${Ge}px`:Ge}const Ft=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",St={[Ft+"-B"]:"bold",[Ft+"-I"]:"italic"},mn={[Va]:"\u6DFB\u52A0\u94FE\u63A5",[Da]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[En]:"\u6DFB\u52A0\u56FE\u7247",[bt]:"\u6DFB\u52A0\u753B\u56FE",[rn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[va]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Jt=({defaultValue:Ge="",onChange:Ke,width:Ue="100%",height:Ct=400,miniToolbar:sn=!1,isFocus:hn=!1,watch:aa,insertTemp:Vn,mode:Dn="markdown",id:Gn="markdown-editor-id",showResizeBar:_n=!1,noStorage:jt=!1,showNullButton:La=!1,showNullProgramButton:lr=!1,hidetoolBar:io=!1,fullScreen:Wa=!1,onBlur:zt,onCMBeforeChange:jr,onFullScreen:Ta,className:vr="",disablePaste:er=!1,disabled:kr=!1,disabledFill:br=!1,placeholder:$r="",values:wr="",extraUse:ra})=>{const[$t,Xa]=(0,b.useState)(null),[la,tr]=(0,b.useState)(Ge),[Oa,Sn]=(0,b.useState)(aa),[qn,Aa]=(0,b.useState)(Wa),[Wn,qa]=(0,b.useState)(""),[Ka,pr]=(0,b.useState)(0),[_r,nr]=(0,b.useState)(Ct),[jo,Co]=(0,b.useState)(!1),pi=(0,b.useRef)((0,oa.Z)()),Pr=(0,b.useRef)(!1),Ar=(0,b.useRef)(),[so,za]=(0,b.useState)(0),[Tr,Hr]=(0,b.useState)(0),ur=(0,b.useRef)(),zr=(0,b.useRef)(),vo=(0,b.useRef)(),Qr=(0,b.useRef)(),Ha=()=>gr(void 0,null,function*(){var Za;const jn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:pi.current}});(Za=jn==null?void 0:jn.attachments)!=null&&Za.length&&(console.log("cm:",$t,ur),jn.attachments.map(Rn=>{Rn.content_type.indexOf("image")>-1?$t.replaceSelection(`![,](/api/attachments/${Rn.id}?type=${Rn.content_type})`):Rn.content_type.indexOf("video")>-1?$t.replaceSelection(``):Rn.content_type.indexOf("pdf")>-1?$t.replaceSelection(`${Rn.name}`):$t.replaceSelection(`[${Rn.name}](${ENV.API_SERVER}/api/attachments/${Rn.id}?type=${Rn.content_type})`)}))});(0,b.useEffect)(()=>{const Za=window.scrollY||window.pageYOffset;tr(wr),$t==null||$t.setValue(wr),window.scrollTo(0,Za)},[wr]),(0,b.useEffect)(()=>{Ta==null||Ta(qn)},[qn]),(0,b.useEffect)(()=>{if(ur.current){let Za=function(Rn,me){var pt;if(er){me.preventDefault();return}const At=me.clipboardData;if(At){const gn=At.types.toString(),Et=At.items;if(gn==="Files"||At.types.indexOf("Files")>-1){if(me.preventDefault(),Dn=="stex")return;try{let xn=Et[1];((pt=Et[0])==null?void 0:pt.kind)==="file"&&(xn=Et[0]);const Fn=xn.getAsFile(),fn=Fn.name.split(".").pop();(0,Te.I)(Fn,yn=>{var Ma,ir,hr;yn.id?((Ma=Fn==null?void 0:Fn.type)==null?void 0:Ma.indexOf("image"))>-1?jn.replaceSelection(``):((ir=Fn==null?void 0:Fn.type)==null?void 0:ir.indexOf("video"))>-1?jn.replaceSelection(``):((hr=Fn==null?void 0:Fn.type)==null?void 0:hr.indexOf("pdf"))>-1?jn.replaceSelection(`${Fn.name}`):Be.includes(fn)?jn.replaceSelection(`${Fn.name}`):jn.replaceSelection(`[${Fn.name}](/api/attachments/${yn.id}?type=${yn.content_type})`):(yn==null?void 0:yn.status)===401&&(Ea.ZP.warning((yn==null?void 0:yn.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(xn){Ea.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const jn=De().fromTextArea(ur.current,{mode:Dn,lineNumbers:!sn,lineWrapping:!0,value:Ge,autoCloseTags:!lr,autoCloseBrackets:!0});return jn.on("keyup",function(Rn,me){me.keyCode===8&&(Rn.getValue()==""?jn.setOption("placeholder",$r):jn.setOption("placeholder",null))}),jn.on("keydown",function(Rn,me){if(me.keyCode===8){var pt=ni(Rn);pt&&me.preventDefault()}}),hn&&jn.focus(),jn.on("paste",Za),jn.on("dragleave",function(Rn,me){zr.current.classList.remove("mouse-hover-md")}),kr&&jn.on("beforeChange",function(Rn,me){(me.origin==="paste"||me.origin==="+input")&&me.cancel()}),Xa(jn),()=>{jn.off("paste",Za)}}},[]);const wo=(0,b.useCallback)(()=>{if(zr.current)try{}catch(Za){console.log(Za,"---- to set md editor body height")}},[_r,zr,qn]);(0,b.useEffect)(()=>{function Za(){let jn=new Ae.Z(Rn=>{for(let me of Rn)(me.target.offsetHeight>0||me.target.offsetWidth>0)&&(wo(),$t.setSize("100%","100%"),$t.refresh())});return jn.observe(ur.current.parentElement),jn}if($t){const jn=Za();return()=>{var Rn,me;(Rn=ur.current)!=null&&Rn.parentElement&&jn.unobserve((me=ur.current)==null?void 0:me.parentElement)}}},[$t,wo]),(0,b.useEffect)(()=>{if($t){let Za=[];for(const[jn,Rn]of Object.entries(St)){let me={[jn]:()=>{oi(Rn)}};Za.push(me),$t.addKeyMap(me)}return Ar.current=setInterval(()=>{Pr.current&&Ha()},4e3),()=>{clearInterval(Ar.current);for(let jn of Za)$t.removeKeyMap(jn)}}},[$t]),(0,b.useEffect)(()=>{Wa!==qn&&Aa(Wa)},[Wa]),(0,ja.Z)(()=>{if(!jt&&Ka>0){let Za=new Date().getTime(),jn=window.sessionStorage.getItem(Gn);Za>=Ka+ho&&(!jn||jn!==la)&&(window.sessionStorage.setItem(Gn,la),Co(!0))}},ho),(0,b.useEffect)(()=>{Sn(aa)},[$t,aa]),(0,b.useEffect)(()=>{$t&&hn&&$t.focus()},[$t,hn]),(0,b.useEffect)(()=>{if(Oa&&$t){let Za=function(Rn){let me=Rn.target;if(Qr.current){let pt=me.scrollTop/me.scrollHeight;Qr.current.scrollTop=Qr.current.scrollHeight*pt}};const jn=$t.getScrollerElement();return jn.addEventListener("scroll",Za),()=>{jn.removeEventListener("scroll",Za)}}},[$t,Oa]),(0,b.useEffect)(()=>{if($t&&jr){let Za=function(jn,Rn){jr(jn,Rn)};return $t.on("beforeChange",Za),()=>{$t.off("beforeChange",Za)}}},[$t,jr]),(0,b.useEffect)(()=>{if($t&&zt){let Za=function(){zt($t.getValue())};return $t.on("blur",Za),()=>{$t.off("blur",Za)}}},[$t,zt]);function ni(Za,jn){var Rn=Za.getDoc(),me=Rn.getCursor(),pt=Rn.getLine(me.line),At=pt.charAt(me.ch-1),gn=pt.lastIndexOf("@\u2581@",me.ch),Et=pt.lastIndexOf("@\u2581\u2581@",me.ch),xn=gn>Et?gn:Et,Fn=gn>Et?3:4;if(Tn.indexOf(At)===-1)return null;if(console.log("change1:",jn,Za,pt,me,xn,gn,Et,At),xn>=0&&me.ch-xn<5){var fn=xn+Fn;return Rn.replaceRange("",{line:me.line,ch:xn},{line:me.line,ch:fn}),{line:me.line,ch:fn}}return null}(0,b.useEffect)(()=>{if($t){let Za=function(jn,Rn){const me=jn.getValue();tr(me),pr(new Date().getTime()),jn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Ke&&(lr?Ke(me,yl(me)):Ke(me))};return $t.on("change",Za),()=>{$t.off("change",Za)}}},[$t,Ke]),(0,b.useEffect)(()=>{if($t)if(Ge==null)$t.setValue(""),tr("");else{const Za=window.scrollY||window.pageYOffset;Ge!==$t.getValue()&&($t.setValue(Ge),tr(Ge),$t.setCursor(kr?1:$t.lineCount(),0),window.scrollTo(0,Za))}},[$t,Ge]);const oi=(0,b.useCallback)(Za=>{const jn=$t.getCursor(),Rn=$t.getSelection();let me=Rn.split(` -`);switch(Za){case"bold":return $t.replaceSelection("**"+Rn+"**"),Rn===""&&$t.setCursor(jn.line,jn.ch+2),$t.focus();case"italic":return $t.replaceSelection("*"+Rn+"*"),Rn===""&&$t.setCursor(jn.line,jn.ch+1),$t.focus();case"code":return $t.replaceSelection("`"+Rn+"`"),Rn===""&&$t.setCursor(jn.line,jn.ch+1),$t.focus();case"inline-latex":return qa("inline-latex"),$t.focus();case"latex":return $t.replaceSelection("```latex\n"+Rn+"\n```"),$t.setCursor(jn.line+1,Rn.length+1),$t.focus();case"line-break":return $t.replaceSelection(`
-`),$t.focus();case"list-ul":return Rn===""?$t.replaceSelection("- "+Rn):$t.replaceSelection(me.map(pt=>pt===""?"":`- ${pt}`).join(` -`)),$t.focus();case"list-ol":return Rn===""?$t.replaceSelection("1. "+Rn):$t.replaceSelection(me.map((pt,At)=>pt===""?"":`${At+1}. ${pt}`).join(` -`)),$t.focus();case"add-null-ch":return Rn===""&&$t.setCursor(jn.line,jn.ch),$t.replaceSelection(Ht),$t.focus();case"add-signal":return Rn===""&&$t.setCursor(jn.line,jn.ch),$t.replaceSelection(Xn),$t.focus();case"add-multiple":return Rn===""&&$t.setCursor(jn.line,jn.ch),$t.replaceSelection(Tn),$t.focus();case"inster-template-1":return Rn===""&&$t.setCursor(jn.line,jn.ch),$t.replaceSelection(ha),$t.focus();case"eraser":return $t.setValue(""),$t.focus();case"trigger-watch":return Sn(!Oa),$t.focus();case"trigger-full-screen":return Aa(!qn),$t.focus();case Va:qa(Va);return;case Da:qa(Da);return;case En:qa(En);return;case bt:qa(bt);return;case"maths-latex":qa("maths-latex");return;case rn:qa(rn);return;case va:qa(va);return;default:throw new Error}},[$t,Oa,qn]),Zr=(0,b.useCallback)((Za,jn)=>{var Rn,me,pt,At,gn,Et;switch(qa(""),Wn){case Va:const{title:Ma,link:ir}=Za;return $t.replaceSelection(`[${Ma}](${ir})`),$t.focus();case Da:const{language:hr,content:da}=Za;return $t.replaceSelection(["```"+hr,da,"```"].join(` -`)),$t.focus();case"maths-latex":for(var xn=atob(Za),Fn=new Uint8Array(xn.length),fn=0;fn{ui.id?$t.replaceSelection(`![,](/api/attachments/${ui.id}?type=${ui.content_type})`):(ui==null?void 0:ui.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":$t.replaceSelection("`$$"+Za+"$$`");break;case En:case bt:case Gt:const{src:ma,alt:ar}=Za,dr=jn,Mo=(pt=(me=(Rn=dr==null?void 0:dr.name)==null?void 0:Rn.split("."))==null?void 0:me.pop)==null?void 0:pt.call(me);return((At=dr==null?void 0:dr.type)==null?void 0:At.indexOf("image"))>-1||!(dr!=null&&dr.type)?dr.align||dr.width?$t.replaceSelection(`

${ar||

`):$t.replaceSelection(`${ar||`):((gn=dr==null?void 0:dr.type)==null?void 0:gn.indexOf("video"))>-1?$t.replaceSelection(``):((Et=dr==null?void 0:dr.type)==null?void 0:Et.indexOf("pdf"))>-1?$t.replaceSelection(`${dr.name}`):Be.includes(Mo)?$t.replaceSelection(`${dr.name}`):$t.replaceSelection(`[${dr.name}](${ma})`),$t.focus();case va:const{row:Ko,col:Lo,align:Wo}=Za;let ai=` -`;for(let ui=0;ui=0?"Cmd":"Ctrl",St={[Ft+"-B"]:"bold",[Ft+"-I"]:"italic"},mn={[Va]:"\u6DFB\u52A0\u94FE\u63A5",[Da]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Pn]:"\u6DFB\u52A0\u56FE\u7247",[bt]:"\u6DFB\u52A0\u753B\u56FE",[an]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[pa]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Kt=({defaultValue:Ge="",onChange:Ye,width:Ue="100%",height:Bt=400,miniToolbar:un=!1,isFocus:pn=!1,watch:ra,insertTemp:Wn,mode:Ln="markdown",id:jn="markdown-editor-id",showResizeBar:Tn=!1,noStorage:jt=!1,showNullButton:La=!1,showNullProgramButton:lr=!1,hidetoolBar:oo=!1,fullScreen:Wa=!1,onBlur:zt,onCMBeforeChange:jr,onFullScreen:Ta,className:vr="",disablePaste:er=!1,disabled:kr=!1,disabledFill:br=!1,placeholder:qr="",values:wr="",extraUse:oa})=>{const[$t,Xa]=(0,b.useState)(null),[ua,tr]=(0,b.useState)(Ge),[Oa,hn]=(0,b.useState)(ra),[$n,Aa]=(0,b.useState)(Wa),[Un,qa]=(0,b.useState)(""),[Ka,pr]=(0,b.useState)(0),[_r,nr]=(0,b.useState)(Bt),[jo,Co]=(0,b.useState)(!1),pi=(0,b.useRef)((0,ia.Z)()),Pr=(0,b.useRef)(!1),Ar=(0,b.useRef)(),[uo,za]=(0,b.useState)(0),[Tr,Hr]=(0,b.useState)(0),ur=(0,b.useRef)(),zr=(0,b.useRef)(),fo=(0,b.useRef)(),Qr=(0,b.useRef)(),Ha=()=>gr(void 0,null,function*(){var Za;const Hn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:pi.current}});(Za=Hn==null?void 0:Hn.attachments)!=null&&Za.length&&(console.log("cm:",$t,ur),Hn.attachments.map(kn=>{kn.content_type.indexOf("image")>-1?$t.replaceSelection(`![,](/api/attachments/${kn.id}?type=${kn.content_type})`):kn.content_type.indexOf("video")>-1?$t.replaceSelection(``):kn.content_type.indexOf("pdf")>-1?$t.replaceSelection(`${kn.name}`):$t.replaceSelection(`[${kn.name}](${ENV.API_SERVER}/api/attachments/${kn.id}?type=${kn.content_type})`)}))});(0,b.useEffect)(()=>{const Za=window.scrollY||window.pageYOffset;tr(wr),$t==null||$t.setValue(wr),window.scrollTo(0,Za)},[wr]),(0,b.useEffect)(()=>{Ta==null||Ta($n)},[$n]),(0,b.useEffect)(()=>{if(ur.current){let Za=function(kn,me){var pt;if(er){me.preventDefault();return}const xt=me.clipboardData;if(xt){const gn=xt.types.toString(),Et=xt.items;if(gn==="Files"||xt.types.indexOf("Files")>-1){if(me.preventDefault(),Ln=="stex")return;try{let wn=Et[1];((pt=Et[0])==null?void 0:pt.kind)==="file"&&(wn=Et[0]);const bn=wn.getAsFile(),fn=bn.name.split(".").pop();(0,Te.I)(bn,Fn=>{var Ma,ir,hr;Fn.id?((Ma=bn==null?void 0:bn.type)==null?void 0:Ma.indexOf("image"))>-1?Hn.replaceSelection(``):((ir=bn==null?void 0:bn.type)==null?void 0:ir.indexOf("video"))>-1?Hn.replaceSelection(``):((hr=bn==null?void 0:bn.type)==null?void 0:hr.indexOf("pdf"))>-1?Hn.replaceSelection(`${bn.name}`):Be.includes(fn)?Hn.replaceSelection(`${bn.name}`):Hn.replaceSelection(`[${bn.name}](/api/attachments/${Fn.id}?type=${Fn.content_type})`):(Fn==null?void 0:Fn.status)===401&&(Ea.ZP.warning((Fn==null?void 0:Fn.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(wn){Ea.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Hn=De().fromTextArea(ur.current,{mode:Ln,lineNumbers:!un,lineWrapping:!0,value:Ge,autoCloseTags:!lr,autoCloseBrackets:!0});return Hn.on("keyup",function(kn,me){me.keyCode===8&&(kn.getValue()==""?Hn.setOption("placeholder",qr):Hn.setOption("placeholder",null))}),Hn.on("keydown",function(kn,me){if(me.keyCode===8){var pt=ni(kn);pt&&me.preventDefault()}}),pn&&Hn.focus(),Hn.on("paste",Za),Hn.on("dragleave",function(kn,me){zr.current.classList.remove("mouse-hover-md")}),kr&&Hn.on("beforeChange",function(kn,me){(me.origin==="paste"||me.origin==="+input")&&me.cancel()}),Xa(Hn),()=>{Hn.off("paste",Za)}}},[]);const wo=(0,b.useCallback)(()=>{if(zr.current)try{}catch(Za){console.log(Za,"---- to set md editor body height")}},[_r,zr,$n]);(0,b.useEffect)(()=>{function Za(){let Hn=new Ae.Z(kn=>{for(let me of kn)(me.target.offsetHeight>0||me.target.offsetWidth>0)&&(wo(),$t.setSize("100%","100%"),$t.refresh())});return Hn.observe(ur.current.parentElement),Hn}if($t){const Hn=Za();return()=>{var kn,me;(kn=ur.current)!=null&&kn.parentElement&&Hn.unobserve((me=ur.current)==null?void 0:me.parentElement)}}},[$t,wo]),(0,b.useEffect)(()=>{if($t){let Za=[];for(const[Hn,kn]of Object.entries(St)){let me={[Hn]:()=>{ri(kn)}};Za.push(me),$t.addKeyMap(me)}return Ar.current=setInterval(()=>{Pr.current&&Ha()},4e3),()=>{clearInterval(Ar.current);for(let Hn of Za)$t.removeKeyMap(Hn)}}},[$t]),(0,b.useEffect)(()=>{Wa!==$n&&Aa(Wa)},[Wa]),(0,ja.Z)(()=>{if(!jt&&Ka>0){let Za=new Date().getTime(),Hn=window.sessionStorage.getItem(jn);Za>=Ka+po&&(!Hn||Hn!==ua)&&(window.sessionStorage.setItem(jn,ua),Co(!0))}},po),(0,b.useEffect)(()=>{hn(ra)},[$t,ra]),(0,b.useEffect)(()=>{$t&&pn&&$t.focus()},[$t,pn]),(0,b.useEffect)(()=>{if(Oa&&$t){let Za=function(kn){let me=kn.target;if(Qr.current){let pt=me.scrollTop/me.scrollHeight;Qr.current.scrollTop=Qr.current.scrollHeight*pt}};const Hn=$t.getScrollerElement();return Hn.addEventListener("scroll",Za),()=>{Hn.removeEventListener("scroll",Za)}}},[$t,Oa]),(0,b.useEffect)(()=>{if($t&&jr){let Za=function(Hn,kn){jr(Hn,kn)};return $t.on("beforeChange",Za),()=>{$t.off("beforeChange",Za)}}},[$t,jr]),(0,b.useEffect)(()=>{if($t&&zt){let Za=function(){zt($t.getValue())};return $t.on("blur",Za),()=>{$t.off("blur",Za)}}},[$t,zt]);function ni(Za,Hn){var kn=Za.getDoc(),me=kn.getCursor(),pt=kn.getLine(me.line),xt=pt.charAt(me.ch-1),gn=pt.lastIndexOf("@\u2581@",me.ch),Et=pt.lastIndexOf("@\u2581\u2581@",me.ch),wn=gn>Et?gn:Et,bn=gn>Et?3:4;if(Zn.indexOf(xt)===-1)return null;if(console.log("change1:",Hn,Za,pt,me,wn,gn,Et,xt),wn>=0&&me.ch-wn<5){var fn=wn+bn;return kn.replaceRange("",{line:me.line,ch:wn},{line:me.line,ch:fn}),{line:me.line,ch:fn}}return null}(0,b.useEffect)(()=>{if($t){let Za=function(Hn,kn){const me=Hn.getValue();tr(me),pr(new Date().getTime()),Hn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Ye&&(lr?Ye(me,yl(me)):Ye(me))};return $t.on("change",Za),()=>{$t.off("change",Za)}}},[$t,Ye]),(0,b.useEffect)(()=>{if($t)if(Ge==null)$t.setValue(""),tr("");else{const Za=window.scrollY||window.pageYOffset;Ge!==$t.getValue()&&($t.setValue(Ge),tr(Ge),$t.setCursor(kr?1:$t.lineCount(),0),window.scrollTo(0,Za))}},[$t,Ge]);const ri=(0,b.useCallback)(Za=>{const Hn=$t.getCursor(),kn=$t.getSelection();let me=kn.split(` +`);switch(Za){case"bold":return $t.replaceSelection("**"+kn+"**"),kn===""&&$t.setCursor(Hn.line,Hn.ch+2),$t.focus();case"italic":return $t.replaceSelection("*"+kn+"*"),kn===""&&$t.setCursor(Hn.line,Hn.ch+1),$t.focus();case"code":return $t.replaceSelection("`"+kn+"`"),kn===""&&$t.setCursor(Hn.line,Hn.ch+1),$t.focus();case"inline-latex":return qa("inline-latex"),$t.focus();case"latex":return $t.replaceSelection("```latex\n"+kn+"\n```"),$t.setCursor(Hn.line+1,kn.length+1),$t.focus();case"line-break":return $t.replaceSelection(`
+`),$t.focus();case"list-ul":return kn===""?$t.replaceSelection("- "+kn):$t.replaceSelection(me.map(pt=>pt===""?"":`- ${pt}`).join(` +`)),$t.focus();case"list-ol":return kn===""?$t.replaceSelection("1. "+kn):$t.replaceSelection(me.map((pt,xt)=>pt===""?"":`${xt+1}. ${pt}`).join(` +`)),$t.focus();case"add-null-ch":return kn===""&&$t.setCursor(Hn.line,Hn.ch),$t.replaceSelection(Ht),$t.focus();case"add-signal":return kn===""&&$t.setCursor(Hn.line,Hn.ch),$t.replaceSelection(qn),$t.focus();case"add-multiple":return kn===""&&$t.setCursor(Hn.line,Hn.ch),$t.replaceSelection(Zn),$t.focus();case"inster-template-1":return kn===""&&$t.setCursor(Hn.line,Hn.ch),$t.replaceSelection(Sa),$t.focus();case"eraser":return $t.setValue(""),$t.focus();case"trigger-watch":return hn(!Oa),$t.focus();case"trigger-full-screen":return Aa(!$n),$t.focus();case Va:qa(Va);return;case Da:qa(Da);return;case Pn:qa(Pn);return;case bt:qa(bt);return;case"maths-latex":qa("maths-latex");return;case an:qa(an);return;case pa:qa(pa);return;default:throw new Error}},[$t,Oa,$n]),Zr=(0,b.useCallback)((Za,Hn)=>{var kn,me,pt,xt,gn,Et;switch(qa(""),Un){case Va:const{title:Ma,link:ir}=Za;return $t.replaceSelection(`[${Ma}](${ir})`),$t.focus();case Da:const{language:hr,content:ca}=Za;return $t.replaceSelection(["```"+hr,ca,"```"].join(` +`)),$t.focus();case"maths-latex":for(var wn=atob(Za),bn=new Uint8Array(wn.length),fn=0;fn{ui.id?$t.replaceSelection(`![,](/api/attachments/${ui.id}?type=${ui.content_type})`):(ui==null?void 0:ui.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":$t.replaceSelection("`$$"+Za+"$$`");break;case Pn:case bt:case Gt:const{src:ma,alt:ar}=Za,dr=Hn,Mo=(pt=(me=(kn=dr==null?void 0:dr.name)==null?void 0:kn.split("."))==null?void 0:me.pop)==null?void 0:pt.call(me);return((xt=dr==null?void 0:dr.type)==null?void 0:xt.indexOf("image"))>-1||!(dr!=null&&dr.type)?dr.align||dr.width?$t.replaceSelection(`

${ar||

`):$t.replaceSelection(`${ar||`):((gn=dr==null?void 0:dr.type)==null?void 0:gn.indexOf("video"))>-1?$t.replaceSelection(``):((Et=dr==null?void 0:dr.type)==null?void 0:Et.indexOf("pdf"))>-1?$t.replaceSelection(`${dr.name}`):Be.includes(Mo)?$t.replaceSelection(`${dr.name}`):$t.replaceSelection(`[${dr.name}](${ma})`),$t.focus();case pa:const{row:Ko,col:Lo,align:Wo}=Za;let ai=` +`;for(let ui=0;ui{switch(Wn){case Va:return b.createElement(Wt,{callback:Zr,onCancel:Yo});case Da:return b.createElement(Tt.Z,{callback:Zr,onCancel:Yo});case En:return b.createElement(Te.Z,{callback:Zr,onCancel:Yo});case rn:return b.createElement(na,{callback:Zr,onCancel:Yo});case va:return b.createElement(zn,{callback:Zr,onCancel:Yo});case"maths-latex":return b.createElement(sa,{showSaveButton:!0,callback:Zr});case"inline-latex":return b.createElement($n.Z,{showSaveButton:!0,callback:Zr});default:return null}},[Wn]);function Yo(){qa("")}(0,b.useEffect)(()=>{if(vo.current){let Za=function(gn){pt=!0,At=gn.pageY},jn=function(){pt=!1},Rn=function(gn){if(pt){let Et=gn.pageY-At;Et<0&&(Et=0),Et>300&&(Et=300);let xn=Ct+Et+"px";nr(xn)}},me=vo.current,pt=!1,At=0;return me.addEventListener("mousedown",Za),document.addEventListener("mousemove",Rn),document.addEventListener("mouseup",jn),()=>{me.removeEventListener("mousedown",Za),document.removeEventListener("mousemove",Rn),document.removeEventListener("mouseup",jn)}}},[$t,vo]),(0,b.useEffect)(()=>{nr(Ct)},[Ct]);const ll=at(Ue),wi=at(_r),Yi={width:ll,height:wi},Oo=(0,b.useMemo)(()=>{if(Ka){let Za=new Date(Ka),jn=Za.getHours(),Rn=Za.getMinutes(),me=Za.getSeconds();return jn=jn<10?"0"+jn:jn,Rn=Rn<10?"0"+Rn:Rn,me=me<10?"0"+me:me,`${jn}:${Rn}:${me}`}return 0},[Ka]),yl=Za=>{const jn=[];if(lr){let Rn=-1;Za=Za.replace(/(@▁▁@|@▁@)/g,function(me,pt,At){jn.push({multiLine:me!==Xn})})}return jn};function Kl(){window.sessionStorage.removeItem(Gn),Co(!1),pr(0)}function Ii(){Co(!1),pr(0),$t.setValue(window.sessionStorage.getItem(Gn))}(0,b.useEffect)(()=>{mn[Wn]&&Wn!==bt&&Wn!==rn&&setTimeout(()=>{const Za=document.getElementsByClassName("markdown-popup-form")[0],jn=window.innerWidth/2-Za.offsetWidth/2,Rn=window.innerHeight/2-Za.offsetHeight/2;za(jn),Hr(Rn)},0)},[Wn]);const Ti=Za=>{Za.preventDefault();const jn=Za.clientX-so,Rn=Za.clientY-Tr;document.body.onmousemove=me=>{let pt=me.clientX-jn,At=me.clientY-Rn;const gn=document.getElementsByClassName("markdown-popup-form")[0],Et=window.innerWidth-gn.offsetWidth,xn=window.innerHeight-gn.offsetHeight;pt=Math.max(0,Math.min(pt,Et)),At=Math.max(0,Math.min(At,xn)),ul(me.clientX,me.clientY,jn,Rn)&&(za(pt),Hr(At))},document.body.onmouseup=function(){document.body.onmousemove=null}},ul=(Za,jn,Rn,me)=>{const pt=document.body.clientHeight,At=document.body.clientWidth;return Za<20&&Rn>Za||Za>At-20&&Rnjn||jn>pt-20&&memt in Ne?He(Ne,mt,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ne[mt]=Re,z=(Ne,mt)=>{for(var Re in mt||(mt={}))a.call(mt,Re)&&y(Ne,Re,mt[Re]);if(E)for(var Re of E(mt))x.call(mt,Re)&&y(Ne,Re,mt[Re]);return Ne},te=(Ne,mt)=>Je(Ne,le(mt));const{useForm:ae}=b.default,se={width:280,marginRight:10},ie={labelCol:{span:5},wrapperCol:{span:19}};var Se=({callback:Ne,onCancel:mt})=>{const[Re]=ae();let Xe=(0,Me.useRef)();function Qe(ht){Xe.current.width=Re.getFieldValue("width"),Xe.current.align=Re.getFieldValue("align"),Ne(ht,Xe.current)}function et(ht,ct){if(ht.status===-1){he.ZP.error(ht.message);return}Re.setFieldsValue({src:`/api/attachments/${ht.id}`,type:ct.type})}function we(ht){let ct=ht.target.files[0];Xe.current=ct,We(ct,et)}return _e.createElement(b.default,te(z({form:Re},ie),{className:"upload-image-panel",onFinish:Qe,style:{width:470,overflow:"hidden"}}),_e.createElement(b.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},_e.createElement("div",{className:"flex-container"},_e.createElement(b.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},_e.createElement(De.default,{style:se})),_e.createElement(be,{onFileChange:we}))),_e.createElement(b.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},_e.createElement(De.default,{style:{width:264}})),_e.createElement(b.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},_e.createElement(Ae.Z,null,_e.createElement(b.default.Item,{name:"width",style:{margin:0}},_e.createElement(ke.Z,{style:{width:264}})),_e.createElement("span",{className:"ml8"},"%"))),_e.createElement(b.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},_e.createElement(ze.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),_e.createElement("aside",null,_e.createElement(b.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},_e.createElement(xe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),_e.createElement(xe.ZP,{type:"default",onClick:mt},"\u53D6\u6D88"))))};function be({onFileChange:Ne}){return _e.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",_e.createElement("input",{type:"file",onChange:Ne}))}function We(Ne,mt){if(!Ne)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Le.bg)())throw he.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Re=new FormData;Re.append("editormd-image-file",Ne),Re.append("file_param_name","editormd-image-file"),Re.append("byxhr","true");var Xe=new window.XMLHttpRequest;Xe.withCredentials=!0,Xe.addEventListener("load",function(Qe){mt(JSON.parse(Qe.target.responseText),Ne)},!1),Xe.addEventListener("error",function(Qe){console.error(Qe)},!1),Xe.open("POST",`${tt.KI}/api/attachments.json`),Xe.send(Re)}},51498:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return De}});var b=oe(59301),he=oe(4676);class De extends b.Component{constructor(ke){super(ke);const ze=window.document;this.node=ze.createElement("div"),ze.body.appendChild(this.node)}render(){const{children:ke}=this.props;return(0,he.createPortal)(ke,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},36867:function(yt,_t,oe){"use strict";oe.d(_t,{i:function(){return se},Z:function(){return Se}});var b={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},he=oe(71418),De=oe(6848),Ae=oe(92310),ke=oe.n(Ae),ze=oe(89299),xe=oe(63604),tt=oe(64681),Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57d0WUK6DuigYSeglFMJQIhBJSIIYUQgohObPP9/1l/pmcE7h9nvCcc+bMzJn53v/9vvcrWABQfuovrf3VeMeClWhbVrwFC5Zl0Vfi1aLP/EHu976K42wAtmXBx2cCtk9ew+ZT+bsbbT4/XUWeT1cUf4Bt61faY9v8a2I/vxXn0X7+p86l/bYftu3n7/30Sof6bdAd2351LXmMOl++0nUt/hlxnrg+vVe/6xfPbRwv7oeuJ+5RfUdPz/uMe5VP5zwfkOeDf6tlhUxqPXxOtkXgVFfVHLFgNYHlcwBRIBE+cIPEexg4+hPn0K0IPCz4A4GkrH4DkCxpEDa2fCAFqzC8AsMBifYLI6p93vdkUGUwtzEtCZC4bg0bXxnRNDrdlwBIfG8eoxZP3SCJc+sEicEUhvLBLrQsXw+r5Ognn8LGk4IoPiiQhB1vzCQ+XjHNeP2/AUkZU8JpgCRWr1yxinFy9bu+IyYZrAH8sP3ECsVOBwx1nGCPGyTN8kDg/ReYxDaFf41Vkr46F0C8MLRihmCFCyT6zNDyU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",ptimg:Me,swimg:Le},{name:"101\u8BA1\u5212",ptimg:_e,swimg:He},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Je,swimg:le},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:E,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:x,swimg:y},{name:"\u519B\u961F\u4E00\u6D41",ptimg:z,swimg:te}];var Se=({className:be,dataSource:We=[],col:Ne=4,right:mt,bottom:Re=23,precision:Xe=0,wrapWidth:Qe=1200,trackEventItems:et,loading:we,onRemove:ht=()=>{},isCurrent:ct=!0,showAlias:It=!1})=>{const gt=Math.floor((Qe-(Ne-1)*mt)/Ne),Pn=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(an=>(window.ENV==="build"&&(an.ptimg=`/react/build${an.ptimg}`,an.swimg=`/react/build${an.swimg}`),an));return ae.createElement(he.Z,{spinning:we},ae.createElement("div",{className:ke()(b.list,be)},!!(We!=null&&We.length)&&(We==null?void 0:We.map((an,Wt)=>{var Tt;const{name:Te,id:ot,identifier:Qt,featured:An,school_name:Bt,image_url:un,excellent:Ce,is_plan:ut}=an;return ae.createElement("div",{key:ot,className:b.wrap,style:{width:gt,marginRight:(1+Wt)%Ne===0?0:mt+Xe,marginBottom:Re}},ae.createElement("a",{className:b.li,onClick:Xt=>{Xt.preventDefault(),Xt.stopPropagation(),et&&(0,ze.L9)([et]),(0,ze.xg)(`/paths/${Qt}`)}},ae.createElement("div",{className:b.img},ae.createElement("img",{className:b.cover,src:`${un}`}),ct&&(0,tt.bg)()&&(an==null?void 0:an.studying)&&ae.createElement("div",{className:`${b.movebq} user-path-items`,onClick:Xt=>{Xt.stopPropagation(),ht(an)}},ae.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ae.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Tt=an==null?void 0:an.subject_tags)==null?void 0:Tt.map((Xt,nt)=>{var Pt,kn;if(nt===0){const kt=(Pt=Pn.find(Rt=>Rt.name==Xt))==null?void 0:Pt.swimg;return ae.createElement("img",{className:b.sign,src:kt,style:{left:"-4px"}})}const dn=(kn=Pn.find(kt=>kt.name==Xt))==null?void 0:kn.ptimg;return ae.createElement("img",{className:b.sign,src:dn,style:{left:`${48+52*(nt-1)+2*nt}px`}})}),ae.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(an==null?void 0:an.excellent)&&ae.createElement("div",{className:b.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ae.createElement("div",{className:b.name},ae.createElement(De.Z,{title:It&&(an!=null&&an.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${an==null?void 0:an.excellent_alias_name}`)):Te},ae.createElement("span",{className:b.e},It&&(an==null?void 0:an.excellent_alias_name)||Te))),ae.createElement("div",{className:b.tags},ae.createElement("div",null,ae.createElement(De.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ae.createElement("span",null,an.stages_count))),ae.createElement(De.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ae.createElement("span",null,an.members_count)))))))})),!We.length&&ae.createElement(xe.Z,null)))}},36433:function(yt,_t,oe){"use strict";oe.d(_t,{jL:function(){return ke},w9:function(){return an},QD:function(){return $n},cQ:function(){return ht.Z},op:function(){return zn},O5:function(){return ha},_b:function(){return bt},t7:function(){return y},Gi:function(){return An},YG:function(){return ot},qp:function(){return _e},vr:function(){return Va},qE:function(){return Ya},Je:function(){return ae},wb:function(){return we},cq:function(){return nt},tp:function(){return le}});var b=oe(59301),he={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},De="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmA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8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",ke=({dataSource:Be=[],img:at,imgWidth:st=346,title:Ft,sunTitle:St,bannerExtraContent:mn})=>b.createElement("div",{className:he.banner},b.createElement("div",{className:he.content},b.createElement("aside",null,b.createElement("p",null,b.createElement("b",null,Ft),b.createElement("span",null,St)),Be.length>0&&b.createElement("div",{className:he.btns},Be.map((Jt,Ge)=>b.createElement("div",{key:Ge,onClick:Jt.click},Jt.name,Jt.sign?b.createElement("img",{src:De,width:39}):null))),mn),at&&b.createElement("img",{style:{marginTop:33,marginRight:38},src:at,width:st}))),ze={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},xe=oe(92310),tt=oe.n(xe),Me=oe(89392),_e=({dataSource:Be=[],value:at,onChange:st,onTitleChange:Ft,className:St,title:mn,titleWidth:Jt=41,style:Ge={},fontColor:Ke="#6A7283",showCount:Ue})=>{const[Ct,sn]=(0,b.useState)(0),[hn,aa]=(0,b.useState)(!1),Vn=(0,b.useRef)(null),Dn=(0,b.useRef)(null);return(0,b.useEffect)(()=>{var Gn;Be.length!==0&&(((Gn=Vn==null?void 0:Vn.current)==null?void 0:Gn.clientHeight)>97?sn(1):sn(0)),Be.length===0&&sn(0),aa(!1)},[Be]),b.createElement("div",{className:tt()(ze.row,St),style:Ge},b.createElement("div",{onClick:(0,Me.throttle)(()=>Ft==null?void 0:Ft(),2e3),style:{width:Jt,marginTop:hn?12:4},className:`${ze.title} ${Ft?"current":""}`},mn),b.createElement("div",{className:hn?`${ze.tagsWrap} ${ze.tagsBorderWrap}`:ze.tagsWrap},b.createElement("div",{className:ze.bar,ref:Dn,style:Ct>0?{height:Ct===1?97:"auto",overflow:Ct===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},b.createElement("div",{className:ze.tag,ref:Vn},Be==null?void 0:Be.map(Gn=>b.createElement("span",{onClick:()=>st(Gn.id),key:Gn.id,style:{color:Ke},className:at===Gn.id?ze.active:""},b.createElement("span",{title:Gn.name,className:ze.name},Gn.name),!!Ue&&b.createElement("span",{className:ze.num},Gn.count))))),!!Ct&&b.createElement(b.Fragment,null,Ct===1?b.createElement("div",{onClick:()=>{var Gn;sn(2),((Gn=Vn==null?void 0:Vn.current)==null?void 0:Gn.clientHeight)>245?aa(!0):aa(!1)},className:ze.action},"\u5C55\u5F00",b.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):b.createElement("div",{onClick:()=>{Dn.current.scrollTop=0,sn(1),aa(!1)},className:ze.action},"\u6536\u8D77",b.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},He={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},le=({dataSource:Be=[],value:at,onChange:st,className:Ft,style:St={}})=>b.createElement("div",{style:St,className:tt()(He.tabs,Ft)},Be.map(mn=>b.createElement("span",{onClick:()=>st(mn.id),className:at===mn.id?He.active:"",key:mn.id},mn.name))),E={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},a=oe(92832),y=({dataSource:Be=[],value:at="",onChange:st,onInputChange:Ft=()=>{},className:St,style:mn={},placeholder:Jt,allowClear:Ge=!1})=>{var Ke;const[Ue,Ct]=(0,b.useState)(""),[sn,hn]=(0,b.useState)("");(0,b.useEffect)(()=>{var Dn;let Gn=at;(Dn=JSON.stringify(at))!=null&&Dn.includes("{")&&(Ct(at.id),Gn=at.value||"");try{hn(decodeURIComponent(Gn||""))}catch(_n){hn(decodeURIComponent(Gn||""))}},[at]);const aa=()=>{st(encodeURIComponent(sn),Ue||null)},Vn=Dn=>{Dn!==Ue&&(Ct(Dn),st(encodeURIComponent(sn),Dn))};return b.createElement("div",{className:tt()(E.input,St),style:mn},!!Be.length&&b.createElement("div",{className:E.dropdown},b.createElement("div",{className:E.text},(Ke=Be.find(Dn=>Dn.id===Ue))==null?void 0:Ke.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((Dn,Gn)=>b.createElement("div",{key:Gn,onClick:()=>Vn(Dn.id)},Dn.name)))),b.createElement(a.default,{onPressEnter:aa,value:sn,onChange:Dn=>{hn(Dn.target.value),Ft(encodeURIComponent(Dn.target.value),Ue||null)},bordered:!1,placeholder:Jt}),b.createElement("i",{onClick:aa,className:"iconfont icon-sousuo9 font14 pl10 current"}))},z={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},ae=({value:Be,onChange:at,className:st,total:Ft,pageSize:St,style:mn={}})=>{const Jt=Be<2,Ge=Be>=Math.ceil(Ft/St);return Ft<=St?b.createElement(b.Fragment,null):b.createElement("div",{className:tt()(z.quickPager,st),style:mn},b.createElement("div",{onClick:()=>{Jt||at(Be-1,"prev")},className:Jt?z.disabled:""},"\u4E0A\u4E00\u9875"),b.createElement("div",{onClick:()=>{Ge||at(Be+1,"next")},className:Ge?z.disabled:""},"\u4E0B\u4E00\u9875"))},se={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},ie=oe(71418),Se=oe(6848),be=oe(13570),We=oe(13952),Ne=oe(89299),mt=oe(96908),Re=oe(57177),Xe=oe(81378),Qe=oe(63604),we=({className:Be,dataSource:at=[],col:st=4,right:Ft,bottom:St=23,precision:mn=0,wrapWidth:Jt=1200,trackEventItems:Ge,loading:Ke})=>{const Ue=Math.floor((Jt-(st-1)*Ft)/st);return b.createElement(ie.Z,{spinning:Ke},b.createElement("div",{className:tt()(se.list,Be)},!!at.length&&at.map((Ct,sn)=>{const{name:hn,id:aa,identifier:Vn,power:Dn,cover_image_id:Gn,pic:_n}=Ct;return b.createElement("div",{className:se.wrap,key:aa,style:{width:Ue,marginRight:(1+sn)%st===0?0:Ft+mn,marginBottom:St}},b.createElement("a",{target:"_blank",href:`/shixuns/${Vn}/challenges`,className:se.li,onClick:jt=>{jt.preventDefault(),Ge&&(0,Ne.L9)([Ge]),Dn&&(0,Ne.xg)(`/shixuns/${Vn}/challenges`)}},b.createElement("div",{className:se.img},b.createElement("img",{className:se.cover,src:`${_n}`}),Ct.is_jupyter&&b.createElement("img",{className:se.sign,src:mt}),Ct.is_jupyter_lab&&b.createElement("img",{className:se.sign,src:Re}),Ct.is_unity_3d&&b.createElement("img",{className:se.sign,src:Xe})),b.createElement("div",{className:se.name},b.createElement(Se.Z,{title:hn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},b.createElement("span",{className:se.e},hn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),b.createElement("div",{className:se.tags},b.createElement(Se.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),b.createElement("span",null,Ct.challenges_count))),!!Ct.myshixuns_count&&b.createElement(Se.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),b.createElement("span",null,Ct.myshixuns_count))),b.createElement(Se.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},b.createElement("span",null,b.createElement("span",null,Ct.level))),b.createElement("div",{className:se.rate},b.createElement(be.Z,{allowHalf:!0,disabled:!0,defaultValue:Ct.score_info}),b.createElement("span",null,"\xA0",Ct.score_info?`${Ct.score_info}\u5206`:"5\u5206")))),!Dn&&b.createElement("div",{className:se.lockWrap},b.createElement("img",{src:`${We.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),b.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!at.length&&b.createElement(Qe.Z,null)))},ht=oe(36867),ct={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},It="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5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J67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",gt=oe(59301),an=({className:Be,dataSource:at=[],col:st=4,right:Ft,bottom:St=23,precision:mn=0,wrapWidth:Jt=1200,trackEventItems:Ge,loading:Ke})=>{const Ue=Math.floor((Jt-(st-1)*Ft)/st);return gt.createElement(ie.Z,{spinning:Ke},gt.createElement("div",{className:tt()(ct.list,Be)},!!at.length&&at.map((Ct,sn)=>{const{subject_identifier:hn,id:aa,identifier:Vn,power:Dn}=Ct,Gn=Ct.is_public!=0&&Ct.is_public;return gt.createElement("div",{className:ct.wrap,key:aa,style:{width:Ue,marginRight:(1+sn)%st===0?0:Ft+mn,marginBottom:St}},gt.createElement("a",{className:ct.li,onClick:_n=>{_n.preventDefault(),Ge&&(0,Ne.L9)([Ge]),(0,Ne.xg)(Ct.first_category_url)}},gt.createElement("div",{className:ct.top},gt.createElement(Se.Z,{title:Ct.name},gt.createElement("div",{className:ct.name},Ct.name)),gt.createElement("img",{className:ct.img,src:We.Z.IMG_SERVER+"/images/"+Ct.avatar_url}),gt.createElement("div",{className:ct.text,title:Ct.creator},Ct.creator),hn&>.createElement("div",{className:ct.btns},gt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),gt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Gn&>.createElement("div",{className:ct.sign},"\u516C\u5F00")),gt.createElement("div",{className:ct.bottom},Ct.visits>0&>.createElement(Se.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},gt.createElement("span",null,gt.createElement("i",{className:"iconfont icon-liulanyan"}),gt.createElement("span",null,Ct.visits))),Ct.course_members_count>0&>.createElement(Se.Z,{title:"\u6210\u5458",placement:"bottom"},gt.createElement("span",null,gt.createElement("i",{className:"iconfont icon-chengyuan"}),Ct.course_members_count)),Ct.tasks_count>0&>.createElement(Se.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},gt.createElement("span",null,gt.createElement("i",{className:"iconfont icon-zuoye"}),Ct.tasks_count)),Ct.is_end?gt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):gt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Ct.is_accessible&>.createElement("div",{className:ct.lockWrap},gt.createElement("img",{src:`${We.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),gt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!at.length&>.createElement(Qe.Z,null)))},Wt={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},Tt=oe(44993),ot=({dataSource:Be=[],value:at,onChange:st,className:Ft,style:St={},tabBarExtraContent:mn})=>b.createElement("div",{className:tt()(Wt.tabs,Ft),style:St},b.createElement("div",{className:Wt.tabsWrap},Be.map((Jt,Ge)=>b.createElement("aside",{className:Wt.tab,onClick:()=>{st(Jt.id),Jt.link&&Tt.history.push(Jt.link)},key:Ge},b.createElement("div",{className:at===Jt.id?Wt.active:""},Jt.name),(Jt==null?void 0:Jt.resetCount)==null&&(Jt==null?void 0:Jt.total)!==void 0&&b.createElement("span",null,"\uFF08",Jt==null?void 0:Jt.total,"\uFF09"),(Jt==null?void 0:Jt.resetCount)!==void 0&&(Jt==null?void 0:Jt.total)!==void 0&&b.createElement(Se.Z,{title:(Jt==null?void 0:Jt.tip)!=null?Jt==null?void 0:Jt.tip:""},b.createElement("span",{style:{color:"#9096A3"}},"\uFF08",b.createElement("span",{style:{color:"#000"}},Jt==null?void 0:Jt.resetCount),"/",b.createElement("span",null,Jt==null?void 0:Jt.total),"\uFF09"))))),b.createElement("div",{className:Wt.tabBar},mn)),An=({className:Be,style:at={},children:st})=>b.createElement("div",{className:tt()(Be),style:at},st),Bt={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},un=oe(38854),Ce=oe(20834);const ut=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var nt=({sortValue:Be,dropValue:at,className:st,onSort:Ft,onDrop:St,dataSource:mn=ut})=>{var Jt;return b.createElement("div",{className:tt()(Bt.orderWrap,st)},b.createElement(un.Z,{dropdownRender:()=>b.createElement(Ce.default,null,mn.map((Ge,Ke)=>b.createElement(Ce.default.Item,{key:Ke,onClick:()=>St(Ge.id)},Ge.name)))},b.createElement("span",{className:Bt.orderTextWrap},(Jt=mn.find(Ge=>at===Ge.id))==null?void 0:Jt.name)),b.createElement("span",{className:Bt.orderIconWrap},b.createElement("span",{className:Bt.orderAsc},b.createElement("i",{className:Be==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Bt.cursorPointer} ${Bt.active}`:`iconfont icon-sanjiaoxing-up font12 ${Bt.cursorPointer}`,onClick:()=>Ft(Be==="asc"?"desc":"asc")})),b.createElement("span",{className:Bt.orderDesc},b.createElement("i",{className:Be==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Bt.cursorPointer} ${Bt.active}`:`iconfont icon-sanjiaoxing-down font12 ${Bt.cursorPointer}`,onClick:()=>Ft(Be==="asc"?"desc":"asc")}))))},Pt={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},kn=oe(3113),dn=Object.defineProperty,kt=Object.getOwnPropertySymbols,Rt=Object.prototype.hasOwnProperty,Qn=Object.prototype.propertyIsEnumerable,na=(Be,at,st)=>at in Be?dn(Be,at,{enumerable:!0,configurable:!0,writable:!0,value:st}):Be[at]=st,tn=(Be,at)=>{for(var st in at||(at={}))Rt.call(at,st)&&na(Be,st,at[st]);if(kt)for(var st of kt(at))Qn.call(at,st)&&na(Be,st,at[st]);return Be},Fa=(Be,at)=>{var st={};for(var Ft in Be)Rt.call(Be,Ft)&&at.indexOf(Ft)<0&&(st[Ft]=Be[Ft]);if(Be!=null&&kt)for(var Ft of kt(Be))at.indexOf(Ft)<0&&Qn.call(Be,Ft)&&(st[Ft]=Be[Ft]);return st},_a=(Be,at,st)=>new Promise((Ft,St)=>{var mn=Ke=>{try{Ge(st.next(Ke))}catch(Ue){St(Ue)}},Jt=Ke=>{try{Ge(st.throw(Ke))}catch(Ue){St(Ue)}},Ge=Ke=>Ke.done?Ft(Ke.value):Promise.resolve(Ke.value).then(mn,Jt);Ge((st=st.apply(Be,at)).next())}),zn=Be=>{var at=Be,{className:st,style:Ft,children:St,loading:mn=!1,openLoading:Jt,onClick:Ge=()=>{},size:Ke="middle",shape:Ue="round"}=at,Ct=Fa(at,["className","style","children","loading","openLoading","onClick","size","shape"]);const[sn,hn]=(0,b.useState)(!1);return b.createElement(kn.ZP,tn({onClick:(0,Me.throttle)(aa=>_a(void 0,null,function*(){Jt&&hn(!0);try{yield Ge(aa)}catch(Vn){console.log("error",Vn)}Jt&&hn(!1)}),2e3,{leading:!0,trailing:!1}),className:tt()(Pt.btn,Pt[`${Ke}-${Ue}`],st),style:Ft,size:Ke,shape:Ue,loading:sn||mn},Ct),St)},xa={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},Ya=({className:Be,style:at,children:st=null,onClick:Ft,title:St})=>b.createElement("div",{className:tt()(xa.head,Be),style:at},b.createElement("span",{className:"primary-hover",onClick:Ft},b.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),b.createElement("b",{title:St},St),b.createElement("div",{className:xa.node},st)),Kn={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"},$n=({confirmShow:Be=!0,confirmTitle:at,confirmClick:st,cancelShow:Ft=!0,cancelTitle:St,cancelClick:mn,className:Jt,style:Ge,confirmLoading:Ke=!1})=>b.createElement("div",{className:tt()(Kn.btns,Jt),style:Ge},Be&&b.createElement(kn.ZP,{loading:Ke,onClick:st,type:"primary",className:Kn.confirm},at),Ft&&b.createElement(kn.ZP,{onClick:mn,className:Kn.cancel},St)),oa={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Va=({className:Be,style:at={},LeftContent:st,children:Ft,RightContent:St})=>b.createElement("div",{className:tt()(oa.fixedBottom,Be),style:at},b.createElement("div",{className:oa.wrap},b.createElement("div",{className:oa.left},st),b.createElement("div",{className:oa.center},Ft),b.createElement("div",{className:oa.right},St))),En={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"},bt=({className:Be,style:at={},dataSource:st=[]})=>b.createElement("div",{className:tt()(En.crumbs,Be),style:at},st.map((Ft,St)=>StTt.history.push(Ft.path)},Ft.name):b.createElement("span",null,Ft.name),b.createElement("span",null,"\xA0",">","\xA0")):b.createElement("span",{key:St,style:{color:"#5F6368"}},Ft.name))),Gt=oe(31797),Da=Object.defineProperty,va=Object.defineProperties,wa=Object.getOwnPropertyDescriptors,pa=Object.getOwnPropertySymbols,ja=Object.prototype.hasOwnProperty,gr=Object.prototype.propertyIsEnumerable,Ua=(Be,at,st)=>at in Be?Da(Be,at,{enumerable:!0,configurable:!0,writable:!0,value:st}):Be[at]=st,Br=(Be,at)=>{for(var st in at||(at={}))ja.call(at,st)&&Ua(Be,st,at[st]);if(pa)for(var st of pa(at))gr.call(at,st)&&Ua(Be,st,at[st]);return Be},ho=(Be,at)=>va(Be,wa(at)),Ht=(Be,at)=>{var st={};for(var Ft in Be)ja.call(Be,Ft)&&at.indexOf(Ft)<0&&(st[Ft]=Be[Ft]);if(Be!=null&&pa)for(var Ft of pa(Be))at.indexOf(Ft)<0&&gr.call(Be,Ft)&&(st[Ft]=Be[Ft]);return st};const{Countdown:Tn}=Gt.default;var ha=Be=>{var at=Be,{onChange:st}=at,Ft=Ht(at,["onChange"]);const[St,mn]=(0,b.useState)(null);(0,b.useEffect)(()=>{typeof St=="number"&&St>=0&&st(St)},[St]);const Jt=Ge=>{const Ke=Math.floor(Ge/1e3);mn(Ke)};return b.createElement(Tn,ho(Br({},Ft),{onChange:Jt}))}},47458:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return he}});var b=oe(59301);function he(De,Ae){const ke=(0,b.useRef)();(0,b.useEffect)(()=>{ke.current=De}),(0,b.useEffect)(()=>{function ze(){ke.current()}if(Ae!==null){let xe=setInterval(ze,Ae);return()=>clearInterval(xe)}},[Ae])}},32230:function(yt,_t,oe){"use strict";oe.r(_t),oe.d(_t,{default:function(){return gu}});var b=oe(59301),he=oe(44993),De=oe(78241),Ae=oe(8591),ke=oe(66104),ze=oe(92832),xe=oe(19842),tt=oe(24905),Me=oe(5112),Le=oe(5871),_e=oe(3113),He={flex_box_center:"flex_box_center___aPGWN",flex_space_between:"flex_space_between___MQNX5",flex_box_vertical_center:"flex_box_vertical_center___Z7QdK",flex_box_center_end:"flex_box_center_end___JQl5O",flex_box_column:"flex_box_column___IhYhx",bg:"bg___Kg8x_",title:"title___UhsVG",titleLeft:"titleLeft___NPVwn",titleRight:"titleRight___UGtmZ",formWrap:"formWrap___Jowb2",baseLineHeight:"baseLineHeight___N68WX",radioBtnWrapper:"radioBtnWrapper___bX7Pi",radiogroup:"radiogroup___ukf8u",easy:"easy___ZHYPU",medium:"medium___piewx",hard:"hard___HMXyt",selectdiv:"selectdiv___gkuBG",divitem:"divitem___vNm0q",bottmodiv:"bottmodiv___assW5",cancelBtn:"cancelBtn___Nl6Pi",confirmBtn:"confirmBtn___BNoFU",baseFormItem:"baseFormItem___ILZ2V",cascaderPopup:"cascaderPopup___QPxW3",addQuestionBtn:"addQuestionBtn___OjehS",concat:"concat___kliXB"},Je=oe(43418),le=oe(5083),E=oe(61186),a=oe.n(E),x=(ue,Ee,Pe)=>new Promise((it,vt)=>{var Mn=ft=>{try{Ut(Pe.next(ft))}catch(nn){vt(nn)}},vn=ft=>{try{Ut(Pe.throw(ft))}catch(nn){vt(nn)}},Ut=ft=>ft.done?it(ft.value):Promise.resolve(ft.value).then(Mn,vn);Ut((Pe=Pe.apply(ue,Ee)).next())});const y=({user:ue,dispatch:Ee,classroomList:Pe,onModalOk:it,setsubloading:vt})=>{const Mn=(0,he.useParams)(),[vn,Ut]=(0,b.useState)(),[ft,nn]=(0,b.useState)(!1);function Cn(Ye){return Ye&&Ye{nn(!1)},zIndex:8888,destroyOnClose:!0,footer:null,maskClosable:!1,keyboard:!1,open:Pe.actionTabs.key==="\u9884\u7EA6\u5F39\u7A97",onCancel:()=>{if(ft){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:(Ye,wt)=>{Ut(wt)},showTime:{defaultValue:a()("00:00:00","HH:mm:ss")}}),b.createElement("br",null),b.createElement("span",null,"\u611F\u8C22\u60A8\u7684\u914D\u5408"),b.createElement("br",null),b.createElement("div",{style:{textAlign:"end"}},b.createElement(_e.ZP,{loading:ft,type:"primary",onClick:()=>x(void 0,null,function*(){nn(!0),it(vn,()=>{Ee({type:"classroomList/setActionTabs",payload:{}})})})},"\u786E\u8BA4"))))};var z=(0,he.connect)(({user:ue,classroomList:Ee})=>({user:ue,classroomList:Ee}))(y),te=oe(52430),ae=oe(32134),se=oe(12893),ie={wrap:"wrap___Ww0Ti",itemWarp:"itemWarp___LMLjd",addIcon:"addIcon___xmRLl",deleteIcon:"deleteIcon___gjwgO"},Se=oe(57809),be=Object.defineProperty,We=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,mt=Object.prototype.propertyIsEnumerable,Re=(ue,Ee,Pe)=>Ee in ue?be(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Xe=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Ne.call(Ee,Pe)&&Re(ue,Pe,Ee[Pe]);if(We)for(var Pe of We(Ee))mt.call(Ee,Pe)&&Re(ue,Pe,Ee[Pe]);return ue},Qe=(ue,Ee,Pe)=>new Promise((it,vt)=>{var Mn=ft=>{try{Ut(Pe.next(ft))}catch(nn){vt(nn)}},vn=ft=>{try{Ut(Pe.throw(ft))}catch(nn){vt(nn)}},Ut=ft=>ft.done?it(ft.value):Promise.resolve(ft.value).then(Mn,vn);Ut((Pe=Pe.apply(ue,Ee)).next())}),we=({setitem:ue,item:Ee,rz:Pe})=>{var it,vt,Mn,vn,Ut,ft,nn,Cn;let[Ye,wt]=(0,b.useState)({zydatas:[],jbdatas:[],kcdatas:[],zsdatas:[],page:1,per_page:20});const[pn]=De.default.useForm(),[bn,xt]=(0,b.useState)(!1);(0,b.useEffect)(()=>{Pe&&!bn&&(Ye.zydatas=Pe,wt(Xe({},Ye)),xt(!0),Ee!=null&&Ee.ec_course_id&&qt())},[Ee,Pe,bn]),console.log(Ye,"params");function qt(){return Qe(this,null,function*(){yield Yt(Ee==null?void 0:Ee.ec_major_school_id),yield Kt(Ee==null?void 0:Ee.ec_year_id),yield Sa(Ee==null?void 0:Ee.ec_course_id),pn.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 Yt(Nt){return Qe(this,null,function*(){const ga=yield(0,te.ZP)(`/api/ec_major_schools/${Nt}/ec_years/get_year_list.json`,{method:"get"});Ye.jbdatas=ga==null?void 0:ga.data,wt(Xe({},Ye)),pn.setFieldsValue({ec_year_id:"",ec_course_id:"",ec_point_ids:[]})})}function Kt(Nt){return Qe(this,null,function*(){const ga=yield(0,te.ZP)(`/api/ec_years/${Nt}/ec_courses/get_courses.json`,{method:"get"});Ye.kcdatas=ga==null?void 0:ga.data,wt(Xe({},Ye)),pn.setFieldsValue({ec_course_id:"",ec_point_ids:[]})})}const Sa=Nt=>Qe(void 0,null,function*(){const ga=yield(0,te.ZP)(`/api/ec_courses/${Nt}/ec_points.json`,{method:"get",params:{ec_course_id:Nt}});Ye.zsdatas=ga==null?void 0:ga.data,wt(Xe({},Ye))});return b.createElement("div",{className:ie.from},b.createElement(De.default,{form:pn,layout:"inline",onValuesChange:Nt=>{console.log("----",Nt),Nt.ec_major_school_id&&(Ye.jbdatas=[],Ye.kcdatas=[],Ye.zsdatas=[],wt(Xe({},Ye)),Yt(Nt.ec_major_school_id)),Nt.ec_year_id&&(Ye.kcdatas=[],Ye.zsdatas=[],wt(Xe({},Ye)),Kt(Nt.ec_year_id)),Nt.ec_course_id&&(Ye.zsdatas=[],wt(Xe({},Ye)),Sa(Nt.ec_course_id))},onFinish:Nt=>Qe(void 0,null,function*(){ue(Nt)})},b.createElement(De.default.Item,{name:"ec_major_school_id"},b.createElement(Se.default,{style:{width:160},disabled:((it=Ye.zydatas)==null?void 0:it.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u4E13\u4E1A"},(vt=Ye==null?void 0:Ye.zydatas)==null?void 0:vt.map((Nt,ga)=>b.createElement(Se.default.Option,{key:ga,value:Nt==null?void 0:Nt.ec_major_school_id},Nt==null?void 0:Nt.name)))),b.createElement(De.default.Item,{name:"ec_year_id"},b.createElement(Se.default,{style:{width:160},disabled:((Mn=Ye.jbdatas)==null?void 0:Mn.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u5C4A\u522B"},(vn=Ye==null?void 0:Ye.jbdatas)==null?void 0:vn.map((Nt,ga)=>b.createElement(Se.default.Option,{key:ga,value:Nt==null?void 0:Nt.ec_year_id},Nt==null?void 0:Nt.year)))),b.createElement(De.default.Item,{name:"ec_course_id"},b.createElement(Se.default,{style:{width:208},disabled:((Ut=Ye.kcdatas)==null?void 0:Ut.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BFE\u7A0B"},(ft=Ye==null?void 0:Ye.kcdatas)==null?void 0:ft.map((Nt,ga)=>b.createElement(Se.default.Option,{key:ga,value:Nt==null?void 0:Nt.id},Nt==null?void 0:Nt.name)))),b.createElement(De.default.Item,{name:"ec_point_ids"},b.createElement(Se.default,{onChange:()=>{pn.submit()},style:{width:160},maxTagCount:1,maxTagTextLength:7,mode:"multiple",disabled:((nn=Ye.zsdatas)==null?void 0:nn.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9"},(Cn=Ye==null?void 0:Ye.zsdatas)==null?void 0:Cn.map((Nt,ga)=>b.createElement(Se.default.Option,{key:ga,value:Nt==null?void 0:Nt.id},Nt==null?void 0:Nt.name))))))},ht=Object.defineProperty,ct=Object.defineProperties,It=Object.getOwnPropertyDescriptors,gt=Object.getOwnPropertySymbols,Pn=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable,Wt=(ue,Ee,Pe)=>Ee in ue?ht(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Tt=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Pn.call(Ee,Pe)&&Wt(ue,Pe,Ee[Pe]);if(gt)for(var Pe of gt(Ee))an.call(Ee,Pe)&&Wt(ue,Pe,Ee[Pe]);return ue},Te=(ue,Ee)=>ct(ue,It(Ee)),ot=(ue,Ee,Pe)=>new Promise((it,vt)=>{var Mn=ft=>{try{Ut(Pe.next(ft))}catch(nn){vt(nn)}},vn=ft=>{try{Ut(Pe.throw(ft))}catch(nn){vt(nn)}},Ut=ft=>ft.done?it(ft.value):Promise.resolve(ft.value).then(Mn,vn);Ut((Pe=Pe.apply(ue,Ee)).next())});const Qt=({user:ue,exercise_id:Ee=null,homework_common_id:Pe=null,setitem:it})=>{var vt,Mn,vn;let[Ut,ft]=(0,b.useState)([{id:Math.random()}]),[nn,Cn]=(0,b.useState)(null);function Ye(){return ot(this,null,function*(){var pn,bn,xt,qt;let Yt=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(((pn=Yt==null?void 0:Yt.data)==null?void 0:pn.length)>0){let Kt=[];(bn=Yt==null?void 0:Yt.data)==null||bn.map(Sa=>{var Nt;(Nt=Sa==null?void 0:Sa.ec_point_ids)==null||Nt.map(ga=>{Kt.push(ga)})}),it(Te(Tt({},(xt=Yt==null?void 0:Yt.data)==null?void 0:xt[0]),{ec_point_ids:Kt})),ft((qt=Yt==null?void 0:Yt.data)==null?void 0:qt.map(Sa=>Te(Tt({},Sa),{id:Math.random()})))}})}(0,b.useEffect)(()=>{var pn,bn;(bn=(pn=ue==null?void 0:ue.userInfo)==null?void 0:pn.course)!=null&&bn.course_school_id&&wt()},[(Mn=(vt=ue==null?void 0:ue.userInfo)==null?void 0:vt.course)==null?void 0:Mn.course_school_id]);function wt(){return ot(this,null,function*(){var pn,bn;const xt=yield(0,te.ZP)(`/api/schools/${(bn=(pn=ue==null?void 0:ue.userInfo)==null?void 0:pn.course)==null?void 0:bn.course_school_id}/ec_majors/get_major_list.json`,{method:"get"});Cn(xt==null?void 0:xt.data),(Pe||Ee)&&Ye()})}return console.log(Ut,nn,"datas"),b.createElement("div",{style:{display:(vn=ue.userInfo.course)!=null&&vn.is_openengineering?"":"none"}},b.createElement("div",{className:ie.wrap},b.createElement("p",null,"\u5DE5\u7A0B\u8BA4\u8BC1",b.createElement("br",null),"\u8003\u6838\u77E5\u8BC6\u70B9"),b.createElement("div",{className:ie.itemWarp},Ut==null?void 0:Ut.map((pn,bn)=>b.createElement("div",{key:pn.id,style:{display:"flex",alignItems:"center",marginBottom:20}},b.createElement(we,{rz:nn,item:pn,setitem:xt=>{xt=Tt(Tt({},Ut==null?void 0:Ut[bn]),xt),Ut.splice(bn,1,xt),ft([...Ut]);let qt=[];Ut==null||Ut.map(Yt=>{var Kt;(Kt=Yt==null?void 0:Yt.ec_point_ids)==null||Kt.map(Sa=>{qt.push(Sa)})}),it(Te(Tt({},xt),{ec_point_ids:qt}))}}),b.createElement(ae.Z,{className:ie.addIcon,onClick:()=>{Ut.push({id:Math.random()}),ft([...Ut])}}),bn!=0&&b.createElement(se.Z,{className:ie.deleteIcon,onClick:()=>{Ut.splice(bn,1);let xt=[];Ut==null||Ut.map(qt=>{var Yt;(Yt=qt==null?void 0:qt.ec_point_ids)==null||Yt.map(Kt=>{xt.push(Kt)})}),it(Te(Tt({},Ut[bn-1]),{ec_point_ids:xt})),ft([...Ut])}}))))))};var An=(0,he.connect)(({user:ue})=>({user:ue}))(Qt),Bt=oe(20834),un=oe(71418),Ce=oe(38854),ut=oe(6848),Xt=oe(43428),nt={flex_box_center:"flex_box_center___zCnVx",flex_space_between:"flex_space_between___BBiQD",flex_box_vertical_center:"flex_box_vertical_center___KzPui",flex_box_center_end:"flex_box_center_end___zJokd",flex_box_column:"flex_box_column___Grsys",moreSpan:"moreSpan___VJeLv",bg:"bg___oBBHW",title:"title___xV4Rt",bottomdiv:"bottomdiv___rPfwr",spanBtn:"spanBtn___eJxID",addQuestionBtn:"addQuestionBtn___RPRiP",saveBtn:"saveBtn___y9nNf",left:"left___Q3Qf4",leftAction:"leftAction___GT9yG",Button:"Button___r00OP",iconWrapper:"iconWrapper___wofW_",up:"up___a9RQm",down:"down___x6RAl",disabled:"disabled___mkEME",titleleft:"titleleft___WZ83K",more_style:"more_style___ZXYnN",qcount:"qcount___o6F1k",score:"score___Gy6jr",qtitle:"qtitle___KF7pa",qcountclick:"qcountclick___kvoyc",right:"right___Nfa70",edit:"edit___RVRSb",delete:"delete___J9BAT",yuanti:"yuanti___ljq8l",tianjia:"tianjia___s7Zu2",shixun:"shixun___YkjdZ",scoreByBlankRadio:"scoreByBlankRadio___QYQY5",modalconfirm:"modalconfirm___dmWFe",scoremodal:"scoremodal___CDA7w",close:"close___jdUWv",content:"content___HPqUf",items:"items___YkyQL",bottom:"bottom___mzpp4",yes:"yes___Xio6z",no:"no___hbicD",formcenter:"formcenter___kN8Ax",radiogroup:"radiogroup___htjtc",easy:"easy____g1mR",medium:"medium___vPAsn",hard:"hard___c6tcf",formcenterselect:"formcenterselect___B88vb",selectitems1:"selectitems1___Dzpho",selectitems:"selectitems___wUGKF",morebottom:"morebottom___F5cFQ",scoreinput:"scoreinput___S9Fbv",shake:"shake___IYp2E",titleTooltip:"titleTooltip___J0i26",exercise_styles:"exercise_styles___BJAZm"},Pt=oe(89299),kn=oe(63604),dn=oe(33329),kt=oe(12921),Rt=oe(98573),Qn=oe(59301),na=Object.defineProperty,tn=Object.defineProperties,Fa=Object.getOwnPropertyDescriptors,_a=Object.getOwnPropertySymbols,ya=Object.prototype.hasOwnProperty,zn=Object.prototype.propertyIsEnumerable,xa=(ue,Ee,Pe)=>Ee in ue?na(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,cr=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))ya.call(Ee,Pe)&&xa(ue,Pe,Ee[Pe]);if(_a)for(var Pe of _a(Ee))zn.call(Ee,Pe)&&xa(ue,Pe,Ee[Pe]);return ue},Ya=(ue,Ee)=>tn(ue,Fa(Ee)),Kn=(ue,Ee,Pe)=>new Promise((it,vt)=>{var Mn=ft=>{try{Ut(Pe.next(ft))}catch(nn){vt(nn)}},vn=ft=>{try{Ut(Pe.throw(ft))}catch(nn){vt(nn)}},Ut=ft=>ft.done?it(ft.value):Promise.resolve(ft.value).then(Mn,vn);Ut((Pe=Pe.apply(ue,Ee)).next())}),$n=({Itemid:ue,setqitem:Ee,qitem:Pe,data:it,getdata:vt,bigitem:Mn,setBigqitem:vn,isedit:Ut,handleEditing:ft})=>{const[nn,Cn]=(0,b.useState)([]),[Ye,wt]=(0,b.useState)(!1),pn=(xt,qt,Yt)=>{const Kt=Array.from(xt),[Sa]=Kt.splice(qt,1);return Kt.splice(Yt,0,Sa),Kt};(0,b.useEffect)(()=>{it.length>0&&Cn([...it])},[it]);const bn=(xt,qt)=>Kn(void 0,null,function*(){if(!xt.destination)return;if(Ut){ft();return}const Yt=pn(qt,xt.source.index,xt.destination.index);wt(!0);let Kt=yield(0,te.ZP)(`/api/exercises/${ue}/adjust_position.json`,{method:"post",body:{id:ue,question_ids:Yt==null?void 0:Yt.map(Sa=>Sa.question_id)}});wt(!1),Kt.status===0&&vt({id:qt==null?void 0:qt[xt.source.index].question_id})});return Qn.createElement("div",null,Qn.createElement(kt.Z5,{onDragEnd:xt=>bn(xt,nn)},Qn.createElement(kt.bK,{droppableId:"droppable"},(xt,qt)=>Qn.createElement("div",cr({ref:xt.innerRef},xt.droppableProps),Qn.createElement(un.Z,{spinning:Ye},nn.map((Yt,Kt)=>Qn.createElement(kt._l,{key:Kt,draggableId:Kt.toString(),index:Kt},(Sa,Nt)=>{var ga,Cr;return Qn.createElement("aside",cr(cr({ref:Sa.innerRef},Sa.draggableProps),Sa.dragHandleProps),Qn.createElement(ut.Z,{title:Qn.createElement(Rt.Z,{value:(Yt==null?void 0:Yt.question_type)===8?(ga=Yt==null?void 0:Yt.program_attr)==null?void 0:ga.description:Yt.question_title}),color:"#fff",placement:"left",overlayClassName:nt.titleTooltip},Qn.createElement("div",{onClick:()=>{if(Ut){ft();return}Ee(Ya(cr({},Yt),{index:Kt+1})),vn(Mn),(0,Pt.Vf)("#question-scroll-id")},className:`${nt.qcount} ${Yt.question_id===(Pe==null?void 0:Pe.question_id)?nt.qcountclick:""}`},Qn.createElement("span",{className:nt.score},Yt==null?void 0:Yt.question_score,"\u5206"),Qn.createElement("span",{className:nt.qtitle},Kt+1,"\u3001",Qn.createElement(Rt.Z,{value:(Yt==null?void 0:Yt.question_type)===8?(Cr=Yt==null?void 0:Yt.program_attr)==null?void 0:Cr.description:Yt.question_title,showTextOnly:!0})))))}))),xt.placeholder))))},oa=oe(95237),Ea=oe(40260),Va=oe(78673),En=oe(61485),rn=oe(59592),bt=oe(59301),Gt=(ue,Ee,Pe)=>new Promise((it,vt)=>{var Mn=ft=>{try{Ut(Pe.next(ft))}catch(nn){vt(nn)}},vn=ft=>{try{Ut(Pe.throw(ft))}catch(nn){vt(nn)}},Ut=ft=>ft.done?it(ft.value):Promise.resolve(ft.value).then(Mn,vn);Ut((Pe=Pe.apply(ue,Ee)).next())}),va=({form:ue,TagDiscipline:Ee,exerciseitem:Pe,qitem:it,getTagData:vt})=>{var Mn;const[vn,Ut]=(0,b.useState)(!0),[ft,nn]=(0,b.useState)(!1),[Cn,Ye]=(0,b.useState)(""),[wt,pn]=(0,b.useState)([]),[bn,xt]=(0,b.useState)([]),[qt,Yt]=(0,b.useState)(0);(0,b.useEffect)(()=>{Sa()},[]);const Kt=Nt=>Gt(void 0,null,function*(){const ga=yield(0,te.ZP)("/api/tag_disciplines.json",{method:"get",params:{sub_discipline_id:Nt==null?void 0:Nt.sub_discipline_id}});xt(ga==null?void 0:ga.tag_disciplines)}),Sa=()=>Gt(void 0,null,function*(){const Nt=yield(0,te.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});pn(Nt.disciplines||[]),it!=null&&it.sub_discipline_id&&Kt(it),Yt(it!=null&&it.sub_discipline_id?1:0),ue.setFieldsValue({difficulty:it.difficulty||2,tag_discipline_ids:it.tag_discipline_ids,repeat_answer:!it.repeat_answer,sub_discipline_id:it!=null&&it.sub_discipline_id?[it==null?void 0:it.discipline_id,it==null?void 0:it.sub_discipline_id]:[]})});return bt.createElement("div",null,bt.createElement("div",{style:{marginTop:30,height:vn?"100%":"0px",overflow:"hidden"}},bt.createElement(De.default.Item,{className:nt.formcenter,rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u96BE\u5EA6"}],label:"\u96BE\u5EA6",name:"difficulty"},bt.createElement(Me.ZP.Group,{className:nt.radiogroup},bt.createElement(Me.ZP.Button,{className:nt.easy,value:1},"\u7B80\u5355"),bt.createElement(Me.ZP.Button,{className:nt.medium,value:2},"\u9002\u4E2D"),bt.createElement(Me.ZP.Button,{className:nt.hard,value:3},"\u56F0\u96BE"))),bt.createElement(De.default.Item,{name:"sub_discipline_id",label:"\u77E5\u8BC6\u70B9",className:nt.formcenterselect},bt.createElement(xe.Z,{className:nt.selectitems1,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:wt,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(Nt,ga)=>{ue.setFieldsValue({sub_discipline_id:Nt,tag_discipline_ids:[]}),Yt(Nt?Nt.length:0),(Nt==null?void 0:Nt.length)>0&&(Kt({sub_discipline_id:Nt[1]}),Nt[1]==(it==null?void 0:it.sub_discipline_id)&&ue.setFieldValue("tag_discipline_ids",it.tag_discipline_ids))},onClear:()=>{xt([]),ue.setFieldValue("tag_discipline_ids",[]),Yt(0)}})),bt.createElement(De.default.Item,{className:nt.formcenterselect},bt.createElement("div",{style:{display:"flex",alignItems:"center",paddingLeft:55}},bt.createElement(De.default.Item,{name:"tag_discipline_ids"},bt.createElement(Se.default,{className:nt.selectitems,disabled:qt===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:(Nt,ga)=>ga.key.indexOf(Nt.toLowerCase())>=0},bn==null?void 0:bn.map(Nt=>bt.createElement(Se.default.Option,{key:Nt.name+Nt.id,value:Nt.id},bt.createElement("div",{style:{display:"flex",alignItems:"center"}},bt.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},Nt.name),(Nt==null?void 0:Nt.type)==="personal"&&bt.createElement("div",{style:{marginLeft:"5px",border:"1px solid #24C074",color:"#24C074",padding:"0 4px",borderRadius:"2px",fontSize:"12px",height:"20px",lineHeight:"20px"}},"\u81EA\u7528")))))),qt>0&&bt.createElement("div",{style:{marginLeft:20,marginTop:"-16px",lineHeight:"48px",height:48,fontSize:14}},bt.createElement("span",null,"\u6CA1\u6709\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF1F"),bt.createElement("a",{onClick:()=>{nn(!0)},style:{marginLeft:3,color:"#3061D0"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9")))),bt.createElement(De.default.Item,{className:nt.formcenterselect},bt.createElement("div",{style:{display:"flex",alignItems:"center"}},bt.createElement(De.default.Item,{name:"repeat_answer",valuePropName:"checked"},bt.createElement(Va.Z,null)),bt.createElement("div",{style:{marginLeft:10,marginTop:"-16px",lineHeight:"48px",height:48,color:"#000000"}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898",bt.createElement(ut.Z,{placement:"right",title:"\u5F00\u542F\u540E\uFF0C\u5B66\u751F\u4F5C\u7B54\u5B8C\u6210\u8BE5\u9898\u5E76\u8FDB\u5165\u4E0B\u4E00\u9898\u4E4B\u540E\uFF0C\u4E0D\u5141\u8BB8\u518D\u4FEE\u6539\u8BE5\u9898\u7B54\u6848"},bt.createElement(En.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))))),bt.createElement(rn.Z,{open:ft,subDisciplineId:(Mn=ue.getFieldValue("sub_discipline_id"))==null?void 0:Mn[1],onCancel:()=>{nn(!1)},onOkClick:Nt=>{xt(ga=>[...ga,Nt]),ue.setFieldValue("tag_discipline_ids",[...ue.getFieldValue("tag_discipline_ids"),Nt==null?void 0:Nt.id])}}))},wa=oe(59301),pa=Object.defineProperty,ja=Object.defineProperties,gr=Object.getOwnPropertyDescriptors,Ua=Object.getOwnPropertySymbols,Br=Object.prototype.hasOwnProperty,ho=Object.prototype.propertyIsEnumerable,Ht=(ue,Ee,Pe)=>Ee in ue?pa(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Tn=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Br.call(Ee,Pe)&&Ht(ue,Pe,Ee[Pe]);if(Ua)for(var Pe of Ua(Ee))ho.call(Ee,Pe)&&Ht(ue,Pe,Ee[Pe]);return ue},Xn=(ue,Ee)=>ja(ue,gr(Ee)),ha=(ue,Ee,Pe)=>new Promise((it,vt)=>{var Mn=ft=>{try{Ut(Pe.next(ft))}catch(nn){vt(nn)}},vn=ft=>{try{Ut(Pe.throw(ft))}catch(nn){vt(nn)}},Ut=ft=>ft.done?it(ft.value):Promise.resolve(ft.value).then(Mn,vn);Ut((Pe=Pe.apply(ue,Ee)).next())}),at=({qitem:ue,setisedit:Ee,TagDiscipline:Pe,exerciseitem:it,seveeditor:vt,deleteitem:Mn,getTagData:vn,init:Ut,showTip:ft=!1})=>{var nn;const[Cn]=De.default.useForm();(0,b.useEffect)(()=>{var wt;Cn.setFieldsValue(Xn(Tn({},ue),{name:ue==null?void 0:ue.question_title,choices:(wt=ue==null?void 0:ue.question_choices)==null?void 0:wt.map(pn=>Xn(Tn({},pn),{standard_boolean:pn!=null&&pn.standard_boolean?1:0})),repeat_answer:!(ue!=null&&ue.repeat_answer)}))},[ue]);const Ye=wt=>{if(!(wt!=null&&wt.length))return!1;const pn=wt.map(xt=>{var qt;return(qt=xt.choice_text)==null?void 0:qt.trim().replace(/^\s+|\s+$/g,"")});return new Set(pn).size!==pn.length};return wa.createElement("div",null,wa.createElement(De.default,{form:Cn,colon:!1,onFinish:wt=>{var pn,bn,xt,qt,Yt;if(Ye(wt.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 Kt=(bn=(pn=wt==null?void 0:wt.choices)==null?void 0:pn.map)==null?void 0:bn.call(pn,(Nt,ga)=>{if((Nt==null?void 0:Nt.standard_boolean)===1)return ga+1}),Sa=Xn(Tn({},wt),{item_type:ue==null?void 0:ue.question_type,question_choices:(qt=(xt=wt==null?void 0:wt.choices)==null?void 0:xt.map)==null?void 0:qt.call(xt,Nt=>Nt.choice_text),standard_answers:Kt.filter(Nt=>Nt),choices:(Yt=wt==null?void 0:wt.choices)==null?void 0:Yt.map(Nt=>Xn(Tn({},Nt),{is_answer:Nt.standard_boolean}))});vt(Tn(Tn({},ue),Sa))},onFinishFailed:wt=>ha(void 0,null,function*(){var pn,bn;Ae.ZP.error(wt.errorFields[0].errors[0]),Cn.scrollToField((bn=(pn=wt==null?void 0:wt.errorFields)==null?void 0:pn[0])==null?void 0:bn.name,{behavior:"smooth",block:"center"})})},wa.createElement("div",{style:{display:"flex",alignItems:"center"}},wa.createElement("div",{style:{flex:1}},wa.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),wa.createElement("span",null,(ue==null?void 0:ue.question_type)===1?"\u591A\u9009\u9898":"\u5355\u9009\u9898")),((nn=it==null?void 0:it.exercise)==null?void 0:nn.exercise_status)==1&&!(ue!=null&&ue.isadd)&&wa.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Mn()}},wa.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),wa.createElement(_e.ZP,{onClick:()=>{var wt;ue.isadd?(Ee(!1),Ut()):(Cn.setFieldsValue(Xn(Tn({},ue),{name:ue==null?void 0:ue.question_title,choices:(wt=ue==null?void 0:ue.question_choices)==null?void 0:wt.map(pn=>Xn(Tn({},pn),{standard_boolean:pn!=null&&pn.standard_boolean?1:0})),repeat_answer:!(ue!=null&&ue.repeat_answer)})),Ee(!1))}},"\u53D6\u6D88"),wa.createElement(ut.Z,{overlayClassName:nt.shake,open:ft,placement:"bottom",color:"rgba(244,156,14,0.19)",title:wa.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},wa.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},wa.createElement(_e.ZP,{type:"primary",className:"ml20",onClick:()=>ha(void 0,null,function*(){Cn.submit()})},"\u4FDD\u5B58"))),wa.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},wa.createElement(oa.Z,{align:"middle"},wa.createElement(De.default.Item,{className:nt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},wa.createElement(Le.Z,{onBlur:wt=>{wt.target.value==="0"&&Ae.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",max:100,min:.1}))),wa.createElement(Ea.u,{form: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"}),wa.createElement(va,{getTagData:vn,qitem:ue,exerciseitem:it,TagDiscipline:Pe,form:Cn}))))},st=oe(95062),Ft=oe(20135),St=oe(59301),mn=Object.defineProperty,Jt=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,Ke=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,Ct=Object.prototype.propertyIsEnumerable,sn=(ue,Ee,Pe)=>Ee in ue?mn(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,hn=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Ue.call(Ee,Pe)&&sn(ue,Pe,Ee[Pe]);if(Ke)for(var Pe of Ke(Ee))Ct.call(Ee,Pe)&&sn(ue,Pe,Ee[Pe]);return ue},aa=(ue,Ee)=>Jt(ue,Ge(Ee)),Vn=(ue,Ee,Pe)=>new Promise((it,vt)=>{var Mn=ft=>{try{Ut(Pe.next(ft))}catch(nn){vt(nn)}},vn=ft=>{try{Ut(Pe.throw(ft))}catch(nn){vt(nn)}},Ut=ft=>ft.done?it(ft.value):Promise.resolve(ft.value).then(Mn,vn);Ut((Pe=Pe.apply(ue,Ee)).next())}),Gn=({qitem:ue,TagDiscipline:Ee,exerciseitem:Pe,setisedit:it,seveeditor:vt,deleteitem:Mn,getTagData:vn,init:Ut,showTip:ft=!1})=>{var nn;const[Cn]=De.default.useForm(),Ye=De.default.useWatch("use_blank_score",Cn);return(0,b.useEffect)(()=>{Cn.setFieldsValue(aa(hn({},ue),{standard_answers:ue.standard_answers||[],name:ue.question_title,repeat_answer:!ue.repeat_answer}))},[ue]),St.createElement("div",null,St.createElement(De.default,{form:Cn,colon:!1,onValuesChange:(wt,pn)=>{var bn,xt,qt,Yt;if(wt!=null&&wt.standard_answers||wt!=null&&wt.use_blank_score){let Kt=((bn=Cn.getFieldValue("standard_answers"))==null?void 0:bn.length)>0&&((qt=(xt=Cn.getFieldValue("standard_answers"))==null?void 0:xt.map(Sa=>Sa.score))==null?void 0:qt.filter(Sa=>Sa));(Kt==null?void 0:Kt.length)>0&&Cn.setFieldsValue({question_score:(Kt==null?void 0:Kt.length)>0&&((Yt=Kt.reduce((Sa,Nt)=>Sa+Nt))==null?void 0:Yt.toFixed(1))})}},onFinish:wt=>{vt(aa(hn(hn({},ue),wt),{item_type:ue==null?void 0:ue.question_type,standard_answers:wt.standard_answers,question_title:wt.name}))},onFinishFailed:wt=>Vn(void 0,null,function*(){var pn,bn;wt.errorFields[0].errors[0]==="\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"&&(0,Pt.pE)(),Ae.ZP.error(wt.errorFields[0].errors[0]),Cn.scrollToField((bn=(pn=wt==null?void 0:wt.errorFields)==null?void 0:pn[0])==null?void 0:bn.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")),((nn=Pe==null?void 0:Pe.exercise)==null?void 0:nn.exercise_status)==1&&!(ue!=null&&ue.isadd)&&St.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Mn()}},St.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),St.createElement(_e.ZP,{onClick:()=>{ue.isadd?(it(!1),Ut()):(Cn.setFieldsValue(aa(hn({},ue),{standard_answers:ue.standard_answers||[],name:ue.question_title,repeat_answer:!ue.repeat_answer})),it(!1))}},"\u53D6\u6D88"),St.createElement(ut.Z,{overlayClassName:nt.shake,open:ft,placement:"bottom",color:"rgba(244,156,14,0.19)",title:St.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},St.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},St.createElement(_e.ZP,{type:"primary",className:"ml20",onClick:()=>{Cn.submit()}},"\u4FDD\u5B58"))),St.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},St.createElement(oa.Z,{align:"middle"},Ye?St.createElement(Ft.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}):St.createElement(De.default.Item,{key:2,className:nt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},St.createElement(Le.Z,{onBlur:wt=>{wt.target.value==="0"&&Ae.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",size:"middle",max:100,min:.1})),St.createElement(De.default.Item,{name:"use_blank_score",noStyle:!0},St.createElement(Me.ZP.Group,{className:nt.scoreByBlankRadio,optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}]})),St.createElement(ut.Z,{overlayInnerStyle:{width:460},title:St.createElement("div",null,"\u6309\u7A7A\u7ED9\u5206\uFF1A\u9700\u8981\u5206\u522B\u8BBE\u7F6E\u6BCF\u4E2A\u586B\u7A7A\u9879\u7684\u5206\u503C\uFF0C\u586B\u7A7A\u9879\u7B54\u5BF9\u4E4B\u540E\u5219\u83B7\u5F97\u5BF9\u5E94\u7684\u5206\u503C\u3002",St.createElement("br",null),"\u6309\u9898\u7ED9\u5206\uFF1A\u9700\u8981\u8BBE\u7F6E\u6574\u4E2A\u5C0F\u9898\u7684\u5206\u503C\uFF0C\u7B54\u5BF9\u5168\u90E8\u586B\u7A7A\u9879\u4E4B\u540E\u624D\u80FD\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\u3002")},St.createElement("i",{className:"icon-tishixiaowenhao font18 ml20 c-3061d0"}))),St.createElement(st.u,{form:Cn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:Ye,answerKey:"standard_answers"}),St.createElement(va,{getTagData:vn,qitem:ue,exerciseitem:Pe,TagDiscipline:Ee,form:Cn}))))},_n=oe(42784),jt=oe(59301),La=Object.defineProperty,lr=Object.defineProperties,io=Object.getOwnPropertyDescriptors,Wa=Object.getOwnPropertySymbols,zt=Object.prototype.hasOwnProperty,jr=Object.prototype.propertyIsEnumerable,Ta=(ue,Ee,Pe)=>Ee in ue?La(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,vr=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))zt.call(Ee,Pe)&&Ta(ue,Pe,Ee[Pe]);if(Wa)for(var Pe of Wa(Ee))jr.call(Ee,Pe)&&Ta(ue,Pe,Ee[Pe]);return ue},er=(ue,Ee)=>lr(ue,io(Ee)),kr=(ue,Ee,Pe)=>new Promise((it,vt)=>{var Mn=ft=>{try{Ut(Pe.next(ft))}catch(nn){vt(nn)}},vn=ft=>{try{Ut(Pe.throw(ft))}catch(nn){vt(nn)}},Ut=ft=>ft.done?it(ft.value):Promise.resolve(ft.value).then(Mn,vn);Ut((Pe=Pe.apply(ue,Ee)).next())}),$r=({qitem:ue,setisedit:Ee,TagDiscipline:Pe,exerciseitem:it,seveeditor:vt,deleteitem:Mn,getTagData:vn,init:Ut,showTip:ft=!1})=>{var nn;const[Cn]=De.default.useForm();return(0,b.useEffect)(()=>{var Ye;Cn.setFieldsValue(er(vr({},ue),{name:ue.question_title,repeat_answer:!ue.repeat_answer,choices:(Ye=ue==null?void 0:ue.question_choices)==null?void 0:Ye.map(wt=>er(vr({},wt),{is_answer:wt!=null&&wt.standard_boolean?1:0}))}))},[ue]),jt.createElement("div",null,jt.createElement(De.default,{form:Cn,colon:!1,onFinish:Ye=>{var wt,pn,bn,xt;let qt=(pn=(wt=Ye==null?void 0:Ye.choices)==null?void 0:wt.map)==null?void 0:pn.call(wt,(Yt,Kt)=>{if((Yt==null?void 0:Yt.is_answer)===1)return Kt+1});vt(er(vr(vr({},ue),Ye),{question_title:Ye.name,standard_answers:qt.filter(Yt=>Yt),question_choices:(xt=(bn=Ye==null?void 0:Ye.choices)==null?void 0:bn.map)==null?void 0:xt.call(bn,Yt=>Yt.choice_text)}))},onFinishFailed:Ye=>kr(void 0,null,function*(){var wt,pn;Ae.ZP.error(Ye.errorFields[0].errors[0]),Cn.scrollToField((pn=(wt=Ye==null?void 0:Ye.errorFields)==null?void 0:wt[0])==null?void 0:pn.name,{behavior:"smooth",block:"center"})})},jt.createElement("div",{style:{display:"flex",alignItems:"center"}},jt.createElement("div",{style:{flex:1}},jt.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),jt.createElement("span",null,"\u5224\u65AD\u9898")),((nn=it==null?void 0:it.exercise)==null?void 0:nn.exercise_status)==1&&!(ue!=null&&ue.isadd)&&jt.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Mn()}},jt.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),jt.createElement(_e.ZP,{onClick:()=>{var Ye;ue.isadd?(Ee(!1),Ut()):(Cn.setFieldsValue(er(vr({},ue),{name:ue.question_title,repeat_answer:!ue.repeat_answer,choices:(Ye=ue==null?void 0:ue.question_choices)==null?void 0:Ye.map(wt=>er(vr({},wt),{is_answer:wt!=null&&wt.standard_boolean?1:0}))})),Ee(!1))}},"\u53D6\u6D88"),jt.createElement(ut.Z,{overlayClassName:nt.shake,open:ft,placement:"bottom",color:"rgba(244,156,14,0.19)",title:jt.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},jt.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},jt.createElement(_e.ZP,{type:"primary",className:"ml20",onClick:()=>{Cn.submit()}},"\u4FDD\u5B58"))),jt.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},jt.createElement(De.default.Item,{className:nt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},jt.createElement(Le.Z,{onBlur:Ye=>{Ye.target.value==="0"&&Ae.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",max:100,min:.1})),jt.createElement(_n.Z,{form:Cn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",choiceKey:""}),jt.createElement(va,{getTagData:vn,qitem:ue,exerciseitem:it,TagDiscipline:Pe,form:Cn}))))},wr=oe(36381),ra={wrap:"wrap___m6v_p",deleteIcon:"deleteIcon___hdYRw",keywordTag:"keywordTag___BLtdn",questionTitleEditorWrap:"questionTitleEditorWrap___fdaK7",choiceWrap:"choiceWrap___wkyUO",choiceIndex:"choiceIndex___tExMq",judgementIndex:"judgementIndex___RMhzJ",setAnswerBtn:"setAnswerBtn___bisIK",activeAnswer:"activeAnswer___MnyyC",activeJudgementAnswer:"activeJudgementAnswer___grGX5",actionWrapper:"actionWrapper___LUawU",addIcon:"addIcon___ckXqe",inputBorder:"inputBorder___nuo0O",placeholder:"placeholder___Dhdir",blankWrapper:"blankWrapper___cnidV",blankInput:"blankInput___iZ5BF",blankInputNumberWrapper:"blankInputNumberWrapper___zlXQc",addBtn:"addBtn___OdgAm",blankIndex:"blankIndex___g4Y7d",baseInputWrapper:"baseInputWrapper___DCOHd",collapseWrapper:"collapseWrapper___SyLrk",panelHeader:"panelHeader___E0il1",open:"open___IFH3V",close:"close___YpIA9",hide:"hide___Nl1W6",scoreByBlankRadio:"scoreByBlankRadio___jpG4i"},$t=oe(4213),Xa=Object.defineProperty,la=Object.defineProperties,tr=Object.getOwnPropertyDescriptors,Oa=Object.getOwnPropertySymbols,Sn=Object.prototype.hasOwnProperty,qn=Object.prototype.propertyIsEnumerable,Aa=(ue,Ee,Pe)=>Ee in ue?Xa(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Wn=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Sn.call(Ee,Pe)&&Aa(ue,Pe,Ee[Pe]);if(Oa)for(var Pe of Oa(Ee))qn.call(Ee,Pe)&&Aa(ue,Pe,Ee[Pe]);return ue},qa=(ue,Ee)=>la(ue,tr(Ee)),Ka=(ue,Ee)=>{var Pe={};for(var it in ue)Sn.call(ue,it)&&Ee.indexOf(it)<0&&(Pe[it]=ue[it]);if(ue!=null&&Oa)for(var it of Oa(ue))Ee.indexOf(it)<0&&qn.call(ue,it)&&(Pe[it]=ue[it]);return Pe};const pr=ue=>{var Ee=ue,{value:Pe,onChange:it,scrollId:vt}=Ee,Mn=Ka(Ee,["value","onChange","scrollId"]);return b.createElement("div",{id:vt||""},b.createElement($t.Z,qa(Wn({},Mn),{defaultValue:Pe,onChange:(vn,Ut)=>{console.log("a:",vn,Ut),Ut!=null&&Ut.length?it(vn,Ut):it(vn)}})))},_r=({value:ue,onChange:Ee,placeholder:Pe,height:it=140,isEdit:vt})=>vt?b.createElement($t.Z,{watch:!0,isFocus:!0,height:it,placeholder:Pe,defaultValue:ue,onChange:Ee}):b.createElement("div",{style:{cursor:"pointer"}},ue?b.createElement(Rt.Z,{className:ra.inputBorder,value:ue}):b.createElement("div",{className:`${ra.inputBorder} ${ra.placeholder}`},Pe));var nr=oe(43604),jo=Object.defineProperty,Co=Object.defineProperties,pi=Object.getOwnPropertyDescriptors,Pr=Object.getOwnPropertySymbols,Ar=Object.prototype.hasOwnProperty,so=Object.prototype.propertyIsEnumerable,za=(ue,Ee,Pe)=>Ee in ue?jo(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Tr=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Ar.call(Ee,Pe)&&za(ue,Pe,Ee[Pe]);if(Pr)for(var Pe of Pr(Ee))so.call(Ee,Pe)&&za(ue,Pe,Ee[Pe]);return ue},Hr=(ue,Ee)=>Co(ue,pi(Ee)),ur=(ue,Ee)=>{var Pe={};for(var it in ue)Ar.call(ue,it)&&Ee.indexOf(it)<0&&(Pe[it]=ue[it]);if(ue!=null&&Pr)for(var it of Pr(ue))Ee.indexOf(it)<0&&so.call(ue,it)&&(Pe[it]=ue[it]);return Pe};const zr=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],vo=({value:ue,onChange:Ee,choiceTextKey:Pe,answerKey:it,index:vt,isEdit:Mn,setInputActive:vn,form:Ut,choiceOptionsPath:ft,allowChangeMode:nn,showAddIcon:Cn,addItem:Ye,deleteItem:wt})=>{const pn=(ue==null?void 0:ue[it])===1,bn=()=>{const qt=Ut.getFieldValue(ft);Ut.setFieldValue(ft,qt.map(Yt=>Hr(Tr({},Yt),{[it]:0})))},xt=()=>{pn?Ee(Hr(Tr({},ue),{[it]:0})):(nn||bn(),Ee(Hr(Tr({},ue),{[it]:1})))};return b.createElement(oa.Z,{className:ra.choiceWrap,align:"middle",wrap:!1},b.createElement(nr.Z,{onClick:xt,className:`${ra.choiceIndex} ${pn?ra.activeAnswer:""}`},zr[vt]),b.createElement(nr.Z,{flex:1,className:`${ra.editorWrap} ml15`,onClick:vn},b.createElement(_r,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:Mn,value:ue==null?void 0:ue[Pe],onChange:qt=>{Ee(Hr(Tr({},ue),{[Pe]:qt}))}})),b.createElement(nr.Z,{flex:"0 0 auto",className:"ml15"},b.createElement("div",{onClick:xt,className:`${ra.setAnswerBtn} ${pn?ra.activeAnswer:""}`},pn?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),b.createElement(nr.Z,{className:ra.actionWrapper},b.createElement(ut.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},b.createElement(ae.Z,{className:ra.addIcon,onClick:Ye,style:{visibility:Cn?"visible":"hidden"}})),b.createElement(ut.Z,{title:"\u5220\u9664"},b.createElement(se.Z,{className:ra.deleteIcon,onClick:wt,style:{visibility:vt>1?"visible":"hidden"}}))))},Qr=({questionTitlePlaceholder:ue,titleKey:Ee,choiceKey:Pe,analysisKey:it,choiceTextKey:vt,answerKey:Mn,choiceOptionsPath:vn,allowChangeMode:Ut=!0,form:ft,showAnalysis:nn=!0})=>{const[Cn,Ye]=(0,b.useState)(),[wt,pn]=(0,b.useState)(!1);return b.createElement("div",{className:ra.wrap},b.createElement("div",{className:ra.questionTitleEditorWrap},b.createElement(De.default.Item,{label:"\u9898\u5E72",name:Ee,labelCol:{span:24},rules:[{required:!0}]},b.createElement(pr,{scrollId:Array.isArray(Ee)?Ee.join("_"):`${Ee}`,watch:!0,height:140,placeholder:ue}))),b.createElement(De.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),b.createElement(De.default.List,{name:Pe,rules:[{validator(bn,xt){const qt=xt.some(Kt=>Kt[Mn]===1),Yt=xt.findIndex(Kt=>{var Sa;return((Sa=Kt[vt])==null?void 0:Sa.length)<=0});return Yt!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${zr[Yt]}\u9009\u9879\u7684\u5185\u5BB9`)):qt?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(bn,{add:xt,remove:qt})=>b.createElement("div",{id:Array.isArray(vn)?vn.join("_"):`${vn}`},bn.map((Yt,Kt)=>{var Sa=Yt,{key:Nt,name:ga}=Sa,Cr=ur(Sa,["key","name"]);const Er=Cn===Nt,$a=()=>{Ye(Nt)},Ao=Kt<7&&Kt===bn.length-1,ta=()=>xt({[vt]:"",[Mn]:0}),Or=()=>qt(ga);return b.createElement(De.default.Item,Hr(Tr({},Cr),{key:Nt,name:ga,noStyle:!0}),b.createElement(vo,{choiceTextKey:vt,answerKey:Mn,index:Kt,isEdit:Er,setInputActive:$a,form:ft,choiceOptionsPath:vn,allowChangeMode:Ut,showAddIcon:Ao,addItem:ta,deleteItem:Or}))}),bn.length<8&&b.createElement("div",{className:`${ra.addBtn} mb30`,onClick:()=>xt({[vt]:"",[Mn]:0})},"\u6DFB\u52A0\u9009\u9879"))),nn&&b.createElement("div",{onClick:()=>pn(!0)},b.createElement(De.default.Item,{name:it,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(_r,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:wt}))))};var Ha=oe(59301),wo=Object.defineProperty,ni=Object.defineProperties,oi=Object.getOwnPropertyDescriptors,Zr=Object.getOwnPropertySymbols,ii=Object.prototype.hasOwnProperty,Yo=Object.prototype.propertyIsEnumerable,ll=(ue,Ee,Pe)=>Ee in ue?wo(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,wi=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))ii.call(Ee,Pe)&&ll(ue,Pe,Ee[Pe]);if(Zr)for(var Pe of Zr(Ee))Yo.call(Ee,Pe)&&ll(ue,Pe,Ee[Pe]);return ue},Yi=(ue,Ee)=>ni(ue,oi(Ee)),Oo=(ue,Ee)=>{var Pe={};for(var it in ue)ii.call(ue,it)&&Ee.indexOf(it)<0&&(Pe[it]=ue[it]);if(ue!=null&&Zr)for(var it of Zr(ue))Ee.indexOf(it)<0&&Yo.call(ue,it)&&(Pe[it]=ue[it]);return Pe};const yl=({value:ue,onChange:Ee})=>{const Pe=vt=>{Je.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:ra.modal,onOk:()=>{const Mn=[...ue];Mn.splice(vt,1),Ee(Mn)}})},it=()=>{const vt=[...ue];vt.push(""),Ee(vt)};return Ha.createElement(oa.Z,{className:"ml20"},Ha.createElement(nr.Z,{flex:1},ue==null?void 0:ue.map((vt,Mn)=>Ha.createElement(oa.Z,{key:`${vt}_${Mn}`,align:"middle",className:"mb20"},Ha.createElement(ze.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:vt,autoSize:{maxRows:3},maxLength:1e3,onBlur:vn=>{const Ut=[...ue],ft=vn.target.value.trim();Ut[Mn]=ft,Ee(Ut)}}),Ha.createElement(ut.Z,{title:"\u5220\u9664"},Ha.createElement(se.Z,{className:ra.deleteIcon,style:{marginLeft:15,visibility:Mn>0?"visible":"hidden"},onClick:()=>Pe(Mn)}))))),Ha.createElement(nr.Z,null,Ha.createElement("div",{className:`${ra.addBtn}`,onClick:()=>{it()}},"\u65B0\u589E\u7B54\u6848")))},Kl=({value:ue=!0,onChange:Ee})=>Ha.createElement(Va.Z,{checked:!ue,onChange:Pe=>{Ee(!Pe)}}),Ii="\u2581",Ti=({questionTitlePlaceholder:ue,form:Ee,name:Pe,scoreByBlank:it,answerKey:vt,titleKey:Mn="name",analysisKey:vn="analysis",isOrdered:Ut="is_ordered"})=>{var ft,nn;const[Cn,Ye]=(0,b.useState)(!1),wt=(Nt,ga)=>{const Cr=ga.line;let Er=0;for(let Ao=0;Ao{const $a=Nt.getRange(ga.from,ga.to);let Ao=0;if(ga.text.forEach(ta=>{Ao+=ta.split(Ii).length-1}),ga.origin!=="setValue"){if($a&&$a.indexOf(Ii)!==-1){const ta=$a.split(Ii).length-1,Or=wt(Nt,ga.from);if(console.log(`\u5220\u9664${ta}\u4E2A\uFF0C \u524D\u9762\u6709${Or}\u4E2A\uFF0C\u65B0\u589E${Ao}\u4E2A`),ta>1){const Ga=Array.from({length:ta},(Wr,So)=>Or+So);Er(Ga)}else Er(Or)}else if(Ao>0){const ta=wt(Nt,ga.from);console.log(`\u65B0\u589E${Ao}\u4E2A\uFF0C\u4E4B\u524D\u6709${ta}\u4E2A`),Cr(Ao,ta)}}},bn=()=>{const Nt=Ee.getFieldValue(["sub_item_banks",...vt]);Ee.setFieldValue(["sub_item_banks",...vt],Nt==null?void 0:Nt.map((ga,Cr)=>Yi(wi({},ga),{position:Cr+1})))},xt=(0,b.useRef)(),qt=(Nt,ga)=>{for(let Cr=0;Cr{Yt.current(Nt),bn()},Sa=(nn=(ft=Ee.getFieldValue("sub_item_banks"))==null?void 0:ft[vt==null?void 0:vt[0]])==null?void 0:nn[vt==null?void 0:vt[1]];return console.log(Ee==null?void 0:Ee.getFieldValue(["sub_item_banks",...it])),Ha.createElement("div",{className:ra.wrap},Ha.createElement("div",{className:ra.questionTitleEditorWrap},Ha.createElement(De.default.Item,{label:"\u9898\u5E72",name:Mn,labelCol:{span:24},rules:[{required:!0}]},Ha.createElement(pr,{scrollId:"name",watch:!0,height:140,placeholder:ue,showNullButton:!0,onCMBeforeChange:(Nt,ga)=>{pn(Nt,ga,qt,Kt)}}))),Ha.createElement(De.default.List,{name:vt,rules:[{validator(Nt,ga){if((ga==null?void 0:ga.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Cr of ga){const{answer_text:Er}=Cr||{};if(Er!=null&&Er.some($a=>($a==null?void 0:$a.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Nt,{add:ga,remove:Cr},{errors:Er})=>(xt.current=ga,Yt.current=Cr,Ha.createElement(Ha.Fragment,null,Ha.createElement(De.default.Item,{label:Ha.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Nt!=null&&Nt.length)&&Ha.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),Nt.map(($a,Ao)=>{var ta=$a,{key:Or,name:Ga}=ta,Wr=Oo(ta,["key","name"]);return Ha.createElement(oa.Z,{className:"mb20",key:Or,align:"top"},Ha.createElement(nr.Z,{flex:"0 0 auto",className:`${ra.blankIndex} pt5`},"\u586B\u7A7A\u9879",Ao+1),Ha.createElement(nr.Z,{flex:1},Ha.createElement(oa.Z,{align:"top",justify:"space-between"},Ha.createElement(nr.Z,{flex:1},Ha.createElement(De.default.Item,Yi(wi({},Wr),{name:[Ga,"answer_text"],noStyle:!0}),Ha.createElement(yl,null))),(Ee==null?void 0:Ee.getFieldValue(["sub_item_banks",...it]))&&Ha.createElement(nr.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},Ha.createElement(De.default.Item,Yi(wi({},Wr),{name:[Ga,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:ra.blankInputNumberWrapper}),Ha.createElement(Le.Z,{onChange:()=>{var So,xo;let zo=Ee==null?void 0:Ee.getFieldValue(["sub_item_banks",vt==null?void 0:vt[0],"standard_answers"]),Pa=0;for(let Fr in zo)(So=zo[Fr])!=null&&So.score&&(Pa+=Number((xo=zo[Fr])==null?void 0:xo.score));Ee==null||Ee.setFieldValue(["sub_item_banks",vt==null?void 0:vt[0],"question_score"],Pa)},className:ra.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),Ha.createElement(De.default.Item,Yi(wi({},Wr),{name:[Ga,"position"],noStyle:!0}),Ha.createElement(ze.default,{type:"hidden"}))))})))),Ha.createElement(oa.Z,{align:"middle"},Ha.createElement(De.default.Item,{name:[Pe,"downcase"],valuePropName:"checked"},Ha.createElement(Va.Z,null)),Ha.createElement(nr.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),Ha.createElement(oa.Z,{align:"middle"},Ha.createElement(De.default.Item,{name:[Pe,"no_space"],valuePropName:"checked"},Ha.createElement(Va.Z,null)),Ha.createElement(nr.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Sa==null?void 0:Sa.length)>1&&Ha.createElement(oa.Z,{align:"middle",className:(Sa==null?void 0:Sa.length)>1?"mb30":`${ra.hide}`},Ha.createElement(De.default.Item,{name:Ut},Ha.createElement(Kl,null)),Ha.createElement(nr.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),Ha.createElement("div",{onClick:()=>Ye(!0)},Ha.createElement(De.default.Item,{name:vn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ha.createElement(_r,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Cn}))))};var ul=Object.defineProperty,Za=Object.defineProperties,jn=Object.getOwnPropertyDescriptors,Rn=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,At=(ue,Ee,Pe)=>Ee in ue?ul(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,gn=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))me.call(Ee,Pe)&&At(ue,Pe,Ee[Pe]);if(Rn)for(var Pe of Rn(Ee))pt.call(Ee,Pe)&&At(ue,Pe,Ee[Pe]);return ue},Et=(ue,Ee)=>Za(ue,jn(Ee)),xn=(ue,Ee)=>{var Pe={};for(var it in ue)me.call(ue,it)&&Ee.indexOf(it)<0&&(Pe[it]=ue[it]);if(ue!=null&&Rn)for(var it of Rn(ue))Ee.indexOf(it)<0&&pt.call(ue,it)&&(Pe[it]=ue[it]);return Pe};const Fn={\u6B63\u786E:"T",\u9519\u8BEF:"F"},fn=({value:ue,onChange:Ee,form:Pe,choiceKey:it})=>{const vt=(ue==null?void 0:ue.is_answer)===1,Mn=ue==null?void 0:ue.choice_text,vn=()=>{var Ut;const ft=(Ut=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",...it]))==null?void 0:Ut.map(nn=>({choice_text:nn.choice_text,is_answer:0}));Pe==null||Pe.setFieldValue(["sub_item_banks",...it],ft),Ee(Et(gn({},ue),{is_answer:1}))};return b.createElement(oa.Z,{className:ra.choiceWrap,align:"middle",wrap:!1},b.createElement(nr.Z,{onClick:vn,className:`${ra.choiceIndex} ${ra.judgementIndex} ${vt?ra.activeAnswer:""}`},Fn[Mn]),b.createElement(nr.Z,{flex:1,className:`${ra.editorWrap} ml15`},b.createElement("div",{className:`${ra.inputBorder} ${ra.placeholder} ${vt?ra.activeJudgementAnswer:""}`},Mn)),b.createElement(nr.Z,{flex:"0 0 auto",className:"ml15"},b.createElement("div",{onClick:vn,className:`${ra.setAnswerBtn} ${vt?ra.activeAnswer:""}`},vt?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},yn=({questionTitlePlaceholder:ue,choiceKey:Ee="choices",form:Pe,titleKey:it="name",analysisKey:vt="analysis"})=>{const[Mn,vn]=(0,b.useState)(!1);return b.createElement("div",{className:ra.wrap},b.createElement("div",{className:ra.questionTitleEditorWrap},b.createElement(De.default.Item,{label:"\u9898\u5E72",name:it,labelCol:{span:24},rules:[{required:!0}]},b.createElement(pr,{scrollId:"name",watch:!0,height:140,placeholder:ue}))),b.createElement(De.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},b.createElement(De.default.List,{name:Ee,rules:[{validator(Ut,ft){return ft.some(Cn=>(Cn==null?void 0:Cn.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Ut=>b.createElement("div",{id:"choices"},Ut.map(ft=>{var nn=ft,{key:Cn,name:Ye}=nn,wt=xn(nn,["key","name"]);return b.createElement(De.default.Item,Et(gn({},wt),{key:Cn,name:Ye,noStyle:!0}),b.createElement(fn,{form:Pe,choiceKey:Ee}))})))),b.createElement("div",{onClick:()=>vn(!0)},b.createElement(De.default.Item,{name:vt,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(_r,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Mn}))))};var Ma=oe(12563),ir={ai_config:"ai_config___cJ8LY",znpy:"znpy___RTAAN",pfbz_ts:"pfbz_ts___ux6Ec",btns_pfbz:"btns_pfbz___QFXM_",lable_name1:"lable_name1___c_vnV",h_lh_40:"h_lh_40___ptAW7"},hr=oe(12099),da=oe(56746),ma=oe(59301);const ar=({qitem:ue,form:Ee,exercise:Pe,loading:it,dispatch:vt,aiReviewSettings:Mn=null})=>ma.createElement("div",{className:ir.ai_config},ma.createElement("div",{style:{lineHeight:"32px",paddingBottom:8}},"\u8BC4\u5206\u6807\u51C6"),ma.createElement("div",{className:ir.pfbz_ts},ma.createElement("div",{style:{color:"#333"}},"\u63D0\u793A\uFF1A\u53C2\u8003\u7B54\u6848\u548C\u9898\u76EE\u89E3\u6790\u8D8A\u5B8C\u5584\uFF0CAI\u667A\u80FD\u8BC4\u9605\u5C31\u8D8A\u7CBE\u51C6~"),ma.createElement("div",{className:"flex"},ma.createElement("div",{className:ir.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(Mn||"ai_review_settings")}})}},ma.createElement("img",{src:hr.Z}),"\u6D4B\u8BD5AI\u8BC4\u5206"))),ma.createElement("div",{style:{background:"#F6F7F9"}},ma.createElement(De.default.List,{name:Mn||"ai_review_settings"},(vn,{add:Ut,remove:ft})=>vn.map((nn,Cn)=>{var Ye;return ma.createElement(oa.Z,{key:nn.key,style:{padding:"5px 10px 5px 15px"}},ma.createElement(nr.Z,{className:ir.lable_name1},"\u8BC4\u5206\u9879\u76EE"),ma.createElement(nr.Z,null,ma.createElement(De.default.Item,{className:"ml10",name:[nn.name,"name"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BC4\u5206\u9879\u76EE"}]},ma.createElement(ze.default,{onChange:wt=>{Ee.setFieldValue([nn.name,"content"],wt.target.value)},placeholder:"\u8BF7\u8F93\u5165\u6700\u591A10\u5B57\u7B26",size:"large",style:{width:142},maxLength:10,className:"mr15"}))),ma.createElement(nr.Z,{className:ir.lable_name1},"\u8BC4\u5206\u6807\u51C6"),ma.createElement(nr.Z,null,ma.createElement(De.default.Item,{className:"ml10",name:[nn.name,"content"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BC4\u5206\u6807\u51C6"}]},ma.createElement(ze.default,{onChange:wt=>{Ee.setFieldValue([nn.name,"content"],wt.target.value)},placeholder:"\u8BF7\u8F93\u5165\u8BC4\u5206\u6807\u51C6",size:"large",style:{width:Mn?232:318},className:"mr15",maxLength:500}))),ma.createElement(nr.Z,{className:ir.lable_name1},"\u6743\u91CD"),ma.createElement(nr.Z,null,ma.createElement(De.default.Item,{className:"ml10",name:[nn.name,"weight"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6743\u91CD"},{pattern:/^(?!0(\.0+)?$)(\d+(\.\d)?)$/,message:"\u6700\u591A\u4FDD\u7559\u4E00\u4F4D\u5C0F\u6570"}]},ma.createElement(Le.Z,{value:Ee.getFieldValue([nn.name,"weight"]),onChange:wt=>{Number.isInteger(wt)||Ee.setFieldValue([nn.name,"weight"],parseFloat(wt).toFixed(2))},size:"large",addonAfter:"%",placeholder:"\u8BF7\u8F93\u5165\u6743\u91CD",min:.01,step:1,max:100,style:{width:"110px"}}))),ma.createElement(oa.Z,{className:(Ye=ir)==null?void 0:Ye.h_lh_40},ma.createElement(nr.Z,null,ma.createElement("i",{className:"iconfont icon-tianjiatimu ml10 current",style:{color:"#00B187"},onClick:()=>{if(vn.length>=10)return Ae.ZP.info("\u6700\u591A\u53EA\u80FD\u6DFB\u52A010\u4E2A\u8BC4\u5206\u9879\u76EE");Ut()}})),Cn>0&&ma.createElement(nr.Z,null,ma.createElement("i",{className:"iconfont icon-shanjian1 ml10 current",style:{color:"#E30000"},onClick:()=>{ft(nn.name)}}))))}))),ma.createElement(da.Z,null));var dr=(0,he.connect)(({exercise:ue,loading:Ee})=>({exercise:ue,loading:Ee.effects}))(ar),Mo=Object.defineProperty,Ko=Object.defineProperties,Lo=Object.getOwnPropertyDescriptors,Wo=Object.getOwnPropertySymbols,ai=Object.prototype.hasOwnProperty,ui=Object.prototype.propertyIsEnumerable,Fl=(ue,Ee,Pe)=>Ee in ue?Mo(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,qi=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))ai.call(Ee,Pe)&&Fl(ue,Pe,Ee[Pe]);if(Wo)for(var Pe of Wo(Ee))ui.call(Ee,Pe)&&Fl(ue,Pe,Ee[Pe]);return ue},$i=(ue,Ee)=>Ko(ue,Lo(Ee)),el=(ue,Ee)=>{var Pe={};for(var it in ue)ai.call(ue,it)&&Ee.indexOf(it)<0&&(Pe[it]=ue[it]);if(ue!=null&&Wo)for(var it of Wo(ue))Ee.indexOf(it)<0&&ui.call(ue,it)&&(Pe[it]=ue[it]);return Pe};const ou=ue=>{var Ee=ue,{value:Pe,onChange:it}=Ee,vt=el(Ee,["value","onChange"]);const Mn=vn=>{it([vn])};return b.createElement($t.Z,$i(qi({},vt),{defaultValue:Pe==null?void 0:Pe[0],onChange:Mn}))},sl=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},Ol=({value:ue=[],onClose:Ee})=>b.createElement(Ma.default,{closable:!0,onClose:Ee,className:ra.keywordTag},b.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},ue.join(" \u6216 "))),as=({questionTitlePlaceholder:ue,form:Ee,showKeywords:Pe,isMustKeyWords:it=Pe,titleKey:vt="name",analysisKey:Mn="analysis",answerTexts:vn="answer_texts",keywords:Ut="keywords",useKeywords:ft="use_keywords",indexs:nn,qitem:Cn,exerciseitem:Ye,aiReviewSettings:wt})=>{var pn,bn,xt,qt,Yt;const[Kt,Sa]=(0,b.useState)(!1),[Nt,ga]=(0,b.useState)(""),Cr=(bn=(pn=Ee.getFieldValue("sub_item_banks"))==null?void 0:pn[ft==null?void 0:ft[0]])==null?void 0:bn[ft==null?void 0:ft[1]],Er=(qt=(xt=Ee.getFieldValue("sub_item_banks"))==null?void 0:xt[ft==null?void 0:ft[0]])==null?void 0:qt.question_score;return b.createElement("div",{className:ra.wrap},b.createElement("div",{className:ra.questionTitleEditorWrap},b.createElement(De.default.Item,{label:"\u9898\u5E72",name:vt,labelCol:{span:24},rules:[{required:!0}]},b.createElement(pr,{scrollId:"name",watch:!0,height:140,placeholder:ue}))),b.createElement(De.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:vn,labelCol:{span:24}},b.createElement(ou,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Pe&&!it&&b.createElement(De.default.Item,{hidden:!0,name:ft,valuePropName:"checked"},b.createElement(Va.Z,{defaultChecked:!0})),Pe&&it&&b.createElement(oa.Z,{align:"middle",className:"mb30"},b.createElement(De.default.Item,{name:ft,valuePropName:"checked"},b.createElement(Va.Z,null)),b.createElement(nr.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),b.createElement(nr.Z,null,b.createElement(ut.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},b.createElement(En.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(Cr||!it)&&b.createElement(De.default.List,{name:Ut,rules:[{validator($a,Ao){return it?Ao!=null&&Ao.length?(Ao==null?void 0:Ao.reduce((Or,Ga)=>Or+Ga.score,0))>parseFloat(Er)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},($a,{add:Ao,remove:ta})=>b.createElement(b.Fragment,null,b.createElement("div",{className:`${ra.title} mb10`},it?"\u5173\u952E\u8BCD":b.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),b.createElement(oa.Z,{align:"middle",className:"font14 mb30"},b.createElement(nr.Z,{flex:1},b.createElement(ze.default,{value:Nt,onChange:Or=>{ga(Or.target.value)},maxLength:50,allowClear:!0,onPressEnter:Or=>{var Ga,Wr,So,xo;const zo=`${(Ga=Or.target)==null?void 0:Ga.value}`,Pa=(So=(Wr=zo==null?void 0:zo.split("|"))==null?void 0:Wr.filter(Xr=>!!Xr))==null?void 0:So.map(Xr=>Xr==null?void 0:Xr.trim()),Fr=Ee.getFieldValue(["sub_item_banks",...Ut]),Ei=((xo=Fr==null?void 0:Fr.map(Xr=>Xr==null?void 0:Xr.keyword))==null?void 0:xo.flat())||[];for(const Xr of Pa)if(Ei.includes(Xr)){Ae.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}sl(zo)&&(Ao({keyword:Pa,score:1}),ga(""))},className:ra.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),b.createElement(nr.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),$a.map(Or=>{var Ga=Or,{key:Wr,name:So}=Ga,xo=el(Ga,["key","name"]);return b.createElement(oa.Z,{key:Wr,className:"mb20",style:{marginRight:148}},b.createElement(nr.Z,{flex:1},b.createElement(oa.Z,{align:"middle",justify:"space-between"},b.createElement(De.default.Item,$i(qi({},xo),{name:[So,"keyword"]}),b.createElement(Ol,{onClose:()=>ta(So)})),it&&b.createElement(De.default.Item,$i(qi({},xo),{name:[So,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:ra.blankInputNumberWrapper}),b.createElement(Le.Z,{className:ra.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),b.createElement("div",{onClick:()=>Sa(!0)},b.createElement(De.default.Item,{name:Mn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(_r,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Kt}))),((Yt=Ye==null?void 0:Ye.exercise)==null?void 0:Yt.is_open_ai_review)&&b.createElement(dr,{form:Ee,qitem:Cn,aiReviewSettings:wt}))};var Mr=oe(59301),Cu=Object.defineProperty,wu=Object.defineProperties,rs=Object.getOwnPropertyDescriptors,Li=Object.getOwnPropertySymbols,zu=Object.prototype.hasOwnProperty,Lu=Object.prototype.propertyIsEnumerable,Pu=(ue,Ee,Pe)=>Ee in ue?Cu(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Nu=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))zu.call(Ee,Pe)&&Pu(ue,Pe,Ee[Pe]);if(Li)for(var Pe of Li(Ee))Lu.call(Ee,Pe)&&Pu(ue,Pe,Ee[Pe]);return ue},iu=(ue,Ee)=>wu(ue,rs(Ee)),Vu=(ue,Ee)=>{var Pe={};for(var it in ue)zu.call(ue,it)&&Ee.indexOf(it)<0&&(Pe[it]=ue[it]);if(ue!=null&&Li)for(var it of Li(ue))Ee.indexOf(it)<0&&Lu.call(ue,it)&&(Pe[it]=ue[it]);return Pe};const{Panel:Iu}=wr.default,Ou=({questionTitlePlaceholder:ue,choiceKey:Ee,form:Pe,withScore:it})=>{const vt=[{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,vn]=(0,b.useState)(),[Ut,ft]=(0,b.useState)([]),nn=Ye=>{ft(Ye)},Cn=({value:Ye})=>Mr.createElement("div",{style:{width:150,paddingLeft:11}},Ye);return Mr.createElement("div",{className:ra.wrap},Mr.createElement("div",{className:ra.questionTitleEditorWrap},Mr.createElement(De.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},Mr.createElement(pr,{scrollId:"name",watch:!0,height:140,placeholder:ue}))),Mr.createElement(De.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),Mr.createElement(De.default.List,{name:"sub_item_banks",rules:[{validator(Ye,wt){return wt?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Ye,{add:wt,remove:pn,move:bn})=>{const xt=Pe.getFieldValue("sub_item_banks");return Mr.createElement(Mr.Fragment,null,Mr.createElement(wr.default,{className:Ye.length>0?ra.collapseWrapper:"",bordered:!1,activeKey:Ut,onChange:nn,expandIcon:({isActive:qt})=>Mr.createElement("i",{className:`iconfont icon-weizhankai ${qt?ra.open:ra.close}`,style:{fontSize:14,transition:"all .2s"}})},Ye.map((qt,Yt)=>{var Kt=qt,{key:Sa,name:Nt}=Kt,ga=Vu(Kt,["key","name"]),Cr,Er,$a,Ao,ta,Or,Ga,Wr,So,xo,zo,Pa,Fr,Ei;return Mr.createElement(Iu,{className:ra.panel,forceRender:!0,header:Mr.createElement("div",{className:ra.panelHeader},"\u7B2C",Yt+1,"\u5C0F\u9898",Mr.createElement("span",null,"\uFF08",((Cr=xt==null?void 0:xt[Nt])==null?void 0:Cr.question_type)==0?"\u5355\u9009\u9898":((Er=xt==null?void 0:xt[Nt])==null?void 0:Er.question_type)==1?"\u591A\u9009\u9898":(($a=xt==null?void 0:xt[Nt])==null?void 0:$a.question_type)==3?"\u586B\u7A7A\u9898":((Ao=xt==null?void 0:xt[Nt])==null?void 0:Ao.question_type)==2?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:Nt,extra:Mr.createElement(oa.Z,{align:"middle",onClick:Xr=>Xr.stopPropagation()},((ta=xt==null?void 0:xt[Nt])==null?void 0:ta.question_type)==3&&Mr.createElement(Mr.Fragment,null,Mr.createElement(Me.ZP.Group,{defaultValue:(Or=xt==null?void 0:xt[Nt])==null?void 0:Or.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:Xr=>{var In,ei,zi,di,Bi;if(Pe==null||Pe.setFieldValue(["sub_item_banks",Nt,"use_blank_score"],(In=Xr==null?void 0:Xr.target)==null?void 0:In.value),(ei=Xr==null?void 0:Xr.target)!=null&&ei.value){let rl=0;for(let ri in(zi=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",Nt]))==null?void 0:zi.standard_answers)rl+=Number((Bi=(di=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",Nt]))==null?void 0:di.standard_answers[ri])==null?void 0:Bi.score);Pe==null||Pe.setFieldValue(["sub_item_banks",Nt,"question_score"],rl||"")}vn(new Date)}}),Mr.createElement(ut.Z,{overlayInnerStyle:{width:460},title:Mr.createElement("div",null,"\u6309\u7A7A\u7ED9\u5206\uFF1A\u9700\u8981\u5206\u522B\u8BBE\u7F6E\u6BCF\u4E2A\u586B\u7A7A\u9879\u7684\u5206\u503C\uFF0C\u586B\u7A7A\u9879\u7B54\u5BF9\u4E4B\u540E\u5219\u83B7\u5F97\u5BF9\u5E94\u7684\u5206\u503C\u3002",Mr.createElement("br",null),"\u6309\u9898\u7ED9\u5206\uFF1A\u9700\u8981\u8BBE\u7F6E\u6574\u4E2A\u5C0F\u9898\u7684\u5206\u503C\uFF0C\u7B54\u5BF9\u5168\u90E8\u586B\u7A7A\u9879\u4E4B\u540E\u624D\u80FD\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\u3002")},Mr.createElement("i",{className:"icon-tishixiaowenhao font18 mr25 c-3061d0"}))),it&&Mr.createElement(De.default.Item,iu(Nu({},ga),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[Nt,"question_score"],className:ra.blankInputNumberWrapper}),((Ga=xt==null?void 0:xt[Nt])==null?void 0:Ga.question_type)==3&&((Wr=xt==null?void 0:xt[Nt])!=null&&Wr.use_blank_score)?Mr.createElement(Cn,null):Mr.createElement(Le.Z,{className:ra.blankInput,placeholder:"\u8BF7\u8F93\u5165\u5206\u6570",min:.1,precision:1,max:100,style:{width:150}})),Mr.createElement(oa.Z,{align:"middle",className:"pl40",style:{width:82}},Yt!==0&&Mr.createElement("div",{onClick:()=>{var Xr;bn(Yt,Yt-1);const In=(Xr=Pe.getFieldValue("sub_item_banks"))==null?void 0:Xr.map((ei,zi)=>(Ye.map((di,Bi)=>{zi===Bi&&(ei.q_position=Number(di.name)+1)}),ei));Pe.setFieldValue("sub_item_banks",In)}},Mr.createElement(ut.Z,{title:"\u4E0A\u79FB"},Mr.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),Yt{var Xr;bn(Yt,Yt+1);const In=(Xr=Pe.getFieldValue("sub_item_banks"))==null?void 0:Xr.map((ei,zi)=>(Ye.map((di,Bi)=>{zi===Bi&&(ei.q_position=Number(di.name)+1)}),ei));Pe.setFieldValue("sub_item_banks",In)},className:Yt===0?"":"ml10"},Mr.createElement(ut.Z,{title:"\u4E0B\u79FB"},Mr.createElement("i",{className:"iconfont icon-xiayi3 c-grey-999 primary-hover"})))),Mr.createElement(ut.Z,{title:"\u5220\u9664"},Mr.createElement(se.Z,{className:`${ra.deleteIcon} ml40`,onClick:()=>pn(Nt)})))},Mr.createElement(De.default.Item,iu(Nu({},ga),{name:Nt}),(((So=xt==null?void 0:xt[Nt])==null?void 0:So.question_type)==0||((xo=xt==null?void 0:xt[Nt])==null?void 0:xo.question_type)==1)&&Mr.createElement(Qr,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((zo=xt==null?void 0:xt[Nt])==null?void 0:zo.question_type)==1,form:Pe,choiceKey:[Nt,"choices"],titleKey:[Nt,"name"],analysisKey:[Nt,"analysis"],choiceOptionsPath:["sub_item_banks",Nt,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((Pa=xt==null?void 0:xt[Nt])==null?void 0:Pa.question_type)==3&&Mr.createElement(Ti,{form:Pe,name:Nt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:[Nt,"use_blank_score"],titleKey:[Nt,"name"],analysisKey:[Nt,"analysis"],isOrdered:[Nt,"is_ordered"],answerKey:[Nt,"standard_answers"],key:Mn}),((Fr=xt==null?void 0:xt[Nt])==null?void 0:Fr.question_type)==2&&Mr.createElement(yn,{form:Pe,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[Nt,"name"],analysisKey:[Nt,"analysis"],choiceKey:[Nt,"choices"]}),((Ei=xt==null?void 0:xt[Nt])==null?void 0:Ei.question_type)==4&&Mr.createElement(as,{showKeywords:!0,isMustKeyWords:!0,form:Pe,titleKey:[Nt,"name"],analysisKey:[Nt,"analysis"],answerTexts:[Nt,"answer_texts"],useKeywords:[Nt,"use_keywords"],keywords:[Nt,"keywords"],indexs:Nt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"})))})),Ye.length<20&&Mr.createElement(Ce.Z,{menu:{items:[{label:Mr.createElement("div",{onClick:()=>{wt({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:0,item_type:"SINGLE"}),ft([Ye==null?void 0:Ye.length,...Ut])}},"\u5355\u9009\u9898"),key:"1",show:!0},{label:Mr.createElement("div",{onClick:()=>{wt({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:1,item_type:"MULTIPLE"}),ft([Ye==null?void 0:Ye.length,...Ut])}},"\u591A\u9009\u9898"),key:"2",show:!0},{label:Mr.createElement("div",{onClick:()=>{wt({name:"",choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],analysis:"",question_type:2,item_type:"JUDGMENT"}),ft([Ye==null?void 0:Ye.length,...Ut])}},"\u5224\u65AD\u9898"),key:"3",show:!0},{label:Mr.createElement("div",{onClick:()=>{wt({name:"",analysis:"",is_ordered:!0,standard_answers:[],question_type:3,item_type:"COMPLETION",use_blank_score:!0,downcase:!0,no_space:!0}),ft([Ye==null?void 0:Ye.length,...Ut])}},"\u586B\u7A7A\u9898"),key:"4",show:!0},{label:Mr.createElement("div",{onClick:()=>{wt({name:"",answer_texts:[],keywords:[],use_keywords:!1,analysis:"",question_type:4,item_type:"SUBJECTIVE"}),ft([Ye==null?void 0:Ye.length,...Ut])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(qt=>qt.show).map(qt=>({label:qt.label,key:qt.key}))}},Mr.createElement("div",{className:`${ra.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var Ni=oe(59301),Wu=Object.defineProperty,Bu=Object.defineProperties,yi=Object.getOwnPropertyDescriptors,Au=Object.getOwnPropertySymbols,os=Object.prototype.hasOwnProperty,lu=Object.prototype.propertyIsEnumerable,Jl=(ue,Ee,Pe)=>Ee in ue?Wu(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,bl=(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},Cl=(ue,Ee)=>Bu(ue,yi(Ee)),is=(ue,Ee,Pe)=>new Promise((it,vt)=>{var Mn=ft=>{try{Ut(Pe.next(ft))}catch(nn){vt(nn)}},vn=ft=>{try{Ut(Pe.throw(ft))}catch(nn){vt(nn)}},Ut=ft=>ft.done?it(ft.value):Promise.resolve(ft.value).then(Mn,vn);Ut((Pe=Pe.apply(ue,Ee)).next())}),ls=({qitem:ue,setisedit:Ee,TagDiscipline:Pe,exerciseitem:it,seveeditor:vt,deleteitem:Mn,getTagData:vn,init:Ut,showTip:ft=!1})=>{var nn;const[Cn]=De.default.useForm(),{unified_ai_setting:Ye,ai_review_settings:wt}=it==null?void 0:it.exercise;(0,b.useEffect)(()=>{var bn;Cn.setFieldsValue(Cl(bl({},ue),{name:ue.question_title,sub_item_banks:(bn=ue.sub_exercise_questions)==null?void 0:bn.map(xt=>{var qt,Yt;if(xt.question_type==4){const Kt=Ye?wt:((qt=xt==null?void 0:xt.ai_review_settings)==null?void 0:qt.length)>0?xt.ai_review_settings:wt;xt.ai_review_settings=Kt}return Cl(bl({},xt),{name:xt.question_title,choices:(Yt=xt==null?void 0:xt.question_choices)==null?void 0:Yt.map(Kt=>Cl(bl({},Kt),{is_answer:Kt!=null&&Kt.standard_boolean?1:0}))})}),repeat_answer:!ue.repeat_answer}))},[ue]);const pn=bn=>{if(!(bn!=null&&bn.length))return!1;const xt=bn.map(Yt=>{var Kt;return(Kt=Yt.choice_text)==null?void 0:Kt.trim().replace(/^\s+|\s+$/g,"")});return new Set(xt).size!==xt.length};return Ni.createElement("div",null,Ni.createElement(De.default,{form:Cn,colon:!1,onValuesChange:(bn,xt)=>{var qt,Yt,Kt,Sa;if(bn!=null&&bn.sub_item_banks){let Nt=((qt=Cn.getFieldValue("sub_item_banks"))==null?void 0:qt.length)>0&&((Kt=(Yt=Cn.getFieldValue("sub_item_banks"))==null?void 0:Yt.map(ga=>{var Cr;if(ga.question_type==3&&(ga!=null&&ga.use_blank_score)){let Er=0;for(let $a in ga==null?void 0:ga.standard_answers)Er+=Number((Cr=ga==null?void 0:ga.standard_answers[$a])==null?void 0:Cr.score);return Er}else return ga.question_score}))==null?void 0:Kt.filter(ga=>ga));(Nt==null?void 0:Nt.length)>0&&Cn.setFieldsValue({question_score:(Sa=parseFloat(Nt.reduce((ga,Cr)=>parseFloat(ga)+parseFloat(Cr))))==null?void 0:Sa.toFixed(1)})}},onFinish:bn=>{var xt,qt;if((xt=bn.sub_item_banks)==null?void 0:xt.some(Kt=>Kt.question_type===0||Kt.question_type===1?pn(Kt.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(Cl(bl(bl({},ue),bn),{question_title:bn.name,sub_questions:(qt=bn==null?void 0:bn.sub_item_banks)==null?void 0:qt.map(Kt=>{var Sa,Nt,ga,Cr;return(Kt==null?void 0:Kt.question_type)==3?Cl(bl({},Kt),{question_title:Kt.name,item_type:Kt==null?void 0:Kt.question_type}):Cl(bl({},Kt),{question_title:Kt.name,question_choices:(Nt=(Sa=Kt==null?void 0:Kt.choices)==null?void 0:Sa.map)==null?void 0:Nt.call(Sa,Er=>Er.choice_text),standard_answers:(Cr=(ga=Kt==null?void 0:Kt.choices)==null?void 0:ga.map)==null?void 0:Cr.call(ga,(Er,$a)=>(Er==null?void 0:Er.is_answer)===1&&$a+1).filter(Er=>Er),item_type:Kt==null?void 0:Kt.question_type})})}))},onFinishFailed:bn=>is(void 0,null,function*(){var xt,qt;Ae.ZP.error(bn.errorFields[0].errors[0]),Cn.scrollToField((qt=(xt=bn==null?void 0:bn.errorFields)==null?void 0:xt[0])==null?void 0:qt.name,{behavior:"smooth",block:"center"})})},Ni.createElement("div",{style:{display:"flex",alignItems:"center"}},Ni.createElement("div",{style:{flex:1}},Ni.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Ni.createElement("span",null,"\u7EC4\u5408\u9898")),((nn=it==null?void 0:it.exercise)==null?void 0:nn.exercise_status)==1&&!(ue!=null&&ue.isadd)&&Ni.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Mn()}},Ni.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Ni.createElement(_e.ZP,{onClick:()=>{var bn;ue.isadd?(Ee(!1),Ut()):(Cn.setFieldsValue(Cl(bl({},ue),{name:ue.question_title,sub_item_banks:(bn=ue.sub_exercise_questions)==null?void 0:bn.map(xt=>{var qt;return Cl(bl({},xt),{name:xt.question_title,choices:(qt=xt==null?void 0:xt.question_choices)==null?void 0:qt.map(Yt=>Cl(bl({},Yt),{is_answer:Yt!=null&&Yt.standard_boolean?1:0}))})}),repeat_answer:!ue.repeat_answer})),Ee(!1))}},"\u53D6\u6D88"),Ni.createElement(ut.Z,{overlayClassName:nt.shake,open:ft,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Ni.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Ni.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},Ni.createElement(_e.ZP,{className:"ml20",type:"primary",onClick:()=>{Cn.submit()}},"\u4FDD\u5B58"))),Ni.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Ni.createElement(Ft.Z,{text:"\uFF08\u7EC4\u5408\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5C0F\u9898\u5206\u503C\u4E4B\u548C\uFF09"}),Ni.createElement(Ou,{form:Cn,withScore:!0,choiceKey:"",exerciseitem:it,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7EC4\u5408\u9898\u9898\u5E72\u5185\u5BB9"}),Ni.createElement(va,{getTagData:vn,qitem:ue,exerciseitem:it,TagDiscipline:Pe,form:Cn}))))},Uo=oe(59301),us=Object.defineProperty,ss=Object.defineProperties,ds=Object.getOwnPropertyDescriptors,Uu=Object.getOwnPropertySymbols,Ru=Object.prototype.hasOwnProperty,ku=Object.prototype.propertyIsEnumerable,Qu=(ue,Ee,Pe)=>Ee in ue?us(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,tl=(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},dl=(ue,Ee)=>ss(ue,ds(Ee)),yu=(ue,Ee,Pe)=>new Promise((it,vt)=>{var Mn=ft=>{try{Ut(Pe.next(ft))}catch(nn){vt(nn)}},vn=ft=>{try{Ut(Pe.throw(ft))}catch(nn){vt(nn)}},Ut=ft=>ft.done?it(ft.value):Promise.resolve(ft.value).then(Mn,vn);Ut((Pe=Pe.apply(ue,Ee)).next())}),Ku=({qitem:ue,setqitem:Ee,setisedit:Pe,TagDiscipline:it,exerciseitem:vt,seveeditor:Mn,deleteitem:vn,showTip:Ut})=>{var ft,nn;const[Cn]=De.default.useForm();return(0,b.useEffect)(()=>{var Ye,wt;Cn.setFieldsValue(dl(tl({},ue),{name:ue==null?void 0:ue.question_title,choices:(Ye=ue==null?void 0:ue.question_choices)==null?void 0:Ye.map(pn=>dl(tl({},pn),{standard_boolean:pn!=null&&pn.standard_boolean?1:0})),repeat_answer:!(ue!=null&&ue.repeat_answer)})),ue.shixun=(wt=ue==null?void 0:ue.shixun)==null?void 0:wt.map(pn=>dl(tl({},pn),{defaultscore:pn.challenge_score}))},[]),Uo.createElement("div",null,Uo.createElement(De.default,{form:Cn,colon:!1,onFinish:Ye=>{var wt,pn;let bn=dl(tl({},Ye),{question_scores:(wt=ue==null?void 0:ue.shixun)==null?void 0:wt.map(xt=>xt.challenge_score),item_type:ue==null?void 0:ue.question_type,choices:(pn=Ye==null?void 0:Ye.choices)==null?void 0:pn.map(xt=>dl(tl({},xt),{is_answer:xt.standard_boolean}))});Mn(tl(tl({},ue),bn))},onFinishFailed:Ye=>yu(void 0,null,function*(){var wt,pn;Ae.ZP.error(Ye.errorFields[0].errors[0]),Cn.scrollToField((pn=(wt=Ye==null?void 0:Ye.errorFields)==null?void 0:wt[0])==null?void 0:pn.name,{behavior:"smooth",block:"center"})})},Uo.createElement("div",{style:{display:"flex",alignItems:"center"}},Uo.createElement("div",{style:{flex:1}},Uo.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Uo.createElement("span",null,"\u5B9E\u8BAD\u9898")),((ft=vt==null?void 0:vt.exercise)==null?void 0:ft.exercise_status)==1&&!(ue!=null&&ue.isadd)&&Uo.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{vn()}},Uo.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Uo.createElement(_e.ZP,{onClick:()=>{var Ye,wt;Cn.setFieldsValue(dl(tl({},ue),{name:ue==null?void 0:ue.question_title,choices:(Ye=ue==null?void 0:ue.question_choices)==null?void 0:Ye.map(pn=>dl(tl({},pn),{standard_boolean:pn!=null&&pn.standard_boolean?1:0})),repeat_answer:!(ue!=null&&ue.repeat_answer)})),ue.shixun=(wt=ue==null?void 0:ue.shixun)==null?void 0:wt.map(pn=>dl(tl({},pn),{challenge_score:pn.defaultscore})),Ee(tl({},ue)),Pe(!1)}},"\u53D6\u6D88"),Uo.createElement(ut.Z,{overlayClassName:nt.shake,open:Ut,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Uo.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Uo.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")},Uo.createElement(_e.ZP,{className:"ml20",type:"primary",onClick:()=>yu(void 0,null,function*(){var Ye,wt,pn;if(((wt=(Ye=ue==null?void 0:ue.shixun)==null?void 0:Ye.map)==null?void 0:wt.call(Ye,bn=>bn.challenge_score).filter(bn=>bn).length)<((pn=ue==null?void 0:ue.shixun)==null?void 0:pn.length)){Ae.ZP.info("\u5206\u6570\u4E0D\u80FD\u4E3A\u7A7A");return}Cn.submit()})},"\u4FDD\u5B58"))),Uo.createElement(Ft.Z,{text:"\uFF08\u5B9E\u8BAD\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5173\u5361\u5206\u503C\u4E4B\u548C\uFF09"}),Uo.createElement(De.default.Item,{label:"\u9898\u5E72",name:"question_title",labelCol:{span:24},rules:[{required:!0}]},Uo.createElement($t.Z,{watch:!0,height:140,placeholder:"",defaultValue:ue.question_title}))),Uo.createElement(oa.Z,{style:{marginBottom:15},align:"middle",justify:"space-between"},Uo.createElement("div",null,Uo.createElement("span",{style:{color:"red"}},"*"),"\u5173\u5361\u540D\u79F0"),Uo.createElement("a",{href:`/shixuns/${ue==null?void 0:ue.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Uo.createElement("i",{onClick:()=>{},className:"iconfont icon-shixunkecheng font14 mr5"}),"\u5B9E\u8BAD\u8BE6\u60C5")),(nn=ue==null?void 0:ue.shixun)==null?void 0:nn.map((Ye,wt)=>Uo.createElement("div",{style:{display:"flex",marginBottom:20}},Uo.createElement("div",{style:{flex:1}},wt+1,"\u3001",Ye.challenge_name),Uo.createElement("div",null,Uo.createElement("span",{style:{color:"red"}},"*"),"\u5206\u503C",Uo.createElement(Le.Z,{precision:1,value:Ye==null?void 0:Ye.challenge_score,onChange:pn=>{const bn=JSON.parse(JSON.stringify((ue==null?void 0:ue.shixun)||[]));bn[wt].challenge_score=pn;const xt=bn.every(Yt=>!Yt.challenge_score),qt=parseFloat(bn==null?void 0:bn.map(Yt=>Yt.challenge_score).reduce((Yt,Kt)=>parseFloat(Yt||0)+parseFloat(Kt||0)));Cn.setFieldsValue({question_score:xt?"":qt.toFixed(1)}),Ee(dl(tl({},ue),{shixun:bn}))},max:200,min:.1,style:{marginLeft:10,width:150},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",size:"middle"})))))},ba={flex_box_center:"flex_box_center___Vhtb1",flex_space_between:"flex_space_between___k2ZrJ",flex_box_vertical_center:"flex_box_vertical_center___tn6Db",flex_box_center_end:"flex_box_center_end___k3eNX",flex_box_column:"flex_box_column___rsWbi",warp:"warp___UlRJc",indexTag:"indexTag___rjJ1u",normalWrap:"normalWrap___Qm4zY",redio:"redio___VW3yr",redioitem:"redioitem___jAPlJ",redioitemyes:"redioitemyes___VoiQ1",title:"title___Dt2dl",titleyes:"titleyes___Fjh3a",yestag:"yestag___CXrPv",checkbox:"checkbox___CgMU_",checkboxitem:"checkboxitem___PpJ9n",checkboxitemyes:"checkboxitemyes___pCfvZ",bottom:"bottom___BqrmJ",bottomitem:"bottomitem___Qk2rG",left:"left___l29lW",right:"right___nB1XE",completion:"completion___y1m7L",content:"content___AmQy4",items:"items___lIt8e",simple:"simple___zxJLH",shixunWrapper:"shixunWrapper___kAYdL",shixun:"shixun___UE6xS",score:"score___Px5Fq",qtitle:"qtitle___wG7Nn",program:"program___gzKdL",combination:"combination___R0ysn",qtype:"qtype___U0Suy",divname:"divname___guDo9"},cs=oe(1710),_u=oe(24302),Fu=oe(24334),Un=oe(59301);const Xl=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"],gs=[{type:0,name:"\u5355\u9009\u9898"},{type:1,name:"\u591A\u9009\u9898"},{type:2,name:"\u5224\u65AD\u9898"},{type:3,name:"\u586B\u7A7A\u9898"},{type:4,name:"\u7B80\u7B54\u9898"},{type:5,name:"\u5B9E\u8BAD\u9898"},{type:6,name:"\u7F16\u7A0B\u9898"},{type:7,name:"\u7EC4\u5408\u9898"},{type:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}];var ms=({qitem:ue,exercise:Ee})=>{var Pe,it,vt,Mn,vn,Ut,ft,nn,Cn,Ye,wt,pn,bn,xt,qt,Yt,Kt,Sa,Nt,ga,Cr,Er,$a,Ao;return Un.createElement("div",{className:ba.warp},((ue==null?void 0:ue.question_type)===0||(ue==null?void 0:ue.question_type)===2)&&Un.createElement("div",{className:ba.normalWrap},(Pe=ue==null?void 0:ue.question_choices)==null?void 0:Pe.map((ta,Or)=>Un.createElement("div",{className:ba.redio},!(ta!=null&&ta.standard_boolean)&&Un.createElement("span",{className:ba.redioitem}),(ta==null?void 0:ta.standard_boolean)&&Un.createElement("i",{className:`${ba.redioitemyes} icon-duigou1`}),Un.createElement("span",{className:`${ta!=null&&ta.standard_boolean?ba.titleyes:ba.title} ${ba.indexTag}`},(ue==null?void 0:ue.question_type)===0?Xl[Or]:""),Un.createElement(Rt.Z,{className:ta!=null&&ta.standard_boolean?ba.titleyes:ba.title,value:ta==null?void 0:ta.choice_text}),(ta==null?void 0:ta.standard_boolean)&&Un.createElement("div",{className:ba.yestag},"\u6B63\u786E\u7B54\u6848")))),(ue==null?void 0:ue.question_type)===1&&Un.createElement("div",{className:ba.normalWrap},(it=ue==null?void 0:ue.question_choices)==null?void 0:it.map((ta,Or)=>Un.createElement("div",{className:ba.checkbox},!(ta!=null&&ta.standard_boolean)&&Un.createElement("span",{className:ba.checkboxitem}),(ta==null?void 0:ta.standard_boolean)&&Un.createElement("i",{className:`${ba.checkboxitemyes} icon-duigou1`}),Un.createElement("span",{className:`${ta!=null&&ta.standard_boolean?ba.titleyes:ba.title} ${ba.indexTag}`},Xl[Or]),Un.createElement(Rt.Z,{className:ta!=null&&ta.standard_boolean?ba.titleyes:ba.title,value:ta==null?void 0:ta.choice_text}),(ta==null?void 0:ta.standard_boolean)&&Un.createElement("div",{className:ba.yestag},"\u6B63\u786E\u7B54\u6848")))),(ue==null?void 0:ue.question_type)===3&&Un.createElement("div",{className:ba.completion},(vt=ue==null?void 0:ue.standard_answers)==null?void 0:vt.map((ta,Or)=>{var Ga;return Un.createElement(oa.Z,{align:"top"},Un.createElement("span",{className:ba.title},"\u586B\u7A7A\u9879",Or+1),Un.createElement("div",{className:ba.content},(Ga=ta.answer_text)==null?void 0:Ga.map((Wr,So)=>Un.createElement("div",{key:So,className:ba.items,style:(ta==null?void 0:ta.model)===2?{border:0,padding:0}:{}},(ta==null?void 0:ta.model)===1?Un.createElement("pre",{className:"mb0"},Wr):Un.createElement(_u.Z,{value:Wr,disabled:!0})))))})),(ue==null?void 0:ue.question_type)===4&&Un.createElement("div",{className:ba.simple},Un.createElement("div",{className:ba.title},"\u53C2\u8003\u7B54\u6848"),Un.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Mn=ue==null?void 0:ue.answer_texts)!=null&&Mn[0]?Un.createElement(Rt.Z,{className:ba.content,value:(vn=ue==null?void 0:ue.answer_texts)==null?void 0:vn[0]}):Un.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),Un.createElement("div",{className:"mt20 "},Un.createElement("span",{className:ba.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),Un.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},ue!=null&&ue.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))),(ue==null?void 0:ue.question_type)===5&&Un.createElement("div",{className:ba.shixunWrapper},(Ut=ue==null?void 0:ue.shixun)==null?void 0:Ut.map((ta,Or)=>{var Ga,Wr;return Un.createElement("div",null,Un.createElement("div",{key:Or,className:`${ba.shixun} mb30`},Un.createElement("span",{className:ba.score},"\uFF08",ta==null?void 0:ta.challenge_score,"\u5206\uFF09"),Un.createElement("span",{className:ba.qtitle},(ue==null?void 0:ue.index)+"."+(Or+1),"\u3001",ta==null?void 0:ta.challenge_name)),((Wr=(Ga=Ee==null?void 0:Ee.editData)==null?void 0:Ga.exercise)==null?void 0:Wr.show_challenge_task_pass)&&Un.createElement(Rt.Z,{className:ba.content,value:(ta==null?void 0:ta.task_pass)||"\u6682\u65E0\u5173\u5361\u63CF\u8FF0"}))})),(ue==null?void 0:ue.question_type)===6&&Un.createElement("div",{className:ba.program,style:{border:!((nn=(ft=Ee==null?void 0:Ee.editData)==null?void 0:ft.exercise)!=null&&nn.show_hack_sets)&&!((Ye=(Cn=Ee==null?void 0:Ee.editData)==null?void 0:Cn.exercise)!=null&&Ye.show_hack_description)&&"none"}},((pn=(wt=Ee==null?void 0:Ee.editData)==null?void 0:wt.exercise)==null?void 0:pn.show_hack_sets)&&Un.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},Un.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},Un.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),Un.createElement(cs.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(ta,Or,Ga)=>Ga+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(ta,Or,Ga)=>Un.createElement(ut.Z,{title:Un.createElement("pre",null,ta)},Un.createElement("div",{className:ba.divname},ta))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(ta,Or,Ga)=>Un.createElement(ut.Z,{title:Un.createElement("pre",null,ta)}," ",Un.createElement("div",{className:ba.divname},ta))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:ue==null?void 0:ue.hack_sets})),((xt=(bn=Ee==null?void 0:Ee.editData)==null?void 0:bn.exercise)==null?void 0:xt.show_hack_description)&&Un.createElement("div",null,Un.createElement(Rt.Z,{className:ba.content,value:(ue==null?void 0:ue.description)||"- -"}))),(ue==null?void 0:ue.question_type)===7&&((qt=ue==null?void 0:ue.sub_exercise_questions)==null?void 0:qt.map((ta,Or)=>{var Ga,Wr,So,xo,zo,Pa;return Un.createElement("div",{key:Or},Un.createElement("div",{className:ba.combination},Un.createElement("span",{className:ba.score},ta==null?void 0:ta.question_score,"\u5206"),Un.createElement("span",{className:ba.qtype},(Ga=gs.find(Fr=>Fr.type==ta.question_type))==null?void 0:Ga.name),Un.createElement("span",{className:ba.qtitle},Or+1,"\u3001",ta==null?void 0:ta.question_title)),(ta.question_type===0||ta.question_type===2)&&Un.createElement("div",{className:ba.warp,style:{padding:"30px 58px",paddingBottom:0}},Un.createElement("div",null,(Wr=ta==null?void 0:ta.question_choices)==null?void 0:Wr.map((Fr,Ei)=>Un.createElement("div",{className:ba.redio,key:Ei},!(Fr!=null&&Fr.standard_boolean)&&Un.createElement("span",{className:ba.redioitem}),(Fr==null?void 0:Fr.standard_boolean)&&Un.createElement("i",{className:`${ba.redioitemyes} icon-duigou1`}),ta.question_type===2&&Un.createElement("span",{className:`${Fr!=null&&Fr.standard_boolean?ba.titleyes:ba.title} ${ba.indexTag}`},Xl[Ei]),Un.createElement(Rt.Z,{className:Fr!=null&&Fr.standard_boolean?ba.titleyes:ba.title,value:Fr==null?void 0:Fr.choice_text}),(Fr==null?void 0:Fr.standard_boolean)&&Un.createElement("div",{className:ba.yestag},"\u6B63\u786E\u7B54\u6848"))))),ta.question_type===1&&Un.createElement("div",{className:ba.normalWrap},(So=ta==null?void 0:ta.question_choices)==null?void 0:So.map((Fr,Ei)=>Un.createElement("div",{className:ba.checkbox,key:Ei},!(Fr!=null&&Fr.standard_boolean)&&Un.createElement("span",{className:ba.checkboxitem}),(Fr==null?void 0:Fr.standard_boolean)&&Un.createElement("i",{className:`${ba.checkboxitemyes} icon-duigou1`}),Un.createElement("span",{className:`${Fr!=null&&Fr.standard_boolean?ba.titleyes:ba.title} ${ba.indexTag}`},Xl[Ei]),Un.createElement(Rt.Z,{className:Fr!=null&&Fr.standard_boolean?ba.titleyes:ba.title,value:Fr==null?void 0:Fr.choice_text}),(Fr==null?void 0:Fr.standard_boolean)&&Un.createElement("div",{className:ba.yestag},"\u6B63\u786E\u7B54\u6848")))),ta.question_type===3&&Un.createElement("div",{className:ba.completion},(xo=ta==null?void 0:ta.standard_answers)==null?void 0:xo.map((Fr,Ei)=>{var Xr;return Un.createElement(oa.Z,{align:"top"},Un.createElement("span",{className:ba.title},"\u586B\u7A7A\u9879",Ei+1),Un.createElement("div",{className:ba.content},(Xr=Fr.answer_text)==null?void 0:Xr.map((In,ei)=>Un.createElement("div",{key:ei,className:ba.items},Un.createElement("pre",{className:"mb0"},In)))))})),ta.question_type===4&&Un.createElement("div",{className:ba.simple},Un.createElement("div",{className:ba.title},"\u53C2\u8003\u7B54\u6848"),Un.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(zo=ta==null?void 0:ta.answer_texts)!=null&&zo[0]?Un.createElement(Rt.Z,{className:ba.content,value:(Pa=ta==null?void 0:ta.answer_texts)==null?void 0:Pa[0]}):Un.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),Un.createElement("div",{className:"mt20 "},Un.createElement("span",{className:ba.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),Un.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},ta!=null&&ta.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))))})),(ue==null?void 0:ue.question_type)===8&&Un.createElement("div",null,Un.createElement(Rt.Z,{disabledFill:!0,className:ba.content,showProgramFill:!0,value:Fu.Base64.decode(((Yt=ue==null?void 0:ue.program_attr)==null?void 0:Yt.code)||"")})),((ue==null?void 0:ue.question_type)<=4||[6,8].includes(ue==null?void 0:ue.question_type))&&Un.createElement("div",{className:ba.bottom},Un.createElement("div",{className:`${ba.bottomitem} mb30`},Un.createElement("span",{className:ba.left},"\u89E3\u6790"),Un.createElement("span",{className:ba.right},ue!=null&&ue.analysis?Un.createElement(Rt.Z,{value:ue==null?void 0:ue.analysis}):Un.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),Un.createElement("div",{className:`${ba.bottomitem} mb30`},Un.createElement("span",{className:ba.left},"\u96BE\u5EA6"),Un.createElement("span",{className:ba.right},(ue==null?void 0:ue.difficulty)===1?"\u7B80\u5355":(ue==null?void 0:ue.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),Un.createElement("div",{className:ba.bottomitem},Un.createElement("span",{className:ba.left},"\u77E5\u8BC6\u70B9"),Un.createElement(ut.Z,{title:((Kt=ue==null?void 0:ue.tag_discipline_names)==null?void 0:Kt.length)<=0||((Sa=ue==null?void 0:ue.tag_discipline_names)==null?void 0:Sa.length)==1&&["-"].includes(ue==null?void 0:ue.tag_discipline_names[0])?"\u6682\u672A\u8BBE\u7F6E~":(ga=(Nt=ue==null?void 0:ue.tag_discipline_names)==null?void 0:Nt.join("\uFF1B"))==null?void 0:ga.toString()},Un.createElement("span",{className:ba.right},((Cr=ue==null?void 0:ue.tag_discipline_names)==null?void 0:Cr.length)<=0?Un.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):((Er=ue==null?void 0:ue.tag_discipline_names)==null?void 0:Er.length)==1&&["-"].includes(ue==null?void 0:ue.tag_discipline_names[0])?Un.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):(Ao=($a=ue==null?void 0:ue.tag_discipline_names)==null?void 0:$a.join("\uFF1B"))==null?void 0:Ao.toString())))))},Ju=oe(55537),ql=oe(12796),si=oe(59301),Tu=Object.defineProperty,Xu=Object.defineProperties,fs=Object.getOwnPropertyDescriptors,ce=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,Ie=(ue,Ee,Pe)=>Ee in ue?Tu(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Oe=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))ge.call(Ee,Pe)&&Ie(ue,Pe,Ee[Pe]);if(ce)for(var Pe of ce(Ee))fe.call(Ee,Pe)&&Ie(ue,Pe,Ee[Pe]);return ue},dt=(ue,Ee)=>Xu(ue,fs(Ee)),rt=(ue,Ee,Pe)=>new Promise((it,vt)=>{var Mn=ft=>{try{Ut(Pe.next(ft))}catch(nn){vt(nn)}},vn=ft=>{try{Ut(Pe.throw(ft))}catch(nn){vt(nn)}},Ut=ft=>ft.done?it(ft.value):Promise.resolve(ft.value).then(Mn,vn);Ut((Pe=Pe.apply(ue,Ee)).next())}),Lt=({qitem:ue,setisedit:Ee,TagDiscipline:Pe,exerciseitem:it,seveeditor:vt,deleteitem:Mn,getTagData:vn,init:Ut,showTip:ft=!1})=>{var nn,Cn,Ye,wt;const[pn]=De.default.useForm(),{unified_ai_setting:bn,ai_review_settings:xt}=it==null?void 0:it.exercise,qt=bn?xt:((nn=ue==null?void 0:ue.ai_review_settings)==null?void 0:nn.length)>0?ue.ai_review_settings:xt;return(0,b.useEffect)(()=>{pn.setFieldsValue(dt(Oe({},ue),{name:ue.question_title,answer_texts:ue.answer_texts,repeat_answer:!ue.repeat_answer,ai_review_settings:qt}))},[ue]),si.createElement("div",null,si.createElement(De.default,{form:pn,colon:!1,onFinish:Yt=>{var Kt;(Kt=it==null?void 0:it.exercise)!=null&&Kt.is_open_ai_review&&!(0,Pt.BR)(Yt==null?void 0:Yt.ai_review_settings)||vt(dt(Oe(Oe({},ue),Yt),{answer_texts:Yt==null?void 0:Yt.answer_texts,question_title:Yt==null?void 0:Yt.name}))},onFinishFailed:Yt=>rt(void 0,null,function*(){var Kt,Sa;Ae.ZP.error(Yt.errorFields[0].errors[0]),pn.scrollToField((Sa=(Kt=Yt==null?void 0:Yt.errorFields)==null?void 0:Kt[0])==null?void 0:Sa.name,{behavior:"smooth",block:"center"})})},si.createElement("div",{style:{display:"flex",alignItems:"center"}},si.createElement("div",{style:{flex:1}},si.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),si.createElement("span",null,"\u7B80\u7B54\u9898")),((Cn=it==null?void 0:it.exercise)==null?void 0:Cn.exercise_status)==1&&!(ue!=null&&ue.isadd)&&si.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Mn()}},si.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),si.createElement(_e.ZP,{onClick:()=>{ue.isadd?(Ee(!1),Ut()):(pn.setFieldsValue(dt(Oe({},ue),{name:ue==null?void 0:ue.question_title,answer_texts:ue.answer_texts||[],repeat_answer:!(ue!=null&&ue.repeat_answer)})),Ee(!1))}},"\u53D6\u6D88"),si.createElement(ut.Z,{overlayClassName:nt.shake,open:ft,placement:"bottom",color:"rgba(244,156,14,0.19)",title:si.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},si.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")},si.createElement(_e.ZP,{type:"primary",className:"ml20",onClick:()=>{pn.submit()}},"\u4FDD\u5B58"))),si.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},si.createElement(De.default.Item,{className:nt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},si.createElement(Le.Z,{onBlur:Yt=>{Yt.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})),si.createElement(ql.W,{form:pn,showKeywords:!0,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"}),((Ye=it==null?void 0:it.exercise)==null?void 0:Ye.is_open_ai_review)&&!((wt=it==null?void 0:it.exercise)!=null&&wt.unified_ai_setting)&&si.createElement(dr,{form:pn,qitem:ue}),si.createElement(va,{getTagData:vn,qitem:ue,exerciseitem:it,TagDiscipline:Pe,form:pn}))))},Mt=oe(59301),Zn=(ue,Ee,Pe)=>new Promise((it,vt)=>{var Mn=ft=>{try{Ut(Pe.next(ft))}catch(nn){vt(nn)}},vn=ft=>{try{Ut(Pe.throw(ft))}catch(nn){vt(nn)}},Ut=ft=>ft.done?it(ft.value):Promise.resolve(ft.value).then(Mn,vn);Ut((Pe=Pe.apply(ue,Ee)).next())}),cn=({setScoreShow:ue,ScoreShow:Ee,exerciseitem:Pe,getdata:it})=>{var vt,Mn,vn;const[Ut,ft]=(0,b.useState)(!1);function nn(){return Zn(this,null,function*(){var Cn,Ye,wt;let pn=(Ye=(Cn=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:Cn.filter(xt=>xt.Singlequestion))==null?void 0:Ye.map(xt=>({question_type:xt.question_type,score:xt.Singlequestion})),bn=yield(0,te.ZP)(`/api/exercises/${(wt=Pe==null?void 0:Pe.exercise)==null?void 0:wt.id}/batch_set_score.json`,{method:"POST",body:{question_arr:pn}});(bn==null?void 0:bn.status)===0&&it()})}return Mt.createElement("div",null,Ee&&Mt.createElement(Je.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,Ye,wt;if(Pe!=null&&Pe.use_blank_score&&((wt=(Ye=(Cn=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:Cn.filter(pn=>pn.name==="\u586B\u7A7A\u9898"))==null?void 0:Ye[0])!=null&&wt.Singlequestion)){ft(!0);return}nn(),ue(!1)}},Mt.createElement("div",{className:"c-black"},"\u603B\u5206",Mt.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))),Mt.createElement("div",{className:nt.content},Mt.createElement("span",null,"\u9898\u578B\u540D\u79F0"),Mt.createElement("span",null,"\u5C0F\u9898\u603B\u6570"),Mt.createElement("span",null,"\u9898\u578B\u603B\u5206"),Mt.createElement("span",null,"\u64CD\u4F5C")),(vn=(Mn=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:Mn.filter(Cn=>Cn.name!=="\u5B9E\u8BAD\u9898"&&Cn.name!=="\u7EC4\u5408\u9898"))==null?void 0:vn.map(Cn=>{var Ye;return Mt.createElement("div",{className:nt.items},Mt.createElement("span",null,Cn==null?void 0:Cn.name),Mt.createElement("span",null,(Ye=Cn==null?void 0:Cn.items)==null?void 0:Ye.length),Mt.createElement("span",null,Cn==null?void 0:Cn.score),Mt.createElement("span",null,"\u6BCF\u9898",Mt.createElement(Le.Z,{max:100,precision:1,min:.1,onChange:wt=>{Cn.Singlequestion=wt},style:{width:90,height:38,margin:"0px 10px",display:"flex",alignItems:"center"}}),"\u5206"))})),Mt.createElement(Je.default,{title:!1,footer:!1,centered:!0,zIndex:20,open:Ut,width:640,closable:!1,className:nt.scoremodal},Mt.createElement("div",{style:{marginTop:40}},"\u586B\u7A7A\u9898\u4E2D\u5B58\u5728",Mt.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"),Mt.createElement("div",{className:nt.bottom},Mt.createElement(_e.ZP,{className:nt.no,onClick:()=>{ft(!1)}},"\u53D6\u6D88"),Mt.createElement(_e.ZP,{className:nt.yes,onClick:()=>{nn(),ft(!1),ue(!1)}},"\u786E\u8BA4"))))},wn=oe(99313),Ln=oe(98228),Dt=oe(58421),Vt={flex_box_center:"flex_box_center___aDsO9",flex_space_between:"flex_space_between___5V4Xk",flex_box_vertical_center:"flex_box_vertical_center___rNdEP",flex_box_center_end:"flex_box_center_end___cKjnr",flex_box_column:"flex_box_column___glFYD",scoremodal:"scoremodal___PfqOf",selectWrapper:"selectWrapper___Mtqcz",selectWrappers:"selectWrappers___uX2K9",allqingchu:"allqingchu___IqL8g",title:"title___UgYfD",score:"score___LjJmD",close:"close___I0jAO",content:"content___4u86F",items:"items___mK2L5",bottom:"bottom___vQTEm",yes:"yes___j81JQ",no:"no___kiUH4",titlecount:"titlecount___lliQr",add:"add___QhDj8",search:"search___QCCaL",searchIcon:"searchIcon___oXRH5",tabWrap:"tabWrap___Cu_4D",previewModal:"previewModal___BVDlS"},Nn=oe(12353),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 ua=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"];var Ra=({qitem:ue})=>{var Ee,Pe,it,vt,Mn,vn,Ut,ft,nn,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(Rt.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(Rt.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((Ye,wt)=>b.createElement("div",{className:ln.redio},!(Ye!=null&&Ye.is_answer)&&b.createElement("span",{className:ln.redioitem}),(Ye==null?void 0:Ye.is_answer)&&b.createElement("i",{className:`${ln.redioitemyes} icon-duigou1`}),b.createElement(Rt.Z,{className:Ye!=null&&Ye.is_answer?ln.titleyes:ln.title,value:ua[wt]+(Ye==null?void 0:Ye.choice_text)}),(Ye==null?void 0:Ye.is_answer)&&b.createElement("div",{className:ln.yestag},"\u6B63\u786E\u7B54\u6848")))),(ue==null?void 0:ue.question_type)===1&&b.createElement("div",null,(it=ue==null?void 0:ue.choices)==null?void 0:it.map((Ye,wt)=>b.createElement("div",{className:ln.checkbox},!(Ye!=null&&Ye.is_answer)&&b.createElement("span",{className:ln.checkboxitem}),(Ye==null?void 0:Ye.is_answer)&&b.createElement("i",{className:`${ln.checkboxitemyes} icon-duigou1`}),b.createElement(Rt.Z,{className:Ye!=null&&Ye.is_answer?ln.titleyes:ln.title,value:ua[wt]+(Ye==null?void 0:Ye.choice_text)}),(Ye==null?void 0:Ye.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((Ye,wt)=>{var pn;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:ln.title},"\u586B\u7A7A\u9879",wt+1),b.createElement("div",{className:ln.content},(pn=Ye==null?void 0:Ye.answer_text)==null?void 0:pn.map((bn,xt)=>b.createElement("div",{className:ln.items},bn))))})),(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"}},(Mn=ue==null?void 0:ue.answer_texts)!=null&&Mn[0]?b.createElement(Rt.Z,{className:ln.content,value:(vn=ue==null?void 0:ue.answer_texts)==null?void 0:vn[0]}):b.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(ue==null?void 0:ue.question_type)===5&&((Ut=ue==null?void 0:ue.challenge_names)==null?void 0:Ut.map((Ye,wt)=>b.createElement("div",{className:ln.shixun},b.createElement("span",{className:ln.qtitle},b.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,Pt.EM)(wt+1),"\u9898"),Ye)))),(ue==null?void 0:ue.question_type)===6&&b.createElement("div",{className:ln.simple},b.createElement(Rt.Z,{className:ln.content,value:((ft=ue==null?void 0:ue.program_attr)==null?void 0:ft.description)||"- -"})),(ue==null?void 0:ue.question_type)===7&&((nn=ue==null?void 0:ue.sub_item_banks)==null?void 0:nn.map((Ye,wt)=>{var pn,bn,xt,qt,Yt;return b.createElement("div",null,b.createElement("div",{className:ln.combination},b.createElement("span",{className:ln.qtitle},Ye==null?void 0:Ye.name)),b.createElement("div",{className:ln.warp,style:{padding:"0px",paddingTop:20}},b.createElement("div",null,((Ye==null?void 0:Ye.item_type)=="SINGLE"||(Ye==null?void 0:Ye.item_type)=="JUDGMENT")&&((pn=Ye==null?void 0:Ye.choices)==null?void 0:pn.map((Kt,Sa)=>b.createElement("div",{className:ln.redio},!(Kt!=null&&Kt.is_answer)&&b.createElement("span",{className:ln.redioitem}),(Kt==null?void 0:Kt.is_answer)&&b.createElement("i",{className:`${ln.redioitemyes} icon-duigou1`}),b.createElement(Rt.Z,{className:Kt!=null&&Kt.is_answer?ln.titleyes:ln.title,value:ua[Sa]+(Kt==null?void 0:Kt.choice_text)}),(Kt==null?void 0:Kt.is_answer)&&b.createElement("div",{className:ln.yestag},"\u6B63\u786E\u7B54\u6848")))),(Ye==null?void 0:Ye.item_type)=="MULTIPLE"&&((bn=Ye==null?void 0:Ye.choices)==null?void 0:bn.map((Kt,Sa)=>b.createElement("div",{className:ln.checkbox},!(Kt!=null&&Kt.is_answer)&&b.createElement("span",{className:ln.checkboxitem}),(Kt==null?void 0:Kt.is_answer)&&b.createElement("i",{className:`${ln.checkboxitemyes} icon-duigou1`}),b.createElement(Rt.Z,{className:Kt!=null&&Kt.is_answer?ln.titleyes:ln.title,value:ua[Sa]+(Kt==null?void 0:Kt.choice_text)}),(Kt==null?void 0:Kt.is_answer)&&b.createElement("div",{className:ln.yestag},"\u6B63\u786E\u7B54\u6848")))),(Ye==null?void 0:Ye.item_type)=="COMPLETION"&&b.createElement("div",{className:ln.completion},(xt=Ye==null?void 0:Ye.standard_answer)==null?void 0:xt.map((Kt,Sa)=>{var Nt;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:ln.title},"\u586B\u7A7A\u9879",Sa+1),b.createElement("div",{className:ln.content},(Nt=Kt==null?void 0:Kt.answer_text)==null?void 0:Nt.map((ga,Cr)=>b.createElement("div",{className:ln.items},ga))))})),(Ye==null?void 0:Ye.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"}},(qt=Ye==null?void 0:Ye.answer_texts)!=null&&qt[0]?b.createElement(Rt.Z,{className:ln.content,value:(Yt=Ye==null?void 0:Ye.answer_texts)==null?void 0:Yt[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(Rt.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(Rt.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=oe(94890),ca=oe(79751),Rr=oe(56636),sr=oe(50838),Lr=oe(88387),eo=oe(67702),lo=oe(84698),On=oe(59301),Qo=Object.defineProperty,fo=Object.defineProperties,Yr=Object.getOwnPropertyDescriptors,to=Object.getOwnPropertySymbols,Po=Object.prototype.hasOwnProperty,Bo=Object.prototype.propertyIsEnumerable,co=(ue,Ee,Pe)=>Ee in ue?Qo(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Sr=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Po.call(Ee,Pe)&&co(ue,Pe,Ee[Pe]);if(to)for(var Pe of to(Ee))Bo.call(Ee,Pe)&&co(ue,Pe,Ee[Pe]);return ue},Ro=(ue,Ee)=>fo(ue,Yr(Ee)),No=(ue,Ee,Pe)=>new Promise((it,vt)=>{var Mn=ft=>{try{Ut(Pe.next(ft))}catch(nn){vt(nn)}},vn=ft=>{try{Ut(Pe.throw(ft))}catch(nn){vt(nn)}},Ut=ft=>ft.done?it(ft.value):Promise.resolve(ft.value).then(Mn,vn);Ut((Pe=Pe.apply(ue,Ee)).next())});const Fi=({setScoreShow:ue,ScoreShow:Ee,onOk:Pe,isshixuns:it,isloadings:vt,dispatch:Mn,shixunsDetail:vn,exercise:Ut})=>{var ft,nn,Cn;let[Ye,wt]=(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:[]}),[pn,bn]=(0,b.useState)([]),[xt,qt]=(0,b.useState)([]),[Yt,Kt]=(0,b.useState)([]),[Sa,Nt]=(0,b.useState)([]);const[ga,Cr]=(0,b.useState)(!1),[Er]=De.default.useForm(),[$a,Ao]=(0,b.useState)(),[ta,Or]=(0,b.useState)(!1);let[Ga,Wr]=(0,b.useState)(it);const[So,xo]=(0,b.useState)([]),[zo,Pa]=(0,b.useState)(!0),[Fr,Ei]=(0,b.useState)([]),[Xr,In]=(0,b.useState)(0),[ei,zi]=(0,b.useState)([]),di=[{name:"\u5168\u90E8",value:"",question_type:0},{name:"\u5355\u9009\u9898",value:"SINGLE",question_type:0},{name:"\u591A\u9009\u9898",value:"MULTIPLE",question_type:1},{name:"\u5224\u65AD\u9898",value:"JUDGMENT",question_type:2},{name:"\u586B\u7A7A\u9898",value:"COMPLETION",question_type:3},{name:"\u7B80\u7B54\u9898",value:"SUBJECTIVE",question_type:4},{name:"\u5B9E\u8BAD\u9898",value:"SHIXUN",question_type:5},{name:"\u7F16\u7A0B\u9898",value:"PROGRAM",question_type:6},{name:"\u7EC4\u5408\u9898",value:"COMBINATION",question_type:7},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",value:"BPROGRAM",question_type:8}],[Bi,rl]=(0,b.useState)({});(0,b.useEffect)(()=>{var en,Hn,Gr,rr,yr,ro,Go,To,Qi,Pi;(((Gr=(Hn=(en=Ut==null?void 0:Ut.editData)==null?void 0:en.exercise)==null?void 0:Hn.exist_item_bank_ids)==null?void 0:Gr.length)>0||((ro=(yr=(rr=Ut==null?void 0:Ut.editData)==null?void 0:rr.exercise)==null?void 0:yr.exist_item_bank_shixun_ids)==null?void 0:ro.length)>0)&&zi([...(To=(Go=Ut==null?void 0:Ut.editData)==null?void 0:Go.exercise)==null?void 0:To.exist_item_bank_ids,...(Pi=(Qi=Ut==null?void 0:Ut.editData)==null?void 0:Qi.exercise)==null?void 0:Pi.exist_item_bank_shixun_ids])},[(nn=(ft=Ut==null?void 0:Ut.editData)==null?void 0:ft.exercise)==null?void 0:nn.exist_item_bank_ids]);const ri=(0,b.useRef)(new Set),Sl=(0,b.useRef)(new Set);let[Vi,Xi]=(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 _o=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],ci=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],ol=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[_l,Nr]=(0,b.useState)(!1),Io=()=>{Er.resetFields(),Ga=!1,Wr(!1),Nr(!1),Er.submit()};(0,b.useEffect)(()=>{Xr>0&&setTimeout(()=>{In(0)},2e3)},[Xr]),(0,b.useEffect)(()=>{Ee&&(Er.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null}),zo&&Ga&&(Er.setFieldsValue({item_type:"SHIXUN"}),Ye.item_type="SHIXUN",wt(Sr({},Ye)),Pa(!1)),ti(Ye),Wi(),Vo({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}))},[Ee]);function ti(en){return No(this,null,function*(){var Hn,Gr,rr;if(Cr(!0),wt(en),(Yt==null?void 0:Yt.length)<=0&&en.type==="5"){Nt([]),Cr(!1);return}let yr=en.type==="5"?Yt==null?void 0:Yt.filter(To=>!So.includes(To)):null,ro=en.type==="5"?Yt==null?void 0:Yt.filter(To=>So.includes(To)):null;en.group_id=((Hn=en.group_id)==null?void 0:Hn.map(To=>To==null?void 0:To.value))||null;let Go=yield(0,te.ZP)("/api/item_banks.json",{method:"get",params:Ro(Sr({},en),{discipline_id:((Gr=en==null?void 0:en.courseid)==null?void 0:Gr[0])||null,sub_discipline_id:((rr=en==null?void 0:en.courseid)==null?void 0:rr[1])||null,ids:yr,shixun_ids:ro,keyword:en.keyword?encodeURIComponent(en.keyword):en.keyword,include_shixuns:!0,type:en.type==="5"?null:en.type,clazz:en.type==="3"?"ItemBanksGroup":null})});Nt(Go),Cr(!1)})}function Vo(en){return No(this,null,function*(){var Hn;let Gr=yield(0,te.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:en}),rr=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(Hn=Gr==null?void 0:Gr.data)==null?void 0:Hn.map(yr=>({title:yr.name,id:yr.id,pid:yr.id,value:yr.id,key:yr.id,isLeaf:!yr.have_child}))}];Ei(rr)})}function Wi(){return No(this,null,function*(){let en=yield(0,te.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:Ye.type==="5"?null:Ye.type,clazz:"ItemBanksGroup"}});bn((0,Nn.L)(en==null?void 0:en.disciplines))})}function Ui(en){return No(this,null,function*(){var Hn,Gr,rr,yr;Cr(!0);let ro=(Hn=en.list)==null?void 0:Hn.filter(Qi=>!So.includes(Qi)),Go=(Gr=en.list)==null?void 0:Gr.filter(Qi=>So.includes(Qi));if(ro.length===0&&Go.length===0){Cr(!1),Nt([]);return}let To=yield(0,te.ZP)("/api/item_banks.json",{method:"get",params:Ro(Sr({},en),{discipline_id:((rr=en==null?void 0:en.courseid)==null?void 0:rr[0])||null,sub_discipline_id:((yr=en==null?void 0:en.courseid)==null?void 0:yr[1])||null,ids:ro,shixun_ids:Go,type:en.type==="5"?null:en.type,clazz:en.type==="3"?"ItemBanksGroup":null})});Cr(!1),Nt(To)})}const Ai=(0,he.useParams)(),[Tl,wl,El,vi]=(0,Rr.P)(),Zl=en=>No(void 0,null,function*(){const Hn=yield Mn({type:"shixunsDetail/release",payload:{id:en}});let Gr=Hn==null?void 0:Hn.tag_position,rr=(Hn==null?void 0:Hn.evaluation_set_position)||[],yr=Hn.status;return yr===0?(Ae.ZP.success("\u53D1\u5E03\u6210\u529F"),ti(Ye),!0):(yr===2?Ae.ZP.error(`\u7B2C${rr.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):yr===3?Ae.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${Gr.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)}),ao=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,Hn,Gr)=>en.map(rr=>rr.key===Hn?Sr(Sr({},rr),Gr):rr.children?Ro(Sr({},rr),{children:nu(rr.children,Hn,Gr)}):rr),bu=en=>No(void 0,null,function*(){const{key:Hn}=en;let Gr=Ye.type;const rr=yield(0,Lr.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(Hn),type:Gr}),{data:yr,total_count:ro}=rr||{};ro>0&&Ei(Go=>nu(Go,Hn,{children:yr.map(To=>({title:To.name,id:To.id,pid:To.id,value:To.id,key:To.id,isLeaf:!To.have_child}))}))});function Vl(en){console.log("----",Ye),en==="1"&&(Vi.gg=Sr({},Ye)),en==="2"&&(Vi.scj=Sr({},Ye)),en==="3"&&(Vi.ttgx=Sr({},Ye)),en==="0"&&(Vi.wcjd=Sr({},Ye)),en==="5"&&(Vi.yx=Sr({},Ye)),Xi(Sr({},Vi))}function mu(){Ye.type==="1"&&(Ye=Vi.gg),Ye.type==="2"&&(Ye=Vi.scj),Ye.type==="3"&&(Ye=Vi.ttgx),Ye.type==="0"&&(Ye=Vi.wcjd),Ye.type==="5"&&(Ye=Vi.yx),(Ye==null?void 0:Ye.item_type)==="SHIXUN"?(Ga=!0,Wr(!0)):(Ga=!1,Wr(!1)),Er.setFieldsValue(Sr({},Ye)),wt(Sr({},Ye)),ti(Sr({},Ye))}return On.createElement("div",null,On.createElement(Je.default,{title:!1,footer:!1,open:Ee,width:1200,centered:!0,className:Vt.scoremodal,onCancel:()=>{ue(!1)}},On.createElement("div",{style:{display:"flex",alignItems:"center"}},On.createElement("div",{className:Vt.title},"\u9898\u5E93\u9009\u9898")),On.createElement(wn.default,{className:Vt.tabWrap,activeKey:Ye.type,onChange:en=>{en==="3"?(Ye.show_all_share=!0,Vo({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):Ye.show_all_share=null,en==="0"&&Vo({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),Vl(Ye.type),Ye.type=en,(Ye==null?void 0:Ye.item_type)==="SHIXUN"&&Ye.type!=="5"&&(Ga=!0,Wr(!0)),Nr(!1),Ye.type==="5"&&(Ga=!1,Wr(!1)),mu(),Wi()},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:On.createElement("div",null,"\u5DF2\u9009",Yt.length>0&&On.createElement("span",{className:Vt.titlecount},Yt.length),Xr>0&&On.createElement("span",{className:Vt.add},"+",Xr)),key:"5"}]}),On.createElement(De.default,{layout:"inline",form:Er,onValuesChange:(en,Hn)=>{var Gr,rr;const yr=Object.values(Hn).some(Go=>Go!==null&&Go!==""&&Go!==void 0),ro=Hn.keyword==="";if(Nr(yr||!ro),Ye.page=1,Ye.keyword=(rr=(Gr=Ye.keyword)==null?void 0:Gr.replace)==null?void 0:rr.call(Gr,/^\s+|\s+$/g,""),(Hn==null?void 0:Hn.item_type)==="SHIXUN"){if(Ye.type==="5"?Wr(!1):Wr(!0),en.keyword||en.keyword==="")return;Er.submit()}else{if(en!=null&&en.courseid&&Er.setFieldsValue({tag_discipline_id:""}),Wr(!1),en.keyword||en.keyword==="")return;Er.submit()}},onFinish:en=>{var Hn;Ye.type==="3"&&(!en.group_id||((Hn=en==null?void 0:en.group_id)==null?void 0:Hn.length)===0)?Ye.show_all_share=!0:Ye.show_all_share=null,wt(Sr(Sr({},Ye),en)),ti(Sr(Sr({},Ye),en))}},On.createElement(De.default.Item,{name:"item_type"},On.createElement(Se.default,{className:Vt.selectWrapper,placeholder:"\u9898\u578B",style:{width:110},size:"middle",allowClear:!0},di.map(en=>On.createElement(Se.default.Option,{key:en.value},en.name)))),On.createElement(De.default.Item,{name:"courseid"},On.createElement(xe.Z,{className:Vt.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:pn})),!Ga&&On.createElement(De.default.Item,{name:"tag_discipline_id"},On.createElement(Se.default,{className:Vt.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(Cn=Sa==null?void 0:Sa.tag_disciplines)==null?void 0:Cn.map(en=>On.createElement(Se.default.Option,{key:en.id},en.name)))),On.createElement(De.default.Item,{name:Ga?"diff":"difficulty"},On.createElement(Se.default,{className:Vt.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!Ga&&_o.map(en=>On.createElement(Se.default.Option,{key:en.value},en.name)),Ga&&ci.map(en=>On.createElement(Se.default.Option,{key:en.value},en.name)))),Ga&&On.createElement(De.default.Item,{name:"shixun_publish_status"},On.createElement(Se.default,{className:Vt.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},ol.map(en=>On.createElement(Se.default.Option,{key:en.value},en.name)))),(Ye.type==="3"||Ye.type==="0")&&!Ga&&On.createElement(De.default.Item,{name:"group_id"},On.createElement(Ln.default,{treeDataSimpleMode:!0,style:{width:118},className:Vt.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(en,Hn)=>Hn.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:Fr})),_l&&On.createElement("span",{className:Vt.allqingchu,onClick:Io},On.createElement("i",{className:"iconfont icon-guanbi4"}),On.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),On.createElement(De.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},On.createElement(ze.default.Search,{className:Vt.search,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:On.createElement("i",{className:`iconfont icon-sousuo9 font14 ${Vt.searchIcon}`,onClick:()=>Er.submit()}),onSearch:en=>{Er.submit()}}))),On.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},On.createElement("div",{onClick:()=>{Ye.updated_at==="asc"?Ye.updated_at="desc":Ye.updated_at="asc",wt(Ro(Sr({},Ye),{page:1})),ti(Ro(Sr({},Ye),{page:1}))}}," ",Ye.updated_at?On.createElement("img",{src:Ye.updated_at==="asc"?Ba.Z:ca.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):On.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),On.createElement("div",{onClick:()=>{Ye.quotes==="asc"?Ye.quotes="desc":Ye.quotes="asc",wt(Ro(Sr({},Ye),{page:1})),ti(Ro(Sr({},Ye),{page:1}))},style:{marginLeft:20}}," ",Ye.quotes?On.createElement("img",{src:Ye.quotes==="asc"?Ba.Z:ca.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):On.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),On.createElement(cs.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(Sa==null?void 0:Sa.items)||(Sa==null?void 0:Sa.shixun_list),pagination:!1,loading:ga,rowKey:en=>en.id,rowSelection:{type:"checkbox",selectedRowKeys:[...xt,...ei],getCheckboxProps:en=>({disabled:en.shixun_tag_num===1||(ei==null?void 0:ei.find(Hn=>en.id===Hn))}),onSelect(en,Hn,Gr){if(Hn)Ga&&xo([...So,en.id]),qt([...xt,en.id]),en.identifier?ri.current.add(en.id):Sl.current.add(en.id),In(1),Kt([...Yt,en.id]);else{en.identifier?ri.current.delete(en.id):Sl.current.delete(en.id);let rr=Yt.filter(yr=>yr!==en.id);if(qt(rr),Kt(rr),Ga){let yr=So.filter(ro=>ro!==en.id);xo([...yr])}if(Ye.type==="5"){Ui(Ro(Sr({},Ye),{list:[...rr]}));return}}},onSelectAll(en,Hn,Gr){if(en){const rr=Gr.map(yr=>yr.id);Ga&&xo([...So,...rr]),qt([...xt,...rr]),Kt([...Yt,...rr]);for(const yr of Gr)yr.identifier?ri.current.add(yr.id):Sl.current.add(yr.id)}else{const rr=Gr.map(ro=>ro.id),yr=xt.filter(ro=>!rr.some(Go=>Go===ro));if(qt([...yr]),Kt([...yr]),Ga){let ro=So.filter(Go=>!rr.some(To=>To===Go.id));xo([...ro])}Ye.type==="5"&&Ui(Ro(Sr({},Ye),{list:[...yr]}));for(const ro of rr)ro.identifier?ri.current.delete(ro):Sl.current.delete(ro)}}},columns:[{title:"\u9898\u578B",dataIndex:"item_type",key:"item_type",render:(en,Hn,Gr)=>{var rr,yr;return On.createElement(ut.Z,{title:ao(Hn)},On.createElement("div",null,Ga||Hn!=null&&Hn.challenge_names?"\u5B9E\u8BAD\u9898":(yr=(rr=di==null?void 0:di.filter(ro=>ro.value===en))==null?void 0:rr[0])==null?void 0:yr.name))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:Ga?"30%":"60%",key:"name",render:(en,Hn,Gr)=>{var rr;return On.createElement("div",{style:{display:"flex",alignItems:"center"}},On.createElement(ut.Z,{title:ao(Hn)},On.createElement("span",null,On.createElement(Rt.Z,{key:1,showLines:1,showTextOnly:!0,value:Ga||Hn!=null&&Hn.challenge_names?Hn!=null&&Hn.title||en===null?"--":en:(Hn==null?void 0:Hn.item_type)=="BPROGRAM"?(rr=Hn==null?void 0:Hn.program_attr)==null?void 0:rr.description:en}))),(Hn==null?void 0:Hn.high_resources_consume)&&On.createElement(sr.Z,{type:"shixun",style:{marginLeft:10}}))}},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!Ga,render:(en,Hn,Gr)=>{var rr;return On.createElement(ut.Z,{title:ao(Hn)},On.createElement("span",null,en?(rr=en==null?void 0:en.split("\u3001"))==null?void 0:rr[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!Ga,render:(en,Hn,Gr)=>On.createElement(ut.Z,{title:ao(Hn)},On.createElement("span",null,en||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",render:(en,Hn,Gr)=>{var rr,yr,ro,Go;return On.createElement(ut.Z,{title:ao(Hn)},On.createElement("div",null,Ga||Hn!=null&&Hn.challenge_names?(Hn==null?void 0:Hn.level)||((yr=(rr=_o==null?void 0:_o.filter(To=>To.value===en))==null?void 0:rr[0])==null?void 0:yr.name):(Go=(ro=_o==null?void 0:_o.filter(To=>To.value===en))==null?void 0:ro[0])==null?void 0:Go.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Ga,render:(en,Hn,Gr)=>On.createElement(ut.Z,{title:ao(Hn)},On.createElement("div",null,en||"- -"))},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Ga,render:(en,Hn,Gr)=>On.createElement("span",null,en||"- -")},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",render:(en,Hn,Gr)=>On.createElement(ut.Z,{title:ao(Hn)},On.createElement("div",null,Ga||Hn!=null&&Hn.challenge_names?(Hn==null?void 0:Hn.study_count)||(Hn==null?void 0:Hn.stu_num):en))},{title:On.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",On.createElement(ut.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},On.createElement(En.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Ga,render:(en,Hn,Gr)=>On.createElement(ut.Z,{title:ao(Hn)},On.createElement("div",null,en||"- -"))},{title:On.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",On.createElement(ut.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},On.createElement(En.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Ga,render:(en,Hn,Gr)=>On.createElement("span",null,en||"- -")},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",render:(en,Hn,Gr)=>On.createElement(ut.Z,{title:ao(Hn)},On.createElement("div",{style:{flex:1,textAlign:"start"}},On.createElement("a",{onClick:()=>{var rr,yr;Ao(Ro(Sr({},Hn),{question_type:Ga||Hn!=null&&Hn.challenge_names?5:(yr=(rr=di==null?void 0:di.filter(ro=>ro.value===(Hn==null?void 0:Hn.item_type)))==null?void 0:rr[0])==null?void 0:yr.question_type})),Or(!0)}},"\u67E5\u770B"),(Hn==null?void 0:Hn.shixun_tag_num)===1&&On.createElement("a",{style:{marginLeft:10},onClick:()=>{Je.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:On.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",On.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${Hn==null?void 0:Hn.identifier}/challenges`)}},(Hn==null?void 0:Hn.shixun_name)||"--"),"\uFF1F"),onOk:()=>No(void 0,null,function*(){if(!Zl(Hn==null?void 0:Hn.identifier))return new Promise((rr,yr)=>{yr()})})})}},"\u53D1\u5E03")))}].filter(en=>!en.hidden)}),On.createElement(Dt.Z,{current:Ye.page,total:(Sa==null?void 0:Sa.items_count)||(Sa==null?void 0:Sa.shixuns_count),style:{marginBottom:20},defaultPageSize:Ye.per_page,showTotal:en=>On.createElement("span",null,"\u5171\xA0",On.createElement("span",{style:{color:"#165DFF"}},en),"\xA0\u6761\u6570\u636E"),pageSize:Ye.per_page,onChange:(en,Hn)=>{Ye.page=en,Ye.per_page=Hn,wt(Sr({},Ye)),ti(Sr({},Ye))}}),On.createElement("div",{className:Vt.bottom},On.createElement(_e.ZP,{className:Vt.no,onClick:()=>{ue(!1)}},"\u53D6\u6D88"),On.createElement(_e.ZP,{loading:vt,style:{width:vt&&75},className:Vt.yes,onClick:()=>No(void 0,null,function*(){if((Yt==null?void 0:Yt.length)<=0){Ae.ZP.info("\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}let en=yield(0,lo.Tr)({id:[...Yt==null?void 0:Yt.filter(Hn=>So.includes(Hn))],course_id:Ai.coursesId,type:"shixun"});(en==null?void 0:en.student_count)===0?Pe([...Sl.current],[...Yt==null?void 0:Yt.filter(Hn=>So.includes(Hn))],!0,Yt==null?void 0:Yt.length):rl(en)})},"\u786E\u8BA4"))),On.createElement(Je.default,{open:ta,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:Vt.previewModal,width:1e3,centered:!0,onCancel:()=>{Or(!1)},onOk:()=>{Or(!1)}},On.createElement(Ra,{qitem:$a})),On.createElement(eo.Z,{resdata:Bi,type:"exercise",okloading:vt,oktext:(Bi==null?void 0:Bi.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:en=>No(void 0,null,function*(){const Hn=[],Gr=[];for(const rr of Bi==null?void 0:Bi.can_copy_list)Hn.push(rr.id);wl(),yield Pe([...Sl.current],[...ri.current].filter(rr=>!Gr.includes(rr)),!0,Yt==null?void 0:Yt.length,Hn)})}))};var Jo=(0,he.connect)(({shixunsDetail:ue,exercise:Ee})=>({shixunsDetail:ue,exercise:Ee}))(Fi),bi=oe(44931),Kr=oe(59301),li=Object.defineProperty,hi=Object.defineProperties,Oi=Object.getOwnPropertyDescriptors,gi=Object.getOwnPropertySymbols,Ki=Object.prototype.hasOwnProperty,cl=Object.prototype.propertyIsEnumerable,Vr=(ue,Ee,Pe)=>Ee in ue?li(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,po=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Ki.call(Ee,Pe)&&Vr(ue,Pe,Ee[Pe]);if(gi)for(var Pe of gi(Ee))cl.call(Ee,Pe)&&Vr(ue,Pe,Ee[Pe]);return ue},yo=(ue,Ee)=>hi(ue,Oi(Ee)),mi=(ue,Ee,Pe)=>new Promise((it,vt)=>{var Mn=ft=>{try{Ut(Pe.next(ft))}catch(nn){vt(nn)}},vn=ft=>{try{Ut(Pe.throw(ft))}catch(nn){vt(nn)}},Ut=ft=>ft.done?it(ft.value):Promise.resolve(ft.value).then(Mn,vn);Ut((Pe=Pe.apply(ue,Ee)).next())}),$o=({qitem:ue,TagDiscipline:Ee,exerciseitem:Pe,setisedit:it,seveeditor:vt,deleteitem:Mn,getTagData:vn,init:Ut,showTip:ft=!1})=>{var nn;const[Cn]=De.default.useForm(),Ye=!0;return(0,b.useEffect)(()=>{var wt,pn,bn;Cn.setFieldsValue(yo(po({},ue),{standard_answers:ue.standard_answer,difficulty:(ue==null?void 0:ue.difficult)||2,item_banks_group_id:ue.item_banks_group_id,hack:yo(po({},ue),{time_limit:(ue==null?void 0:ue.time_limit)||3}),hack_codes:{language:(wt=ue==null?void 0:ue.program_attr)==null?void 0:wt.language,code:Fu.Base64.decode(((pn=ue==null?void 0:ue.program_attr)==null?void 0:pn.code)||"")},hack_sets:po({},(bn=ue==null?void 0:ue.hack_sets)==null?void 0:bn[0]),repeat_answer:!ue.repeat_answer}))},[ue]),Kr.createElement("div",null,Kr.createElement(De.default,{form:Cn,colon:!1,onValuesChange:(wt,pn)=>{var bn,xt,qt,Yt;if(wt!=null&&wt.standard_answers){let Kt=((bn=Cn.getFieldValue("standard_answers"))==null?void 0:bn.length)>0&&((qt=(xt=Cn.getFieldValue("standard_answers"))==null?void 0:xt.map(Sa=>Sa.score))==null?void 0:qt.filter(Sa=>Sa));(Kt==null?void 0:Kt.length)>0&&Cn.setFieldsValue({question_score:(Kt==null?void 0:Kt.length)>0&&((Yt=Kt.reduce((Sa,Nt)=>Sa+Nt))==null?void 0:Yt.toFixed(1))})}},onFinish:wt=>{var pn;vt(yo(po(po({},ue),wt),{item_type:ue==null?void 0:ue.question_type,standard_answers:(pn=wt.standard_answers)==null?void 0:pn.map((bn,xt)=>yo(po({},bn),{position:xt+1})),hack_codes:yo(po({},wt.hack_codes),{code:Fu.Base64.encode(wt.hack_codes.code)}),standard_answer:void 0}))},onFinishFailed:wt=>mi(void 0,null,function*(){var pn,bn;Ae.ZP.error(wt.errorFields[0].errors[0]),Cn.scrollToField((bn=(pn=wt==null?void 0:wt.errorFields)==null?void 0:pn[0])==null?void 0:bn.name,{behavior:"smooth",block:"center"})})},Kr.createElement("div",{style:{display:"flex",alignItems:"center"}},Kr.createElement("div",{style:{flex:1}},Kr.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Kr.createElement("span",null,"\u7A0B\u5E8F\u586B\u7A7A\u9898")),((nn=Pe==null?void 0:Pe.exercise)==null?void 0:nn.exercise_status)==1&&!(ue!=null&&ue.isadd)&&Kr.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Mn()}},Kr.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}})," \u5220\u9664"),Kr.createElement(_e.ZP,{onClick:()=>{var wt,pn,bn,xt;ue.isadd?(it(!1),Ut()):(Cn.setFieldsValue(yo(po({},ue),{standard_answers:ue.standard_answer,difficulty:ue.difficult,item_banks_group_id:ue.item_banks_group_id,hack:yo(po({},ue),{sub_discipline_id:(wt=Pe==null?void 0:Pe.exercise)==null?void 0:wt.sub_discipline_id,tag_discipline_ids:[]}),hack_codes:{language:(pn=ue==null?void 0:ue.program_attr)==null?void 0:pn.language,code:Fu.Base64.decode((bn=ue==null?void 0:ue.program_attr)==null?void 0:bn.code)},hack_sets:po({},(xt=ue==null?void 0:ue.hack_sets)==null?void 0:xt[0]),repeat_answer:!ue.repeat_answer})),it(!1))}},"\u53D6\u6D88"),Kr.createElement(ut.Z,{overlayClassName:nt.shake,open:ft,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Kr.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Kr.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},Kr.createElement(_e.ZP,{className:"ml20",type:"primary",onClick:()=>{Cn.submit()}},"\u4FDD\u5B58"))),Kr.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Kr.createElement(Ft.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}),Kr.createElement(bi.t,{form:Cn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7A0B\u5E8F\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:Ye,hackidentifier:ue==null?void 0:ue.hack_identifier,answerKey:"standard_answers"}),Kr.createElement(va,{getTagData:vn,qitem:ue,exerciseitem:Pe,TagDiscipline:Ee,form:Cn}))))},Si=oe(13952),Bl=oe(61881),Zi=oe(68606),Gi=oe(89392),$l=oe(92578),uu=oe(28298),Bn=oe(59301),Ri=Object.defineProperty,hl=Object.defineProperties,ji=Object.getOwnPropertyDescriptors,eu=Object.getOwnPropertySymbols,Ml=Object.prototype.hasOwnProperty,nl=Object.prototype.propertyIsEnumerable,Xo=(ue,Ee,Pe)=>Ee in ue?Ri(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Ho=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Ml.call(Ee,Pe)&&Xo(ue,Pe,Ee[Pe]);if(eu)for(var Pe of eu(Ee))nl.call(Ee,Pe)&&Xo(ue,Pe,Ee[Pe]);return ue},Hi=(ue,Ee)=>hl(ue,ji(Ee)),Fo=(ue,Ee,Pe)=>new Promise((it,vt)=>{var Mn=ft=>{try{Ut(Pe.next(ft))}catch(nn){vt(nn)}},vn=ft=>{try{Ut(Pe.throw(ft))}catch(nn){vt(nn)}},Ut=ft=>ft.done?it(ft.value):Promise.resolve(ft.value).then(Mn,vn);Ut((Pe=Pe.apply(ue,Ee)).next())});const{confirm:al}=Je.default,Ci=[{name:"\u5355\u9009\u9898",id:0,count:"q_singles",score:"q_singles_scores",nameType:"SINGLE"},{name:"\u591A\u9009\u9898",id:1,count:"q_doubles",score:"q_doubles_scores",nameType:"MULTIPLE"},{name:"\u5224\u65AD\u9898",id:2,count:"q_judges",score:"q_judges_scores",nameType:"JUDGMENT"},{name:"\u586B\u7A7A\u9898",id:3,count:"q_nulls",score:"q_nulls_scores",nameType:"COMPLETION"},{name:"\u7B80\u7B54\u9898",id:4,count:"q_mains",score:"q_mains_scores",nameType:"SUBJECTIVE"},{name:"\u5B9E\u8BAD\u9898",id:5,count:"q_shixuns",score:"q_shixuns_scores",nameType:"PRACTICAL"},{name:"\u7F16\u7A0B\u9898",id:6,count:"q_pros",score:"q_pros_scores",nameType:"PROGRAM"},{name:"\u7EC4\u5408\u9898",id:7,count:"q_combinations",score:"q_combinations_scores",nameType:"COMBINATION"},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",id:8,count:"q_combinations",score:"q_combinations_scores",nameType:"BPROGRAM"}],Al=({user:ue,dispatch:Ee,itemid:Pe,setisedits:it,exercise:vt,setitemid:Mn})=>{var vn,Ut,ft,nn,Cn,Ye,wt,pn,bn,xt,qt,Yt,Kt,Sa,Nt,ga,Cr,Er,$a,Ao,ta,Or,Ga,Wr,So,xo,zo;const[Pa,Fr]=(0,b.useState)(),[Ei,Xr]=(0,b.useState)(!1),[In,ei]=(0,b.useState)(),[zi,di]=(0,b.useState)(),Bi=(0,b.useRef)(),rl=(0,b.useRef)(),[ri,Sl]=(0,b.useState)(),[Vi,Xi]=(0,b.useState)(!1),[_o,ci]=(0,b.useState)(!1),[ol,_l]=(0,b.useState)(),[Nr,Io]=(0,b.useState)(!1),[ti,Vo]=(0,b.useState)(!1),[Wi,Ui]=(0,b.useState)(!1),[Ai,Tl]=(0,b.useState)(!1),[wl,El]=(0,b.useState)(!1),[vi,Zl]=(0,b.useState)(!1),ao=(0,he.useParams)(),[nu,bu]=(0,b.useState)(!1),[Vl]=De.default.useForm(),[mu,en]=(0,b.useState)(!1),[Hn,Gr]=(0,b.useState)(!1),[rr,yr]=(0,b.useState)(!1),[ro,Go]=(0,b.useState)(!1),To=(0,b.useRef)();(0,b.useEffect)(()=>{Pe&&Pi()},[Pe]),(0,b.useEffect)(()=>{it(_o)},[_o]),(0,b.useEffect)(()=>{In!=null&&In.question_id&&(di(In==null?void 0:In.question_score),rl.current=In==null?void 0:In.question_id)},[In]);const Qi=Yn=>Fo(void 0,null,function*(){let Ja=yield Ee({type:"newExercisePaper/getTagDiscipline",payload:{sub_discipline_id:Yn}});Ee({type:"globalSetting/footerToggle",payload:!1}),_l(Ja)});function Pi(){return Fo(this,null,function*(){var Yn,Ja,Ir,oo,qr,xr;Xi(!0),Xr(!0);const mo=yield Ee({type:"exercise/editExercise",payload:{categoryId:Pe}});Xi(!1),Xr(!1),Fr(mo),El(!1),(Yn=mo==null?void 0:mo.exercise)!=null&&Yn.sub_discipline_id&&Qi((Ja=mo==null?void 0:mo.exercise)==null?void 0:Ja.sub_discipline_id),ei(Hi(Ho({},(qr=(oo=(Ir=mo==null?void 0:mo.exercise_question_types)==null?void 0:Ir[0])==null?void 0:oo.items)==null?void 0:qr[0]),{index:1})),Sl(Hi(Ho({},(xr=mo==null?void 0:mo.exercise_question_types)==null?void 0:xr[0]),{indexs:1}))})}function Gl(Yn,Ja=!0){return Fo(this,null,function*(){var Ir,oo,qr,xr;Ja&&(Xi(!0),Xr(!0));const mo=yield Ee({type:"exercise/editExercise",payload:{categoryId:Pe}});Fr(mo);let Do=[];(Ir=mo==null?void 0:mo.exercise_question_types)==null||Ir.map(Dr=>{var Ia;(Ia=Dr==null?void 0:Dr.items)==null||Ia.map((fr,uo)=>{Do.push(Hi(Ho({},fr),{index:uo+1}))})});let _i=(oo=Do.filter(Dr=>Dr.question_id===(Yn==null?void 0:Yn.id)))==null?void 0:oo[0],su=(xr=((qr=mo==null?void 0:mo.exercise_question_types)==null?void 0:qr.map((Dr,Ia)=>{if((_i==null?void 0:_i.question_type)===(Dr==null?void 0:Dr.question_type))return Hi(Ho({},Dr),{indexs:Ia+1})})).filter(Dr=>Dr))==null?void 0:xr[0];Sl(Ho({},su)),ei(Ho({},_i)),di(_i==null?void 0:_i.question_score),Xi(!1),Xr(!1),El(!1)})}function Wl(Yn){return Fo(this,null,function*(){var Ja;let Ir=Hi(Ho({},Yn),{repeat_answer:!Yn.repeat_answer,difficulty:(Yn==null?void 0:Yn.difficulty)||2,item_type:Yn.question_type,sub_discipline_id:((Ja=Yn==null?void 0:Yn.sub_discipline_id)==null?void 0:Ja[1])||"",tag_discipline_ids:[],hack:Hi(Ho({},Yn==null?void 0:Yn.hack),{difficult:(Yn==null?void 0:Yn.difficulty)||2}),hack_identifier:sessionStorage.projectFill});Yn.tag_discipline_ids&&(Ir.tag_discipline_ids=Array.isArray(Yn.tag_discipline_ids)?Yn.tag_discipline_ids:[Yn.tag_discipline_ids]);let oo=wl?`/api/exercises/${Pe}/exercise_questions`:`/api/exercise_questions/${Yn==null?void 0:Yn.question_id}.json`;if((Yn==null?void 0:Yn.is_my)===1){const qr=al({title:"\u63D0\u793A",content:Bn.createElement("div",null,Bn.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"),Bn.createElement("i",{className:"iconfont icon-guanbi",style:{position:"absolute",top:"20px",right:"20px",cursor:"pointer"},onClick:()=>{qr.destroy()}})),okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>Fo(this,null,function*(){Ir.is_cover=1;let xr=yield(0,te.ZP)(oo,{method:wl?"post":"PUT",body:Ho({},Ir)});(xr==null?void 0:xr.status)===0&&(ci(!1),Gl({id:(xr==null?void 0:xr.exercise_question_id)||(Yn==null?void 0:Yn.question_id)})),qr.destroy()}),onCancel:()=>Fo(this,null,function*(){let xr=yield(0,te.ZP)(oo,{method:wl?"post":"PUT",body:Ho({},Ir)});(xr==null?void 0:xr.status)===0&&(ci(!1),Gl({id:(xr==null?void 0:xr.exercise_question_id)||(Yn==null?void 0:Yn.question_id)})),qr.destroy()})})}else{let qr=yield(0,te.ZP)(oo,{method:wl?"post":"PUT",body:Ho({},Ir)});(qr==null?void 0:qr.status)===0&&(ci(!1),Gl({id:(qr==null?void 0:qr.exercise_question_id)||(Yn==null?void 0:Yn.question_id)}))}(0,Pt.Vf)("#question-scroll-id")})}function qu(Yn){return Fo(this,null,function*(){var Ja,Ir;Xr(!0);let oo=yield(0,te.ZP)(`/api/exercises/${Pe}/sort_question_type.json`,{method:"post",body:{question_type:Yn}});if(Xr(!1),(oo==null?void 0:oo.status)===0){const qr=yield Ee({type:"exercise/editExercise",payload:{categoryId:Pe}});Fr(qr),El(!1),(Ja=qr==null?void 0:qr.exercise)!=null&&Ja.sub_discipline_id&&Qi((Ir=qr==null?void 0:qr.exercise)==null?void 0:Ir.sub_discipline_id)}})}const vs=(Yn,Ja,Ir)=>Fo(void 0,null,function*(){var oo;if(Yn.length===0){Ae.ZP.warning("\u8BF7\u4E0A\u4F20\u6587\u4EF6"),Ir();return}const qr={id:ao==null?void 0:ao.exerciseId,file:(oo=Yn[0])==null?void 0:oo.file,sub_discipline_id:Ja};hs(qr,`${Si.Z.API_SERVER}/api/courses/${ao==null?void 0:ao.coursesId}/exercises/import_exercise.json`,xr=>{var mo;if((xr==null?void 0:xr.status)===0){const Do={};(mo=xr==null?void 0:xr.fail)==null||mo.forEach(Ll=>{var su;((su=Object.keys(Do))==null?void 0:su.includes(Ll.message))?Do[Ll.message]=Do[Ll.message]+1:Do[Ll.message]=1});let _i=`\u6210\u529F\u5BFC\u5165${xr==null?void 0:xr.success}\u6761`;Object.keys(Do).forEach(Ll=>{_i=_i+`,${Ll}${Do[Ll]}\u6761`}),Ae.ZP.success(_i),Io(!1),Pi()}(xr==null?void 0:xr.status)===-1&&(Ae.ZP.error(xr==null?void 0:xr.message),Ir())})}),ps=(Yn,Ja)=>Fo(void 0,null,function*(){const Ir=yield(0,Zi.zR)({score:(0,Gi.round)(Yn,1),question_id:Ja==null?void 0:Ja.question_id});if((Ir==null?void 0:Ir.status)===0){Ae.ZP.success("\u4FEE\u6539\u6210\u529F"),Gl({id:rl.current},!1);return}(Ir==null?void 0:Ir.status)===-1&&di(Ja==null?void 0:Ja.question_score)}),jl=()=>{Go(!0)};(0,b.useEffect)(()=>{if(ro){const Yn=setTimeout(()=>{Go(!1)},2e3);return()=>clearTimeout(Yn)}},[ro]);const hs=(Yn,Ja,Ir,oo,qr)=>{const xr=new FormData;Object.keys(Yn).forEach(Do=>{xr.append(Do,Yn[Do])});const mo=new window.XMLHttpRequest;return mo.withCredentials=!0,mo.addEventListener("load",function(Do){var _i;Ir(JSON.parse((_i=Do==null?void 0:Do.target)==null?void 0:_i.response))},!1),mo.addEventListener("error",function(Do){qr&&qr(Do)},!1),mo.upload.onprogress=Do=>{oo&&oo(Do)},mo.open("POST",Ja),mo.send(xr),mo};function au(){return Fo(this,null,function*(){Je.default.confirm({title:"\u63D0\u793A",content:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",okText:"\u786E\u5B9A",centered:!0,className:nt.modalconfirm,onOk:()=>Fo(this,null,function*(){if(In.question_id){let Yn=yield(0,te.ZP)(`/api/exercise_questions/${In.question_id}.json`,{method:"delete"});(Yn==null?void 0:Yn.status)===0&&(Pi(),ci(!1))}else ei({}),ci(!1),Pi()}),cancelText:"\u53D6\u6D88"})})}const Zu=Yn=>Fo(void 0,null,function*(){return yield(0,te.ZP)(`/api/exercises/${Pe}/select_questions.json`,{method:"post",body:Ho({},Yn)})}),{overflow:Ul,handleMouseEnter:$u,handleMouseLeave:Ss}=(0,Bl.I)(),es=(Yn,Ja)=>Bn.createElement(Bt.default,null,Bn.createElement(Bt.default.Item,{key:"0",onClick:()=>Gu(Yn==null?void 0:Yn.question_type)},Bn.createElement("span",{className:nt.moreSpan},"\u65B0\u589E")),Bn.createElement(Bt.default.Item,{key:"1",disabled:Ja===0,onClick:()=>Fo(void 0,null,function*(){if(Ja===0)return;if(_o){jl();return}let Ir=(0,Pt.rz)(Pa==null?void 0:Pa.exercise_question_types,Ja,Ja-1);yield qu(Ir.map(oo=>oo.name))})},Bn.createElement("span",{className:nt.moreSpan},"\u4E0A\u79FB")),Bn.createElement(Bt.default.Item,{key:"2",disabled:Ja===(Pa==null?void 0:Pa.exercise_question_types.length)-1,onClick:()=>Fo(void 0,null,function*(){if(Ja===(Pa==null?void 0:Pa.exercise_question_types.length)-1)return;if(_o){jl();return}let Ir=(0,Pt.rz)(Pa==null?void 0:Pa.exercise_question_types,Ja,Ja+1);yield qu(Ir.map(oo=>oo.name))})},Bn.createElement("span",{className:nt.moreSpan},"\u4E0B\u79FB")),Bn.createElement(Bt.default.Item,{key:"3",onClick:()=>{var Ir;Vl.setFieldsValue({name:Yn.name,item_type_en:(Ir=Ci.find(oo=>oo.id==Yn.question_type))==null?void 0:Ir.nameType}),en(!0)}},Bn.createElement("span",{className:nt.moreSpan},"\u91CD\u547D\u540D"))),Gu=Yn=>{var Ja,Ir,oo,qr,xr,mo,Do,_i,Ll,su,Dr,Ia,fr,uo,qo,du,Nl,Ql,Il,fu,ru,Pl,Es,bs;if(_o){jl();return}if(El(!0),Yn===5){Ui(!0),Tl(!0);return}if(Yn===6){let Cs=(Ir=(Ja=vt==null?void 0:vt.editData)==null?void 0:Ja.exercise)!=null&&Ir.set_question_sub_discipline?`/problems/newcreate?express_id=${(oo=Pa==null?void 0:Pa.exercise)==null?void 0:oo.id}&callback_url=/classrooms/${ao.coursesId}/exercise/add/${Pe}?type=2&discipline_id=${(xr=(qr=vt==null?void 0:vt.editData)==null?void 0:qr.exercise)==null?void 0:xr.discipline_id}&sub_discipline_id=${(Do=(mo=vt==null?void 0:vt.editData)==null?void 0:mo.exercise)==null?void 0:Do.sub_discipline_id}`:`/problems/newcreate?express_id=${(_i=Pa==null?void 0:Pa.exercise)==null?void 0:_i.id}&callback_url=/classrooms/${ao.coursesId}/exercise/add/${Pe}?type=2`;he.history.push(Cs);return}ci(!0),ei(Yn===2?{question_type:Yn,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=(Ll=vt==null?void 0:vt.editData)==null?void 0:Ll.exercise)!=null&&su.set_question_sub_discipline?(Ia=(Dr=vt==null?void 0:vt.editData)==null?void 0:Dr.exercise)==null?void 0:Ia.discipline_id:0,sub_discipline_id:(uo=(fr=vt==null?void 0:vt.editData)==null?void 0:fr.exercise)!=null&&uo.set_question_sub_discipline?(du=(qo=vt==null?void 0:vt.editData)==null?void 0:qo.exercise)==null?void 0:du.sub_discipline_id:0,analysis:""}:{question_type:Yn,question_choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),standard_answers:[],repeat_answer:!0,difficulty:2,isadd:!0,tag_discipline_ids:[],question_score:"",analysis:"",sub_item_banks:[],is_ordered:!0,question_title:"",use_keywords:!1,keywords:[],use_blank_score:!0,allow_student_debug:!1,submit_rule:1,discipline_id:(Ql=(Nl=vt==null?void 0:vt.editData)==null?void 0:Nl.exercise)!=null&&Ql.set_question_sub_discipline?(fu=(Il=vt==null?void 0:vt.editData)==null?void 0:Il.exercise)==null?void 0:fu.discipline_id:0,sub_discipline_id:(Pl=(ru=vt==null?void 0:vt.editData)==null?void 0:ru.exercise)!=null&&Pl.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:()=>{Io(!0)}},{key:2,label:Bn.createElement("div",null,Bn.createElement("img",{width:26,style:{position:"absolute",top:-2},src:uu.$}),Bn.createElement("span",null,"\u667A\u80FD\u5BFC\u5165")),onClick:()=>{if(_o){jl();return}Gr(!0)}}];return console.log(ri==null?void 0:ri.question_type,In==null?void 0:In.question_type),Bn.createElement("div",null,Bn.createElement(un.Z,{spinning:Vi},Bn.createElement("div",{className:nt.bg},((vn=Pa==null?void 0:Pa.exercise_types)==null?void 0:vn.q_counts)===0&&!_o&&Bn.createElement(kn.Z,{styles:{marginTop:180},customText:Bn.createElement("span",null,"\u8FD8\u6CA1\u6709\u8BD5\u9898\uFF0C\u8BF7\u4ECE",Bn.createElement("span",{className:"c-light-primary"},"\u5E95\u90E8\u64CD\u4F5C\u680F"),"\u8FDB\u884C\u6DFB\u52A0~")}),(((Ut=Pa==null?void 0:Pa.exercise_types)==null?void 0:Ut.q_counts)>0||_o)&&Bn.createElement("div",{style:{textAlign:"center"}},Bn.createElement("div",{style:{marginTop:20,borderTop:"1px solid #DCDCDC",display:"block",alignItems:"stretch"}},Bn.createElement("div",{style:{backgroundColor:"#F6F7F9",display:"inline-block",position:"sticky",top:0}},Bn.createElement("div",{className:nt.left},Bn.createElement("div",{className:nt.leftAction},((ft=Pa==null?void 0:Pa.exercise)==null?void 0:ft.exercise_status)===1&&Bn.createElement(_e.ZP,{onClick:()=>{if(_o){jl();return}Vo(!0)},className:nt.Button},"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C")),Bn.createElement("div",{className:nt.scrollWrapper,style:{overflow:Ul},onMouseEnter:$u,onMouseLeave:Ss},(nn=Pa==null?void 0:Pa.exercise_question_types)==null?void 0:nn.map((Yn,Ja)=>Bn.createElement("div",{key:Ja,className:"mb30"},Bn.createElement("div",{className:nt.title},Bn.createElement("div",{className:nt.titleleft},Bn.createElement("span",{style:{color:"#000000",fontWeight:400,fontSize:12}}," ",(0,Pt.EM)(Ja+1),"\u3001\u3010",Yn.name,"\u3011"),Bn.createElement("span",{style:{color:"#464F66",fontSize:12}},"\uFF08",Yn.count,"\u5C0F\u9898\uFF0C\u5171",Yn.score,"\u5206\uFF09")),Bn.createElement(Ce.Z,{dropdownRender:()=>es(Yn,Ja),placement:"bottomLeft"},Bn.createElement("div",{className:nt.more_style},Bn.createElement("i",{className:"iconfont icon-sandian font12"})))),Bn.createElement($n,{handleEditing:jl,isedit:_o,setBigqitem:Sl,bigitem:Hi(Ho({},Yn),{indexs:Ja+1}),setqitem:Ir=>Fo(void 0,null,function*(){var oo;(oo=Bi.current)==null||oo.blur(),ei(Ir)}),qitem:In,Itemid:Pe,getdata:Gl,data:Yn.items})))))),Bn.createElement("div",{id:"question-scroll-id",style:{overflow:_o?"hidden":"auto"},className:nt.right},!(In!=null&&In.isadd)&&Bn.createElement("div",{className:nt.title},!_o&&Bn.createElement("div",{style:{flex:1}},Bn.createElement("span",{style:{color:"#000000",fontWeight:600,fontSize:16}}," ",(ri==null?void 0:ri.indexs)&&(0,Pt.EM)(ri==null?void 0:ri.indexs),"\u3001\u3010",ri==null?void 0:ri.name,"\u3011"),Bn.createElement(ut.Z,{title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0"},Bn.createElement("i",{className:`${nt.edit} iconfont icon-bianji_Hover mr5 ml5 font18`,onClick:()=>{var Yn;Vl.setFieldsValue({name:ri.name,item_type_en:(Yn=Ci.find(Ja=>Ja.id==ri.question_type))==null?void 0:Yn.nameType}),en(!0)}})),Bn.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"),(In==null?void 0:In.question_type)===6&&Bn.createElement("span",{onClick:()=>{Je.default.destroyAll(),yr(2)},className:"current c-light-primary font14 bold-400"},"\u6279\u91CF\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00"),(In==null?void 0:In.question_type)===5&&Bn.createElement(tt.default,{defaultChecked:(Ye=(Cn=vt==null?void 0:vt.editData)==null?void 0:Cn.exercise)==null?void 0:Ye.show_challenge_task_pass,onChange:Yn=>Fo(void 0,null,function*(){let Ja=yield(0,te.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_challenge_task_pass:Yn.target.checked}});(Ja==null?void 0:Ja.status)===0&&(Ae.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Gl({id:rl.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u5173\u5361\u63CF\u8FF0"),(In==null?void 0:In.question_type)===6&&Bn.createElement("span",{style:{marginLeft:20},onClick:()=>{var Yn,Ja,Ir,oo;Je.default.confirm({title:"\u7F16\u7A0B\u9898\u8BBE\u7F6E",icon:null,centered:!0,closable:!0,footer:null,content:Bn.createElement("div",null,(In==null?void 0:In.question_type)===6&&Bn.createElement(tt.default,{defaultChecked:(Ja=(Yn=vt==null?void 0:vt.editData)==null?void 0:Yn.exercise)==null?void 0:Ja.show_hack_sets,onChange:qr=>Fo(void 0,null,function*(){let xr=yield(0,te.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_hack_sets:qr.target.checked}});(xr==null?void 0:xr.status)===0&&(Ae.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Je.default.destroyAll(),Gl({id:rl.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u6D4B\u8BD5\u7528\u4F8B"),Bn.createElement("br",null),(In==null?void 0:In.question_type)===6&&Bn.createElement(tt.default,{defaultChecked:(oo=(Ir=vt==null?void 0:vt.editData)==null?void 0:Ir.exercise)==null?void 0:oo.show_hack_description,onChange:qr=>Fo(void 0,null,function*(){let xr=yield(0,te.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_hack_description:qr.target.checked}});(xr==null?void 0:xr.status)===0&&(Ae.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Je.default.destroyAll(),Gl({id:rl.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")),Bn.createElement("div",{style:{display:"flex",alignItems:"center"}},(In==null?void 0:In.question_type)===5&&!_o&&Bn.createElement("a",{className:nt.shixun,href:`/shixuns/${In==null?void 0:In.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Bn.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"),!_o&&((wt=Pa==null?void 0:Pa.exercise)==null?void 0:wt.exercise_status)==1&&[0,1,2,4,6].includes(In==null?void 0:In.question_type)&&Bn.createElement(De.default.Item,{label:"\u5206\u503C",style:{margin:"0 20px"},required:!0},Bn.createElement(Le.Z,{precision:1,ref:Bi,onChange:Yn=>di(Yn),value:zi,onBlur:Yn=>{ps(Yn.target.value,In)}})),!_o&&((pn=Pa==null?void 0:Pa.exercise)==null?void 0:pn.exercise_status)==1&&Bn.createElement(ut.Z,{title:"\u5220\u9664"},Bn.createElement("i",{onClick:()=>{au()},style:{marginRight:20},className:`${nt.delete} iconfont icon-shanchu13 mr8 ml8 `})),(In==null?void 0:In.question_type)!==5&&!_o&&Bn.createElement(Bn.Fragment,null,(In==null?void 0:In.is_my)==1&&Bn.createElement(ut.Z,{title:"\u67E5\u770B\u539F\u9898"},Bn.createElement("i",{className:`${nt.yuanti} iconfont icon-chakanyuanti mr8 ml8`,onClick:()=>{(In==null?void 0:In.question_type)==6?window.open(`/problems/newedit/${In==null?void 0:In.item_bank_hack_identifier}`):(In==null?void 0:In.question_type)==8?window.open(`/problemset/edit/${In==null?void 0:In.item_bank_hack_identifier}?type=1`):window.open(`/problemset/edit/${In==null?void 0:In.item_bank_id}`)}})),Bn.createElement(ut.Z,{title:"\u52A0\u5165\u6211\u7684\u9898\u5E93"},Bn.createElement("i",{className:`${nt.tianjia} iconfont icon-jiarushitiku mr8 ml8`,onClick:()=>{To.current=[],Je.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:Bn.createElement("div",{className:`font14 ${nt.overflow}`,style:{maxHeight:500,overflow:"auto"}},Bn.createElement("p",{className:"c-grey-333"},"\u8BF7\u9009\u62E9\u52A0\u5165\u7684\u6587\u4EF6\u5939"),Bn.createElement(un.Z,{spinning:!1},Bn.createElement($l.Z,{defaultValue:!0,value:To.current,onChange:Yn=>To.current=Yn}))),onOk:()=>Fo(void 0,null,function*(){var Yn;(0,Zi.$l)({id:In==null?void 0:In.question_id,group_id:((Yn=To==null?void 0:To.current)==null?void 0:Yn[0])||""}).then(Ja=>{(Ja==null?void 0:Ja.status)==0&&(Ae.ZP.success("\u52A0\u5165\u6210\u529F"),Pi())})})})}}))),!_o&&(((bn=Pa==null?void 0:Pa.exercise)==null?void 0:bn.exercise_status)==1||((xt=Pa==null?void 0:Pa.exercise)==null?void 0:xt.exercise_status)==2&&((Yt=(qt=ue.userInfo)==null?void 0:qt.course)==null?void 0:Yt.course_role)!=15||((Kt=Pa==null?void 0:Pa.exercise)==null?void 0:Kt.exercise_status)==3&&((Nt=(Sa=ue.userInfo)==null?void 0:Sa.course)==null?void 0:Nt.course_role)!=15||((ga=Pa==null?void 0:Pa.exercise)==null?void 0:ga.exercise_status)==4&&((Er=(Cr=ue.userInfo)==null?void 0:Cr.course)==null?void 0:Er.course_role)!=15)&&Bn.createElement(ut.Z,{title:"\u7F16\u8F91\u8BD5\u9898"},Bn.createElement("i",{onClick:()=>{(In==null?void 0:In.question_type)===6?he.history.push(`/problems/newedit/${In==null?void 0:In.hack_identifier}?type=exercises&express_id=${ao.exerciseId}&question_id=${In==null?void 0:In.question_id}&score=${In==null?void 0:In.question_score}&exercise=true&callback_url=/classrooms/${ao.coursesId}/exercise/add/${Pe}?type=2`):ci(!0)},className:`${nt.edit} iconfont icon-bianji_Hover ml8`})))),!_o&&Bn.createElement("div",null,Bn.createElement("div",{className:nt.qcount},Bn.createElement("span",{className:nt.score},In==null?void 0:In.question_score,"\u5206"),Bn.createElement(Rt.Z,{className:nt.qtitle,value:(In==null?void 0:In.index)+`\u3001${(In==null?void 0:In.question_type)==8?($a=In==null?void 0:In.program_attr)==null?void 0:$a.description:In==null?void 0:In.question_title}`}),(In==null?void 0:In.high_resources_consume)&&Bn.createElement(sr.Z,{type:"shixun",style:{marginLeft:10}})),(In==null?void 0:In.question_type)===6&&Bn.createElement(dn.Z,{onEdit:()=>yr(1),className:"mt10",dataSource:(In==null?void 0:In.languages)||[]}),Bn.createElement(ms,{exercise:vt,TagDiscipline:ol,qitem:In})),_o&&Bn.createElement("div",null,(In==null?void 0:In.question_type)<=1&&Bn.createElement(at,{deleteitem:au,getTagData:Qi,seveeditor:Wl,exerciseitem:Pa,TagDiscipline:ol,setisedit:ci,qitem:In,init:Pi,showTip:ro}),(In==null?void 0:In.question_type)===5&&Bn.createElement(Ku,{setqitem:ei,deleteitem:au,seveeditor:Wl,exerciseitem:Pa,TagDiscipline:ol,setisedit:ci,qitem:In,showTip:ro}),(In==null?void 0:In.question_type)===3&&Bn.createElement(Gn,{deleteitem:au,getTagData:Qi,seveeditor:Wl,exerciseitem:Pa,TagDiscipline:ol,setisedit:ci,qitem:In,init:Pi,showTip:ro}),(In==null?void 0:In.question_type)===2&&Bn.createElement($r,{deleteitem:au,getTagData:Qi,seveeditor:Wl,exerciseitem:Pa,TagDiscipline:ol,setisedit:ci,qitem:In,init:Pi,showTip:ro}),(In==null?void 0:In.question_type)===4&&Bn.createElement(Lt,{deleteitem:au,getTagData:Qi,seveeditor:Wl,exerciseitem:Pa,TagDiscipline:ol,setisedit:ci,qitem:In,init:Pi,showTip:ro}),(In==null?void 0:In.question_type)===7&&Bn.createElement(ls,{deleteitem:au,getTagData:Qi,seveeditor:Wl,exerciseitem:Pa,TagDiscipline:ol,setisedit:ci,qitem:In,init:Pi,showTip:ro}),(In==null?void 0:In.question_type)===8&&Bn.createElement($o,{deleteitem:au,getTagData:Qi,seveeditor:Wl,exerciseitem:Pa,TagDiscipline:ol,setisedit:ci,qitem:In,init:Pi,showTip:ro}))))))),Bn.createElement("div",{className:nt.bottomdiv},Bn.createElement("div",{className:nt.exercise_styles},((Ao=Pa==null?void 0:Pa.exercise)==null?void 0:Ao.exercise_status)==1&&Bn.createElement(Bn.Fragment,null,Bn.createElement("span",{className:nt.spanBtn,onClick:()=>{if(_o){jl();return}Ui(!0),Tl(!1)}},"\u9898\u5E93\u9009\u9898"),Bn.createElement(Ce.Z,{menu:{items:ts}},Bn.createElement("span",{className:nt.spanBtn},"\u5BFC\u5165\u8BD5\u9898")),Bn.createElement("span",{className:nt.spanBtn,onClick:()=>Fo(void 0,null,function*(){var Yn;let Ja=yield(0,te.ZP)(`/api/exercises/${ao==null?void 0:ao.exerciseId}/simulate_start_answer.json`,{method:"get",params:{coursesId:ao==null?void 0:ao.coursesId,categoryId:ao==null?void 0:ao.exerciseId}});(Ja==null?void 0:Ja.status)!=-1&&window.open(`/classrooms/${ao==null?void 0:ao.coursesId}/exercise/${ao==null?void 0:ao.exerciseId}/${(Yn=ue.userInfo)==null?void 0:Yn.login}/initate_answer`)})},"\u6A21\u62DF\u8003\u8BD5"),Bn.createElement("span",{className:nt.spanBtn,onClick:()=>{window.open(`/classrooms/${ao==null?void 0:ao.coursesId}/exercise/${ao==null?void 0:ao.exerciseId}/detail?random=false&tabs=2`)}},"\u8BD5\u5377\u9884\u89C8"),Ci==null?void 0:Ci.map(Yn=>Bn.createElement(_e.ZP,{className:nt.addQuestionBtn,key:Yn.id,type:"primary",onClick:()=>{Gu(Yn.id)}},Yn.name))),((ta=Pa==null?void 0:Pa.exercise)==null?void 0:ta.exercise_status)!=1&&Bn.createElement(Bn.Fragment,null,Bn.createElement("span",{style:{width:"1022px"}})),Bn.createElement("span",{className:nt.saveBtn,onClick:()=>{var Yn,Ja,Ir;if(_o){jl();return}let oo=(Ja=(Yn=Pa==null?void 0:Pa.exercise_question_types)==null?void 0:Yn.filter(xr=>xr.question_type===5)[0])==null?void 0:Ja.items,qr=0;oo==null||oo.map(xr=>{xr.high_resources_consume&&(qr=qr+1)}),console.log(qr),qr>0?Ee({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u63D0\u793A",count:qr,fn:()=>{var xr;((xr=Pa==null?void 0:Pa.exercise)==null?void 0:xr.exercise_status)==1?(Ae.ZP.success("\u4FDD\u5B58\u6210\u529F"),he.history.push(`/classrooms/${ao==null?void 0:ao.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),Zl(!1)):he.history.back()}}}):((Ir=Pa==null?void 0:Pa.exercise)==null?void 0:Ir.exercise_status)==1?(Ae.ZP.success("\u4FDD\u5B58\u6210\u529F"),he.history.push(`/classrooms/${ao==null?void 0:ao.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),Zl(!1)):he.history.back()}},Bn.createElement("i",{className:"iconfont icon-baocun1",style:{fontSize:15,marginRight:5}}),"\u4FDD\u5B58\u8BD5\u5377"))),Bn.createElement(cn,{setScoreShow:Vo,ScoreShow:ti,exerciseitem:Pa,getdata:Pi}),Wi&&Bn.createElement(Jo,{setScoreShow:Ui,isshixuns:Ai,isloadings:nu,ScoreShow:Wi,onOk:(Yn,Ja,Ir,oo,qr)=>Fo(void 0,null,function*(){bu(!0);let mo=yield Zu({exam_id:Pe,item_bank_ids:Yn,shixun_ids:Ja,shixun_copy_ids:qr});bu(!1),(mo==null?void 0:mo.status)===0&&Je.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:()=>{Pi()},onCancel:()=>{Ui(!1),Pi()}})})}),Bn.createElement(Ju.Z,{sub_discipline_id:(Or=Pa==null?void 0:Pa.exercise)!=null&&Or.sub_discipline_id?[(Ga=Pa==null?void 0:Pa.exercise)==null?void 0:Ga.discipline_id,(Wr=Pa==null?void 0:Pa.exercise)==null?void 0:Wr.sub_discipline_id]:[],visible:Nr,onCancel:()=>Io(!1),onOk:vs}),Bn.createElement(Je.default,{title:"\u63D0\u793A",open:vi,confirmLoading:!1,centered:!0,okText:"\u8BBE\u7F6E\u89C4\u5219",cancelText:"\u4FEE\u6539\u8BD5\u5377",footer:Bn.createElement("div",null,Bn.createElement(_e.ZP,{onClick:()=>{Zl(!1),he.history.back()}},"\u7A0D\u540E\u518D\u8BF4"),Bn.createElement(_e.ZP,{type:"primary",onClick:()=>{he.history.push(`/classrooms/${ao==null?void 0:ao.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),Zl(!1)}},"\u8BBE\u7F6E\u89C4\u5219")),onCancel:()=>{Zl(!1)}},Bn.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")),Bn.createElement(Je.default,{centered:!0,title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0",open:mu,width:500,onOk:()=>Vl.submit(),onCancel:()=>en(!1)},Bn.createElement(De.default,{form:Vl,initialValues:{},onFinish:Yn=>Fo(void 0,null,function*(){(yield(0,Zi.RK)(Ho({id:Pe},Yn))).status==0&&(Ae.ZP.success("\u4FEE\u6539\u6210\u529F"),Pi(),en(!1))})},Bn.createElement(De.default.Item,{name:"name",style:{marginBottom:0},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9898\u578B\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"},{validator(Yn,Ja){var Ir,oo,qr,xr;const mo=(Ir=Ci==null?void 0:Ci.find(Do=>Do.nameType==Vl.getFieldValue("item_type_en")))==null?void 0:Ir.id;return(xr=(qr=(oo=Pa==null?void 0:Pa.exercise_question_types)==null?void 0:oo.filter(Do=>Do.question_type!=mo))==null?void 0:qr.map(Do=>Do==null?void 0:Do.name))!=null&&xr.includes(Ja)?Promise.reject(new Error("\u9898\u578B\u540D\u79F0\u5DF2\u5B58\u5728\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u9898\u578B\u540D\u79F0")):Promise.resolve()}}]},Bn.createElement(ze.default,{size:"large",maxLength:10,showCount:!0})),Bn.createElement(De.default.Item,{hidden:!0,name:"item_type_en"},Bn.createElement(ze.default,{size:"large"})))),Bn.createElement(Xt.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:Hn},Bn.createElement("div",{style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},"\u667A\u80FD\u5BFC\u5165"),Bn.createElement(uu.Z,{stickyTop:-24,subDisciplineId:(So=Pa==null?void 0:Pa.exercise)!=null&&So.sub_discipline_id?[(xo=Pa==null?void 0:Pa.exercise)==null?void 0:xo.discipline_id,(zo=Pa==null?void 0:Pa.exercise)==null?void 0:zo.sub_discipline_id]:[],onCancel:()=>Gr(!1),mode:3,gather:{exercise_id:Pe},onSuccess:()=>{Gr(!1),Pi()}}),Bn.createElement("div",{style:{height:70}})),Bn.createElement(dn.Q,{visible:!!rr,setVisible:yr,tip:rr===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:rr===1?In==null?void 0:In.languages:[],onOk:Yn=>Fo(void 0,null,function*(){const Ja={languages:Yn};rr===1?Ja.hack_id=In==null?void 0:In.hack_id:Ja.exercise_id=Pe,(yield(0,te.ZP)("/api/problems/update_languages.json",{method:"post",body:Ja})).status===0&&(Ae.ZP.success("\u4FEE\u6539\u6210\u529F"),Gl({id:rl.current}),yr(!1))})}))};var fi=(0,he.connect)(({user:ue,exercise:Ee,dispatch:Pe})=>({user:ue,exercise:Ee,dispatch:Pe}))(Al),ki=oe(99871),Hl=oe(68381),Zo=oe(18034),Ji=oe(87169),xl=oe(32793),ea=oe(59301),Rl=Object.defineProperty,gl=Object.defineProperties,ml=Object.getOwnPropertyDescriptors,kl=Object.getOwnPropertySymbols,Dl=Object.prototype.hasOwnProperty,tu=Object.prototype.propertyIsEnumerable,zl=(ue,Ee,Pe)=>Ee in ue?Rl(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,mr=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Dl.call(Ee,Pe)&&zl(ue,Pe,Ee[Pe]);if(kl)for(var Pe of kl(Ee))tu.call(Ee,Pe)&&zl(ue,Pe,Ee[Pe]);return ue},Na=(ue,Ee)=>gl(ue,ml(Ee)),Jr=(ue,Ee)=>{var Pe={};for(var it in ue)Dl.call(ue,it)&&Ee.indexOf(it)<0&&(Pe[it]=ue[it]);if(ue!=null&&kl)for(var it of kl(ue))Ee.indexOf(it)<0&&tu.call(ue,it)&&(Pe[it]=ue[it]);return Pe},ko=(ue,Ee,Pe)=>new Promise((it,vt)=>{var Mn=ft=>{try{Ut(Pe.next(ft))}catch(nn){vt(nn)}},vn=ft=>{try{Ut(Pe.throw(ft))}catch(nn){vt(nn)}},Ut=ft=>ft.done?it(ft.value):Promise.resolve(ft.value).then(Mn,vn);Ut((Pe=Pe.apply(ue,Ee)).next())});const fl=ue=>{var Ee=ue,{classroomList:Pe,globalSetting:it,problemset:vt,loading:Mn,exercise:vn,user:Ut,dispatch:ft}=Ee,nn=Jr(Ee,["classroomList","globalSetting","problemset","loading","exercise","user","dispatch"]),Cn,Ye,wt,pn,bn,xt,qt,Yt,Kt,Sa,Nt,ga,Cr,Er;const $a=(0,he.useParams)(),[Ao,ta]=(0,b.useState)(!1),{userInfo:Or}=Ut,[Ga]=De.default.useForm();let[Wr,So]=(0,b.useState)({});const[xo,zo]=(0,b.useState)(1),[Pa,Fr]=(0,b.useState)(""),[Ei]=(0,he.useSearchParams)(),[Xr,In]=(0,b.useState)(!1),[ei,zi]=(0,b.useState)(!1),[di,Bi]=(0,b.useState)(!1),[rl,ri]=(0,b.useState)(""),[Sl,Vi]=(0,b.useState)(!1),[Xi,_o]=(0,b.useState)(!1);(0,b.useEffect)(()=>{ft({type:"problemset/getEditDisciplines",payload:{source:"new_question",identifier:$a==null?void 0:$a.coursesId}}),ft({type:"globalSetting/footerToggle",payload:!1}),Ga.setFieldsValue({difficulty:2,courseid:[]})},[]),(0,b.useEffect)(()=>{$a.exerciseId&&ko(void 0,null,function*(){var Nr,Io,ti;const Vo=yield ft({type:"exercise/editExercise",payload:{categoryId:$a.exerciseId}});(Vo==null?void 0:Vo.status)!==-1&&(((Nr=Vo==null?void 0:Vo.exercise)==null?void 0:Nr.exercise_status)===2||((Io=Vo==null?void 0:Vo.exercise)==null?void 0:Io.exercise_status)===3||((ti=Vo==null?void 0:Vo.exercise)==null?void 0:ti.exercise_status)===4?Bi(!0):Bi(!1))})},[$a]),(0,b.useEffect)(()=>{if($a.exerciseId){let Nr=vn.editData.exercise;_o(Nr==null?void 0:Nr.set_question_sub_discipline),Ga.setFieldsValue(Na(mr({},Nr),{courseid:Nr!=null&&Nr.sub_discipline_id?[Nr==null?void 0:Nr.discipline_id,Nr==null?void 0:Nr.sub_discipline_id]:[]}))}},[vn]),(0,b.useEffect)(()=>{Ei.get("type")==="2"&&(Fr($a.exerciseId),zo(2))},[Ei.get("type")]),(0,b.useEffect)(()=>{var Nr;let Io=(Nr=vt==null?void 0:vt.disciplinesData)==null?void 0:Nr.checked;Io!=null&&Io.sub_discipline_id&&Ga.setFieldsValue({courseid:[Io==null?void 0:Io.discipline_id,Io==null?void 0:Io.sub_discipline_id]})},[(Cn=vt==null?void 0:vt.disciplinesData)==null?void 0:Cn.checked]);function ci(Nr,Io){return ko(this,null,function*(){var ti,Vo,Wi,Ui;yield Ga.validateFields();const Ai=Ga.getFieldsValue(),{courseid:Tl}=Ai,[wl,El]=Tl;Ai.sub_discipline_id=El,Ai.is_md=!0,Ai.time=parseInt(Ai.time)>9999?9999:Ai.time;const vi=yield ft({type:"exercise/addExercise",payload:mr(mr({},Ai),$a)});vi.status===0?(yield(0,te.ZP)(`/api/courses/${$a==null?void 0:$a.coursesId}/exercises/notice_at.json`,{method:"POST",body:{course_id:$a==null?void 0:$a.coursesId,id:(ti=vi==null?void 0:vi.data)==null?void 0:ti.exercise_id,time:Nr}}),_l((Vo=vi.data)==null?void 0:Vo.exercise_id),Fr((Wi=vi==null?void 0:vi.data)==null?void 0:Wi.exercise_id),zo(2),In(!1),he.history.replace(`/classrooms/${$a.coursesId}/exercise/add/${(Ui=vi.data)==null?void 0:Ui.exercise_id}?type=2`)):Ae.ZP.error(vi.message),Io()})}function ol(Nr){So(mr({},Nr))}function _l(Nr){return ko(this,null,function*(){if(!(Wr!=null&&Wr.ec_point_ids))return;const Io=mr({},Wr);delete Io.id;let ti=yield(0,te.ZP)(`/api/ec_courses/${Wr==null?void 0:Wr.ec_course_id}/ec_points/set_work_points.json`,{method:"post",body:mr({exercise_id:Nr},Io)})})}return ea.createElement("div",{style:{background:"#ffffff",marginTop:-8,padding:8,minHeight:"100vh",paddingBottom:64}},ea.createElement("section",{className:"edu-container"},ea.createElement("section",{className:"animated fadeIn"},ea.createElement("aside",{className:"mt10"},Or&&ea.createElement(ke.Z,{separator:">"},ea.createElement(ke.Z.Item,null,ea.createElement(he.Link,{to:`/classrooms/${$a.coursesId}/exercise`},(Ye=Or==null?void 0:Or.course)==null?void 0:Ye.course_name)),ea.createElement(ke.Z.Item,null,ea.createElement(he.Link,{to:`/classrooms/${$a.coursesId}/exercise`},"\u8BD5\u5377\u5217\u8868")),ea.createElement(ke.Z.Item,null,$a.exerciseId?"\u7F16\u8F91\u8BD5\u5377":"\u65B0\u5EFA\u8BD5\u5377")))),$a.exerciseId&&ea.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}},ea.createElement(Ji.Z,{style:{marginRight:5,color:"#E99237"}}),ea.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"),ea.createElement("span",{className:He.addQuestionBtn,onClick:()=>{ft({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[$a.exerciseId]}})}},"\u52A0\u5165\u8BD5\u5377\u5E93")),ea.createElement(Zo.Z,{haveInit:!0,init:()=>{ri(new Date)}}),ea.createElement("div",{className:"bg-white"},ea.createElement("div",{style:{display:"flex",justifyContent:"center",paddingTop:20,alignItems:"center"}},ea.createElement("div",{onClick:()=>{if(ei){Ae.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u8BD5\u9898\u3002");return}zo(1)},className:xo===1?He.selectdiv:He.divitem},ea.createElement(ki.Z,{number:1,active:xo===1,className:"mr10"}),ea.createElement("span",null,"\u8BD5\u5377\u57FA\u7840\u4FE1\u606F")),ea.createElement("div",{style:{width:188,border:"1px dotted #9096A3",margin:"0px 30px",height:1}}),ea.createElement("div",{onClick:()=>{if(!$a.exerciseId&&!Pa){Ae.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u57FA\u7840\u4FE1\u606F\u518D\u65B0\u5EFA\u8BD5\u9898");return}zo(2),!Pa&&Fr($a.exerciseId)},className:xo!==1?He.selectdiv:He.divitem},ea.createElement(ki.Z,{number:2,active:xo!==1,className:"mr10"}),ea.createElement("span",null,"\u7F16\u8F91\u8BD5\u9898"))),xo===2&&ea.createElement("div",{className:"tc"},ea.createElement(Hl.Z,{defaultValue:(pn=(wt=vn==null?void 0:vn.editData)==null?void 0:wt.exercise)==null?void 0:pn.exercise_name,onFinish:Nr=>ko(void 0,null,function*(){var Io,ti,Vo,Wi,Ui,Ai,Tl,wl,El,vi,Zl,ao;return Nr.trim()===((ti=(Io=vn==null?void 0:vn.editData)==null?void 0:Io.exercise)==null?void 0:ti.exercise_name)?!0:(yield(0,Zi.wy)({exercise_name:Nr,exercise_description:(Wi=(Vo=vn==null?void 0:vn.editData)==null?void 0:Vo.exercise)==null?void 0:Wi.exercise_description,sub_discipline_id:(Ai=(Ui=vn==null?void 0:vn.editData)==null?void 0:Ui.exercise)==null?void 0:Ai.sub_discipline_id,time:(wl=(Tl=vn==null?void 0:vn.editData)==null?void 0:Tl.exercise)==null?void 0:wl.time,exerciseId:(vi=(El=vn.editData)==null?void 0:El.exercise)==null?void 0:vi.id,difficulty:(ao=(Zl=vn.editData)==null?void 0:Zl.exercise)==null?void 0:ao.difficulty})).status===0?(Ga.setFieldValue("exercise_name",Nr),!0):!1})}),ea.createElement("div",{style:{fontSize:14}},ea.createElement("span",{style:{color:"#5F6368"}},"\u7B54\u9898\u65F6\u957F",ea.createElement("span",{style:{color:"#000000",marginLeft:8}},((xt=(bn=vn==null?void 0:vn.editData)==null?void 0:bn.exercise)==null?void 0:xt.time)||"\u4E0D\u9650")),ea.createElement("span",{style:{margin:"0px 30px",color:"#5F6368"}},"\u96BE\u5EA6",ea.createElement("span",{style:{color:"#000000",marginLeft:8}},((Yt=(qt=vn==null?void 0:vn.editData)==null?void 0:qt.exercise)==null?void 0:Yt.difficulty)===1?"\u7B80\u5355":((Sa=(Kt=vn==null?void 0:vn.editData)==null?void 0:Kt.exercise)==null?void 0:Sa.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),ea.createElement("span",{style:{marginRight:30,color:"#5F6368"}},"\u8BD5\u9898\u603B\u6570",ea.createElement("span",{style:{color:"#000000",marginLeft:8}},((ga=(Nt=vn==null?void 0:vn.editData)==null?void 0:Nt.exercise_types)==null?void 0:ga.q_counts)||0)),ea.createElement("span",{style:{color:"#5F6368"}},"\u603B\u5206",ea.createElement("span",{style:{color:"#000000",marginLeft:8}},(Er=(Cr=vn==null?void 0:vn.editData)==null?void 0:Cr.exercise_types)==null?void 0:Er.q_scores))))),xo===1&&ea.createElement("div",null,ea.createElement("section",{className:[He.bg,"mt20"].join(" "),style:{padding:"30px 120px 300px 120px"}},ea.createElement(De.default,{form:Ga,colon:!1,layout:"horizontal",labelCol:{span:4},wrapperCol:{span:20},initialValues:{time:60},onFinish:Nr=>ko(void 0,null,function*(){var Io,ti,Vo,Wi,Ui;if(ta(!0),In(!0),$a.exerciseId){Nr.exerciseId=(ti=(Io=vn.editData)==null?void 0:Io.exercise)==null?void 0:ti.id,Nr.sub_discipline_id=Nr.courseid[Nr.courseid.length-1],yield(0,Zi.wy)(Na(mr({},Nr),{set_question_sub_discipline:Xi})),zo(2),_l($a==null?void 0:$a.exerciseId),Fr($a.exerciseId),ta(!1),In(!1);return}const Ai=yield(0,te.ZP)(`/api/courses/${$a==null?void 0:$a.coursesId}/exercises/overload_alert.json`,{method:"get",params:{course_id:$a==null?void 0:$a.coursesId}});if(Ai!=null&&Ai.alert)ft({type:"classroomList/setActionTabs",payload:{key:"\u9884\u7EA6\u5F39\u7A97"}});else{const{courseid:Tl}=Nr,[wl,El]=Tl;Nr.sub_discipline_id=El,Nr.is_md=!0,Nr.time=parseInt(Nr.time)>9999?9999:Nr.time,Nr.set_question_sub_discipline=Xi;const vi=yield ft({type:"exercise/addExercise",payload:Na(mr(mr({},Nr),$a),{category_id:Ei.get("catalogue")||null})});vi.status===0&&(_l((Vo=vi.data)==null?void 0:Vo.exercise_id),he.history.replace(`/classrooms/${$a.coursesId}/exercise/add/${(Wi=vi.data)==null?void 0:Wi.exercise_id}?type=2`),Fr((Ui=vi==null?void 0:vi.data)==null?void 0:Ui.exercise_id),zo(2)),In(!1)}ta(!1)}),className:He.formWrap},ea.createElement(De.default.Item,{name:"exercise_name",label:"\u8BD5\u5377\u540D\u79F0",className:He.baseLineHeight,rules:[{required:!0,validator:(Nr,Io)=>{var ti;return((ti=Io==null?void 0:Io.replaceAll(" ",""))==null?void 0:ti.length)>0?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0")}}]},ea.createElement(ze.default,{maxLength:60,className:He.baseFormItem,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",showCount:!0})),ea.createElement(De.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"courseid",className:He.baseLineHeight},ea.createElement(xe.Z,{disabled:di,placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:vt.courseOptions,className:He.baseFormItem,size:"large",popupClassName:He.cascaderPopup,dropdownMenuColumnStyle:{padding:"8px 12px",fontSize:14},allowClear:!0})),ea.createElement("div",{className:He.concat},ea.createElement("div",null,ea.createElement(tt.default,{checked:Xi,onChange:Nr=>{_o(Nr.target.checked)},style:{color:"#000"}},"\u8BBE\u7F6E\u8BE5\u65B9\u5411&\u8BFE\u7A0B\u4E3A\u8BD5\u9898\u6A21\u7248\uFF08\u521B\u5EFA\u65B0\u8BD5\u9898\u81EA\u52A8\u4F7F\u7528\u8BE5\u65B9\u5411&\u8BFE\u7A0B\uFF09")),ea.createElement("div",null,"\u6CA1\u6709\u5408\u9002\u7684\u65B9\u5411&\u8BFE\u7A0B\uFF1F",ea.createElement("a",{onClick:()=>Vi(!0)},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"))),ea.createElement(De.default.Item,{label:"\u96BE\u5EA6",name:"difficulty",className:He.radioBtnWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u5EA6"}]},ea.createElement(Me.ZP.Group,{className:He.radiogroup,disabled:di},ea.createElement(Me.ZP.Button,{className:He.easy,value:1},"\u7B80\u5355"),ea.createElement(Me.ZP.Button,{className:He.medium,value:2},"\u9002\u4E2D"),ea.createElement(Me.ZP.Button,{className:He.hard,value:3},"\u56F0\u96BE"))),ea.createElement(De.default.Item,{label:"\u7B54\u9898\u65F6\u957F",className:He.baseLineHeight},ea.createElement("div",{style:{display:"flex",width:"100%"}},ea.createElement(De.default.Item,{name:"time",noStyle:!0},ea.createElement(Le.Z,{disabled:di,min:1,max:9999,className:He.baseFormItem,style:{width:220},maxLength:60,placeholder:"\u8BF7\u586B\u5199\u7B54\u9898\u65F6\u957F"})),ea.createElement("span",{style:{marginLeft:"10px",width:"40px",lineHeight:"46px",fontSize:14}},"\u5206\u949F"))),ea.createElement(De.default.Item,{label:"\u8BD5\u5377\u987B\u77E5",name:"exercise_description"},ea.createElement(ze.default.TextArea,{disabled:di,rows:6,maxLength:65535,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u987B\u77E5"}))),ea.createElement(An,{exercise_id:$a==null?void 0:$a.exerciseId,setitem:ol})),ea.createElement("div",{className:He.bottmodiv},ea.createElement(_e.ZP,{className:`${He.cancelBtn}`,type:"primary",onClick:()=>{he.history.back()}},"\u53D6\u6D88"),ea.createElement(_e.ZP,{loading:Xr,onClick:()=>{Ga.validateFields(),Ga.submit()},type:"primary",className:`${He.confirmBtn} ml20`},"\u4E0B\u4E00\u6B65")),ea.createElement(z,{setsubloading:In,onModalOk:ci})),xo===2&&ea.createElement("div",null,ea.createElement(fi,{key:rl,setisedits:zi,setitemid:Fr,itemid:Pa}))),ea.createElement(xl.Z,{open:Sl,onCancel:()=>{Vi(!1)}}))};var gu=(0,he.connect)(({classroomList:ue,loading:Ee,user:Pe,problemset:it,globalSetting:vt,exercise:Mn})=>({classroomList:ue,globalSetting:vt,problemset:it,user:Pe,exercise:Mn,loading:Ee.effects}))(fl)},56746:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return Xe}});var b=oe(78241),he=oe(8591),De=oe(43418),Ae=oe(71418),ke=oe(6848),ze=oe(57809),xe=oe(5112),tt=oe(92832),Me=oe(1710),Le=oe(59301),_e=oe(44993),He=oe(52430),Je=oe(89299),le={radio_con:"radio_con___cvwXd",result_con:"result_con___m5Gmr",result_title:"result_title___D7L1n"},E=oe(64681),a=oe(4213),x=oe(98573),y=oe(59301),z=Object.defineProperty,te=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,se=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,be=(Qe,et,we)=>et in Qe?z(Qe,et,{enumerable:!0,configurable:!0,writable:!0,value:we}):Qe[et]=we,We=(Qe,et)=>{for(var we in et||(et={}))ie.call(et,we)&&be(Qe,we,et[we]);if(se)for(var we of se(et))Se.call(et,we)&&be(Qe,we,et[we]);return Qe},Ne=(Qe,et)=>te(Qe,ae(et)),mt=(Qe,et,we)=>new Promise((ht,ct)=>{var It=an=>{try{Pn(we.next(an))}catch(Wt){ct(Wt)}},gt=an=>{try{Pn(we.throw(an))}catch(Wt){ct(Wt)}},Pn=an=>an.done?ht(an.value):Promise.resolve(an.value).then(It,gt);Pn((we=we.apply(Qe,et)).next())});const Re=({shixunHomeworks:Qe,exercise:et,loading:we,dispatch:ht})=>{var ct,It,gt;const{commonHeader:Pn}=et,[an,Wt]=(0,Le.useState)([]),[Tt,Te]=(0,Le.useState)(Ne(We({},(0,_e.useParams)()),{page:1,limit:10})),[ot,Qt]=(0,Le.useState)([]),[An,Bt]=(0,Le.useState)(""),[un,Ce]=(0,Le.useState)(1),[ut]=b.default.useForm(),[Xt,nt]=(0,Le.useState)({}),[Pt,kn]=(0,Le.useState)(null),[dn,kt]=(0,Le.useState)(!1),[Rt,Qn]=(0,Le.useState)([]),[na,tn]=(0,Le.useState)(null),[Fa,_a]=(0,Le.useState)(0),[ya,zn]=(0,Le.useState)(0),[xa,cr]=(0,Le.useState)(!1),Ya=[{title:"\u5E8F\u53F7",dataIndex:"1",width:80,render:(bt,Gt,Da)=>(Tt.page-1)*Tt.limit+Da+1},{title:"\u59D3\u540D",dataIndex:"user_name",ellipsis:!0,width:180},{title:"\u5B66\u53F7",dataIndex:"student_id",align:"left",sorter:!0,render:bt=>bt||"--"},{title:"\u5206\u73ED",dataIndex:"user_group_name",align:"left",render:(bt,Gt)=>y.createElement("div",{className:le.banding,title:bt||"--"},bt||"--")},{title:"\u63D0\u4EA4\u72B6\u6001",width:200,dataIndex:"commit_status",render:(bt,Gt)=>bt===0?y.createElement("span",{style:{color:"#666666"}},"\u672A\u5F00\u59CB"):bt===1?y.createElement("span",{style:{color:"#DF3042"}},!Gt.is_make_up&&"\u8003\u8BD5\u4E2D",Gt.is_make_up&&"\u8003\u8BD5\u4E2D (\u8865\u8003)"):bt===2?y.createElement("span",{style:{color:"#5AB891"}},!Gt.is_make_up&&!Gt.is_force_commit&&"\u5DF2\u4EA4\u5377",Gt.is_make_up&&!Gt.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003)",Gt.is_make_up&&Gt.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003/\u5F3A\u5236)",!Gt.is_make_up&&Gt.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u5F3A\u5236)"):y.createElement("span",{style:{color:"#5AB891"}},!Gt.is_make_up&&!Gt.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54",Gt.is_make_up&&!Gt.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003)",Gt.is_make_up&&Gt.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003/\u5F3A\u5236)",!Gt.is_make_up&&Gt.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u5F3A\u5236)")},{title:(Pn==null?void 0:Pn.exercise_type)==2&&!(0,E.dE)()?"\u6700\u9AD8\u6210\u7EE9":"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",sorter:!0,render:(bt,Gt)=>Gt.commit_status===0||Gt.commit_status===1?"--":!Gt.open_total_score&&(0,E.dE)()?"\u8001\u5E08\u5BA1\u6838\u4E2D":(bt=typeof bt=="number"?Number(bt):bt,console.log(typeof bt),bt||(bt=0),bt===100?y.createElement("span",{className:"c-green"},bt):bt>60?y.createElement("span",{className:"c-orange"},bt):bt==ya*.6?y.createElement("span",{className:"c-red"},bt):y.createElement("span",null,bt))}].filter(bt=>!!bt);(0,Le.useEffect)(()=>{var bt;((bt=et.actionTabs)==null?void 0:bt.key)=="\u6D4B\u8BD5AI\u8BC4\u5206"&&(Qn([]),tn(null),Kn(),$n(Tt))},[(ct=et.actionTabs)==null?void 0:ct.key]);const Kn=()=>mt(void 0,null,function*(){var bt;if(!((bt=et.actionTabs)!=null&&bt.showSelectQuestion))return;const Gt=yield(0,He.ZP)(`/api/exercises/${Tt==null?void 0:Tt.categoryId}/all_subj_questions.json`,{method:"get"});Gt.status==0&&Qn(Gt.data)}),sa=(bt,Gt)=>{Tt.page=bt,Tt.limit=Gt,Te(We({},Tt)),$n(Tt)},$n=bt=>mt(void 0,null,function*(){cr(!0);const Gt=yield(0,He.ZP)(`/api/exercises/${Tt.categoryId||(Tt==null?void 0:Tt.exerciseId)}/exercise_users.json`,{method:"get",params:bt});Gt.status==0&&(_a(Gt.data.total_count),Te(Ne(We({},Tt),{total:Gt.data.total_count})),Wt(Gt.data.exercise_users),zn(Gt.data.total_score)),cr(!1)}),oa=bt=>{Tt.search=bt,Tt.page=1,ut.resetFields(),nt({}),Qt([]),kn(null),Te(We({},Tt)),$n(Tt)},Ea=bt=>mt(void 0,null,function*(){var Gt,Da;const va=We({},Xt);if(!((Gt=bt==null?void 0:bt.content)!=null&&Gt.trim())){he.ZP.warning("\u8BF7\u8F93\u5165\u7B54\u9898\u5185\u5BB9\uFF01");return}va.content=bt==null?void 0:bt.content,va.attachment_ids=(Da=bt==null?void 0:bt.attachment_ids)==null?void 0:Da.map(wa=>wa.response.id),Va(va)}),Va=bt=>mt(void 0,null,function*(){var Gt;kt(!0);const{showSelectQuestion:Da,ai_review_settings:va}=et.actionTabs,wa=yield(0,He.ZP)(`/api/exercises/${(Tt==null?void 0:Tt.categoryId)||(Tt==null?void 0:Tt.exerciseId)}/test_ai_review.json`,{method:"post",body:Ne(We({},bt),{exercise_question_id:Da?na:(Gt=et.actionTabs)==null?void 0:Gt.questionId,ai_review_settings:va})});if([0,-3].includes(wa.status)){wa.status==0&&he.ZP.success("\u8BC4\u5206\u6D4B\u8BD5\u6210\u529F\uFF01"),kn(wa);const pa=document.querySelector(".modal-ai-pfcs");if(pa){const ja=pa.querySelector(".ant-modal-body");ja&&(ja.scrollTop=ja.scrollHeight)}}kt(!1)}),En=()=>{ht({type:"exercise/setActionTabs",payload:{key:""}}),Ce(1),rn()},rn=()=>{ut.resetFields(),nt({}),Qt([]),Bt(""),kn(null)};return y.createElement(De.default,{className:"modal-ai-pfcs",width:1150,bodyStyle:{maxHeight:"calc(100vh - 200px)",overflowY:"auto"},centered:!0,title:"\u6D4B\u8BD5AI\u8BC4\u5206",confirmLoading:dn,open:((It=et.actionTabs)==null?void 0:It.key)==="\u6D4B\u8BD5AI\u8BC4\u5206",destroyOnClose:!0,onCancel:()=>En(),okText:Pt?"\u91CD\u65B0\u6D4B\u8BD5":"\u5F00\u59CB\u6D4B\u8BD5",onOk:()=>{var bt;if((bt=et.actionTabs)!=null&&bt.showSelectQuestion&&!na)return he.ZP.warning("\u8BF7\u9009\u62E9\u9898\u76EE\uFF01");if(un==1){if(ot.length==0)return he.ZP.warning("\u8BF7\u9009\u62E9\u4E00\u4F4D\u5B66\u751F\u8BD5\u5377\u8FDB\u884C\u8BC4\u5206\u6D4B\u8BD5\uFF01");Va({exercise_user_id:ot[0]})}else un==2&&ut.submit()}},y.createElement(Ae.Z,{spinning:dn,tip:"\u6D4B\u8BD5AI\u8BC4\u5206\u4E2D\u2026\u2026"},((gt=et.actionTabs)==null?void 0:gt.showSelectQuestion)&&y.createElement("div",{className:"flex item-center justify-between mb10"},y.createElement("div",{style:{width:120,margin:"0 10px",display:"flex",alignItems:"center"}},y.createElement("span",{style:{color:"red",marginRight:5}},"*"),"\u9009\u62E9\u9898\u76EE",y.createElement(ke.Z,{title:"\u667A\u80FD\u8BC4\u9605\u76EE\u524D\u4EC5\u652F\u6301\u7B80\u7B54\u9898\uFF08\u542B\u7EC4\u5408\u9898\u4E2D\u7684\u7B80\u7B54\u9898\uFF09"},y.createElement("i",{className:`iconfont icon-tishixiaowenhao ${le.title_icon}`,style:{cursor:"pointer",marginLeft:5,fontSize:"14px"}}))),y.createElement(ze.default,{style:{width:"calc(100% - 110px)"},size:"large",placeholder:"\u8BF7\u9009\u62E9\u9898\u76EE",value:na,onChange:bt=>tn(bt)},Rt==null?void 0:Rt.map(bt=>y.createElement(ze.default.Option,{key:bt==null?void 0:bt.id,value:bt==null?void 0:bt.id},bt==null?void 0:bt.question_title)))),y.createElement("div",{className:le.radio_con},y.createElement("span",{style:{marginRight:32}},"\u6D4B\u8BD5\u65B9\u5F0F"),y.createElement(xe.ZP.Group,{onChange:bt=>{bt.target.value==1&&sa(1,10),Ce(bt.target.value),rn()},value:un,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"}}]})),un==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:An,onChange:bt=>Bt(bt.target.value),onSearch:oa})),y.createElement(Me.default,{rowSelection:{type:"radio",selectedRowKeys:ot,onChange:(bt,Gt)=>{Qt(bt)},getCheckboxProps:bt=>({disabled:[0,1].includes(bt==null?void 0:bt.commit_status)})},loading:xa,rowKey:"exercise_user_id",dataSource:an||[],columns:Ya,pagination:{current:Tt.page,hideOnSinglePage:!0,showQuickJumper:!0,showSizeChanger:!0,pageSize:Tt.limit,className:"mb0",pageSizeOptions:["10","20","50","100","200"],total:Fa,size:"default",showTotal:Je.rU,onChange:sa},onChange:(bt,Gt,Da)=>{Tt.page=1,Da.order===void 0?(Tt.order_type=null,Tt.order=null):(Tt.order_type=Da.order==="descend"?"desc":"asc",Tt.order=Da.field),Te(We({},Tt)),$n(Tt)}})),un==2&&y.createElement("div",{style:{marginTop:20}},y.createElement(b.default,{form:ut,className:le.formWrap,scrollToFirstError:!0,layout:"vertical",onValuesChange:()=>{nt(We({},ut.getFieldsValue()))},onFinish:Ea},y.createElement(b.default.Item,{name:"content",label:"",style:{marginBottom:0}},y.createElement(a.Z,{watch:!0})))),Pt&&y.createElement("div",{className:le.result_con},y.createElement("div",{className:le.result_title},"AI\u8BC4\u5206\u7ED3\u679C"),(Pt==null?void 0:Pt.status)==0&&y.createElement("div",{className:"p20"},y.createElement("div",{className:"mb5"},y.createElement("span",{style:{color:"#333",fontWeight:"bold"}},"\u8BC4\u5206\uFF1A"),Pt==null?void 0:Pt.score),y.createElement("div",{className:"flex"},y.createElement("span",{style:{color:"#333",fontWeight:"bold",whiteSpace:"nowrap",lineHeight:"26px"}},"\u8BC4\u8BED\uFF1A"),y.createElement(x.Z,{value:Pt==null?void 0:Pt.content,style:{fontSize:"14px"}}))),(Pt==null?void 0:Pt.status)==-3&&y.createElement("div",{className:"p20"},y.createElement(x.Z,{value:Pt==null?void 0:Pt.message,style:{fontSize:"14px"}})))))};var Xe=(0,_e.connect)(({shixunHomeworks:Qe,exercise:et,loading:we,user:ht})=>({shixunHomeworks:Qe,exercise:et,loading:we.effects,user:ht}))(Re)},55537:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return E}});var b=oe(59301),he=oe(8591),De=oe(43418),Ae=oe(19842),ke=oe(54580),ze=oe(3113),xe=oe(13952),tt=oe(89299),Me=oe(52430),Le=oe(44993),_e={customModal:"customModal___bVzUV",content:"content___oKhZq",upload:"upload___nPxEL",infoText:"infoText___gZEJF",okBtn:"okBtn___CVo2A",fileList:"fileList___tauGN",fileName:"fileName___T_8JX",selectitems:"selectitems___imW2Y"},He=oe(59301),Je=(a,x,y)=>new Promise((z,te)=>{var ae=Se=>{try{ie(y.next(Se))}catch(be){te(be)}},se=Se=>{try{ie(y.throw(Se))}catch(be){te(be)}},ie=Se=>Se.done?z(Se.value):Promise.resolve(Se.value).then(ae,se);ie((y=y.apply(a,x)).next())}),E=({visible:a,onOk:x,onCancel:y,sub_discipline_id:z=[]})=>{const[te,ae]=(0,b.useState)([]),[se,ie]=(0,b.useState)(!1),Se=(0,Le.useParams)(),[be,We]=(0,b.useState)([]),[Ne,mt]=(0,b.useState)([]);(0,b.useEffect)(()=>{a?Re():(mt([]),ae([]),ie(!1))},[a]);const Re=()=>Je(void 0,null,function*(){const ct=yield(0,Me.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});We(ct.disciplines||[]),mt((z==null?void 0:z.length)>0?z:[])}),Xe=()=>{if((Ne==null?void 0:Ne.length)===0)return he.ZP.warning("\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF01");console.log("subDisciplineId",Ne),ie(!0),x(te,Ne[1],()=>{ie(!1)})},Qe=()=>{y()},et=()=>{const ct=`${xe.Z.API_SERVER}/api/courses/${Se.coursesId}/exercises/down_template`;(0,tt.Nd)(null,ct)},we=ct=>{const It={name:ct.name,uid:ct.uid,file:ct};return ae([It]),!1},ht=()=>{ae([])};return He.createElement(De.default,{title:"\u5BFC\u5165\u8BD5\u9898",open:a,onOk:Xe,centered:!0,wrapClassName:_e.customModal,onCancel:Qe,width:663,okText:"\u786E\u8BA4",okButtonProps:{className:_e.okBtn},cancelText:"\u53D6\u6D88",confirmLoading:se},He.createElement("div",{className:_e.content},He.createElement("aside",null,He.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA41"),He.createElement("ul",null,He.createElement("li",null,He.createElement("span",{style:{color:"#5F6367"}},"\u6839\u636E\u6A21\u677F\u8981\u6C42\u7F16\u8F91\u9700\u8981\u4E0A\u4F20\u7684\u8BD5\u9898"),He.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginLeft:20},onClick:et},"\u4E0B\u8F7D\u8003\u8BD5\u8BD5\u9898\u6A21\u677F"),He.createElement("i",{className:"iconfont icon-xiazai4 ml10",onClick:et,style:{fontSize:14,cursor:"pointer",color:"#0152d9"}})),He.createElement("li",{style:{color:"#FA6400"},className:"mt10"},"\u63D0\u793A"),He.createElement("li",{className:_e.infoText},"1\u3001\u76EE\u524D\u4EC5\u652F\u6301Excel\u683C\u5F0F\u6A21\u677F\uFF1B "),He.createElement("li",{className:_e.infoText},"2\u3001\u4E0D\u652F\u6301\u7EC4\u5408\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B"),He.createElement("li",{className:_e.infoText},"3\u3001\u6BCF\u6B21\u6700\u591A\u5BFC\u5165300\u9898\uFF1B"),He.createElement("li",{className:_e.infoText},"4\u3001\u586B\u7A7A\u9898\u5BFC\u5165\u6700\u591A\u652F\u63018\u4E2A\u586B\u7A7A\u9879\u3002"))),He.createElement("aside",{style:{marginTop:22}},He.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA42"),He.createElement("ul",{style:{flex:1}},He.createElement("li",{style:{color:"#5F6367"}},"\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF0C\u4E0A\u4F20\u7F16\u8F91\u597D\u7684\u8BD5\u9898\u6587\u6863\uFF0C\u786E\u5B9A\u5BFC\u5165"),a&&He.createElement(He.Fragment,null,He.createElement(Ae.Z,{value:Ne,className:_e.selectitems,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:be,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(ct,It)=>{mt(ct||[])}}),He.createElement("br",null),He.createElement(ke.default,{action:`${xe.Z.API_SERVER}/api/attachments.json`,beforeUpload:we,onRemove:ht,withCredentials:!0,fileList:te,accept:".xls,.xlsx",showUploadList:!1},He.createElement(ze.ZP,{className:_e.upload,type:"primary",icon:He.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6"))),te.map((ct,It)=>He.createElement("div",{key:It,className:_e.fileList},He.createElement("span",{className:_e.fileName},ct==null?void 0:ct.name),He.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#F65160",fontSize:16,cursor:"pointer"},onClick:ht})))))))}},18034:function(yt,_t,oe){"use strict";var b=oe(59301),he=oe(43418),De=oe(52430),Ae=oe(44993),ke=oe(59301),ze=(tt,Me,Le)=>new Promise((_e,He)=>{var Je=a=>{try{E(Le.next(a))}catch(x){He(x)}},le=a=>{try{E(Le.throw(a))}catch(x){He(x)}},E=a=>a.done?_e(a.value):Promise.resolve(a.value).then(Je,le);E((Le=Le.apply(tt,Me)).next())});const xe=({exercise:tt,dispatch:Me,init:Le,haveInit:_e=!1})=>{const He=(0,Ae.useParams)(),[Je,le]=(0,b.useState)(!1);let[E,a]=(0,b.useState)();const[x,y]=(0,b.useState)(!1),[z,te]=(0,b.useState)(!1);(0,b.useEffect)(()=>{tt.actionTabs.key==="\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93"&&ae()},[tt.actionTabs]);function ae(){return ze(this,null,function*(){var se,ie;let Se=yield(0,De.ZP)(`/api/courses/${He==null?void 0:He.coursesId}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:tt.actionTabs.selectArrs}});if(((se=Se==null?void 0:Se.cover_exercises)==null?void 0:se.length)>0)le(!0),a((ie=Se==null?void 0:Se.cover_exercises)==null?void 0:ie[0]);else{let be=yield(0,De.ZP)(`/api/courses/${He==null?void 0:He.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:tt.actionTabs.selectArrs}});Me({type:"exercise/setActionTabs",payload:{key:""}}),(be==null?void 0:be.status)===0&&(_e&&Le(),he.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Ae.history.push("/paperlibrary")}}))}})}return ke.createElement("div",null,ke.createElement(he.default,{open:Je,centered:!0,onCancel:se=>ze(void 0,null,function*(){if(se.target.outerText==="\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"){y(!0);let ie=yield(0,De.ZP)(`/api/courses/${He==null?void 0:He.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:tt.actionTabs.selectArrs,update:1}});Me({type:"exercise/setActionTabs",payload:{key:""}}),y(!1),(ie==null?void 0:ie.status)===0&&(_e&&Le(),le(!1),he.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Ae.history.push("/paperlibrary")}}))}else le(!1)}),cancelButtonProps:{loading:x},okText:"\u5F62\u6210\u65B0\u8BD5\u5377",cancelText:"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377",okButtonProps:{loading:z},onOk:()=>ze(void 0,null,function*(){te(!0);let se=yield(0,De.ZP)(`/api/courses/${He==null?void 0:He.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:tt.actionTabs.selectArrs}});te(!1),(se==null?void 0:se.status)===0&&(_e&&Le(),Me({type:"exercise/setActionTabs",payload:{key:""}}),le(!1),he.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Ae.history.push("/paperlibrary")}}))}),title:"\u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"},ke.createElement("div",null,ke.createElement("p",null,"\u8BE5\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),ke.createElement("div",null,ke.createElement("div",null,"\u8BD5\u5377\uFF1A",E==null?void 0:E.origin_exercise_nam),ke.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",ke.createElement("a",{href:`/paperlibrary/see/${E==null?void 0:E.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},E==null?void 0:E.examination_bank_name))))))};_t.Z=(0,Ae.connect)(({exercise:tt})=>({exercise:tt}))(xe)},7051:function(yt,_t,oe){"use strict";oe.d(_t,{h:function(){return b}});var b=(he=>(he[he.NOMATCH=-1]="NOMATCH",he[he.OK=0]="OK",he[he.TIMEOUT=2]="TIMEOUT",he[he.PODFAILURE=3]="PODFAILURE",he[he.COMPILEFAILURE=4]="COMPILEFAILURE",he[he.EXECUTEFAILURE=5]="EXECUTEFAILURE",he[he.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",he))(b||{})},78837:function(yt,_t,oe){"use strict";oe.d(_t,{H7:function(){return E},MK:function(){return le},MU:function(){return Le},X6:function(){return He},bM:function(){return Me},fi:function(){return a},fu:function(){return tt},n4:function(){return x},rX:function(){return Je},vl:function(){return y},zO:function(){return _e}});var b=oe(52430),he=Object.defineProperty,De=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,ze=(z,te,ae)=>te in z?he(z,te,{enumerable:!0,configurable:!0,writable:!0,value:ae}):z[te]=ae,xe=(z,te)=>{for(var ae in te||(te={}))Ae.call(te,ae)&&ze(z,ae,te[ae]);if(De)for(var ae of De(te))ke.call(te,ae)&&ze(z,ae,te[ae]);return z};function tt(z,te){return(0,b.U2)(`myproblems/${z}.json`,xe({hidePopLogin:!0},te||{}))}function Me(z,te){return(0,b.v_)(`myproblems/${z}/code_submit.json`,te)}function Le(z,te){return(0,b.v_)(`myproblems/${z}/code_debug.json`,te)}function _e(z,te){return te.language&&(te.language=encodeURIComponent(te.language)),(0,b.U2)(`myproblems/${z}/submit_records.json`,te)}function He(z){return(0,b.U2)("myproblems/record_detail.json",{id:z})}function Je(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)}},68381:function(yt,_t,oe){"use strict";var b=oe(59301),he=oe(6848),De=oe(92832),Ae=oe(8591),ke=oe(62775),ze=oe(59301),xe=(Me,Le,_e)=>new Promise((He,Je)=>{var le=x=>{try{a(_e.next(x))}catch(y){Je(y)}},E=x=>{try{a(_e.throw(x))}catch(y){Je(y)}},a=x=>x.done?He(x.value):Promise.resolve(x.value).then(le,E);a((_e=_e.apply(Me,Le)).next())});const tt=({defaultValue:Me,onFinish:Le})=>{const[_e,He]=(0,b.useState)(!1),[Je,le]=(0,b.useState)(Me);return(0,b.useEffect)(()=>{le(Me)},[Me]),ze.createElement("div",null,_e?ze.createElement(De.default,{autoFocus:!0,maxLength:60,style:{textAlign:"center",marginTop:20,marginBottom:20},value:Je,onChange:E=>{le(E.target.value)},onBlur:()=>xe(void 0,null,function*(){var E;if(((E=Je==null?void 0:Je.replaceAll(" ",""))==null?void 0:E.length)<=0){Ae.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Le(Je))&&He(!1)}),onPressEnter:()=>xe(void 0,null,function*(){var E;if(((E=Je==null?void 0:Je.replaceAll(" ",""))==null?void 0:E.length)<=0){Ae.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Le(Je))&&He(!1)})}):ze.createElement("div",{className:ke.Z.title},Je,ze.createElement(he.Z,{title:"\u7F16\u8F91\u8BD5\u5377\u540D\u79F0"},ze.createElement("i",{className:`${ke.Z.editIcon} iconfont icon-bianji_Hover`,onClick:()=>He(!0)}))))};_t.Z=tt},32793:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return Le}});var b=oe(43418),he={ul:"ul___TdfYY"},De=oe(32637),Ae=oe(59301),ke=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,tt=(_e,He)=>{var Je={};for(var le in _e)ze.call(_e,le)&&He.indexOf(le)<0&&(Je[le]=_e[le]);if(_e!=null&&ke)for(var le of ke(_e))He.indexOf(le)<0&&xe.call(_e,le)&&(Je[le]=_e[le]);return Je},Le=_e=>{var He=_e,{open:Je,onCancel:le}=He,E=tt(He,["open","onCancel"]);return Ae.createElement(b.default,{centered:!0,open:Je,title:Ae.createElement("div",{style:{fontWeight:"bold"}},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"),width:"696px",onCancel:le,footer:null},Ae.createElement("div",null,Ae.createElement("div",{className:"tc"},Ae.createElement("img",{className:"mt10",src:De,width:"182px",height:"181px",style:{borderRadius:"2px",border:"1px solid #D8E3E9"}})),Ae.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16 mt10"},"\u514D\u8D39\u6559\u7814\u52A9\u7406"),Ae.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16"},"\u5FAE\u4FE1\u626B\u4E00\u626B\u6DFB\u52A0"),Ae.createElement("div",{style:{color:"#333"},className:"pt30 font14"},Ae.createElement("ul",{className:he.ul},Ae.createElement("li",null,"1\u3001\u89E3\u7B54\u8001\u5E08\u7591\u60D1\u3001\u5E2E\u52A9\u8001\u5E08\u66F4\u5FEB\u719F\u6089\u548C\u4F7F\u7528\u5E73\u53F0\u6559\u5B66\u3002"),Ae.createElement("li",null,"2\u3001\u534F\u52A9\u8001\u5E08\u521B\u5EFA\u8BFE\u5802\u3001\u8BFE\u7A0B\u8BBE\u8BA1\u3001\u505A\u597D\u6559\u5B66\u5DE5\u4F5C\u3002"),Ae.createElement("li",null,"3\u3001\u6839\u636E\u8001\u5E08\u6559\u5B66\u65B9\u5411\uFF0C\u5206\u4EAB\u5934\u6B4C\u5E73\u53F0C9\u9662\u6821\u3001985\u9AD8\u6821\u3001211\u9AD8\u6821\u3001\u53CC\u4E00\u6D41\u9AD8\u6821\u8001\u5E08\u7ECF\u5178\u5B9E\u8DF5\u6559\u5B66\u6848\u4F8B\u3002")))))}},61881:function(yt,_t,oe){"use strict";oe.d(_t,{I:function(){return he}});var b=oe(59301);const he=()=>{const[De,Ae]=(0,b.useState)("hidden");return{overflow:De,handleMouseEnter:()=>Ae("auto"),handleMouseLeave:()=>Ae("hidden")}}},77578:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return b}});const b=he=>he?typeof he=="function"?he():he:null},66104:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return et}});var b=oe(92310),he=oe.n(b),De=oe(11592),Ae=oe(26112),ke=oe(59301),ze=oe(92343),xe=oe(36355),tt=oe(84105),Me=oe(91857);const Le=we=>{let{children:ht}=we;const{getPrefixCls:ct}=ke.useContext(xe.E_),It=ct("breadcrumb");return ke.createElement("li",{className:`${It}-separator`,"aria-hidden":"true"},ht===""?ht:ht||"/")};Le.__ANT_BREADCRUMB_SEPARATOR=!0;var _e=Le,He=function(we,ht){var ct={};for(var It in we)Object.prototype.hasOwnProperty.call(we,It)&&ht.indexOf(It)<0&&(ct[It]=we[It]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,It=Object.getOwnPropertySymbols(we);gtht[gt]||It)}function le(we,ht,ct,It){if(ct==null)return null;const{className:gt,onClick:Pn}=ht,an=He(ht,["className","onClick"]),Wt=Object.assign(Object.assign({},(0,Ae.Z)(an,{data:!0,aria:!0})),{onClick:Pn});return It!==void 0?ke.createElement("a",Object.assign({},Wt,{className:he()(`${we}-link`,gt),href:It}),ct):ke.createElement("span",Object.assign({},Wt,{className:he()(`${we}-link`,gt)}),ct)}function E(we,ht){return(It,gt,Pn,an,Wt)=>{if(ht)return ht(It,gt,Pn,an);const Tt=Je(It,gt);return le(we,It,Tt,Wt)}}var a=function(we,ht){var ct={};for(var It in we)Object.prototype.hasOwnProperty.call(we,It)&&ht.indexOf(It)<0&&(ct[It]=we[It]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,It=Object.getOwnPropertySymbols(we);gt{const{prefixCls:ht,separator:ct="/",children:It,menu:gt,overlay:Pn,dropdownProps:an,href:Wt}=we,Te=(ot=>{if(gt||Pn){const Qt=Object.assign({},an);if(gt){const An=gt||{},{items:Bt}=An,un=a(An,["items"]);Qt.menu=Object.assign(Object.assign({},un),{items:Bt==null?void 0:Bt.map((Ce,ut)=>{var{key:Xt,title:nt,label:Pt,path:kn}=Ce,dn=a(Ce,["key","title","label","path"]);let kt=Pt!=null?Pt:nt;return kn&&(kt=ke.createElement("a",{href:`${Wt}${kn}`},kt)),Object.assign(Object.assign({},dn),{key:Xt!=null?Xt:ut,label:kt})})})}else Pn&&(Qt.overlay=Pn);return ke.createElement(Me.Z,Object.assign({placement:"bottom"},Qt),ke.createElement("span",{className:`${ht}-overlay-link`},ot,ke.createElement(tt.Z,null)))}return ot})(It);return Te!=null?ke.createElement(ke.Fragment,null,ke.createElement("li",null,Te),ct&&ke.createElement(_e,null,ct)):null},y=we=>{const{prefixCls:ht,children:ct,href:It}=we,gt=a(we,["prefixCls","children","href"]),{getPrefixCls:Pn}=ke.useContext(xe.E_),an=Pn("breadcrumb",ht);return ke.createElement(x,Object.assign({},gt,{prefixCls:an}),le(an,gt,ct,It))};y.__ANT_BREADCRUMB_ITEM=!0;var z=y,te=oe(17313),ae=oe(83116),se=oe(37613);const ie=we=>{const{componentCls:ht,iconCls:ct}=we;return{[ht]:Object.assign(Object.assign({},(0,te.Wf)(we)),{color:we.itemColor,fontSize:we.fontSize,[ct]:{fontSize:we.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:we.linkColor,transition:`color ${we.motionDurationMid}`,padding:`0 ${we.paddingXXS}px`,borderRadius:we.borderRadiusSM,height:we.lineHeight*we.fontSize,display:"inline-block",marginInline:-we.marginXXS,"&:hover":{color:we.linkHoverColor,backgroundColor:we.colorBgTextHover}},(0,te.Qy)(we)),"li:last-child":{color:we.lastItemColor},[`${ht}-separator`]:{marginInline:we.separatorMargin,color:we.separatorColor},[`${ht}-link`]:{[` +`),$t.focus();default:throw new Error}},[$t,Un]),oi=(0,b.useMemo)(()=>{switch(Un){case Va:return b.createElement(Wt,{callback:Zr,onCancel:Yo});case Da:return b.createElement(_t.Z,{callback:Zr,onCancel:Yo});case Pn:return b.createElement(Te.Z,{callback:Zr,onCancel:Yo});case an:return b.createElement(aa,{callback:Zr,onCancel:Yo});case pa:return b.createElement(Vn,{callback:Zr,onCancel:Yo});case"maths-latex":return b.createElement(da,{showSaveButton:!0,callback:Zr});case"inline-latex":return b.createElement(ea.Z,{showSaveButton:!0,callback:Zr});default:return null}},[Un]);function Yo(){qa("")}(0,b.useEffect)(()=>{if(fo.current){let Za=function(gn){pt=!0,xt=gn.pageY},Hn=function(){pt=!1},kn=function(gn){if(pt){let Et=gn.pageY-xt;Et<0&&(Et=0),Et>300&&(Et=300);let wn=Bt+Et+"px";nr(wn)}},me=fo.current,pt=!1,xt=0;return me.addEventListener("mousedown",Za),document.addEventListener("mousemove",kn),document.addEventListener("mouseup",Hn),()=>{me.removeEventListener("mousedown",Za),document.removeEventListener("mousemove",kn),document.removeEventListener("mouseup",Hn)}}},[$t,fo]),(0,b.useEffect)(()=>{nr(Bt)},[Bt]);const ul=at(Ue),wi=at(_r),Ki={width:ul,height:wi},Oo=(0,b.useMemo)(()=>{if(Ka){let Za=new Date(Ka),Hn=Za.getHours(),kn=Za.getMinutes(),me=Za.getSeconds();return Hn=Hn<10?"0"+Hn:Hn,kn=kn<10?"0"+kn:kn,me=me<10?"0"+me:me,`${Hn}:${kn}:${me}`}return 0},[Ka]),yl=Za=>{const Hn=[];if(lr){let kn=-1;Za=Za.replace(/(@▁▁@|@▁@)/g,function(me,pt,xt){Hn.push({multiLine:me!==qn})})}return Hn};function Kl(){window.sessionStorage.removeItem(jn),Co(!1),pr(0)}function Mi(){Co(!1),pr(0),$t.setValue(window.sessionStorage.getItem(jn))}(0,b.useEffect)(()=>{mn[Un]&&Un!==bt&&Un!==an&&setTimeout(()=>{const Za=document.getElementsByClassName("markdown-popup-form")[0],Hn=window.innerWidth/2-Za.offsetWidth/2,kn=window.innerHeight/2-Za.offsetHeight/2;za(Hn),Hr(kn)},0)},[Un]);const Gi=Za=>{Za.preventDefault();const Hn=Za.clientX-uo,kn=Za.clientY-Tr;document.body.onmousemove=me=>{let pt=me.clientX-Hn,xt=me.clientY-kn;const gn=document.getElementsByClassName("markdown-popup-form")[0],Et=window.innerWidth-gn.offsetWidth,wn=window.innerHeight-gn.offsetHeight;pt=Math.max(0,Math.min(pt,Et)),xt=Math.max(0,Math.min(xt,wn)),sl(me.clientX,me.clientY,Hn,kn)&&(za(pt),Hr(xt))},document.body.onmouseup=function(){document.body.onmousemove=null}},sl=(Za,Hn,kn,me)=>{const pt=document.body.clientHeight,xt=document.body.clientWidth;return Za<20&&kn>Za||Za>xt-20&&knHn||Hn>pt-20&&memt in Ne?He(Ne,mt,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ne[mt]=Re,z=(Ne,mt)=>{for(var Re in mt||(mt={}))a.call(mt,Re)&&y(Ne,Re,mt[Re]);if(E)for(var Re of E(mt))x.call(mt,Re)&&y(Ne,Re,mt[Re]);return Ne},te=(Ne,mt)=>Ke(Ne,le(mt));const{useForm:ae}=b.default,se={width:280,marginRight:10},ie={labelCol:{span:5},wrapperCol:{span:19}};var Se=({callback:Ne,onCancel:mt})=>{const[Re]=ae();let Je=(0,Me.useRef)();function Qe(ht){Je.current.width=Re.getFieldValue("width"),Je.current.align=Re.getFieldValue("align"),Ne(ht,Je.current)}function et(ht,ct){if(ht.status===-1){he.ZP.error(ht.message);return}Re.setFieldsValue({src:`/api/attachments/${ht.id}`,type:ct.type})}function we(ht){let ct=ht.target.files[0];Je.current=ct,We(ct,et)}return _e.createElement(b.default,te(z({form:Re},ie),{className:"upload-image-panel",onFinish:Qe,style:{width:470,overflow:"hidden"}}),_e.createElement(b.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},_e.createElement("div",{className:"flex-container"},_e.createElement(b.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},_e.createElement(De.default,{style:se})),_e.createElement(be,{onFileChange:we}))),_e.createElement(b.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},_e.createElement(De.default,{style:{width:264}})),_e.createElement(b.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},_e.createElement(Ae.Z,null,_e.createElement(b.default.Item,{name:"width",style:{margin:0}},_e.createElement(ke.Z,{style:{width:264}})),_e.createElement("span",{className:"ml8"},"%"))),_e.createElement(b.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},_e.createElement(ze.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),_e.createElement("aside",null,_e.createElement(b.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},_e.createElement(xe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),_e.createElement(xe.ZP,{type:"default",onClick:mt},"\u53D6\u6D88"))))};function be({onFileChange:Ne}){return _e.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",_e.createElement("input",{type:"file",onChange:Ne}))}function We(Ne,mt){if(!Ne)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Le.bg)())throw he.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Re=new FormData;Re.append("editormd-image-file",Ne),Re.append("file_param_name","editormd-image-file"),Re.append("byxhr","true");var Je=new window.XMLHttpRequest;Je.withCredentials=!0,Je.addEventListener("load",function(Qe){mt(JSON.parse(Qe.target.responseText),Ne)},!1),Je.addEventListener("error",function(Qe){console.error(Qe)},!1),Je.open("POST",`${tt.KI}/api/attachments.json`),Je.send(Re)}},51498:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return De}});var b=oe(59301),he=oe(4676);class De extends b.Component{constructor(ke){super(ke);const ze=window.document;this.node=ze.createElement("div"),ze.body.appendChild(this.node)}render(){const{children:ke}=this.props;return(0,he.createPortal)(ke,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},36867:function(yt,kt,oe){"use strict";oe.d(kt,{i:function(){return se},Z:function(){return Se}});var b={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},he=oe(71418),De=oe(6848),Ae=oe(92310),ke=oe.n(Ae),ze=oe(89299),xe=oe(63604),tt=oe(64681),Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57d0WUK6DuigYSeglFMJQIhBJSIIYUQgohObPP9/1l/pmcE7h9nvCcc+bMzJn53v/9vvcrWABQfuovrf3VeMeClWhbVrwFC5Zl0Vfi1aLP/EHu976K42wAtmXBx2cCtk9ew+ZT+bsbbT4/XUWeT1cUf4Bt61faY9v8a2I/vxXn0X7+p86l/bYftu3n7/30Sof6bdAd2351LXmMOl++0nUt/hlxnrg+vVe/6xfPbRwv7oeuJ+5RfUdPz/uMe5VP5zwfkOeDf6tlhUxqPXxOtkXgVFfVHLFgNYHlcwBRIBE+cIPEexg4+hPn0K0IPCz4A4GkrH4DkCxpEDa2fCAFqzC8AsMBifYLI6p93vdkUGUwtzEtCZC4bg0bXxnRNDrdlwBIfG8eoxZP3SCJc+sEicEUhvLBLrQsXw+r5Ognn8LGk4IoPiiQhB1vzCQ+XjHNeP2/AUkZU8Jpg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ES/v3D+oyz8+Jp/jgX+AT+bS/shEzsoAAAAAElFTkSuQmCC",ae=oe(59301);const se=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Me,swimg:Le},{name:"101\u8BA1\u5212",ptimg:_e,swimg:He},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Ke,swimg:le},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:E,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:x,swimg:y},{name:"\u519B\u961F\u4E00\u6D41",ptimg:z,swimg:te}];var Se=({className:be,dataSource:We=[],col:Ne=4,right:mt,bottom:Re=23,precision:Je=0,wrapWidth:Qe=1200,trackEventItems:et,loading:we,onRemove:ht=()=>{},isCurrent:ct=!0,showAlias:Lt=!1})=>{const gt=Math.floor((Qe-(Ne-1)*mt)/Ne),yn=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(nn=>(window.ENV==="build"&&(nn.ptimg=`/react/build${nn.ptimg}`,nn.swimg=`/react/build${nn.swimg}`),nn));return ae.createElement(he.Z,{spinning:we},ae.createElement("div",{className:ke()(b.list,be)},!!(We!=null&&We.length)&&(We==null?void 0:We.map((nn,Wt)=>{var _t;const{name:Te,id:ot,identifier:Ut,featured:xn,school_name:At,image_url:ln,excellent:Ce,is_plan:ut}=nn;return ae.createElement("div",{key:ot,className:b.wrap,style:{width:gt,marginRight:(1+Wt)%Ne===0?0:mt+Je,marginBottom:Re}},ae.createElement("a",{className:b.li,onClick:Xt=>{Xt.preventDefault(),Xt.stopPropagation(),et&&(0,ze.L9)([et]),(0,ze.xg)(`/paths/${Ut}`)}},ae.createElement("div",{className:b.img},ae.createElement("img",{className:b.cover,src:`${ln}`}),ct&&(0,tt.bg)()&&(nn==null?void 0:nn.studying)&&ae.createElement("div",{className:`${b.movebq} user-path-items`,onClick:Xt=>{Xt.stopPropagation(),ht(nn)}},ae.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ae.createElement("span",{className:"c-red"},"\u79FB\u9664")),(_t=nn==null?void 0:nn.subject_tags)==null?void 0:_t.map((Xt,nt)=>{var Pt,_n;if(nt===0){const Rt=(Pt=yn.find(Mt=>Mt.name==Xt))==null?void 0:Pt.swimg;return ae.createElement("img",{className:b.sign,src:Rt,style:{left:"-4px"}})}const sn=(_n=yn.find(Rt=>Rt.name==Xt))==null?void 0:_n.ptimg;return ae.createElement("img",{className:b.sign,src:sn,style:{left:`${48+52*(nt-1)+2*nt}px`}})}),ae.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(nn==null?void 0:nn.excellent)&&ae.createElement("div",{className:b.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ae.createElement("div",{className:b.name},ae.createElement(De.Z,{title:Lt&&(nn!=null&&nn.excellent_alias_name)?ae.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Te}`,ae.createElement("br",null),ae.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${nn==null?void 0:nn.excellent_alias_name}`)):Te},ae.createElement("span",{className:b.e},Lt&&(nn==null?void 0:nn.excellent_alias_name)||Te))),ae.createElement("div",{className:b.tags},ae.createElement("div",null,ae.createElement(De.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ae.createElement("span",null,nn.stages_count))),ae.createElement(De.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ae.createElement("span",null,nn.members_count)))))))})),!We.length&&ae.createElement(xe.Z,null)))}},36433:function(yt,kt,oe){"use strict";oe.d(kt,{jL:function(){return ke},w9:function(){return nn},QD:function(){return ea},cQ:function(){return ht.Z},op:function(){return Vn},O5:function(){return Sa},_b:function(){return bt},t7:function(){return y},Gi:function(){return xn},YG:function(){return ot},qp:function(){return _e},vr:function(){return Va},qE:function(){return Ya},Je:function(){return ae},wb:function(){return we},cq:function(){return nt},tp:function(){return le}});var b=oe(59301),he={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},De="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3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B3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",ke=({dataSource:Be=[],img:at,imgWidth:st=346,title:Ft,sunTitle:St,bannerExtraContent:mn})=>b.createElement("div",{className:he.banner},b.createElement("div",{className:he.content},b.createElement("aside",null,b.createElement("p",null,b.createElement("b",null,Ft),b.createElement("span",null,St)),Be.length>0&&b.createElement("div",{className:he.btns},Be.map((Kt,Ge)=>b.createElement("div",{key:Ge,onClick:Kt.click},Kt.name,Kt.sign?b.createElement("img",{src:De,width:39}):null))),mn),at&&b.createElement("img",{style:{marginTop:33,marginRight:38},src:at,width:st}))),ze={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},xe=oe(92310),tt=oe.n(xe),Me=oe(89392),_e=({dataSource:Be=[],value:at,onChange:st,onTitleChange:Ft,className:St,title:mn,titleWidth:Kt=41,style:Ge={},fontColor:Ye="#6A7283",showCount:Ue})=>{const[Bt,un]=(0,b.useState)(0),[pn,ra]=(0,b.useState)(!1),Wn=(0,b.useRef)(null),Ln=(0,b.useRef)(null);return(0,b.useEffect)(()=>{var jn;Be.length!==0&&(((jn=Wn==null?void 0:Wn.current)==null?void 0:jn.clientHeight)>97?un(1):un(0)),Be.length===0&&un(0),ra(!1)},[Be]),b.createElement("div",{className:tt()(ze.row,St),style:Ge},b.createElement("div",{onClick:(0,Me.throttle)(()=>Ft==null?void 0:Ft(),2e3),style:{width:Kt,marginTop:pn?12:4},className:`${ze.title} ${Ft?"current":""}`},mn),b.createElement("div",{className:pn?`${ze.tagsWrap} ${ze.tagsBorderWrap}`:ze.tagsWrap},b.createElement("div",{className:ze.bar,ref:Ln,style:Bt>0?{height:Bt===1?97:"auto",overflow:Bt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},b.createElement("div",{className:ze.tag,ref:Wn},Be==null?void 0:Be.map(jn=>b.createElement("span",{onClick:()=>st(jn.id),key:jn.id,style:{color:Ye},className:at===jn.id?ze.active:""},b.createElement("span",{title:jn.name,className:ze.name},jn.name),!!Ue&&b.createElement("span",{className:ze.num},jn.count))))),!!Bt&&b.createElement(b.Fragment,null,Bt===1?b.createElement("div",{onClick:()=>{var jn;un(2),((jn=Wn==null?void 0:Wn.current)==null?void 0:jn.clientHeight)>245?ra(!0):ra(!1)},className:ze.action},"\u5C55\u5F00",b.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):b.createElement("div",{onClick:()=>{Ln.current.scrollTop=0,un(1),ra(!1)},className:ze.action},"\u6536\u8D77",b.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},He={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},le=({dataSource:Be=[],value:at,onChange:st,className:Ft,style:St={}})=>b.createElement("div",{style:St,className:tt()(He.tabs,Ft)},Be.map(mn=>b.createElement("span",{onClick:()=>st(mn.id),className:at===mn.id?He.active:"",key:mn.id},mn.name))),E={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},a=oe(92832),y=({dataSource:Be=[],value:at="",onChange:st,onInputChange:Ft=()=>{},className:St,style:mn={},placeholder:Kt,allowClear:Ge=!1})=>{var Ye;const[Ue,Bt]=(0,b.useState)(""),[un,pn]=(0,b.useState)("");(0,b.useEffect)(()=>{var Ln;let jn=at;(Ln=JSON.stringify(at))!=null&&Ln.includes("{")&&(Bt(at.id),jn=at.value||"");try{pn(decodeURIComponent(jn||""))}catch(Tn){pn(decodeURIComponent(jn||""))}},[at]);const ra=()=>{st(encodeURIComponent(un),Ue||null)},Wn=Ln=>{Ln!==Ue&&(Bt(Ln),st(encodeURIComponent(un),Ln))};return b.createElement("div",{className:tt()(E.input,St),style:mn},!!Be.length&&b.createElement("div",{className:E.dropdown},b.createElement("div",{className:E.text},(Ye=Be.find(Ln=>Ln.id===Ue))==null?void 0:Ye.name,b.createElement("i",{className:"iconfont icon-zhankai4"}),b.createElement("b",{className:E.b1}),b.createElement("b",{className:E.b2})),b.createElement("div",{className:E.menu},Be.map((Ln,jn)=>b.createElement("div",{key:jn,onClick:()=>Wn(Ln.id)},Ln.name)))),b.createElement(a.default,{onPressEnter:ra,value:un,onChange:Ln=>{pn(Ln.target.value),Ft(encodeURIComponent(Ln.target.value),Ue||null)},bordered:!1,placeholder:Kt}),b.createElement("i",{onClick:ra,className:"iconfont icon-sousuo9 font14 pl10 current"}))},z={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},ae=({value:Be,onChange:at,className:st,total:Ft,pageSize:St,style:mn={}})=>{const Kt=Be<2,Ge=Be>=Math.ceil(Ft/St);return Ft<=St?b.createElement(b.Fragment,null):b.createElement("div",{className:tt()(z.quickPager,st),style:mn},b.createElement("div",{onClick:()=>{Kt||at(Be-1,"prev")},className:Kt?z.disabled:""},"\u4E0A\u4E00\u9875"),b.createElement("div",{onClick:()=>{Ge||at(Be+1,"next")},className:Ge?z.disabled:""},"\u4E0B\u4E00\u9875"))},se={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},ie=oe(71418),Se=oe(6848),be=oe(13570),We=oe(13952),Ne=oe(89299),mt=oe(96908),Re=oe(57177),Je=oe(81378),Qe=oe(63604),we=({className:Be,dataSource:at=[],col:st=4,right:Ft,bottom:St=23,precision:mn=0,wrapWidth:Kt=1200,trackEventItems:Ge,loading:Ye})=>{const Ue=Math.floor((Kt-(st-1)*Ft)/st);return b.createElement(ie.Z,{spinning:Ye},b.createElement("div",{className:tt()(se.list,Be)},!!at.length&&at.map((Bt,un)=>{const{name:pn,id:ra,identifier:Wn,power:Ln,cover_image_id:jn,pic:Tn}=Bt;return b.createElement("div",{className:se.wrap,key:ra,style:{width:Ue,marginRight:(1+un)%st===0?0:Ft+mn,marginBottom:St}},b.createElement("a",{target:"_blank",href:`/shixuns/${Wn}/challenges`,className:se.li,onClick:jt=>{jt.preventDefault(),Ge&&(0,Ne.L9)([Ge]),Ln&&(0,Ne.xg)(`/shixuns/${Wn}/challenges`)}},b.createElement("div",{className:se.img},b.createElement("img",{className:se.cover,src:`${Tn}`}),Bt.is_jupyter&&b.createElement("img",{className:se.sign,src:mt}),Bt.is_jupyter_lab&&b.createElement("img",{className:se.sign,src:Re}),Bt.is_unity_3d&&b.createElement("img",{className:se.sign,src:Je})),b.createElement("div",{className:se.name},b.createElement(Se.Z,{title:pn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},b.createElement("span",{className:se.e},pn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),b.createElement("div",{className:se.tags},b.createElement(Se.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),b.createElement("span",null,Bt.challenges_count))),!!Bt.myshixuns_count&&b.createElement(Se.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),b.createElement("span",null,Bt.myshixuns_count))),b.createElement(Se.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},b.createElement("span",null,b.createElement("span",null,Bt.level))),b.createElement("div",{className:se.rate},b.createElement(be.Z,{allowHalf:!0,disabled:!0,defaultValue:Bt.score_info}),b.createElement("span",null,"\xA0",Bt.score_info?`${Bt.score_info}\u5206`:"5\u5206")))),!Ln&&b.createElement("div",{className:se.lockWrap},b.createElement("img",{src:`${We.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),b.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!at.length&&b.createElement(Qe.Z,null)))},ht=oe(36867),ct={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Lt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl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ot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",gt=oe(59301),nn=({className:Be,dataSource:at=[],col:st=4,right:Ft,bottom:St=23,precision:mn=0,wrapWidth:Kt=1200,trackEventItems:Ge,loading:Ye})=>{const Ue=Math.floor((Kt-(st-1)*Ft)/st);return gt.createElement(ie.Z,{spinning:Ye},gt.createElement("div",{className:tt()(ct.list,Be)},!!at.length&&at.map((Bt,un)=>{const{subject_identifier:pn,id:ra,identifier:Wn,power:Ln}=Bt,jn=Bt.is_public!=0&&Bt.is_public;return gt.createElement("div",{className:ct.wrap,key:ra,style:{width:Ue,marginRight:(1+un)%st===0?0:Ft+mn,marginBottom:St}},gt.createElement("a",{className:ct.li,onClick:Tn=>{Tn.preventDefault(),Ge&&(0,Ne.L9)([Ge]),(0,Ne.xg)(Bt.first_category_url)}},gt.createElement("div",{className:ct.top},gt.createElement(Se.Z,{title:Bt.name},gt.createElement("div",{className:ct.name},Bt.name)),gt.createElement("img",{className:ct.img,src:We.Z.IMG_SERVER+"/images/"+Bt.avatar_url}),gt.createElement("div",{className:ct.text,title:Bt.creator},Bt.creator),pn&>.createElement("div",{className:ct.btns},gt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),gt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),jn&>.createElement("div",{className:ct.sign},"\u516C\u5F00")),gt.createElement("div",{className:ct.bottom},Bt.visits>0&>.createElement(Se.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},gt.createElement("span",null,gt.createElement("i",{className:"iconfont icon-liulanyan"}),gt.createElement("span",null,Bt.visits))),Bt.course_members_count>0&>.createElement(Se.Z,{title:"\u6210\u5458",placement:"bottom"},gt.createElement("span",null,gt.createElement("i",{className:"iconfont icon-chengyuan"}),Bt.course_members_count)),Bt.tasks_count>0&>.createElement(Se.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},gt.createElement("span",null,gt.createElement("i",{className:"iconfont icon-zuoye"}),Bt.tasks_count)),Bt.is_end?gt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):gt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Bt.is_accessible&>.createElement("div",{className:ct.lockWrap},gt.createElement("img",{src:`${We.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),gt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!at.length&>.createElement(Qe.Z,null)))},Wt={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},_t=oe(44993),ot=({dataSource:Be=[],value:at,onChange:st,className:Ft,style:St={},tabBarExtraContent:mn})=>b.createElement("div",{className:tt()(Wt.tabs,Ft),style:St},b.createElement("div",{className:Wt.tabsWrap},Be.map((Kt,Ge)=>b.createElement("aside",{className:Wt.tab,onClick:()=>{st(Kt.id),Kt.link&&_t.history.push(Kt.link)},key:Ge},b.createElement("div",{className:at===Kt.id?Wt.active:""},Kt.name),(Kt==null?void 0:Kt.resetCount)==null&&(Kt==null?void 0:Kt.total)!==void 0&&b.createElement("span",null,"\uFF08",Kt==null?void 0:Kt.total,"\uFF09"),(Kt==null?void 0:Kt.resetCount)!==void 0&&(Kt==null?void 0:Kt.total)!==void 0&&b.createElement(Se.Z,{title:(Kt==null?void 0:Kt.tip)!=null?Kt==null?void 0:Kt.tip:""},b.createElement("span",{style:{color:"#9096A3"}},"\uFF08",b.createElement("span",{style:{color:"#000"}},Kt==null?void 0:Kt.resetCount),"/",b.createElement("span",null,Kt==null?void 0:Kt.total),"\uFF09"))))),b.createElement("div",{className:Wt.tabBar},mn)),xn=({className:Be,style:at={},children:st})=>b.createElement("div",{className:tt()(Be),style:at},st),At={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},ln=oe(38854),Ce=oe(20834);const ut=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var nt=({sortValue:Be,dropValue:at,className:st,onSort:Ft,onDrop:St,dataSource:mn=ut})=>{var Kt;return b.createElement("div",{className:tt()(At.orderWrap,st)},b.createElement(ln.Z,{dropdownRender:()=>b.createElement(Ce.default,null,mn.map((Ge,Ye)=>b.createElement(Ce.default.Item,{key:Ye,onClick:()=>St(Ge.id)},Ge.name)))},b.createElement("span",{className:At.orderTextWrap},(Kt=mn.find(Ge=>at===Ge.id))==null?void 0:Kt.name)),b.createElement("span",{className:At.orderIconWrap},b.createElement("span",{className:At.orderAsc},b.createElement("i",{className:Be==="asc"?`iconfont icon-sanjiaoxing-up font12 ${At.cursorPointer} ${At.active}`:`iconfont icon-sanjiaoxing-up font12 ${At.cursorPointer}`,onClick:()=>Ft(Be==="asc"?"desc":"asc")})),b.createElement("span",{className:At.orderDesc},b.createElement("i",{className:Be==="desc"?`iconfont icon-sanjiaoxing-down font12 ${At.cursorPointer} ${At.active}`:`iconfont icon-sanjiaoxing-down font12 ${At.cursorPointer}`,onClick:()=>Ft(Be==="asc"?"desc":"asc")}))))},Pt={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},_n=oe(3113),sn=Object.defineProperty,Rt=Object.getOwnPropertySymbols,Mt=Object.prototype.hasOwnProperty,Yn=Object.prototype.propertyIsEnumerable,aa=(Be,at,st)=>at in Be?sn(Be,at,{enumerable:!0,configurable:!0,writable:!0,value:st}):Be[at]=st,tn=(Be,at)=>{for(var st in at||(at={}))Mt.call(at,st)&&aa(Be,st,at[st]);if(Rt)for(var st of Rt(at))Yn.call(at,st)&&aa(Be,st,at[st]);return Be},Fa=(Be,at)=>{var st={};for(var Ft in Be)Mt.call(Be,Ft)&&at.indexOf(Ft)<0&&(st[Ft]=Be[Ft]);if(Be!=null&&Rt)for(var Ft of Rt(Be))at.indexOf(Ft)<0&&Yn.call(Be,Ft)&&(st[Ft]=Be[Ft]);return st},_a=(Be,at,st)=>new Promise((Ft,St)=>{var mn=Ye=>{try{Ge(st.next(Ye))}catch(Ue){St(Ue)}},Kt=Ye=>{try{Ge(st.throw(Ye))}catch(Ue){St(Ue)}},Ge=Ye=>Ye.done?Ft(Ye.value):Promise.resolve(Ye.value).then(mn,Kt);Ge((st=st.apply(Be,at)).next())}),Vn=Be=>{var at=Be,{className:st,style:Ft,children:St,loading:mn=!1,openLoading:Kt,onClick:Ge=()=>{},size:Ye="middle",shape:Ue="round"}=at,Bt=Fa(at,["className","style","children","loading","openLoading","onClick","size","shape"]);const[un,pn]=(0,b.useState)(!1);return b.createElement(_n.ZP,tn({onClick:(0,Me.throttle)(ra=>_a(void 0,null,function*(){Kt&&pn(!0);try{yield Ge(ra)}catch(Wn){console.log("error",Wn)}Kt&&pn(!1)}),2e3,{leading:!0,trailing:!1}),className:tt()(Pt.btn,Pt[`${Ye}-${Ue}`],st),style:Ft,size:Ye,shape:Ue,loading:un||mn},Bt),St)},xa={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},Ya=({className:Be,style:at,children:st=null,onClick:Ft,title:St})=>b.createElement("div",{className:tt()(xa.head,Be),style:at},b.createElement("span",{className:"primary-hover",onClick:Ft},b.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),b.createElement("b",{title:St},St),b.createElement("div",{className:xa.node},st)),Jn={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},ea=({confirmShow:Be=!0,confirmTitle:at,confirmClick:st,cancelShow:Ft=!0,cancelTitle:St,cancelClick:mn,className:Kt,style:Ge,confirmLoading:Ye=!1})=>b.createElement("div",{className:tt()(Jn.btns,Kt),style:Ge},Be&&b.createElement(_n.ZP,{loading:Ye,onClick:st,type:"primary",className:Jn.confirm},at),Ft&&b.createElement(_n.ZP,{onClick:mn,className:Jn.cancel},St)),ia={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Va=({className:Be,style:at={},LeftContent:st,children:Ft,RightContent:St})=>b.createElement("div",{className:tt()(ia.fixedBottom,Be),style:at},b.createElement("div",{className:ia.wrap},b.createElement("div",{className:ia.left},st),b.createElement("div",{className:ia.center},Ft),b.createElement("div",{className:ia.right},St))),Pn={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"},bt=({className:Be,style:at={},dataSource:st=[]})=>b.createElement("div",{className:tt()(Pn.crumbs,Be),style:at},st.map((Ft,St)=>St_t.history.push(Ft.path)},Ft.name):b.createElement("span",null,Ft.name),b.createElement("span",null,"\xA0",">","\xA0")):b.createElement("span",{key:St,style:{color:"#5F6368"}},Ft.name))),Gt=oe(31797),Da=Object.defineProperty,pa=Object.defineProperties,wa=Object.getOwnPropertyDescriptors,ha=Object.getOwnPropertySymbols,ja=Object.prototype.hasOwnProperty,gr=Object.prototype.propertyIsEnumerable,Ua=(Be,at,st)=>at in Be?Da(Be,at,{enumerable:!0,configurable:!0,writable:!0,value:st}):Be[at]=st,Br=(Be,at)=>{for(var st in at||(at={}))ja.call(at,st)&&Ua(Be,st,at[st]);if(ha)for(var st of ha(at))gr.call(at,st)&&Ua(Be,st,at[st]);return Be},po=(Be,at)=>pa(Be,wa(at)),Ht=(Be,at)=>{var st={};for(var Ft in Be)ja.call(Be,Ft)&&at.indexOf(Ft)<0&&(st[Ft]=Be[Ft]);if(Be!=null&&ha)for(var Ft of ha(Be))at.indexOf(Ft)<0&&gr.call(Be,Ft)&&(st[Ft]=Be[Ft]);return st};const{Countdown:Zn}=Gt.default;var Sa=Be=>{var at=Be,{onChange:st}=at,Ft=Ht(at,["onChange"]);const[St,mn]=(0,b.useState)(null);(0,b.useEffect)(()=>{typeof St=="number"&&St>=0&&st(St)},[St]);const Kt=Ge=>{const Ye=Math.floor(Ge/1e3);mn(Ye)};return b.createElement(Zn,po(Br({},Ft),{onChange:Kt}))}},47458:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return he}});var b=oe(59301);function he(De,Ae){const ke=(0,b.useRef)();(0,b.useEffect)(()=>{ke.current=De}),(0,b.useEffect)(()=>{function ze(){ke.current()}if(Ae!==null){let xe=setInterval(ze,Ae);return()=>clearInterval(xe)}},[Ae])}},32230:function(yt,kt,oe){"use strict";oe.r(kt),oe.d(kt,{default:function(){return gu}});var b=oe(59301),he=oe(44993),De=oe(78241),Ae=oe(8591),ke=oe(66104),ze=oe(92832),xe=oe(19842),tt=oe(24905),Me=oe(5112),Le=oe(5871),_e=oe(3113),He={flex_box_center:"flex_box_center___aPGWN",flex_space_between:"flex_space_between___MQNX5",flex_box_vertical_center:"flex_box_vertical_center___Z7QdK",flex_box_center_end:"flex_box_center_end___JQl5O",flex_box_column:"flex_box_column___IhYhx",bg:"bg___Kg8x_",title:"title___UhsVG",titleLeft:"titleLeft___NPVwn",titleRight:"titleRight___UGtmZ",formWrap:"formWrap___Jowb2",baseLineHeight:"baseLineHeight___N68WX",radioBtnWrapper:"radioBtnWrapper___bX7Pi",radiogroup:"radiogroup___ukf8u",easy:"easy___ZHYPU",medium:"medium___piewx",hard:"hard___HMXyt",selectdiv:"selectdiv___gkuBG",divitem:"divitem___vNm0q",bottmodiv:"bottmodiv___assW5",cancelBtn:"cancelBtn___Nl6Pi",confirmBtn:"confirmBtn___BNoFU",baseFormItem:"baseFormItem___ILZ2V",cascaderPopup:"cascaderPopup___QPxW3",addQuestionBtn:"addQuestionBtn___OjehS",concat:"concat___kliXB"},Ke=oe(43418),le=oe(5083),E=oe(61186),a=oe.n(E),x=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())});const y=({user:ue,dispatch:Ee,classroomList:Pe,onModalOk:it,setsubloading:ft})=>{const Rn=(0,he.useParams)(),[vn,Yt]=(0,b.useState)(),[vt,qt]=(0,b.useState)(!1);function Bn(qe){return qe&&qe{qt(!1)},zIndex:8888,destroyOnClose:!0,footer:null,maskClosable:!1,keyboard:!1,open:Pe.actionTabs.key==="\u9884\u7EA6\u5F39\u7A97",onCancel:()=>{if(vt){Ae.ZP.warning("\u6B63\u5728\u8BF7\u6C42\u6570\u636E\u4E2D...");return}ft(!1),Ee({type:"classroomList/setActionTabs",payload:{}})}},b.createElement("div",null,b.createElement("span",null,"EduCoder\u6CE8\u610F\u5230\u60A8\u7684\u8BFE\u5802\u4E2D\u5B66\u751F\u4EBA\u6570\u8F83\u591A\u3002\u4E3A\u66F4\u597D\u5730\u4E3A\u60A8\u548C\u60A8\u7684\u5B66\u751F\u670D\u52A1\uFF0C\u7ED9\u540C\u5B66\u4EEC\u5E26\u6765\u66F4\u597D\u7684\u8003\u8BD5\u4F53\u9A8C\uFF0C\u6211\u4EEC\u5C06\u63D0\u524D\u4E3A\u60A8\u548C\u60A8\u7684\u5B66\u751F\u51C6\u5907\u597D\u670D\u52A1\u5668\u8D44\u6E90\u3002 \u8BF7\u60A8\u544A\u77E5\u6211\u4EEC\uFF0C\u8FD9\u4EFD\u8BD5\u5377\u7684\u9884\u8BA1\u8003\u8BD5\u65F6\u95F4\u662F\uFF1A"),b.createElement("br",null),b.createElement(le.default,{popupStyle:{zIndex:9999},style:{marginTop:"10px",marginBottom:"10px"},disabledDate:Bn,format:"YYYY-MM-DD HH:mm:ss",onChange:(qe,Ct)=>{Yt(Ct)},showTime:{defaultValue:a()("00:00:00","HH:mm:ss")}}),b.createElement("br",null),b.createElement("span",null,"\u611F\u8C22\u60A8\u7684\u914D\u5408"),b.createElement("br",null),b.createElement("div",{style:{textAlign:"end"}},b.createElement(_e.ZP,{loading:vt,type:"primary",onClick:()=>x(void 0,null,function*(){qt(!0),it(vn,()=>{Ee({type:"classroomList/setActionTabs",payload:{}})})})},"\u786E\u8BA4"))))};var z=(0,he.connect)(({user:ue,classroomList:Ee})=>({user:ue,classroomList:Ee}))(y),te=oe(52430),ae=oe(32134),se=oe(12893),ie={wrap:"wrap___Ww0Ti",itemWarp:"itemWarp___LMLjd",addIcon:"addIcon___xmRLl",deleteIcon:"deleteIcon___gjwgO"},Se=oe(57809),be=Object.defineProperty,We=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,mt=Object.prototype.propertyIsEnumerable,Re=(ue,Ee,Pe)=>Ee in ue?be(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Je=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Ne.call(Ee,Pe)&&Re(ue,Pe,Ee[Pe]);if(We)for(var Pe of We(Ee))mt.call(Ee,Pe)&&Re(ue,Pe,Ee[Pe]);return ue},Qe=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())}),we=({setitem:ue,item:Ee,rz:Pe})=>{var it,ft,Rn,vn,Yt,vt,qt,Bn;let[qe,Ct]=(0,b.useState)({zydatas:[],jbdatas:[],kcdatas:[],zsdatas:[],page:1,per_page:20});const[cn]=De.default.useForm(),[Cn,Jt]=(0,b.useState)(!1);(0,b.useEffect)(()=>{Pe&&!Cn&&(qe.zydatas=Pe,Ct(Je({},qe)),Jt(!0),Ee!=null&&Ee.ec_course_id&&Ot())},[Ee,Pe,Cn]),console.log(qe,"params");function Ot(){return Qe(this,null,function*(){yield Qt(Ee==null?void 0:Ee.ec_major_school_id),yield Zt(Ee==null?void 0:Ee.ec_year_id),yield va(Ee==null?void 0:Ee.ec_course_id),cn.setFieldsValue({ec_course_id:Ee==null?void 0:Ee.ec_course_id,ec_major_school_id:Ee==null?void 0:Ee.ec_major_school_id,ec_point_ids:Ee==null?void 0:Ee.ec_point_ids,ec_year_id:Ee==null?void 0:Ee.ec_year_id})})}function Qt(Sn){return Qe(this,null,function*(){const En=yield(0,te.ZP)(`/api/ec_major_schools/${Sn}/ec_years/get_year_list.json`,{method:"get"});qe.jbdatas=En==null?void 0:En.data,Ct(Je({},qe)),cn.setFieldsValue({ec_year_id:"",ec_course_id:"",ec_point_ids:[]})})}function Zt(Sn){return Qe(this,null,function*(){const En=yield(0,te.ZP)(`/api/ec_years/${Sn}/ec_courses/get_courses.json`,{method:"get"});qe.kcdatas=En==null?void 0:En.data,Ct(Je({},qe)),cn.setFieldsValue({ec_course_id:"",ec_point_ids:[]})})}const va=Sn=>Qe(void 0,null,function*(){const En=yield(0,te.ZP)(`/api/ec_courses/${Sn}/ec_points.json`,{method:"get",params:{ec_course_id:Sn}});qe.zsdatas=En==null?void 0:En.data,Ct(Je({},qe))});return b.createElement("div",{className:ie.from},b.createElement(De.default,{form:cn,layout:"inline",onValuesChange:Sn=>{console.log("----",Sn),Sn.ec_major_school_id&&(qe.jbdatas=[],qe.kcdatas=[],qe.zsdatas=[],Ct(Je({},qe)),Qt(Sn.ec_major_school_id)),Sn.ec_year_id&&(qe.kcdatas=[],qe.zsdatas=[],Ct(Je({},qe)),Zt(Sn.ec_year_id)),Sn.ec_course_id&&(qe.zsdatas=[],Ct(Je({},qe)),va(Sn.ec_course_id))},onFinish:Sn=>Qe(void 0,null,function*(){ue(Sn)})},b.createElement(De.default.Item,{name:"ec_major_school_id"},b.createElement(Se.default,{style:{width:160},disabled:((it=qe.zydatas)==null?void 0:it.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u4E13\u4E1A"},(ft=qe==null?void 0:qe.zydatas)==null?void 0:ft.map((Sn,En)=>b.createElement(Se.default.Option,{key:En,value:Sn==null?void 0:Sn.ec_major_school_id},Sn==null?void 0:Sn.name)))),b.createElement(De.default.Item,{name:"ec_year_id"},b.createElement(Se.default,{style:{width:160},disabled:((Rn=qe.jbdatas)==null?void 0:Rn.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u5C4A\u522B"},(vn=qe==null?void 0:qe.jbdatas)==null?void 0:vn.map((Sn,En)=>b.createElement(Se.default.Option,{key:En,value:Sn==null?void 0:Sn.ec_year_id},Sn==null?void 0:Sn.year)))),b.createElement(De.default.Item,{name:"ec_course_id"},b.createElement(Se.default,{style:{width:208},disabled:((Yt=qe.kcdatas)==null?void 0:Yt.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BFE\u7A0B"},(vt=qe==null?void 0:qe.kcdatas)==null?void 0:vt.map((Sn,En)=>b.createElement(Se.default.Option,{key:En,value:Sn==null?void 0:Sn.id},Sn==null?void 0:Sn.name)))),b.createElement(De.default.Item,{name:"ec_point_ids"},b.createElement(Se.default,{onChange:()=>{cn.submit()},style:{width:160},maxTagCount:1,maxTagTextLength:7,mode:"multiple",disabled:((qt=qe.zsdatas)==null?void 0:qt.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9"},(Bn=qe==null?void 0:qe.zsdatas)==null?void 0:Bn.map((Sn,En)=>b.createElement(Se.default.Option,{key:En,value:Sn==null?void 0:Sn.id},Sn==null?void 0:Sn.name))))))},ht=Object.defineProperty,ct=Object.defineProperties,Lt=Object.getOwnPropertyDescriptors,gt=Object.getOwnPropertySymbols,yn=Object.prototype.hasOwnProperty,nn=Object.prototype.propertyIsEnumerable,Wt=(ue,Ee,Pe)=>Ee in ue?ht(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,_t=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))yn.call(Ee,Pe)&&Wt(ue,Pe,Ee[Pe]);if(gt)for(var Pe of gt(Ee))nn.call(Ee,Pe)&&Wt(ue,Pe,Ee[Pe]);return ue},Te=(ue,Ee)=>ct(ue,Lt(Ee)),ot=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())});const Ut=({user:ue,exercise_id:Ee=null,homework_common_id:Pe=null,setitem:it})=>{var ft,Rn,vn;let[Yt,vt]=(0,b.useState)([{id:Math.random()}]),[qt,Bn]=(0,b.useState)(null);function qe(){return ot(this,null,function*(){var cn,Cn,Jt,Ot;let Qt=yield(0,te.ZP)("/api/ec_courses/0/ec_points/get_work_points.json",{method:"get",params:{exercise_id:Ee,homework_common_id:Pe}});if(((cn=Qt==null?void 0:Qt.data)==null?void 0:cn.length)>0){let Zt=[];(Cn=Qt==null?void 0:Qt.data)==null||Cn.map(va=>{var Sn;(Sn=va==null?void 0:va.ec_point_ids)==null||Sn.map(En=>{Zt.push(En)})}),it(Te(_t({},(Jt=Qt==null?void 0:Qt.data)==null?void 0:Jt[0]),{ec_point_ids:Zt})),vt((Ot=Qt==null?void 0:Qt.data)==null?void 0:Ot.map(va=>Te(_t({},va),{id:Math.random()})))}})}(0,b.useEffect)(()=>{var cn,Cn;(Cn=(cn=ue==null?void 0:ue.userInfo)==null?void 0:cn.course)!=null&&Cn.course_school_id&&Ct()},[(Rn=(ft=ue==null?void 0:ue.userInfo)==null?void 0:ft.course)==null?void 0:Rn.course_school_id]);function Ct(){return ot(this,null,function*(){var cn,Cn;const Jt=yield(0,te.ZP)(`/api/schools/${(Cn=(cn=ue==null?void 0:ue.userInfo)==null?void 0:cn.course)==null?void 0:Cn.course_school_id}/ec_majors/get_major_list.json`,{method:"get"});Bn(Jt==null?void 0:Jt.data),(Pe||Ee)&&qe()})}return console.log(Yt,qt,"datas"),b.createElement("div",{style:{display:(vn=ue.userInfo.course)!=null&&vn.is_openengineering?"":"none"}},b.createElement("div",{className:ie.wrap},b.createElement("p",null,"\u5DE5\u7A0B\u8BA4\u8BC1",b.createElement("br",null),"\u8003\u6838\u77E5\u8BC6\u70B9"),b.createElement("div",{className:ie.itemWarp},Yt==null?void 0:Yt.map((cn,Cn)=>b.createElement("div",{key:cn.id,style:{display:"flex",alignItems:"center",marginBottom:20}},b.createElement(we,{rz:qt,item:cn,setitem:Jt=>{Jt=_t(_t({},Yt==null?void 0:Yt[Cn]),Jt),Yt.splice(Cn,1,Jt),vt([...Yt]);let Ot=[];Yt==null||Yt.map(Qt=>{var Zt;(Zt=Qt==null?void 0:Qt.ec_point_ids)==null||Zt.map(va=>{Ot.push(va)})}),it(Te(_t({},Jt),{ec_point_ids:Ot}))}}),b.createElement(ae.Z,{className:ie.addIcon,onClick:()=>{Yt.push({id:Math.random()}),vt([...Yt])}}),Cn!=0&&b.createElement(se.Z,{className:ie.deleteIcon,onClick:()=>{Yt.splice(Cn,1);let Jt=[];Yt==null||Yt.map(Ot=>{var Qt;(Qt=Ot==null?void 0:Ot.ec_point_ids)==null||Qt.map(Zt=>{Jt.push(Zt)})}),it(Te(_t({},Yt[Cn-1]),{ec_point_ids:Jt})),vt([...Yt])}}))))))};var xn=(0,he.connect)(({user:ue})=>({user:ue}))(Ut),At=oe(20834),ln=oe(71418),Ce=oe(38854),ut=oe(6848),Xt=oe(43428),nt={flex_box_center:"flex_box_center___zCnVx",flex_space_between:"flex_space_between___BBiQD",flex_box_vertical_center:"flex_box_vertical_center___KzPui",flex_box_center_end:"flex_box_center_end___zJokd",flex_box_column:"flex_box_column___Grsys",moreSpan:"moreSpan___VJeLv",bg:"bg___oBBHW",title:"title___xV4Rt",bottomdiv:"bottomdiv___rPfwr",spanBtn:"spanBtn___eJxID",addQuestionBtn:"addQuestionBtn___RPRiP",saveBtn:"saveBtn___y9nNf",left:"left___Q3Qf4",leftAction:"leftAction___GT9yG",Button:"Button___r00OP",iconWrapper:"iconWrapper___wofW_",up:"up___a9RQm",down:"down___x6RAl",disabled:"disabled___mkEME",titleleft:"titleleft___WZ83K",more_style:"more_style___ZXYnN",qcount:"qcount___o6F1k",score:"score___Gy6jr",qtitle:"qtitle___KF7pa",qcountclick:"qcountclick___kvoyc",right:"right___Nfa70",edit:"edit___RVRSb",delete:"delete___J9BAT",yuanti:"yuanti___ljq8l",tianjia:"tianjia___s7Zu2",shixun:"shixun___YkjdZ",scoreByBlankRadio:"scoreByBlankRadio___QYQY5",modalconfirm:"modalconfirm___dmWFe",scoremodal:"scoremodal___CDA7w",close:"close___jdUWv",content:"content___HPqUf",items:"items___YkyQL",bottom:"bottom___mzpp4",yes:"yes___Xio6z",no:"no___hbicD",formcenter:"formcenter___kN8Ax",radiogroup:"radiogroup___htjtc",easy:"easy____g1mR",medium:"medium___vPAsn",hard:"hard___c6tcf",formcenterselect:"formcenterselect___B88vb",selectitems1:"selectitems1___Dzpho",selectitems:"selectitems___wUGKF",morebottom:"morebottom___F5cFQ",scoreinput:"scoreinput___S9Fbv",shake:"shake___IYp2E",titleTooltip:"titleTooltip___J0i26",exercise_styles:"exercise_styles___BJAZm"},Pt=oe(89299),_n=oe(63604),sn=oe(33329),Rt=oe(12921),Mt=oe(98573),Yn=oe(59301),aa=Object.defineProperty,tn=Object.defineProperties,Fa=Object.getOwnPropertyDescriptors,_a=Object.getOwnPropertySymbols,ya=Object.prototype.hasOwnProperty,Vn=Object.prototype.propertyIsEnumerable,xa=(ue,Ee,Pe)=>Ee in ue?aa(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,cr=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))ya.call(Ee,Pe)&&xa(ue,Pe,Ee[Pe]);if(_a)for(var Pe of _a(Ee))Vn.call(Ee,Pe)&&xa(ue,Pe,Ee[Pe]);return ue},Ya=(ue,Ee)=>tn(ue,Fa(Ee)),Jn=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())}),ea=({Itemid:ue,setqitem:Ee,qitem:Pe,data:it,getdata:ft,bigitem:Rn,setBigqitem:vn,isedit:Yt,handleEditing:vt})=>{const[qt,Bn]=(0,b.useState)([]),[qe,Ct]=(0,b.useState)(!1),cn=(Jt,Ot,Qt)=>{const Zt=Array.from(Jt),[va]=Zt.splice(Ot,1);return Zt.splice(Qt,0,va),Zt};(0,b.useEffect)(()=>{it.length>0&&Bn([...it])},[it]);const Cn=(Jt,Ot)=>Jn(void 0,null,function*(){if(!Jt.destination)return;if(Yt){vt();return}const Qt=cn(Ot,Jt.source.index,Jt.destination.index);Ct(!0);let Zt=yield(0,te.ZP)(`/api/exercises/${ue}/adjust_position.json`,{method:"post",body:{id:ue,question_ids:Qt==null?void 0:Qt.map(va=>va.question_id)}});Ct(!1),Zt.status===0&&ft({id:Ot==null?void 0:Ot[Jt.source.index].question_id})});return Yn.createElement("div",null,Yn.createElement(Rt.Z5,{onDragEnd:Jt=>Cn(Jt,qt)},Yn.createElement(Rt.bK,{droppableId:"droppable"},(Jt,Ot)=>Yn.createElement("div",cr({ref:Jt.innerRef},Jt.droppableProps),Yn.createElement(ln.Z,{spinning:qe},qt.map((Qt,Zt)=>Yn.createElement(Rt._l,{key:Zt,draggableId:Zt.toString(),index:Zt},(va,Sn)=>{var En,Cr;return Yn.createElement("aside",cr(cr({ref:va.innerRef},va.draggableProps),va.dragHandleProps),Yn.createElement(ut.Z,{title:Yn.createElement(Mt.Z,{value:(Qt==null?void 0:Qt.question_type)===8?(En=Qt==null?void 0:Qt.program_attr)==null?void 0:En.description:Qt.question_title}),color:"#fff",placement:"left",overlayClassName:nt.titleTooltip},Yn.createElement("div",{onClick:()=>{if(Yt){vt();return}Ee(Ya(cr({},Qt),{index:Zt+1})),vn(Rn),(0,Pt.Vf)("#question-scroll-id")},className:`${nt.qcount} ${Qt.question_id===(Pe==null?void 0:Pe.question_id)?nt.qcountclick:""}`},Yn.createElement("span",{className:nt.score},Qt==null?void 0:Qt.question_score,"\u5206"),Yn.createElement("span",{className:nt.qtitle},Zt+1,"\u3001",Yn.createElement(Mt.Z,{value:(Qt==null?void 0:Qt.question_type)===8?(Cr=Qt==null?void 0:Qt.program_attr)==null?void 0:Cr.description:Qt.question_title,showTextOnly:!0})))))}))),Jt.placeholder))))},ia=oe(95237),Ea=oe(40260),Va=oe(78673),Pn=oe(61485),an=oe(59592),bt=oe(59301),Gt=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())}),pa=({form:ue,TagDiscipline:Ee,exerciseitem:Pe,qitem:it,getTagData:ft})=>{var Rn;const[vn,Yt]=(0,b.useState)(!0),[vt,qt]=(0,b.useState)(!1),[Bn,qe]=(0,b.useState)(""),[Ct,cn]=(0,b.useState)([]),[Cn,Jt]=(0,b.useState)([]),[Ot,Qt]=(0,b.useState)(0);(0,b.useEffect)(()=>{va()},[]);const Zt=Sn=>Gt(void 0,null,function*(){const En=yield(0,te.ZP)("/api/tag_disciplines.json",{method:"get",params:{sub_discipline_id:Sn==null?void 0:Sn.sub_discipline_id}});Jt(En==null?void 0:En.tag_disciplines)}),va=()=>Gt(void 0,null,function*(){const Sn=yield(0,te.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});cn(Sn.disciplines||[]),it!=null&&it.sub_discipline_id&&Zt(it),Qt(it!=null&&it.sub_discipline_id?1:0),ue.setFieldsValue({difficulty:it.difficulty||2,tag_discipline_ids:it.tag_discipline_ids,repeat_answer:!it.repeat_answer,sub_discipline_id:it!=null&&it.sub_discipline_id?[it==null?void 0:it.discipline_id,it==null?void 0:it.sub_discipline_id]:[]})});return bt.createElement("div",null,bt.createElement("div",{style:{marginTop:30,height:vn?"100%":"0px",overflow:"hidden"}},bt.createElement(De.default.Item,{className:nt.formcenter,rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u96BE\u5EA6"}],label:"\u96BE\u5EA6",name:"difficulty"},bt.createElement(Me.ZP.Group,{className:nt.radiogroup},bt.createElement(Me.ZP.Button,{className:nt.easy,value:1},"\u7B80\u5355"),bt.createElement(Me.ZP.Button,{className:nt.medium,value:2},"\u9002\u4E2D"),bt.createElement(Me.ZP.Button,{className:nt.hard,value:3},"\u56F0\u96BE"))),bt.createElement(De.default.Item,{name:"sub_discipline_id",label:"\u77E5\u8BC6\u70B9",className:nt.formcenterselect},bt.createElement(xe.Z,{className:nt.selectitems1,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:Ct,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(Sn,En)=>{ue.setFieldsValue({sub_discipline_id:Sn,tag_discipline_ids:[]}),Qt(Sn?Sn.length:0),(Sn==null?void 0:Sn.length)>0&&(Zt({sub_discipline_id:Sn[1]}),Sn[1]==(it==null?void 0:it.sub_discipline_id)&&ue.setFieldValue("tag_discipline_ids",it.tag_discipline_ids))},onClear:()=>{Jt([]),ue.setFieldValue("tag_discipline_ids",[]),Qt(0)}})),bt.createElement(De.default.Item,{className:nt.formcenterselect},bt.createElement("div",{style:{display:"flex",alignItems:"center",paddingLeft:55}},bt.createElement(De.default.Item,{name:"tag_discipline_ids"},bt.createElement(Se.default,{className:nt.selectitems,disabled:Ot===0,showSearch:!0,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9\uFF0C\u652F\u6301\u9009\u62E9\u591A\u4E2A",mode:"multiple",listHeight:200,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9\uFF0C\u652F\u6301\u9009\u62E9\u591A\u4E2A",mode:"multiple",dropdownStyle:{zIndex:9},allowClear:!0,optionFilterProp:"children",filterOption:(Sn,En)=>En.key.indexOf(Sn.toLowerCase())>=0},Cn==null?void 0:Cn.map(Sn=>bt.createElement(Se.default.Option,{key:Sn.name+Sn.id,value:Sn.id},bt.createElement("div",{style:{display:"flex",alignItems:"center"}},bt.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},Sn.name),(Sn==null?void 0:Sn.type)==="personal"&&bt.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&&bt.createElement("div",{style:{marginLeft:20,marginTop:"-16px",lineHeight:"48px",height:48,fontSize:14}},bt.createElement("span",null,"\u6CA1\u6709\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF1F"),bt.createElement("a",{onClick:()=>{qt(!0)},style:{marginLeft:3,color:"#3061D0"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9")))),bt.createElement(De.default.Item,{className:nt.formcenterselect},bt.createElement("div",{style:{display:"flex",alignItems:"center"}},bt.createElement(De.default.Item,{name:"repeat_answer",valuePropName:"checked"},bt.createElement(Va.Z,null)),bt.createElement("div",{style:{marginLeft:10,marginTop:"-16px",lineHeight:"48px",height:48,color:"#000000"}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898",bt.createElement(ut.Z,{placement:"right",title:"\u5F00\u542F\u540E\uFF0C\u5B66\u751F\u4F5C\u7B54\u5B8C\u6210\u8BE5\u9898\u5E76\u8FDB\u5165\u4E0B\u4E00\u9898\u4E4B\u540E\uFF0C\u4E0D\u5141\u8BB8\u518D\u4FEE\u6539\u8BE5\u9898\u7B54\u6848"},bt.createElement(Pn.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))))),bt.createElement(an.Z,{open:vt,subDisciplineId:(Rn=ue.getFieldValue("sub_discipline_id"))==null?void 0:Rn[1],onCancel:()=>{qt(!1)},onOkClick:Sn=>{Jt(En=>[...En,Sn]),ue.setFieldValue("tag_discipline_ids",[...ue.getFieldValue("tag_discipline_ids"),Sn==null?void 0:Sn.id])}}))},wa=oe(59301),ha=Object.defineProperty,ja=Object.defineProperties,gr=Object.getOwnPropertyDescriptors,Ua=Object.getOwnPropertySymbols,Br=Object.prototype.hasOwnProperty,po=Object.prototype.propertyIsEnumerable,Ht=(ue,Ee,Pe)=>Ee in ue?ha(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Zn=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Br.call(Ee,Pe)&&Ht(ue,Pe,Ee[Pe]);if(Ua)for(var Pe of Ua(Ee))po.call(Ee,Pe)&&Ht(ue,Pe,Ee[Pe]);return ue},qn=(ue,Ee)=>ja(ue,gr(Ee)),Sa=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())}),at=({qitem:ue,setisedit:Ee,TagDiscipline:Pe,exerciseitem:it,seveeditor:ft,deleteitem:Rn,getTagData:vn,init:Yt,showTip:vt=!1})=>{var qt;const[Bn]=De.default.useForm();(0,b.useEffect)(()=>{var Ct;Bn.setFieldsValue(qn(Zn({},ue),{name:ue==null?void 0:ue.question_title,choices:(Ct=ue==null?void 0:ue.question_choices)==null?void 0:Ct.map(cn=>qn(Zn({},cn),{standard_boolean:cn!=null&&cn.standard_boolean?1:0})),repeat_answer:!(ue!=null&&ue.repeat_answer)}))},[ue]);const qe=Ct=>{if(!(Ct!=null&&Ct.length))return!1;const cn=Ct.map(Jt=>{var Ot;return(Ot=Jt.choice_text)==null?void 0:Ot.trim().replace(/^\s+|\s+$/g,"")});return new Set(cn).size!==cn.length};return wa.createElement("div",null,wa.createElement(De.default,{form:Bn,colon:!1,onFinish:Ct=>{var cn,Cn,Jt,Ot,Qt;if(qe(Ct.choices)){Ae.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}let Zt=(Cn=(cn=Ct==null?void 0:Ct.choices)==null?void 0:cn.map)==null?void 0:Cn.call(cn,(Sn,En)=>{if((Sn==null?void 0:Sn.standard_boolean)===1)return En+1}),va=qn(Zn({},Ct),{item_type:ue==null?void 0:ue.question_type,question_choices:(Ot=(Jt=Ct==null?void 0:Ct.choices)==null?void 0:Jt.map)==null?void 0:Ot.call(Jt,Sn=>Sn.choice_text),standard_answers:Zt.filter(Sn=>Sn),choices:(Qt=Ct==null?void 0:Ct.choices)==null?void 0:Qt.map(Sn=>qn(Zn({},Sn),{is_answer:Sn.standard_boolean}))});ft(Zn(Zn({},ue),va))},onFinishFailed:Ct=>Sa(void 0,null,function*(){var cn,Cn;Ae.ZP.error(Ct.errorFields[0].errors[0]),Bn.scrollToField((Cn=(cn=Ct==null?void 0:Ct.errorFields)==null?void 0:cn[0])==null?void 0:Cn.name,{behavior:"smooth",block:"center"})})},wa.createElement("div",{style:{display:"flex",alignItems:"center"}},wa.createElement("div",{style:{flex:1}},wa.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),wa.createElement("span",null,(ue==null?void 0:ue.question_type)===1?"\u591A\u9009\u9898":"\u5355\u9009\u9898")),((qt=it==null?void 0:it.exercise)==null?void 0:qt.exercise_status)==1&&!(ue!=null&&ue.isadd)&&wa.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Rn()}},wa.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),wa.createElement(_e.ZP,{onClick:()=>{var Ct;ue.isadd?(Ee(!1),Yt()):(Bn.setFieldsValue(qn(Zn({},ue),{name:ue==null?void 0:ue.question_title,choices:(Ct=ue==null?void 0:ue.question_choices)==null?void 0:Ct.map(cn=>qn(Zn({},cn),{standard_boolean:cn!=null&&cn.standard_boolean?1:0})),repeat_answer:!(ue!=null&&ue.repeat_answer)})),Ee(!1))}},"\u53D6\u6D88"),wa.createElement(ut.Z,{overlayClassName:nt.shake,open:vt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:wa.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},wa.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},wa.createElement(_e.ZP,{type:"primary",className:"ml20",onClick:()=>Sa(void 0,null,function*(){Bn.submit()})},"\u4FDD\u5B58"))),wa.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},wa.createElement(ia.Z,{align:"middle"},wa.createElement(De.default.Item,{className:nt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},wa.createElement(Le.Z,{onBlur:Ct=>{Ct.target.value==="0"&&Ae.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",max:100,min:.1}))),wa.createElement(Ea.u,{form:Bn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",titleKey:"question_title",choiceKey:"choices",analysisKey:"analysis",choiceOptionsPath:"choices",choiceTextKey:"choice_text",answerKey:"standard_boolean"}),wa.createElement(pa,{getTagData:vn,qitem:ue,exerciseitem:it,TagDiscipline:Pe,form:Bn}))))},st=oe(95062),Ft=oe(20135),St=oe(59301),mn=Object.defineProperty,Kt=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,Ye=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,un=(ue,Ee,Pe)=>Ee in ue?mn(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,pn=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Ue.call(Ee,Pe)&&un(ue,Pe,Ee[Pe]);if(Ye)for(var Pe of Ye(Ee))Bt.call(Ee,Pe)&&un(ue,Pe,Ee[Pe]);return ue},ra=(ue,Ee)=>Kt(ue,Ge(Ee)),Wn=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())}),jn=({qitem:ue,TagDiscipline:Ee,exerciseitem:Pe,setisedit:it,seveeditor:ft,deleteitem:Rn,getTagData:vn,init:Yt,showTip:vt=!1})=>{var qt;const[Bn]=De.default.useForm(),qe=De.default.useWatch("use_blank_score",Bn);return(0,b.useEffect)(()=>{Bn.setFieldsValue(ra(pn({},ue),{standard_answers:ue.standard_answers||[],name:ue.question_title,repeat_answer:!ue.repeat_answer}))},[ue]),St.createElement("div",null,St.createElement(De.default,{form:Bn,colon:!1,onValuesChange:(Ct,cn)=>{var Cn,Jt,Ot,Qt;if(Ct!=null&&Ct.standard_answers||Ct!=null&&Ct.use_blank_score){let Zt=((Cn=Bn.getFieldValue("standard_answers"))==null?void 0:Cn.length)>0&&((Ot=(Jt=Bn.getFieldValue("standard_answers"))==null?void 0:Jt.map(va=>va.score))==null?void 0:Ot.filter(va=>va));(Zt==null?void 0:Zt.length)>0&&Bn.setFieldsValue({question_score:(Zt==null?void 0:Zt.length)>0&&((Qt=Zt.reduce((va,Sn)=>va+Sn))==null?void 0:Qt.toFixed(1))})}},onFinish:Ct=>{ft(ra(pn(pn({},ue),Ct),{item_type:ue==null?void 0:ue.question_type,standard_answers:Ct.standard_answers,question_title:Ct.name}))},onFinishFailed:Ct=>Wn(void 0,null,function*(){var cn,Cn;Ct.errorFields[0].errors[0]==="\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"&&(0,Pt.pE)(),Ae.ZP.error(Ct.errorFields[0].errors[0]),Bn.scrollToField((Cn=(cn=Ct==null?void 0:Ct.errorFields)==null?void 0:cn[0])==null?void 0:Cn.name,{behavior:"smooth",block:"center"})})},St.createElement("div",{style:{display:"flex",alignItems:"center"}},St.createElement("div",{style:{flex:1}},St.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),St.createElement("span",null,"\u586B\u7A7A\u9898")),((qt=Pe==null?void 0:Pe.exercise)==null?void 0:qt.exercise_status)==1&&!(ue!=null&&ue.isadd)&&St.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Rn()}},St.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),St.createElement(_e.ZP,{onClick:()=>{ue.isadd?(it(!1),Yt()):(Bn.setFieldsValue(ra(pn({},ue),{standard_answers:ue.standard_answers||[],name:ue.question_title,repeat_answer:!ue.repeat_answer})),it(!1))}},"\u53D6\u6D88"),St.createElement(ut.Z,{overlayClassName:nt.shake,open:vt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:St.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},St.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},St.createElement(_e.ZP,{type:"primary",className:"ml20",onClick:()=>{Bn.submit()}},"\u4FDD\u5B58"))),St.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},St.createElement(ia.Z,{align:"middle"},qe?St.createElement(Ft.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}):St.createElement(De.default.Item,{key:2,className:nt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},St.createElement(Le.Z,{onBlur:Ct=>{Ct.target.value==="0"&&Ae.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",size:"middle",max:100,min:.1})),St.createElement(De.default.Item,{name:"use_blank_score",noStyle:!0},St.createElement(Me.ZP.Group,{className:nt.scoreByBlankRadio,optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}]})),St.createElement(ut.Z,{overlayInnerStyle:{width:460},title:St.createElement("div",null,"\u6309\u7A7A\u7ED9\u5206\uFF1A\u9700\u8981\u5206\u522B\u8BBE\u7F6E\u6BCF\u4E2A\u586B\u7A7A\u9879\u7684\u5206\u503C\uFF0C\u586B\u7A7A\u9879\u7B54\u5BF9\u4E4B\u540E\u5219\u83B7\u5F97\u5BF9\u5E94\u7684\u5206\u503C\u3002",St.createElement("br",null),"\u6309\u9898\u7ED9\u5206\uFF1A\u9700\u8981\u8BBE\u7F6E\u6574\u4E2A\u5C0F\u9898\u7684\u5206\u503C\uFF0C\u7B54\u5BF9\u5168\u90E8\u586B\u7A7A\u9879\u4E4B\u540E\u624D\u80FD\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\u3002")},St.createElement("i",{className:"icon-tishixiaowenhao font18 ml20 c-3061d0"}))),St.createElement(st.u,{form:Bn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:qe,answerKey:"standard_answers"}),St.createElement(pa,{getTagData:vn,qitem:ue,exerciseitem:Pe,TagDiscipline:Ee,form:Bn}))))},Tn=oe(42784),jt=oe(59301),La=Object.defineProperty,lr=Object.defineProperties,oo=Object.getOwnPropertyDescriptors,Wa=Object.getOwnPropertySymbols,zt=Object.prototype.hasOwnProperty,jr=Object.prototype.propertyIsEnumerable,Ta=(ue,Ee,Pe)=>Ee in ue?La(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,vr=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))zt.call(Ee,Pe)&&Ta(ue,Pe,Ee[Pe]);if(Wa)for(var Pe of Wa(Ee))jr.call(Ee,Pe)&&Ta(ue,Pe,Ee[Pe]);return ue},er=(ue,Ee)=>lr(ue,oo(Ee)),kr=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())}),qr=({qitem:ue,setisedit:Ee,TagDiscipline:Pe,exerciseitem:it,seveeditor:ft,deleteitem:Rn,getTagData:vn,init:Yt,showTip:vt=!1})=>{var qt;const[Bn]=De.default.useForm();return(0,b.useEffect)(()=>{var qe;Bn.setFieldsValue(er(vr({},ue),{name:ue.question_title,repeat_answer:!ue.repeat_answer,choices:(qe=ue==null?void 0:ue.question_choices)==null?void 0:qe.map(Ct=>er(vr({},Ct),{is_answer:Ct!=null&&Ct.standard_boolean?1:0}))}))},[ue]),jt.createElement("div",null,jt.createElement(De.default,{form:Bn,colon:!1,onFinish:qe=>{var Ct,cn,Cn,Jt;let Ot=(cn=(Ct=qe==null?void 0:qe.choices)==null?void 0:Ct.map)==null?void 0:cn.call(Ct,(Qt,Zt)=>{if((Qt==null?void 0:Qt.is_answer)===1)return Zt+1});ft(er(vr(vr({},ue),qe),{question_title:qe.name,standard_answers:Ot.filter(Qt=>Qt),question_choices:(Jt=(Cn=qe==null?void 0:qe.choices)==null?void 0:Cn.map)==null?void 0:Jt.call(Cn,Qt=>Qt.choice_text)}))},onFinishFailed:qe=>kr(void 0,null,function*(){var Ct,cn;Ae.ZP.error(qe.errorFields[0].errors[0]),Bn.scrollToField((cn=(Ct=qe==null?void 0:qe.errorFields)==null?void 0:Ct[0])==null?void 0:cn.name,{behavior:"smooth",block:"center"})})},jt.createElement("div",{style:{display:"flex",alignItems:"center"}},jt.createElement("div",{style:{flex:1}},jt.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),jt.createElement("span",null,"\u5224\u65AD\u9898")),((qt=it==null?void 0:it.exercise)==null?void 0:qt.exercise_status)==1&&!(ue!=null&&ue.isadd)&&jt.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Rn()}},jt.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),jt.createElement(_e.ZP,{onClick:()=>{var qe;ue.isadd?(Ee(!1),Yt()):(Bn.setFieldsValue(er(vr({},ue),{name:ue.question_title,repeat_answer:!ue.repeat_answer,choices:(qe=ue==null?void 0:ue.question_choices)==null?void 0:qe.map(Ct=>er(vr({},Ct),{is_answer:Ct!=null&&Ct.standard_boolean?1:0}))})),Ee(!1))}},"\u53D6\u6D88"),jt.createElement(ut.Z,{overlayClassName:nt.shake,open:vt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:jt.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},jt.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},jt.createElement(_e.ZP,{type:"primary",className:"ml20",onClick:()=>{Bn.submit()}},"\u4FDD\u5B58"))),jt.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},jt.createElement(De.default.Item,{className:nt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},jt.createElement(Le.Z,{onBlur:qe=>{qe.target.value==="0"&&Ae.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",max:100,min:.1})),jt.createElement(Tn.Z,{form:Bn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",choiceKey:""}),jt.createElement(pa,{getTagData:vn,qitem:ue,exerciseitem:it,TagDiscipline:Pe,form:Bn}))))},wr=oe(36381),oa={wrap:"wrap___m6v_p",deleteIcon:"deleteIcon___hdYRw",keywordTag:"keywordTag___BLtdn",questionTitleEditorWrap:"questionTitleEditorWrap___fdaK7",choiceWrap:"choiceWrap___wkyUO",choiceIndex:"choiceIndex___tExMq",judgementIndex:"judgementIndex___RMhzJ",setAnswerBtn:"setAnswerBtn___bisIK",activeAnswer:"activeAnswer___MnyyC",activeJudgementAnswer:"activeJudgementAnswer___grGX5",actionWrapper:"actionWrapper___LUawU",addIcon:"addIcon___ckXqe",inputBorder:"inputBorder___nuo0O",placeholder:"placeholder___Dhdir",blankWrapper:"blankWrapper___cnidV",blankInput:"blankInput___iZ5BF",blankInputNumberWrapper:"blankInputNumberWrapper___zlXQc",addBtn:"addBtn___OdgAm",blankIndex:"blankIndex___g4Y7d",baseInputWrapper:"baseInputWrapper___DCOHd",collapseWrapper:"collapseWrapper___SyLrk",panelHeader:"panelHeader___E0il1",open:"open___IFH3V",close:"close___YpIA9",hide:"hide___Nl1W6",scoreByBlankRadio:"scoreByBlankRadio___jpG4i"},$t=oe(4213),Xa=Object.defineProperty,ua=Object.defineProperties,tr=Object.getOwnPropertyDescriptors,Oa=Object.getOwnPropertySymbols,hn=Object.prototype.hasOwnProperty,$n=Object.prototype.propertyIsEnumerable,Aa=(ue,Ee,Pe)=>Ee in ue?Xa(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Un=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))hn.call(Ee,Pe)&&Aa(ue,Pe,Ee[Pe]);if(Oa)for(var Pe of Oa(Ee))$n.call(Ee,Pe)&&Aa(ue,Pe,Ee[Pe]);return ue},qa=(ue,Ee)=>ua(ue,tr(Ee)),Ka=(ue,Ee)=>{var Pe={};for(var it in ue)hn.call(ue,it)&&Ee.indexOf(it)<0&&(Pe[it]=ue[it]);if(ue!=null&&Oa)for(var it of Oa(ue))Ee.indexOf(it)<0&&$n.call(ue,it)&&(Pe[it]=ue[it]);return Pe};const pr=ue=>{var Ee=ue,{value:Pe,onChange:it,scrollId:ft}=Ee,Rn=Ka(Ee,["value","onChange","scrollId"]);return b.createElement("div",{id:ft||""},b.createElement($t.Z,qa(Un({},Rn),{defaultValue:Pe,onChange:(vn,Yt)=>{console.log("a:",vn,Yt),Yt!=null&&Yt.length?it(vn,Yt):it(vn)}})))},_r=({value:ue,onChange:Ee,placeholder:Pe,height:it=140,isEdit:ft})=>ft?b.createElement($t.Z,{watch:!0,isFocus:!0,height:it,placeholder:Pe,defaultValue:ue,onChange:Ee}):b.createElement("div",{style:{cursor:"pointer"}},ue?b.createElement(Mt.Z,{className:oa.inputBorder,value:ue}):b.createElement("div",{className:`${oa.inputBorder} ${oa.placeholder}`},Pe));var nr=oe(43604),jo=Object.defineProperty,Co=Object.defineProperties,pi=Object.getOwnPropertyDescriptors,Pr=Object.getOwnPropertySymbols,Ar=Object.prototype.hasOwnProperty,uo=Object.prototype.propertyIsEnumerable,za=(ue,Ee,Pe)=>Ee in ue?jo(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Tr=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Ar.call(Ee,Pe)&&za(ue,Pe,Ee[Pe]);if(Pr)for(var Pe of Pr(Ee))uo.call(Ee,Pe)&&za(ue,Pe,Ee[Pe]);return ue},Hr=(ue,Ee)=>Co(ue,pi(Ee)),ur=(ue,Ee)=>{var Pe={};for(var it in ue)Ar.call(ue,it)&&Ee.indexOf(it)<0&&(Pe[it]=ue[it]);if(ue!=null&&Pr)for(var it of Pr(ue))Ee.indexOf(it)<0&&uo.call(ue,it)&&(Pe[it]=ue[it]);return Pe};const zr=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],fo=({value:ue,onChange:Ee,choiceTextKey:Pe,answerKey:it,index:ft,isEdit:Rn,setInputActive:vn,form:Yt,choiceOptionsPath:vt,allowChangeMode:qt,showAddIcon:Bn,addItem:qe,deleteItem:Ct})=>{const cn=(ue==null?void 0:ue[it])===1,Cn=()=>{const Ot=Yt.getFieldValue(vt);Yt.setFieldValue(vt,Ot.map(Qt=>Hr(Tr({},Qt),{[it]:0})))},Jt=()=>{cn?Ee(Hr(Tr({},ue),{[it]:0})):(qt||Cn(),Ee(Hr(Tr({},ue),{[it]:1})))};return b.createElement(ia.Z,{className:oa.choiceWrap,align:"middle",wrap:!1},b.createElement(nr.Z,{onClick:Jt,className:`${oa.choiceIndex} ${cn?oa.activeAnswer:""}`},zr[ft]),b.createElement(nr.Z,{flex:1,className:`${oa.editorWrap} ml15`,onClick:vn},b.createElement(_r,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:Rn,value:ue==null?void 0:ue[Pe],onChange:Ot=>{Ee(Hr(Tr({},ue),{[Pe]:Ot}))}})),b.createElement(nr.Z,{flex:"0 0 auto",className:"ml15"},b.createElement("div",{onClick:Jt,className:`${oa.setAnswerBtn} ${cn?oa.activeAnswer:""}`},cn?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),b.createElement(nr.Z,{className:oa.actionWrapper},b.createElement(ut.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},b.createElement(ae.Z,{className:oa.addIcon,onClick:qe,style:{visibility:Bn?"visible":"hidden"}})),b.createElement(ut.Z,{title:"\u5220\u9664"},b.createElement(se.Z,{className:oa.deleteIcon,onClick:Ct,style:{visibility:ft>1?"visible":"hidden"}}))))},Qr=({questionTitlePlaceholder:ue,titleKey:Ee,choiceKey:Pe,analysisKey:it,choiceTextKey:ft,answerKey:Rn,choiceOptionsPath:vn,allowChangeMode:Yt=!0,form:vt,showAnalysis:qt=!0})=>{const[Bn,qe]=(0,b.useState)(),[Ct,cn]=(0,b.useState)(!1);return b.createElement("div",{className:oa.wrap},b.createElement("div",{className:oa.questionTitleEditorWrap},b.createElement(De.default.Item,{label:"\u9898\u5E72",name:Ee,labelCol:{span:24},rules:[{required:!0}]},b.createElement(pr,{scrollId:Array.isArray(Ee)?Ee.join("_"):`${Ee}`,watch:!0,height:140,placeholder:ue}))),b.createElement(De.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),b.createElement(De.default.List,{name:Pe,rules:[{validator(Cn,Jt){const Ot=Jt.some(Zt=>Zt[Rn]===1),Qt=Jt.findIndex(Zt=>{var va;return((va=Zt[ft])==null?void 0:va.length)<=0});return Qt!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${zr[Qt]}\u9009\u9879\u7684\u5185\u5BB9`)):Ot?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(Cn,{add:Jt,remove:Ot})=>b.createElement("div",{id:Array.isArray(vn)?vn.join("_"):`${vn}`},Cn.map((Qt,Zt)=>{var va=Qt,{key:Sn,name:En}=va,Cr=ur(va,["key","name"]);const Er=Bn===Sn,$a=()=>{qe(Sn)},Ao=Zt<7&&Zt===Cn.length-1,na=()=>Jt({[ft]:"",[Rn]:0}),Or=()=>Ot(En);return b.createElement(De.default.Item,Hr(Tr({},Cr),{key:Sn,name:En,noStyle:!0}),b.createElement(fo,{choiceTextKey:ft,answerKey:Rn,index:Zt,isEdit:Er,setInputActive:$a,form:vt,choiceOptionsPath:vn,allowChangeMode:Yt,showAddIcon:Ao,addItem:na,deleteItem:Or}))}),Cn.length<8&&b.createElement("div",{className:`${oa.addBtn} mb30`,onClick:()=>Jt({[ft]:"",[Rn]:0})},"\u6DFB\u52A0\u9009\u9879"))),qt&&b.createElement("div",{onClick:()=>cn(!0)},b.createElement(De.default.Item,{name:it,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(_r,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ct}))))};var Ha=oe(59301),wo=Object.defineProperty,ni=Object.defineProperties,ri=Object.getOwnPropertyDescriptors,Zr=Object.getOwnPropertySymbols,oi=Object.prototype.hasOwnProperty,Yo=Object.prototype.propertyIsEnumerable,ul=(ue,Ee,Pe)=>Ee in ue?wo(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,wi=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))oi.call(Ee,Pe)&&ul(ue,Pe,Ee[Pe]);if(Zr)for(var Pe of Zr(Ee))Yo.call(Ee,Pe)&&ul(ue,Pe,Ee[Pe]);return ue},Ki=(ue,Ee)=>ni(ue,ri(Ee)),Oo=(ue,Ee)=>{var Pe={};for(var it in ue)oi.call(ue,it)&&Ee.indexOf(it)<0&&(Pe[it]=ue[it]);if(ue!=null&&Zr)for(var it of Zr(ue))Ee.indexOf(it)<0&&Yo.call(ue,it)&&(Pe[it]=ue[it]);return Pe};const yl=({value:ue,onChange:Ee})=>{const Pe=ft=>{Ke.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:oa.modal,onOk:()=>{const Rn=[...ue];Rn.splice(ft,1),Ee(Rn)}})},it=()=>{const ft=[...ue];ft.push(""),Ee(ft)};return Ha.createElement(ia.Z,{className:"ml20"},Ha.createElement(nr.Z,{flex:1},ue==null?void 0:ue.map((ft,Rn)=>Ha.createElement(ia.Z,{key:`${ft}_${Rn}`,align:"middle",className:"mb20"},Ha.createElement(ze.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:ft,autoSize:{maxRows:3},maxLength:1e3,onBlur:vn=>{const Yt=[...ue],vt=vn.target.value.trim();Yt[Rn]=vt,Ee(Yt)}}),Ha.createElement(ut.Z,{title:"\u5220\u9664"},Ha.createElement(se.Z,{className:oa.deleteIcon,style:{marginLeft:15,visibility:Rn>0?"visible":"hidden"},onClick:()=>Pe(Rn)}))))),Ha.createElement(nr.Z,null,Ha.createElement("div",{className:`${oa.addBtn}`,onClick:()=>{it()}},"\u65B0\u589E\u7B54\u6848")))},Kl=({value:ue=!0,onChange:Ee})=>Ha.createElement(Va.Z,{checked:!ue,onChange:Pe=>{Ee(!Pe)}}),Mi="\u2581",Gi=({questionTitlePlaceholder:ue,form:Ee,name:Pe,scoreByBlank:it,answerKey:ft,titleKey:Rn="name",analysisKey:vn="analysis",isOrdered:Yt="is_ordered"})=>{var vt,qt;const[Bn,qe]=(0,b.useState)(!1),Ct=(Sn,En)=>{const Cr=En.line;let Er=0;for(let Ao=0;Ao{const $a=Sn.getRange(En.from,En.to);let Ao=0;if(En.text.forEach(na=>{Ao+=na.split(Mi).length-1}),En.origin!=="setValue"){if($a&&$a.indexOf(Mi)!==-1){const na=$a.split(Mi).length-1,Or=Ct(Sn,En.from);if(console.log(`\u5220\u9664${na}\u4E2A\uFF0C \u524D\u9762\u6709${Or}\u4E2A\uFF0C\u65B0\u589E${Ao}\u4E2A`),na>1){const Ga=Array.from({length:na},(Wr,ho)=>Or+ho);Er(Ga)}else Er(Or)}else if(Ao>0){const na=Ct(Sn,En.from);console.log(`\u65B0\u589E${Ao}\u4E2A\uFF0C\u4E4B\u524D\u6709${na}\u4E2A`),Cr(Ao,na)}}},Cn=()=>{const Sn=Ee.getFieldValue(["sub_item_banks",...ft]);Ee.setFieldValue(["sub_item_banks",...ft],Sn==null?void 0:Sn.map((En,Cr)=>Ki(wi({},En),{position:Cr+1})))},Jt=(0,b.useRef)(),Ot=(Sn,En)=>{for(let Cr=0;Cr{Qt.current(Sn),Cn()},va=(qt=(vt=Ee.getFieldValue("sub_item_banks"))==null?void 0:vt[ft==null?void 0:ft[0]])==null?void 0:qt[ft==null?void 0:ft[1]];return console.log(Ee==null?void 0:Ee.getFieldValue(["sub_item_banks",...it])),Ha.createElement("div",{className:oa.wrap},Ha.createElement("div",{className:oa.questionTitleEditorWrap},Ha.createElement(De.default.Item,{label:"\u9898\u5E72",name:Rn,labelCol:{span:24},rules:[{required:!0}]},Ha.createElement(pr,{scrollId:"name",watch:!0,height:140,placeholder:ue,showNullButton:!0,onCMBeforeChange:(Sn,En)=>{cn(Sn,En,Ot,Zt)}}))),Ha.createElement(De.default.List,{name:ft,rules:[{validator(Sn,En){if((En==null?void 0:En.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Cr of En){const{answer_text:Er}=Cr||{};if(Er!=null&&Er.some($a=>($a==null?void 0:$a.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Sn,{add:En,remove:Cr},{errors:Er})=>(Jt.current=En,Qt.current=Cr,Ha.createElement(Ha.Fragment,null,Ha.createElement(De.default.Item,{label:Ha.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Sn!=null&&Sn.length)&&Ha.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),Sn.map(($a,Ao)=>{var na=$a,{key:Or,name:Ga}=na,Wr=Oo(na,["key","name"]);return Ha.createElement(ia.Z,{className:"mb20",key:Or,align:"top"},Ha.createElement(nr.Z,{flex:"0 0 auto",className:`${oa.blankIndex} pt5`},"\u586B\u7A7A\u9879",Ao+1),Ha.createElement(nr.Z,{flex:1},Ha.createElement(ia.Z,{align:"top",justify:"space-between"},Ha.createElement(nr.Z,{flex:1},Ha.createElement(De.default.Item,Ki(wi({},Wr),{name:[Ga,"answer_text"],noStyle:!0}),Ha.createElement(yl,null))),(Ee==null?void 0:Ee.getFieldValue(["sub_item_banks",...it]))&&Ha.createElement(nr.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},Ha.createElement(De.default.Item,Ki(wi({},Wr),{name:[Ga,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:oa.blankInputNumberWrapper}),Ha.createElement(Le.Z,{onChange:()=>{var ho,xo;let zo=Ee==null?void 0:Ee.getFieldValue(["sub_item_banks",ft==null?void 0:ft[0],"standard_answers"]),Pa=0;for(let Fr in zo)(ho=zo[Fr])!=null&&ho.score&&(Pa+=Number((xo=zo[Fr])==null?void 0:xo.score));Ee==null||Ee.setFieldValue(["sub_item_banks",ft==null?void 0:ft[0],"question_score"],Pa)},className:oa.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),Ha.createElement(De.default.Item,Ki(wi({},Wr),{name:[Ga,"position"],noStyle:!0}),Ha.createElement(ze.default,{type:"hidden"}))))})))),Ha.createElement(ia.Z,{align:"middle"},Ha.createElement(De.default.Item,{name:[Pe,"downcase"],valuePropName:"checked"},Ha.createElement(Va.Z,null)),Ha.createElement(nr.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),Ha.createElement(ia.Z,{align:"middle"},Ha.createElement(De.default.Item,{name:[Pe,"no_space"],valuePropName:"checked"},Ha.createElement(Va.Z,null)),Ha.createElement(nr.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(va==null?void 0:va.length)>1&&Ha.createElement(ia.Z,{align:"middle",className:(va==null?void 0:va.length)>1?"mb30":`${oa.hide}`},Ha.createElement(De.default.Item,{name:Yt},Ha.createElement(Kl,null)),Ha.createElement(nr.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),Ha.createElement("div",{onClick:()=>qe(!0)},Ha.createElement(De.default.Item,{name:vn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ha.createElement(_r,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Bn}))))};var sl=Object.defineProperty,Za=Object.defineProperties,Hn=Object.getOwnPropertyDescriptors,kn=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,xt=(ue,Ee,Pe)=>Ee in ue?sl(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,gn=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))me.call(Ee,Pe)&&xt(ue,Pe,Ee[Pe]);if(kn)for(var Pe of kn(Ee))pt.call(Ee,Pe)&&xt(ue,Pe,Ee[Pe]);return ue},Et=(ue,Ee)=>Za(ue,Hn(Ee)),wn=(ue,Ee)=>{var Pe={};for(var it in ue)me.call(ue,it)&&Ee.indexOf(it)<0&&(Pe[it]=ue[it]);if(ue!=null&&kn)for(var it of kn(ue))Ee.indexOf(it)<0&&pt.call(ue,it)&&(Pe[it]=ue[it]);return Pe};const bn={\u6B63\u786E:"T",\u9519\u8BEF:"F"},fn=({value:ue,onChange:Ee,form:Pe,choiceKey:it})=>{const ft=(ue==null?void 0:ue.is_answer)===1,Rn=ue==null?void 0:ue.choice_text,vn=()=>{var Yt;const vt=(Yt=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",...it]))==null?void 0:Yt.map(qt=>({choice_text:qt.choice_text,is_answer:0}));Pe==null||Pe.setFieldValue(["sub_item_banks",...it],vt),Ee(Et(gn({},ue),{is_answer:1}))};return b.createElement(ia.Z,{className:oa.choiceWrap,align:"middle",wrap:!1},b.createElement(nr.Z,{onClick:vn,className:`${oa.choiceIndex} ${oa.judgementIndex} ${ft?oa.activeAnswer:""}`},bn[Rn]),b.createElement(nr.Z,{flex:1,className:`${oa.editorWrap} ml15`},b.createElement("div",{className:`${oa.inputBorder} ${oa.placeholder} ${ft?oa.activeJudgementAnswer:""}`},Rn)),b.createElement(nr.Z,{flex:"0 0 auto",className:"ml15"},b.createElement("div",{onClick:vn,className:`${oa.setAnswerBtn} ${ft?oa.activeAnswer:""}`},ft?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},Fn=({questionTitlePlaceholder:ue,choiceKey:Ee="choices",form:Pe,titleKey:it="name",analysisKey:ft="analysis"})=>{const[Rn,vn]=(0,b.useState)(!1);return b.createElement("div",{className:oa.wrap},b.createElement("div",{className:oa.questionTitleEditorWrap},b.createElement(De.default.Item,{label:"\u9898\u5E72",name:it,labelCol:{span:24},rules:[{required:!0}]},b.createElement(pr,{scrollId:"name",watch:!0,height:140,placeholder:ue}))),b.createElement(De.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},b.createElement(De.default.List,{name:Ee,rules:[{validator(Yt,vt){return vt.some(Bn=>(Bn==null?void 0:Bn.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Yt=>b.createElement("div",{id:"choices"},Yt.map(vt=>{var qt=vt,{key:Bn,name:qe}=qt,Ct=wn(qt,["key","name"]);return b.createElement(De.default.Item,Et(gn({},Ct),{key:Bn,name:qe,noStyle:!0}),b.createElement(fn,{form:Pe,choiceKey:Ee}))})))),b.createElement("div",{onClick:()=>vn(!0)},b.createElement(De.default.Item,{name:ft,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(_r,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Rn}))))};var Ma=oe(12563),ir={ai_config:"ai_config___cJ8LY",znpy:"znpy___RTAAN",pfbz_ts:"pfbz_ts___ux6Ec",btns_pfbz:"btns_pfbz___QFXM_",lable_name1:"lable_name1___c_vnV",h_lh_40:"h_lh_40___ptAW7"},hr=oe(12099),ca=oe(56746),ma=oe(59301);const ar=({qitem:ue,form:Ee,exercise:Pe,loading:it,dispatch:ft,aiReviewSettings:Rn=null})=>ma.createElement("div",{className:ir.ai_config},ma.createElement("div",{style:{lineHeight:"32px",paddingBottom:8}},"\u8BC4\u5206\u6807\u51C6"),ma.createElement("div",{className:ir.pfbz_ts},ma.createElement("div",{style:{color:"#333"}},"\u63D0\u793A\uFF1A\u53C2\u8003\u7B54\u6848\u548C\u9898\u76EE\u89E3\u6790\u8D8A\u5B8C\u5584\uFF0CAI\u667A\u80FD\u8BC4\u9605\u5C31\u8D8A\u7CBE\u51C6~"),ma.createElement("div",{className:"flex"},ma.createElement("div",{className:ir.btns_pfbz,onClick:()=>{ft({type:"exercise/setActionTabs",payload:{key:"\u6D4B\u8BD5AI\u8BC4\u5206",questionId:ue==null?void 0:ue.question_id,ai_review_settings:Ee.getFieldValue(Rn||"ai_review_settings")}})}},ma.createElement("img",{src:hr.Z}),"\u6D4B\u8BD5AI\u8BC4\u5206"))),ma.createElement("div",{style:{background:"#F6F7F9"}},ma.createElement(De.default.List,{name:Rn||"ai_review_settings"},(vn,{add:Yt,remove:vt})=>vn.map((qt,Bn)=>{var qe;return ma.createElement(ia.Z,{key:qt.key,style:{padding:"5px 10px 5px 15px"}},ma.createElement(nr.Z,{className:ir.lable_name1},"\u8BC4\u5206\u9879\u76EE"),ma.createElement(nr.Z,null,ma.createElement(De.default.Item,{className:"ml10",name:[qt.name,"name"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BC4\u5206\u9879\u76EE"}]},ma.createElement(ze.default,{onChange:Ct=>{Ee.setFieldValue([qt.name,"content"],Ct.target.value)},placeholder:"\u8BF7\u8F93\u5165\u6700\u591A10\u5B57\u7B26",size:"large",style:{width:142},maxLength:10,className:"mr15"}))),ma.createElement(nr.Z,{className:ir.lable_name1},"\u8BC4\u5206\u6807\u51C6"),ma.createElement(nr.Z,null,ma.createElement(De.default.Item,{className:"ml10",name:[qt.name,"content"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BC4\u5206\u6807\u51C6"}]},ma.createElement(ze.default,{onChange:Ct=>{Ee.setFieldValue([qt.name,"content"],Ct.target.value)},placeholder:"\u8BF7\u8F93\u5165\u8BC4\u5206\u6807\u51C6",size:"large",style:{width:Rn?232:318},className:"mr15",maxLength:500}))),ma.createElement(nr.Z,{className:ir.lable_name1},"\u6743\u91CD"),ma.createElement(nr.Z,null,ma.createElement(De.default.Item,{className:"ml10",name:[qt.name,"weight"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6743\u91CD"},{pattern:/^(?!0(\.0+)?$)(\d+(\.\d)?)$/,message:"\u6700\u591A\u4FDD\u7559\u4E00\u4F4D\u5C0F\u6570"}]},ma.createElement(Le.Z,{value:Ee.getFieldValue([qt.name,"weight"]),onChange:Ct=>{Number.isInteger(Ct)||Ee.setFieldValue([qt.name,"weight"],parseFloat(Ct).toFixed(2))},size:"large",addonAfter:"%",placeholder:"\u8BF7\u8F93\u5165\u6743\u91CD",min:.01,step:1,max:100,style:{width:"110px"}}))),ma.createElement(ia.Z,{className:(qe=ir)==null?void 0:qe.h_lh_40},ma.createElement(nr.Z,null,ma.createElement("i",{className:"iconfont icon-tianjiatimu ml10 current",style:{color:"#00B187"},onClick:()=>{if(vn.length>=10)return Ae.ZP.info("\u6700\u591A\u53EA\u80FD\u6DFB\u52A010\u4E2A\u8BC4\u5206\u9879\u76EE");Yt()}})),Bn>0&&ma.createElement(nr.Z,null,ma.createElement("i",{className:"iconfont icon-shanjian1 ml10 current",style:{color:"#E30000"},onClick:()=>{vt(qt.name)}}))))}))),ma.createElement(ca.Z,null));var dr=(0,he.connect)(({exercise:ue,loading:Ee})=>({exercise:ue,loading:Ee.effects}))(ar),Mo=Object.defineProperty,Ko=Object.defineProperties,Lo=Object.getOwnPropertyDescriptors,Wo=Object.getOwnPropertySymbols,ai=Object.prototype.hasOwnProperty,ui=Object.prototype.propertyIsEnumerable,Fl=(ue,Ee,Pe)=>Ee in ue?Mo(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,$i=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))ai.call(Ee,Pe)&&Fl(ue,Pe,Ee[Pe]);if(Wo)for(var Pe of Wo(Ee))ui.call(Ee,Pe)&&Fl(ue,Pe,Ee[Pe]);return ue},el=(ue,Ee)=>Ko(ue,Lo(Ee)),tl=(ue,Ee)=>{var Pe={};for(var it in ue)ai.call(ue,it)&&Ee.indexOf(it)<0&&(Pe[it]=ue[it]);if(ue!=null&&Wo)for(var it of Wo(ue))Ee.indexOf(it)<0&&ui.call(ue,it)&&(Pe[it]=ue[it]);return Pe};const ou=ue=>{var Ee=ue,{value:Pe,onChange:it}=Ee,ft=tl(Ee,["value","onChange"]);const Rn=vn=>{it([vn])};return b.createElement($t.Z,el($i({},ft),{defaultValue:Pe==null?void 0:Pe[0],onChange:Rn}))},dl=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},Ol=({value:ue=[],onClose:Ee})=>b.createElement(Ma.default,{closable:!0,onClose:Ee,className:oa.keywordTag},b.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},ue.join(" \u6216 "))),as=({questionTitlePlaceholder:ue,form:Ee,showKeywords:Pe,isMustKeyWords:it=Pe,titleKey:ft="name",analysisKey:Rn="analysis",answerTexts:vn="answer_texts",keywords:Yt="keywords",useKeywords:vt="use_keywords",indexs:qt,qitem:Bn,exerciseitem:qe,aiReviewSettings:Ct})=>{var cn,Cn,Jt,Ot,Qt;const[Zt,va]=(0,b.useState)(!1),[Sn,En]=(0,b.useState)(""),Cr=(Cn=(cn=Ee.getFieldValue("sub_item_banks"))==null?void 0:cn[vt==null?void 0:vt[0]])==null?void 0:Cn[vt==null?void 0:vt[1]],Er=(Ot=(Jt=Ee.getFieldValue("sub_item_banks"))==null?void 0:Jt[vt==null?void 0:vt[0]])==null?void 0:Ot.question_score;return b.createElement("div",{className:oa.wrap},b.createElement("div",{className:oa.questionTitleEditorWrap},b.createElement(De.default.Item,{label:"\u9898\u5E72",name:ft,labelCol:{span:24},rules:[{required:!0}]},b.createElement(pr,{scrollId:"name",watch:!0,height:140,placeholder:ue}))),b.createElement(De.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:vn,labelCol:{span:24}},b.createElement(ou,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Pe&&!it&&b.createElement(De.default.Item,{hidden:!0,name:vt,valuePropName:"checked"},b.createElement(Va.Z,{defaultChecked:!0})),Pe&&it&&b.createElement(ia.Z,{align:"middle",className:"mb30"},b.createElement(De.default.Item,{name:vt,valuePropName:"checked"},b.createElement(Va.Z,null)),b.createElement(nr.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),b.createElement(nr.Z,null,b.createElement(ut.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},b.createElement(Pn.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(Cr||!it)&&b.createElement(De.default.List,{name:Yt,rules:[{validator($a,Ao){return it?Ao!=null&&Ao.length?(Ao==null?void 0:Ao.reduce((Or,Ga)=>Or+Ga.score,0))>parseFloat(Er)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},($a,{add:Ao,remove:na})=>b.createElement(b.Fragment,null,b.createElement("div",{className:`${oa.title} mb10`},it?"\u5173\u952E\u8BCD":b.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),b.createElement(ia.Z,{align:"middle",className:"font14 mb30"},b.createElement(nr.Z,{flex:1},b.createElement(ze.default,{value:Sn,onChange:Or=>{En(Or.target.value)},maxLength:50,allowClear:!0,onPressEnter:Or=>{var Ga,Wr,ho,xo;const zo=`${(Ga=Or.target)==null?void 0:Ga.value}`,Pa=(ho=(Wr=zo==null?void 0:zo.split("|"))==null?void 0:Wr.filter(Fo=>!!Fo))==null?void 0:ho.map(Fo=>Fo==null?void 0:Fo.trim()),Fr=Ee.getFieldValue(["sub_item_banks",...Yt]),Ei=((xo=Fr==null?void 0:Fr.map(Fo=>Fo==null?void 0:Fo.keyword))==null?void 0:xo.flat())||[];for(const Fo of Pa)if(Ei.includes(Fo)){Ae.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}dl(zo)&&(Ao({keyword:Pa,score:1}),En(""))},className:oa.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),b.createElement(nr.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),$a.map(Or=>{var Ga=Or,{key:Wr,name:ho}=Ga,xo=tl(Ga,["key","name"]);return b.createElement(ia.Z,{key:Wr,className:"mb20",style:{marginRight:148}},b.createElement(nr.Z,{flex:1},b.createElement(ia.Z,{align:"middle",justify:"space-between"},b.createElement(De.default.Item,el($i({},xo),{name:[ho,"keyword"]}),b.createElement(Ol,{onClose:()=>na(ho)})),it&&b.createElement(De.default.Item,el($i({},xo),{name:[ho,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:oa.blankInputNumberWrapper}),b.createElement(Le.Z,{className:oa.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),b.createElement("div",{onClick:()=>va(!0)},b.createElement(De.default.Item,{name:Rn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(_r,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Zt}))),((Qt=qe==null?void 0:qe.exercise)==null?void 0:Qt.is_open_ai_review)&&b.createElement(dr,{form:Ee,qitem:Bn,aiReviewSettings:Ct}))};var Mr=oe(59301),Cu=Object.defineProperty,wu=Object.defineProperties,rs=Object.getOwnPropertyDescriptors,Li=Object.getOwnPropertySymbols,zu=Object.prototype.hasOwnProperty,Lu=Object.prototype.propertyIsEnumerable,Pu=(ue,Ee,Pe)=>Ee in ue?Cu(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Nu=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))zu.call(Ee,Pe)&&Pu(ue,Pe,Ee[Pe]);if(Li)for(var Pe of Li(Ee))Lu.call(Ee,Pe)&&Pu(ue,Pe,Ee[Pe]);return ue},iu=(ue,Ee)=>wu(ue,rs(Ee)),Vu=(ue,Ee)=>{var Pe={};for(var it in ue)zu.call(ue,it)&&Ee.indexOf(it)<0&&(Pe[it]=ue[it]);if(ue!=null&&Li)for(var it of Li(ue))Ee.indexOf(it)<0&&Lu.call(ue,it)&&(Pe[it]=ue[it]);return Pe};const{Panel:Iu}=wr.default,Ou=({questionTitlePlaceholder:ue,choiceKey:Ee,form:Pe,withScore:it,exerciseitem:ft})=>{const Rn=[{type:0,name:"\u5355\u9009\u9898"},{type:1,name:"\u591A\u9009\u9898"},{type:2,name:"\u5224\u65AD\u9898"},{type:3,name:"\u586B\u7A7A\u9898"},{type:4,name:"\u7B80\u7B54\u9898"},{type:5,name:"\u5B9E\u8BAD\u9898"},{type:6,name:"\u7F16\u7A0B\u9898"},{type:7,name:"\u7EC4\u5408\u9898"},{type:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}],[vn,Yt]=(0,b.useState)(),[vt,qt]=(0,b.useState)([]),Bn=Ct=>{qt(Ct)},qe=({value:Ct})=>Mr.createElement("div",{style:{width:150,paddingLeft:11}},Ct);return Mr.createElement("div",{className:oa.wrap},Mr.createElement("div",{className:oa.questionTitleEditorWrap},Mr.createElement(De.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},Mr.createElement(pr,{scrollId:"name",watch:!0,height:140,placeholder:ue}))),Mr.createElement(De.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),Mr.createElement(De.default.List,{name:"sub_item_banks",rules:[{validator(Ct,cn){return cn?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Ct,{add:cn,remove:Cn,move:Jt})=>{const Ot=Pe.getFieldValue("sub_item_banks");return Mr.createElement(Mr.Fragment,null,Mr.createElement(wr.default,{className:Ct.length>0?oa.collapseWrapper:"",bordered:!1,activeKey:vt,onChange:Bn,expandIcon:({isActive:Qt})=>Mr.createElement("i",{className:`iconfont icon-weizhankai ${Qt?oa.open:oa.close}`,style:{fontSize:14,transition:"all .2s"}})},Ct.map((Qt,Zt)=>{var va=Qt,{key:Sn,name:En}=va,Cr=Vu(va,["key","name"]),Er,$a,Ao,na,Or,Ga,Wr,ho,xo,zo,Pa,Fr,Ei,Fo;return Mr.createElement(Iu,{className:oa.panel,forceRender:!0,header:Mr.createElement("div",{className:oa.panelHeader},"\u7B2C",Zt+1,"\u5C0F\u9898",Mr.createElement("span",null,"\uFF08",((Er=Ot==null?void 0:Ot[En])==null?void 0:Er.question_type)==0?"\u5355\u9009\u9898":(($a=Ot==null?void 0:Ot[En])==null?void 0:$a.question_type)==1?"\u591A\u9009\u9898":((Ao=Ot==null?void 0:Ot[En])==null?void 0:Ao.question_type)==3?"\u586B\u7A7A\u9898":((na=Ot==null?void 0:Ot[En])==null?void 0:na.question_type)==2?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:En,extra:Mr.createElement(ia.Z,{align:"middle",onClick:Dn=>Dn.stopPropagation()},((Or=Ot==null?void 0:Ot[En])==null?void 0:Or.question_type)==3&&Mr.createElement(Mr.Fragment,null,Mr.createElement(Me.ZP.Group,{defaultValue:(Ga=Ot==null?void 0:Ot[En])==null?void 0:Ga.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 li,Ii,di,Bi,Oi;if(Pe==null||Pe.setFieldValue(["sub_item_banks",En,"use_blank_score"],(li=Dn==null?void 0:Dn.target)==null?void 0:li.value),(Ii=Dn==null?void 0:Dn.target)!=null&&Ii.value){let ei=0;for(let ol in(di=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",En]))==null?void 0:di.standard_answers)ei+=Number((Oi=(Bi=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",En]))==null?void 0:Bi.standard_answers[ol])==null?void 0:Oi.score);Pe==null||Pe.setFieldValue(["sub_item_banks",En,"question_score"],ei||"")}Yt(new Date)}}),Mr.createElement(ut.Z,{overlayInnerStyle:{width:460},title:Mr.createElement("div",null,"\u6309\u7A7A\u7ED9\u5206\uFF1A\u9700\u8981\u5206\u522B\u8BBE\u7F6E\u6BCF\u4E2A\u586B\u7A7A\u9879\u7684\u5206\u503C\uFF0C\u586B\u7A7A\u9879\u7B54\u5BF9\u4E4B\u540E\u5219\u83B7\u5F97\u5BF9\u5E94\u7684\u5206\u503C\u3002",Mr.createElement("br",null),"\u6309\u9898\u7ED9\u5206\uFF1A\u9700\u8981\u8BBE\u7F6E\u6574\u4E2A\u5C0F\u9898\u7684\u5206\u503C\uFF0C\u7B54\u5BF9\u5168\u90E8\u586B\u7A7A\u9879\u4E4B\u540E\u624D\u80FD\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\u3002")},Mr.createElement("i",{className:"icon-tishixiaowenhao font18 mr25 c-3061d0"}))),it&&Mr.createElement(De.default.Item,iu(Nu({},Cr),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[En,"question_score"],className:oa.blankInputNumberWrapper}),((Wr=Ot==null?void 0:Ot[En])==null?void 0:Wr.question_type)==3&&((ho=Ot==null?void 0:Ot[En])!=null&&ho.use_blank_score)?Mr.createElement(qe,null):Mr.createElement(Le.Z,{className:oa.blankInput,placeholder:"\u8BF7\u8F93\u5165\u5206\u6570",min:.1,precision:1,max:100,style:{width:150}})),Mr.createElement(ia.Z,{align:"middle",className:"pl40",style:{width:82}},Zt!==0&&Mr.createElement("div",{onClick:()=>{var Dn;Jt(Zt,Zt-1);const li=(Dn=Pe.getFieldValue("sub_item_banks"))==null?void 0:Dn.map((Ii,di)=>(Ct.map((Bi,Oi)=>{di===Oi&&(Ii.q_position=Number(Bi.name)+1)}),Ii));Pe.setFieldValue("sub_item_banks",li)}},Mr.createElement(ut.Z,{title:"\u4E0A\u79FB"},Mr.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),Zt{var Dn;Jt(Zt,Zt+1);const li=(Dn=Pe.getFieldValue("sub_item_banks"))==null?void 0:Dn.map((Ii,di)=>(Ct.map((Bi,Oi)=>{di===Oi&&(Ii.q_position=Number(Bi.name)+1)}),Ii));Pe.setFieldValue("sub_item_banks",li)},className:Zt===0?"":"ml10"},Mr.createElement(ut.Z,{title:"\u4E0B\u79FB"},Mr.createElement("i",{className:"iconfont icon-xiayi3 c-grey-999 primary-hover"})))),Mr.createElement(ut.Z,{title:"\u5220\u9664"},Mr.createElement(se.Z,{className:`${oa.deleteIcon} ml40`,onClick:()=>Cn(En)})))},Mr.createElement(De.default.Item,iu(Nu({},Cr),{name:En}),(((xo=Ot==null?void 0:Ot[En])==null?void 0:xo.question_type)==0||((zo=Ot==null?void 0:Ot[En])==null?void 0:zo.question_type)==1)&&Mr.createElement(Qr,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((Pa=Ot==null?void 0:Ot[En])==null?void 0:Pa.question_type)==1,form:Pe,choiceKey:[En,"choices"],titleKey:[En,"name"],analysisKey:[En,"analysis"],choiceOptionsPath:["sub_item_banks",En,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((Fr=Ot==null?void 0:Ot[En])==null?void 0:Fr.question_type)==3&&Mr.createElement(Gi,{form:Pe,name:En,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:[En,"use_blank_score"],titleKey:[En,"name"],analysisKey:[En,"analysis"],isOrdered:[En,"is_ordered"],answerKey:[En,"standard_answers"],key:vn}),((Ei=Ot==null?void 0:Ot[En])==null?void 0:Ei.question_type)==2&&Mr.createElement(Fn,{form:Pe,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[En,"name"],analysisKey:[En,"analysis"],choiceKey:[En,"choices"]}),((Fo=Ot==null?void 0:Ot[En])==null?void 0:Fo.question_type)==4&&Mr.createElement(as,{showKeywords:!0,isMustKeyWords:!0,form:Pe,titleKey:[En,"name"],analysisKey:[En,"analysis"],answerTexts:[En,"answer_texts"],useKeywords:[En,"use_keywords"],keywords:[En,"keywords"],aiReviewSettings:[En,"ai_review_settings"],indexs:En,qitem:Ot==null?void 0:Ot[En],questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9",exerciseitem:ft})))})),Ct.length<20&&Mr.createElement(Ce.Z,{menu:{items:[{label:Mr.createElement("div",{onClick:()=>{cn({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:0,item_type:"SINGLE"}),qt([Ct==null?void 0:Ct.length,...vt])}},"\u5355\u9009\u9898"),key:"1",show:!0},{label:Mr.createElement("div",{onClick:()=>{cn({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:1,item_type:"MULTIPLE"}),qt([Ct==null?void 0:Ct.length,...vt])}},"\u591A\u9009\u9898"),key:"2",show:!0},{label:Mr.createElement("div",{onClick:()=>{cn({name:"",choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],analysis:"",question_type:2,item_type:"JUDGMENT"}),qt([Ct==null?void 0:Ct.length,...vt])}},"\u5224\u65AD\u9898"),key:"3",show:!0},{label:Mr.createElement("div",{onClick:()=>{cn({name:"",analysis:"",is_ordered:!0,standard_answers:[],question_type:3,item_type:"COMPLETION",use_blank_score:!0,downcase:!0,no_space:!0}),qt([Ct==null?void 0:Ct.length,...vt])}},"\u586B\u7A7A\u9898"),key:"4",show:!0},{label:Mr.createElement("div",{onClick:()=>{cn({name:"",answer_texts:[],keywords:[],use_keywords:!1,analysis:"",question_type:4,item_type:"SUBJECTIVE"}),qt([Ct==null?void 0:Ct.length,...vt])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(Qt=>Qt.show).map(Qt=>({label:Qt.label,key:Qt.key}))}},Mr.createElement("div",{className:`${oa.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var Ni=oe(59301),Wu=Object.defineProperty,Bu=Object.defineProperties,yi=Object.getOwnPropertyDescriptors,Au=Object.getOwnPropertySymbols,os=Object.prototype.hasOwnProperty,lu=Object.prototype.propertyIsEnumerable,Jl=(ue,Ee,Pe)=>Ee in ue?Wu(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,bl=(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},Cl=(ue,Ee)=>Bu(ue,yi(Ee)),is=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())}),ls=({qitem:ue,setisedit:Ee,TagDiscipline:Pe,exerciseitem:it,seveeditor:ft,deleteitem:Rn,getTagData:vn,init:Yt,showTip:vt=!1})=>{var qt;const[Bn]=De.default.useForm(),{unified_ai_setting:qe,ai_review_settings:Ct}=it==null?void 0:it.exercise;(0,b.useEffect)(()=>{var Cn;Bn.setFieldsValue(Cl(bl({},ue),{name:ue.question_title,sub_item_banks:(Cn=ue.sub_exercise_questions)==null?void 0:Cn.map(Jt=>{var Ot,Qt;if(Jt.question_type==4){const Zt=qe?Ct:((Ot=Jt==null?void 0:Jt.ai_review_settings)==null?void 0:Ot.length)>0?Jt.ai_review_settings:Ct;Jt.ai_review_settings=Zt}return Cl(bl({},Jt),{name:Jt.question_title,choices:(Qt=Jt==null?void 0:Jt.question_choices)==null?void 0:Qt.map(Zt=>Cl(bl({},Zt),{is_answer:Zt!=null&&Zt.standard_boolean?1:0}))})}),repeat_answer:!ue.repeat_answer}))},[ue]);const cn=Cn=>{if(!(Cn!=null&&Cn.length))return!1;const Jt=Cn.map(Qt=>{var Zt;return(Zt=Qt.choice_text)==null?void 0:Zt.trim().replace(/^\s+|\s+$/g,"")});return new Set(Jt).size!==Jt.length};return Ni.createElement("div",null,Ni.createElement(De.default,{form:Bn,colon:!1,onValuesChange:(Cn,Jt)=>{var Ot,Qt,Zt,va;if(Cn!=null&&Cn.sub_item_banks){let Sn=((Ot=Bn.getFieldValue("sub_item_banks"))==null?void 0:Ot.length)>0&&((Zt=(Qt=Bn.getFieldValue("sub_item_banks"))==null?void 0:Qt.map(En=>{var Cr;if(En.question_type==3&&(En!=null&&En.use_blank_score)){let Er=0;for(let $a in En==null?void 0:En.standard_answers)Er+=Number((Cr=En==null?void 0:En.standard_answers[$a])==null?void 0:Cr.score);return Er}else return En.question_score}))==null?void 0:Zt.filter(En=>En));(Sn==null?void 0:Sn.length)>0&&Bn.setFieldsValue({question_score:(va=parseFloat(Sn.reduce((En,Cr)=>parseFloat(En)+parseFloat(Cr))))==null?void 0:va.toFixed(1)})}},onFinish:Cn=>{var Jt,Ot;if((Jt=Cn.sub_item_banks)==null?void 0:Jt.some(Zt=>Zt.question_type===0||Zt.question_type===1?cn(Zt.choices):!1)){Ae.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}ft(Cl(bl(bl({},ue),Cn),{question_title:Cn.name,sub_questions:(Ot=Cn==null?void 0:Cn.sub_item_banks)==null?void 0:Ot.map(Zt=>{var va,Sn,En,Cr;return(Zt==null?void 0:Zt.question_type)==3?Cl(bl({},Zt),{question_title:Zt.name,item_type:Zt==null?void 0:Zt.question_type}):Cl(bl({},Zt),{question_title:Zt.name,question_choices:(Sn=(va=Zt==null?void 0:Zt.choices)==null?void 0:va.map)==null?void 0:Sn.call(va,Er=>Er.choice_text),standard_answers:(Cr=(En=Zt==null?void 0:Zt.choices)==null?void 0:En.map)==null?void 0:Cr.call(En,(Er,$a)=>(Er==null?void 0:Er.is_answer)===1&&$a+1).filter(Er=>Er),item_type:Zt==null?void 0:Zt.question_type})})}))},onFinishFailed:Cn=>is(void 0,null,function*(){var Jt,Ot;Ae.ZP.error(Cn.errorFields[0].errors[0]),Bn.scrollToField((Ot=(Jt=Cn==null?void 0:Cn.errorFields)==null?void 0:Jt[0])==null?void 0:Ot.name,{behavior:"smooth",block:"center"})})},Ni.createElement("div",{style:{display:"flex",alignItems:"center"}},Ni.createElement("div",{style:{flex:1}},Ni.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Ni.createElement("span",null,"\u7EC4\u5408\u9898")),((qt=it==null?void 0:it.exercise)==null?void 0:qt.exercise_status)==1&&!(ue!=null&&ue.isadd)&&Ni.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Rn()}},Ni.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Ni.createElement(_e.ZP,{onClick:()=>{var Cn;ue.isadd?(Ee(!1),Yt()):(Bn.setFieldsValue(Cl(bl({},ue),{name:ue.question_title,sub_item_banks:(Cn=ue.sub_exercise_questions)==null?void 0:Cn.map(Jt=>{var Ot;return Cl(bl({},Jt),{name:Jt.question_title,choices:(Ot=Jt==null?void 0:Jt.question_choices)==null?void 0:Ot.map(Qt=>Cl(bl({},Qt),{is_answer:Qt!=null&&Qt.standard_boolean?1:0}))})}),repeat_answer:!ue.repeat_answer})),Ee(!1))}},"\u53D6\u6D88"),Ni.createElement(ut.Z,{overlayClassName:nt.shake,open:vt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Ni.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Ni.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},Ni.createElement(_e.ZP,{className:"ml20",type:"primary",onClick:()=>{Bn.submit()}},"\u4FDD\u5B58"))),Ni.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Ni.createElement(Ft.Z,{text:"\uFF08\u7EC4\u5408\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5C0F\u9898\u5206\u503C\u4E4B\u548C\uFF09"}),Ni.createElement(Ou,{form:Bn,withScore:!0,choiceKey:"",exerciseitem:it,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7EC4\u5408\u9898\u9898\u5E72\u5185\u5BB9"}),Ni.createElement(pa,{getTagData:vn,qitem:ue,exerciseitem:it,TagDiscipline:Pe,form:Bn}))))},Uo=oe(59301),us=Object.defineProperty,ss=Object.defineProperties,ds=Object.getOwnPropertyDescriptors,Uu=Object.getOwnPropertySymbols,Ru=Object.prototype.hasOwnProperty,ku=Object.prototype.propertyIsEnumerable,Qu=(ue,Ee,Pe)=>Ee in ue?us(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,nl=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Ru.call(Ee,Pe)&&Qu(ue,Pe,Ee[Pe]);if(Uu)for(var Pe of Uu(Ee))ku.call(Ee,Pe)&&Qu(ue,Pe,Ee[Pe]);return ue},cl=(ue,Ee)=>ss(ue,ds(Ee)),yu=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())}),Ku=({qitem:ue,setqitem:Ee,setisedit:Pe,TagDiscipline:it,exerciseitem:ft,seveeditor:Rn,deleteitem:vn,showTip:Yt})=>{var vt,qt;const[Bn]=De.default.useForm();return(0,b.useEffect)(()=>{var qe,Ct;Bn.setFieldsValue(cl(nl({},ue),{name:ue==null?void 0:ue.question_title,choices:(qe=ue==null?void 0:ue.question_choices)==null?void 0:qe.map(cn=>cl(nl({},cn),{standard_boolean:cn!=null&&cn.standard_boolean?1:0})),repeat_answer:!(ue!=null&&ue.repeat_answer)})),ue.shixun=(Ct=ue==null?void 0:ue.shixun)==null?void 0:Ct.map(cn=>cl(nl({},cn),{defaultscore:cn.challenge_score}))},[]),Uo.createElement("div",null,Uo.createElement(De.default,{form:Bn,colon:!1,onFinish:qe=>{var Ct,cn;let Cn=cl(nl({},qe),{question_scores:(Ct=ue==null?void 0:ue.shixun)==null?void 0:Ct.map(Jt=>Jt.challenge_score),item_type:ue==null?void 0:ue.question_type,choices:(cn=qe==null?void 0:qe.choices)==null?void 0:cn.map(Jt=>cl(nl({},Jt),{is_answer:Jt.standard_boolean}))});Rn(nl(nl({},ue),Cn))},onFinishFailed:qe=>yu(void 0,null,function*(){var Ct,cn;Ae.ZP.error(qe.errorFields[0].errors[0]),Bn.scrollToField((cn=(Ct=qe==null?void 0:qe.errorFields)==null?void 0:Ct[0])==null?void 0:cn.name,{behavior:"smooth",block:"center"})})},Uo.createElement("div",{style:{display:"flex",alignItems:"center"}},Uo.createElement("div",{style:{flex:1}},Uo.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Uo.createElement("span",null,"\u5B9E\u8BAD\u9898")),((vt=ft==null?void 0:ft.exercise)==null?void 0:vt.exercise_status)==1&&!(ue!=null&&ue.isadd)&&Uo.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{vn()}},Uo.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Uo.createElement(_e.ZP,{onClick:()=>{var qe,Ct;Bn.setFieldsValue(cl(nl({},ue),{name:ue==null?void 0:ue.question_title,choices:(qe=ue==null?void 0:ue.question_choices)==null?void 0:qe.map(cn=>cl(nl({},cn),{standard_boolean:cn!=null&&cn.standard_boolean?1:0})),repeat_answer:!(ue!=null&&ue.repeat_answer)})),ue.shixun=(Ct=ue==null?void 0:ue.shixun)==null?void 0:Ct.map(cn=>cl(nl({},cn),{challenge_score:cn.defaultscore})),Ee(nl({},ue)),Pe(!1)}},"\u53D6\u6D88"),Uo.createElement(ut.Z,{overlayClassName:nt.shake,open:Yt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Uo.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Uo.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")},Uo.createElement(_e.ZP,{className:"ml20",type:"primary",onClick:()=>yu(void 0,null,function*(){var qe,Ct,cn;if(((Ct=(qe=ue==null?void 0:ue.shixun)==null?void 0:qe.map)==null?void 0:Ct.call(qe,Cn=>Cn.challenge_score).filter(Cn=>Cn).length)<((cn=ue==null?void 0:ue.shixun)==null?void 0:cn.length)){Ae.ZP.info("\u5206\u6570\u4E0D\u80FD\u4E3A\u7A7A");return}Bn.submit()})},"\u4FDD\u5B58"))),Uo.createElement(Ft.Z,{text:"\uFF08\u5B9E\u8BAD\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5173\u5361\u5206\u503C\u4E4B\u548C\uFF09"}),Uo.createElement(De.default.Item,{label:"\u9898\u5E72",name:"question_title",labelCol:{span:24},rules:[{required:!0}]},Uo.createElement($t.Z,{watch:!0,height:140,placeholder:"",defaultValue:ue.question_title}))),Uo.createElement(ia.Z,{style:{marginBottom:15},align:"middle",justify:"space-between"},Uo.createElement("div",null,Uo.createElement("span",{style:{color:"red"}},"*"),"\u5173\u5361\u540D\u79F0"),Uo.createElement("a",{href:`/shixuns/${ue==null?void 0:ue.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Uo.createElement("i",{onClick:()=>{},className:"iconfont icon-shixunkecheng font14 mr5"}),"\u5B9E\u8BAD\u8BE6\u60C5")),(qt=ue==null?void 0:ue.shixun)==null?void 0:qt.map((qe,Ct)=>Uo.createElement("div",{style:{display:"flex",marginBottom:20}},Uo.createElement("div",{style:{flex:1}},Ct+1,"\u3001",qe.challenge_name),Uo.createElement("div",null,Uo.createElement("span",{style:{color:"red"}},"*"),"\u5206\u503C",Uo.createElement(Le.Z,{precision:1,value:qe==null?void 0:qe.challenge_score,onChange:cn=>{const Cn=JSON.parse(JSON.stringify((ue==null?void 0:ue.shixun)||[]));Cn[Ct].challenge_score=cn;const Jt=Cn.every(Qt=>!Qt.challenge_score),Ot=parseFloat(Cn==null?void 0:Cn.map(Qt=>Qt.challenge_score).reduce((Qt,Zt)=>parseFloat(Qt||0)+parseFloat(Zt||0)));Bn.setFieldsValue({question_score:Jt?"":Ot.toFixed(1)}),Ee(cl(nl({},ue),{shixun:Cn}))},max:200,min:.1,style:{marginLeft:10,width:150},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",size:"middle"})))))},ba={flex_box_center:"flex_box_center___Vhtb1",flex_space_between:"flex_space_between___k2ZrJ",flex_box_vertical_center:"flex_box_vertical_center___tn6Db",flex_box_center_end:"flex_box_center_end___k3eNX",flex_box_column:"flex_box_column___rsWbi",warp:"warp___UlRJc",indexTag:"indexTag___rjJ1u",normalWrap:"normalWrap___Qm4zY",redio:"redio___VW3yr",redioitem:"redioitem___jAPlJ",redioitemyes:"redioitemyes___VoiQ1",title:"title___Dt2dl",titleyes:"titleyes___Fjh3a",yestag:"yestag___CXrPv",checkbox:"checkbox___CgMU_",checkboxitem:"checkboxitem___PpJ9n",checkboxitemyes:"checkboxitemyes___pCfvZ",bottom:"bottom___BqrmJ",bottomitem:"bottomitem___Qk2rG",left:"left___l29lW",right:"right___nB1XE",completion:"completion___y1m7L",content:"content___AmQy4",items:"items___lIt8e",simple:"simple___zxJLH",shixunWrapper:"shixunWrapper___kAYdL",shixun:"shixun___UE6xS",score:"score___Px5Fq",qtitle:"qtitle___wG7Nn",program:"program___gzKdL",combination:"combination___R0ysn",qtype:"qtype___U0Suy",divname:"divname___guDo9"},cs=oe(1710),_u=oe(24302),Fu=oe(24334),Qn=oe(59301);const Xl=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"],gs=[{type:0,name:"\u5355\u9009\u9898"},{type:1,name:"\u591A\u9009\u9898"},{type:2,name:"\u5224\u65AD\u9898"},{type:3,name:"\u586B\u7A7A\u9898"},{type:4,name:"\u7B80\u7B54\u9898"},{type:5,name:"\u5B9E\u8BAD\u9898"},{type:6,name:"\u7F16\u7A0B\u9898"},{type:7,name:"\u7EC4\u5408\u9898"},{type:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}];var ms=({qitem:ue,exercise:Ee})=>{var Pe,it,ft,Rn,vn,Yt,vt,qt,Bn,qe,Ct,cn,Cn,Jt,Ot,Qt,Zt,va,Sn,En,Cr,Er,$a,Ao;return Qn.createElement("div",{className:ba.warp},((ue==null?void 0:ue.question_type)===0||(ue==null?void 0:ue.question_type)===2)&&Qn.createElement("div",{className:ba.normalWrap},(Pe=ue==null?void 0:ue.question_choices)==null?void 0:Pe.map((na,Or)=>Qn.createElement("div",{className:ba.redio},!(na!=null&&na.standard_boolean)&&Qn.createElement("span",{className:ba.redioitem}),(na==null?void 0:na.standard_boolean)&&Qn.createElement("i",{className:`${ba.redioitemyes} icon-duigou1`}),Qn.createElement("span",{className:`${na!=null&&na.standard_boolean?ba.titleyes:ba.title} ${ba.indexTag}`},(ue==null?void 0:ue.question_type)===0?Xl[Or]:""),Qn.createElement(Mt.Z,{className:na!=null&&na.standard_boolean?ba.titleyes:ba.title,value:na==null?void 0:na.choice_text}),(na==null?void 0:na.standard_boolean)&&Qn.createElement("div",{className:ba.yestag},"\u6B63\u786E\u7B54\u6848")))),(ue==null?void 0:ue.question_type)===1&&Qn.createElement("div",{className:ba.normalWrap},(it=ue==null?void 0:ue.question_choices)==null?void 0:it.map((na,Or)=>Qn.createElement("div",{className:ba.checkbox},!(na!=null&&na.standard_boolean)&&Qn.createElement("span",{className:ba.checkboxitem}),(na==null?void 0:na.standard_boolean)&&Qn.createElement("i",{className:`${ba.checkboxitemyes} icon-duigou1`}),Qn.createElement("span",{className:`${na!=null&&na.standard_boolean?ba.titleyes:ba.title} ${ba.indexTag}`},Xl[Or]),Qn.createElement(Mt.Z,{className:na!=null&&na.standard_boolean?ba.titleyes:ba.title,value:na==null?void 0:na.choice_text}),(na==null?void 0:na.standard_boolean)&&Qn.createElement("div",{className:ba.yestag},"\u6B63\u786E\u7B54\u6848")))),(ue==null?void 0:ue.question_type)===3&&Qn.createElement("div",{className:ba.completion},(ft=ue==null?void 0:ue.standard_answers)==null?void 0:ft.map((na,Or)=>{var Ga;return Qn.createElement(ia.Z,{align:"top"},Qn.createElement("span",{className:ba.title},"\u586B\u7A7A\u9879",Or+1),Qn.createElement("div",{className:ba.content},(Ga=na.answer_text)==null?void 0:Ga.map((Wr,ho)=>Qn.createElement("div",{key:ho,className:ba.items,style:(na==null?void 0:na.model)===2?{border:0,padding:0}:{}},(na==null?void 0:na.model)===1?Qn.createElement("pre",{className:"mb0"},Wr):Qn.createElement(_u.Z,{value:Wr,disabled:!0})))))})),(ue==null?void 0:ue.question_type)===4&&Qn.createElement("div",{className:ba.simple},Qn.createElement("div",{className:ba.title},"\u53C2\u8003\u7B54\u6848"),Qn.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Rn=ue==null?void 0:ue.answer_texts)!=null&&Rn[0]?Qn.createElement(Mt.Z,{className:ba.content,value:(vn=ue==null?void 0:ue.answer_texts)==null?void 0:vn[0]}):Qn.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),Qn.createElement("div",{className:"mt20 "},Qn.createElement("span",{className:ba.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),Qn.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&&Qn.createElement("div",{className:ba.shixunWrapper},(Yt=ue==null?void 0:ue.shixun)==null?void 0:Yt.map((na,Or)=>{var Ga,Wr;return Qn.createElement("div",null,Qn.createElement("div",{key:Or,className:`${ba.shixun} mb30`},Qn.createElement("span",{className:ba.score},"\uFF08",na==null?void 0:na.challenge_score,"\u5206\uFF09"),Qn.createElement("span",{className:ba.qtitle},(ue==null?void 0:ue.index)+"."+(Or+1),"\u3001",na==null?void 0:na.challenge_name)),((Wr=(Ga=Ee==null?void 0:Ee.editData)==null?void 0:Ga.exercise)==null?void 0:Wr.show_challenge_task_pass)&&Qn.createElement(Mt.Z,{className:ba.content,value:(na==null?void 0:na.task_pass)||"\u6682\u65E0\u5173\u5361\u63CF\u8FF0"}))})),(ue==null?void 0:ue.question_type)===6&&Qn.createElement("div",{className:ba.program,style:{border:!((qt=(vt=Ee==null?void 0:Ee.editData)==null?void 0:vt.exercise)!=null&&qt.show_hack_sets)&&!((qe=(Bn=Ee==null?void 0:Ee.editData)==null?void 0:Bn.exercise)!=null&&qe.show_hack_description)&&"none"}},((cn=(Ct=Ee==null?void 0:Ee.editData)==null?void 0:Ct.exercise)==null?void 0:cn.show_hack_sets)&&Qn.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},Qn.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},Qn.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),Qn.createElement(cs.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(na,Or,Ga)=>Ga+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(na,Or,Ga)=>Qn.createElement(ut.Z,{title:Qn.createElement("pre",null,na)},Qn.createElement("div",{className:ba.divname},na))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(na,Or,Ga)=>Qn.createElement(ut.Z,{title:Qn.createElement("pre",null,na)}," ",Qn.createElement("div",{className:ba.divname},na))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:ue==null?void 0:ue.hack_sets})),((Jt=(Cn=Ee==null?void 0:Ee.editData)==null?void 0:Cn.exercise)==null?void 0:Jt.show_hack_description)&&Qn.createElement("div",null,Qn.createElement(Mt.Z,{className:ba.content,value:(ue==null?void 0:ue.description)||"- -"}))),(ue==null?void 0:ue.question_type)===7&&((Ot=ue==null?void 0:ue.sub_exercise_questions)==null?void 0:Ot.map((na,Or)=>{var Ga,Wr,ho,xo,zo,Pa;return Qn.createElement("div",{key:Or},Qn.createElement("div",{className:ba.combination},Qn.createElement("span",{className:ba.score},na==null?void 0:na.question_score,"\u5206"),Qn.createElement("span",{className:ba.qtype},(Ga=gs.find(Fr=>Fr.type==na.question_type))==null?void 0:Ga.name),Qn.createElement("span",{className:ba.qtitle},Or+1,"\u3001",na==null?void 0:na.question_title)),(na.question_type===0||na.question_type===2)&&Qn.createElement("div",{className:ba.warp,style:{padding:"30px 58px",paddingBottom:0}},Qn.createElement("div",null,(Wr=na==null?void 0:na.question_choices)==null?void 0:Wr.map((Fr,Ei)=>Qn.createElement("div",{className:ba.redio,key:Ei},!(Fr!=null&&Fr.standard_boolean)&&Qn.createElement("span",{className:ba.redioitem}),(Fr==null?void 0:Fr.standard_boolean)&&Qn.createElement("i",{className:`${ba.redioitemyes} icon-duigou1`}),na.question_type===2&&Qn.createElement("span",{className:`${Fr!=null&&Fr.standard_boolean?ba.titleyes:ba.title} ${ba.indexTag}`},Xl[Ei]),Qn.createElement(Mt.Z,{className:Fr!=null&&Fr.standard_boolean?ba.titleyes:ba.title,value:Fr==null?void 0:Fr.choice_text}),(Fr==null?void 0:Fr.standard_boolean)&&Qn.createElement("div",{className:ba.yestag},"\u6B63\u786E\u7B54\u6848"))))),na.question_type===1&&Qn.createElement("div",{className:ba.normalWrap},(ho=na==null?void 0:na.question_choices)==null?void 0:ho.map((Fr,Ei)=>Qn.createElement("div",{className:ba.checkbox,key:Ei},!(Fr!=null&&Fr.standard_boolean)&&Qn.createElement("span",{className:ba.checkboxitem}),(Fr==null?void 0:Fr.standard_boolean)&&Qn.createElement("i",{className:`${ba.checkboxitemyes} icon-duigou1`}),Qn.createElement("span",{className:`${Fr!=null&&Fr.standard_boolean?ba.titleyes:ba.title} ${ba.indexTag}`},Xl[Ei]),Qn.createElement(Mt.Z,{className:Fr!=null&&Fr.standard_boolean?ba.titleyes:ba.title,value:Fr==null?void 0:Fr.choice_text}),(Fr==null?void 0:Fr.standard_boolean)&&Qn.createElement("div",{className:ba.yestag},"\u6B63\u786E\u7B54\u6848")))),na.question_type===3&&Qn.createElement("div",{className:ba.completion},(xo=na==null?void 0:na.standard_answers)==null?void 0:xo.map((Fr,Ei)=>{var Fo;return Qn.createElement(ia.Z,{align:"top"},Qn.createElement("span",{className:ba.title},"\u586B\u7A7A\u9879",Ei+1),Qn.createElement("div",{className:ba.content},(Fo=Fr.answer_text)==null?void 0:Fo.map((Dn,li)=>Qn.createElement("div",{key:li,className:ba.items},Qn.createElement("pre",{className:"mb0"},Dn)))))})),na.question_type===4&&Qn.createElement("div",{className:ba.simple},Qn.createElement("div",{className:ba.title},"\u53C2\u8003\u7B54\u6848"),Qn.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(zo=na==null?void 0:na.answer_texts)!=null&&zo[0]?Qn.createElement(Mt.Z,{className:ba.content,value:(Pa=na==null?void 0:na.answer_texts)==null?void 0:Pa[0]}):Qn.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),Qn.createElement("div",{className:"mt20 "},Qn.createElement("span",{className:ba.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),Qn.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},na!=null&&na.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))))})),(ue==null?void 0:ue.question_type)===8&&Qn.createElement("div",null,Qn.createElement(Mt.Z,{disabledFill:!0,className:ba.content,showProgramFill:!0,value:Fu.Base64.decode(((Qt=ue==null?void 0:ue.program_attr)==null?void 0:Qt.code)||"")})),((ue==null?void 0:ue.question_type)<=4||[6,8].includes(ue==null?void 0:ue.question_type))&&Qn.createElement("div",{className:ba.bottom},Qn.createElement("div",{className:`${ba.bottomitem} mb30`},Qn.createElement("span",{className:ba.left},"\u89E3\u6790"),Qn.createElement("span",{className:ba.right},ue!=null&&ue.analysis?Qn.createElement(Mt.Z,{value:ue==null?void 0:ue.analysis}):Qn.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),Qn.createElement("div",{className:`${ba.bottomitem} mb30`},Qn.createElement("span",{className:ba.left},"\u96BE\u5EA6"),Qn.createElement("span",{className:ba.right},(ue==null?void 0:ue.difficulty)===1?"\u7B80\u5355":(ue==null?void 0:ue.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),Qn.createElement("div",{className:ba.bottomitem},Qn.createElement("span",{className:ba.left},"\u77E5\u8BC6\u70B9"),Qn.createElement(ut.Z,{title:((Zt=ue==null?void 0:ue.tag_discipline_names)==null?void 0:Zt.length)<=0||((va=ue==null?void 0:ue.tag_discipline_names)==null?void 0:va.length)==1&&["-"].includes(ue==null?void 0:ue.tag_discipline_names[0])?"\u6682\u672A\u8BBE\u7F6E~":(En=(Sn=ue==null?void 0:ue.tag_discipline_names)==null?void 0:Sn.join("\uFF1B"))==null?void 0:En.toString()},Qn.createElement("span",{className:ba.right},((Cr=ue==null?void 0:ue.tag_discipline_names)==null?void 0:Cr.length)<=0?Qn.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):((Er=ue==null?void 0:ue.tag_discipline_names)==null?void 0:Er.length)==1&&["-"].includes(ue==null?void 0:ue.tag_discipline_names[0])?Qn.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):(Ao=($a=ue==null?void 0:ue.tag_discipline_names)==null?void 0:$a.join("\uFF1B"))==null?void 0:Ao.toString())))))},Ju=oe(55537),ql=oe(12796),si=oe(59301),Tu=Object.defineProperty,Xu=Object.defineProperties,fs=Object.getOwnPropertyDescriptors,ce=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,Ie=(ue,Ee,Pe)=>Ee in ue?Tu(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Oe=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))ge.call(Ee,Pe)&&Ie(ue,Pe,Ee[Pe]);if(ce)for(var Pe of ce(Ee))fe.call(Ee,Pe)&&Ie(ue,Pe,Ee[Pe]);return ue},dt=(ue,Ee)=>Xu(ue,fs(Ee)),rt=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())}),wt=({qitem:ue,setisedit:Ee,TagDiscipline:Pe,exerciseitem:it,seveeditor:ft,deleteitem:Rn,getTagData:vn,init:Yt,showTip:vt=!1})=>{var qt,Bn,qe,Ct;const[cn]=De.default.useForm(),{unified_ai_setting:Cn,ai_review_settings:Jt}=it==null?void 0:it.exercise,Ot=Cn?Jt:((qt=ue==null?void 0:ue.ai_review_settings)==null?void 0:qt.length)>0?ue.ai_review_settings:Jt;return(0,b.useEffect)(()=>{cn.setFieldsValue(dt(Oe({},ue),{name:ue.question_title,answer_texts:ue.answer_texts,repeat_answer:!ue.repeat_answer,ai_review_settings:Ot}))},[ue]),si.createElement("div",null,si.createElement(De.default,{form:cn,colon:!1,onFinish:Qt=>{var Zt;(Zt=it==null?void 0:it.exercise)!=null&&Zt.is_open_ai_review&&!(0,Pt.BR)(Qt==null?void 0:Qt.ai_review_settings)||ft(dt(Oe(Oe({},ue),Qt),{answer_texts:Qt==null?void 0:Qt.answer_texts,question_title:Qt==null?void 0:Qt.name}))},onFinishFailed:Qt=>rt(void 0,null,function*(){var Zt,va;Ae.ZP.error(Qt.errorFields[0].errors[0]),cn.scrollToField((va=(Zt=Qt==null?void 0:Qt.errorFields)==null?void 0:Zt[0])==null?void 0:va.name,{behavior:"smooth",block:"center"})})},si.createElement("div",{style:{display:"flex",alignItems:"center"}},si.createElement("div",{style:{flex:1}},si.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),si.createElement("span",null,"\u7B80\u7B54\u9898")),((Bn=it==null?void 0:it.exercise)==null?void 0:Bn.exercise_status)==1&&!(ue!=null&&ue.isadd)&&si.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Rn()}},si.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),si.createElement(_e.ZP,{onClick:()=>{ue.isadd?(Ee(!1),Yt()):(cn.setFieldsValue(dt(Oe({},ue),{name:ue==null?void 0:ue.question_title,answer_texts:ue.answer_texts||[],repeat_answer:!(ue!=null&&ue.repeat_answer)})),Ee(!1))}},"\u53D6\u6D88"),si.createElement(ut.Z,{overlayClassName:nt.shake,open:vt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:si.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},si.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")},si.createElement(_e.ZP,{type:"primary",className:"ml20",onClick:()=>{cn.submit()}},"\u4FDD\u5B58"))),si.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},si.createElement(De.default.Item,{className:nt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},si.createElement(Le.Z,{onBlur:Qt=>{Qt.target.value==="0"&&Ae.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",max:100,min:.1})),si.createElement(ql.W,{form:cn,showKeywords:!0,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"}),((qe=it==null?void 0:it.exercise)==null?void 0:qe.is_open_ai_review)&&!((Ct=it==null?void 0:it.exercise)!=null&&Ct.unified_ai_setting)&&si.createElement(dr,{form:cn,qitem:ue}),si.createElement(pa,{getTagData:vn,qitem:ue,exerciseitem:it,TagDiscipline:Pe,form:cn}))))},It=oe(59301),Gn=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())}),dn=({setScoreShow:ue,ScoreShow:Ee,exerciseitem:Pe,getdata:it})=>{var ft,Rn,vn;const[Yt,vt]=(0,b.useState)(!1);function qt(){return Gn(this,null,function*(){var Bn,qe,Ct;let cn=(qe=(Bn=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:Bn.filter(Jt=>Jt.Singlequestion))==null?void 0:qe.map(Jt=>({question_type:Jt.question_type,score:Jt.Singlequestion})),Cn=yield(0,te.ZP)(`/api/exercises/${(Ct=Pe==null?void 0:Pe.exercise)==null?void 0:Ct.id}/batch_set_score.json`,{method:"POST",body:{question_arr:cn}});(Cn==null?void 0:Cn.status)===0&&it()})}return It.createElement("div",null,Ee&&It.createElement(Ke.default,{title:"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C",open:Ee,width:640,centered:!0,zIndex:10,className:nt.scoremodal,onCancel:()=>{ue(!1)},onOk:()=>{var Bn,qe,Ct;if(Pe!=null&&Pe.use_blank_score&&((Ct=(qe=(Bn=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:Bn.filter(cn=>cn.name==="\u586B\u7A7A\u9898"))==null?void 0:qe[0])!=null&&Ct.Singlequestion)){vt(!0);return}qt(),ue(!1)}},It.createElement("div",{className:"c-black"},"\u603B\u5206",It.createElement("span",{className:"ml10 c-light-primary"},(Pe==null?void 0:Pe.exercise_question_types.length)>0&&((ft=Pe==null?void 0:Pe.exercise_types)==null?void 0:ft.q_scores))),It.createElement("div",{className:nt.content},It.createElement("span",null,"\u9898\u578B\u540D\u79F0"),It.createElement("span",null,"\u5C0F\u9898\u603B\u6570"),It.createElement("span",null,"\u9898\u578B\u603B\u5206"),It.createElement("span",null,"\u64CD\u4F5C")),(vn=(Rn=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:Rn.filter(Bn=>Bn.name!=="\u5B9E\u8BAD\u9898"&&Bn.name!=="\u7EC4\u5408\u9898"))==null?void 0:vn.map(Bn=>{var qe;return It.createElement("div",{className:nt.items},It.createElement("span",null,Bn==null?void 0:Bn.name),It.createElement("span",null,(qe=Bn==null?void 0:Bn.items)==null?void 0:qe.length),It.createElement("span",null,Bn==null?void 0:Bn.score),It.createElement("span",null,"\u6BCF\u9898",It.createElement(Le.Z,{max:100,precision:1,min:.1,onChange:Ct=>{Bn.Singlequestion=Ct},style:{width:90,height:38,margin:"0px 10px",display:"flex",alignItems:"center"}}),"\u5206"))})),It.createElement(Ke.default,{title:!1,footer:!1,centered:!0,zIndex:20,open:Yt,width:640,closable:!1,className:nt.scoremodal},It.createElement("div",{style:{marginTop:40}},"\u586B\u7A7A\u9898\u4E2D\u5B58\u5728",It.createElement("span",{style:{color:"#FA6400"}},"\u6309\u7A7A\u7ED9\u5206"),"\u7684\u5C0F\u9898\uFF0C\u82E5\u6279\u91CF\u8BBE\u7F6E\u5206\u503C\u4F1A\u7EDF\u4E00\u5C06\u586B\u7A7A\u9898\u6539\u4E3A\u6309\u9898\u7ED9\u5206"),It.createElement("div",{className:nt.bottom},It.createElement(_e.ZP,{className:nt.no,onClick:()=>{vt(!1)}},"\u53D6\u6D88"),It.createElement(_e.ZP,{className:nt.yes,onClick:()=>{qt(),vt(!1),ue(!1)}},"\u786E\u8BA4"))))},Nn=oe(99313),In=oe(98228),Dt=oe(58421),Vt={flex_box_center:"flex_box_center___aDsO9",flex_space_between:"flex_space_between___5V4Xk",flex_box_vertical_center:"flex_box_vertical_center___rNdEP",flex_box_center_end:"flex_box_center_end___cKjnr",flex_box_column:"flex_box_column___glFYD",scoremodal:"scoremodal___PfqOf",selectWrapper:"selectWrapper___Mtqcz",selectWrappers:"selectWrappers___uX2K9",allqingchu:"allqingchu___IqL8g",title:"title___UgYfD",score:"score___LjJmD",close:"close___I0jAO",content:"content___4u86F",items:"items___mK2L5",bottom:"bottom___vQTEm",yes:"yes___j81JQ",no:"no___kiUH4",titlecount:"titlecount___lliQr",add:"add___QhDj8",search:"search___QCCaL",searchIcon:"searchIcon___oXRH5",tabWrap:"tabWrap___Cu_4D",previewModal:"previewModal___BVDlS"},On=oe(12353),on={flex_box_center:"flex_box_center___zojHa",flex_space_between:"flex_space_between___wmLZ4",flex_box_vertical_center:"flex_box_vertical_center___DszWW",flex_box_center_end:"flex_box_center_end___mVCv5",flex_box_column:"flex_box_column___fbC9t",warp:"warp___isAcM",shixunbutton:"shixunbutton___h3Ybb",redio:"redio___xDffb",redioitem:"redioitem___FFPtq",redioitemyes:"redioitemyes___pF7ID",title:"title___mnPZc",titleyes:"titleyes___wrtWQ",yestag:"yestag___D4krY",qcount:"qcount___W5pwO",score:"score___eKQzl",qtitle:"qtitle___lb8MD",checkbox:"checkbox___QpUm4",checkboxitem:"checkboxitem___Wm2SH",checkboxitemyes:"checkboxitemyes___VVVTe",bottom:"bottom___Mn_Bw",bottomitem:"bottomitem___JTyHT",left:"left___nQqpo",right:"right___v58qy",completion:"completion___BnZSp",content:"content___MU8hZ",items:"items___a7i54",simple:"simple___GDw3K",shixun:"shixun___DGzTe",combination:"combination___AG9cr"};const sa=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"];var Ra=({qitem:ue})=>{var Ee,Pe,it,ft,Rn,vn,Yt,vt,qt,Bn;return b.createElement("div",{className:on.warp},b.createElement("div",{className:on.mainPart},b.createElement("div",{className:on.qcount},(ue==null?void 0:ue.question_type)===8&&b.createElement(Mt.Z,{className:on.content,showProgramFill:!0,value:(Ee=ue==null?void 0:ue.program_attr)==null?void 0:Ee.description}),(ue==null?void 0:ue.question_type)!=8&&b.createElement(Mt.Z,{className:on.qtitle,value:(ue==null?void 0:ue.name)||(ue==null?void 0:ue.title)})),((ue==null?void 0:ue.question_type)===0||(ue==null?void 0:ue.question_type)===2)&&b.createElement("div",null,(Pe=ue==null?void 0:ue.choices)==null?void 0:Pe.map((qe,Ct)=>b.createElement("div",{className:on.redio},!(qe!=null&&qe.is_answer)&&b.createElement("span",{className:on.redioitem}),(qe==null?void 0:qe.is_answer)&&b.createElement("i",{className:`${on.redioitemyes} icon-duigou1`}),b.createElement(Mt.Z,{className:qe!=null&&qe.is_answer?on.titleyes:on.title,value:sa[Ct]+(qe==null?void 0:qe.choice_text)}),(qe==null?void 0:qe.is_answer)&&b.createElement("div",{className:on.yestag},"\u6B63\u786E\u7B54\u6848")))),(ue==null?void 0:ue.question_type)===1&&b.createElement("div",null,(it=ue==null?void 0:ue.choices)==null?void 0:it.map((qe,Ct)=>b.createElement("div",{className:on.checkbox},!(qe!=null&&qe.is_answer)&&b.createElement("span",{className:on.checkboxitem}),(qe==null?void 0:qe.is_answer)&&b.createElement("i",{className:`${on.checkboxitemyes} icon-duigou1`}),b.createElement(Mt.Z,{className:qe!=null&&qe.is_answer?on.titleyes:on.title,value:sa[Ct]+(qe==null?void 0:qe.choice_text)}),(qe==null?void 0:qe.is_answer)&&b.createElement("div",{className:on.yestag},"\u6B63\u786E\u7B54\u6848")))),(ue==null?void 0:ue.question_type)===3&&b.createElement("div",{className:on.completion},(ft=ue==null?void 0:ue.standard_answer)==null?void 0:ft.map((qe,Ct)=>{var cn;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:on.title},"\u586B\u7A7A\u9879",Ct+1),b.createElement("div",{className:on.content},(cn=qe==null?void 0:qe.answer_text)==null?void 0:cn.map((Cn,Jt)=>b.createElement("div",{className:on.items},Cn))))})),(ue==null?void 0:ue.question_type)===4&&b.createElement("div",{className:on.simple},b.createElement("div",{className:on.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Rn=ue==null?void 0:ue.answer_texts)!=null&&Rn[0]?b.createElement(Mt.Z,{className:on.content,value:(vn=ue==null?void 0:ue.answer_texts)==null?void 0:vn[0]}):b.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(ue==null?void 0:ue.question_type)===5&&((Yt=ue==null?void 0:ue.challenge_names)==null?void 0:Yt.map((qe,Ct)=>b.createElement("div",{className:on.shixun},b.createElement("span",{className:on.qtitle},b.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,Pt.EM)(Ct+1),"\u9898"),qe)))),(ue==null?void 0:ue.question_type)===6&&b.createElement("div",{className:on.simple},b.createElement(Mt.Z,{className:on.content,value:((vt=ue==null?void 0:ue.program_attr)==null?void 0:vt.description)||"- -"})),(ue==null?void 0:ue.question_type)===7&&((qt=ue==null?void 0:ue.sub_item_banks)==null?void 0:qt.map((qe,Ct)=>{var cn,Cn,Jt,Ot,Qt;return b.createElement("div",null,b.createElement("div",{className:on.combination},b.createElement("span",{className:on.qtitle},qe==null?void 0:qe.name)),b.createElement("div",{className:on.warp,style:{padding:"0px",paddingTop:20}},b.createElement("div",null,((qe==null?void 0:qe.item_type)=="SINGLE"||(qe==null?void 0:qe.item_type)=="JUDGMENT")&&((cn=qe==null?void 0:qe.choices)==null?void 0:cn.map((Zt,va)=>b.createElement("div",{className:on.redio},!(Zt!=null&&Zt.is_answer)&&b.createElement("span",{className:on.redioitem}),(Zt==null?void 0:Zt.is_answer)&&b.createElement("i",{className:`${on.redioitemyes} icon-duigou1`}),b.createElement(Mt.Z,{className:Zt!=null&&Zt.is_answer?on.titleyes:on.title,value:sa[va]+(Zt==null?void 0:Zt.choice_text)}),(Zt==null?void 0:Zt.is_answer)&&b.createElement("div",{className:on.yestag},"\u6B63\u786E\u7B54\u6848")))),(qe==null?void 0:qe.item_type)=="MULTIPLE"&&((Cn=qe==null?void 0:qe.choices)==null?void 0:Cn.map((Zt,va)=>b.createElement("div",{className:on.checkbox},!(Zt!=null&&Zt.is_answer)&&b.createElement("span",{className:on.checkboxitem}),(Zt==null?void 0:Zt.is_answer)&&b.createElement("i",{className:`${on.checkboxitemyes} icon-duigou1`}),b.createElement(Mt.Z,{className:Zt!=null&&Zt.is_answer?on.titleyes:on.title,value:sa[va]+(Zt==null?void 0:Zt.choice_text)}),(Zt==null?void 0:Zt.is_answer)&&b.createElement("div",{className:on.yestag},"\u6B63\u786E\u7B54\u6848")))),(qe==null?void 0:qe.item_type)=="COMPLETION"&&b.createElement("div",{className:on.completion},(Jt=qe==null?void 0:qe.standard_answer)==null?void 0:Jt.map((Zt,va)=>{var Sn;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:on.title},"\u586B\u7A7A\u9879",va+1),b.createElement("div",{className:on.content},(Sn=Zt==null?void 0:Zt.answer_text)==null?void 0:Sn.map((En,Cr)=>b.createElement("div",{className:on.items},En))))})),(qe==null?void 0:qe.item_type)=="SUBJECTIVE"&&b.createElement("div",{className:on.simple},b.createElement("div",{className:on.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Ot=qe==null?void 0:qe.answer_texts)!=null&&Ot[0]?b.createElement(Mt.Z,{className:on.content,value:(Qt=qe==null?void 0:qe.answer_texts)==null?void 0:Qt[0]}):b.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(ue==null?void 0:ue.question_type)===8&&b.createElement("div",null,b.createElement(Mt.Z,{disabledFill:!0,className:on.content,showProgramFill:!0,value:Fu.Base64.decode(((Bn=ue==null?void 0:ue.program_attr)==null?void 0:Bn.code)||"")})),(ue==null?void 0:ue.question_type)===5&&b.createElement("div",{style:{background:"#F6F7F9",padding:"0px 20px",height:46,lineHeight:"46px",marginTop:40,display:"flex",alignItems:"center"}},b.createElement("div",{style:{flex:1,alignItems:"center",display:"flex"}},b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u521B\u5EFA\u8005"),b.createElement("span",{style:{color:"#000000"}},(ue==null?void 0:ue.author_name)||"- -")),b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u6240\u5C5E\u5355\u4F4D"),b.createElement("span",{style:{color:"#000000"}},(ue==null?void 0:ue.author_school_name)||"- -")),b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u5B66\u4E60\u4EBA\u6570"),b.createElement("span",{style:{color:"#000000"}},(ue==null?void 0:ue.study_count)||"0"))),b.createElement("a",{className:on.shixunbutton,href:`/shixuns/${ue==null?void 0:ue.identifier}/challenges?exercise=true`,target:"_blank"},b.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((ue==null?void 0:ue.question_type)<=4||[6,8].includes(ue==null?void 0:ue.question_type))&&b.createElement("div",{className:on.bottom},b.createElement("div",{className:on.bottomitem},b.createElement("span",{className:on.left},"\u89E3\u6790"),b.createElement("span",{className:on.right},ue!=null&&ue.analysis?b.createElement(Mt.Z,{value:ue==null?void 0:ue.analysis}):b.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),b.createElement("div",{className:on.bottomitem},b.createElement("span",{className:on.left},"\u96BE\u5EA6"),b.createElement("span",{className:on.right},(ue==null?void 0:ue.difficulty)===1?"\u7B80\u5355":(ue==null?void 0:ue.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),b.createElement("div",{className:on.bottomitem},b.createElement("span",{className:on.left},"\u77E5\u8BC6\u70B9"),b.createElement("span",{className:on.right},ue!=null&&ue.tag_discipline?ue==null?void 0:ue.tag_discipline:b.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},Ba=oe(94890),ga=oe(79751),Rr=oe(56636),sr=oe(50838),Lr=oe(88387),$r=oe(67702),io=oe(84698),Mn=oe(59301),Qo=Object.defineProperty,mo=Object.defineProperties,Yr=Object.getOwnPropertyDescriptors,eo=Object.getOwnPropertySymbols,Eo=Object.prototype.hasOwnProperty,Bo=Object.prototype.propertyIsEnumerable,so=(ue,Ee,Pe)=>Ee in ue?Qo(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Sr=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Eo.call(Ee,Pe)&&so(ue,Pe,Ee[Pe]);if(eo)for(var Pe of eo(Ee))Bo.call(Ee,Pe)&&so(ue,Pe,Ee[Pe]);return ue},Ro=(ue,Ee)=>mo(ue,Yr(Ee)),No=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())});const Fi=({setScoreShow:ue,ScoreShow:Ee,onOk:Pe,isshixuns:it,isloadings:ft,dispatch:Rn,shixunsDetail:vn,exercise:Yt})=>{var vt,qt,Bn;let[qe,Ct]=(0,b.useState)({type:"0",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]}),[cn,Cn]=(0,b.useState)([]),[Jt,Ot]=(0,b.useState)([]),[Qt,Zt]=(0,b.useState)([]),[va,Sn]=(0,b.useState)([]);const[En,Cr]=(0,b.useState)(!1),[Er]=De.default.useForm(),[$a,Ao]=(0,b.useState)(),[na,Or]=(0,b.useState)(!1);let[Ga,Wr]=(0,b.useState)(it);const[ho,xo]=(0,b.useState)([]),[zo,Pa]=(0,b.useState)(!0),[Fr,Ei]=(0,b.useState)([]),[Fo,Dn]=(0,b.useState)(0),[li,Ii]=(0,b.useState)([]),di=[{name:"\u5168\u90E8",value:"",question_type:0},{name:"\u5355\u9009\u9898",value:"SINGLE",question_type:0},{name:"\u591A\u9009\u9898",value:"MULTIPLE",question_type:1},{name:"\u5224\u65AD\u9898",value:"JUDGMENT",question_type:2},{name:"\u586B\u7A7A\u9898",value:"COMPLETION",question_type:3},{name:"\u7B80\u7B54\u9898",value:"SUBJECTIVE",question_type:4},{name:"\u5B9E\u8BAD\u9898",value:"SHIXUN",question_type:5},{name:"\u7F16\u7A0B\u9898",value:"PROGRAM",question_type:6},{name:"\u7EC4\u5408\u9898",value:"COMBINATION",question_type:7},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",value:"BPROGRAM",question_type:8}],[Bi,Oi]=(0,b.useState)({});(0,b.useEffect)(()=>{var en,zn,Gr,rr,yr,ao,Go,To,Yi,Pi;(((Gr=(zn=(en=Yt==null?void 0:Yt.editData)==null?void 0:en.exercise)==null?void 0:zn.exist_item_bank_ids)==null?void 0:Gr.length)>0||((ao=(yr=(rr=Yt==null?void 0:Yt.editData)==null?void 0:rr.exercise)==null?void 0:yr.exist_item_bank_shixun_ids)==null?void 0:ao.length)>0)&&Ii([...(To=(Go=Yt==null?void 0:Yt.editData)==null?void 0:Go.exercise)==null?void 0:To.exist_item_bank_ids,...(Pi=(Yi=Yt==null?void 0:Yt.editData)==null?void 0:Yi.exercise)==null?void 0:Pi.exist_item_bank_shixun_ids])},[(qt=(vt=Yt==null?void 0:Yt.editData)==null?void 0:vt.exercise)==null?void 0:qt.exist_item_bank_ids]);const ei=(0,b.useRef)(new Set),ol=(0,b.useRef)(new Set);let[Wi,qi]=(0,b.useState)({gg:{type:"1",page:1,updated_at:"",quotes:"",item_type:null,courseid:"",per_page:10,tag_discipline_id:null,difficulty:null,keyword:null},ttgx:{type:"3",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]},scj:{type:"2",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null},wcjd:{type:"0",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]},yx:{type:"5",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:null}});const _o=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],ci=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],il=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[_l,Nr]=(0,b.useState)(!1),Io=()=>{Er.resetFields(),Ga=!1,Wr(!1),Nr(!1),Er.submit()};(0,b.useEffect)(()=>{Fo>0&&setTimeout(()=>{Dn(0)},2e3)},[Fo]),(0,b.useEffect)(()=>{Ee&&(Er.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null}),zo&&Ga&&(Er.setFieldsValue({item_type:"SHIXUN"}),qe.item_type="SHIXUN",Ct(Sr({},qe)),Pa(!1)),ti(qe),Ui(),Vo({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}))},[Ee]);function ti(en){return No(this,null,function*(){var zn,Gr,rr;if(Cr(!0),Ct(en),(Qt==null?void 0:Qt.length)<=0&&en.type==="5"){Sn([]),Cr(!1);return}let yr=en.type==="5"?Qt==null?void 0:Qt.filter(To=>!ho.includes(To)):null,ao=en.type==="5"?Qt==null?void 0:Qt.filter(To=>ho.includes(To)):null;en.group_id=((zn=en.group_id)==null?void 0:zn.map(To=>To==null?void 0:To.value))||null;let Go=yield(0,te.ZP)("/api/item_banks.json",{method:"get",params:Ro(Sr({},en),{discipline_id:((Gr=en==null?void 0:en.courseid)==null?void 0:Gr[0])||null,sub_discipline_id:((rr=en==null?void 0:en.courseid)==null?void 0:rr[1])||null,ids:yr,shixun_ids:ao,keyword:en.keyword?encodeURIComponent(en.keyword):en.keyword,include_shixuns:!0,type:en.type==="5"?null:en.type,clazz:en.type==="3"?"ItemBanksGroup":null})});Sn(Go),Cr(!1)})}function Vo(en){return No(this,null,function*(){var zn;let Gr=yield(0,te.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:en}),rr=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(zn=Gr==null?void 0:Gr.data)==null?void 0:zn.map(yr=>({title:yr.name,id:yr.id,pid:yr.id,value:yr.id,key:yr.id,isLeaf:!yr.have_child}))}];Ei(rr)})}function Ui(){return No(this,null,function*(){let en=yield(0,te.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:qe.type==="5"?null:qe.type,clazz:"ItemBanksGroup"}});Cn((0,On.L)(en==null?void 0:en.disciplines))})}function Qi(en){return No(this,null,function*(){var zn,Gr,rr,yr;Cr(!0);let ao=(zn=en.list)==null?void 0:zn.filter(Yi=>!ho.includes(Yi)),Go=(Gr=en.list)==null?void 0:Gr.filter(Yi=>ho.includes(Yi));if(ao.length===0&&Go.length===0){Cr(!1),Sn([]);return}let To=yield(0,te.ZP)("/api/item_banks.json",{method:"get",params:Ro(Sr({},en),{discipline_id:((rr=en==null?void 0:en.courseid)==null?void 0:rr[0])||null,sub_discipline_id:((yr=en==null?void 0:en.courseid)==null?void 0:yr[1])||null,ids:ao,shixun_ids:Go,type:en.type==="5"?null:en.type,clazz:en.type==="3"?"ItemBanksGroup":null})});Cr(!1),Sn(To)})}const Ai=(0,he.useParams)(),[Tl,wl,El,vi]=(0,Rr.P)(),Zl=en=>No(void 0,null,function*(){const zn=yield Rn({type:"shixunsDetail/release",payload:{id:en}});let Gr=zn==null?void 0:zn.tag_position,rr=(zn==null?void 0:zn.evaluation_set_position)||[],yr=zn.status;return yr===0?(Ae.ZP.success("\u53D1\u5E03\u6210\u529F"),ti(qe),!0):(yr===2?Ae.ZP.error(`\u7B2C${rr.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):yr===3?Ae.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${Gr.join(",")}\u5173\u5C1A\u672A\u8BBE\u7F6E\u6280\u80FD\u6807\u7B7E\uFF0C\u8BF7\u8865\u5145`):Ae.ZP.error("\u5C1A\u672A\u521B\u5EFA\u4EFB\u52A1\u7684\u5B9E\u8BAD\uFF0C\u4E0D\u80FD\u7533\u8BF7\u53D1\u5E03"),!1)}),no=en=>(en==null?void 0:en.shixun_tag_num)===1?"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528\uFF0C\u8BF7\u5148\u8FDB\u884C\u53D1\u5E03":"",nu=(en,zn,Gr)=>en.map(rr=>rr.key===zn?Sr(Sr({},rr),Gr):rr.children?Ro(Sr({},rr),{children:nu(rr.children,zn,Gr)}):rr),bu=en=>No(void 0,null,function*(){const{key:zn}=en;let Gr=qe.type;const rr=yield(0,Lr.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(zn),type:Gr}),{data:yr,total_count:ao}=rr||{};ao>0&&Ei(Go=>nu(Go,zn,{children:yr.map(To=>({title:To.name,id:To.id,pid:To.id,value:To.id,key:To.id,isLeaf:!To.have_child}))}))});function Vl(en){console.log("----",qe),en==="1"&&(Wi.gg=Sr({},qe)),en==="2"&&(Wi.scj=Sr({},qe)),en==="3"&&(Wi.ttgx=Sr({},qe)),en==="0"&&(Wi.wcjd=Sr({},qe)),en==="5"&&(Wi.yx=Sr({},qe)),qi(Sr({},Wi))}function mu(){qe.type==="1"&&(qe=Wi.gg),qe.type==="2"&&(qe=Wi.scj),qe.type==="3"&&(qe=Wi.ttgx),qe.type==="0"&&(qe=Wi.wcjd),qe.type==="5"&&(qe=Wi.yx),(qe==null?void 0:qe.item_type)==="SHIXUN"?(Ga=!0,Wr(!0)):(Ga=!1,Wr(!1)),Er.setFieldsValue(Sr({},qe)),Ct(Sr({},qe)),ti(Sr({},qe))}return Mn.createElement("div",null,Mn.createElement(Ke.default,{title:!1,footer:!1,open:Ee,width:1200,centered:!0,className:Vt.scoremodal,onCancel:()=>{ue(!1)}},Mn.createElement("div",{style:{display:"flex",alignItems:"center"}},Mn.createElement("div",{className:Vt.title},"\u9898\u5E93\u9009\u9898")),Mn.createElement(Nn.default,{className:Vt.tabWrap,activeKey:qe.type,onChange:en=>{en==="3"?(qe.show_all_share=!0,Vo({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):qe.show_all_share=null,en==="0"&&Vo({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),Vl(qe.type),qe.type=en,(qe==null?void 0:qe.item_type)==="SHIXUN"&&qe.type!=="5"&&(Ga=!0,Wr(!0)),Nr(!1),qe.type==="5"&&(Ga=!1,Wr(!1)),mu(),Ui()},items:[{label:"\u516C\u5171",key:"1"},{label:"\u56E2\u961F\u5171\u4EAB",key:"3"},{label:"\u6536\u85CF\u5939",key:"2"},{label:"\u6211\u521B\u5EFA\u7684",key:"0"},{label:Mn.createElement("div",null,"\u5DF2\u9009",Qt.length>0&&Mn.createElement("span",{className:Vt.titlecount},Qt.length),Fo>0&&Mn.createElement("span",{className:Vt.add},"+",Fo)),key:"5"}]}),Mn.createElement(De.default,{layout:"inline",form:Er,onValuesChange:(en,zn)=>{var Gr,rr;const yr=Object.values(zn).some(Go=>Go!==null&&Go!==""&&Go!==void 0),ao=zn.keyword==="";if(Nr(yr||!ao),qe.page=1,qe.keyword=(rr=(Gr=qe.keyword)==null?void 0:Gr.replace)==null?void 0:rr.call(Gr,/^\s+|\s+$/g,""),(zn==null?void 0:zn.item_type)==="SHIXUN"){if(qe.type==="5"?Wr(!1):Wr(!0),en.keyword||en.keyword==="")return;Er.submit()}else{if(en!=null&&en.courseid&&Er.setFieldsValue({tag_discipline_id:""}),Wr(!1),en.keyword||en.keyword==="")return;Er.submit()}},onFinish:en=>{var zn;qe.type==="3"&&(!en.group_id||((zn=en==null?void 0:en.group_id)==null?void 0:zn.length)===0)?qe.show_all_share=!0:qe.show_all_share=null,Ct(Sr(Sr({},qe),en)),ti(Sr(Sr({},qe),en))}},Mn.createElement(De.default.Item,{name:"item_type"},Mn.createElement(Se.default,{className:Vt.selectWrapper,placeholder:"\u9898\u578B",style:{width:110},size:"middle",allowClear:!0},di.map(en=>Mn.createElement(Se.default.Option,{key:en.value},en.name)))),Mn.createElement(De.default.Item,{name:"courseid"},Mn.createElement(xe.Z,{className:Vt.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:cn})),!Ga&&Mn.createElement(De.default.Item,{name:"tag_discipline_id"},Mn.createElement(Se.default,{className:Vt.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(Bn=va==null?void 0:va.tag_disciplines)==null?void 0:Bn.map(en=>Mn.createElement(Se.default.Option,{key:en.id},en.name)))),Mn.createElement(De.default.Item,{name:Ga?"diff":"difficulty"},Mn.createElement(Se.default,{className:Vt.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!Ga&&_o.map(en=>Mn.createElement(Se.default.Option,{key:en.value},en.name)),Ga&&ci.map(en=>Mn.createElement(Se.default.Option,{key:en.value},en.name)))),Ga&&Mn.createElement(De.default.Item,{name:"shixun_publish_status"},Mn.createElement(Se.default,{className:Vt.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},il.map(en=>Mn.createElement(Se.default.Option,{key:en.value},en.name)))),(qe.type==="3"||qe.type==="0")&&!Ga&&Mn.createElement(De.default.Item,{name:"group_id"},Mn.createElement(In.default,{treeDataSimpleMode:!0,style:{width:118},className:Vt.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(en,zn)=>zn.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:Fr})),_l&&Mn.createElement("span",{className:Vt.allqingchu,onClick:Io},Mn.createElement("i",{className:"iconfont icon-guanbi4"}),Mn.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),Mn.createElement(De.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},Mn.createElement(ze.default.Search,{className:Vt.search,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:Mn.createElement("i",{className:`iconfont icon-sousuo9 font14 ${Vt.searchIcon}`,onClick:()=>Er.submit()}),onSearch:en=>{Er.submit()}}))),Mn.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},Mn.createElement("div",{onClick:()=>{qe.updated_at==="asc"?qe.updated_at="desc":qe.updated_at="asc",Ct(Ro(Sr({},qe),{page:1})),ti(Ro(Sr({},qe),{page:1}))}}," ",qe.updated_at?Mn.createElement("img",{src:qe.updated_at==="asc"?Ba.Z:ga.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Mn.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),Mn.createElement("div",{onClick:()=>{qe.quotes==="asc"?qe.quotes="desc":qe.quotes="asc",Ct(Ro(Sr({},qe),{page:1})),ti(Ro(Sr({},qe),{page:1}))},style:{marginLeft:20}}," ",qe.quotes?Mn.createElement("img",{src:qe.quotes==="asc"?Ba.Z:ga.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Mn.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),Mn.createElement(cs.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(va==null?void 0:va.items)||(va==null?void 0:va.shixun_list),pagination:!1,loading:En,rowKey:en=>en.id,rowSelection:{type:"checkbox",selectedRowKeys:[...Jt,...li],getCheckboxProps:en=>({disabled:en.shixun_tag_num===1||(li==null?void 0:li.find(zn=>en.id===zn))}),onSelect(en,zn,Gr){if(zn)Ga&&xo([...ho,en.id]),Ot([...Jt,en.id]),en.identifier?ei.current.add(en.id):ol.current.add(en.id),Dn(1),Zt([...Qt,en.id]);else{en.identifier?ei.current.delete(en.id):ol.current.delete(en.id);let rr=Qt.filter(yr=>yr!==en.id);if(Ot(rr),Zt(rr),Ga){let yr=ho.filter(ao=>ao!==en.id);xo([...yr])}if(qe.type==="5"){Qi(Ro(Sr({},qe),{list:[...rr]}));return}}},onSelectAll(en,zn,Gr){if(en){const rr=Gr.map(yr=>yr.id);Ga&&xo([...ho,...rr]),Ot([...Jt,...rr]),Zt([...Qt,...rr]);for(const yr of Gr)yr.identifier?ei.current.add(yr.id):ol.current.add(yr.id)}else{const rr=Gr.map(ao=>ao.id),yr=Jt.filter(ao=>!rr.some(Go=>Go===ao));if(Ot([...yr]),Zt([...yr]),Ga){let ao=ho.filter(Go=>!rr.some(To=>To===Go.id));xo([...ao])}qe.type==="5"&&Qi(Ro(Sr({},qe),{list:[...yr]}));for(const ao of rr)ao.identifier?ei.current.delete(ao):ol.current.delete(ao)}}},columns:[{title:"\u9898\u578B",dataIndex:"item_type",key:"item_type",render:(en,zn,Gr)=>{var rr,yr;return Mn.createElement(ut.Z,{title:no(zn)},Mn.createElement("div",null,Ga||zn!=null&&zn.challenge_names?"\u5B9E\u8BAD\u9898":(yr=(rr=di==null?void 0:di.filter(ao=>ao.value===en))==null?void 0:rr[0])==null?void 0:yr.name))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:Ga?"30%":"60%",key:"name",render:(en,zn,Gr)=>{var rr;return Mn.createElement("div",{style:{display:"flex",alignItems:"center"}},Mn.createElement(ut.Z,{title:no(zn)},Mn.createElement("span",null,Mn.createElement(Mt.Z,{key:1,showLines:1,showTextOnly:!0,value:Ga||zn!=null&&zn.challenge_names?zn!=null&&zn.title||en===null?"--":en:(zn==null?void 0:zn.item_type)=="BPROGRAM"?(rr=zn==null?void 0:zn.program_attr)==null?void 0:rr.description:en}))),(zn==null?void 0:zn.high_resources_consume)&&Mn.createElement(sr.Z,{type:"shixun",style:{marginLeft:10}}))}},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!Ga,render:(en,zn,Gr)=>{var rr;return Mn.createElement(ut.Z,{title:no(zn)},Mn.createElement("span",null,en?(rr=en==null?void 0:en.split("\u3001"))==null?void 0:rr[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!Ga,render:(en,zn,Gr)=>Mn.createElement(ut.Z,{title:no(zn)},Mn.createElement("span",null,en||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",render:(en,zn,Gr)=>{var rr,yr,ao,Go;return Mn.createElement(ut.Z,{title:no(zn)},Mn.createElement("div",null,Ga||zn!=null&&zn.challenge_names?(zn==null?void 0:zn.level)||((yr=(rr=_o==null?void 0:_o.filter(To=>To.value===en))==null?void 0:rr[0])==null?void 0:yr.name):(Go=(ao=_o==null?void 0:_o.filter(To=>To.value===en))==null?void 0:ao[0])==null?void 0:Go.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Ga,render:(en,zn,Gr)=>Mn.createElement(ut.Z,{title:no(zn)},Mn.createElement("div",null,en||"- -"))},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Ga,render:(en,zn,Gr)=>Mn.createElement("span",null,en||"- -")},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",render:(en,zn,Gr)=>Mn.createElement(ut.Z,{title:no(zn)},Mn.createElement("div",null,Ga||zn!=null&&zn.challenge_names?(zn==null?void 0:zn.study_count)||(zn==null?void 0:zn.stu_num):en))},{title:Mn.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Mn.createElement(ut.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Mn.createElement(Pn.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Ga,render:(en,zn,Gr)=>Mn.createElement(ut.Z,{title:no(zn)},Mn.createElement("div",null,en||"- -"))},{title:Mn.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Mn.createElement(ut.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Mn.createElement(Pn.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Ga,render:(en,zn,Gr)=>Mn.createElement("span",null,en||"- -")},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",render:(en,zn,Gr)=>Mn.createElement(ut.Z,{title:no(zn)},Mn.createElement("div",{style:{flex:1,textAlign:"start"}},Mn.createElement("a",{onClick:()=>{var rr,yr;Ao(Ro(Sr({},zn),{question_type:Ga||zn!=null&&zn.challenge_names?5:(yr=(rr=di==null?void 0:di.filter(ao=>ao.value===(zn==null?void 0:zn.item_type)))==null?void 0:rr[0])==null?void 0:yr.question_type})),Or(!0)}},"\u67E5\u770B"),(zn==null?void 0:zn.shixun_tag_num)===1&&Mn.createElement("a",{style:{marginLeft:10},onClick:()=>{Ke.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:Mn.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",Mn.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${zn==null?void 0:zn.identifier}/challenges`)}},(zn==null?void 0:zn.shixun_name)||"--"),"\uFF1F"),onOk:()=>No(void 0,null,function*(){if(!Zl(zn==null?void 0:zn.identifier))return new Promise((rr,yr)=>{yr()})})})}},"\u53D1\u5E03")))}].filter(en=>!en.hidden)}),Mn.createElement(Dt.Z,{current:qe.page,total:(va==null?void 0:va.items_count)||(va==null?void 0:va.shixuns_count),style:{marginBottom:20},defaultPageSize:qe.per_page,showTotal:en=>Mn.createElement("span",null,"\u5171\xA0",Mn.createElement("span",{style:{color:"#165DFF"}},en),"\xA0\u6761\u6570\u636E"),pageSize:qe.per_page,onChange:(en,zn)=>{qe.page=en,qe.per_page=zn,Ct(Sr({},qe)),ti(Sr({},qe))}}),Mn.createElement("div",{className:Vt.bottom},Mn.createElement(_e.ZP,{className:Vt.no,onClick:()=>{ue(!1)}},"\u53D6\u6D88"),Mn.createElement(_e.ZP,{loading:ft,style:{width:ft&&75},className:Vt.yes,onClick:()=>No(void 0,null,function*(){if((Qt==null?void 0:Qt.length)<=0){Ae.ZP.info("\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}let en=yield(0,io.Tr)({id:[...Qt==null?void 0:Qt.filter(zn=>ho.includes(zn))],course_id:Ai.coursesId,type:"shixun"});(en==null?void 0:en.student_count)===0?Pe([...ol.current],[...Qt==null?void 0:Qt.filter(zn=>ho.includes(zn))],!0,Qt==null?void 0:Qt.length):Oi(en)})},"\u786E\u8BA4"))),Mn.createElement(Ke.default,{open:na,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:Vt.previewModal,width:1e3,centered:!0,onCancel:()=>{Or(!1)},onOk:()=>{Or(!1)}},Mn.createElement(Ra,{qitem:$a})),Mn.createElement($r.Z,{resdata:Bi,type:"exercise",okloading:ft,oktext:(Bi==null?void 0:Bi.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:en=>No(void 0,null,function*(){const zn=[],Gr=[];for(const rr of Bi==null?void 0:Bi.can_copy_list)zn.push(rr.id);wl(),yield Pe([...ol.current],[...ei.current].filter(rr=>!Gr.includes(rr)),!0,Qt==null?void 0:Qt.length,zn)})}))};var Jo=(0,he.connect)(({shixunsDetail:ue,exercise:Ee})=>({shixunsDetail:ue,exercise:Ee}))(Fi),bi=oe(44931),Kr=oe(59301),ii=Object.defineProperty,hi=Object.defineProperties,Ri=Object.getOwnPropertyDescriptors,gi=Object.getOwnPropertySymbols,Ji=Object.prototype.hasOwnProperty,gl=Object.prototype.propertyIsEnumerable,Vr=(ue,Ee,Pe)=>Ee in ue?ii(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,vo=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Ji.call(Ee,Pe)&&Vr(ue,Pe,Ee[Pe]);if(gi)for(var Pe of gi(Ee))gl.call(Ee,Pe)&&Vr(ue,Pe,Ee[Pe]);return ue},Po=(ue,Ee)=>hi(ue,Ri(Ee)),mi=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())}),$o=({qitem:ue,TagDiscipline:Ee,exerciseitem:Pe,setisedit:it,seveeditor:ft,deleteitem:Rn,getTagData:vn,init:Yt,showTip:vt=!1})=>{var qt;const[Bn]=De.default.useForm(),qe=!0;return(0,b.useEffect)(()=>{var Ct,cn,Cn;Bn.setFieldsValue(Po(vo({},ue),{standard_answers:ue.standard_answer,difficulty:(ue==null?void 0:ue.difficult)||2,item_banks_group_id:ue.item_banks_group_id,hack:Po(vo({},ue),{time_limit:(ue==null?void 0:ue.time_limit)||3}),hack_codes:{language:(Ct=ue==null?void 0:ue.program_attr)==null?void 0:Ct.language,code:Fu.Base64.decode(((cn=ue==null?void 0:ue.program_attr)==null?void 0:cn.code)||"")},hack_sets:vo({},(Cn=ue==null?void 0:ue.hack_sets)==null?void 0:Cn[0]),repeat_answer:!ue.repeat_answer}))},[ue]),Kr.createElement("div",null,Kr.createElement(De.default,{form:Bn,colon:!1,onValuesChange:(Ct,cn)=>{var Cn,Jt,Ot,Qt;if(Ct!=null&&Ct.standard_answers){let Zt=((Cn=Bn.getFieldValue("standard_answers"))==null?void 0:Cn.length)>0&&((Ot=(Jt=Bn.getFieldValue("standard_answers"))==null?void 0:Jt.map(va=>va.score))==null?void 0:Ot.filter(va=>va));(Zt==null?void 0:Zt.length)>0&&Bn.setFieldsValue({question_score:(Zt==null?void 0:Zt.length)>0&&((Qt=Zt.reduce((va,Sn)=>va+Sn))==null?void 0:Qt.toFixed(1))})}},onFinish:Ct=>{var cn;ft(Po(vo(vo({},ue),Ct),{item_type:ue==null?void 0:ue.question_type,standard_answers:(cn=Ct.standard_answers)==null?void 0:cn.map((Cn,Jt)=>Po(vo({},Cn),{position:Jt+1})),hack_codes:Po(vo({},Ct.hack_codes),{code:Fu.Base64.encode(Ct.hack_codes.code)}),standard_answer:void 0}))},onFinishFailed:Ct=>mi(void 0,null,function*(){var cn,Cn;Ae.ZP.error(Ct.errorFields[0].errors[0]),Bn.scrollToField((Cn=(cn=Ct==null?void 0:Ct.errorFields)==null?void 0:cn[0])==null?void 0:Cn.name,{behavior:"smooth",block:"center"})})},Kr.createElement("div",{style:{display:"flex",alignItems:"center"}},Kr.createElement("div",{style:{flex:1}},Kr.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Kr.createElement("span",null,"\u7A0B\u5E8F\u586B\u7A7A\u9898")),((qt=Pe==null?void 0:Pe.exercise)==null?void 0:qt.exercise_status)==1&&!(ue!=null&&ue.isadd)&&Kr.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Rn()}},Kr.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}})," \u5220\u9664"),Kr.createElement(_e.ZP,{onClick:()=>{var Ct,cn,Cn,Jt;ue.isadd?(it(!1),Yt()):(Bn.setFieldsValue(Po(vo({},ue),{standard_answers:ue.standard_answer,difficulty:ue.difficult,item_banks_group_id:ue.item_banks_group_id,hack:Po(vo({},ue),{sub_discipline_id:(Ct=Pe==null?void 0:Pe.exercise)==null?void 0:Ct.sub_discipline_id,tag_discipline_ids:[]}),hack_codes:{language:(cn=ue==null?void 0:ue.program_attr)==null?void 0:cn.language,code:Fu.Base64.decode((Cn=ue==null?void 0:ue.program_attr)==null?void 0:Cn.code)},hack_sets:vo({},(Jt=ue==null?void 0:ue.hack_sets)==null?void 0:Jt[0]),repeat_answer:!ue.repeat_answer})),it(!1))}},"\u53D6\u6D88"),Kr.createElement(ut.Z,{overlayClassName:nt.shake,open:vt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Kr.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Kr.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},Kr.createElement(_e.ZP,{className:"ml20",type:"primary",onClick:()=>{Bn.submit()}},"\u4FDD\u5B58"))),Kr.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Kr.createElement(Ft.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}),Kr.createElement(bi.t,{form:Bn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7A0B\u5E8F\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:qe,hackidentifier:ue==null?void 0:ue.hack_identifier,answerKey:"standard_answers"}),Kr.createElement(pa,{getTagData:vn,qitem:ue,exerciseitem:Pe,TagDiscipline:Ee,form:Bn}))))},Si=oe(13952),Bl=oe(61881),ji=oe(68606),Hi=oe(89392),$l=oe(92578),uu=oe(28298),An=oe(59301),_i=Object.defineProperty,Sl=Object.defineProperties,zi=Object.getOwnPropertyDescriptors,eu=Object.getOwnPropertySymbols,Ml=Object.prototype.hasOwnProperty,al=Object.prototype.propertyIsEnumerable,Xo=(ue,Ee,Pe)=>Ee in ue?_i(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Ho=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Ml.call(Ee,Pe)&&Xo(ue,Pe,Ee[Pe]);if(eu)for(var Pe of eu(Ee))al.call(Ee,Pe)&&Xo(ue,Pe,Ee[Pe]);return ue},Vi=(ue,Ee)=>Sl(ue,zi(Ee)),yo=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())});const{confirm:rl}=Ke.default,Ci=[{name:"\u5355\u9009\u9898",id:0,count:"q_singles",score:"q_singles_scores",nameType:"SINGLE"},{name:"\u591A\u9009\u9898",id:1,count:"q_doubles",score:"q_doubles_scores",nameType:"MULTIPLE"},{name:"\u5224\u65AD\u9898",id:2,count:"q_judges",score:"q_judges_scores",nameType:"JUDGMENT"},{name:"\u586B\u7A7A\u9898",id:3,count:"q_nulls",score:"q_nulls_scores",nameType:"COMPLETION"},{name:"\u7B80\u7B54\u9898",id:4,count:"q_mains",score:"q_mains_scores",nameType:"SUBJECTIVE"},{name:"\u5B9E\u8BAD\u9898",id:5,count:"q_shixuns",score:"q_shixuns_scores",nameType:"PRACTICAL"},{name:"\u7F16\u7A0B\u9898",id:6,count:"q_pros",score:"q_pros_scores",nameType:"PROGRAM"},{name:"\u7EC4\u5408\u9898",id:7,count:"q_combinations",score:"q_combinations_scores",nameType:"COMBINATION"},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",id:8,count:"q_combinations",score:"q_combinations_scores",nameType:"BPROGRAM"}],Al=({user:ue,dispatch:Ee,itemid:Pe,setisedits:it,exercise:ft,setitemid:Rn})=>{var vn,Yt,vt,qt,Bn,qe,Ct,cn,Cn,Jt,Ot,Qt,Zt,va,Sn,En,Cr,Er,$a,Ao,na,Or,Ga,Wr,ho,xo,zo;const[Pa,Fr]=(0,b.useState)(),[Ei,Fo]=(0,b.useState)(!1),[Dn,li]=(0,b.useState)(),[Ii,di]=(0,b.useState)(),Bi=(0,b.useRef)(),Oi=(0,b.useRef)(),[ei,ol]=(0,b.useState)(),[Wi,qi]=(0,b.useState)(!1),[_o,ci]=(0,b.useState)(!1),[il,_l]=(0,b.useState)(),[Nr,Io]=(0,b.useState)(!1),[ti,Vo]=(0,b.useState)(!1),[Ui,Qi]=(0,b.useState)(!1),[Ai,Tl]=(0,b.useState)(!1),[wl,El]=(0,b.useState)(!1),[vi,Zl]=(0,b.useState)(!1),no=(0,he.useParams)(),[nu,bu]=(0,b.useState)(!1),[Vl]=De.default.useForm(),[mu,en]=(0,b.useState)(!1),[zn,Gr]=(0,b.useState)(!1),[rr,yr]=(0,b.useState)(!1),[ao,Go]=(0,b.useState)(!1),To=(0,b.useRef)();(0,b.useEffect)(()=>{Pe&&Pi()},[Pe]),(0,b.useEffect)(()=>{it(_o)},[_o]),(0,b.useEffect)(()=>{Dn!=null&&Dn.question_id&&(di(Dn==null?void 0:Dn.question_score),Oi.current=Dn==null?void 0:Dn.question_id)},[Dn]);const Yi=Kn=>yo(void 0,null,function*(){let Ja=yield Ee({type:"newExercisePaper/getTagDiscipline",payload:{sub_discipline_id:Kn}});Ee({type:"globalSetting/footerToggle",payload:!1}),_l(Ja)});function Pi(){return yo(this,null,function*(){var Kn,Ja,Ir,ro,Xr,xr;qi(!0),Fo(!0);const co=yield Ee({type:"exercise/editExercise",payload:{categoryId:Pe}});qi(!1),Fo(!1),Fr(co),El(!1),(Kn=co==null?void 0:co.exercise)!=null&&Kn.sub_discipline_id&&Yi((Ja=co==null?void 0:co.exercise)==null?void 0:Ja.sub_discipline_id),li(Vi(Ho({},(Xr=(ro=(Ir=co==null?void 0:co.exercise_question_types)==null?void 0:Ir[0])==null?void 0:ro.items)==null?void 0:Xr[0]),{index:1})),ol(Vi(Ho({},(xr=co==null?void 0:co.exercise_question_types)==null?void 0:xr[0]),{indexs:1}))})}function Gl(Kn,Ja=!0){return yo(this,null,function*(){var Ir,ro,Xr,xr;Ja&&(qi(!0),Fo(!0));const co=yield Ee({type:"exercise/editExercise",payload:{categoryId:Pe}});Fr(co);let Do=[];(Ir=co==null?void 0:co.exercise_question_types)==null||Ir.map(Dr=>{var Ia;(Ia=Dr==null?void 0:Dr.items)==null||Ia.map((fr,lo)=>{Do.push(Vi(Ho({},fr),{index:lo+1}))})});let Zi=(ro=Do.filter(Dr=>Dr.question_id===(Kn==null?void 0:Kn.id)))==null?void 0:ro[0],su=(xr=((Xr=co==null?void 0:co.exercise_question_types)==null?void 0:Xr.map((Dr,Ia)=>{if((Zi==null?void 0:Zi.question_type)===(Dr==null?void 0:Dr.question_type))return Vi(Ho({},Dr),{indexs:Ia+1})})).filter(Dr=>Dr))==null?void 0:xr[0];ol(Ho({},su)),li(Ho({},Zi)),di(Zi==null?void 0:Zi.question_score),qi(!1),Fo(!1),El(!1)})}function Wl(Kn){return yo(this,null,function*(){var Ja;let Ir=Vi(Ho({},Kn),{repeat_answer:!Kn.repeat_answer,difficulty:(Kn==null?void 0:Kn.difficulty)||2,item_type:Kn.question_type,sub_discipline_id:((Ja=Kn==null?void 0:Kn.sub_discipline_id)==null?void 0:Ja[1])||"",tag_discipline_ids:[],hack:Vi(Ho({},Kn==null?void 0:Kn.hack),{difficult:(Kn==null?void 0:Kn.difficulty)||2}),hack_identifier:sessionStorage.projectFill});Kn.tag_discipline_ids&&(Ir.tag_discipline_ids=Array.isArray(Kn.tag_discipline_ids)?Kn.tag_discipline_ids:[Kn.tag_discipline_ids]);let ro=wl?`/api/exercises/${Pe}/exercise_questions`:`/api/exercise_questions/${Kn==null?void 0:Kn.question_id}.json`;if((Kn==null?void 0:Kn.is_my)===1){const Xr=rl({title:"\u63D0\u793A",content:An.createElement("div",null,An.createElement("p",null,"\u6B64\u9898\u76EE\u5DF2\u5B58\u5728\u4E8E\u8BD5\u9898\u5E93\uFF0C\u662F\u5426\u5C06\u4FEE\u6539\u540E\u7684\u9898\u76EE\u8986\u76D6\u8BD5\u9898\u5E93\u7684\u539F\u9898\uFF1F"),An.createElement("i",{className:"iconfont icon-guanbi",style:{position:"absolute",top:"20px",right:"20px",cursor:"pointer"},onClick:()=>{Xr.destroy()}})),okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>yo(this,null,function*(){Ir.is_cover=1;let xr=yield(0,te.ZP)(ro,{method:wl?"post":"PUT",body:Ho({},Ir)});(xr==null?void 0:xr.status)===0&&(ci(!1),Gl({id:(xr==null?void 0:xr.exercise_question_id)||(Kn==null?void 0:Kn.question_id)})),Xr.destroy()}),onCancel:()=>yo(this,null,function*(){let xr=yield(0,te.ZP)(ro,{method:wl?"post":"PUT",body:Ho({},Ir)});(xr==null?void 0:xr.status)===0&&(ci(!1),Gl({id:(xr==null?void 0:xr.exercise_question_id)||(Kn==null?void 0:Kn.question_id)})),Xr.destroy()})})}else{let Xr=yield(0,te.ZP)(ro,{method:wl?"post":"PUT",body:Ho({},Ir)});(Xr==null?void 0:Xr.status)===0&&(ci(!1),Gl({id:(Xr==null?void 0:Xr.exercise_question_id)||(Kn==null?void 0:Kn.question_id)}))}(0,Pt.Vf)("#question-scroll-id")})}function qu(Kn){return yo(this,null,function*(){var Ja,Ir;Fo(!0);let ro=yield(0,te.ZP)(`/api/exercises/${Pe}/sort_question_type.json`,{method:"post",body:{question_type:Kn}});if(Fo(!1),(ro==null?void 0:ro.status)===0){const Xr=yield Ee({type:"exercise/editExercise",payload:{categoryId:Pe}});Fr(Xr),El(!1),(Ja=Xr==null?void 0:Xr.exercise)!=null&&Ja.sub_discipline_id&&Yi((Ir=Xr==null?void 0:Xr.exercise)==null?void 0:Ir.sub_discipline_id)}})}const vs=(Kn,Ja,Ir)=>yo(void 0,null,function*(){var ro;if(Kn.length===0){Ae.ZP.warning("\u8BF7\u4E0A\u4F20\u6587\u4EF6"),Ir();return}const Xr={id:no==null?void 0:no.exerciseId,file:(ro=Kn[0])==null?void 0:ro.file,sub_discipline_id:Ja};hs(Xr,`${Si.Z.API_SERVER}/api/courses/${no==null?void 0:no.coursesId}/exercises/import_exercise.json`,xr=>{var co;if((xr==null?void 0:xr.status)===0){const Do={};(co=xr==null?void 0:xr.fail)==null||co.forEach(Ll=>{var su;((su=Object.keys(Do))==null?void 0:su.includes(Ll.message))?Do[Ll.message]=Do[Ll.message]+1:Do[Ll.message]=1});let Zi=`\u6210\u529F\u5BFC\u5165${xr==null?void 0:xr.success}\u6761`;Object.keys(Do).forEach(Ll=>{Zi=Zi+`,${Ll}${Do[Ll]}\u6761`}),Ae.ZP.success(Zi),Io(!1),Pi()}(xr==null?void 0:xr.status)===-1&&(Ae.ZP.error(xr==null?void 0:xr.message),Ir())})}),ps=(Kn,Ja)=>yo(void 0,null,function*(){const Ir=yield(0,ji.zR)({score:(0,Hi.round)(Kn,1),question_id:Ja==null?void 0:Ja.question_id});if((Ir==null?void 0:Ir.status)===0){Ae.ZP.success("\u4FEE\u6539\u6210\u529F"),Gl({id:Oi.current},!1);return}(Ir==null?void 0:Ir.status)===-1&&di(Ja==null?void 0:Ja.question_score)}),jl=()=>{Go(!0)};(0,b.useEffect)(()=>{if(ao){const Kn=setTimeout(()=>{Go(!1)},2e3);return()=>clearTimeout(Kn)}},[ao]);const hs=(Kn,Ja,Ir,ro,Xr)=>{const xr=new FormData;Object.keys(Kn).forEach(Do=>{xr.append(Do,Kn[Do])});const co=new window.XMLHttpRequest;return co.withCredentials=!0,co.addEventListener("load",function(Do){var Zi;Ir(JSON.parse((Zi=Do==null?void 0:Do.target)==null?void 0:Zi.response))},!1),co.addEventListener("error",function(Do){Xr&&Xr(Do)},!1),co.upload.onprogress=Do=>{ro&&ro(Do)},co.open("POST",Ja),co.send(xr),co};function au(){return yo(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:()=>yo(this,null,function*(){if(Dn.question_id){let Kn=yield(0,te.ZP)(`/api/exercise_questions/${Dn.question_id}.json`,{method:"delete"});(Kn==null?void 0:Kn.status)===0&&(Pi(),ci(!1))}else li({}),ci(!1),Pi()}),cancelText:"\u53D6\u6D88"})})}const Zu=Kn=>yo(void 0,null,function*(){return yield(0,te.ZP)(`/api/exercises/${Pe}/select_questions.json`,{method:"post",body:Ho({},Kn)})}),{overflow:Ul,handleMouseEnter:$u,handleMouseLeave:Ss}=(0,Bl.I)(),es=(Kn,Ja)=>An.createElement(At.default,null,An.createElement(At.default.Item,{key:"0",onClick:()=>Gu(Kn==null?void 0:Kn.question_type)},An.createElement("span",{className:nt.moreSpan},"\u65B0\u589E")),An.createElement(At.default.Item,{key:"1",disabled:Ja===0,onClick:()=>yo(void 0,null,function*(){if(Ja===0)return;if(_o){jl();return}let Ir=(0,Pt.rz)(Pa==null?void 0:Pa.exercise_question_types,Ja,Ja-1);yield qu(Ir.map(ro=>ro.name))})},An.createElement("span",{className:nt.moreSpan},"\u4E0A\u79FB")),An.createElement(At.default.Item,{key:"2",disabled:Ja===(Pa==null?void 0:Pa.exercise_question_types.length)-1,onClick:()=>yo(void 0,null,function*(){if(Ja===(Pa==null?void 0:Pa.exercise_question_types.length)-1)return;if(_o){jl();return}let Ir=(0,Pt.rz)(Pa==null?void 0:Pa.exercise_question_types,Ja,Ja+1);yield qu(Ir.map(ro=>ro.name))})},An.createElement("span",{className:nt.moreSpan},"\u4E0B\u79FB")),An.createElement(At.default.Item,{key:"3",onClick:()=>{var Ir;Vl.setFieldsValue({name:Kn.name,item_type_en:(Ir=Ci.find(ro=>ro.id==Kn.question_type))==null?void 0:Ir.nameType}),en(!0)}},An.createElement("span",{className:nt.moreSpan},"\u91CD\u547D\u540D"))),Gu=Kn=>{var Ja,Ir,ro,Xr,xr,co,Do,Zi,Ll,su,Dr,Ia,fr,lo,qo,du,Nl,Ql,Il,fu,ru,Pl,Es,bs;if(_o){jl();return}if(El(!0),Kn===5){Qi(!0),Tl(!0);return}if(Kn===6){let Cs=(Ir=(Ja=ft==null?void 0:ft.editData)==null?void 0:Ja.exercise)!=null&&Ir.set_question_sub_discipline?`/problems/newcreate?express_id=${(ro=Pa==null?void 0:Pa.exercise)==null?void 0:ro.id}&callback_url=/classrooms/${no.coursesId}/exercise/add/${Pe}?type=2&discipline_id=${(xr=(Xr=ft==null?void 0:ft.editData)==null?void 0:Xr.exercise)==null?void 0:xr.discipline_id}&sub_discipline_id=${(Do=(co=ft==null?void 0:ft.editData)==null?void 0:co.exercise)==null?void 0:Do.sub_discipline_id}`:`/problems/newcreate?express_id=${(Zi=Pa==null?void 0:Pa.exercise)==null?void 0:Zi.id}&callback_url=/classrooms/${no.coursesId}/exercise/add/${Pe}?type=2`;he.history.push(Cs);return}ci(!0),li(Kn===2?{question_type:Kn,isadd:!0,repeat_answer:!0,choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],question_choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],difficulty:2,standard_answers:[],question_score:"",question_title:"",tag_discipline_ids:[],discipline_id:(su=(Ll=ft==null?void 0:ft.editData)==null?void 0:Ll.exercise)!=null&&su.set_question_sub_discipline?(Ia=(Dr=ft==null?void 0:ft.editData)==null?void 0:Dr.exercise)==null?void 0:Ia.discipline_id:0,sub_discipline_id:(lo=(fr=ft==null?void 0:ft.editData)==null?void 0:fr.exercise)!=null&&lo.set_question_sub_discipline?(du=(qo=ft==null?void 0:ft.editData)==null?void 0:qo.exercise)==null?void 0:du.sub_discipline_id:0,analysis:""}:{question_type:Kn,question_choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),standard_answers:[],repeat_answer:!0,difficulty:2,isadd:!0,tag_discipline_ids:[],question_score:"",analysis:"",sub_item_banks:[],is_ordered:!0,question_title:"",use_keywords:!1,keywords:[],use_blank_score:!0,allow_student_debug:!1,submit_rule:1,discipline_id:(Ql=(Nl=ft==null?void 0:ft.editData)==null?void 0:Nl.exercise)!=null&&Ql.set_question_sub_discipline?(fu=(Il=ft==null?void 0:ft.editData)==null?void 0:Il.exercise)==null?void 0:fu.discipline_id:0,sub_discipline_id:(Pl=(ru=ft==null?void 0:ft.editData)==null?void 0:ru.exercise)!=null&&Pl.set_question_sub_discipline?(bs=(Es=ft==null?void 0:ft.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:()=>{Io(!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(_o){jl();return}Gr(!0)}}];return console.log(ei==null?void 0:ei.question_type,Dn==null?void 0:Dn.question_type),An.createElement("div",null,An.createElement(ln.Z,{spinning:Wi},An.createElement("div",{className:nt.bg},((vn=Pa==null?void 0:Pa.exercise_types)==null?void 0:vn.q_counts)===0&&!_o&&An.createElement(_n.Z,{styles:{marginTop:180},customText:An.createElement("span",null,"\u8FD8\u6CA1\u6709\u8BD5\u9898\uFF0C\u8BF7\u4ECE",An.createElement("span",{className:"c-light-primary"},"\u5E95\u90E8\u64CD\u4F5C\u680F"),"\u8FDB\u884C\u6DFB\u52A0~")}),(((Yt=Pa==null?void 0:Pa.exercise_types)==null?void 0:Yt.q_counts)>0||_o)&&An.createElement("div",{style:{textAlign:"center"}},An.createElement("div",{style:{marginTop:20,borderTop:"1px solid #DCDCDC",display:"block",alignItems:"stretch"}},An.createElement("div",{style:{backgroundColor:"#F6F7F9",display:"inline-block",position:"sticky",top:0}},An.createElement("div",{className:nt.left},An.createElement("div",{className:nt.leftAction},((vt=Pa==null?void 0:Pa.exercise)==null?void 0:vt.exercise_status)===1&&An.createElement(_e.ZP,{onClick:()=>{if(_o){jl();return}Vo(!0)},className:nt.Button},"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C")),An.createElement("div",{className:nt.scrollWrapper,style:{overflow:Ul},onMouseEnter:$u,onMouseLeave:Ss},(qt=Pa==null?void 0:Pa.exercise_question_types)==null?void 0:qt.map((Kn,Ja)=>An.createElement("div",{key:Ja,className:"mb30"},An.createElement("div",{className:nt.title},An.createElement("div",{className:nt.titleleft},An.createElement("span",{style:{color:"#000000",fontWeight:400,fontSize:12}}," ",(0,Pt.EM)(Ja+1),"\u3001\u3010",Kn.name,"\u3011"),An.createElement("span",{style:{color:"#464F66",fontSize:12}},"\uFF08",Kn.count,"\u5C0F\u9898\uFF0C\u5171",Kn.score,"\u5206\uFF09")),An.createElement(Ce.Z,{dropdownRender:()=>es(Kn,Ja),placement:"bottomLeft"},An.createElement("div",{className:nt.more_style},An.createElement("i",{className:"iconfont icon-sandian font12"})))),An.createElement(ea,{handleEditing:jl,isedit:_o,setBigqitem:ol,bigitem:Vi(Ho({},Kn),{indexs:Ja+1}),setqitem:Ir=>yo(void 0,null,function*(){var ro;(ro=Bi.current)==null||ro.blur(),li(Ir)}),qitem:Dn,Itemid:Pe,getdata:Gl,data:Kn.items})))))),An.createElement("div",{id:"question-scroll-id",style:{overflow:_o?"hidden":"auto"},className:nt.right},!(Dn!=null&&Dn.isadd)&&An.createElement("div",{className:nt.title},!_o&&An.createElement("div",{style:{flex:1}},An.createElement("span",{style:{color:"#000000",fontWeight:600,fontSize:16}}," ",(ei==null?void 0:ei.indexs)&&(0,Pt.EM)(ei==null?void 0:ei.indexs),"\u3001\u3010",ei==null?void 0:ei.name,"\u3011"),An.createElement(ut.Z,{title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0"},An.createElement("i",{className:`${nt.edit} iconfont icon-bianji_Hover mr5 ml5 font18`,onClick:()=>{var Kn;Vl.setFieldsValue({name:ei.name,item_type_en:(Kn=Ci.find(Ja=>Ja.id==ei.question_type))==null?void 0:Kn.nameType}),en(!0)}})),An.createElement("span",{style:{color:"#464F66",fontSize:16,fontWeight:400}},"\uFF08",ei==null?void 0:ei.count,"\u5C0F\u9898\uFF0C\u5171",ei==null?void 0:ei.score,"\u5206\uFF09"),(Dn==null?void 0:Dn.question_type)===6&&An.createElement("span",{onClick:()=>{Ke.default.destroyAll(),yr(2)},className:"current c-light-primary font14 bold-400"},"\u6279\u91CF\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00"),(Dn==null?void 0:Dn.question_type)===5&&An.createElement(tt.default,{defaultChecked:(qe=(Bn=ft==null?void 0:ft.editData)==null?void 0:Bn.exercise)==null?void 0:qe.show_challenge_task_pass,onChange:Kn=>yo(void 0,null,function*(){let Ja=yield(0,te.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_challenge_task_pass:Kn.target.checked}});(Ja==null?void 0:Ja.status)===0&&(Ae.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Gl({id:Oi.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u5173\u5361\u63CF\u8FF0"),(Dn==null?void 0:Dn.question_type)===6&&An.createElement("span",{style:{marginLeft:20},onClick:()=>{var Kn,Ja,Ir,ro;Ke.default.confirm({title:"\u7F16\u7A0B\u9898\u8BBE\u7F6E",icon:null,centered:!0,closable:!0,footer:null,content:An.createElement("div",null,(Dn==null?void 0:Dn.question_type)===6&&An.createElement(tt.default,{defaultChecked:(Ja=(Kn=ft==null?void 0:ft.editData)==null?void 0:Kn.exercise)==null?void 0:Ja.show_hack_sets,onChange:Xr=>yo(void 0,null,function*(){let xr=yield(0,te.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_hack_sets:Xr.target.checked}});(xr==null?void 0:xr.status)===0&&(Ae.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Ke.default.destroyAll(),Gl({id:Oi.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u6D4B\u8BD5\u7528\u4F8B"),An.createElement("br",null),(Dn==null?void 0:Dn.question_type)===6&&An.createElement(tt.default,{defaultChecked:(ro=(Ir=ft==null?void 0:ft.editData)==null?void 0:Ir.exercise)==null?void 0:ro.show_hack_description,onChange:Xr=>yo(void 0,null,function*(){let xr=yield(0,te.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_hack_description:Xr.target.checked}});(xr==null?void 0:xr.status)===0&&(Ae.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Ke.default.destroyAll(),Gl({id:Oi.current}))}),style:{marginBottom:10}},"\u5C55\u793A\u8BD5\u9898\u63CF\u8FF0"))})},className:"current c-light-primary font14 bold-400"},"\u7F16\u7A0B\u9898\u663E\u793A\u8BBE\u7F6E")),An.createElement("div",{style:{display:"flex",alignItems:"center"}},(Dn==null?void 0:Dn.question_type)===5&&!_o&&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"),!_o&&((Ct=Pa==null?void 0:Pa.exercise)==null?void 0:Ct.exercise_status)==1&&[0,1,2,4,6].includes(Dn==null?void 0:Dn.question_type)&&An.createElement(De.default.Item,{label:"\u5206\u503C",style:{margin:"0 20px"},required:!0},An.createElement(Le.Z,{precision:1,ref:Bi,onChange:Kn=>di(Kn),value:Ii,onBlur:Kn=>{ps(Kn.target.value,Dn)}})),!_o&&((cn=Pa==null?void 0:Pa.exercise)==null?void 0:cn.exercise_status)==1&&An.createElement(ut.Z,{title:"\u5220\u9664"},An.createElement("i",{onClick:()=>{au()},style:{marginRight:20},className:`${nt.delete} iconfont icon-shanchu13 mr8 ml8 `})),(Dn==null?void 0:Dn.question_type)!==5&&!_o&&An.createElement(An.Fragment,null,(Dn==null?void 0:Dn.is_my)==1&&An.createElement(ut.Z,{title:"\u67E5\u770B\u539F\u9898"},An.createElement("i",{className:`${nt.yuanti} iconfont icon-chakanyuanti mr8 ml8`,onClick:()=>{(Dn==null?void 0:Dn.question_type)==6?window.open(`/problems/newedit/${Dn==null?void 0:Dn.item_bank_hack_identifier}`):(Dn==null?void 0:Dn.question_type)==8?window.open(`/problemset/edit/${Dn==null?void 0:Dn.item_bank_hack_identifier}?type=1`):window.open(`/problemset/edit/${Dn==null?void 0:Dn.item_bank_id}`)}})),An.createElement(ut.Z,{title:"\u52A0\u5165\u6211\u7684\u9898\u5E93"},An.createElement("i",{className:`${nt.tianjia} iconfont icon-jiarushitiku mr8 ml8`,onClick:()=>{To.current=[],Ke.default.confirm({centered:!0,width:500,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u52A0\u5165\u6211\u7684\u9898\u5E93",maskClosable:!0,className:"custom-modal-divider",icon:null,content:An.createElement("div",{className:`font14 ${nt.overflow}`,style:{maxHeight:500,overflow:"auto"}},An.createElement("p",{className:"c-grey-333"},"\u8BF7\u9009\u62E9\u52A0\u5165\u7684\u6587\u4EF6\u5939"),An.createElement(ln.Z,{spinning:!1},An.createElement($l.Z,{defaultValue:!0,value:To.current,onChange:Kn=>To.current=Kn}))),onOk:()=>yo(void 0,null,function*(){var Kn;(0,ji.$l)({id:Dn==null?void 0:Dn.question_id,group_id:((Kn=To==null?void 0:To.current)==null?void 0:Kn[0])||""}).then(Ja=>{(Ja==null?void 0:Ja.status)==0&&(Ae.ZP.success("\u52A0\u5165\u6210\u529F"),Pi())})})})}}))),!_o&&(((Cn=Pa==null?void 0:Pa.exercise)==null?void 0:Cn.exercise_status)==1||((Jt=Pa==null?void 0:Pa.exercise)==null?void 0:Jt.exercise_status)==2&&((Qt=(Ot=ue.userInfo)==null?void 0:Ot.course)==null?void 0:Qt.course_role)!=15||((Zt=Pa==null?void 0:Pa.exercise)==null?void 0:Zt.exercise_status)==3&&((Sn=(va=ue.userInfo)==null?void 0:va.course)==null?void 0:Sn.course_role)!=15||((En=Pa==null?void 0:Pa.exercise)==null?void 0:En.exercise_status)==4&&((Er=(Cr=ue.userInfo)==null?void 0:Cr.course)==null?void 0:Er.course_role)!=15)&&An.createElement(ut.Z,{title:"\u7F16\u8F91\u8BD5\u9898"},An.createElement("i",{onClick:()=>{(Dn==null?void 0:Dn.question_type)===6?he.history.push(`/problems/newedit/${Dn==null?void 0:Dn.hack_identifier}?type=exercises&express_id=${no.exerciseId}&question_id=${Dn==null?void 0:Dn.question_id}&score=${Dn==null?void 0:Dn.question_score}&exercise=true&callback_url=/classrooms/${no.coursesId}/exercise/add/${Pe}?type=2`):ci(!0)},className:`${nt.edit} iconfont icon-bianji_Hover ml8`})))),!_o&&An.createElement("div",null,An.createElement("div",{className:nt.qcount},An.createElement("span",{className:nt.score},Dn==null?void 0:Dn.question_score,"\u5206"),An.createElement(Mt.Z,{className:nt.qtitle,value:(Dn==null?void 0:Dn.index)+`\u3001${(Dn==null?void 0:Dn.question_type)==8?($a=Dn==null?void 0:Dn.program_attr)==null?void 0:$a.description:Dn==null?void 0:Dn.question_title}`}),(Dn==null?void 0:Dn.high_resources_consume)&&An.createElement(sr.Z,{type:"shixun",style:{marginLeft:10}})),(Dn==null?void 0:Dn.question_type)===6&&An.createElement(sn.Z,{onEdit:()=>yr(1),className:"mt10",dataSource:(Dn==null?void 0:Dn.languages)||[]}),An.createElement(ms,{exercise:ft,TagDiscipline:il,qitem:Dn})),_o&&An.createElement("div",null,(Dn==null?void 0:Dn.question_type)<=1&&An.createElement(at,{deleteitem:au,getTagData:Yi,seveeditor:Wl,exerciseitem:Pa,TagDiscipline:il,setisedit:ci,qitem:Dn,init:Pi,showTip:ao}),(Dn==null?void 0:Dn.question_type)===5&&An.createElement(Ku,{setqitem:li,deleteitem:au,seveeditor:Wl,exerciseitem:Pa,TagDiscipline:il,setisedit:ci,qitem:Dn,showTip:ao}),(Dn==null?void 0:Dn.question_type)===3&&An.createElement(jn,{deleteitem:au,getTagData:Yi,seveeditor:Wl,exerciseitem:Pa,TagDiscipline:il,setisedit:ci,qitem:Dn,init:Pi,showTip:ao}),(Dn==null?void 0:Dn.question_type)===2&&An.createElement(qr,{deleteitem:au,getTagData:Yi,seveeditor:Wl,exerciseitem:Pa,TagDiscipline:il,setisedit:ci,qitem:Dn,init:Pi,showTip:ao}),(Dn==null?void 0:Dn.question_type)===4&&An.createElement(wt,{deleteitem:au,getTagData:Yi,seveeditor:Wl,exerciseitem:Pa,TagDiscipline:il,setisedit:ci,qitem:Dn,init:Pi,showTip:ao}),(Dn==null?void 0:Dn.question_type)===7&&An.createElement(ls,{deleteitem:au,getTagData:Yi,seveeditor:Wl,exerciseitem:Pa,TagDiscipline:il,setisedit:ci,qitem:Dn,init:Pi,showTip:ao}),(Dn==null?void 0:Dn.question_type)===8&&An.createElement($o,{deleteitem:au,getTagData:Yi,seveeditor:Wl,exerciseitem:Pa,TagDiscipline:il,setisedit:ci,qitem:Dn,init:Pi,showTip:ao}))))))),An.createElement("div",{className:nt.bottomdiv},An.createElement("div",{className:nt.exercise_styles},((Ao=Pa==null?void 0:Pa.exercise)==null?void 0:Ao.exercise_status)==1&&An.createElement(An.Fragment,null,An.createElement("span",{className:nt.spanBtn,onClick:()=>{if(_o){jl();return}Qi(!0),Tl(!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:()=>yo(void 0,null,function*(){var Kn;let Ja=yield(0,te.ZP)(`/api/exercises/${no==null?void 0:no.exerciseId}/simulate_start_answer.json`,{method:"get",params:{coursesId:no==null?void 0:no.coursesId,categoryId:no==null?void 0:no.exerciseId}});(Ja==null?void 0:Ja.status)!=-1&&window.open(`/classrooms/${no==null?void 0:no.coursesId}/exercise/${no==null?void 0:no.exerciseId}/${(Kn=ue.userInfo)==null?void 0:Kn.login}/initate_answer`)})},"\u6A21\u62DF\u8003\u8BD5"),An.createElement("span",{className:nt.spanBtn,onClick:()=>{window.open(`/classrooms/${no==null?void 0:no.coursesId}/exercise/${no==null?void 0:no.exerciseId}/detail?random=false&tabs=2`)}},"\u8BD5\u5377\u9884\u89C8"),Ci==null?void 0:Ci.map(Kn=>An.createElement(_e.ZP,{className:nt.addQuestionBtn,key:Kn.id,type:"primary",onClick:()=>{Gu(Kn.id)}},Kn.name))),((na=Pa==null?void 0:Pa.exercise)==null?void 0:na.exercise_status)!=1&&An.createElement(An.Fragment,null,An.createElement("span",{style:{width:"1022px"}})),An.createElement("span",{className:nt.saveBtn,onClick:()=>{var Kn,Ja,Ir;if(_o){jl();return}let ro=(Ja=(Kn=Pa==null?void 0:Pa.exercise_question_types)==null?void 0:Kn.filter(xr=>xr.question_type===5)[0])==null?void 0:Ja.items,Xr=0;ro==null||ro.map(xr=>{xr.high_resources_consume&&(Xr=Xr+1)}),console.log(Xr),Xr>0?Ee({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u63D0\u793A",count:Xr,fn:()=>{var xr;((xr=Pa==null?void 0:Pa.exercise)==null?void 0:xr.exercise_status)==1?(Ae.ZP.success("\u4FDD\u5B58\u6210\u529F"),he.history.push(`/classrooms/${no==null?void 0:no.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),Zl(!1)):he.history.back()}}}):((Ir=Pa==null?void 0:Pa.exercise)==null?void 0:Ir.exercise_status)==1?(Ae.ZP.success("\u4FDD\u5B58\u6210\u529F"),he.history.push(`/classrooms/${no==null?void 0:no.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),Zl(!1)):he.history.back()}},An.createElement("i",{className:"iconfont icon-baocun1",style:{fontSize:15,marginRight:5}}),"\u4FDD\u5B58\u8BD5\u5377"))),An.createElement(dn,{setScoreShow:Vo,ScoreShow:ti,exerciseitem:Pa,getdata:Pi}),Ui&&An.createElement(Jo,{setScoreShow:Qi,isshixuns:Ai,isloadings:nu,ScoreShow:Ui,onOk:(Kn,Ja,Ir,ro,Xr)=>yo(void 0,null,function*(){bu(!0);let co=yield Zu({exam_id:Pe,item_bank_ids:Kn,shixun_ids:Ja,shixun_copy_ids:Xr});bu(!1),(co==null?void 0:co.status)===0&&Ke.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u65B0\u52FE\u9009\u7684\u8BD5\u9898\u5DF2\u7ECF\u6DFB\u52A0\u5230\u8BD5\u5377\uFF0C\u5982\u679C\u9700\u8981\u7EE7\u7EED\u6DFB\u52A0\u65B0\u8BD5\u9898\u8BF7\u70B9\u51FB\u201C\u7EE7\u7EED\u9009\u9898\u201D\uFF0C\u5C06\u56DE\u5230\u60A8\u4E0A\u6B21\u64CD\u4F5C\u7684\u9009\u9898\u9875\u9762",okText:"\u7EE7\u7EED\u9009\u9898",cancelText:"\u8FD4\u56DE\u8BD5\u5377",onOk:()=>{Pi()},onCancel:()=>{Qi(!1),Pi()}})})}),An.createElement(Ju.Z,{sub_discipline_id:(Or=Pa==null?void 0:Pa.exercise)!=null&&Or.sub_discipline_id?[(Ga=Pa==null?void 0:Pa.exercise)==null?void 0:Ga.discipline_id,(Wr=Pa==null?void 0:Pa.exercise)==null?void 0:Wr.sub_discipline_id]:[],visible:Nr,onCancel:()=>Io(!1),onOk:vs}),An.createElement(Ke.default,{title:"\u63D0\u793A",open:vi,confirmLoading:!1,centered:!0,okText:"\u8BBE\u7F6E\u89C4\u5219",cancelText:"\u4FEE\u6539\u8BD5\u5377",footer:An.createElement("div",null,An.createElement(_e.ZP,{onClick:()=>{Zl(!1),he.history.back()}},"\u7A0D\u540E\u518D\u8BF4"),An.createElement(_e.ZP,{type:"primary",onClick:()=>{he.history.push(`/classrooms/${no==null?void 0:no.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),Zl(!1)}},"\u8BBE\u7F6E\u89C4\u5219")),onCancel:()=>{Zl(!1)}},An.createElement("p",null,"\u8BD5\u5377\u521B\u5EFA\u5B8C\u6210\uFF01\u76EE\u524D\u5904\u4E8E\u672A\u53D1\u5E03\u72B6\u6001\uFF0C\u662F\u5426\u8BBE\u7F6E\u8003\u8BD5\u89C4\u5219\uFF1F")),An.createElement(Ke.default,{centered:!0,title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0",open:mu,width:500,onOk:()=>Vl.submit(),onCancel:()=>en(!1)},An.createElement(De.default,{form:Vl,initialValues:{},onFinish:Kn=>yo(void 0,null,function*(){(yield(0,ji.RK)(Ho({id:Pe},Kn))).status==0&&(Ae.ZP.success("\u4FEE\u6539\u6210\u529F"),Pi(),en(!1))})},An.createElement(De.default.Item,{name:"name",style:{marginBottom:0},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9898\u578B\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"},{validator(Kn,Ja){var Ir,ro,Xr,xr;const co=(Ir=Ci==null?void 0:Ci.find(Do=>Do.nameType==Vl.getFieldValue("item_type_en")))==null?void 0:Ir.id;return(xr=(Xr=(ro=Pa==null?void 0:Pa.exercise_question_types)==null?void 0:ro.filter(Do=>Do.question_type!=co))==null?void 0:Xr.map(Do=>Do==null?void 0:Do.name))!=null&&xr.includes(Ja)?Promise.reject(new Error("\u9898\u578B\u540D\u79F0\u5DF2\u5B58\u5728\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u9898\u578B\u540D\u79F0")):Promise.resolve()}}]},An.createElement(ze.default,{size:"large",maxLength:10,showCount:!0})),An.createElement(De.default.Item,{hidden:!0,name:"item_type_en"},An.createElement(ze.default,{size:"large"})))),An.createElement(Xt.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:zn},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:(ho=Pa==null?void 0:Pa.exercise)!=null&&ho.sub_discipline_id?[(xo=Pa==null?void 0:Pa.exercise)==null?void 0:xo.discipline_id,(zo=Pa==null?void 0:Pa.exercise)==null?void 0:zo.sub_discipline_id]:[],onCancel:()=>Gr(!1),mode:3,gather:{exercise_id:Pe},onSuccess:()=>{Gr(!1),Pi()}}),An.createElement("div",{style:{height:70}})),An.createElement(sn.Q,{visible:!!rr,setVisible:yr,tip:rr===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:rr===1?Dn==null?void 0:Dn.languages:[],onOk:Kn=>yo(void 0,null,function*(){const Ja={languages:Kn};rr===1?Ja.hack_id=Dn==null?void 0:Dn.hack_id:Ja.exercise_id=Pe,(yield(0,te.ZP)("/api/problems/update_languages.json",{method:"post",body:Ja})).status===0&&(Ae.ZP.success("\u4FEE\u6539\u6210\u529F"),Gl({id:Oi.current}),yr(!1))})}))};var fi=(0,he.connect)(({user:ue,exercise:Ee,dispatch:Pe})=>({user:ue,exercise:Ee,dispatch:Pe}))(Al),Ti=oe(99871),Hl=oe(68381),Zo=oe(18034),Xi=oe(87169),xl=oe(32793),ta=oe(59301),Rl=Object.defineProperty,ml=Object.defineProperties,fl=Object.getOwnPropertyDescriptors,kl=Object.getOwnPropertySymbols,Dl=Object.prototype.hasOwnProperty,tu=Object.prototype.propertyIsEnumerable,zl=(ue,Ee,Pe)=>Ee in ue?Rl(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,mr=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Dl.call(Ee,Pe)&&zl(ue,Pe,Ee[Pe]);if(kl)for(var Pe of kl(Ee))tu.call(Ee,Pe)&&zl(ue,Pe,Ee[Pe]);return ue},Na=(ue,Ee)=>ml(ue,fl(Ee)),Jr=(ue,Ee)=>{var Pe={};for(var it in ue)Dl.call(ue,it)&&Ee.indexOf(it)<0&&(Pe[it]=ue[it]);if(ue!=null&&kl)for(var it of kl(ue))Ee.indexOf(it)<0&&tu.call(ue,it)&&(Pe[it]=ue[it]);return Pe},ko=(ue,Ee,Pe)=>new Promise((it,ft)=>{var Rn=vt=>{try{Yt(Pe.next(vt))}catch(qt){ft(qt)}},vn=vt=>{try{Yt(Pe.throw(vt))}catch(qt){ft(qt)}},Yt=vt=>vt.done?it(vt.value):Promise.resolve(vt.value).then(Rn,vn);Yt((Pe=Pe.apply(ue,Ee)).next())});const vl=ue=>{var Ee=ue,{classroomList:Pe,globalSetting:it,problemset:ft,loading:Rn,exercise:vn,user:Yt,dispatch:vt}=Ee,qt=Jr(Ee,["classroomList","globalSetting","problemset","loading","exercise","user","dispatch"]),Bn,qe,Ct,cn,Cn,Jt,Ot,Qt,Zt,va,Sn,En,Cr,Er;const $a=(0,he.useParams)(),[Ao,na]=(0,b.useState)(!1),{userInfo:Or}=Yt,[Ga]=De.default.useForm();let[Wr,ho]=(0,b.useState)({});const[xo,zo]=(0,b.useState)(1),[Pa,Fr]=(0,b.useState)(""),[Ei]=(0,he.useSearchParams)(),[Fo,Dn]=(0,b.useState)(!1),[li,Ii]=(0,b.useState)(!1),[di,Bi]=(0,b.useState)(!1),[Oi,ei]=(0,b.useState)(""),[ol,Wi]=(0,b.useState)(!1),[qi,_o]=(0,b.useState)(!1);(0,b.useEffect)(()=>{vt({type:"problemset/getEditDisciplines",payload:{source:"new_question",identifier:$a==null?void 0:$a.coursesId}}),vt({type:"globalSetting/footerToggle",payload:!1}),Ga.setFieldsValue({difficulty:2,courseid:[]})},[]),(0,b.useEffect)(()=>{$a.exerciseId&&ko(void 0,null,function*(){var Nr,Io,ti;const Vo=yield vt({type:"exercise/editExercise",payload:{categoryId:$a.exerciseId}});(Vo==null?void 0:Vo.status)!==-1&&(((Nr=Vo==null?void 0:Vo.exercise)==null?void 0:Nr.exercise_status)===2||((Io=Vo==null?void 0:Vo.exercise)==null?void 0:Io.exercise_status)===3||((ti=Vo==null?void 0:Vo.exercise)==null?void 0:ti.exercise_status)===4?Bi(!0):Bi(!1))})},[$a]),(0,b.useEffect)(()=>{if($a.exerciseId){let Nr=vn.editData.exercise;_o(Nr==null?void 0:Nr.set_question_sub_discipline),Ga.setFieldsValue(Na(mr({},Nr),{courseid:Nr!=null&&Nr.sub_discipline_id?[Nr==null?void 0:Nr.discipline_id,Nr==null?void 0:Nr.sub_discipline_id]:[]}))}},[vn]),(0,b.useEffect)(()=>{Ei.get("type")==="2"&&(Fr($a.exerciseId),zo(2))},[Ei.get("type")]),(0,b.useEffect)(()=>{var Nr;let Io=(Nr=ft==null?void 0:ft.disciplinesData)==null?void 0:Nr.checked;Io!=null&&Io.sub_discipline_id&&Ga.setFieldsValue({courseid:[Io==null?void 0:Io.discipline_id,Io==null?void 0:Io.sub_discipline_id]})},[(Bn=ft==null?void 0:ft.disciplinesData)==null?void 0:Bn.checked]);function ci(Nr,Io){return ko(this,null,function*(){var ti,Vo,Ui,Qi;yield Ga.validateFields();const Ai=Ga.getFieldsValue(),{courseid:Tl}=Ai,[wl,El]=Tl;Ai.sub_discipline_id=El,Ai.is_md=!0,Ai.time=parseInt(Ai.time)>9999?9999:Ai.time;const vi=yield vt({type:"exercise/addExercise",payload:mr(mr({},Ai),$a)});vi.status===0?(yield(0,te.ZP)(`/api/courses/${$a==null?void 0:$a.coursesId}/exercises/notice_at.json`,{method:"POST",body:{course_id:$a==null?void 0:$a.coursesId,id:(ti=vi==null?void 0:vi.data)==null?void 0:ti.exercise_id,time:Nr}}),_l((Vo=vi.data)==null?void 0:Vo.exercise_id),Fr((Ui=vi==null?void 0:vi.data)==null?void 0:Ui.exercise_id),zo(2),Dn(!1),he.history.replace(`/classrooms/${$a.coursesId}/exercise/add/${(Qi=vi.data)==null?void 0:Qi.exercise_id}?type=2`)):Ae.ZP.error(vi.message),Io()})}function il(Nr){ho(mr({},Nr))}function _l(Nr){return ko(this,null,function*(){if(!(Wr!=null&&Wr.ec_point_ids))return;const Io=mr({},Wr);delete Io.id;let ti=yield(0,te.ZP)(`/api/ec_courses/${Wr==null?void 0:Wr.ec_course_id}/ec_points/set_work_points.json`,{method:"post",body:mr({exercise_id:Nr},Io)})})}return ta.createElement("div",{style:{background:"#ffffff",marginTop:-8,padding:8,minHeight:"100vh",paddingBottom:64}},ta.createElement("section",{className:"edu-container"},ta.createElement("section",{className:"animated fadeIn"},ta.createElement("aside",{className:"mt10"},Or&&ta.createElement(ke.Z,{separator:">"},ta.createElement(ke.Z.Item,null,ta.createElement(he.Link,{to:`/classrooms/${$a.coursesId}/exercise`},(qe=Or==null?void 0:Or.course)==null?void 0:qe.course_name)),ta.createElement(ke.Z.Item,null,ta.createElement(he.Link,{to:`/classrooms/${$a.coursesId}/exercise`},"\u8BD5\u5377\u5217\u8868")),ta.createElement(ke.Z.Item,null,$a.exerciseId?"\u7F16\u8F91\u8BD5\u5377":"\u65B0\u5EFA\u8BD5\u5377")))),$a.exerciseId&&ta.createElement("div",{style:{display:"inline-flex",background:"rgba(233, 146, 55, 0.05)",borderRadius:4,height:40,lineHeight:"40px",width:"100%",padding:"0px 10px",alignItems:"center",marginTop:20}},ta.createElement(Xi.Z,{style:{marginRight:5,color:"#E99237"}}),ta.createElement("span",{style:{flex:1,color:"#E99237"}},"\u53D1\u5E03\u540E\u7684\u8BD5\u5377\u4E0D\u5141\u8BB8\u8FDB\u884C\u589E\u52A0/\u5220\u9664\u8BD5\u9898\u548C\u4FEE\u6539\u5206\u503C\u7B49\u64CD\u4F5C\uFF0C\u82E5\u9700\u8981\u4E8C\u6B21\u4F7F\u7528\uFF0C\u53EF\u5C06\u8BD5\u5377\u52A0\u5165\u8BD5\u5377\u5E93\u4E2D\u8FDB\u884C\u7F16\u8F91"),ta.createElement("span",{className:He.addQuestionBtn,onClick:()=>{vt({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[$a.exerciseId]}})}},"\u52A0\u5165\u8BD5\u5377\u5E93")),ta.createElement(Zo.Z,{haveInit:!0,init:()=>{ei(new Date)}}),ta.createElement("div",{className:"bg-white"},ta.createElement("div",{style:{display:"flex",justifyContent:"center",paddingTop:20,alignItems:"center"}},ta.createElement("div",{onClick:()=>{if(li){Ae.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u8BD5\u9898\u3002");return}zo(1)},className:xo===1?He.selectdiv:He.divitem},ta.createElement(Ti.Z,{number:1,active:xo===1,className:"mr10"}),ta.createElement("span",null,"\u8BD5\u5377\u57FA\u7840\u4FE1\u606F")),ta.createElement("div",{style:{width:188,border:"1px dotted #9096A3",margin:"0px 30px",height:1}}),ta.createElement("div",{onClick:()=>{if(!$a.exerciseId&&!Pa){Ae.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u57FA\u7840\u4FE1\u606F\u518D\u65B0\u5EFA\u8BD5\u9898");return}zo(2),!Pa&&Fr($a.exerciseId)},className:xo!==1?He.selectdiv:He.divitem},ta.createElement(Ti.Z,{number:2,active:xo!==1,className:"mr10"}),ta.createElement("span",null,"\u7F16\u8F91\u8BD5\u9898"))),xo===2&&ta.createElement("div",{className:"tc"},ta.createElement(Hl.Z,{defaultValue:(cn=(Ct=vn==null?void 0:vn.editData)==null?void 0:Ct.exercise)==null?void 0:cn.exercise_name,onFinish:Nr=>ko(void 0,null,function*(){var Io,ti,Vo,Ui,Qi,Ai,Tl,wl,El,vi,Zl,no;return Nr.trim()===((ti=(Io=vn==null?void 0:vn.editData)==null?void 0:Io.exercise)==null?void 0:ti.exercise_name)?!0:(yield(0,ji.wy)({exercise_name:Nr,exercise_description:(Ui=(Vo=vn==null?void 0:vn.editData)==null?void 0:Vo.exercise)==null?void 0:Ui.exercise_description,sub_discipline_id:(Ai=(Qi=vn==null?void 0:vn.editData)==null?void 0:Qi.exercise)==null?void 0:Ai.sub_discipline_id,time:(wl=(Tl=vn==null?void 0:vn.editData)==null?void 0:Tl.exercise)==null?void 0:wl.time,exerciseId:(vi=(El=vn.editData)==null?void 0:El.exercise)==null?void 0:vi.id,difficulty:(no=(Zl=vn.editData)==null?void 0:Zl.exercise)==null?void 0:no.difficulty})).status===0?(Ga.setFieldValue("exercise_name",Nr),!0):!1})}),ta.createElement("div",{style:{fontSize:14}},ta.createElement("span",{style:{color:"#5F6368"}},"\u7B54\u9898\u65F6\u957F",ta.createElement("span",{style:{color:"#000000",marginLeft:8}},((Jt=(Cn=vn==null?void 0:vn.editData)==null?void 0:Cn.exercise)==null?void 0:Jt.time)||"\u4E0D\u9650")),ta.createElement("span",{style:{margin:"0px 30px",color:"#5F6368"}},"\u96BE\u5EA6",ta.createElement("span",{style:{color:"#000000",marginLeft:8}},((Qt=(Ot=vn==null?void 0:vn.editData)==null?void 0:Ot.exercise)==null?void 0:Qt.difficulty)===1?"\u7B80\u5355":((va=(Zt=vn==null?void 0:vn.editData)==null?void 0:Zt.exercise)==null?void 0:va.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),ta.createElement("span",{style:{marginRight:30,color:"#5F6368"}},"\u8BD5\u9898\u603B\u6570",ta.createElement("span",{style:{color:"#000000",marginLeft:8}},((En=(Sn=vn==null?void 0:vn.editData)==null?void 0:Sn.exercise_types)==null?void 0:En.q_counts)||0)),ta.createElement("span",{style:{color:"#5F6368"}},"\u603B\u5206",ta.createElement("span",{style:{color:"#000000",marginLeft:8}},(Er=(Cr=vn==null?void 0:vn.editData)==null?void 0:Cr.exercise_types)==null?void 0:Er.q_scores))))),xo===1&&ta.createElement("div",null,ta.createElement("section",{className:[He.bg,"mt20"].join(" "),style:{padding:"30px 120px 300px 120px"}},ta.createElement(De.default,{form:Ga,colon:!1,layout:"horizontal",labelCol:{span:4},wrapperCol:{span:20},initialValues:{time:60},onFinish:Nr=>ko(void 0,null,function*(){var Io,ti,Vo,Ui,Qi;if(na(!0),Dn(!0),$a.exerciseId){Nr.exerciseId=(ti=(Io=vn.editData)==null?void 0:Io.exercise)==null?void 0:ti.id,Nr.sub_discipline_id=Nr.courseid[Nr.courseid.length-1],yield(0,ji.wy)(Na(mr({},Nr),{set_question_sub_discipline:qi})),zo(2),_l($a==null?void 0:$a.exerciseId),Fr($a.exerciseId),na(!1),Dn(!1);return}const Ai=yield(0,te.ZP)(`/api/courses/${$a==null?void 0:$a.coursesId}/exercises/overload_alert.json`,{method:"get",params:{course_id:$a==null?void 0:$a.coursesId}});if(Ai!=null&&Ai.alert)vt({type:"classroomList/setActionTabs",payload:{key:"\u9884\u7EA6\u5F39\u7A97"}});else{const{courseid:Tl}=Nr,[wl,El]=Tl;Nr.sub_discipline_id=El,Nr.is_md=!0,Nr.time=parseInt(Nr.time)>9999?9999:Nr.time,Nr.set_question_sub_discipline=qi;const vi=yield vt({type:"exercise/addExercise",payload:Na(mr(mr({},Nr),$a),{category_id:Ei.get("catalogue")||null})});vi.status===0&&(_l((Vo=vi.data)==null?void 0:Vo.exercise_id),he.history.replace(`/classrooms/${$a.coursesId}/exercise/add/${(Ui=vi.data)==null?void 0:Ui.exercise_id}?type=2`),Fr((Qi=vi==null?void 0:vi.data)==null?void 0:Qi.exercise_id),zo(2)),Dn(!1)}na(!1)}),className:He.formWrap},ta.createElement(De.default.Item,{name:"exercise_name",label:"\u8BD5\u5377\u540D\u79F0",className:He.baseLineHeight,rules:[{required:!0,validator:(Nr,Io)=>{var ti;return((ti=Io==null?void 0:Io.replaceAll(" ",""))==null?void 0:ti.length)>0?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0")}}]},ta.createElement(ze.default,{maxLength:60,className:He.baseFormItem,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",showCount:!0})),ta.createElement(De.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"courseid",className:He.baseLineHeight},ta.createElement(xe.Z,{disabled:di,placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:ft.courseOptions,className:He.baseFormItem,size:"large",popupClassName:He.cascaderPopup,dropdownMenuColumnStyle:{padding:"8px 12px",fontSize:14},allowClear:!0})),ta.createElement("div",{className:He.concat},ta.createElement("div",null,ta.createElement(tt.default,{checked:qi,onChange:Nr=>{_o(Nr.target.checked)},style:{color:"#000"}},"\u8BBE\u7F6E\u8BE5\u65B9\u5411&\u8BFE\u7A0B\u4E3A\u8BD5\u9898\u6A21\u7248\uFF08\u521B\u5EFA\u65B0\u8BD5\u9898\u81EA\u52A8\u4F7F\u7528\u8BE5\u65B9\u5411&\u8BFE\u7A0B\uFF09")),ta.createElement("div",null,"\u6CA1\u6709\u5408\u9002\u7684\u65B9\u5411&\u8BFE\u7A0B\uFF1F",ta.createElement("a",{onClick:()=>Wi(!0)},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"))),ta.createElement(De.default.Item,{label:"\u96BE\u5EA6",name:"difficulty",className:He.radioBtnWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u5EA6"}]},ta.createElement(Me.ZP.Group,{className:He.radiogroup,disabled:di},ta.createElement(Me.ZP.Button,{className:He.easy,value:1},"\u7B80\u5355"),ta.createElement(Me.ZP.Button,{className:He.medium,value:2},"\u9002\u4E2D"),ta.createElement(Me.ZP.Button,{className:He.hard,value:3},"\u56F0\u96BE"))),ta.createElement(De.default.Item,{label:"\u7B54\u9898\u65F6\u957F",className:He.baseLineHeight},ta.createElement("div",{style:{display:"flex",width:"100%"}},ta.createElement(De.default.Item,{name:"time",noStyle:!0},ta.createElement(Le.Z,{disabled:di,min:1,max:9999,className:He.baseFormItem,style:{width:220},maxLength:60,placeholder:"\u8BF7\u586B\u5199\u7B54\u9898\u65F6\u957F"})),ta.createElement("span",{style:{marginLeft:"10px",width:"40px",lineHeight:"46px",fontSize:14}},"\u5206\u949F"))),ta.createElement(De.default.Item,{label:"\u8BD5\u5377\u987B\u77E5",name:"exercise_description"},ta.createElement(ze.default.TextArea,{disabled:di,rows:6,maxLength:65535,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u987B\u77E5"}))),ta.createElement(xn,{exercise_id:$a==null?void 0:$a.exerciseId,setitem:il})),ta.createElement("div",{className:He.bottmodiv},ta.createElement(_e.ZP,{className:`${He.cancelBtn}`,type:"primary",onClick:()=>{he.history.back()}},"\u53D6\u6D88"),ta.createElement(_e.ZP,{loading:Fo,onClick:()=>{Ga.validateFields(),Ga.submit()},type:"primary",className:`${He.confirmBtn} ml20`},"\u4E0B\u4E00\u6B65")),ta.createElement(z,{setsubloading:Dn,onModalOk:ci})),xo===2&&ta.createElement("div",null,ta.createElement(fi,{key:Oi,setisedits:Ii,setitemid:Fr,itemid:Pa}))),ta.createElement(xl.Z,{open:ol,onCancel:()=>{Wi(!1)}}))};var gu=(0,he.connect)(({classroomList:ue,loading:Ee,user:Pe,problemset:it,globalSetting:ft,exercise:Rn})=>({classroomList:ue,globalSetting:ft,problemset:it,user:Pe,exercise:Rn,loading:Ee.effects}))(vl)},56746:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return Je}});var b=oe(78241),he=oe(8591),De=oe(43418),Ae=oe(71418),ke=oe(6848),ze=oe(57809),xe=oe(5112),tt=oe(92832),Me=oe(1710),Le=oe(59301),_e=oe(44993),He=oe(52430),Ke=oe(89299),le={radio_con:"radio_con___cvwXd",result_con:"result_con___m5Gmr",result_title:"result_title___D7L1n"},E=oe(64681),a=oe(4213),x=oe(98573),y=oe(59301),z=Object.defineProperty,te=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,se=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,be=(Qe,et,we)=>et in Qe?z(Qe,et,{enumerable:!0,configurable:!0,writable:!0,value:we}):Qe[et]=we,We=(Qe,et)=>{for(var we in et||(et={}))ie.call(et,we)&&be(Qe,we,et[we]);if(se)for(var we of se(et))Se.call(et,we)&&be(Qe,we,et[we]);return Qe},Ne=(Qe,et)=>te(Qe,ae(et)),mt=(Qe,et,we)=>new Promise((ht,ct)=>{var Lt=nn=>{try{yn(we.next(nn))}catch(Wt){ct(Wt)}},gt=nn=>{try{yn(we.throw(nn))}catch(Wt){ct(Wt)}},yn=nn=>nn.done?ht(nn.value):Promise.resolve(nn.value).then(Lt,gt);yn((we=we.apply(Qe,et)).next())});const Re=({shixunHomeworks:Qe,exercise:et,loading:we,dispatch:ht})=>{var ct,Lt,gt;const{commonHeader:yn}=et,[nn,Wt]=(0,Le.useState)([]),[_t,Te]=(0,Le.useState)(Ne(We({},(0,_e.useParams)()),{page:1,limit:10})),[ot,Ut]=(0,Le.useState)([]),[xn,At]=(0,Le.useState)(""),[ln,Ce]=(0,Le.useState)(1),[ut]=b.default.useForm(),[Xt,nt]=(0,Le.useState)({}),[Pt,_n]=(0,Le.useState)(null),[sn,Rt]=(0,Le.useState)(!1),[Mt,Yn]=(0,Le.useState)([]),[aa,tn]=(0,Le.useState)(null),[Fa,_a]=(0,Le.useState)(0),[ya,Vn]=(0,Le.useState)(0),[xa,cr]=(0,Le.useState)(!1),Ya=[{title:"\u5E8F\u53F7",dataIndex:"1",width:80,render:(bt,Gt,Da)=>(_t.page-1)*_t.limit+Da+1},{title:"\u59D3\u540D",dataIndex:"user_name",ellipsis:!0,width:180},{title:"\u5B66\u53F7",dataIndex:"student_id",align:"left",sorter:!0,render:bt=>bt||"--"},{title:"\u5206\u73ED",dataIndex:"user_group_name",align:"left",render:(bt,Gt)=>y.createElement("div",{className:le.banding,title:bt||"--"},bt||"--")},{title:"\u63D0\u4EA4\u72B6\u6001",width:200,dataIndex:"commit_status",render:(bt,Gt)=>bt===0?y.createElement("span",{style:{color:"#666666"}},"\u672A\u5F00\u59CB"):bt===1?y.createElement("span",{style:{color:"#DF3042"}},!Gt.is_make_up&&"\u8003\u8BD5\u4E2D",Gt.is_make_up&&"\u8003\u8BD5\u4E2D (\u8865\u8003)"):bt===2?y.createElement("span",{style:{color:"#5AB891"}},!Gt.is_make_up&&!Gt.is_force_commit&&"\u5DF2\u4EA4\u5377",Gt.is_make_up&&!Gt.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003)",Gt.is_make_up&&Gt.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003/\u5F3A\u5236)",!Gt.is_make_up&&Gt.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u5F3A\u5236)"):y.createElement("span",{style:{color:"#5AB891"}},!Gt.is_make_up&&!Gt.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54",Gt.is_make_up&&!Gt.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003)",Gt.is_make_up&&Gt.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003/\u5F3A\u5236)",!Gt.is_make_up&&Gt.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u5F3A\u5236)")},{title:(yn==null?void 0:yn.exercise_type)==2&&!(0,E.dE)()?"\u6700\u9AD8\u6210\u7EE9":"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",sorter:!0,render:(bt,Gt)=>Gt.commit_status===0||Gt.commit_status===1?"--":!Gt.open_total_score&&(0,E.dE)()?"\u8001\u5E08\u5BA1\u6838\u4E2D":(bt=typeof bt=="number"?Number(bt):bt,console.log(typeof bt),bt||(bt=0),bt===100?y.createElement("span",{className:"c-green"},bt):bt>60?y.createElement("span",{className:"c-orange"},bt):bt==ya*.6?y.createElement("span",{className:"c-red"},bt):y.createElement("span",null,bt))}].filter(bt=>!!bt);(0,Le.useEffect)(()=>{var bt;((bt=et.actionTabs)==null?void 0:bt.key)=="\u6D4B\u8BD5AI\u8BC4\u5206"&&(Yn([]),tn(null),Jn(),ea(_t))},[(ct=et.actionTabs)==null?void 0:ct.key]);const Jn=()=>mt(void 0,null,function*(){var bt;if(!((bt=et.actionTabs)!=null&&bt.showSelectQuestion))return;const Gt=yield(0,He.ZP)(`/api/exercises/${_t==null?void 0:_t.categoryId}/all_subj_questions.json`,{method:"get"});Gt.status==0&&Yn(Gt.data)}),da=(bt,Gt)=>{_t.page=bt,_t.limit=Gt,Te(We({},_t)),ea(_t)},ea=bt=>mt(void 0,null,function*(){cr(!0);const Gt=yield(0,He.ZP)(`/api/exercises/${_t.categoryId||(_t==null?void 0:_t.exerciseId)}/exercise_users.json`,{method:"get",params:bt});Gt.status==0&&(_a(Gt.data.total_count),Te(Ne(We({},_t),{total:Gt.data.total_count})),Wt(Gt.data.exercise_users),Vn(Gt.data.total_score)),cr(!1)}),ia=bt=>{_t.search=bt,_t.page=1,ut.resetFields(),nt({}),Ut([]),_n(null),Te(We({},_t)),ea(_t)},Ea=bt=>mt(void 0,null,function*(){var Gt,Da;const pa=We({},Xt);if(!((Gt=bt==null?void 0:bt.content)!=null&&Gt.trim())){he.ZP.warning("\u8BF7\u8F93\u5165\u7B54\u9898\u5185\u5BB9\uFF01");return}pa.content=bt==null?void 0:bt.content,pa.attachment_ids=(Da=bt==null?void 0:bt.attachment_ids)==null?void 0:Da.map(wa=>wa.response.id),Va(pa)}),Va=bt=>mt(void 0,null,function*(){var Gt;Rt(!0);const{showSelectQuestion:Da,ai_review_settings:pa}=et.actionTabs,wa=yield(0,He.ZP)(`/api/exercises/${(_t==null?void 0:_t.categoryId)||(_t==null?void 0:_t.exerciseId)}/test_ai_review.json`,{method:"post",body:Ne(We({},bt),{exercise_question_id:Da?aa:(Gt=et.actionTabs)==null?void 0:Gt.questionId,ai_review_settings:pa})});if([0,-3].includes(wa.status)){wa.status==0&&he.ZP.success("\u8BC4\u5206\u6D4B\u8BD5\u6210\u529F\uFF01"),_n(wa);const ha=document.querySelector(".modal-ai-pfcs");if(ha){const ja=ha.querySelector(".ant-modal-body");ja&&(ja.scrollTop=ja.scrollHeight)}}Rt(!1)}),Pn=()=>{ht({type:"exercise/setActionTabs",payload:{key:""}}),Ce(1),an()},an=()=>{ut.resetFields(),nt({}),Ut([]),At(""),_n(null)};return y.createElement(De.default,{className:"modal-ai-pfcs",width:1150,bodyStyle:{maxHeight:"calc(100vh - 200px)",overflowY:"auto"},centered:!0,title:"\u6D4B\u8BD5AI\u8BC4\u5206",confirmLoading:sn,open:((Lt=et.actionTabs)==null?void 0:Lt.key)==="\u6D4B\u8BD5AI\u8BC4\u5206",destroyOnClose:!0,onCancel:()=>Pn(),okText:Pt?"\u91CD\u65B0\u6D4B\u8BD5":"\u5F00\u59CB\u6D4B\u8BD5",onOk:()=>{var bt;if((bt=et.actionTabs)!=null&&bt.showSelectQuestion&&!aa)return he.ZP.warning("\u8BF7\u9009\u62E9\u9898\u76EE\uFF01");if(ln==1){if(ot.length==0)return he.ZP.warning("\u8BF7\u9009\u62E9\u4E00\u4F4D\u5B66\u751F\u8BD5\u5377\u8FDB\u884C\u8BC4\u5206\u6D4B\u8BD5\uFF01");Va({exercise_user_id:ot[0]})}else ln==2&&ut.submit()}},y.createElement(Ae.Z,{spinning:sn,tip:"\u6D4B\u8BD5AI\u8BC4\u5206\u4E2D\u2026\u2026"},((gt=et.actionTabs)==null?void 0:gt.showSelectQuestion)&&y.createElement("div",{className:"flex item-center justify-between mb10"},y.createElement("div",{style:{width:120,margin:"0 10px",display:"flex",alignItems:"center"}},y.createElement("span",{style:{color:"red",marginRight:5}},"*"),"\u9009\u62E9\u9898\u76EE",y.createElement(ke.Z,{title:"\u667A\u80FD\u8BC4\u9605\u76EE\u524D\u4EC5\u652F\u6301\u7B80\u7B54\u9898\uFF08\u542B\u7EC4\u5408\u9898\u4E2D\u7684\u7B80\u7B54\u9898\uFF09"},y.createElement("i",{className:`iconfont icon-tishixiaowenhao ${le.title_icon}`,style:{cursor:"pointer",marginLeft:5,fontSize:"14px"}}))),y.createElement(ze.default,{style:{width:"calc(100% - 110px)"},size:"large",placeholder:"\u8BF7\u9009\u62E9\u9898\u76EE",value:aa,onChange:bt=>tn(bt)},Mt==null?void 0:Mt.map(bt=>y.createElement(ze.default.Option,{key:bt==null?void 0:bt.id,value:bt==null?void 0:bt.id},bt==null?void 0:bt.question_title)))),y.createElement("div",{className:le.radio_con},y.createElement("span",{style:{marginRight:32}},"\u6D4B\u8BD5\u65B9\u5F0F"),y.createElement(xe.ZP.Group,{onChange:bt=>{bt.target.value==1&&da(1,10),Ce(bt.target.value),an()},value:ln,options:[{label:"\u9009\u62E9\u5B66\u751F\u7B54\u6848",value:1,style:{marginRight:30,color:"#000"}},{label:"\u8F93\u5165\u7B54\u9898\u5185\u5BB9",value:2,style:{marginRight:30,color:"#000"}}]})),ln==1&&y.createElement(y.Fragment,null,y.createElement("div",{className:"flex justify-between item-center mb10"},y.createElement("div",{style:{fontSize:"14px",color:"#FA6400"}},"\u63D0\u793A\uFF1A","\u53EA\u80FD\u9009\u62E9\u5DF2\u63D0\u4EA4\u8BD5\u5377\u7684\u5B66\u751F\u8FDB\u884C\u8BC4\u5206\u6D4B\u8BD5"),y.createElement(tt.default.Search,{style:{width:487},size:"large",placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",value:xn,onChange:bt=>At(bt.target.value),onSearch:ia})),y.createElement(Me.default,{rowSelection:{type:"radio",selectedRowKeys:ot,onChange:(bt,Gt)=>{Ut(bt)},getCheckboxProps:bt=>({disabled:[0,1].includes(bt==null?void 0:bt.commit_status)})},loading:xa,rowKey:"exercise_user_id",dataSource:nn||[],columns:Ya,pagination:{current:_t.page,hideOnSinglePage:!0,showQuickJumper:!0,showSizeChanger:!0,pageSize:_t.limit,className:"mb0",pageSizeOptions:["10","20","50","100","200"],total:Fa,size:"default",showTotal:Ke.rU,onChange:da},onChange:(bt,Gt,Da)=>{_t.page=1,Da.order===void 0?(_t.order_type=null,_t.order=null):(_t.order_type=Da.order==="descend"?"desc":"asc",_t.order=Da.field),Te(We({},_t)),ea(_t)}})),ln==2&&y.createElement("div",{style:{marginTop:20}},y.createElement(b.default,{form:ut,className:le.formWrap,scrollToFirstError:!0,layout:"vertical",onValuesChange:()=>{nt(We({},ut.getFieldsValue()))},onFinish:Ea},y.createElement(b.default.Item,{name:"content",label:"",style:{marginBottom:0}},y.createElement(a.Z,{watch:!0})))),Pt&&y.createElement("div",{className:le.result_con},y.createElement("div",{className:le.result_title},"AI\u8BC4\u5206\u7ED3\u679C"),(Pt==null?void 0:Pt.status)==0&&y.createElement("div",{className:"p20"},y.createElement("div",{className:"mb5"},y.createElement("span",{style:{color:"#333",fontWeight:"bold"}},"\u8BC4\u5206\uFF1A"),Pt==null?void 0:Pt.score),y.createElement("div",{className:"flex"},y.createElement("span",{style:{color:"#333",fontWeight:"bold",whiteSpace:"nowrap",lineHeight:"26px"}},"\u8BC4\u8BED\uFF1A"),y.createElement(x.Z,{value:Pt==null?void 0:Pt.content,style:{fontSize:"14px"}}))),(Pt==null?void 0:Pt.status)==-3&&y.createElement("div",{className:"p20"},y.createElement(x.Z,{value:Pt==null?void 0:Pt.message,style:{fontSize:"14px"}})))))};var Je=(0,_e.connect)(({shixunHomeworks:Qe,exercise:et,loading:we,user:ht})=>({shixunHomeworks:Qe,exercise:et,loading:we.effects,user:ht}))(Re)},55537:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return E}});var b=oe(59301),he=oe(8591),De=oe(43418),Ae=oe(19842),ke=oe(54580),ze=oe(3113),xe=oe(13952),tt=oe(89299),Me=oe(52430),Le=oe(44993),_e={customModal:"customModal___bVzUV",content:"content___oKhZq",upload:"upload___nPxEL",infoText:"infoText___gZEJF",okBtn:"okBtn___CVo2A",fileList:"fileList___tauGN",fileName:"fileName___T_8JX",selectitems:"selectitems___imW2Y"},He=oe(59301),Ke=(a,x,y)=>new Promise((z,te)=>{var ae=Se=>{try{ie(y.next(Se))}catch(be){te(be)}},se=Se=>{try{ie(y.throw(Se))}catch(be){te(be)}},ie=Se=>Se.done?z(Se.value):Promise.resolve(Se.value).then(ae,se);ie((y=y.apply(a,x)).next())}),E=({visible:a,onOk:x,onCancel:y,sub_discipline_id:z=[]})=>{const[te,ae]=(0,b.useState)([]),[se,ie]=(0,b.useState)(!1),Se=(0,Le.useParams)(),[be,We]=(0,b.useState)([]),[Ne,mt]=(0,b.useState)([]);(0,b.useEffect)(()=>{a?Re():(mt([]),ae([]),ie(!1))},[a]);const Re=()=>Ke(void 0,null,function*(){const ct=yield(0,Me.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});We(ct.disciplines||[]),mt((z==null?void 0:z.length)>0?z:[])}),Je=()=>{if((Ne==null?void 0:Ne.length)===0)return he.ZP.warning("\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF01");console.log("subDisciplineId",Ne),ie(!0),x(te,Ne[1],()=>{ie(!1)})},Qe=()=>{y()},et=()=>{const ct=`${xe.Z.API_SERVER}/api/courses/${Se.coursesId}/exercises/down_template`;(0,tt.Nd)(null,ct)},we=ct=>{const Lt={name:ct.name,uid:ct.uid,file:ct};return ae([Lt]),!1},ht=()=>{ae([])};return He.createElement(De.default,{title:"\u5BFC\u5165\u8BD5\u9898",open:a,onOk:Je,centered:!0,wrapClassName:_e.customModal,onCancel:Qe,width:663,okText:"\u786E\u8BA4",okButtonProps:{className:_e.okBtn},cancelText:"\u53D6\u6D88",confirmLoading:se},He.createElement("div",{className:_e.content},He.createElement("aside",null,He.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA41"),He.createElement("ul",null,He.createElement("li",null,He.createElement("span",{style:{color:"#5F6367"}},"\u6839\u636E\u6A21\u677F\u8981\u6C42\u7F16\u8F91\u9700\u8981\u4E0A\u4F20\u7684\u8BD5\u9898"),He.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginLeft:20},onClick:et},"\u4E0B\u8F7D\u8003\u8BD5\u8BD5\u9898\u6A21\u677F"),He.createElement("i",{className:"iconfont icon-xiazai4 ml10",onClick:et,style:{fontSize:14,cursor:"pointer",color:"#0152d9"}})),He.createElement("li",{style:{color:"#FA6400"},className:"mt10"},"\u63D0\u793A"),He.createElement("li",{className:_e.infoText},"1\u3001\u76EE\u524D\u4EC5\u652F\u6301Excel\u683C\u5F0F\u6A21\u677F\uFF1B "),He.createElement("li",{className:_e.infoText},"2\u3001\u4E0D\u652F\u6301\u7EC4\u5408\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B"),He.createElement("li",{className:_e.infoText},"3\u3001\u6BCF\u6B21\u6700\u591A\u5BFC\u5165300\u9898\uFF1B"),He.createElement("li",{className:_e.infoText},"4\u3001\u586B\u7A7A\u9898\u5BFC\u5165\u6700\u591A\u652F\u63018\u4E2A\u586B\u7A7A\u9879\u3002"))),He.createElement("aside",{style:{marginTop:22}},He.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA42"),He.createElement("ul",{style:{flex:1}},He.createElement("li",{style:{color:"#5F6367"}},"\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF0C\u4E0A\u4F20\u7F16\u8F91\u597D\u7684\u8BD5\u9898\u6587\u6863\uFF0C\u786E\u5B9A\u5BFC\u5165"),a&&He.createElement(He.Fragment,null,He.createElement(Ae.Z,{value:Ne,className:_e.selectitems,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:be,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(ct,Lt)=>{mt(ct||[])}}),He.createElement("br",null),He.createElement(ke.default,{action:`${xe.Z.API_SERVER}/api/attachments.json`,beforeUpload:we,onRemove:ht,withCredentials:!0,fileList:te,accept:".xls,.xlsx",showUploadList:!1},He.createElement(ze.ZP,{className:_e.upload,type:"primary",icon:He.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6"))),te.map((ct,Lt)=>He.createElement("div",{key:Lt,className:_e.fileList},He.createElement("span",{className:_e.fileName},ct==null?void 0:ct.name),He.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#F65160",fontSize:16,cursor:"pointer"},onClick:ht})))))))}},18034:function(yt,kt,oe){"use strict";var b=oe(59301),he=oe(43418),De=oe(52430),Ae=oe(44993),ke=oe(59301),ze=(tt,Me,Le)=>new Promise((_e,He)=>{var Ke=a=>{try{E(Le.next(a))}catch(x){He(x)}},le=a=>{try{E(Le.throw(a))}catch(x){He(x)}},E=a=>a.done?_e(a.value):Promise.resolve(a.value).then(Ke,le);E((Le=Le.apply(tt,Me)).next())});const xe=({exercise:tt,dispatch:Me,init:Le,haveInit:_e=!1})=>{const He=(0,Ae.useParams)(),[Ke,le]=(0,b.useState)(!1);let[E,a]=(0,b.useState)();const[x,y]=(0,b.useState)(!1),[z,te]=(0,b.useState)(!1);(0,b.useEffect)(()=>{tt.actionTabs.key==="\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93"&&ae()},[tt.actionTabs]);function ae(){return ze(this,null,function*(){var se,ie;let Se=yield(0,De.ZP)(`/api/courses/${He==null?void 0:He.coursesId}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:tt.actionTabs.selectArrs}});if(((se=Se==null?void 0:Se.cover_exercises)==null?void 0:se.length)>0)le(!0),a((ie=Se==null?void 0:Se.cover_exercises)==null?void 0:ie[0]);else{let be=yield(0,De.ZP)(`/api/courses/${He==null?void 0:He.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:tt.actionTabs.selectArrs}});Me({type:"exercise/setActionTabs",payload:{key:""}}),(be==null?void 0:be.status)===0&&(_e&&Le(),he.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Ae.history.push("/paperlibrary")}}))}})}return ke.createElement("div",null,ke.createElement(he.default,{open:Ke,centered:!0,onCancel:se=>ze(void 0,null,function*(){if(se.target.outerText==="\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"){y(!0);let ie=yield(0,De.ZP)(`/api/courses/${He==null?void 0:He.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:tt.actionTabs.selectArrs,update:1}});Me({type:"exercise/setActionTabs",payload:{key:""}}),y(!1),(ie==null?void 0:ie.status)===0&&(_e&&Le(),le(!1),he.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Ae.history.push("/paperlibrary")}}))}else le(!1)}),cancelButtonProps:{loading:x},okText:"\u5F62\u6210\u65B0\u8BD5\u5377",cancelText:"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377",okButtonProps:{loading:z},onOk:()=>ze(void 0,null,function*(){te(!0);let se=yield(0,De.ZP)(`/api/courses/${He==null?void 0:He.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:tt.actionTabs.selectArrs}});te(!1),(se==null?void 0:se.status)===0&&(_e&&Le(),Me({type:"exercise/setActionTabs",payload:{key:""}}),le(!1),he.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Ae.history.push("/paperlibrary")}}))}),title:"\u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"},ke.createElement("div",null,ke.createElement("p",null,"\u8BE5\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),ke.createElement("div",null,ke.createElement("div",null,"\u8BD5\u5377\uFF1A",E==null?void 0:E.origin_exercise_nam),ke.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",ke.createElement("a",{href:`/paperlibrary/see/${E==null?void 0:E.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},E==null?void 0:E.examination_bank_name))))))};kt.Z=(0,Ae.connect)(({exercise:tt})=>({exercise:tt}))(xe)},7051:function(yt,kt,oe){"use strict";oe.d(kt,{h:function(){return b}});var b=(he=>(he[he.NOMATCH=-1]="NOMATCH",he[he.OK=0]="OK",he[he.TIMEOUT=2]="TIMEOUT",he[he.PODFAILURE=3]="PODFAILURE",he[he.COMPILEFAILURE=4]="COMPILEFAILURE",he[he.EXECUTEFAILURE=5]="EXECUTEFAILURE",he[he.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",he))(b||{})},78837:function(yt,kt,oe){"use strict";oe.d(kt,{H7:function(){return E},MK:function(){return le},MU:function(){return Le},X6:function(){return He},bM:function(){return Me},fi:function(){return a},fu:function(){return tt},n4:function(){return x},rX:function(){return Ke},vl:function(){return y},zO:function(){return _e}});var b=oe(52430),he=Object.defineProperty,De=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,ze=(z,te,ae)=>te in z?he(z,te,{enumerable:!0,configurable:!0,writable:!0,value:ae}):z[te]=ae,xe=(z,te)=>{for(var ae in te||(te={}))Ae.call(te,ae)&&ze(z,ae,te[ae]);if(De)for(var ae of De(te))ke.call(te,ae)&&ze(z,ae,te[ae]);return z};function tt(z,te){return(0,b.U2)(`myproblems/${z}.json`,xe({hidePopLogin:!0},te||{}))}function Me(z,te){return(0,b.v_)(`myproblems/${z}/code_submit.json`,te)}function Le(z,te){return(0,b.v_)(`myproblems/${z}/code_debug.json`,te)}function _e(z,te){return te.language&&(te.language=encodeURIComponent(te.language)),(0,b.U2)(`myproblems/${z}/submit_records.json`,te)}function He(z){return(0,b.U2)("myproblems/record_detail.json",{id:z})}function Ke(z,te){return(0,b.U2)(`myproblems/${z}/result.json`,{mode:te})}function le(z,te){return(0,b.v_)(`myproblems/${z}/add_notes.json`,te)}function E(z,te){return(0,b.v_)(`myproblems/${z}/restore_initial_code.json`,te)}function a(z){return(0,b.v_)(`myproblems/${z}/sync_code.json`)}function x(z,te){return(0,b.v_)(`myproblems/${z}/update_code.json`,te)}function y(z,te){return(0,b.v_)(`discusses/${z}/plus.json`,te)}},68381:function(yt,kt,oe){"use strict";var b=oe(59301),he=oe(6848),De=oe(92832),Ae=oe(8591),ke=oe(62775),ze=oe(59301),xe=(Me,Le,_e)=>new Promise((He,Ke)=>{var le=x=>{try{a(_e.next(x))}catch(y){Ke(y)}},E=x=>{try{a(_e.throw(x))}catch(y){Ke(y)}},a=x=>x.done?He(x.value):Promise.resolve(x.value).then(le,E);a((_e=_e.apply(Me,Le)).next())});const tt=({defaultValue:Me,onFinish:Le})=>{const[_e,He]=(0,b.useState)(!1),[Ke,le]=(0,b.useState)(Me);return(0,b.useEffect)(()=>{le(Me)},[Me]),ze.createElement("div",null,_e?ze.createElement(De.default,{autoFocus:!0,maxLength:60,style:{textAlign:"center",marginTop:20,marginBottom:20},value:Ke,onChange:E=>{le(E.target.value)},onBlur:()=>xe(void 0,null,function*(){var E;if(((E=Ke==null?void 0:Ke.replaceAll(" ",""))==null?void 0:E.length)<=0){Ae.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Le(Ke))&&He(!1)}),onPressEnter:()=>xe(void 0,null,function*(){var E;if(((E=Ke==null?void 0:Ke.replaceAll(" ",""))==null?void 0:E.length)<=0){Ae.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Le(Ke))&&He(!1)})}):ze.createElement("div",{className:ke.Z.title},Ke,ze.createElement(he.Z,{title:"\u7F16\u8F91\u8BD5\u5377\u540D\u79F0"},ze.createElement("i",{className:`${ke.Z.editIcon} iconfont icon-bianji_Hover`,onClick:()=>He(!0)}))))};kt.Z=tt},32793:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return Le}});var b=oe(43418),he={ul:"ul___TdfYY"},De=oe(32637),Ae=oe(59301),ke=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,tt=(_e,He)=>{var Ke={};for(var le in _e)ze.call(_e,le)&&He.indexOf(le)<0&&(Ke[le]=_e[le]);if(_e!=null&&ke)for(var le of ke(_e))He.indexOf(le)<0&&xe.call(_e,le)&&(Ke[le]=_e[le]);return Ke},Le=_e=>{var He=_e,{open:Ke,onCancel:le}=He,E=tt(He,["open","onCancel"]);return Ae.createElement(b.default,{centered:!0,open:Ke,title:Ae.createElement("div",{style:{fontWeight:"bold"}},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"),width:"696px",onCancel:le,footer:null},Ae.createElement("div",null,Ae.createElement("div",{className:"tc"},Ae.createElement("img",{className:"mt10",src:De,width:"182px",height:"181px",style:{borderRadius:"2px",border:"1px solid #D8E3E9"}})),Ae.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16 mt10"},"\u514D\u8D39\u6559\u7814\u52A9\u7406"),Ae.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16"},"\u5FAE\u4FE1\u626B\u4E00\u626B\u6DFB\u52A0"),Ae.createElement("div",{style:{color:"#333"},className:"pt30 font14"},Ae.createElement("ul",{className:he.ul},Ae.createElement("li",null,"1\u3001\u89E3\u7B54\u8001\u5E08\u7591\u60D1\u3001\u5E2E\u52A9\u8001\u5E08\u66F4\u5FEB\u719F\u6089\u548C\u4F7F\u7528\u5E73\u53F0\u6559\u5B66\u3002"),Ae.createElement("li",null,"2\u3001\u534F\u52A9\u8001\u5E08\u521B\u5EFA\u8BFE\u5802\u3001\u8BFE\u7A0B\u8BBE\u8BA1\u3001\u505A\u597D\u6559\u5B66\u5DE5\u4F5C\u3002"),Ae.createElement("li",null,"3\u3001\u6839\u636E\u8001\u5E08\u6559\u5B66\u65B9\u5411\uFF0C\u5206\u4EAB\u5934\u6B4C\u5E73\u53F0C9\u9662\u6821\u3001985\u9AD8\u6821\u3001211\u9AD8\u6821\u3001\u53CC\u4E00\u6D41\u9AD8\u6821\u8001\u5E08\u7ECF\u5178\u5B9E\u8DF5\u6559\u5B66\u6848\u4F8B\u3002")))))}},61881:function(yt,kt,oe){"use strict";oe.d(kt,{I:function(){return he}});var b=oe(59301);const he=()=>{const[De,Ae]=(0,b.useState)("hidden");return{overflow:De,handleMouseEnter:()=>Ae("auto"),handleMouseLeave:()=>Ae("hidden")}}},77578:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return b}});const b=he=>he?typeof he=="function"?he():he:null},66104:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return et}});var b=oe(92310),he=oe.n(b),De=oe(11592),Ae=oe(26112),ke=oe(59301),ze=oe(92343),xe=oe(36355),tt=oe(84105),Me=oe(91857);const Le=we=>{let{children:ht}=we;const{getPrefixCls:ct}=ke.useContext(xe.E_),Lt=ct("breadcrumb");return ke.createElement("li",{className:`${Lt}-separator`,"aria-hidden":"true"},ht===""?ht:ht||"/")};Le.__ANT_BREADCRUMB_SEPARATOR=!0;var _e=Le,He=function(we,ht){var ct={};for(var Lt in we)Object.prototype.hasOwnProperty.call(we,Lt)&&ht.indexOf(Lt)<0&&(ct[Lt]=we[Lt]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,Lt=Object.getOwnPropertySymbols(we);gtht[gt]||Lt)}function le(we,ht,ct,Lt){if(ct==null)return null;const{className:gt,onClick:yn}=ht,nn=He(ht,["className","onClick"]),Wt=Object.assign(Object.assign({},(0,Ae.Z)(nn,{data:!0,aria:!0})),{onClick:yn});return Lt!==void 0?ke.createElement("a",Object.assign({},Wt,{className:he()(`${we}-link`,gt),href:Lt}),ct):ke.createElement("span",Object.assign({},Wt,{className:he()(`${we}-link`,gt)}),ct)}function E(we,ht){return(Lt,gt,yn,nn,Wt)=>{if(ht)return ht(Lt,gt,yn,nn);const _t=Ke(Lt,gt);return le(we,Lt,_t,Wt)}}var a=function(we,ht){var ct={};for(var Lt in we)Object.prototype.hasOwnProperty.call(we,Lt)&&ht.indexOf(Lt)<0&&(ct[Lt]=we[Lt]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,Lt=Object.getOwnPropertySymbols(we);gt{const{prefixCls:ht,separator:ct="/",children:Lt,menu:gt,overlay:yn,dropdownProps:nn,href:Wt}=we,Te=(ot=>{if(gt||yn){const Ut=Object.assign({},nn);if(gt){const xn=gt||{},{items:At}=xn,ln=a(xn,["items"]);Ut.menu=Object.assign(Object.assign({},ln),{items:At==null?void 0:At.map((Ce,ut)=>{var{key:Xt,title:nt,label:Pt,path:_n}=Ce,sn=a(Ce,["key","title","label","path"]);let Rt=Pt!=null?Pt:nt;return _n&&(Rt=ke.createElement("a",{href:`${Wt}${_n}`},Rt)),Object.assign(Object.assign({},sn),{key:Xt!=null?Xt:ut,label:Rt})})})}else yn&&(Ut.overlay=yn);return ke.createElement(Me.Z,Object.assign({placement:"bottom"},Ut),ke.createElement("span",{className:`${ht}-overlay-link`},ot,ke.createElement(tt.Z,null)))}return ot})(Lt);return Te!=null?ke.createElement(ke.Fragment,null,ke.createElement("li",null,Te),ct&&ke.createElement(_e,null,ct)):null},y=we=>{const{prefixCls:ht,children:ct,href:Lt}=we,gt=a(we,["prefixCls","children","href"]),{getPrefixCls:yn}=ke.useContext(xe.E_),nn=yn("breadcrumb",ht);return ke.createElement(x,Object.assign({},gt,{prefixCls:nn}),le(nn,gt,ct,Lt))};y.__ANT_BREADCRUMB_ITEM=!0;var z=y,te=oe(17313),ae=oe(83116),se=oe(37613);const ie=we=>{const{componentCls:ht,iconCls:ct}=we;return{[ht]:Object.assign(Object.assign({},(0,te.Wf)(we)),{color:we.itemColor,fontSize:we.fontSize,[ct]:{fontSize:we.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:we.linkColor,transition:`color ${we.motionDurationMid}`,padding:`0 ${we.paddingXXS}px`,borderRadius:we.borderRadiusSM,height:we.lineHeight*we.fontSize,display:"inline-block",marginInline:-we.marginXXS,"&:hover":{color:we.linkHoverColor,backgroundColor:we.colorBgTextHover}},(0,te.Qy)(we)),"li:last-child":{color:we.lastItemColor},[`${ht}-separator`]:{marginInline:we.separatorMargin,color:we.separatorColor},[`${ht}-link`]:{[` > ${ct} + span, > ${ct} + a - `]:{marginInlineStart:we.marginXXS}},[`${ht}-overlay-link`]:{borderRadius:we.borderRadiusSM,height:we.lineHeight*we.fontSize,display:"inline-block",padding:`0 ${we.paddingXXS}px`,marginInline:-we.marginXXS,[`> ${ct}`]:{marginInlineStart:we.marginXXS,fontSize:we.fontSizeIcon},"&:hover":{color:we.linkHoverColor,backgroundColor:we.colorBgTextHover,a:{color:we.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${we.componentCls}-rtl`]:{direction:"rtl"}})}};var Se=(0,ae.Z)("Breadcrumb",we=>{const ht=(0,se.TS)(we,{});return[ie(ht)]},we=>({itemColor:we.colorTextDescription,lastItemColor:we.colorText,iconFontSize:we.fontSize,linkColor:we.colorTextDescription,linkHoverColor:we.colorText,separatorColor:we.colorTextDescription,separatorMargin:we.marginXS})),be=function(we,ht){var ct={};for(var It in we)Object.prototype.hasOwnProperty.call(we,It)&&ht.indexOf(It)<0&&(ct[It]=we[It]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,It=Object.getOwnPropertySymbols(we);gt{var{breadcrumbName:an}=Pn,Wt=be(Pn,["breadcrumbName"]);return Object.assign(Object.assign({},Wt),{title:an})})}),gt}function Ne(we,ht){return(0,ke.useMemo)(()=>we||(ht?ht.map(We):null),[we,ht])}var mt=function(we,ht){var ct={};for(var It in we)Object.prototype.hasOwnProperty.call(we,It)&&ht.indexOf(It)<0&&(ct[It]=we[It]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,It=Object.getOwnPropertySymbols(we);gt{if(ht===void 0)return ht;let ct=(ht||"").replace(/^\//,"");return Object.keys(we).forEach(It=>{ct=ct.replace(`:${It}`,we[It])}),ct},Xe=we=>{const{prefixCls:ht,separator:ct="/",style:It,className:gt,rootClassName:Pn,routes:an,items:Wt,children:Tt,itemRender:Te,params:ot={}}=we,Qt=mt(we,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:An,direction:Bt,breadcrumb:un}=ke.useContext(xe.E_);let Ce;const ut=An("breadcrumb",ht),[Xt,nt]=Se(ut),Pt=Ne(Wt,an),kn=E(ut,Te);if(Pt&&Pt.length>0){const Rt=[],Qn=Wt||an;Ce=Pt.map((na,tn)=>{const{path:Fa,key:_a,type:ya,menu:zn,overlay:xa,onClick:cr,className:Ya,separator:Kn,dropdownProps:sa}=na,$n=Re(ot,Fa);$n!==void 0&&Rt.push($n);const oa=_a!=null?_a:tn;if(ya==="separator")return ke.createElement(_e,{key:oa},Kn);const Ea={},Va=tn===Pt.length-1;zn?Ea.menu=zn:xa&&(Ea.overlay=xa);let{href:En}=na;return Rt.length&&$n!==void 0&&(En=`#/${Rt.join("/")}`),ke.createElement(x,Object.assign({key:oa},Ea,(0,Ae.Z)(na,{data:!0,aria:!0}),{className:Ya,dropdownProps:sa,href:En,separator:Va?"":ct,onClick:cr,prefixCls:ut}),kn(na,ot,Qn,Rt,En))})}else if(Tt){const Rt=(0,De.Z)(Tt).length;Ce=(0,De.Z)(Tt).map((Qn,na)=>{if(!Qn)return Qn;const tn=na===Rt-1;return(0,ze.Tm)(Qn,{separator:tn?"":ct,key:na})})}const dn=he()(ut,un==null?void 0:un.className,{[`${ut}-rtl`]:Bt==="rtl"},gt,Pn,nt),kt=Object.assign(Object.assign({},un==null?void 0:un.style),It);return Xt(ke.createElement("nav",Object.assign({className:dn,style:kt},Qt),ke.createElement("ol",null,Ce)))};Xe.Item=z,Xe.Separator=_e;var Qe=Xe,et=Qe},19842:function(yt,_t,oe){"use strict";oe.d(_t,{Z:function(){return ha}});var b=oe(80702),he=oe(59301),De=oe(33853),Ae=oe(58617),ke=oe(38819),ze=oe(92310),xe=oe.n(ze),tt=oe(72308),Me=oe(52487),Le=oe(74416),_e=oe(77861),He=oe(17115),Je=oe(90782),le=oe(6089),E=oe(18929),a=he.createContext(null),x=a,y=oe(62853),z=oe(49618),te=oe(77321),ae="__rc_cascader_search_mark__",se=function(at,st,Ft){var St=Ft.label;return st.some(function(mn){return String(mn[St]).toLowerCase().includes(at.toLowerCase())})},ie=function(at,st,Ft,St){return st.map(function(mn){return mn[St.label]}).join(" / ")},Se=function(Be,at,st,Ft,St,mn){var Jt=St.filter,Ge=Jt===void 0?se:Jt,Ke=St.render,Ue=Ke===void 0?ie:Ke,Ct=St.limit,sn=Ct===void 0?50:Ct,hn=St.sort;return he.useMemo(function(){var aa=[];if(!Be)return[];function Vn(Dn,Gn){var _n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Dn.forEach(function(jt){if(!(!hn&&sn!==!1&&sn>0&&aa.length>=sn)){var La=[].concat((0,b.Z)(Gn),[jt]),lr=jt[st.children],io=_n||jt.disabled;if((!lr||lr.length===0||mn)&&Ge(Be,La,{label:st.label})){var Wa;aa.push((0,te.Z)((0,te.Z)({},jt),{},(Wa={disabled:io},(0,z.Z)(Wa,st.label,Ue(Be,La,Ft,st)),(0,z.Z)(Wa,ae,La),(0,z.Z)(Wa,st.children,void 0),Wa)))}lr&&Vn(jt[st.children],La,io)}})}return Vn(at,[]),hn&&aa.sort(function(Dn,Gn){return hn(Dn[ae],Gn[ae],Be,st)}),sn!==!1&&sn>0?aa.slice(0,sn):aa},[Be,at,st,Ft,Ue,mn,Ge,hn,sn])},be="__RC_CASCADER_SPLIT__",We="SHOW_PARENT",Ne="SHOW_CHILD";function mt(Be){return Be.join(be)}function Re(Be){return Be.map(mt)}function Xe(Be){return Be.split(be)}function Qe(Be){var at=Be||{},st=at.label,Ft=at.value,St=at.children,mn=Ft||"value";return{label:st||"label",value:mn,key:mn,children:St||"children"}}function et(Be,at){var st,Ft;return(st=Be.isLeaf)!==null&&st!==void 0?st:!((Ft=Be[at.children])!==null&&Ft!==void 0&&Ft.length)}function we(Be){var at=Be.parentElement;if(at){var st=Be.offsetTop-at.offsetTop;st-at.scrollTop<0?at.scrollTo({top:st}):st+Be.offsetHeight-at.scrollTop>at.offsetHeight&&at.scrollTo({top:st+Be.offsetHeight-at.offsetHeight})}}function ht(Be,at){return Be.map(function(st){var Ft;return(Ft=st[ae])===null||Ft===void 0?void 0:Ft.map(function(St){return St[at.value]})})}function ct(Be,at,st){var Ft=new Set(Be),St=at();return Be.filter(function(mn){var Jt=St[mn],Ge=Jt?Jt.parent:null,Ke=Jt?Jt.children:null;return Jt&&Jt.node.disabled?!0:st===Ne?!(Ke&&Ke.some(function(Ue){return Ue.key&&Ft.has(Ue.key)})):!(Ge&&!Ge.node.disabled&&Ft.has(Ge.key))})}function It(Be,at,st){for(var Ft=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,St=at,mn=[],Jt=function(){var Ue,Ct,sn,hn=Be[Ge],aa=(Ue=St)===null||Ue===void 0?void 0:Ue.findIndex(function(Dn){var Gn=Dn[st.value];return Ft?String(Gn)===String(hn):Gn===hn}),Vn=aa!==-1?(Ct=St)===null||Ct===void 0?void 0:Ct[aa]:null;mn.push({value:(sn=Vn==null?void 0:Vn[st.value])!==null&&sn!==void 0?sn:hn,index:aa,option:Vn}),St=Vn==null?void 0:Vn[st.children]},Ge=0;Ge1){var zt=Vn.slice(0,-1);jt(zt)}else Ue(!1)},io=function(){var zt,jr=((zt=Gn[Dn])===null||zt===void 0?void 0:zt[st.children])||[],Ta=jr.find(function(er){return!er.disabled});if(Ta){var vr=[].concat((0,b.Z)(Vn),[Ta[st.value]]);jt(vr)}};he.useImperativeHandle(Be,function(){return{onKeyDown:function(zt){var jr=zt.which;switch(jr){case ut.Z.UP:case ut.Z.DOWN:{var Ta=0;jr===ut.Z.UP?Ta=-1:jr===ut.Z.DOWN&&(Ta=1),Ta!==0&&La(Ta);break}case ut.Z.LEFT:{if(Ke)break;sn?io():lr();break}case ut.Z.RIGHT:{if(Ke)break;sn?lr():io();break}case ut.Z.BACKSPACE:{Ke||lr();break}case ut.Z.ENTER:{if(Vn.length){var vr=Gn[Dn],er=(vr==null?void 0:vr[ae])||[];er.length?mn(er.map(function(kr){return kr[st.value]}),er[er.length-1]):mn(Vn,Gn[Dn])}break}case ut.Z.ESC:Ue(!1),Ct&&zt.stopPropagation()}},onKeyUp:function(){}}})},nt=he.forwardRef(function(Be,at){var st,Ft,St,mn,Jt=(0,_e.lk)(),Ge=Jt.prefixCls,Ke=Jt.multiple,Ue=Jt.searchValue,Ct=Jt.toggleOpen,sn=Jt.notFoundContent,hn=Jt.direction,aa=Jt.open,Vn=he.useRef(),Dn=hn==="rtl",Gn=he.useContext(x),_n=Gn.options,jt=Gn.values,La=Gn.halfValues,lr=Gn.fieldNames,io=Gn.changeOnSelect,Wa=Gn.onSelect,zt=Gn.searchOptions,jr=Gn.dropdownPrefixCls,Ta=Gn.loadData,vr=Gn.expandTrigger,er=jr||Ge,kr=he.useState([]),br=(0,Me.Z)(kr,2),$r=br[0],wr=br[1],ra=function(Ar){if(!(!Ta||Ue)){var so=It(Ar,_n,lr),za=so.map(function(ur){var zr=ur.option;return zr}),Tr=za[za.length-1];if(Tr&&!et(Tr,lr)){var Hr=mt(Ar);wr(function(ur){return[].concat((0,b.Z)(ur),[Hr])}),Ta(za)}}};he.useEffect(function(){$r.length&&$r.forEach(function(Pr){var Ar=Xe(Pr),so=It(Ar,_n,lr,!0).map(function(Tr){var Hr=Tr.option;return Hr}),za=so[so.length-1];(!za||za[lr.children]||et(za,lr))&&wr(function(Tr){return Tr.filter(function(Hr){return Hr!==Pr})})})},[_n,$r,lr]);var $t=he.useMemo(function(){return new Set(Re(jt))},[jt]),Xa=he.useMemo(function(){return new Set(Re(La))},[La]),la=Ce(),tr=(0,Me.Z)(la,2),Oa=tr[0],Sn=tr[1],qn=function(Ar){Sn(Ar),ra(Ar)},Aa=function(Ar){var so=Ar.disabled,za=et(Ar,lr);return!so&&(za||io||Ke)},Wn=function(Ar,so){var za=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Wa(Ar),!Ke&&(so||io&&(vr==="hover"||za))&&Ct(!1)},qa=he.useMemo(function(){return Ue?zt:_n},[Ue,zt,_n]),Ka=he.useMemo(function(){for(var Pr=[{options:qa}],Ar=qa,so=ht(Ar,lr),za=function(){var zr=Oa[Tr],vo=Ar.find(function(Ha,wo){return(so[wo]?mt(so[wo]):Ha[lr.value])===zr}),Qr=vo==null?void 0:vo[lr.children];if(!(Qr!=null&&Qr.length))return"break";Ar=Qr,Pr.push({options:Qr})},Tr=0;Tr":$r,ra=Be.loadingIcon,$t=Be.children,Xa=Be.dropdownMatchSelectWidth,la=Xa===void 0?!1:Xa,tr=Be.showCheckedStrategy,Oa=tr===void 0?We:tr,Sn=(0,Le.Z)(Be,Rt),qn=(0,He.ZP)(st),Aa=!!sn,Wn=(0,E.Z)(Jt,{value:Ge,postState:na}),qa=(0,Me.Z)(Wn,2),Ka=qa[0],pr=qa[1],_r=he.useMemo(function(){return Qe(mn)},[JSON.stringify(mn)]),nr=he.useMemo(function(){return jt||[]},[jt]),jo=an(nr,_r),Co=he.useCallback(function(jn){var Rn=jo();return jn.map(function(me){var pt=Rn[me].nodes;return pt.map(function(At){return At[_r.value]})})},[jo,_r]),pi=(0,E.Z)("",{value:Vn,postState:function(Rn){return Rn||""}}),Pr=(0,Me.Z)(pi,2),Ar=Pr[0],so=Pr[1],za=function(Rn,me){so(Rn),me.source!=="blur"&&Dn&&Dn(Rn)},Tr=Te(Gn),Hr=(0,Me.Z)(Tr,2),ur=Hr[0],zr=Hr[1],vo=Se(Ar,nr,_r,La||St,zr,Ke),Qr=Wt(nr,_r),Ha=he.useMemo(function(){var jn=Qr(Ka),Rn=(0,Me.Z)(jn,2),me=Rn[0],pt=Rn[1];if(!Aa||!Ka.length)return[me,[],pt];var At=Re(me),gn=jo(),Et=(0,Je.S)(At,!0,gn),xn=Et.checkedKeys,Fn=Et.halfCheckedKeys;return[Co(xn),Co(Fn),pt]},[Aa,Ka,jo,Co,Qr]),wo=(0,Me.Z)(Ha,3),ni=wo[0],oi=wo[1],Zr=wo[2],ii=he.useMemo(function(){var jn=Re(ni),Rn=ct(jn,jo,Oa);return[].concat((0,b.Z)(Zr),(0,b.Z)(Co(Rn)))},[ni,jo,Co,Zr,Oa]),Yo=gt(ii,nr,_r,Aa,Ct),ll=(0,le.Z)(function(jn){if(pr(jn),Ue){var Rn=na(jn),me=Rn.map(function(gn){return It(gn,nr,_r).map(function(Et){return Et.option})}),pt=Aa?Rn:Rn[0],At=Aa?me:me[0];Ue(pt,At)}}),wi=(0,le.Z)(function(jn){if((!Aa||aa)&&so(""),!Aa)ll(jn);else{var Rn=mt(jn),me=Re(ni),pt=Re(oi),At=me.includes(Rn),gn=Zr.some(function(da){return mt(da)===Rn}),Et=ni,xn=Zr;if(gn&&!At)xn=Zr.filter(function(da){return mt(da)!==Rn});else{var Fn=At?me.filter(function(da){return da!==Rn}):[].concat((0,b.Z)(me),[Rn]),fn=jo(),yn;if(At){var Ma=(0,Je.S)(Fn,{checked:!1,halfCheckedKeys:pt},fn);yn=Ma.checkedKeys}else{var ir=(0,Je.S)(Fn,!0,fn);yn=ir.checkedKeys}var hr=ct(yn,jo,Oa);Et=Co(hr)}ll([].concat((0,b.Z)(xn),(0,b.Z)(Et)))}}),Yi=function(Rn,me){if(me.type==="clear"){ll([]);return}var pt=me.values[0],At=pt.valueCells;wi(At)},Oo=Wa!==void 0?Wa:io,yl=jr||zt,Kl=er||vr,Ii=function(Rn){kr==null||kr(Rn),br==null||br(Rn)},Ti=he.useMemo(function(){return{options:nr,fieldNames:_r,values:ni,halfValues:oi,changeOnSelect:Ke,onSelect:wi,checkable:sn,searchOptions:vo,dropdownPrefixCls:La,loadData:lr,expandTrigger:_n,expandIcon:wr,loadingIcon:ra,dropdownMenuColumnStyle:Ta}},[nr,_r,ni,oi,Ke,wi,sn,vo,La,lr,_n,wr,ra,Ta]),ul=!(Ar?vo:nr).length,Za=Ar&&zr.matchInputWidth||ul?{}:{minWidth:"auto"};return he.createElement(x.Provider,{value:Ti},he.createElement(_e.Ac,(0,tt.Z)({},Sn,{ref:at,id:qn,prefixCls:St,autoClearSearchValue:aa,dropdownMatchSelectWidth:la,dropdownStyle:Za,displayValues:Yo,onDisplayValuesChange:Yi,mode:Aa?"multiple":void 0,searchValue:Ar,onSearch:za,showSearch:ur,OptionList:Pt,emptyOptions:ul,open:Oo,dropdownClassName:yl,placement:Kl,onDropdownVisibleChange:Ii,getRawInputElement:function(){return $t}})))});tn.SHOW_PARENT=We,tn.SHOW_CHILD=Ne;var Fa=tn,_a=Fa,ya=oe(2738),zn=oe(62892),xa=oe(53487),cr=oe(19080),Ya=oe(36355),Kn=oe(93891),sa=oe(1684),$n=oe(19716),oa=oe(32441),Ea=oe(14154),Va=oe(58582),En=oe(84443),rn=oe(66339),bt=oe(33234),Gt=oe(98447),Da=oe(17313),va=oe(74207),wa=oe(83116);const pa=Be=>{const{prefixCls:at,componentCls:st,antCls:Ft}=Be,St=`${st}-menu-item`,mn=` + `]:{marginInlineStart:we.marginXXS}},[`${ht}-overlay-link`]:{borderRadius:we.borderRadiusSM,height:we.lineHeight*we.fontSize,display:"inline-block",padding:`0 ${we.paddingXXS}px`,marginInline:-we.marginXXS,[`> ${ct}`]:{marginInlineStart:we.marginXXS,fontSize:we.fontSizeIcon},"&:hover":{color:we.linkHoverColor,backgroundColor:we.colorBgTextHover,a:{color:we.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${we.componentCls}-rtl`]:{direction:"rtl"}})}};var Se=(0,ae.Z)("Breadcrumb",we=>{const ht=(0,se.TS)(we,{});return[ie(ht)]},we=>({itemColor:we.colorTextDescription,lastItemColor:we.colorText,iconFontSize:we.fontSize,linkColor:we.colorTextDescription,linkHoverColor:we.colorText,separatorColor:we.colorTextDescription,separatorMargin:we.marginXS})),be=function(we,ht){var ct={};for(var Lt in we)Object.prototype.hasOwnProperty.call(we,Lt)&&ht.indexOf(Lt)<0&&(ct[Lt]=we[Lt]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,Lt=Object.getOwnPropertySymbols(we);gt{var{breadcrumbName:nn}=yn,Wt=be(yn,["breadcrumbName"]);return Object.assign(Object.assign({},Wt),{title:nn})})}),gt}function Ne(we,ht){return(0,ke.useMemo)(()=>we||(ht?ht.map(We):null),[we,ht])}var mt=function(we,ht){var ct={};for(var Lt in we)Object.prototype.hasOwnProperty.call(we,Lt)&&ht.indexOf(Lt)<0&&(ct[Lt]=we[Lt]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,Lt=Object.getOwnPropertySymbols(we);gt{if(ht===void 0)return ht;let ct=(ht||"").replace(/^\//,"");return Object.keys(we).forEach(Lt=>{ct=ct.replace(`:${Lt}`,we[Lt])}),ct},Je=we=>{const{prefixCls:ht,separator:ct="/",style:Lt,className:gt,rootClassName:yn,routes:nn,items:Wt,children:_t,itemRender:Te,params:ot={}}=we,Ut=mt(we,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:xn,direction:At,breadcrumb:ln}=ke.useContext(xe.E_);let Ce;const ut=xn("breadcrumb",ht),[Xt,nt]=Se(ut),Pt=Ne(Wt,nn),_n=E(ut,Te);if(Pt&&Pt.length>0){const Mt=[],Yn=Wt||nn;Ce=Pt.map((aa,tn)=>{const{path:Fa,key:_a,type:ya,menu:Vn,overlay:xa,onClick:cr,className:Ya,separator:Jn,dropdownProps:da}=aa,ea=Re(ot,Fa);ea!==void 0&&Mt.push(ea);const ia=_a!=null?_a:tn;if(ya==="separator")return ke.createElement(_e,{key:ia},Jn);const Ea={},Va=tn===Pt.length-1;Vn?Ea.menu=Vn:xa&&(Ea.overlay=xa);let{href:Pn}=aa;return Mt.length&&ea!==void 0&&(Pn=`#/${Mt.join("/")}`),ke.createElement(x,Object.assign({key:ia},Ea,(0,Ae.Z)(aa,{data:!0,aria:!0}),{className:Ya,dropdownProps:da,href:Pn,separator:Va?"":ct,onClick:cr,prefixCls:ut}),_n(aa,ot,Yn,Mt,Pn))})}else if(_t){const Mt=(0,De.Z)(_t).length;Ce=(0,De.Z)(_t).map((Yn,aa)=>{if(!Yn)return Yn;const tn=aa===Mt-1;return(0,ze.Tm)(Yn,{separator:tn?"":ct,key:aa})})}const sn=he()(ut,ln==null?void 0:ln.className,{[`${ut}-rtl`]:At==="rtl"},gt,yn,nt),Rt=Object.assign(Object.assign({},ln==null?void 0:ln.style),Lt);return Xt(ke.createElement("nav",Object.assign({className:sn,style:Rt},Ut),ke.createElement("ol",null,Ce)))};Je.Item=z,Je.Separator=_e;var Qe=Je,et=Qe},19842:function(yt,kt,oe){"use strict";oe.d(kt,{Z:function(){return Sa}});var b=oe(80702),he=oe(59301),De=oe(33853),Ae=oe(58617),ke=oe(38819),ze=oe(92310),xe=oe.n(ze),tt=oe(72308),Me=oe(52487),Le=oe(74416),_e=oe(77861),He=oe(17115),Ke=oe(90782),le=oe(6089),E=oe(18929),a=he.createContext(null),x=a,y=oe(62853),z=oe(49618),te=oe(77321),ae="__rc_cascader_search_mark__",se=function(at,st,Ft){var St=Ft.label;return st.some(function(mn){return String(mn[St]).toLowerCase().includes(at.toLowerCase())})},ie=function(at,st,Ft,St){return st.map(function(mn){return mn[St.label]}).join(" / ")},Se=function(Be,at,st,Ft,St,mn){var Kt=St.filter,Ge=Kt===void 0?se:Kt,Ye=St.render,Ue=Ye===void 0?ie:Ye,Bt=St.limit,un=Bt===void 0?50:Bt,pn=St.sort;return he.useMemo(function(){var ra=[];if(!Be)return[];function Wn(Ln,jn){var Tn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Ln.forEach(function(jt){if(!(!pn&&un!==!1&&un>0&&ra.length>=un)){var La=[].concat((0,b.Z)(jn),[jt]),lr=jt[st.children],oo=Tn||jt.disabled;if((!lr||lr.length===0||mn)&&Ge(Be,La,{label:st.label})){var Wa;ra.push((0,te.Z)((0,te.Z)({},jt),{},(Wa={disabled:oo},(0,z.Z)(Wa,st.label,Ue(Be,La,Ft,st)),(0,z.Z)(Wa,ae,La),(0,z.Z)(Wa,st.children,void 0),Wa)))}lr&&Wn(jt[st.children],La,oo)}})}return Wn(at,[]),pn&&ra.sort(function(Ln,jn){return pn(Ln[ae],jn[ae],Be,st)}),un!==!1&&un>0?ra.slice(0,un):ra},[Be,at,st,Ft,Ue,mn,Ge,pn,un])},be="__RC_CASCADER_SPLIT__",We="SHOW_PARENT",Ne="SHOW_CHILD";function mt(Be){return Be.join(be)}function Re(Be){return Be.map(mt)}function Je(Be){return Be.split(be)}function Qe(Be){var at=Be||{},st=at.label,Ft=at.value,St=at.children,mn=Ft||"value";return{label:st||"label",value:mn,key:mn,children:St||"children"}}function et(Be,at){var st,Ft;return(st=Be.isLeaf)!==null&&st!==void 0?st:!((Ft=Be[at.children])!==null&&Ft!==void 0&&Ft.length)}function we(Be){var at=Be.parentElement;if(at){var st=Be.offsetTop-at.offsetTop;st-at.scrollTop<0?at.scrollTo({top:st}):st+Be.offsetHeight-at.scrollTop>at.offsetHeight&&at.scrollTo({top:st+Be.offsetHeight-at.offsetHeight})}}function ht(Be,at){return Be.map(function(st){var Ft;return(Ft=st[ae])===null||Ft===void 0?void 0:Ft.map(function(St){return St[at.value]})})}function ct(Be,at,st){var Ft=new Set(Be),St=at();return Be.filter(function(mn){var Kt=St[mn],Ge=Kt?Kt.parent:null,Ye=Kt?Kt.children:null;return Kt&&Kt.node.disabled?!0:st===Ne?!(Ye&&Ye.some(function(Ue){return Ue.key&&Ft.has(Ue.key)})):!(Ge&&!Ge.node.disabled&&Ft.has(Ge.key))})}function Lt(Be,at,st){for(var Ft=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,St=at,mn=[],Kt=function(){var Ue,Bt,un,pn=Be[Ge],ra=(Ue=St)===null||Ue===void 0?void 0:Ue.findIndex(function(Ln){var jn=Ln[st.value];return Ft?String(jn)===String(pn):jn===pn}),Wn=ra!==-1?(Bt=St)===null||Bt===void 0?void 0:Bt[ra]:null;mn.push({value:(un=Wn==null?void 0:Wn[st.value])!==null&&un!==void 0?un:pn,index:ra,option:Wn}),St=Wn==null?void 0:Wn[st.children]},Ge=0;Ge1){var zt=Wn.slice(0,-1);jt(zt)}else Ue(!1)},oo=function(){var zt,jr=((zt=jn[Ln])===null||zt===void 0?void 0:zt[st.children])||[],Ta=jr.find(function(er){return!er.disabled});if(Ta){var vr=[].concat((0,b.Z)(Wn),[Ta[st.value]]);jt(vr)}};he.useImperativeHandle(Be,function(){return{onKeyDown:function(zt){var jr=zt.which;switch(jr){case ut.Z.UP:case ut.Z.DOWN:{var Ta=0;jr===ut.Z.UP?Ta=-1:jr===ut.Z.DOWN&&(Ta=1),Ta!==0&&La(Ta);break}case ut.Z.LEFT:{if(Ye)break;un?oo():lr();break}case ut.Z.RIGHT:{if(Ye)break;un?lr():oo();break}case ut.Z.BACKSPACE:{Ye||lr();break}case ut.Z.ENTER:{if(Wn.length){var vr=jn[Ln],er=(vr==null?void 0:vr[ae])||[];er.length?mn(er.map(function(kr){return kr[st.value]}),er[er.length-1]):mn(Wn,jn[Ln])}break}case ut.Z.ESC:Ue(!1),Bt&&zt.stopPropagation()}},onKeyUp:function(){}}})},nt=he.forwardRef(function(Be,at){var st,Ft,St,mn,Kt=(0,_e.lk)(),Ge=Kt.prefixCls,Ye=Kt.multiple,Ue=Kt.searchValue,Bt=Kt.toggleOpen,un=Kt.notFoundContent,pn=Kt.direction,ra=Kt.open,Wn=he.useRef(),Ln=pn==="rtl",jn=he.useContext(x),Tn=jn.options,jt=jn.values,La=jn.halfValues,lr=jn.fieldNames,oo=jn.changeOnSelect,Wa=jn.onSelect,zt=jn.searchOptions,jr=jn.dropdownPrefixCls,Ta=jn.loadData,vr=jn.expandTrigger,er=jr||Ge,kr=he.useState([]),br=(0,Me.Z)(kr,2),qr=br[0],wr=br[1],oa=function(Ar){if(!(!Ta||Ue)){var uo=Lt(Ar,Tn,lr),za=uo.map(function(ur){var zr=ur.option;return zr}),Tr=za[za.length-1];if(Tr&&!et(Tr,lr)){var Hr=mt(Ar);wr(function(ur){return[].concat((0,b.Z)(ur),[Hr])}),Ta(za)}}};he.useEffect(function(){qr.length&&qr.forEach(function(Pr){var Ar=Je(Pr),uo=Lt(Ar,Tn,lr,!0).map(function(Tr){var Hr=Tr.option;return Hr}),za=uo[uo.length-1];(!za||za[lr.children]||et(za,lr))&&wr(function(Tr){return Tr.filter(function(Hr){return Hr!==Pr})})})},[Tn,qr,lr]);var $t=he.useMemo(function(){return new Set(Re(jt))},[jt]),Xa=he.useMemo(function(){return new Set(Re(La))},[La]),ua=Ce(),tr=(0,Me.Z)(ua,2),Oa=tr[0],hn=tr[1],$n=function(Ar){hn(Ar),oa(Ar)},Aa=function(Ar){var uo=Ar.disabled,za=et(Ar,lr);return!uo&&(za||oo||Ye)},Un=function(Ar,uo){var za=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Wa(Ar),!Ye&&(uo||oo&&(vr==="hover"||za))&&Bt(!1)},qa=he.useMemo(function(){return Ue?zt:Tn},[Ue,zt,Tn]),Ka=he.useMemo(function(){for(var Pr=[{options:qa}],Ar=qa,uo=ht(Ar,lr),za=function(){var zr=Oa[Tr],fo=Ar.find(function(Ha,wo){return(uo[wo]?mt(uo[wo]):Ha[lr.value])===zr}),Qr=fo==null?void 0:fo[lr.children];if(!(Qr!=null&&Qr.length))return"break";Ar=Qr,Pr.push({options:Qr})},Tr=0;Tr":qr,oa=Be.loadingIcon,$t=Be.children,Xa=Be.dropdownMatchSelectWidth,ua=Xa===void 0?!1:Xa,tr=Be.showCheckedStrategy,Oa=tr===void 0?We:tr,hn=(0,Le.Z)(Be,Mt),$n=(0,He.ZP)(st),Aa=!!un,Un=(0,E.Z)(Kt,{value:Ge,postState:aa}),qa=(0,Me.Z)(Un,2),Ka=qa[0],pr=qa[1],_r=he.useMemo(function(){return Qe(mn)},[JSON.stringify(mn)]),nr=he.useMemo(function(){return jt||[]},[jt]),jo=nn(nr,_r),Co=he.useCallback(function(Hn){var kn=jo();return Hn.map(function(me){var pt=kn[me].nodes;return pt.map(function(xt){return xt[_r.value]})})},[jo,_r]),pi=(0,E.Z)("",{value:Wn,postState:function(kn){return kn||""}}),Pr=(0,Me.Z)(pi,2),Ar=Pr[0],uo=Pr[1],za=function(kn,me){uo(kn),me.source!=="blur"&&Ln&&Ln(kn)},Tr=Te(jn),Hr=(0,Me.Z)(Tr,2),ur=Hr[0],zr=Hr[1],fo=Se(Ar,nr,_r,La||St,zr,Ye),Qr=Wt(nr,_r),Ha=he.useMemo(function(){var Hn=Qr(Ka),kn=(0,Me.Z)(Hn,2),me=kn[0],pt=kn[1];if(!Aa||!Ka.length)return[me,[],pt];var xt=Re(me),gn=jo(),Et=(0,Ke.S)(xt,!0,gn),wn=Et.checkedKeys,bn=Et.halfCheckedKeys;return[Co(wn),Co(bn),pt]},[Aa,Ka,jo,Co,Qr]),wo=(0,Me.Z)(Ha,3),ni=wo[0],ri=wo[1],Zr=wo[2],oi=he.useMemo(function(){var Hn=Re(ni),kn=ct(Hn,jo,Oa);return[].concat((0,b.Z)(Zr),(0,b.Z)(Co(kn)))},[ni,jo,Co,Zr,Oa]),Yo=gt(oi,nr,_r,Aa,Bt),ul=(0,le.Z)(function(Hn){if(pr(Hn),Ue){var kn=aa(Hn),me=kn.map(function(gn){return Lt(gn,nr,_r).map(function(Et){return Et.option})}),pt=Aa?kn:kn[0],xt=Aa?me:me[0];Ue(pt,xt)}}),wi=(0,le.Z)(function(Hn){if((!Aa||ra)&&uo(""),!Aa)ul(Hn);else{var kn=mt(Hn),me=Re(ni),pt=Re(ri),xt=me.includes(kn),gn=Zr.some(function(ca){return mt(ca)===kn}),Et=ni,wn=Zr;if(gn&&!xt)wn=Zr.filter(function(ca){return mt(ca)!==kn});else{var bn=xt?me.filter(function(ca){return ca!==kn}):[].concat((0,b.Z)(me),[kn]),fn=jo(),Fn;if(xt){var Ma=(0,Ke.S)(bn,{checked:!1,halfCheckedKeys:pt},fn);Fn=Ma.checkedKeys}else{var ir=(0,Ke.S)(bn,!0,fn);Fn=ir.checkedKeys}var hr=ct(Fn,jo,Oa);Et=Co(hr)}ul([].concat((0,b.Z)(wn),(0,b.Z)(Et)))}}),Ki=function(kn,me){if(me.type==="clear"){ul([]);return}var pt=me.values[0],xt=pt.valueCells;wi(xt)},Oo=Wa!==void 0?Wa:oo,yl=jr||zt,Kl=er||vr,Mi=function(kn){kr==null||kr(kn),br==null||br(kn)},Gi=he.useMemo(function(){return{options:nr,fieldNames:_r,values:ni,halfValues:ri,changeOnSelect:Ye,onSelect:wi,checkable:un,searchOptions:fo,dropdownPrefixCls:La,loadData:lr,expandTrigger:Tn,expandIcon:wr,loadingIcon:oa,dropdownMenuColumnStyle:Ta}},[nr,_r,ni,ri,Ye,wi,un,fo,La,lr,Tn,wr,oa,Ta]),sl=!(Ar?fo:nr).length,Za=Ar&&zr.matchInputWidth||sl?{}:{minWidth:"auto"};return he.createElement(x.Provider,{value:Gi},he.createElement(_e.Ac,(0,tt.Z)({},hn,{ref:at,id:$n,prefixCls:St,autoClearSearchValue:ra,dropdownMatchSelectWidth:ua,dropdownStyle:Za,displayValues:Yo,onDisplayValuesChange:Ki,mode:Aa?"multiple":void 0,searchValue:Ar,onSearch:za,showSearch:ur,OptionList:Pt,emptyOptions:sl,open:Oo,dropdownClassName:yl,placement:Kl,onDropdownVisibleChange:Mi,getRawInputElement:function(){return $t}})))});tn.SHOW_PARENT=We,tn.SHOW_CHILD=Ne;var Fa=tn,_a=Fa,ya=oe(2738),Vn=oe(62892),xa=oe(53487),cr=oe(19080),Ya=oe(36355),Jn=oe(93891),da=oe(1684),ea=oe(19716),ia=oe(32441),Ea=oe(14154),Va=oe(58582),Pn=oe(84443),an=oe(66339),bt=oe(33234),Gt=oe(98447),Da=oe(17313),pa=oe(74207),wa=oe(83116);const ha=Be=>{const{prefixCls:at,componentCls:st,antCls:Ft}=Be,St=`${st}-menu-item`,mn=` &${St}-expand ${St}-expand-icon, ${St}-loading-icon - `;return[{[st]:{width:Be.controlWidth}},{[`${st}-dropdown`]:[(0,Gt.C2)(`${at}-checkbox`,Be),{[`&${Ft}-select-dropdown`]:{padding:0}},{[st]:{"&-checkbox":{top:0,marginInlineEnd:Be.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${st}-menu-empty`]:{[`${st}-menu`]:{width:"100%",height:"auto",[St]:{color:Be.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:Be.controlItemWidth,height:Be.dropdownHeight,margin:0,padding:Be.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${Be.lineWidth}px ${Be.lineType} ${Be.colorSplit}`},"&-item":Object.assign(Object.assign({},Da.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:Be.optionPadding,lineHeight:Be.lineHeight,cursor:"pointer",transition:`all ${Be.motionDurationMid}`,borderRadius:Be.borderRadiusSM,"&:hover":{background:Be.controlItemBgHover},"&-disabled":{color:Be.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[mn]:{color:Be.colorTextDisabled}},[`&-active:not(${St}-disabled)`]:{"&, &:hover":{fontWeight:Be.optionSelectedFontWeight,backgroundColor:Be.optionSelectedBg}},"&-content":{flex:"auto"},[mn]:{marginInlineStart:Be.paddingXXS,color:Be.colorTextDescription,fontSize:Be.fontSizeIcon},"&-keyword":{color:Be.colorHighlight}})}}}]},{[`${st}-dropdown-rtl`]:{direction:"rtl"}},(0,va.c)(Be)]};var ja=(0,wa.Z)("Cascader",Be=>[pa(Be)],Be=>{const at=Math.round((Be.controlHeight-Be.fontSize*Be.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:Be.controlItemBgActive,optionSelectedFontWeight:Be.fontWeightStrong,optionPadding:`${at}px ${Be.paddingSM}px`,menuPadding:Be.paddingXXS}}),gr=function(Be,at){var st={};for(var Ft in Be)Object.prototype.hasOwnProperty.call(Be,Ft)&&at.indexOf(Ft)<0&&(st[Ft]=Be[Ft]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var St=0,Ft=Object.getOwnPropertySymbols(Be);StKe===0?[Ge]:[].concat((0,b.Z)(Jt),[at,Ge]),[]),St=[];let mn=0;return Ft.forEach((Jt,Ge)=>{const Ke=mn+Jt.length;let Ue=Be.slice(mn,Ke);mn=Ke,Ge%2===1&&(Ue=he.createElement("span",{className:`${st}-menu-item-keyword`,key:`separator-${Ge}`},Ue)),St.push(Ue)}),St}const Ht=(Be,at,st,Ft)=>{const St=[],mn=Be.toLowerCase();return at.forEach((Jt,Ge)=>{Ge!==0&&St.push(" / ");let Ke=Jt[Ft.label];const Ue=typeof Ke;(Ue==="string"||Ue==="number")&&(Ke=ho(String(Ke),mn,st)),St.push(Ke)}),St},Tn=he.forwardRef((Be,at)=>{const{prefixCls:st,size:Ft,disabled:St,className:mn,rootClassName:Jt,multiple:Ge,bordered:Ke=!0,transitionName:Ue,choiceTransitionName:Ct="",popupClassName:sn,dropdownClassName:hn,expandIcon:aa,placement:Vn,showSearch:Dn,allowClear:Gn=!0,notFoundContent:_n,direction:jt,getPopupContainer:La,status:lr,showArrow:io,builtinPlacements:Wa,style:zt}=Be,jr=gr(Be,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),Ta=(0,ya.Z)(jr,["suffixIcon"]),{getPopupContainer:vr,getPrefixCls:er,renderEmpty:kr,direction:br,popupOverflow:$r,cascader:wr}=he.useContext(Ya.E_),ra=jt||br,$t=ra==="rtl",{status:Xa,hasFeedback:la,isFormItemInput:tr,feedbackIcon:Oa}=he.useContext(oa.aM),Sn=(0,cr.F)(Xa,lr),qn=_n||(kr==null?void 0:kr("Cascader"))||he.createElement(Kn.Z,{componentName:"Cascader"}),Aa=er(),Wn=er("select",st),qa=er("cascader",st),[Ka,pr]=(0,Ea.Z)(Wn),[_r]=ja(qa),{compactSize:nr,compactItemClassnames:jo}=(0,bt.ri)(Wn,jt),Co=xe()(sn||hn,`${qa}-dropdown`,{[`${qa}-dropdown-rtl`]:ra==="rtl"},Jt,pr),pi=he.useMemo(()=>{if(!Dn)return Dn;let Zr={render:Ht};return typeof Dn=="object"&&(Zr=Object.assign(Object.assign({},Zr),Dn)),Zr},[Dn]),Pr=(0,$n.Z)(Zr=>{var ii;return(ii=Ft!=null?Ft:nr)!==null&&ii!==void 0?ii:Zr}),Ar=he.useContext(sa.Z),so=St!=null?St:Ar;let za=aa;aa||(za=$t?he.createElement(De.Z,null):he.createElement(ke.Z,null));const Tr=he.createElement("span",{className:`${Wn}-menu-item-loading-icon`},he.createElement(Ae.Z,{spin:!0})),Hr=he.useMemo(()=>Ge?he.createElement("span",{className:`${qa}-checkbox-inner`}):!1,[Ge]),ur=(0,En.Z)(Be.suffixIcon,io),{suffixIcon:zr,removeIcon:vo,clearIcon:Qr}=(0,rn.Z)(Object.assign(Object.assign({},Be),{hasFeedback:la,feedbackIcon:Oa,showSuffixIcon:ur,multiple:Ge,prefixCls:Wn,componentName:"Cascader"})),Ha=he.useMemo(()=>Vn!==void 0?Vn:$t?"bottomRight":"bottomLeft",[Vn,$t]),wo=(0,Va.Z)(Wa,$r),ni=Gn===!0?{clearIcon:Qr}:Gn,oi=he.createElement(_a,Object.assign({prefixCls:Wn,className:xe()(!st&&qa,{[`${Wn}-lg`]:Pr==="large",[`${Wn}-sm`]:Pr==="small",[`${Wn}-rtl`]:$t,[`${Wn}-borderless`]:!Ke,[`${Wn}-in-form-item`]:tr},(0,cr.Z)(Wn,Sn,la),jo,wr==null?void 0:wr.className,mn,Jt,pr),disabled:so,style:Object.assign(Object.assign({},wr==null?void 0:wr.style),zt)},Ta,{builtinPlacements:wo,direction:ra,placement:Ha,notFoundContent:qn,allowClear:ni,showSearch:pi,expandIcon:za,suffixIcon:zr,removeIcon:vo,loadingIcon:Tr,checkable:Hr,dropdownClassName:Co,dropdownPrefixCls:st||qa,choiceTransitionName:(0,zn.m)(Aa,"",Ct),transitionName:(0,zn.m)(Aa,"slide-up",Ue),getPopupContainer:La||vr,ref:at}));return _r(Ka(oi))}),Xn=(0,xa.Z)(Tn);Tn.SHOW_PARENT=Br,Tn.SHOW_CHILD=Ua,Tn._InternalPanelDoNotUseOrYouWillBeFired=Xn;var ha=Tn},36381:function(yt,_t,oe){"use strict";oe.d(_t,{default:function(){return Xt}});var b=oe(38819),he=oe(92310),De=oe.n(he),Ae=oe(72308),ke=oe(80702),ze=oe(52487),xe=oe(62853),tt=oe(18929),Me=oe(48736),Le=oe(59301),_e=oe(74416),He=oe(11592),Je=oe(49618),le=oe(77900),E=oe(10228),a=Le.forwardRef(function(nt,Pt){var kn=nt.prefixCls,dn=nt.forceRender,kt=nt.className,Rt=nt.style,Qn=nt.children,na=nt.isActive,tn=nt.role,Fa=Le.useState(na||dn),_a=(0,ze.Z)(Fa,2),ya=_a[0],zn=_a[1];return Le.useEffect(function(){(dn||na)&&zn(!0)},[dn,na]),ya?Le.createElement("div",{ref:Pt,className:De()("".concat(kn,"-content"),(0,Je.Z)((0,Je.Z)({},"".concat(kn,"-content-active"),na),"".concat(kn,"-content-inactive"),!na),kt),style:Rt,role:tn},Le.createElement("div",{className:"".concat(kn,"-content-box")},Qn)):null});a.displayName="PanelContent";var x=a,y=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],z=Le.forwardRef(function(nt,Pt){var kn=nt.showArrow,dn=kn===void 0?!0:kn,kt=nt.headerClass,Rt=nt.isActive,Qn=nt.onItemClick,na=nt.forceRender,tn=nt.className,Fa=nt.prefixCls,_a=nt.collapsible,ya=nt.accordion,zn=nt.panelKey,xa=nt.extra,cr=nt.header,Ya=nt.expandIcon,Kn=nt.openMotion,sa=nt.destroyInactivePanel,$n=nt.children,oa=(0,_e.Z)(nt,y),Ea=_a==="disabled",Va=_a==="header",En=_a==="icon",rn=xa!=null&&typeof xa!="boolean",bt=function(){Qn==null||Qn(zn)},Gt=function(gr){(gr.key==="Enter"||gr.keyCode===E.Z.ENTER||gr.which===E.Z.ENTER)&&bt()},Da=typeof Ya=="function"?Ya(nt):Le.createElement("i",{className:"arrow"});Da&&(Da=Le.createElement("div",{className:"".concat(Fa,"-expand-icon"),onClick:["header","icon"].includes(_a)?bt:void 0},Da));var va=De()((0,Je.Z)((0,Je.Z)((0,Je.Z)({},"".concat(Fa,"-item"),!0),"".concat(Fa,"-item-active"),Rt),"".concat(Fa,"-item-disabled"),Ea),tn),wa=De()(kt,(0,Je.Z)((0,Je.Z)((0,Je.Z)({},"".concat(Fa,"-header"),!0),"".concat(Fa,"-header-collapsible-only"),Va),"".concat(Fa,"-icon-collapsible-only"),En)),pa={className:wa,"aria-expanded":Rt,"aria-disabled":Ea,onKeyDown:Gt};return!Va&&!En&&(pa.onClick=bt,pa.role=ya?"tab":"button",pa.tabIndex=Ea?-1:0),Le.createElement("div",(0,Ae.Z)({},oa,{ref:Pt,className:va}),Le.createElement("div",pa,dn&&Da,Le.createElement("span",{className:"".concat(Fa,"-header-text"),onClick:_a==="header"?bt:void 0},cr),rn&&Le.createElement("div",{className:"".concat(Fa,"-extra")},xa)),Le.createElement(le.default,(0,Ae.Z)({visible:Rt,leavedClassName:"".concat(Fa,"-content-hidden")},Kn,{forceRender:na,removeOnLeave:sa}),function(ja,gr){var Ua=ja.className,Br=ja.style;return Le.createElement(x,{ref:gr,prefixCls:Fa,className:Ua,style:Br,isActive:Rt,forceRender:na,role:ya?"tabpanel":void 0},$n)}))}),te=z,ae=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],se=function(Pt,kn){var dn=kn.prefixCls,kt=kn.accordion,Rt=kn.collapsible,Qn=kn.destroyInactivePanel,na=kn.onItemClick,tn=kn.activeKey,Fa=kn.openMotion,_a=kn.expandIcon;return Pt.map(function(ya,zn){var xa=ya.children,cr=ya.label,Ya=ya.key,Kn=ya.collapsible,sa=ya.onItemClick,$n=ya.destroyInactivePanel,oa=(0,_e.Z)(ya,ae),Ea=String(Ya!=null?Ya:zn),Va=Kn!=null?Kn:Rt,En=$n!=null?$n:Qn,rn=function(Da){Va!=="disabled"&&(na(Da),sa==null||sa(Da))},bt=!1;return kt?bt=tn[0]===Ea:bt=tn.indexOf(Ea)>-1,Le.createElement(te,(0,Ae.Z)({},oa,{prefixCls:dn,key:Ea,panelKey:Ea,isActive:bt,accordion:kt,openMotion:Fa,expandIcon:_a,header:cr,collapsible:Va,onItemClick:rn,destroyInactivePanel:En}),xa)})},ie=function(Pt,kn,dn){if(!Pt)return null;var kt=dn.prefixCls,Rt=dn.accordion,Qn=dn.collapsible,na=dn.destroyInactivePanel,tn=dn.onItemClick,Fa=dn.activeKey,_a=dn.openMotion,ya=dn.expandIcon,zn=Pt.key||String(kn),xa=Pt.props,cr=xa.header,Ya=xa.headerClass,Kn=xa.destroyInactivePanel,sa=xa.collapsible,$n=xa.onItemClick,oa=!1;Rt?oa=Fa[0]===zn:oa=Fa.indexOf(zn)>-1;var Ea=sa!=null?sa:Qn,Va=function(bt){Ea!=="disabled"&&(tn(bt),$n==null||$n(bt))},En={key:zn,panelKey:zn,header:cr,headerClass:Ya,isActive:oa,prefixCls:kt,destroyInactivePanel:Kn!=null?Kn:na,openMotion:_a,accordion:Rt,children:Pt.props.children,onItemClick:Va,expandIcon:ya,collapsible:Ea};return typeof Pt.type=="string"?Pt:(Object.keys(En).forEach(function(rn){typeof En[rn]=="undefined"&&delete En[rn]}),Le.cloneElement(Pt,En))};function Se(nt,Pt,kn){return Array.isArray(nt)?se(nt,kn):(0,He.Z)(Pt).map(function(dn,kt){return ie(dn,kt,kn)})}var be=Se,We=oe(26112);function Ne(nt){var Pt=nt;if(!Array.isArray(Pt)){var kn=(0,xe.Z)(Pt);Pt=kn==="number"||kn==="string"?[Pt]:[]}return Pt.map(function(dn){return String(dn)})}var mt=Le.forwardRef(function(nt,Pt){var kn=nt.prefixCls,dn=kn===void 0?"rc-collapse":kn,kt=nt.destroyInactivePanel,Rt=kt===void 0?!1:kt,Qn=nt.style,na=nt.accordion,tn=nt.className,Fa=nt.children,_a=nt.collapsible,ya=nt.openMotion,zn=nt.expandIcon,xa=nt.activeKey,cr=nt.defaultActiveKey,Ya=nt.onChange,Kn=nt.items,sa=De()(dn,tn),$n=(0,tt.Z)([],{value:xa,onChange:function(Gt){return Ya==null?void 0:Ya(Gt)},defaultValue:cr,postState:Ne}),oa=(0,ze.Z)($n,2),Ea=oa[0],Va=oa[1],En=function(Gt){return Va(function(){if(na)return Ea[0]===Gt?[]:[Gt];var Da=Ea.indexOf(Gt),va=Da>-1;return va?Ea.filter(function(wa){return wa!==Gt}):[].concat((0,ke.Z)(Ea),[Gt])})};(0,Me.ZP)(!Fa,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var rn=be(Kn,Fa,{prefixCls:dn,accordion:na,openMotion:ya,expandIcon:zn,collapsible:_a,destroyInactivePanel:Rt,onItemClick:En,activeKey:Ea});return Le.createElement("div",(0,Ae.Z)({ref:Pt,className:sa,style:Qn,role:na?"tablist":void 0},(0,We.Z)(nt,{aria:!0,data:!0})),rn)}),Re=Object.assign(mt,{Panel:te}),Xe=Re,Qe=Re.Panel,et=oe(2738),we=oe(62892),ht=oe(92343),ct=oe(36355),It=oe(19716),Pn=Le.forwardRef((nt,Pt)=>{const{getPrefixCls:kn}=Le.useContext(ct.E_),{prefixCls:dn,className:kt,showArrow:Rt=!0}=nt,Qn=kn("collapse",dn),na=De()({[`${Qn}-no-arrow`]:!Rt},kt);return Le.createElement(Xe.Panel,Object.assign({ref:Pt},nt,{prefixCls:Qn,className:na}))}),an=oe(17313),Wt=oe(8378),Tt=oe(83116),Te=oe(37613);const ot=nt=>{const{componentCls:Pt,contentBg:kn,padding:dn,headerBg:kt,headerPadding:Rt,collapseHeaderPaddingSM:Qn,collapseHeaderPaddingLG:na,collapsePanelBorderRadius:tn,lineWidth:Fa,lineType:_a,colorBorder:ya,colorText:zn,colorTextHeading:xa,colorTextDisabled:cr,fontSize:Ya,fontSizeLG:Kn,lineHeight:sa,marginSM:$n,paddingSM:oa,paddingLG:Ea,paddingXS:Va,motionDurationSlow:En,fontSizeIcon:rn,contentPadding:bt}=nt,Gt=`${Fa}px ${_a} ${ya}`;return{[Pt]:Object.assign(Object.assign({},(0,an.Wf)(nt)),{backgroundColor:kt,border:Gt,borderBottom:0,borderRadius:`${tn}px`,"&-rtl":{direction:"rtl"},[`& > ${Pt}-item`]:{borderBottom:Gt,"&:last-child":{[` + `;return[{[st]:{width:Be.controlWidth}},{[`${st}-dropdown`]:[(0,Gt.C2)(`${at}-checkbox`,Be),{[`&${Ft}-select-dropdown`]:{padding:0}},{[st]:{"&-checkbox":{top:0,marginInlineEnd:Be.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${st}-menu-empty`]:{[`${st}-menu`]:{width:"100%",height:"auto",[St]:{color:Be.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:Be.controlItemWidth,height:Be.dropdownHeight,margin:0,padding:Be.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${Be.lineWidth}px ${Be.lineType} ${Be.colorSplit}`},"&-item":Object.assign(Object.assign({},Da.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:Be.optionPadding,lineHeight:Be.lineHeight,cursor:"pointer",transition:`all ${Be.motionDurationMid}`,borderRadius:Be.borderRadiusSM,"&:hover":{background:Be.controlItemBgHover},"&-disabled":{color:Be.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[mn]:{color:Be.colorTextDisabled}},[`&-active:not(${St}-disabled)`]:{"&, &:hover":{fontWeight:Be.optionSelectedFontWeight,backgroundColor:Be.optionSelectedBg}},"&-content":{flex:"auto"},[mn]:{marginInlineStart:Be.paddingXXS,color:Be.colorTextDescription,fontSize:Be.fontSizeIcon},"&-keyword":{color:Be.colorHighlight}})}}}]},{[`${st}-dropdown-rtl`]:{direction:"rtl"}},(0,pa.c)(Be)]};var ja=(0,wa.Z)("Cascader",Be=>[ha(Be)],Be=>{const at=Math.round((Be.controlHeight-Be.fontSize*Be.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:Be.controlItemBgActive,optionSelectedFontWeight:Be.fontWeightStrong,optionPadding:`${at}px ${Be.paddingSM}px`,menuPadding:Be.paddingXXS}}),gr=function(Be,at){var st={};for(var Ft in Be)Object.prototype.hasOwnProperty.call(Be,Ft)&&at.indexOf(Ft)<0&&(st[Ft]=Be[Ft]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var St=0,Ft=Object.getOwnPropertySymbols(Be);StYe===0?[Ge]:[].concat((0,b.Z)(Kt),[at,Ge]),[]),St=[];let mn=0;return Ft.forEach((Kt,Ge)=>{const Ye=mn+Kt.length;let Ue=Be.slice(mn,Ye);mn=Ye,Ge%2===1&&(Ue=he.createElement("span",{className:`${st}-menu-item-keyword`,key:`separator-${Ge}`},Ue)),St.push(Ue)}),St}const Ht=(Be,at,st,Ft)=>{const St=[],mn=Be.toLowerCase();return at.forEach((Kt,Ge)=>{Ge!==0&&St.push(" / ");let Ye=Kt[Ft.label];const Ue=typeof Ye;(Ue==="string"||Ue==="number")&&(Ye=po(String(Ye),mn,st)),St.push(Ye)}),St},Zn=he.forwardRef((Be,at)=>{const{prefixCls:st,size:Ft,disabled:St,className:mn,rootClassName:Kt,multiple:Ge,bordered:Ye=!0,transitionName:Ue,choiceTransitionName:Bt="",popupClassName:un,dropdownClassName:pn,expandIcon:ra,placement:Wn,showSearch:Ln,allowClear:jn=!0,notFoundContent:Tn,direction:jt,getPopupContainer:La,status:lr,showArrow:oo,builtinPlacements:Wa,style:zt}=Be,jr=gr(Be,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),Ta=(0,ya.Z)(jr,["suffixIcon"]),{getPopupContainer:vr,getPrefixCls:er,renderEmpty:kr,direction:br,popupOverflow:qr,cascader:wr}=he.useContext(Ya.E_),oa=jt||br,$t=oa==="rtl",{status:Xa,hasFeedback:ua,isFormItemInput:tr,feedbackIcon:Oa}=he.useContext(ia.aM),hn=(0,cr.F)(Xa,lr),$n=Tn||(kr==null?void 0:kr("Cascader"))||he.createElement(Jn.Z,{componentName:"Cascader"}),Aa=er(),Un=er("select",st),qa=er("cascader",st),[Ka,pr]=(0,Ea.Z)(Un),[_r]=ja(qa),{compactSize:nr,compactItemClassnames:jo}=(0,bt.ri)(Un,jt),Co=xe()(un||pn,`${qa}-dropdown`,{[`${qa}-dropdown-rtl`]:oa==="rtl"},Kt,pr),pi=he.useMemo(()=>{if(!Ln)return Ln;let Zr={render:Ht};return typeof Ln=="object"&&(Zr=Object.assign(Object.assign({},Zr),Ln)),Zr},[Ln]),Pr=(0,ea.Z)(Zr=>{var oi;return(oi=Ft!=null?Ft:nr)!==null&&oi!==void 0?oi:Zr}),Ar=he.useContext(da.Z),uo=St!=null?St:Ar;let za=ra;ra||(za=$t?he.createElement(De.Z,null):he.createElement(ke.Z,null));const Tr=he.createElement("span",{className:`${Un}-menu-item-loading-icon`},he.createElement(Ae.Z,{spin:!0})),Hr=he.useMemo(()=>Ge?he.createElement("span",{className:`${qa}-checkbox-inner`}):!1,[Ge]),ur=(0,Pn.Z)(Be.suffixIcon,oo),{suffixIcon:zr,removeIcon:fo,clearIcon:Qr}=(0,an.Z)(Object.assign(Object.assign({},Be),{hasFeedback:ua,feedbackIcon:Oa,showSuffixIcon:ur,multiple:Ge,prefixCls:Un,componentName:"Cascader"})),Ha=he.useMemo(()=>Wn!==void 0?Wn:$t?"bottomRight":"bottomLeft",[Wn,$t]),wo=(0,Va.Z)(Wa,qr),ni=jn===!0?{clearIcon:Qr}:jn,ri=he.createElement(_a,Object.assign({prefixCls:Un,className:xe()(!st&&qa,{[`${Un}-lg`]:Pr==="large",[`${Un}-sm`]:Pr==="small",[`${Un}-rtl`]:$t,[`${Un}-borderless`]:!Ye,[`${Un}-in-form-item`]:tr},(0,cr.Z)(Un,hn,ua),jo,wr==null?void 0:wr.className,mn,Kt,pr),disabled:uo,style:Object.assign(Object.assign({},wr==null?void 0:wr.style),zt)},Ta,{builtinPlacements:wo,direction:oa,placement:Ha,notFoundContent:$n,allowClear:ni,showSearch:pi,expandIcon:za,suffixIcon:zr,removeIcon:fo,loadingIcon:Tr,checkable:Hr,dropdownClassName:Co,dropdownPrefixCls:st||qa,choiceTransitionName:(0,Vn.m)(Aa,"",Bt),transitionName:(0,Vn.m)(Aa,"slide-up",Ue),getPopupContainer:La||vr,ref:at}));return _r(Ka(ri))}),qn=(0,xa.Z)(Zn);Zn.SHOW_PARENT=Br,Zn.SHOW_CHILD=Ua,Zn._InternalPanelDoNotUseOrYouWillBeFired=qn;var Sa=Zn},36381:function(yt,kt,oe){"use strict";oe.d(kt,{default:function(){return Xt}});var b=oe(38819),he=oe(92310),De=oe.n(he),Ae=oe(72308),ke=oe(80702),ze=oe(52487),xe=oe(62853),tt=oe(18929),Me=oe(48736),Le=oe(59301),_e=oe(74416),He=oe(11592),Ke=oe(49618),le=oe(77900),E=oe(10228),a=Le.forwardRef(function(nt,Pt){var _n=nt.prefixCls,sn=nt.forceRender,Rt=nt.className,Mt=nt.style,Yn=nt.children,aa=nt.isActive,tn=nt.role,Fa=Le.useState(aa||sn),_a=(0,ze.Z)(Fa,2),ya=_a[0],Vn=_a[1];return Le.useEffect(function(){(sn||aa)&&Vn(!0)},[sn,aa]),ya?Le.createElement("div",{ref:Pt,className:De()("".concat(_n,"-content"),(0,Ke.Z)((0,Ke.Z)({},"".concat(_n,"-content-active"),aa),"".concat(_n,"-content-inactive"),!aa),Rt),style:Mt,role:tn},Le.createElement("div",{className:"".concat(_n,"-content-box")},Yn)):null});a.displayName="PanelContent";var x=a,y=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],z=Le.forwardRef(function(nt,Pt){var _n=nt.showArrow,sn=_n===void 0?!0:_n,Rt=nt.headerClass,Mt=nt.isActive,Yn=nt.onItemClick,aa=nt.forceRender,tn=nt.className,Fa=nt.prefixCls,_a=nt.collapsible,ya=nt.accordion,Vn=nt.panelKey,xa=nt.extra,cr=nt.header,Ya=nt.expandIcon,Jn=nt.openMotion,da=nt.destroyInactivePanel,ea=nt.children,ia=(0,_e.Z)(nt,y),Ea=_a==="disabled",Va=_a==="header",Pn=_a==="icon",an=xa!=null&&typeof xa!="boolean",bt=function(){Yn==null||Yn(Vn)},Gt=function(gr){(gr.key==="Enter"||gr.keyCode===E.Z.ENTER||gr.which===E.Z.ENTER)&&bt()},Da=typeof Ya=="function"?Ya(nt):Le.createElement("i",{className:"arrow"});Da&&(Da=Le.createElement("div",{className:"".concat(Fa,"-expand-icon"),onClick:["header","icon"].includes(_a)?bt:void 0},Da));var pa=De()((0,Ke.Z)((0,Ke.Z)((0,Ke.Z)({},"".concat(Fa,"-item"),!0),"".concat(Fa,"-item-active"),Mt),"".concat(Fa,"-item-disabled"),Ea),tn),wa=De()(Rt,(0,Ke.Z)((0,Ke.Z)((0,Ke.Z)({},"".concat(Fa,"-header"),!0),"".concat(Fa,"-header-collapsible-only"),Va),"".concat(Fa,"-icon-collapsible-only"),Pn)),ha={className:wa,"aria-expanded":Mt,"aria-disabled":Ea,onKeyDown:Gt};return!Va&&!Pn&&(ha.onClick=bt,ha.role=ya?"tab":"button",ha.tabIndex=Ea?-1:0),Le.createElement("div",(0,Ae.Z)({},ia,{ref:Pt,className:pa}),Le.createElement("div",ha,sn&&Da,Le.createElement("span",{className:"".concat(Fa,"-header-text"),onClick:_a==="header"?bt:void 0},cr),an&&Le.createElement("div",{className:"".concat(Fa,"-extra")},xa)),Le.createElement(le.default,(0,Ae.Z)({visible:Mt,leavedClassName:"".concat(Fa,"-content-hidden")},Jn,{forceRender:aa,removeOnLeave:da}),function(ja,gr){var Ua=ja.className,Br=ja.style;return Le.createElement(x,{ref:gr,prefixCls:Fa,className:Ua,style:Br,isActive:Mt,forceRender:aa,role:ya?"tabpanel":void 0},ea)}))}),te=z,ae=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],se=function(Pt,_n){var sn=_n.prefixCls,Rt=_n.accordion,Mt=_n.collapsible,Yn=_n.destroyInactivePanel,aa=_n.onItemClick,tn=_n.activeKey,Fa=_n.openMotion,_a=_n.expandIcon;return Pt.map(function(ya,Vn){var xa=ya.children,cr=ya.label,Ya=ya.key,Jn=ya.collapsible,da=ya.onItemClick,ea=ya.destroyInactivePanel,ia=(0,_e.Z)(ya,ae),Ea=String(Ya!=null?Ya:Vn),Va=Jn!=null?Jn:Mt,Pn=ea!=null?ea:Yn,an=function(Da){Va!=="disabled"&&(aa(Da),da==null||da(Da))},bt=!1;return Rt?bt=tn[0]===Ea:bt=tn.indexOf(Ea)>-1,Le.createElement(te,(0,Ae.Z)({},ia,{prefixCls:sn,key:Ea,panelKey:Ea,isActive:bt,accordion:Rt,openMotion:Fa,expandIcon:_a,header:cr,collapsible:Va,onItemClick:an,destroyInactivePanel:Pn}),xa)})},ie=function(Pt,_n,sn){if(!Pt)return null;var Rt=sn.prefixCls,Mt=sn.accordion,Yn=sn.collapsible,aa=sn.destroyInactivePanel,tn=sn.onItemClick,Fa=sn.activeKey,_a=sn.openMotion,ya=sn.expandIcon,Vn=Pt.key||String(_n),xa=Pt.props,cr=xa.header,Ya=xa.headerClass,Jn=xa.destroyInactivePanel,da=xa.collapsible,ea=xa.onItemClick,ia=!1;Mt?ia=Fa[0]===Vn:ia=Fa.indexOf(Vn)>-1;var Ea=da!=null?da:Yn,Va=function(bt){Ea!=="disabled"&&(tn(bt),ea==null||ea(bt))},Pn={key:Vn,panelKey:Vn,header:cr,headerClass:Ya,isActive:ia,prefixCls:Rt,destroyInactivePanel:Jn!=null?Jn:aa,openMotion:_a,accordion:Mt,children:Pt.props.children,onItemClick:Va,expandIcon:ya,collapsible:Ea};return typeof Pt.type=="string"?Pt:(Object.keys(Pn).forEach(function(an){typeof Pn[an]=="undefined"&&delete Pn[an]}),Le.cloneElement(Pt,Pn))};function Se(nt,Pt,_n){return Array.isArray(nt)?se(nt,_n):(0,He.Z)(Pt).map(function(sn,Rt){return ie(sn,Rt,_n)})}var be=Se,We=oe(26112);function Ne(nt){var Pt=nt;if(!Array.isArray(Pt)){var _n=(0,xe.Z)(Pt);Pt=_n==="number"||_n==="string"?[Pt]:[]}return Pt.map(function(sn){return String(sn)})}var mt=Le.forwardRef(function(nt,Pt){var _n=nt.prefixCls,sn=_n===void 0?"rc-collapse":_n,Rt=nt.destroyInactivePanel,Mt=Rt===void 0?!1:Rt,Yn=nt.style,aa=nt.accordion,tn=nt.className,Fa=nt.children,_a=nt.collapsible,ya=nt.openMotion,Vn=nt.expandIcon,xa=nt.activeKey,cr=nt.defaultActiveKey,Ya=nt.onChange,Jn=nt.items,da=De()(sn,tn),ea=(0,tt.Z)([],{value:xa,onChange:function(Gt){return Ya==null?void 0:Ya(Gt)},defaultValue:cr,postState:Ne}),ia=(0,ze.Z)(ea,2),Ea=ia[0],Va=ia[1],Pn=function(Gt){return Va(function(){if(aa)return Ea[0]===Gt?[]:[Gt];var Da=Ea.indexOf(Gt),pa=Da>-1;return pa?Ea.filter(function(wa){return wa!==Gt}):[].concat((0,ke.Z)(Ea),[Gt])})};(0,Me.ZP)(!Fa,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var an=be(Jn,Fa,{prefixCls:sn,accordion:aa,openMotion:ya,expandIcon:Vn,collapsible:_a,destroyInactivePanel:Mt,onItemClick:Pn,activeKey:Ea});return Le.createElement("div",(0,Ae.Z)({ref:Pt,className:da,style:Yn,role:aa?"tablist":void 0},(0,We.Z)(nt,{aria:!0,data:!0})),an)}),Re=Object.assign(mt,{Panel:te}),Je=Re,Qe=Re.Panel,et=oe(2738),we=oe(62892),ht=oe(92343),ct=oe(36355),Lt=oe(19716),yn=Le.forwardRef((nt,Pt)=>{const{getPrefixCls:_n}=Le.useContext(ct.E_),{prefixCls:sn,className:Rt,showArrow:Mt=!0}=nt,Yn=_n("collapse",sn),aa=De()({[`${Yn}-no-arrow`]:!Mt},Rt);return Le.createElement(Je.Panel,Object.assign({ref:Pt},nt,{prefixCls:Yn,className:aa}))}),nn=oe(17313),Wt=oe(8378),_t=oe(83116),Te=oe(37613);const ot=nt=>{const{componentCls:Pt,contentBg:_n,padding:sn,headerBg:Rt,headerPadding:Mt,collapseHeaderPaddingSM:Yn,collapseHeaderPaddingLG:aa,collapsePanelBorderRadius:tn,lineWidth:Fa,lineType:_a,colorBorder:ya,colorText:Vn,colorTextHeading:xa,colorTextDisabled:cr,fontSize:Ya,fontSizeLG:Jn,lineHeight:da,marginSM:ea,paddingSM:ia,paddingLG:Ea,paddingXS:Va,motionDurationSlow:Pn,fontSizeIcon:an,contentPadding:bt}=nt,Gt=`${Fa}px ${_a} ${ya}`;return{[Pt]:Object.assign(Object.assign({},(0,nn.Wf)(nt)),{backgroundColor:Rt,border:Gt,borderBottom:0,borderRadius:`${tn}px`,"&-rtl":{direction:"rtl"},[`& > ${Pt}-item`]:{borderBottom:Gt,"&:last-child":{[` &, - & > ${Pt}-header`]:{borderRadius:`0 0 ${tn}px ${tn}px`}},[`> ${Pt}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:Rt,color:xa,lineHeight:sa,cursor:"pointer",transition:`all ${En}, visibility 0s`,[`> ${Pt}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Pt}-expand-icon`]:{height:Ya*sa,display:"flex",alignItems:"center",paddingInlineEnd:$n},[`${Pt}-arrow`]:Object.assign(Object.assign({},(0,an.Ro)()),{fontSize:rn,svg:{transition:`transform ${En}`}}),[`${Pt}-header-text`]:{marginInlineEnd:"auto"}},[`${Pt}-header-collapsible-only`]:{cursor:"default",[`${Pt}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Pt}-icon-collapsible-only`]:{cursor:"default",[`${Pt}-expand-icon`]:{cursor:"pointer"}}},[`${Pt}-content`]:{color:zn,backgroundColor:kn,borderTop:Gt,[`& > ${Pt}-content-box`]:{padding:bt},"&-hidden":{display:"none"}},"&-small":{[`> ${Pt}-item`]:{[`> ${Pt}-header`]:{padding:Qn,paddingInlineStart:Va,[`> ${Pt}-expand-icon`]:{marginInlineStart:oa-Va}},[`> ${Pt}-content > ${Pt}-content-box`]:{padding:oa}}},"&-large":{[`> ${Pt}-item`]:{fontSize:Kn,[`> ${Pt}-header`]:{padding:na,paddingInlineStart:dn,[`> ${Pt}-expand-icon`]:{height:Kn*sa,marginInlineStart:Ea-dn}},[`> ${Pt}-content > ${Pt}-content-box`]:{padding:Ea}}},[`${Pt}-item:last-child`]:{[`> ${Pt}-content`]:{borderRadius:`0 0 ${tn}px ${tn}px`}},[`& ${Pt}-item-disabled > ${Pt}-header`]:{"\n &,\n & > .arrow\n ":{color:cr,cursor:"not-allowed"}},[`&${Pt}-icon-position-end`]:{[`& > ${Pt}-item`]:{[`> ${Pt}-header`]:{[`${Pt}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:$n}}}}})}},Qt=nt=>{const{componentCls:Pt}=nt,kn=`> ${Pt}-item > ${Pt}-header ${Pt}-arrow svg`;return{[`${Pt}-rtl`]:{[kn]:{transform:"rotate(180deg)"}}}},An=nt=>{const{componentCls:Pt,headerBg:kn,paddingXXS:dn,colorBorder:kt}=nt;return{[`${Pt}-borderless`]:{backgroundColor:kn,border:0,[`> ${Pt}-item`]:{borderBottom:`1px solid ${kt}`},[` + & > ${Pt}-header`]:{borderRadius:`0 0 ${tn}px ${tn}px`}},[`> ${Pt}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:Mt,color:xa,lineHeight:da,cursor:"pointer",transition:`all ${Pn}, visibility 0s`,[`> ${Pt}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Pt}-expand-icon`]:{height:Ya*da,display:"flex",alignItems:"center",paddingInlineEnd:ea},[`${Pt}-arrow`]:Object.assign(Object.assign({},(0,nn.Ro)()),{fontSize:an,svg:{transition:`transform ${Pn}`}}),[`${Pt}-header-text`]:{marginInlineEnd:"auto"}},[`${Pt}-header-collapsible-only`]:{cursor:"default",[`${Pt}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Pt}-icon-collapsible-only`]:{cursor:"default",[`${Pt}-expand-icon`]:{cursor:"pointer"}}},[`${Pt}-content`]:{color:Vn,backgroundColor:_n,borderTop:Gt,[`& > ${Pt}-content-box`]:{padding:bt},"&-hidden":{display:"none"}},"&-small":{[`> ${Pt}-item`]:{[`> ${Pt}-header`]:{padding:Yn,paddingInlineStart:Va,[`> ${Pt}-expand-icon`]:{marginInlineStart:ia-Va}},[`> ${Pt}-content > ${Pt}-content-box`]:{padding:ia}}},"&-large":{[`> ${Pt}-item`]:{fontSize:Jn,[`> ${Pt}-header`]:{padding:aa,paddingInlineStart:sn,[`> ${Pt}-expand-icon`]:{height:Jn*da,marginInlineStart:Ea-sn}},[`> ${Pt}-content > ${Pt}-content-box`]:{padding:Ea}}},[`${Pt}-item:last-child`]:{[`> ${Pt}-content`]:{borderRadius:`0 0 ${tn}px ${tn}px`}},[`& ${Pt}-item-disabled > ${Pt}-header`]:{"\n &,\n & > .arrow\n ":{color:cr,cursor:"not-allowed"}},[`&${Pt}-icon-position-end`]:{[`& > ${Pt}-item`]:{[`> ${Pt}-header`]:{[`${Pt}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:ea}}}}})}},Ut=nt=>{const{componentCls:Pt}=nt,_n=`> ${Pt}-item > ${Pt}-header ${Pt}-arrow svg`;return{[`${Pt}-rtl`]:{[_n]:{transform:"rotate(180deg)"}}}},xn=nt=>{const{componentCls:Pt,headerBg:_n,paddingXXS:sn,colorBorder:Rt}=nt;return{[`${Pt}-borderless`]:{backgroundColor:_n,border:0,[`> ${Pt}-item`]:{borderBottom:`1px solid ${Rt}`},[` > ${Pt}-item:last-child, > ${Pt}-item:last-child ${Pt}-header - `]:{borderRadius:0},[`> ${Pt}-item:last-child`]:{borderBottom:0},[`> ${Pt}-item > ${Pt}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Pt}-item > ${Pt}-content > ${Pt}-content-box`]:{paddingTop:dn}}}},Bt=nt=>{const{componentCls:Pt,paddingSM:kn}=nt;return{[`${Pt}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Pt}-item`]:{borderBottom:0,[`> ${Pt}-content`]:{backgroundColor:"transparent",border:0,[`> ${Pt}-content-box`]:{paddingBlock:kn}}}}}};var un=(0,Tt.Z)("Collapse",nt=>{const Pt=(0,Te.TS)(nt,{collapseHeaderPaddingSM:`${nt.paddingXS}px ${nt.paddingSM}px`,collapseHeaderPaddingLG:`${nt.padding}px ${nt.paddingLG}px`,collapsePanelBorderRadius:nt.borderRadiusLG});return[ot(Pt),An(Pt),Bt(Pt),Qt(Pt),(0,Wt.Z)(Pt)]},nt=>({headerPadding:`${nt.paddingSM}px ${nt.padding}px`,headerBg:nt.colorFillAlter,contentPadding:`${nt.padding}px 16px`,contentBg:nt.colorBgContainer})),ut=Object.assign(Le.forwardRef((nt,Pt)=>{const{getPrefixCls:kn,direction:dn,collapse:kt}=Le.useContext(ct.E_),{prefixCls:Rt,className:Qn,rootClassName:na,style:tn,bordered:Fa=!0,ghost:_a,size:ya,expandIconPosition:zn="start",children:xa,expandIcon:cr}=nt,Ya=(0,It.Z)(Gt=>{var Da;return(Da=ya!=null?ya:Gt)!==null&&Da!==void 0?Da:"middle"}),Kn=kn("collapse",Rt),sa=kn(),[$n,oa]=un(Kn),Ea=Le.useMemo(()=>zn==="left"?"start":zn==="right"?"end":zn,[zn]),Va=function(){let Gt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Da=cr?cr(Gt):Le.createElement(b.Z,{rotate:Gt.isActive?90:void 0});return(0,ht.Tm)(Da,()=>({className:De()(Da.props.className,`${Kn}-arrow`)}))},En=De()(`${Kn}-icon-position-${Ea}`,{[`${Kn}-borderless`]:!Fa,[`${Kn}-rtl`]:dn==="rtl",[`${Kn}-ghost`]:!!_a,[`${Kn}-${Ya}`]:Ya!=="middle"},kt==null?void 0:kt.className,Qn,na,oa),rn=Object.assign(Object.assign({},(0,we.Z)(sa)),{motionAppear:!1,leavedClassName:`${Kn}-content-hidden`}),bt=Le.useMemo(()=>xa?(0,He.Z)(xa).map((Gt,Da)=>{var va,wa;if(!((va=Gt.props)===null||va===void 0)&&va.disabled){const pa=(wa=Gt.key)!==null&&wa!==void 0?wa:String(Da),{disabled:ja,collapsible:gr}=Gt.props,Ua=Object.assign(Object.assign({},(0,et.Z)(Gt.props,["disabled"])),{key:pa,collapsible:gr!=null?gr:ja?"disabled":void 0});return(0,ht.Tm)(Gt,Ua)}return Gt}):null,[xa]);return $n(Le.createElement(Xe,Object.assign({ref:Pt,openMotion:rn},(0,et.Z)(nt,["rootClassName"]),{expandIcon:Va,prefixCls:Kn,className:En,style:Object.assign(Object.assign({},kt==null?void 0:kt.style),tn)}),bt))}),{Panel:Pn}),Xt=ut},5083:function(yt,_t,oe){"use strict";oe.d(_t,{default:function(){return fs}});var b=oe(61186),he=oe.n(b),De=oe(48736),Ae=oe(90111),ke=oe.n(Ae),ze=oe(58319),xe=oe.n(ze),tt=oe(23250),Me=oe.n(tt),Le=oe(74959),_e=oe.n(Le),He=oe(10238),Je=oe.n(He),le=oe(33656),E=oe.n(le);he().extend(E()),he().extend(Je()),he().extend(ke()),he().extend(xe()),he().extend(Me()),he().extend(_e()),he().extend(function(ce,ge){var fe=ge.prototype,Ie=fe.format;fe.format=function(dt){var rt=(dt||"").replace("Wo","wo");return Ie.bind(this)(rt)}});var a={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},x=function(ge){var fe=a[ge];return fe||ge.split("_")[0]},y=function(){(0,De.ET)(!1,"Not match any format. Please help to fire a issue about this.")},z={getNow:function(){return he()()},getFixedDate:function(ge){return he()(ge,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(ge){return ge.endOf("month")},getWeekDay:function(ge){var fe=ge.locale("en");return fe.weekday()+fe.localeData().firstDayOfWeek()},getYear:function(ge){return ge.year()},getMonth:function(ge){return ge.month()},getDate:function(ge){return ge.date()},getHour:function(ge){return ge.hour()},getMinute:function(ge){return ge.minute()},getSecond:function(ge){return ge.second()},addYear:function(ge,fe){return ge.add(fe,"year")},addMonth:function(ge,fe){return ge.add(fe,"month")},addDate:function(ge,fe){return ge.add(fe,"day")},setYear:function(ge,fe){return ge.year(fe)},setMonth:function(ge,fe){return ge.month(fe)},setDate:function(ge,fe){return ge.date(fe)},setHour:function(ge,fe){return ge.hour(fe)},setMinute:function(ge,fe){return ge.minute(fe)},setSecond:function(ge,fe){return ge.second(fe)},isAfter:function(ge,fe){return ge.isAfter(fe)},isValidate:function(ge){return ge.isValid()},locale:{getWeekFirstDay:function(ge){return he()().locale(x(ge)).localeData().firstDayOfWeek()},getWeekFirstDate:function(ge,fe){return fe.locale(x(ge)).weekday(0)},getWeek:function(ge,fe){return fe.locale(x(ge)).week()},getShortWeekDays:function(ge){return he()().locale(x(ge)).localeData().weekdaysMin()},getShortMonths:function(ge){return he()().locale(x(ge)).localeData().monthsShort()},format:function(ge,fe,Ie){return fe.locale(x(ge)).format(Ie)},parse:function(ge,fe,Ie){for(var Oe=x(ge),dt=0;dt1&&(rt=ge.addDate(rt,-7)),rt}function oa(ce,ge,fe){var Ie=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(ge){case"year":return fe.addYear(ce,Ie*10);case"quarter":case"month":return fe.addYear(ce,Ie);default:return fe.addMonth(ce,Ie)}}function Ea(ce,ge){var fe=ge.generateConfig,Ie=ge.locale,Oe=ge.format;return typeof Oe=="function"?Oe(ce):fe.locale.format(Ie.locale,ce,Oe)}function Va(ce,ge){var fe=ge.generateConfig,Ie=ge.locale,Oe=ge.formatList;return!ce||typeof Oe[0]=="function"?null:fe.locale.parse(Ie.locale,ce,Oe)}function En(ce){var ge=ce.cellDate,fe=ce.mode,Ie=ce.disabledDate,Oe=ce.generateConfig;if(!Ie)return!1;var dt=function(Ln,Dt,Vt){for(var Nn=Dt;Nn<=Vt;){var ln=void 0;switch(Ln){case"date":{if(ln=Oe.setDate(ge,Nn),!Ie(ln))return!1;break}case"month":{if(ln=Oe.setMonth(ge,Nn),!En({cellDate:ln,mode:"month",generateConfig:Oe,disabledDate:Ie}))return!1;break}case"year":{if(ln=Oe.setYear(ge,Nn),!En({cellDate:ln,mode:"year",generateConfig:Oe,disabledDate:Ie}))return!1;break}}Nn+=1}return!0};switch(fe){case"date":case"week":return Ie(ge);case"month":{var rt=1,Ot=Oe.getDate(Oe.getEndDate(ge));return dt("date",rt,Ot)}case"quarter":{var Lt=Math.floor(Oe.getMonth(ge)/3)*3,Mt=Lt+2;return dt("month",Lt,Mt)}case"year":return dt("month",0,11);case"decade":{var Zn=Oe.getYear(ge),on=Math.floor(Zn/kt)*kt,cn=on+kt-1;return dt("year",on,cn)}}}function rn(ce,ge){var fe=ge.formatList,Ie=ge.generateConfig,Oe=ge.locale;return(0,kn.Z)(function(){if(!ce)return[[""],""];for(var dt="",rt=[],Ot=0;Ot1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(Mt.current),Nn){Lt(Vt);return}Mt.current=requestAnimationFrame(function(){Lt(Vt)})}var on=rn(Ot,{formatList:fe,generateConfig:Ie,locale:Oe}),cn=(0,Xt.Z)(on,2),wn=cn[1];function Ln(Vt){Zn(Vt)}function Dt(){var Vt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Zn(null,Vt)}return(0,ie.useEffect)(function(){Dt(!0)},[ce]),(0,ie.useEffect)(function(){return function(){return cancelAnimationFrame(Mt.current)}},[]),[wn,Ln,Dt]}var Gt=oe(10228),Da=oe(16089),va=oe(80702),wa=oe(29194),pa=new Map;function ja(ce,ge){var fe;function Ie(){(0,wa.Z)(ce)?ge():fe=(0,Da.Z)(function(){Ie()})}return Ie(),function(){Da.Z.cancel(fe)}}function gr(ce,ge,fe){if(pa.get(ce)&&cancelAnimationFrame(pa.get(ce)),fe<=0){pa.set(ce,requestAnimationFrame(function(){ce.scrollTop=ge}));return}var Ie=ge-ce.scrollTop,Oe=Ie/fe*10;pa.set(ce,requestAnimationFrame(function(){ce.scrollTop+=Oe,ce.scrollTop!==ge&&gr(ce,ge,fe-10)}))}function Ua(ce,ge){var fe=ge.onLeftRight,Ie=ge.onCtrlLeftRight,Oe=ge.onUpDown,dt=ge.onPageUpDown,rt=ge.onEnter,Ot=ce.which,Lt=ce.ctrlKey,Mt=ce.metaKey;switch(Ot){case Gt.Z.LEFT:if(Lt||Mt){if(Ie)return Ie(-1),!0}else if(fe)return fe(-1),!0;break;case Gt.Z.RIGHT:if(Lt||Mt){if(Ie)return Ie(1),!0}else if(fe)return fe(1),!0;break;case Gt.Z.UP:if(Oe)return Oe(-1),!0;break;case Gt.Z.DOWN:if(Oe)return Oe(1),!0;break;case Gt.Z.PAGE_UP:if(dt)return dt(-1),!0;break;case Gt.Z.PAGE_DOWN:if(dt)return dt(1),!0;break;case Gt.Z.ENTER:if(rt)return rt(),!0;break}return!1}function Br(ce,ge,fe,Ie){var Oe=ce;if(!Oe)switch(ge){case"time":Oe=Ie?"hh:mm:ss a":"HH:mm:ss";break;case"week":Oe="gggg-wo";break;case"month":Oe="YYYY-MM";break;case"quarter":Oe="YYYY-[Q]Q";break;case"year":Oe="YYYY";break;default:Oe=fe?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Oe}function ho(ce,ge,fe){var Ie=ce==="time"?8:10,Oe=typeof ge=="function"?ge(fe.getNow()).length:ge.length;return Math.max(Ie,Oe)+2}var Ht=null,Tn=new Set;function Xn(ce){return!Ht&&typeof window!="undefined"&&window.addEventListener&&(Ht=function(fe){(0,va.Z)(Tn).forEach(function(Ie){Ie(fe)})},window.addEventListener("mousedown",Ht)),Tn.add(ce),function(){Tn.delete(ce),Tn.size===0&&(window.removeEventListener("mousedown",Ht),Ht=null)}}function ha(ce){var ge=ce.target;if(ce.composed&&ge.shadowRoot){var fe;return((fe=ce.composedPath)===null||fe===void 0?void 0:fe.call(ce)[0])||ge}return ge}var Be=function(ge){return ge==="month"||ge==="date"?"year":ge},at=function(ge){return ge==="date"?"month":ge},st=function(ge){return ge==="month"||ge==="date"?"quarter":ge},Ft=function(ge){return ge==="date"?"week":ge},St={year:Be,month:at,quarter:st,week:Ft,time:null,date:null};function mn(ce,ge){return ce.some(function(fe){return fe&&fe.contains(ge)})}function Jt(ce){var ge=ce.open,fe=ce.value,Ie=ce.isClickOutside,Oe=ce.triggerOpen,dt=ce.forwardKeyDown,rt=ce.onKeyDown,Ot=ce.blurToCancel,Lt=ce.onSubmit,Mt=ce.onCancel,Zn=ce.onFocus,on=ce.onBlur,cn=ce.changeOnBlur,wn=(0,ie.useState)(!1),Ln=(0,Xt.Z)(wn,2),Dt=Ln[0],Vt=Ln[1],Nn=(0,ie.useState)(!1),ln=(0,Xt.Z)(Nn,2),ua=ln[0],Ca=ln[1],Ra=(0,ie.useRef)(!1),Ba=(0,ie.useRef)(!1),ca=(0,ie.useRef)(!1),Rr={onMouseDown:function(){Vt(!0),Oe(!0)},onKeyDown:function(Lr){var eo=function(){ca.current=!0};if(rt(Lr,eo),!ca.current){switch(Lr.which){case Gt.Z.ENTER:{ge?Lt()!==!1&&Vt(!0):Oe(!0),Lr.preventDefault();return}case Gt.Z.TAB:{Dt&&ge&&!Lr.shiftKey?(Vt(!1),Lr.preventDefault()):!Dt&&ge&&!dt(Lr)&&Lr.shiftKey&&(Vt(!0),Lr.preventDefault());return}case Gt.Z.ESC:{Vt(!0),Mt();return}}!ge&&![Gt.Z.SHIFT].includes(Lr.which)?Oe(!0):Dt||dt(Lr)}},onFocus:function(Lr){Vt(!0),Ca(!0),Zn&&Zn(Lr)},onBlur:function(Lr){if(Ra.current||!Ie(document.activeElement)){Ra.current=!1;return}Ot?setTimeout(function(){for(var eo=document,lo=eo.activeElement;lo&&lo.shadowRoot;)lo=lo.shadowRoot.activeElement;Ie(lo)&&Mt()},0):ge&&(Oe(!1),Ba.current&&Lt()),Ca(!1),on==null||on(Lr)}};return(0,ie.useEffect)(function(){Ba.current=!1},[ge]),(0,ie.useEffect)(function(){Ba.current=!0},[fe]),(0,ie.useEffect)(function(){return Xn(function(sr){var Lr=ha(sr),eo=Ie(Lr);ge&&(eo?!cn&&(!ua||eo)&&Oe(!1):(Ra.current=!0,(0,Da.Z)(function(){Ra.current=!1})))})}),[Rr,{focused:ua,typing:Dt}]}function Ge(ce,ge){return ie.useMemo(function(){return ce||(ge?((0,De.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(ge).map(function(fe){var Ie=(0,Xt.Z)(fe,2),Oe=Ie[0],dt=Ie[1];return{label:Oe,value:dt}})):[])},[ce,ge])}var Ke=oe(34280);function Ue(ce){var ge=ce.valueTexts,fe=ce.onTextChange,Ie=ie.useState(""),Oe=(0,Xt.Z)(Ie,2),dt=Oe[0],rt=Oe[1],Ot=ie.useRef([]);Ot.current=ge;function Lt(Zn){rt(Zn),fe(Zn)}function Mt(){rt(Ot.current[0])}return(0,Ke.Z)(function(){ge.every(function(Zn){return Zn!==dt})&&Mt()},[ge.join("||")]),[dt,Lt,Mt]}var Ct=ie.createContext({}),sn=Ct,hn=oe(62853);function aa(ce){var ge=ce.cellRender,fe=ce.monthCellRender,Ie=ce.dateRender,Oe=ie.useMemo(function(){if(ge)return ge;if(!(!fe&&!Ie))return function(dt,rt){var Ot=dt;return Ie&&rt.type==="date"?Ie(Ot,rt.today):fe&&rt.type==="month"?fe(Ot,rt.locale):rt.originNode}},[ge,fe,Ie]);return Oe}function Vn(ce,ge){for(var fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Ie=String(ce);Ie.length=1?fe|0:1,rt=ce;rt<=ge;rt+=dt)Oe.push({label:Vn(rt,2),value:rt,disabled:(Ie||[]).includes(rt)});return Oe}function _r(ce){var ge=ce.generateConfig,fe=ce.prefixCls,Ie=ce.operationRef,Oe=ce.activeColumnIndex,dt=ce.value,rt=ce.showHour,Ot=ce.showMinute,Lt=ce.showSecond,Mt=ce.use12Hours,Zn=ce.hourStep,on=Zn===void 0?1:Zn,cn=ce.minuteStep,wn=cn===void 0?1:cn,Ln=ce.secondStep,Dt=Ln===void 0?1:Ln,Vt=ce.disabledHours,Nn=ce.disabledMinutes,ln=ce.disabledSeconds,ua=ce.disabledTime,Ca=ce.hideDisabledOptions,Ra=ce.onSelect,Ba=ce.cellRender,ca=ce.locale,Rr=[],sr="".concat(fe,"-content"),Lr="".concat(fe,"-time-panel"),eo,lo=dt?ge.getHour(dt):-1,On=lo,Qo=dt?ge.getMinute(dt):-1,fo=dt?ge.getSecond(dt):-1,Yr=ge.getNow(),to=ie.useMemo(function(){if(ua){var Vr=ua(Yr);return[Vr.disabledHours,Vr.disabledMinutes,Vr.disabledSeconds]}return[Vt,Nn,ln]},[Vt,Nn,ln,ua,Yr]),Po=(0,Xt.Z)(to,3),Bo=Po[0],co=Po[1],Sr=Po[2],Ro=pr(0,23,on,Bo&&Bo()),No=(0,kn.Z)(function(){return Ro},Ro,Ka);Mt&&(eo=On>=12,On%=12);var Fi=ie.useMemo(function(){if(!Mt)return[!1,!1];var Vr=[!0,!0];return No.forEach(function(po){var yo=po.disabled,mi=po.value;yo||(mi>=12?Vr[1]=!1:Vr[0]=!1)}),Vr},[Mt,No]),Jo=(0,Xt.Z)(Fi,2),bi=Jo[0],Kr=Jo[1],li=ie.useMemo(function(){return Mt?No.filter(eo?function(Vr){return Vr.value>=12}:function(Vr){return Vr.value<12}).map(function(Vr){var po=Vr.value%12,yo=po===0?"12":Vn(po,2);return(0,ut.Z)((0,ut.Z)({},Vr),{},{label:yo,value:po})}):No},[Mt,eo,No]),hi=pr(0,59,wn,co&&co(lo)),Oi=pr(0,59,Dt,Sr&&Sr(lo,Qo)),gi=Aa({value:dt,generateConfig:ge,disabledMinutes:co,disabledSeconds:Sr,minutes:hi,seconds:Oi,use12Hours:Mt});Ie.current={onUpDown:function(po){var yo=Rr[Oe];if(yo)for(var mi=yo.units.findIndex(function(Bl){return Bl.value===yo.value}),Mi=yo.units.length,$o=1;$o2&&arguments[2]!==void 0?arguments[2]:!1;(Xo===Vt||ko)&&($l(Na),Rr&&Rr(Na),gi&&gi(Na,Jr),sr&&!Kn(Lt,Na,Gi)&&!(wn!=null&&wn(Na))&&sr(Na))},ki=function(Na){if(hr.includes(Xo)){var Jr,ko,fl=Xo==="date";switch(Na===Gt.Z.PAGE_UP||Na===Gt.Z.PAGE_DOWN?ko=fl?Lt.addMonth:Lt.addYear:ko=fl?Lt.addDate:Lt.addMonth,Na){case Gt.Z.LEFT:case Gt.Z.PAGE_UP:Jr=ko(Ri,-1);break;case Gt.Z.RIGHT:case Gt.Z.PAGE_DOWN:Jr=ko(Ri,1);break;case Gt.Z.UP:case Gt.Z.DOWN:Jr=ko(Ri,Number("".concat(Na===Gt.Z.UP?"-":"").concat(fl?Qn:oi)));break}if(Jr)return!(wn!=null&&wn(Jr))}return!0},Hl=function(Na){if($o.current&&$o.current.onKeyDown){var Jr=!0,ko=Na.which;if([Gt.Z.LEFT,Gt.Z.RIGHT,Gt.Z.UP,Gt.Z.DOWN,Gt.Z.PAGE_UP,Gt.Z.PAGE_DOWN,Gt.Z.ENTER].includes(ko)&&(Na.preventDefault(),ko!==Gt.Z.ENTER&&ln===0&&(Jr=ki(ko))),Jr)return $o.current.onKeyDown(Na)}return(0,De.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},Zo=function(Na){$o.current&&$o.current.onBlur&&$o.current.onBlur(Na)};Oi&&yo!=="right"&&(Oi.current={onKeyDown:Hl,onClose:function(){$o.current&&$o.current.onClose&&$o.current.onClose()}}),ie.useEffect(function(){Mt&&!Si.current&&hl(Mt)},[Mt]),ie.useEffect(function(){Si.current=!1},[]);var Ji,xl=aa({cellRender:Fi,monthCellRender:No,dateRender:Ro}),ea=(0,ut.Z)((0,ut.Z)({},ce),{},{cellRender:xl,operationRef:$o,prefixCls:Oe,viewDate:Ri,value:Gi,onViewDateChange:ji,sourceMode:al,onPanelChange:Al,disabledDate:wn});switch(delete ea.onChange,delete ea.onSelect,Xo){case"decade":Ji=ie.createElement(Ha,(0,se.Z)({},ea,{onSelect:function(Na,Jr){ji(Na),fi(Na,Jr)}}));break;case"year":Ji=ie.createElement(yn,(0,se.Z)({},ea,{onSelect:function(Na,Jr){ji(Na),fi(Na,Jr)}}));break;case"month":Ji=ie.createElement(wi,(0,se.Z)({},ea,{onSelect:function(Na,Jr){ji(Na),fi(Na,Jr)}}));break;case"quarter":Ji=ie.createElement(Za,(0,se.Z)({},ea,{onSelect:function(Na,Jr){ji(Na),fi(Na,Jr)}}));break;case"week":Ji=ie.createElement(Rn,(0,se.Z)({},ea,{onSelect:function(Na,Jr){ji(Na),fi(Na,Jr)}}));break;case"time":delete ea.showTime,Ji=ie.createElement(pi,(0,se.Z)({},ea,(0,hn.Z)(Ca)==="object"?Ca:null,{onSelect:function(Na,Jr){ji(Na),fi(Na,Jr)}}));break;default:Ca?Ji=ie.createElement(so,(0,se.Z)({},ea,{onSelect:function(Na,Jr){ji(Na),fi(Na,Jr)}})):Ji=ie.createElement(Oa,(0,se.Z)({},ea,{onSelect:function(Na,Jr){ji(Na),fi(Na,Jr)}}))}var Rl,gl,ml=function(){var Na=Lt.getNow(),Jr=Ta(Lt.getHour(Na),Lt.getMinute(Na),Lt.getSecond(Na),bi?to:1,Kr?Bo:1,li?Sr:1),ko=zt(Lt,Na,Jr[0],Jr[1],Jr[2]);fi(ko,"submit")};Ki||(Rl=Ma(Oe,Xo,Ba),Ca&&Xo!=="date"?gl=null:gl=ir({prefixCls:Oe,components:Qo,needConfirmButton:Jo,okDisabled:!Gi||wn&&wn(Gi),locale:Ot,showNow:ua,onNow:Jo&&ml,onOk:function(){Gi&&(fi(Gi,"submit",!0),On&&On(Gi))}}));var kl;if(Ra&&Xo==="date"&&Vt==="date"&&!Ca){var Dl=Lt.getNow(),tu="".concat(Oe,"-today-btn"),zl=wn&&wn(Dl);kl=ie.createElement("a",{className:Te()(tu,zl&&"".concat(tu,"-disabled")),"aria-disabled":zl,onClick:function(){zl||fi(Dl,"mouse",!0)}},Ot.today)}return ie.createElement(sn.Provider,{value:(0,ut.Z)((0,ut.Z)({},hi),{},{mode:Xo,hideHeader:"hideHeader"in ce?ca:hi.hideHeader,hidePrevBtn:po&&yo==="right",hideNextBtn:po&&yo==="left"})},ie.createElement("div",{tabIndex:ln,className:Te()("".concat(Oe,"-panel"),dt,(ge={},(0,Ce.Z)(ge,"".concat(Oe,"-panel-has-range"),mi&&mi[0]&&mi[1]),(0,Ce.Z)(ge,"".concat(Oe,"-panel-has-range-hover"),Mi&&Mi[0]&&Mi[1]),(0,Ce.Z)(ge,"".concat(Oe,"-panel-rtl"),fo==="rtl"),ge)),style:rt,onKeyDown:Hl,onBlur:Zo,onMouseDown:eo},Ji,Rl||gl||kl?ie.createElement("div",{className:"".concat(Oe,"-footer")},Rl,gl,kl):null))}var ma=da,ar=oe(35593),dr={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 Mo(ce){var ge,fe=ce.prefixCls,Ie=ce.popupElement,Oe=ce.popupStyle,dt=ce.visible,rt=ce.dropdownClassName,Ot=ce.dropdownAlign,Lt=ce.transitionName,Mt=ce.getPopupContainer,Zn=ce.children,on=ce.range,cn=ce.popupPlacement,wn=ce.direction,Ln="".concat(fe,"-dropdown"),Dt=function(){return cn!==void 0?cn:wn==="rtl"?"bottomRight":"bottomLeft"};return ie.createElement(ar.Z,{showAction:[],hideAction:[],popupPlacement:Dt(),builtinPlacements:dr,prefixCls:Ln,popupTransitionName:Lt,popup:Ie,popupAlign:Ot,popupVisible:dt,popupClassName:Te()(rt,(ge={},(0,Ce.Z)(ge,"".concat(Ln,"-range"),on),(0,Ce.Z)(ge,"".concat(Ln,"-rtl"),wn==="rtl"),ge)),popupStyle:Oe,getPopupContainer:Mt},Zn)}var Ko=Mo;function Lo(ce){var ge=ce.prefixCls,fe=ce.presets,Ie=ce.onClick,Oe=ce.onHover;return fe.length?ie.createElement("div",{className:"".concat(ge,"-presets")},ie.createElement("ul",null,fe.map(function(dt,rt){var Ot=dt.label,Lt=dt.value;return ie.createElement("li",{key:rt,onClick:function(){return Ie==null?void 0:Ie(La(Lt))},onMouseEnter:function(){return Oe==null?void 0:Oe(La(Lt))},onMouseLeave:function(){return Oe==null?void 0:Oe(null)}},Ot)}))):null}function Wo(ce){var ge=ce.picker,fe=ce.disabledHours,Ie=ce.disabledMinutes,Oe=ce.disabledSeconds;ge==="time"&&(fe||Ie||Oe)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function ai(ce,ge,fe){var Ie=(0,hn.Z)(ge)==="object"?ge.clearIcon:fe;return Ie||ie.createElement("span",{className:"".concat(ce,"-clear-btn")})}function ui(ce){var ge,fe=ce,Ie=fe.prefixCls,Oe=Ie===void 0?"rc-picker":Ie,dt=fe.id,rt=fe.name,Ot=fe.tabIndex,Lt=fe.style,Mt=fe.className,Zn=fe.dropdownClassName,on=fe.dropdownAlign,cn=fe.popupStyle,wn=fe.transitionName,Ln=fe.generateConfig,Dt=fe.locale,Vt=fe.inputReadOnly,Nn=fe.allowClear,ln=fe.autoFocus,ua=fe.showTime,Ca=fe.picker,Ra=Ca===void 0?"date":Ca,Ba=fe.format,ca=fe.use12Hours,Rr=fe.value,sr=fe.defaultValue,Lr=fe.presets,eo=fe.open,lo=fe.defaultOpen,On=fe.defaultOpenValue,Qo=fe.suffixIcon,fo=fe.clearIcon,Yr=fe.disabled,to=fe.disabledDate,Po=fe.placeholder,Bo=fe.getPopupContainer,co=fe.pickerRef,Sr=fe.panelRender,Ro=fe.onChange,No=fe.onOpenChange,Fi=fe.onFocus,Jo=fe.onBlur,bi=fe.onMouseDown,Kr=fe.onMouseUp,li=fe.onMouseEnter,hi=fe.onMouseLeave,Oi=fe.onContextMenu,gi=fe.onClick,Ki=fe.onKeyDown,cl=fe.onSelect,Vr=fe.direction,po=fe.autoComplete,yo=po===void 0?"off":po,mi=fe.inputRender,Mi=fe.changeOnBlur,$o=ie.useRef(null),Si=Ra==="date"&&!!ua||Ra==="time",Bl=Ge(Lr),Zi=Gn(Br(Ba,Ra,ua,ca)),Gi=ie.useRef(null),$l=ie.useRef(null),uu=ie.useRef(null),Bn=(0,nt.Z)(null,{value:Rr,defaultValue:sr}),Ri=(0,Xt.Z)(Bn,2),hl=Ri[0],ji=Ri[1],eu=ie.useState(hl),Ml=(0,Xt.Z)(eu,2),nl=Ml[0],Xo=Ml[1],Ho=ie.useRef(null),Hi=(0,nt.Z)(!1,{value:eo,defaultValue:lo,postState:function(qt){return Yr?!1:qt},onChange:function(qt){No&&No(qt),!qt&&Ho.current&&Ho.current.onClose&&Ho.current.onClose()}}),Fo=(0,Xt.Z)(Hi,2),al=Fo[0],Ci=Fo[1],Al=rn(nl,{formatList:Zi,generateConfig:Ln,locale:Dt}),fi=(0,Xt.Z)(Al,2),ki=fi[0],Hl=fi[1],Zo=Ue({valueTexts:ki,onTextChange:function(qt){var Yt=Va(qt,{locale:Dt,formatList:Zi,generateConfig:Ln});Yt&&(!to||!to(Yt))&&Xo(Yt)}}),Ji=(0,Xt.Z)(Zo,3),xl=Ji[0],ea=Ji[1],Rl=Ji[2],gl=function(qt){Xo(qt),ji(qt),Ro&&!Kn(Ln,hl,qt)&&Ro(qt,qt?Ea(qt,{generateConfig:Ln,locale:Dt,format:Zi[0]}):"")},ml=function(qt){Yr&&qt||Ci(qt)},kl=function(qt){return al&&Ho.current&&Ho.current.onKeyDown?Ho.current.onKeyDown(qt):((0,De.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Dl=function(){for(var qt=arguments.length,Yt=new Array(qt),Kt=0;Ktcn(Mt);case"month":return on(Dt)>on(Mt);case"week":return Zn(Dt)>Zn(Mt);default:return!xa(Ot,Dt,Mt)&&Ot.isAfter(Dt,Mt)}return!1},[dt,rt[1],Mt,ge]),Ln=ie.useCallback(function(Dt){if(rt[1]||dt&&dt(Dt))return!0;if(rt[0]&&Lt)return!xa(Ot,Dt,Mt)&&Ot.isAfter(Lt,Dt);if(!ge&&Lt)switch(fe){case"quarter":return cn(Dt)0&&arguments[0]!==void 0?arguments[0]:!1,Ia=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},fr=null;it&&Xi&&Xi[0]&&Xi[1]&&Dt.isAfter(Xi[1],Xi[0])&&(fr=Xi);var uo=ca;if(ca&&(0,hn.Z)(ca)==="object"&&ca.defaultValue){var qo=ca.defaultValue;uo=(0,ut.Z)((0,ut.Z)({},ca),{},{defaultValue:_n(qo,vt)||void 0})}return ie.createElement(Wa.Provider,{value:{inRange:!0,panelPosition:Dr,rangedValue:rl||mr,hoverRangedValue:fr}},ie.createElement(ma,(0,se.Z)({},ce,Ia,{cellRender:hs,showTime:uo,mode:fl[vt],generateConfig:Dt,style:void 0,direction:Ri,disabledDate:vt===0?Ye:wt,disabledTime:function(Nl){return to?to(Nl,vt===0?"start":"end"):!1},className:Te()((0,Ce.Z)({},"".concat(rt,"-panel-focused"),vt===0?!yr:!Gl)),value:_n(mr,vt),locale:Vt,tabIndex:-1,onPanelChange:function(Nl,Ql){vt===0&&Io(!0),vt===1&&Ai(!0),ue(jt(fl,Ql,vt),jt(mr,Nl,vt));var Il=Nl;Dr==="right"&&fl[vt]===Ql&&(Il=oa(Il,Ql,Dt,-1)),Dl(Il,vt)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:vt===0?_n(mr,1):_n(mr,0)})))}var Ul=0,$u=0;if(vt&&Hi.current&&al.current&&Ho.current&&fi.current){Ul=Hi.current.offsetWidth+al.current.offsetWidth;var Ss=fi.current.offsetLeft>Ul?fi.current.offsetLeft-Ul:fi.current.offsetLeft,es=Ho.current.offsetWidth,Gu=fi.current.offsetWidth;es&&Gu&&Ul>es-Gu-(Ri==="rtl"?0:Ss)&&($u=Ul)}var ts=Ri==="rtl"?{right:Ul}:{left:Ul};function Yn(){var Dr,Ia=Ma(rt,fl[vt],gi),fr=ir({prefixCls:rt,components:uu,needConfirmButton:nl,okDisabled:!_n(mr,vt)||Yr&&Yr(mr[vt]),locale:Vt,onOk:function(){var Pl=_n(mr,vt);Pl&&(Kt(mr,vt),Gi==null||Gi(mr),vn(!1,vt,"confirm"))}});if(Ba!=="time"&&!ca){var uo=kl(vt),qo=oa(uo,Ba,Dt),du=fl[vt],Nl=du===Ba,Ql=Zu(Nl?"left":!1,{pickerValue:uo,onPickerValueChange:function(Pl){Dl(Pl,vt)}}),Il=Zu("right",{pickerValue:qo,onPickerValueChange:function(Pl){Dl(oa(Pl,Ba,Dt,-1),vt)}});Ri==="rtl"?Dr=ie.createElement(ie.Fragment,null,Il,Nl&&Ql):Dr=ie.createElement(ie.Fragment,null,Ql,Nl&&Il)}else Dr=Zu();var fu=ie.createElement("div",{className:"".concat(rt,"-panel-layout")},ie.createElement(Lo,{prefixCls:rt,presets:au,onClick:function(Pl){Kt(Pl,null),vn(!1,vt,"preset")},onHover:function(Pl){ri(Pl)}}),ie.createElement("div",null,ie.createElement("div",{className:"".concat(rt,"-panels")},Dr),(Ia||fr)&&ie.createElement("div",{className:"".concat(rt,"-footer")},Ia,fr)));return Sr&&(fu=Sr(fu)),ie.createElement("div",{className:"".concat(rt,"-panel-container"),style:{marginLeft:$u},ref:Ho,onMouseDown:function(Pl){Pl.preventDefault()}},fu)}var Ja=ie.createElement("div",{className:Te()("".concat(rt,"-range-wrapper"),"".concat(rt,"-").concat(Ba,"-range-wrapper")),style:{minWidth:xt}},ie.createElement("div",{ref:fi,className:"".concat(rt,"-range-arrow"),style:ts}),Yn()),Ir;bi&&(Ir=ie.createElement("span",{className:"".concat(rt,"-suffix"),onMouseDown:function(Ia){Ia.preventDefault()}},bi));var oo=ai(rt,Jo,Kr),qr=ie.createElement("span",{onMouseDown:function(Ia){Ia.preventDefault(),Ia.stopPropagation()},onMouseUp:function(Ia){Ia.preventDefault(),Ia.stopPropagation();var fr=ea;Zo[0]||(fr=jt(fr,null,0)),Zo[1]||(fr=jt(fr,null,1)),Kt(fr,null),vn(!1,vt,"clear")},className:"".concat(rt,"-clear"),role:"button"},oo),xr=Jo&&(_n(ea,0)&&!Zo[0]||_n(ea,1)&&!Zo[1]),mo={size:ho(Ba,ki[0],Dt)},Do=0,_i=0;Hi.current&&Fo.current&&al.current&&(vt===0?_i=Hi.current.offsetWidth:(Do=Ul,_i=Fo.current.offsetWidth));var Ll=Ri==="rtl"?{right:Do}:{left:Do},su=function(Ia,fr){var uo=jt(mr,Ia,vt);if(fr==="submit"||fr!=="key"&&!nl){Kt(uo,vt),vt===0?Io():Ai();var qo=vt===0?1:0;Zo[qo]?vn(!1,!1,"confirm"):vn(!1,vt,"confirm")}else Na(uo)};return ie.createElement(sn.Provider,{value:{operationRef:Hl,hideHeader:Ba==="time",onDateMouseEnter:Tl,onDateMouseLeave:wl,hideRanges:!0,onSelect:su,open:it}},ie.createElement(Ko,{visible:it,popupElement:Ja,popupStyle:Zn,prefixCls:rt,dropdownClassName:on,dropdownAlign:wn,getPopupContainer:Ln,transitionName:cn,range:!0,direction:Ri},ie.createElement("div",(0,se.Z)({ref:Xo,className:Te()(rt,"".concat(rt,"-range"),Mt,(ge={},(0,Ce.Z)(ge,"".concat(rt,"-disabled"),Zo[0]&&Zo[1]),(0,Ce.Z)(ge,"".concat(rt,"-focused"),vt===0?rr:Pi),(0,Ce.Z)(ge,"".concat(rt,"-rtl"),Ri==="rtl"),ge)),style:Lt,onClick:Wl,onMouseEnter:Si,onMouseLeave:Bl,onMouseDown:qu,onMouseUp:$o},(0,Pt.Z)(ce,{aria:!0,data:!0})),ie.createElement("div",{className:Te()("".concat(rt,"-input"),(fe={},(0,Ce.Z)(fe,"".concat(rt,"-input-active"),vt===0),(0,Ce.Z)(fe,"".concat(rt,"-input-placeholder"),!!_l),fe)),ref:Hi},ie.createElement("input",(0,se.Z)({id:Ot,disabled:Zo[0],readOnly:hi||typeof ki[0]=="function"||!yr,value:_l||zo,onChange:function(Ia){Pa(Ia.target.value)},autoFocus:ln,placeholder:_n(Nn,0)||"",ref:Ci},Hn,mo,{autoComplete:eu}))),ie.createElement("div",{className:"".concat(rt,"-range-separator"),ref:al},Lr),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"),!!Wi),Ie)),ref:Fo},ie.createElement("input",(0,se.Z)({disabled:Zo[1],readOnly:hi||typeof ki[0]=="function"||!Gl,value:Wi||In,onChange:function(Ia){ei(Ia.target.value)},placeholder:_n(Nn,1)||"",ref:Al},To,mo,{autoComplete:eu}))),ie.createElement("div",{className:"".concat(rt,"-active-bar"),style:(0,ut.Z)((0,ut.Z)({},Ll),{},{width:_i,position:"absolute"})}),Ir,xr&&qr)))}var Li=function(ce){(0,Bt.Z)(fe,ce);var ge=(0,un.Z)(fe);function fe(){var Ie;(0,ot.Z)(this,fe);for(var Oe=arguments.length,dt=new Array(Oe),rt=0;rt{const{lineHeight:Oe}=ce,dt=Math.floor(fe*Oe)+2,rt=Math.max((ge-dt)/2,0),Ot=Math.max(ge-dt-rt,0);return{padding:`${rt}px ${Ie}px ${Ot}px`}},ls=ce=>{const{componentCls:ge,pickerCellCls:fe,pickerCellInnerCls:Ie,cellHeight:Oe,motionDurationSlow:dt,borderRadiusSM:rt,motionDurationMid:Ot,cellHoverBg:Lt,lineWidth:Mt,lineType:Zn,colorPrimary:on,cellActiveWithRangeBg:cn,colorTextLightSolid:wn,controlHeightSM:Ln,cellRangeBorderColor:Dt,pickerCellBorderGap:Vt,cellHoverWithRangeBg:Nn,cellWidth:ln,colorTextDisabled:ua,cellBgDisabled:Ca}=ce;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Oe,transform:"translateY(-50%)",transition:`all ${dt}`,content:'""'},[Ie]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Oe,height:Oe,lineHeight:`${Oe}px`,borderRadius:rt,transition:`background ${Ot}, border ${Ot}`},"&-range-hover-start, &-range-hover-end":{[Ie]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${fe}-in-view), - &:hover:not(${fe}-selected):not(${fe}-range-start):not(${fe}-range-end):not(${fe}-range-hover-start):not(${fe}-range-hover-end)`]:{[Ie]:{background:Lt}},[`&-in-view${fe}-today ${Ie}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${Mt}px ${Zn} ${on}`,borderRadius:rt,content:'""'}},[`&-in-view${fe}-in-range`]:{position:"relative","&::before":{background:cn}},[`&-in-view${fe}-selected ${Ie}, + `]:{borderRadius:0},[`> ${Pt}-item:last-child`]:{borderBottom:0},[`> ${Pt}-item > ${Pt}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Pt}-item > ${Pt}-content > ${Pt}-content-box`]:{paddingTop:sn}}}},At=nt=>{const{componentCls:Pt,paddingSM:_n}=nt;return{[`${Pt}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Pt}-item`]:{borderBottom:0,[`> ${Pt}-content`]:{backgroundColor:"transparent",border:0,[`> ${Pt}-content-box`]:{paddingBlock:_n}}}}}};var ln=(0,_t.Z)("Collapse",nt=>{const Pt=(0,Te.TS)(nt,{collapseHeaderPaddingSM:`${nt.paddingXS}px ${nt.paddingSM}px`,collapseHeaderPaddingLG:`${nt.padding}px ${nt.paddingLG}px`,collapsePanelBorderRadius:nt.borderRadiusLG});return[ot(Pt),xn(Pt),At(Pt),Ut(Pt),(0,Wt.Z)(Pt)]},nt=>({headerPadding:`${nt.paddingSM}px ${nt.padding}px`,headerBg:nt.colorFillAlter,contentPadding:`${nt.padding}px 16px`,contentBg:nt.colorBgContainer})),ut=Object.assign(Le.forwardRef((nt,Pt)=>{const{getPrefixCls:_n,direction:sn,collapse:Rt}=Le.useContext(ct.E_),{prefixCls:Mt,className:Yn,rootClassName:aa,style:tn,bordered:Fa=!0,ghost:_a,size:ya,expandIconPosition:Vn="start",children:xa,expandIcon:cr}=nt,Ya=(0,Lt.Z)(Gt=>{var Da;return(Da=ya!=null?ya:Gt)!==null&&Da!==void 0?Da:"middle"}),Jn=_n("collapse",Mt),da=_n(),[ea,ia]=ln(Jn),Ea=Le.useMemo(()=>Vn==="left"?"start":Vn==="right"?"end":Vn,[Vn]),Va=function(){let Gt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Da=cr?cr(Gt):Le.createElement(b.Z,{rotate:Gt.isActive?90:void 0});return(0,ht.Tm)(Da,()=>({className:De()(Da.props.className,`${Jn}-arrow`)}))},Pn=De()(`${Jn}-icon-position-${Ea}`,{[`${Jn}-borderless`]:!Fa,[`${Jn}-rtl`]:sn==="rtl",[`${Jn}-ghost`]:!!_a,[`${Jn}-${Ya}`]:Ya!=="middle"},Rt==null?void 0:Rt.className,Yn,aa,ia),an=Object.assign(Object.assign({},(0,we.Z)(da)),{motionAppear:!1,leavedClassName:`${Jn}-content-hidden`}),bt=Le.useMemo(()=>xa?(0,He.Z)(xa).map((Gt,Da)=>{var pa,wa;if(!((pa=Gt.props)===null||pa===void 0)&&pa.disabled){const ha=(wa=Gt.key)!==null&&wa!==void 0?wa:String(Da),{disabled:ja,collapsible:gr}=Gt.props,Ua=Object.assign(Object.assign({},(0,et.Z)(Gt.props,["disabled"])),{key:ha,collapsible:gr!=null?gr:ja?"disabled":void 0});return(0,ht.Tm)(Gt,Ua)}return Gt}):null,[xa]);return ea(Le.createElement(Je,Object.assign({ref:Pt,openMotion:an},(0,et.Z)(nt,["rootClassName"]),{expandIcon:Va,prefixCls:Jn,className:Pn,style:Object.assign(Object.assign({},Rt==null?void 0:Rt.style),tn)}),bt))}),{Panel:yn}),Xt=ut},5083:function(yt,kt,oe){"use strict";oe.d(kt,{default:function(){return fs}});var b=oe(61186),he=oe.n(b),De=oe(48736),Ae=oe(90111),ke=oe.n(Ae),ze=oe(58319),xe=oe.n(ze),tt=oe(23250),Me=oe.n(tt),Le=oe(74959),_e=oe.n(Le),He=oe(10238),Ke=oe.n(He),le=oe(33656),E=oe.n(le);he().extend(E()),he().extend(Ke()),he().extend(ke()),he().extend(xe()),he().extend(Me()),he().extend(_e()),he().extend(function(ce,ge){var fe=ge.prototype,Ie=fe.format;fe.format=function(dt){var rt=(dt||"").replace("Wo","wo");return Ie.bind(this)(rt)}});var a={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},x=function(ge){var fe=a[ge];return fe||ge.split("_")[0]},y=function(){(0,De.ET)(!1,"Not match any format. Please help to fire a issue about this.")},z={getNow:function(){return he()()},getFixedDate:function(ge){return he()(ge,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(ge){return ge.endOf("month")},getWeekDay:function(ge){var fe=ge.locale("en");return fe.weekday()+fe.localeData().firstDayOfWeek()},getYear:function(ge){return ge.year()},getMonth:function(ge){return ge.month()},getDate:function(ge){return ge.date()},getHour:function(ge){return ge.hour()},getMinute:function(ge){return ge.minute()},getSecond:function(ge){return ge.second()},addYear:function(ge,fe){return ge.add(fe,"year")},addMonth:function(ge,fe){return ge.add(fe,"month")},addDate:function(ge,fe){return ge.add(fe,"day")},setYear:function(ge,fe){return ge.year(fe)},setMonth:function(ge,fe){return ge.month(fe)},setDate:function(ge,fe){return ge.date(fe)},setHour:function(ge,fe){return ge.hour(fe)},setMinute:function(ge,fe){return ge.minute(fe)},setSecond:function(ge,fe){return ge.second(fe)},isAfter:function(ge,fe){return ge.isAfter(fe)},isValidate:function(ge){return ge.isValid()},locale:{getWeekFirstDay:function(ge){return he()().locale(x(ge)).localeData().firstDayOfWeek()},getWeekFirstDate:function(ge,fe){return fe.locale(x(ge)).weekday(0)},getWeek:function(ge,fe){return fe.locale(x(ge)).week()},getShortWeekDays:function(ge){return he()().locale(x(ge)).localeData().weekdaysMin()},getShortMonths:function(ge){return he()().locale(x(ge)).localeData().monthsShort()},format:function(ge,fe,Ie){return fe.locale(x(ge)).format(Ie)},parse:function(ge,fe,Ie){for(var Oe=x(ge),dt=0;dt1&&(rt=ge.addDate(rt,-7)),rt}function ia(ce,ge,fe){var Ie=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(ge){case"year":return fe.addYear(ce,Ie*10);case"quarter":case"month":return fe.addYear(ce,Ie);default:return fe.addMonth(ce,Ie)}}function Ea(ce,ge){var fe=ge.generateConfig,Ie=ge.locale,Oe=ge.format;return typeof Oe=="function"?Oe(ce):fe.locale.format(Ie.locale,ce,Oe)}function Va(ce,ge){var fe=ge.generateConfig,Ie=ge.locale,Oe=ge.formatList;return!ce||typeof Oe[0]=="function"?null:fe.locale.parse(Ie.locale,ce,Oe)}function Pn(ce){var ge=ce.cellDate,fe=ce.mode,Ie=ce.disabledDate,Oe=ce.generateConfig;if(!Ie)return!1;var dt=function(In,Dt,Vt){for(var On=Dt;On<=Vt;){var on=void 0;switch(In){case"date":{if(on=Oe.setDate(ge,On),!Ie(on))return!1;break}case"month":{if(on=Oe.setMonth(ge,On),!Pn({cellDate:on,mode:"month",generateConfig:Oe,disabledDate:Ie}))return!1;break}case"year":{if(on=Oe.setYear(ge,On),!Pn({cellDate:on,mode:"year",generateConfig:Oe,disabledDate:Ie}))return!1;break}}On+=1}return!0};switch(fe){case"date":case"week":return Ie(ge);case"month":{var rt=1,Nt=Oe.getDate(Oe.getEndDate(ge));return dt("date",rt,Nt)}case"quarter":{var wt=Math.floor(Oe.getMonth(ge)/3)*3,It=wt+2;return dt("month",wt,It)}case"year":return dt("month",0,11);case"decade":{var Gn=Oe.getYear(ge),rn=Math.floor(Gn/Rt)*Rt,dn=rn+Rt-1;return dt("year",rn,dn)}}}function an(ce,ge){var fe=ge.formatList,Ie=ge.generateConfig,Oe=ge.locale;return(0,_n.Z)(function(){if(!ce)return[[""],""];for(var dt="",rt=[],Nt=0;Nt1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(It.current),On){wt(Vt);return}It.current=requestAnimationFrame(function(){wt(Vt)})}var rn=an(Nt,{formatList:fe,generateConfig:Ie,locale:Oe}),dn=(0,Xt.Z)(rn,2),Nn=dn[1];function In(Vt){Gn(Vt)}function Dt(){var Vt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Gn(null,Vt)}return(0,ie.useEffect)(function(){Dt(!0)},[ce]),(0,ie.useEffect)(function(){return function(){return cancelAnimationFrame(It.current)}},[]),[Nn,In,Dt]}var Gt=oe(10228),Da=oe(16089),pa=oe(80702),wa=oe(29194),ha=new Map;function ja(ce,ge){var fe;function Ie(){(0,wa.Z)(ce)?ge():fe=(0,Da.Z)(function(){Ie()})}return Ie(),function(){Da.Z.cancel(fe)}}function gr(ce,ge,fe){if(ha.get(ce)&&cancelAnimationFrame(ha.get(ce)),fe<=0){ha.set(ce,requestAnimationFrame(function(){ce.scrollTop=ge}));return}var Ie=ge-ce.scrollTop,Oe=Ie/fe*10;ha.set(ce,requestAnimationFrame(function(){ce.scrollTop+=Oe,ce.scrollTop!==ge&&gr(ce,ge,fe-10)}))}function Ua(ce,ge){var fe=ge.onLeftRight,Ie=ge.onCtrlLeftRight,Oe=ge.onUpDown,dt=ge.onPageUpDown,rt=ge.onEnter,Nt=ce.which,wt=ce.ctrlKey,It=ce.metaKey;switch(Nt){case Gt.Z.LEFT:if(wt||It){if(Ie)return Ie(-1),!0}else if(fe)return fe(-1),!0;break;case Gt.Z.RIGHT:if(wt||It){if(Ie)return Ie(1),!0}else if(fe)return fe(1),!0;break;case Gt.Z.UP:if(Oe)return Oe(-1),!0;break;case Gt.Z.DOWN:if(Oe)return Oe(1),!0;break;case Gt.Z.PAGE_UP:if(dt)return dt(-1),!0;break;case Gt.Z.PAGE_DOWN:if(dt)return dt(1),!0;break;case Gt.Z.ENTER:if(rt)return rt(),!0;break}return!1}function Br(ce,ge,fe,Ie){var Oe=ce;if(!Oe)switch(ge){case"time":Oe=Ie?"hh:mm:ss a":"HH:mm:ss";break;case"week":Oe="gggg-wo";break;case"month":Oe="YYYY-MM";break;case"quarter":Oe="YYYY-[Q]Q";break;case"year":Oe="YYYY";break;default:Oe=fe?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Oe}function po(ce,ge,fe){var Ie=ce==="time"?8:10,Oe=typeof ge=="function"?ge(fe.getNow()).length:ge.length;return Math.max(Ie,Oe)+2}var Ht=null,Zn=new Set;function qn(ce){return!Ht&&typeof window!="undefined"&&window.addEventListener&&(Ht=function(fe){(0,pa.Z)(Zn).forEach(function(Ie){Ie(fe)})},window.addEventListener("mousedown",Ht)),Zn.add(ce),function(){Zn.delete(ce),Zn.size===0&&(window.removeEventListener("mousedown",Ht),Ht=null)}}function Sa(ce){var ge=ce.target;if(ce.composed&&ge.shadowRoot){var fe;return((fe=ce.composedPath)===null||fe===void 0?void 0:fe.call(ce)[0])||ge}return ge}var Be=function(ge){return ge==="month"||ge==="date"?"year":ge},at=function(ge){return ge==="date"?"month":ge},st=function(ge){return ge==="month"||ge==="date"?"quarter":ge},Ft=function(ge){return ge==="date"?"week":ge},St={year:Be,month:at,quarter:st,week:Ft,time:null,date:null};function mn(ce,ge){return ce.some(function(fe){return fe&&fe.contains(ge)})}function Kt(ce){var ge=ce.open,fe=ce.value,Ie=ce.isClickOutside,Oe=ce.triggerOpen,dt=ce.forwardKeyDown,rt=ce.onKeyDown,Nt=ce.blurToCancel,wt=ce.onSubmit,It=ce.onCancel,Gn=ce.onFocus,rn=ce.onBlur,dn=ce.changeOnBlur,Nn=(0,ie.useState)(!1),In=(0,Xt.Z)(Nn,2),Dt=In[0],Vt=In[1],On=(0,ie.useState)(!1),on=(0,Xt.Z)(On,2),sa=on[0],Ca=on[1],Ra=(0,ie.useRef)(!1),Ba=(0,ie.useRef)(!1),ga=(0,ie.useRef)(!1),Rr={onMouseDown:function(){Vt(!0),Oe(!0)},onKeyDown:function(Lr){var $r=function(){ga.current=!0};if(rt(Lr,$r),!ga.current){switch(Lr.which){case Gt.Z.ENTER:{ge?wt()!==!1&&Vt(!0):Oe(!0),Lr.preventDefault();return}case Gt.Z.TAB:{Dt&&ge&&!Lr.shiftKey?(Vt(!1),Lr.preventDefault()):!Dt&&ge&&!dt(Lr)&&Lr.shiftKey&&(Vt(!0),Lr.preventDefault());return}case Gt.Z.ESC:{Vt(!0),It();return}}!ge&&![Gt.Z.SHIFT].includes(Lr.which)?Oe(!0):Dt||dt(Lr)}},onFocus:function(Lr){Vt(!0),Ca(!0),Gn&&Gn(Lr)},onBlur:function(Lr){if(Ra.current||!Ie(document.activeElement)){Ra.current=!1;return}Nt?setTimeout(function(){for(var $r=document,io=$r.activeElement;io&&io.shadowRoot;)io=io.shadowRoot.activeElement;Ie(io)&&It()},0):ge&&(Oe(!1),Ba.current&&wt()),Ca(!1),rn==null||rn(Lr)}};return(0,ie.useEffect)(function(){Ba.current=!1},[ge]),(0,ie.useEffect)(function(){Ba.current=!0},[fe]),(0,ie.useEffect)(function(){return qn(function(sr){var Lr=Sa(sr),$r=Ie(Lr);ge&&($r?!dn&&(!sa||$r)&&Oe(!1):(Ra.current=!0,(0,Da.Z)(function(){Ra.current=!1})))})}),[Rr,{focused:sa,typing:Dt}]}function Ge(ce,ge){return ie.useMemo(function(){return ce||(ge?((0,De.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(ge).map(function(fe){var Ie=(0,Xt.Z)(fe,2),Oe=Ie[0],dt=Ie[1];return{label:Oe,value:dt}})):[])},[ce,ge])}var Ye=oe(34280);function Ue(ce){var ge=ce.valueTexts,fe=ce.onTextChange,Ie=ie.useState(""),Oe=(0,Xt.Z)(Ie,2),dt=Oe[0],rt=Oe[1],Nt=ie.useRef([]);Nt.current=ge;function wt(Gn){rt(Gn),fe(Gn)}function It(){rt(Nt.current[0])}return(0,Ye.Z)(function(){ge.every(function(Gn){return Gn!==dt})&&It()},[ge.join("||")]),[dt,wt,It]}var Bt=ie.createContext({}),un=Bt,pn=oe(62853);function ra(ce){var ge=ce.cellRender,fe=ce.monthCellRender,Ie=ce.dateRender,Oe=ie.useMemo(function(){if(ge)return ge;if(!(!fe&&!Ie))return function(dt,rt){var Nt=dt;return Ie&&rt.type==="date"?Ie(Nt,rt.today):fe&&rt.type==="month"?fe(Nt,rt.locale):rt.originNode}},[ge,fe,Ie]);return Oe}function Wn(ce,ge){for(var fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Ie=String(ce);Ie.length=1?fe|0:1,rt=ce;rt<=ge;rt+=dt)Oe.push({label:Wn(rt,2),value:rt,disabled:(Ie||[]).includes(rt)});return Oe}function _r(ce){var ge=ce.generateConfig,fe=ce.prefixCls,Ie=ce.operationRef,Oe=ce.activeColumnIndex,dt=ce.value,rt=ce.showHour,Nt=ce.showMinute,wt=ce.showSecond,It=ce.use12Hours,Gn=ce.hourStep,rn=Gn===void 0?1:Gn,dn=ce.minuteStep,Nn=dn===void 0?1:dn,In=ce.secondStep,Dt=In===void 0?1:In,Vt=ce.disabledHours,On=ce.disabledMinutes,on=ce.disabledSeconds,sa=ce.disabledTime,Ca=ce.hideDisabledOptions,Ra=ce.onSelect,Ba=ce.cellRender,ga=ce.locale,Rr=[],sr="".concat(fe,"-content"),Lr="".concat(fe,"-time-panel"),$r,io=dt?ge.getHour(dt):-1,Mn=io,Qo=dt?ge.getMinute(dt):-1,mo=dt?ge.getSecond(dt):-1,Yr=ge.getNow(),eo=ie.useMemo(function(){if(sa){var Vr=sa(Yr);return[Vr.disabledHours,Vr.disabledMinutes,Vr.disabledSeconds]}return[Vt,On,on]},[Vt,On,on,sa,Yr]),Eo=(0,Xt.Z)(eo,3),Bo=Eo[0],so=Eo[1],Sr=Eo[2],Ro=pr(0,23,rn,Bo&&Bo()),No=(0,_n.Z)(function(){return Ro},Ro,Ka);It&&($r=Mn>=12,Mn%=12);var Fi=ie.useMemo(function(){if(!It)return[!1,!1];var Vr=[!0,!0];return No.forEach(function(vo){var Po=vo.disabled,mi=vo.value;Po||(mi>=12?Vr[1]=!1:Vr[0]=!1)}),Vr},[It,No]),Jo=(0,Xt.Z)(Fi,2),bi=Jo[0],Kr=Jo[1],ii=ie.useMemo(function(){return It?No.filter($r?function(Vr){return Vr.value>=12}:function(Vr){return Vr.value<12}).map(function(Vr){var vo=Vr.value%12,Po=vo===0?"12":Wn(vo,2);return(0,ut.Z)((0,ut.Z)({},Vr),{},{label:Po,value:vo})}):No},[It,$r,No]),hi=pr(0,59,Nn,so&&so(io)),Ri=pr(0,59,Dt,Sr&&Sr(io,Qo)),gi=Aa({value:dt,generateConfig:ge,disabledMinutes:so,disabledSeconds:Sr,minutes:hi,seconds:Ri,use12Hours:It});Ie.current={onUpDown:function(vo){var Po=Rr[Oe];if(Po)for(var mi=Po.units.findIndex(function(Bl){return Bl.value===Po.value}),ki=Po.units.length,$o=1;$o2&&arguments[2]!==void 0?arguments[2]:!1;(Xo===Vt||ko)&&($l(Na),Rr&&Rr(Na),gi&&gi(Na,Jr),sr&&!Jn(wt,Na,Hi)&&!(Nn!=null&&Nn(Na))&&sr(Na))},Ti=function(Na){if(hr.includes(Xo)){var Jr,ko,vl=Xo==="date";switch(Na===Gt.Z.PAGE_UP||Na===Gt.Z.PAGE_DOWN?ko=vl?wt.addMonth:wt.addYear:ko=vl?wt.addDate:wt.addMonth,Na){case Gt.Z.LEFT:case Gt.Z.PAGE_UP:Jr=ko(_i,-1);break;case Gt.Z.RIGHT:case Gt.Z.PAGE_DOWN:Jr=ko(_i,1);break;case Gt.Z.UP:case Gt.Z.DOWN:Jr=ko(_i,Number("".concat(Na===Gt.Z.UP?"-":"").concat(vl?Yn:ri)));break}if(Jr)return!(Nn!=null&&Nn(Jr))}return!0},Hl=function(Na){if($o.current&&$o.current.onKeyDown){var Jr=!0,ko=Na.which;if([Gt.Z.LEFT,Gt.Z.RIGHT,Gt.Z.UP,Gt.Z.DOWN,Gt.Z.PAGE_UP,Gt.Z.PAGE_DOWN,Gt.Z.ENTER].includes(ko)&&(Na.preventDefault(),ko!==Gt.Z.ENTER&&on===0&&(Jr=Ti(ko))),Jr)return $o.current.onKeyDown(Na)}return(0,De.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},Zo=function(Na){$o.current&&$o.current.onBlur&&$o.current.onBlur(Na)};Ri&&Po!=="right"&&(Ri.current={onKeyDown:Hl,onClose:function(){$o.current&&$o.current.onClose&&$o.current.onClose()}}),ie.useEffect(function(){It&&!Si.current&&Sl(It)},[It]),ie.useEffect(function(){Si.current=!1},[]);var Xi,xl=ra({cellRender:Fi,monthCellRender:No,dateRender:Ro}),ta=(0,ut.Z)((0,ut.Z)({},ce),{},{cellRender:xl,operationRef:$o,prefixCls:Oe,viewDate:_i,value:Hi,onViewDateChange:zi,sourceMode:rl,onPanelChange:Al,disabledDate:Nn});switch(delete ta.onChange,delete ta.onSelect,Xo){case"decade":Xi=ie.createElement(Ha,(0,se.Z)({},ta,{onSelect:function(Na,Jr){zi(Na),fi(Na,Jr)}}));break;case"year":Xi=ie.createElement(Fn,(0,se.Z)({},ta,{onSelect:function(Na,Jr){zi(Na),fi(Na,Jr)}}));break;case"month":Xi=ie.createElement(wi,(0,se.Z)({},ta,{onSelect:function(Na,Jr){zi(Na),fi(Na,Jr)}}));break;case"quarter":Xi=ie.createElement(Za,(0,se.Z)({},ta,{onSelect:function(Na,Jr){zi(Na),fi(Na,Jr)}}));break;case"week":Xi=ie.createElement(kn,(0,se.Z)({},ta,{onSelect:function(Na,Jr){zi(Na),fi(Na,Jr)}}));break;case"time":delete ta.showTime,Xi=ie.createElement(pi,(0,se.Z)({},ta,(0,pn.Z)(Ca)==="object"?Ca:null,{onSelect:function(Na,Jr){zi(Na),fi(Na,Jr)}}));break;default:Ca?Xi=ie.createElement(uo,(0,se.Z)({},ta,{onSelect:function(Na,Jr){zi(Na),fi(Na,Jr)}})):Xi=ie.createElement(Oa,(0,se.Z)({},ta,{onSelect:function(Na,Jr){zi(Na),fi(Na,Jr)}}))}var Rl,ml,fl=function(){var Na=wt.getNow(),Jr=Ta(wt.getHour(Na),wt.getMinute(Na),wt.getSecond(Na),bi?eo:1,Kr?Bo:1,ii?Sr:1),ko=zt(wt,Na,Jr[0],Jr[1],Jr[2]);fi(ko,"submit")};Ji||(Rl=Ma(Oe,Xo,Ba),Ca&&Xo!=="date"?ml=null:ml=ir({prefixCls:Oe,components:Qo,needConfirmButton:Jo,okDisabled:!Hi||Nn&&Nn(Hi),locale:Nt,showNow:sa,onNow:Jo&&fl,onOk:function(){Hi&&(fi(Hi,"submit",!0),Mn&&Mn(Hi))}}));var kl;if(Ra&&Xo==="date"&&Vt==="date"&&!Ca){var Dl=wt.getNow(),tu="".concat(Oe,"-today-btn"),zl=Nn&&Nn(Dl);kl=ie.createElement("a",{className:Te()(tu,zl&&"".concat(tu,"-disabled")),"aria-disabled":zl,onClick:function(){zl||fi(Dl,"mouse",!0)}},Nt.today)}return ie.createElement(un.Provider,{value:(0,ut.Z)((0,ut.Z)({},hi),{},{mode:Xo,hideHeader:"hideHeader"in ce?ga:hi.hideHeader,hidePrevBtn:vo&&Po==="right",hideNextBtn:vo&&Po==="left"})},ie.createElement("div",{tabIndex:on,className:Te()("".concat(Oe,"-panel"),dt,(ge={},(0,Ce.Z)(ge,"".concat(Oe,"-panel-has-range"),mi&&mi[0]&&mi[1]),(0,Ce.Z)(ge,"".concat(Oe,"-panel-has-range-hover"),ki&&ki[0]&&ki[1]),(0,Ce.Z)(ge,"".concat(Oe,"-panel-rtl"),mo==="rtl"),ge)),style:rt,onKeyDown:Hl,onBlur:Zo,onMouseDown:$r},Xi,Rl||ml||kl?ie.createElement("div",{className:"".concat(Oe,"-footer")},Rl,ml,kl):null))}var ma=ca,ar=oe(35593),dr={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 Mo(ce){var ge,fe=ce.prefixCls,Ie=ce.popupElement,Oe=ce.popupStyle,dt=ce.visible,rt=ce.dropdownClassName,Nt=ce.dropdownAlign,wt=ce.transitionName,It=ce.getPopupContainer,Gn=ce.children,rn=ce.range,dn=ce.popupPlacement,Nn=ce.direction,In="".concat(fe,"-dropdown"),Dt=function(){return dn!==void 0?dn:Nn==="rtl"?"bottomRight":"bottomLeft"};return ie.createElement(ar.Z,{showAction:[],hideAction:[],popupPlacement:Dt(),builtinPlacements:dr,prefixCls:In,popupTransitionName:wt,popup:Ie,popupAlign:Nt,popupVisible:dt,popupClassName:Te()(rt,(ge={},(0,Ce.Z)(ge,"".concat(In,"-range"),rn),(0,Ce.Z)(ge,"".concat(In,"-rtl"),Nn==="rtl"),ge)),popupStyle:Oe,getPopupContainer:It},Gn)}var Ko=Mo;function Lo(ce){var ge=ce.prefixCls,fe=ce.presets,Ie=ce.onClick,Oe=ce.onHover;return fe.length?ie.createElement("div",{className:"".concat(ge,"-presets")},ie.createElement("ul",null,fe.map(function(dt,rt){var Nt=dt.label,wt=dt.value;return ie.createElement("li",{key:rt,onClick:function(){return Ie==null?void 0:Ie(La(wt))},onMouseEnter:function(){return Oe==null?void 0:Oe(La(wt))},onMouseLeave:function(){return Oe==null?void 0:Oe(null)}},Nt)}))):null}function Wo(ce){var ge=ce.picker,fe=ce.disabledHours,Ie=ce.disabledMinutes,Oe=ce.disabledSeconds;ge==="time"&&(fe||Ie||Oe)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function ai(ce,ge,fe){var Ie=(0,pn.Z)(ge)==="object"?ge.clearIcon:fe;return Ie||ie.createElement("span",{className:"".concat(ce,"-clear-btn")})}function ui(ce){var ge,fe=ce,Ie=fe.prefixCls,Oe=Ie===void 0?"rc-picker":Ie,dt=fe.id,rt=fe.name,Nt=fe.tabIndex,wt=fe.style,It=fe.className,Gn=fe.dropdownClassName,rn=fe.dropdownAlign,dn=fe.popupStyle,Nn=fe.transitionName,In=fe.generateConfig,Dt=fe.locale,Vt=fe.inputReadOnly,On=fe.allowClear,on=fe.autoFocus,sa=fe.showTime,Ca=fe.picker,Ra=Ca===void 0?"date":Ca,Ba=fe.format,ga=fe.use12Hours,Rr=fe.value,sr=fe.defaultValue,Lr=fe.presets,$r=fe.open,io=fe.defaultOpen,Mn=fe.defaultOpenValue,Qo=fe.suffixIcon,mo=fe.clearIcon,Yr=fe.disabled,eo=fe.disabledDate,Eo=fe.placeholder,Bo=fe.getPopupContainer,so=fe.pickerRef,Sr=fe.panelRender,Ro=fe.onChange,No=fe.onOpenChange,Fi=fe.onFocus,Jo=fe.onBlur,bi=fe.onMouseDown,Kr=fe.onMouseUp,ii=fe.onMouseEnter,hi=fe.onMouseLeave,Ri=fe.onContextMenu,gi=fe.onClick,Ji=fe.onKeyDown,gl=fe.onSelect,Vr=fe.direction,vo=fe.autoComplete,Po=vo===void 0?"off":vo,mi=fe.inputRender,ki=fe.changeOnBlur,$o=ie.useRef(null),Si=Ra==="date"&&!!sa||Ra==="time",Bl=Ge(Lr),ji=jn(Br(Ba,Ra,sa,ga)),Hi=ie.useRef(null),$l=ie.useRef(null),uu=ie.useRef(null),An=(0,nt.Z)(null,{value:Rr,defaultValue:sr}),_i=(0,Xt.Z)(An,2),Sl=_i[0],zi=_i[1],eu=ie.useState(Sl),Ml=(0,Xt.Z)(eu,2),al=Ml[0],Xo=Ml[1],Ho=ie.useRef(null),Vi=(0,nt.Z)(!1,{value:$r,defaultValue:io,postState:function(Ot){return Yr?!1:Ot},onChange:function(Ot){No&&No(Ot),!Ot&&Ho.current&&Ho.current.onClose&&Ho.current.onClose()}}),yo=(0,Xt.Z)(Vi,2),rl=yo[0],Ci=yo[1],Al=an(al,{formatList:ji,generateConfig:In,locale:Dt}),fi=(0,Xt.Z)(Al,2),Ti=fi[0],Hl=fi[1],Zo=Ue({valueTexts:Ti,onTextChange:function(Ot){var Qt=Va(Ot,{locale:Dt,formatList:ji,generateConfig:In});Qt&&(!eo||!eo(Qt))&&Xo(Qt)}}),Xi=(0,Xt.Z)(Zo,3),xl=Xi[0],ta=Xi[1],Rl=Xi[2],ml=function(Ot){Xo(Ot),zi(Ot),Ro&&!Jn(In,Sl,Ot)&&Ro(Ot,Ot?Ea(Ot,{generateConfig:In,locale:Dt,format:ji[0]}):"")},fl=function(Ot){Yr&&Ot||Ci(Ot)},kl=function(Ot){return rl&&Ho.current&&Ho.current.onKeyDown?Ho.current.onKeyDown(Ot):((0,De.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Dl=function(){for(var Ot=arguments.length,Qt=new Array(Ot),Zt=0;Ztdn(It);case"month":return rn(Dt)>rn(It);case"week":return Gn(Dt)>Gn(It);default:return!xa(Nt,Dt,It)&&Nt.isAfter(Dt,It)}return!1},[dt,rt[1],It,ge]),In=ie.useCallback(function(Dt){if(rt[1]||dt&&dt(Dt))return!0;if(rt[0]&&wt)return!xa(Nt,Dt,It)&&Nt.isAfter(wt,Dt);if(!ge&&wt)switch(fe){case"quarter":return dn(Dt)0&&arguments[0]!==void 0?arguments[0]:!1,Ia=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},fr=null;it&&qi&&qi[0]&&qi[1]&&Dt.isAfter(qi[1],qi[0])&&(fr=qi);var lo=ga;if(ga&&(0,pn.Z)(ga)==="object"&&ga.defaultValue){var qo=ga.defaultValue;lo=(0,ut.Z)((0,ut.Z)({},ga),{},{defaultValue:Tn(qo,ft)||void 0})}return ie.createElement(Wa.Provider,{value:{inRange:!0,panelPosition:Dr,rangedValue:Oi||mr,hoverRangedValue:fr}},ie.createElement(ma,(0,se.Z)({},ce,Ia,{cellRender:hs,showTime:lo,mode:vl[ft],generateConfig:Dt,style:void 0,direction:_i,disabledDate:ft===0?qe:Ct,disabledTime:function(Nl){return eo?eo(Nl,ft===0?"start":"end"):!1},className:Te()((0,Ce.Z)({},"".concat(rt,"-panel-focused"),ft===0?!yr:!Gl)),value:Tn(mr,ft),locale:Vt,tabIndex:-1,onPanelChange:function(Nl,Ql){ft===0&&Io(!0),ft===1&&Ai(!0),ue(jt(vl,Ql,ft),jt(mr,Nl,ft));var Il=Nl;Dr==="right"&&vl[ft]===Ql&&(Il=ia(Il,Ql,Dt,-1)),Dl(Il,ft)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:ft===0?Tn(mr,1):Tn(mr,0)})))}var Ul=0,$u=0;if(ft&&Vi.current&&rl.current&&Ho.current&&fi.current){Ul=Vi.current.offsetWidth+rl.current.offsetWidth;var Ss=fi.current.offsetLeft>Ul?fi.current.offsetLeft-Ul:fi.current.offsetLeft,es=Ho.current.offsetWidth,Gu=fi.current.offsetWidth;es&&Gu&&Ul>es-Gu-(_i==="rtl"?0:Ss)&&($u=Ul)}var ts=_i==="rtl"?{right:Ul}:{left:Ul};function Kn(){var Dr,Ia=Ma(rt,vl[ft],gi),fr=ir({prefixCls:rt,components:uu,needConfirmButton:al,okDisabled:!Tn(mr,ft)||Yr&&Yr(mr[ft]),locale:Vt,onOk:function(){var Pl=Tn(mr,ft);Pl&&(Zt(mr,ft),Hi==null||Hi(mr),vn(!1,ft,"confirm"))}});if(Ba!=="time"&&!ga){var lo=kl(ft),qo=ia(lo,Ba,Dt),du=vl[ft],Nl=du===Ba,Ql=Zu(Nl?"left":!1,{pickerValue:lo,onPickerValueChange:function(Pl){Dl(Pl,ft)}}),Il=Zu("right",{pickerValue:qo,onPickerValueChange:function(Pl){Dl(ia(Pl,Ba,Dt,-1),ft)}});_i==="rtl"?Dr=ie.createElement(ie.Fragment,null,Il,Nl&&Ql):Dr=ie.createElement(ie.Fragment,null,Ql,Nl&&Il)}else Dr=Zu();var fu=ie.createElement("div",{className:"".concat(rt,"-panel-layout")},ie.createElement(Lo,{prefixCls:rt,presets:au,onClick:function(Pl){Zt(Pl,null),vn(!1,ft,"preset")},onHover:function(Pl){ei(Pl)}}),ie.createElement("div",null,ie.createElement("div",{className:"".concat(rt,"-panels")},Dr),(Ia||fr)&&ie.createElement("div",{className:"".concat(rt,"-footer")},Ia,fr)));return Sr&&(fu=Sr(fu)),ie.createElement("div",{className:"".concat(rt,"-panel-container"),style:{marginLeft:$u},ref:Ho,onMouseDown:function(Pl){Pl.preventDefault()}},fu)}var Ja=ie.createElement("div",{className:Te()("".concat(rt,"-range-wrapper"),"".concat(rt,"-").concat(Ba,"-range-wrapper")),style:{minWidth:Jt}},ie.createElement("div",{ref:fi,className:"".concat(rt,"-range-arrow"),style:ts}),Kn()),Ir;bi&&(Ir=ie.createElement("span",{className:"".concat(rt,"-suffix"),onMouseDown:function(Ia){Ia.preventDefault()}},bi));var ro=ai(rt,Jo,Kr),Xr=ie.createElement("span",{onMouseDown:function(Ia){Ia.preventDefault(),Ia.stopPropagation()},onMouseUp:function(Ia){Ia.preventDefault(),Ia.stopPropagation();var fr=ta;Zo[0]||(fr=jt(fr,null,0)),Zo[1]||(fr=jt(fr,null,1)),Zt(fr,null),vn(!1,ft,"clear")},className:"".concat(rt,"-clear"),role:"button"},ro),xr=Jo&&(Tn(ta,0)&&!Zo[0]||Tn(ta,1)&&!Zo[1]),co={size:po(Ba,Ti[0],Dt)},Do=0,Zi=0;Vi.current&&yo.current&&rl.current&&(ft===0?Zi=Vi.current.offsetWidth:(Do=Ul,Zi=yo.current.offsetWidth));var Ll=_i==="rtl"?{right:Do}:{left:Do},su=function(Ia,fr){var lo=jt(mr,Ia,ft);if(fr==="submit"||fr!=="key"&&!al){Zt(lo,ft),ft===0?Io():Ai();var qo=ft===0?1:0;Zo[qo]?vn(!1,!1,"confirm"):vn(!1,ft,"confirm")}else Na(lo)};return ie.createElement(un.Provider,{value:{operationRef:Hl,hideHeader:Ba==="time",onDateMouseEnter:Tl,onDateMouseLeave:wl,hideRanges:!0,onSelect:su,open:it}},ie.createElement(Ko,{visible:it,popupElement:Ja,popupStyle:Gn,prefixCls:rt,dropdownClassName:rn,dropdownAlign:Nn,getPopupContainer:In,transitionName:dn,range:!0,direction:_i},ie.createElement("div",(0,se.Z)({ref:Xo,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"),ft===0?rr:Pi),(0,Ce.Z)(ge,"".concat(rt,"-rtl"),_i==="rtl"),ge)),style:wt,onClick:Wl,onMouseEnter:Si,onMouseLeave:Bl,onMouseDown:qu,onMouseUp:$o},(0,Pt.Z)(ce,{aria:!0,data:!0})),ie.createElement("div",{className:Te()("".concat(rt,"-input"),(fe={},(0,Ce.Z)(fe,"".concat(rt,"-input-active"),ft===0),(0,Ce.Z)(fe,"".concat(rt,"-input-placeholder"),!!_l),fe)),ref:Vi},ie.createElement("input",(0,se.Z)({id:Nt,disabled:Zo[0],readOnly:hi||typeof Ti[0]=="function"||!yr,value:_l||zo,onChange:function(Ia){Pa(Ia.target.value)},autoFocus:on,placeholder:Tn(On,0)||"",ref:Ci},zn,co,{autoComplete:eu}))),ie.createElement("div",{className:"".concat(rt,"-range-separator"),ref:rl},Lr),ie.createElement("div",{className:Te()("".concat(rt,"-input"),(Ie={},(0,Ce.Z)(Ie,"".concat(rt,"-input-active"),ft===1),(0,Ce.Z)(Ie,"".concat(rt,"-input-placeholder"),!!Ui),Ie)),ref:yo},ie.createElement("input",(0,se.Z)({disabled:Zo[1],readOnly:hi||typeof Ti[0]=="function"||!Gl,value:Ui||Dn,onChange:function(Ia){li(Ia.target.value)},placeholder:Tn(On,1)||"",ref:Al},To,co,{autoComplete:eu}))),ie.createElement("div",{className:"".concat(rt,"-active-bar"),style:(0,ut.Z)((0,ut.Z)({},Ll),{},{width:Zi,position:"absolute"})}),Ir,xr&&Xr)))}var Li=function(ce){(0,At.Z)(fe,ce);var ge=(0,ln.Z)(fe);function fe(){var Ie;(0,ot.Z)(this,fe);for(var Oe=arguments.length,dt=new Array(Oe),rt=0;rt{const{lineHeight:Oe}=ce,dt=Math.floor(fe*Oe)+2,rt=Math.max((ge-dt)/2,0),Nt=Math.max(ge-dt-rt,0);return{padding:`${rt}px ${Ie}px ${Nt}px`}},ls=ce=>{const{componentCls:ge,pickerCellCls:fe,pickerCellInnerCls:Ie,cellHeight:Oe,motionDurationSlow:dt,borderRadiusSM:rt,motionDurationMid:Nt,cellHoverBg:wt,lineWidth:It,lineType:Gn,colorPrimary:rn,cellActiveWithRangeBg:dn,colorTextLightSolid:Nn,controlHeightSM:In,cellRangeBorderColor:Dt,pickerCellBorderGap:Vt,cellHoverWithRangeBg:On,cellWidth:on,colorTextDisabled:sa,cellBgDisabled:Ca}=ce;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Oe,transform:"translateY(-50%)",transition:`all ${dt}`,content:'""'},[Ie]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Oe,height:Oe,lineHeight:`${Oe}px`,borderRadius:rt,transition:`background ${Nt}, border ${Nt}`},"&-range-hover-start, &-range-hover-end":{[Ie]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${fe}-in-view), + &:hover:not(${fe}-selected):not(${fe}-range-start):not(${fe}-range-end):not(${fe}-range-hover-start):not(${fe}-range-hover-end)`]:{[Ie]:{background:wt}},[`&-in-view${fe}-today ${Ie}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${It}px ${Gn} ${rn}`,borderRadius:rt,content:'""'}},[`&-in-view${fe}-in-range`]:{position:"relative","&::before":{background:dn}},[`&-in-view${fe}-selected ${Ie}, &-in-view${fe}-range-start ${Ie}, - &-in-view${fe}-range-end ${Ie}`]:{color:wn,background:on},[`&-in-view${fe}-range-start:not(${fe}-range-start-single), - &-in-view${fe}-range-end:not(${fe}-range-end-single)`]:{"&::before":{background:cn}},[`&-in-view${fe}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${fe}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${fe}-range-hover-start:not(${fe}-in-range):not(${fe}-range-start):not(${fe}-range-end), + &-in-view${fe}-range-end ${Ie}`]:{color:Nn,background:rn},[`&-in-view${fe}-range-start:not(${fe}-range-start-single), + &-in-view${fe}-range-end:not(${fe}-range-end-single)`]:{"&::before":{background:dn}},[`&-in-view${fe}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${fe}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${fe}-range-hover-start:not(${fe}-in-range):not(${fe}-range-start):not(${fe}-range-end), &-in-view${fe}-range-hover-end:not(${fe}-in-range):not(${fe}-range-start):not(${fe}-range-end), &-in-view${fe}-range-hover-start${fe}-range-start-single, &-in-view${fe}-range-hover-start${fe}-range-start${fe}-range-end${fe}-range-end-near-hover, &-in-view${fe}-range-hover-end${fe}-range-start${fe}-range-end${fe}-range-start-near-hover, &-in-view${fe}-range-hover-end${fe}-range-end-single, - &-in-view${fe}-range-hover:not(${fe}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:Ln,borderTop:`${Mt}px dashed ${Dt}`,borderBottom:`${Mt}px dashed ${Dt}`,transform:"translateY(-50%)",transition:`all ${dt}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:Vt},[`&-in-view${fe}-in-range${fe}-range-hover::before, + &-in-view${fe}-range-hover:not(${fe}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:In,borderTop:`${It}px dashed ${Dt}`,borderBottom:`${It}px dashed ${Dt}`,transform:"translateY(-50%)",transition:`all ${dt}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:Vt},[`&-in-view${fe}-in-range${fe}-range-hover::before, &-in-view${fe}-in-range${fe}-range-hover-start::before, &-in-view${fe}-in-range${fe}-range-hover-end::before, &-in-view${fe}-range-start${fe}-range-hover::before, @@ -296,24 +296,24 @@ ${Fa} &-in-view${fe}-in-range${fe}-range-hover-start::before, ${ge}-panel > :not(${ge}-date-panel) - &-in-view${fe}-in-range${fe}-range-hover-end::before`]:{background:Nn},[`&-in-view${fe}-range-start:not(${fe}-range-start-single):not(${fe}-range-end) ${Ie}`]:{borderStartStartRadius:rt,borderEndStartRadius:rt,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${fe}-range-end:not(${fe}-range-end-single):not(${fe}-range-start) ${Ie}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:rt,borderEndEndRadius:rt},[`&-range-hover${fe}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${fe}-range-hover:first-child::after, + &-in-view${fe}-in-range${fe}-range-hover-end::before`]:{background:On},[`&-in-view${fe}-range-start:not(${fe}-range-start-single):not(${fe}-range-end) ${Ie}`]:{borderStartStartRadius:rt,borderEndStartRadius:rt,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${fe}-range-end:not(${fe}-range-end-single):not(${fe}-range-start) ${Ie}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:rt,borderEndEndRadius:rt},[`&-range-hover${fe}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${fe}-range-hover:first-child::after, tr > &-in-view${fe}-range-hover-end:first-child::after, &-in-view${fe}-start${fe}-range-hover-edge-start${fe}-range-hover-edge-start-near-range::after, &-in-view${fe}-range-hover-edge-start:not(${fe}-range-hover-edge-start-near-range)::after, - &-in-view${fe}-range-hover-start::after`]:{insetInlineStart:(ln-Oe)/2,borderInlineStart:`${Mt}px dashed ${Dt}`,borderStartStartRadius:rt,borderEndStartRadius:rt},[`tr > &-in-view${fe}-range-hover:last-child::after, + &-in-view${fe}-range-hover-start::after`]:{insetInlineStart:(on-Oe)/2,borderInlineStart:`${It}px dashed ${Dt}`,borderStartStartRadius:rt,borderEndStartRadius:rt},[`tr > &-in-view${fe}-range-hover:last-child::after, tr > &-in-view${fe}-range-hover-start:last-child::after, &-in-view${fe}-end${fe}-range-hover-edge-end${fe}-range-hover-edge-end-near-range::after, &-in-view${fe}-range-hover-edge-end:not(${fe}-range-hover-edge-end-near-range)::after, - &-in-view${fe}-range-hover-end::after`]:{insetInlineEnd:(ln-Oe)/2,borderInlineEnd:`${Mt}px dashed ${Dt}`,borderStartEndRadius:rt,borderEndEndRadius:rt},"&-disabled":{color:ua,pointerEvents:"none",[Ie]:{background:"transparent"},"&::before":{background:Ca}},[`&-disabled${fe}-today ${Ie}::before`]:{borderColor:ua}}},Uo=ce=>{const{componentCls:ge,pickerCellCls:fe,pickerCellInnerCls:Ie,pickerYearMonthCellWidth:Oe,pickerControlIconSize:dt,cellWidth:rt,paddingSM:Ot,paddingXS:Lt,paddingXXS:Mt,colorBgContainer:Zn,lineWidth:on,lineType:cn,borderRadiusLG:wn,colorPrimary:Ln,colorTextHeading:Dt,colorSplit:Vt,pickerControlIconBorderWidth:Nn,colorIcon:ln,textHeight:ua,motionDurationMid:Ca,colorIconHover:Ra,fontWeightStrong:Ba,cellHeight:ca,pickerCellPaddingVertical:Rr,colorTextDisabled:sr,colorText:Lr,fontSize:eo,cellHoverWithRangeBg:lo,motionDurationSlow:On,withoutTimeCellHeight:Qo,pickerQuarterPanelContentHeight:fo,colorLink:Yr,colorLinkActive:to,colorLinkHover:Po,cellRangeBorderColor:Bo,borderRadiusSM:co,colorTextLightSolid:Sr,cellHoverBg:Ro,timeColumnHeight:No,timeColumnWidth:Fi,timeCellHeight:Jo,controlItemBgActive:bi,marginXXS:Kr,pickerDatePanelPaddingHorizontal:li}=ce,hi=rt*7+li*2,Oi=(hi-Lt*2)/3-Oe-Ot,gi=(hi-Lt*2)/4-Oe;return{[ge]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Zn,border:`${on}px ${cn} ${Vt}`,borderRadius:wn,outline:"none","&-focused":{borderColor:Ln},"&-rtl":{direction:"rtl",[`${ge}-prev-icon, + &-in-view${fe}-range-hover-end::after`]:{insetInlineEnd:(on-Oe)/2,borderInlineEnd:`${It}px dashed ${Dt}`,borderStartEndRadius:rt,borderEndEndRadius:rt},"&-disabled":{color:sa,pointerEvents:"none",[Ie]:{background:"transparent"},"&::before":{background:Ca}},[`&-disabled${fe}-today ${Ie}::before`]:{borderColor:sa}}},Uo=ce=>{const{componentCls:ge,pickerCellCls:fe,pickerCellInnerCls:Ie,pickerYearMonthCellWidth:Oe,pickerControlIconSize:dt,cellWidth:rt,paddingSM:Nt,paddingXS:wt,paddingXXS:It,colorBgContainer:Gn,lineWidth:rn,lineType:dn,borderRadiusLG:Nn,colorPrimary:In,colorTextHeading:Dt,colorSplit:Vt,pickerControlIconBorderWidth:On,colorIcon:on,textHeight:sa,motionDurationMid:Ca,colorIconHover:Ra,fontWeightStrong:Ba,cellHeight:ga,pickerCellPaddingVertical:Rr,colorTextDisabled:sr,colorText:Lr,fontSize:$r,cellHoverWithRangeBg:io,motionDurationSlow:Mn,withoutTimeCellHeight:Qo,pickerQuarterPanelContentHeight:mo,colorLink:Yr,colorLinkActive:eo,colorLinkHover:Eo,cellRangeBorderColor:Bo,borderRadiusSM:so,colorTextLightSolid:Sr,cellHoverBg:Ro,timeColumnHeight:No,timeColumnWidth:Fi,timeCellHeight:Jo,controlItemBgActive:bi,marginXXS:Kr,pickerDatePanelPaddingHorizontal:ii}=ce,hi=rt*7+ii*2,Ri=(hi-wt*2)/3-Oe-Nt,gi=(hi-wt*2)/4-Oe;return{[ge]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Gn,border:`${rn}px ${dn} ${Vt}`,borderRadius:Nn,outline:"none","&-focused":{borderColor:In},"&-rtl":{direction:"rtl",[`${ge}-prev-icon, ${ge}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${ge}-next-icon, - ${ge}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:hi},"&-header":{display:"flex",padding:`0 ${Lt}px`,color:Dt,borderBottom:`${on}px ${cn} ${Vt}`,"> *":{flex:"none"},button:{padding:0,color:ln,lineHeight:`${ua}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${Ca}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:eo,"&:hover":{color:Ra}},"&-view":{flex:"auto",fontWeight:Ba,lineHeight:`${ua}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:Lt},"&:hover":{color:Ln}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:dt,height:dt,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:dt,height:dt,border:"0 solid currentcolor",borderBlockStartWidth:Nn,borderBlockEndWidth:0,borderInlineStartWidth:Nn,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(dt/2),insetInlineStart:Math.ceil(dt/2),display:"inline-block",width:dt,height:dt,border:"0 solid currentcolor",borderBlockStartWidth:Nn,borderBlockEndWidth:0,borderInlineStartWidth:Nn,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+Rr*2,color:Lr,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${Rr}px 0`,color:sr,cursor:"pointer","&-in-view":{color:Lr}},ls(ce)),[`&-date-panel ${ge}-cell-in-view${ge}-cell-in-range${ge}-cell-range-hover-start ${Ie}, - &-date-panel ${ge}-cell-in-view${ge}-cell-in-range${ge}-cell-range-hover-end ${Ie}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:lo,transition:`all ${On}`,content:'""'}},[`&-date-panel + ${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:hi},"&-header":{display:"flex",padding:`0 ${wt}px`,color:Dt,borderBottom:`${rn}px ${dn} ${Vt}`,"> *":{flex:"none"},button:{padding:0,color:on,lineHeight:`${sa}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${Ca}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:$r,"&:hover":{color:Ra}},"&-view":{flex:"auto",fontWeight:Ba,lineHeight:`${sa}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:wt},"&:hover":{color:In}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:dt,height:dt,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:dt,height:dt,border:"0 solid currentcolor",borderBlockStartWidth:On,borderBlockEndWidth:0,borderInlineStartWidth:On,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(dt/2),insetInlineStart:Math.ceil(dt/2),display:"inline-block",width:dt,height:dt,border:"0 solid currentcolor",borderBlockStartWidth:On,borderBlockEndWidth:0,borderInlineStartWidth:On,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:ga,fontWeight:"normal"},th:{height:ga+Rr*2,color:Lr,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${Rr}px 0`,color:sr,cursor:"pointer","&-in-view":{color:Lr}},ls(ce)),[`&-date-panel ${ge}-cell-in-view${ge}-cell-in-range${ge}-cell-range-hover-start ${Ie}, + &-date-panel ${ge}-cell-in-view${ge}-cell-in-range${ge}-cell-range-hover-end ${Ie}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:io,transition:`all ${Mn}`,content:'""'}},[`&-date-panel ${ge}-cell-in-view${ge}-cell-in-range${ge}-cell-range-hover-start - ${Ie}::after`]:{insetInlineEnd:-(rt-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:Qo*4},[Ie]:{padding:`0 ${Lt}px`}},"&-quarter-panel":{[`${ge}-content`]:{height:fo},[`${ge}-cell-range-hover-start::after`]:{insetInlineStart:gi,borderInlineStart:`${on}px dashed ${Bo}`,[`${ge}-panel-rtl &`]:{insetInlineEnd:gi,borderInlineEnd:`${on}px dashed ${Bo}`}},[`${ge}-cell-range-hover-end::after`]:{insetInlineEnd:gi,borderInlineEnd:`${on}px dashed ${Bo}`,[`${ge}-panel-rtl &`]:{insetInlineStart:gi,borderInlineStart:`${on}px dashed ${Bo}`}}},[`&-panel ${ge}-footer`]:{borderTop:`${on}px ${cn} ${Vt}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${ua-2*on}px`,textAlign:"center","&-extra":{padding:`0 ${Ot}px`,lineHeight:`${ua-2*on}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${on}px ${cn} ${Vt}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:Yr,"&:hover":{color:Po},"&:active":{color:to},[`&${ge}-today-btn-disabled`]:{color:sr,cursor:"not-allowed"}},"&-decade-panel":{[Ie]:{padding:`0 ${Lt/2}px`},[`${ge}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ge}-body`]:{padding:`0 ${Lt}px`},[Ie]:{width:Oe},[`${ge}-cell-range-hover-start::after`]:{borderStartStartRadius:co,borderEndStartRadius:co,borderStartEndRadius:0,borderEndEndRadius:0,[`${ge}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:co,borderEndEndRadius:co}},[`${ge}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:co,borderEndEndRadius:co,[`${ge}-panel-rtl &`]:{borderStartStartRadius:co,borderEndStartRadius:co,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${ge}-cell-range-hover-start::after`]:{insetInlineStart:Oi,borderInlineStart:`${on}px dashed ${Bo}`,[`${ge}-panel-rtl &`]:{insetInlineEnd:Oi,borderInlineEnd:`${on}px dashed ${Bo}`}},[`${ge}-cell-range-hover-end::after`]:{insetInlineEnd:Oi,borderInlineEnd:`${on}px dashed ${Bo}`,[`${ge}-panel-rtl &`]:{insetInlineStart:Oi,borderInlineStart:`${on}px dashed ${Bo}`}}},"&-week-panel":{[`${ge}-body`]:{padding:`${Lt}px ${Ot}px`},[`${ge}-cell`]:{[`&:hover ${Ie}, + ${Ie}::after`]:{insetInlineEnd:-(rt-ga)/2,insetInlineStart:0},[`&-date-panel ${ge}-cell-in-view${ge}-cell-in-range${ge}-cell-range-hover-end ${Ie}::after`]:{insetInlineEnd:0,insetInlineStart:-(rt-ga)/2},[`&-range-hover${ge}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ge}-content`]:{height:Qo*4},[Ie]:{padding:`0 ${wt}px`}},"&-quarter-panel":{[`${ge}-content`]:{height:mo},[`${ge}-cell-range-hover-start::after`]:{insetInlineStart:gi,borderInlineStart:`${rn}px dashed ${Bo}`,[`${ge}-panel-rtl &`]:{insetInlineEnd:gi,borderInlineEnd:`${rn}px dashed ${Bo}`}},[`${ge}-cell-range-hover-end::after`]:{insetInlineEnd:gi,borderInlineEnd:`${rn}px dashed ${Bo}`,[`${ge}-panel-rtl &`]:{insetInlineStart:gi,borderInlineStart:`${rn}px dashed ${Bo}`}}},[`&-panel ${ge}-footer`]:{borderTop:`${rn}px ${dn} ${Vt}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${sa-2*rn}px`,textAlign:"center","&-extra":{padding:`0 ${Nt}px`,lineHeight:`${sa-2*rn}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${rn}px ${dn} ${Vt}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:Yr,"&:hover":{color:Eo},"&:active":{color:eo},[`&${ge}-today-btn-disabled`]:{color:sr,cursor:"not-allowed"}},"&-decade-panel":{[Ie]:{padding:`0 ${wt/2}px`},[`${ge}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ge}-body`]:{padding:`0 ${wt}px`},[Ie]:{width:Oe},[`${ge}-cell-range-hover-start::after`]:{borderStartStartRadius:so,borderEndStartRadius:so,borderStartEndRadius:0,borderEndEndRadius:0,[`${ge}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:so,borderEndEndRadius:so}},[`${ge}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:so,borderEndEndRadius:so,[`${ge}-panel-rtl &`]:{borderStartStartRadius:so,borderEndStartRadius:so,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${ge}-cell-range-hover-start::after`]:{insetInlineStart:Ri,borderInlineStart:`${rn}px dashed ${Bo}`,[`${ge}-panel-rtl &`]:{insetInlineEnd:Ri,borderInlineEnd:`${rn}px dashed ${Bo}`}},[`${ge}-cell-range-hover-end::after`]:{insetInlineEnd:Ri,borderInlineEnd:`${rn}px dashed ${Bo}`,[`${ge}-panel-rtl &`]:{insetInlineStart:Ri,borderInlineStart:`${rn}px dashed ${Bo}`}}},"&-week-panel":{[`${ge}-body`]:{padding:`${wt}px ${Nt}px`},[`${ge}-cell`]:{[`&:hover ${Ie}, &-selected ${Ie}, - ${Ie}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Ca}`},"&:first-child:before":{borderStartStartRadius:co,borderEndStartRadius:co},"&:last-child:before":{borderStartEndRadius:co,borderEndEndRadius:co}},"&:hover td":{"&:before":{background:Ro}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${fe}`]:{"&:before":{background:Ln},[`&${ge}-cell-week`]:{color:new Bu.C(Sr).setAlpha(.5).toHexString()},[Ie]:{color:Sr}}},"&-range-hover td:before":{background:bi}}},"&-date-panel":{[`${ge}-body`]:{padding:`${Lt}px ${li}px`},[`${ge}-content`]:{width:rt*7,th:{width:rt,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${ge}-time-panel`]:{borderInlineStart:`${on}px ${cn} ${Vt}`},[`${ge}-date-panel, - ${ge}-time-panel`]:{transition:`opacity ${On}`},"&-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:No},"&-column":{flex:"1 0 auto",width:Fi,margin:`${Mt}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Ca}`,overflowX:"hidden","&::after":{display:"block",height:No-Jo,content:'""'},"&:not(:first-child)":{borderInlineStart:`${on}px ${cn} ${Vt}`},"&-active":{background:new Bu.C(bi).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${ge}-time-panel-cell`]:{marginInline:Kr,[`${ge}-time-panel-cell-inner`]:{display:"block",width:Fi-2*Kr,height:Jo,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(Fi-Jo)/2,color:Lr,lineHeight:`${Jo}px`,borderRadius:co,cursor:"pointer",transition:`background ${Ca}`,"&:hover":{background:Ro}},"&-selected":{[`${ge}-time-panel-cell-inner`]:{background:bi}},"&-disabled":{[`${ge}-time-panel-cell-inner`]:{color:sr,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${ge}-time-panel-column:after`]:{height:No-Jo+Mt*2}}}},us=ce=>{const{componentCls:ge,colorBgContainer:fe,colorError:Ie,errorActiveShadow:Oe,colorWarning:dt,warningActiveShadow:rt}=ce;return{[`${ge}:not(${ge}-disabled)`]:{[`&${ge}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:fe,borderColor:Ie},[`&${ge}-focused, &:focus`]:Object.assign({},(0,yi.M1)((0,Cl.TS)(ce,{activeBorderColor:Ie,activeShadow:Oe}))),[`${ge}-active-bar`]:{background:Ie}},[`&${ge}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:fe,borderColor:dt},[`&${ge}-focused, &:focus`]:Object.assign({},(0,yi.M1)((0,Cl.TS)(ce,{activeBorderColor:dt,activeShadow:rt}))),[`${ge}-active-bar`]:{background:dt}}}}},ss=ce=>{const{componentCls:ge,antCls:fe,controlHeight:Ie,fontSize:Oe,paddingInline:dt,colorBgContainer:rt,lineWidth:Ot,lineType:Lt,colorBorder:Mt,borderRadius:Zn,motionDurationMid:on,colorBgContainerDisabled:cn,colorTextDisabled:wn,colorTextPlaceholder:Ln,controlHeightLG:Dt,fontSizeLG:Vt,controlHeightSM:Nn,paddingInlineSM:ln,paddingXS:ua,marginXS:Ca,colorTextDescription:Ra,lineWidthBold:Ba,lineHeight:ca,colorPrimary:Rr,motionDurationSlow:sr,zIndexPopup:Lr,paddingXXS:eo,paddingSM:lo,textHeight:On,cellActiveWithRangeBg:Qo,colorPrimaryBorder:fo,sizePopupArrow:Yr,borderRadiusXS:to,borderRadiusOuter:Po,colorBgElevated:Bo,borderRadiusLG:co,boxShadowSecondary:Sr,borderRadiusSM:Ro,colorSplit:No,cellHoverBg:Fi,presetsWidth:Jo,presetsMaxWidth:bi,boxShadowPopoverArrow:Kr,colorTextQuaternary:li}=ce;return[{[ge]:Object.assign(Object.assign(Object.assign({},(0,Au.Wf)(ce)),Mu(ce,Ie,Oe,dt)),{position:"relative",display:"inline-flex",alignItems:"center",background:rt,lineHeight:1,border:`${Ot}px ${Lt} ${Mt}`,borderRadius:Zn,transition:`border ${on}, box-shadow ${on}`,"&:hover, &-focused":Object.assign({},(0,yi.pU)(ce)),"&-focused":Object.assign({},(0,yi.M1)(ce)),[`&${ge}-disabled`]:{background:cn,borderColor:Mt,cursor:"not-allowed",[`${ge}-suffix`]:{color:li}},[`&${ge}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${ge}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,yi.ik)(ce)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${ge}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:Ln}}},"&-large":Object.assign(Object.assign({},Mu(ce,Dt,Vt,dt)),{[`${ge}-input > input`]:{fontSize:Vt}}),"&-small":Object.assign({},Mu(ce,Nn,Oe,ln)),[`${ge}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:ua/2,color:wn,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Ca}}},[`${ge}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:wn,lineHeight:1,background:rt,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${on}, color ${on}`,"> *":{verticalAlign:"top"},"&:hover":{color:Ra}},[`${ge}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:Vt,color:wn,fontSize:Vt,verticalAlign:"top",cursor:"default",[`${ge}-focused &`]:{color:Ra},[`${ge}-range-separator &`]:{[`${ge}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${ge}-clear`]:{insetInlineEnd:dt},"&:hover":{[`${ge}-clear`]:{opacity:1}},[`${ge}-active-bar`]:{bottom:-Ot,height:Ba,marginInlineStart:dt,background:Rr,opacity:0,transition:`all ${sr} ease-out`,pointerEvents:"none"},[`&${ge}-focused`]:{[`${ge}-active-bar`]:{opacity:1}},[`${ge}-range-separator`]:{alignItems:"center",padding:`0 ${ua}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)),Uo(ce)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Lr,[`&${ge}-dropdown-hidden`]:{display:"none"},[`&${ge}-dropdown-placement-bottomLeft`]:{[`${ge}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${ge}-dropdown-placement-topLeft`]:{[`${ge}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${fe}-slide-up-enter${fe}-slide-up-enter-active${ge}-dropdown-placement-topLeft, + ${Ie}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Ca}`},"&:first-child:before":{borderStartStartRadius:so,borderEndStartRadius:so},"&:last-child:before":{borderStartEndRadius:so,borderEndEndRadius:so}},"&:hover td":{"&:before":{background:Ro}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${fe}`]:{"&:before":{background:In},[`&${ge}-cell-week`]:{color:new Bu.C(Sr).setAlpha(.5).toHexString()},[Ie]:{color:Sr}}},"&-range-hover td:before":{background:bi}}},"&-date-panel":{[`${ge}-body`]:{padding:`${wt}px ${ii}px`},[`${ge}-content`]:{width:rt*7,th:{width:rt,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${ge}-time-panel`]:{borderInlineStart:`${rn}px ${dn} ${Vt}`},[`${ge}-date-panel, + ${ge}-time-panel`]:{transition:`opacity ${Mn}`},"&-active":{[`${ge}-date-panel, + ${ge}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${ge}-content`]:{display:"flex",flex:"auto",height:No},"&-column":{flex:"1 0 auto",width:Fi,margin:`${It}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Ca}`,overflowX:"hidden","&::after":{display:"block",height:No-Jo,content:'""'},"&:not(:first-child)":{borderInlineStart:`${rn}px ${dn} ${Vt}`},"&-active":{background:new Bu.C(bi).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${ge}-time-panel-cell`]:{marginInline:Kr,[`${ge}-time-panel-cell-inner`]:{display:"block",width:Fi-2*Kr,height:Jo,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(Fi-Jo)/2,color:Lr,lineHeight:`${Jo}px`,borderRadius:so,cursor:"pointer",transition:`background ${Ca}`,"&:hover":{background:Ro}},"&-selected":{[`${ge}-time-panel-cell-inner`]:{background:bi}},"&-disabled":{[`${ge}-time-panel-cell-inner`]:{color:sr,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${ge}-time-panel-column:after`]:{height:No-Jo+It*2}}}},us=ce=>{const{componentCls:ge,colorBgContainer:fe,colorError:Ie,errorActiveShadow:Oe,colorWarning:dt,warningActiveShadow:rt}=ce;return{[`${ge}:not(${ge}-disabled)`]:{[`&${ge}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:fe,borderColor:Ie},[`&${ge}-focused, &:focus`]:Object.assign({},(0,yi.M1)((0,Cl.TS)(ce,{activeBorderColor:Ie,activeShadow:Oe}))),[`${ge}-active-bar`]:{background:Ie}},[`&${ge}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:fe,borderColor:dt},[`&${ge}-focused, &:focus`]:Object.assign({},(0,yi.M1)((0,Cl.TS)(ce,{activeBorderColor:dt,activeShadow:rt}))),[`${ge}-active-bar`]:{background:dt}}}}},ss=ce=>{const{componentCls:ge,antCls:fe,controlHeight:Ie,fontSize:Oe,paddingInline:dt,colorBgContainer:rt,lineWidth:Nt,lineType:wt,colorBorder:It,borderRadius:Gn,motionDurationMid:rn,colorBgContainerDisabled:dn,colorTextDisabled:Nn,colorTextPlaceholder:In,controlHeightLG:Dt,fontSizeLG:Vt,controlHeightSM:On,paddingInlineSM:on,paddingXS:sa,marginXS:Ca,colorTextDescription:Ra,lineWidthBold:Ba,lineHeight:ga,colorPrimary:Rr,motionDurationSlow:sr,zIndexPopup:Lr,paddingXXS:$r,paddingSM:io,textHeight:Mn,cellActiveWithRangeBg:Qo,colorPrimaryBorder:mo,sizePopupArrow:Yr,borderRadiusXS:eo,borderRadiusOuter:Eo,colorBgElevated:Bo,borderRadiusLG:so,boxShadowSecondary:Sr,borderRadiusSM:Ro,colorSplit:No,cellHoverBg:Fi,presetsWidth:Jo,presetsMaxWidth:bi,boxShadowPopoverArrow:Kr,colorTextQuaternary:ii}=ce;return[{[ge]:Object.assign(Object.assign(Object.assign({},(0,Au.Wf)(ce)),Mu(ce,Ie,Oe,dt)),{position:"relative",display:"inline-flex",alignItems:"center",background:rt,lineHeight:1,border:`${Nt}px ${wt} ${It}`,borderRadius:Gn,transition:`border ${rn}, box-shadow ${rn}`,"&:hover, &-focused":Object.assign({},(0,yi.pU)(ce)),"&-focused":Object.assign({},(0,yi.M1)(ce)),[`&${ge}-disabled`]:{background:dn,borderColor:It,cursor:"not-allowed",[`${ge}-suffix`]:{color:ii}},[`&${ge}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${ge}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,yi.ik)(ce)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${ge}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:In}}},"&-large":Object.assign(Object.assign({},Mu(ce,Dt,Vt,dt)),{[`${ge}-input > input`]:{fontSize:Vt}}),"&-small":Object.assign({},Mu(ce,On,Oe,on)),[`${ge}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:sa/2,color:Nn,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Ca}}},[`${ge}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Nn,lineHeight:1,background:rt,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${rn}, color ${rn}`,"> *":{verticalAlign:"top"},"&:hover":{color:Ra}},[`${ge}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:Vt,color:Nn,fontSize:Vt,verticalAlign:"top",cursor:"default",[`${ge}-focused &`]:{color:Ra},[`${ge}-range-separator &`]:{[`${ge}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${ge}-clear`]:{insetInlineEnd:dt},"&:hover":{[`${ge}-clear`]:{opacity:1}},[`${ge}-active-bar`]:{bottom:-Nt,height:Ba,marginInlineStart:dt,background:Rr,opacity:0,transition:`all ${sr} ease-out`,pointerEvents:"none"},[`&${ge}-focused`]:{[`${ge}-active-bar`]:{opacity:1}},[`${ge}-range-separator`]:{alignItems:"center",padding:`0 ${sa}px`,lineHeight:1},[`&${ge}-small`]:{[`${ge}-clear`]:{insetInlineEnd:on},[`${ge}-active-bar`]:{marginInlineStart:on}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,Au.Wf)(ce)),Uo(ce)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Lr,[`&${ge}-dropdown-hidden`]:{display:"none"},[`&${ge}-dropdown-placement-bottomLeft`]:{[`${ge}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${ge}-dropdown-placement-topLeft`]:{[`${ge}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${fe}-slide-up-enter${fe}-slide-up-enter-active${ge}-dropdown-placement-topLeft, &${fe}-slide-up-enter${fe}-slide-up-enter-active${ge}-dropdown-placement-topRight, &${fe}-slide-up-appear${fe}-slide-up-appear-active${ge}-dropdown-placement-topLeft, &${fe}-slide-up-appear${fe}-slide-up-appear-active${ge}-dropdown-placement-topRight`]:{animationName:Jl.Qt},[`&${fe}-slide-up-enter${fe}-slide-up-enter-active${ge}-dropdown-placement-bottomLeft, @@ -321,18 +321,18 @@ ${Fa} &${fe}-slide-up-appear${fe}-slide-up-appear-active${ge}-dropdown-placement-bottomLeft, &${fe}-slide-up-appear${fe}-slide-up-appear-active${ge}-dropdown-placement-bottomRight`]:{animationName:Jl.fJ},[`&${fe}-slide-up-leave${fe}-slide-up-leave-active${ge}-dropdown-placement-topLeft, &${fe}-slide-up-leave${fe}-slide-up-leave-active${ge}-dropdown-placement-topRight`]:{animationName:Jl.ly},[`&${fe}-slide-up-leave${fe}-slide-up-leave-active${ge}-dropdown-placement-bottomLeft, - &${fe}-slide-up-leave${fe}-slide-up-leave-active${ge}-dropdown-placement-bottomRight`]:{animationName:Jl.Uw},[`${ge}-panel > ${ge}-time-panel`]:{paddingTop:eo},[`${ge}-ranges`]:{marginBottom:0,padding:`${eo}px ${lo}px`,overflow:"hidden",lineHeight:`${On-2*Ot-ua/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${ge}-preset > ${fe}-tag-blue`]:{color:Rr,background:Qo,borderColor:fo,cursor:"pointer"},[`${ge}-ok`]:{marginInlineStart:"auto"}},[`${ge}-range-wrapper`]:{display:"flex",position:"relative"},[`${ge}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:dt*1.5,transition:`left ${sr} ease-out`},(0,os.r)(Yr,to,Po,Bo,Kr)),[`${ge}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Bo,borderRadius:co,boxShadow:Sr,transition:`margin ${sr}`,[`${ge}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${ge}-presets`]:{display:"flex",flexDirection:"column",minWidth:Jo,maxWidth:bi,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:ua,borderInlineEnd:`${Ot}px ${Lt} ${No}`,li:Object.assign(Object.assign({},Au.vS),{borderRadius:Ro,paddingInline:ua,paddingBlock:(Nn-Math.round(Oe*ca))/2,cursor:"pointer",transition:`all ${sr}`,"+ li":{marginTop:Ca},"&:hover":{background:Fi}})}},[`${ge}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${ge}-panel`]:{borderWidth:`0 0 ${Ot}px`},"&:last-child":{[`${ge}-panel`]:{borderWidth:0}}},[`${ge}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${ge}-content, - table`]:{textAlign:"center"},"&-focused":{borderColor:Mt}}}}),"&-dropdown-range":{padding:`${Yr*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${ge}-separator`]:{transform:"rotate(180deg)"},[`${ge}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Jl.oN)(ce,"slide-up"),(0,Jl.oN)(ce,"slide-down"),(0,bl.Fm)(ce,"move-up"),(0,bl.Fm)(ce,"move-down")]},ds=ce=>{const{componentCls:ge,controlHeightLG:fe,paddingXXS:Ie,padding:Oe}=ce;return{pickerCellCls:`${ge}-cell`,pickerCellInnerCls:`${ge}-cell-inner`,pickerYearMonthCellWidth:fe*1.5,pickerQuarterPanelContentHeight:fe*1.4,pickerCellPaddingVertical:Ie+Ie/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:Oe+Ie/2}},Uu=ce=>({cellHoverBg:ce.controlItemBgHover,cellActiveWithRangeBg:ce.controlItemBgActive,cellHoverWithRangeBg:new Bu.C(ce.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Bu.C(ce.colorPrimary).lighten(20).toHexString(),cellBgDisabled:ce.colorBgContainerDisabled,timeColumnWidth:ce.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:ce.controlHeightSM*1.5,cellHeight:ce.controlHeightSM,textHeight:ce.controlHeightLG,withoutTimeCellHeight:ce.controlHeightLG*1.65});var Ru=(0,is.Z)("DatePicker",ce=>{const ge=(0,Cl.TS)((0,yi.e5)(ce),ds(ce));return[ss(ge),us(ge),(0,lu.c)(ce,{focusElCls:`${ce.componentCls}-focused`})]},ce=>Object.assign(Object.assign(Object.assign({},(0,yi.TM)(ce)),Uu(ce)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:ce.zIndexPopupBase+50}));function ku(ce,ge,fe){return fe!==void 0?fe:ge==="year"&&ce.lang.yearPlaceholder?ce.lang.yearPlaceholder:ge==="quarter"&&ce.lang.quarterPlaceholder?ce.lang.quarterPlaceholder:ge==="month"&&ce.lang.monthPlaceholder?ce.lang.monthPlaceholder:ge==="week"&&ce.lang.weekPlaceholder?ce.lang.weekPlaceholder:ge==="time"&&ce.timePickerLocale.placeholder?ce.timePickerLocale.placeholder:ce.lang.placeholder}function Qu(ce,ge,fe){return fe!==void 0?fe:ge==="year"&&ce.lang.yearPlaceholder?ce.lang.rangeYearPlaceholder:ge==="quarter"&&ce.lang.quarterPlaceholder?ce.lang.rangeQuarterPlaceholder:ge==="month"&&ce.lang.monthPlaceholder?ce.lang.rangeMonthPlaceholder:ge==="week"&&ce.lang.weekPlaceholder?ce.lang.rangeWeekPlaceholder:ge==="time"&&ce.timePickerLocale.placeholder?ce.timePickerLocale.rangePlaceholder:ce.lang.rangePlaceholder}function tl(ce,ge){const fe={adjustX:1,adjustY:1};switch(ge){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:fe};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:fe};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:fe};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:fe};default:return{points:ce==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:fe}}}function dl(ce){return ce?Array.isArray(ce)?ce:[ce]:[]}function yu(ce){const{format:ge,picker:fe,showHour:Ie,showMinute:Oe,showSecond:dt,use12Hours:rt}=ce,Ot=dl(ge)[0],Lt=Object.assign({},ce);return ge&&Array.isArray(ge)&&(Lt.format=Ot),Ot&&typeof Ot=="string"&&(!Ot.includes("s")&&dt===void 0&&(Lt.showSecond=!1),!Ot.includes("m")&&Oe===void 0&&(Lt.showMinute=!1),!Ot.includes("H")&&!Ot.includes("h")&&!Ot.includes("K")&&!Ot.includes("k")&&Ie===void 0&&(Lt.showHour=!1),(Ot.includes("a")||Ot.includes("A"))&&rt===void 0&&(Lt.use12Hours=!0)),fe==="time"?Lt:(typeof Ot=="function"&&delete Lt.format,{showTime:Lt})}function Yu(ce,ge,fe){if(ce===!1)return!1;const Ie={clearIcon:ge!=null?ge:fe};return typeof ce=="object"?Object.assign(Object.assign({},Ie),ce):Ie}var Ku=oe(3113);function ba(ce){return ie.createElement(Ku.ZP,Object.assign({size:"small",type:"primary"},ce))}var _u={button:ba},Fu=function(ce,ge){var fe={};for(var Ie in ce)Object.prototype.hasOwnProperty.call(ce,Ie)&&ge.indexOf(Ie)<0&&(fe[Ie]=ce[Ie]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Ie=Object.getOwnPropertySymbols(ce);Oe{const{prefixCls:Oe,getPopupContainer:dt,className:rt,placement:Ot,size:Lt,disabled:Mt,bordered:Zn=!0,placeholder:on,popupClassName:cn,dropdownClassName:wn,status:Ln,clearIcon:Dt,allowClear:Vt,rootClassName:Nn}=fe,ln=Fu(fe,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),ua=ie.useRef(null),{getPrefixCls:Ca,direction:Ra,getPopupContainer:Ba}=(0,ie.useContext)(Nu.E_),ca=Ca("picker",Oe),{compactSize:Rr,compactItemClassnames:sr}=(0,Ni.ri)(ca,Ra),{format:Lr,showTime:eo,picker:lo}=fe,On=Ca(),[Qo,fo]=Ru(ca),Yr=Object.assign(Object.assign({},eo?yu(Object.assign({format:Lr,picker:lo},eo)):{}),lo==="time"?yu(Object.assign(Object.assign({format:Lr},fe),{picker:lo})):{}),to=(0,Vu.Z)(Kr=>{var li;return(li=Lt!=null?Lt:Rr)!==null&&li!==void 0?li:Kr}),Po=ie.useContext(iu.Z),Bo=Mt!=null?Mt:Po,co=(0,ie.useContext)(Iu.aM),{hasFeedback:Sr,status:Ro,feedbackIcon:No}=co,Fi=ie.createElement(ie.Fragment,null,lo==="time"?ie.createElement(ht,null):ie.createElement(Re,null),Sr&&No);(0,ie.useImperativeHandle)(Ie,()=>({focus:()=>{var Kr;return(Kr=ua.current)===null||Kr===void 0?void 0:Kr.focus()},blur:()=>{var Kr;return(Kr=ua.current)===null||Kr===void 0?void 0:Kr.blur()}}));const[Jo]=(0,Ou.Z)("Calendar",Wu.Z),bi=Object.assign(Object.assign({},Jo),fe.locale);return Qo(ie.createElement(zu,Object.assign({separator:ie.createElement("span",{"aria-label":"to",className:`${ca}-separator`},ie.createElement(Wt,null)),disabled:Bo,ref:ua,dropdownAlign:tl(Ra,Ot),placeholder:Qu(bi,lo,on),suffixIcon:Fi,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:`${On}-slide-up`},ln,Yr,{className:Te()({[`${ca}-${to}`]:to,[`${ca}-borderless`]:!Zn},(0,Pu.Z)(ca,(0,Pu.F)(Ro,Ln),Sr),fo,sr,rt,Nn),locale:bi.lang,prefixCls:ca,getPopupContainer:dt||Ba,generateConfig:ce,components:_u,direction:Ra,dropdownClassName:Te()(fo,cn||wn,Nn),allowClear:Yu(Vt,Dt,ie.createElement(ct.Z,null))})))})}var Xl=function(ce,ge){var fe={};for(var Ie in ce)Object.prototype.hasOwnProperty.call(ce,Ie)&&ge.indexOf(Ie)<0&&(fe[Ie]=ce[Ie]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Ie=Object.getOwnPropertySymbols(ce);Oe{const{prefixCls:Ln,getPopupContainer:Dt,style:Vt,className:Nn,rootClassName:ln,size:ua,bordered:Ca=!0,placement:Ra,placeholder:Ba,popupClassName:ca,dropdownClassName:Rr,disabled:sr,status:Lr,clearIcon:eo,allowClear:lo}=cn,On=Xl(cn,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:Qo,direction:fo,getPopupContainer:Yr,[Zn]:to}=(0,ie.useContext)(Nu.E_),Po=Qo("picker",Ln),{compactSize:Bo,compactItemClassnames:co}=(0,Ni.ri)(Po,fo),Sr=ie.useRef(null),{format:Ro,showTime:No}=cn,[Fi,Jo]=Ru(Po);(0,ie.useImperativeHandle)(wn,()=>({focus:()=>{var Si;return(Si=Sr.current)===null||Si===void 0?void 0:Si.focus()},blur:()=>{var Si;return(Si=Sr.current)===null||Si===void 0?void 0:Si.blur()}}));const bi={showToday:!0};let Kr={};Lt&&(Kr.picker=Lt);const li=Lt||cn.picker;Kr=Object.assign(Object.assign(Object.assign({},Kr),No?yu(Object.assign({format:Ro,picker:li},No)):{}),li==="time"?yu(Object.assign(Object.assign({format:Ro},cn),{picker:li})):{});const hi=Qo(),Oi=(0,Vu.Z)(Si=>{var Bl;return(Bl=ua!=null?ua:Bo)!==null&&Bl!==void 0?Bl:Si}),gi=ie.useContext(iu.Z),Ki=sr!=null?sr:gi,cl=(0,ie.useContext)(Iu.aM),{hasFeedback:Vr,status:po,feedbackIcon:yo}=cl,mi=ie.createElement(ie.Fragment,null,li==="time"?ie.createElement(ht,null):ie.createElement(Re,null),Vr&&yo),[Mi]=(0,Ou.Z)("DatePicker",Wu.Z),$o=Object.assign(Object.assign({},Mi),cn.locale);return Fi(ie.createElement(Lu,Object.assign({ref:Sr,placeholder:ku($o,li,Ba),suffixIcon:mi,dropdownAlign:tl(fo,Ra),prevIcon:ie.createElement("span",{className:`${Po}-prev-icon`}),nextIcon:ie.createElement("span",{className:`${Po}-next-icon`}),superPrevIcon:ie.createElement("span",{className:`${Po}-super-prev-icon`}),superNextIcon:ie.createElement("span",{className:`${Po}-super-next-icon`}),transitionName:`${hi}-slide-up`},bi,On,Kr,{locale:$o.lang,className:Te()({[`${Po}-${Oi}`]:Oi,[`${Po}-borderless`]:!Ca},(0,Pu.Z)(Po,(0,Pu.F)(po,Lr),Vr),Jo,co,to==null?void 0:to.className,Nn,ln),style:Object.assign(Object.assign({},to==null?void 0:to.style),Vt),prefixCls:Po,getPopupContainer:Dt||Yr,generateConfig:ce,components:_u,direction:fo,disabled:Ki,dropdownClassName:Te()(Jo,ln,ca||Rr),allowClear:Yu(lo,eo,ie.createElement(ct.Z,null))})))});return Mt&&(on.displayName=Mt),on}const fe=ge(),Ie=ge("week","WeekPicker"),Oe=ge("month","MonthPicker"),dt=ge("year","YearPicker"),rt=ge("time","TimePicker"),Ot=ge("quarter","QuarterPicker");return{DatePicker:fe,WeekPicker:Ie,MonthPicker:Oe,YearPicker:dt,TimePicker:rt,QuarterPicker:Ot}}const Os=null;function ms(ce){const{DatePicker:ge,WeekPicker:fe,MonthPicker:Ie,YearPicker:Oe,TimePicker:dt,QuarterPicker:rt}=gs(ce),Ot=Un(ce),Lt=ge;return Lt.WeekPicker=fe,Lt.MonthPicker=Ie,Lt.YearPicker=Oe,Lt.RangePicker=Ot,Lt.TimePicker=dt,Lt.QuarterPicker=rt,Lt}var Ju=ms;const ql=Ju(te);function si(ce){const ge=tl(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,si);ql._InternalPanelDoNotUseOrYouWillBeFired=Tu;const Xu=(0,ae.Z)(ql.RangePicker,"picker",null,si);ql._InternalRangePanelDoNotUseOrYouWillBeFired=Xu,ql.generatePicker=Ju;var fs=ql},39722:function(yt,_t,oe){"use strict";oe.d(_t,{t5:function(){return Le}});var b=oe(92310),he=oe.n(b),De=oe(55477),Ae=oe(59301),ke=oe(36355),ze=oe(77578),xe=oe(17356),tt=function(He,Je){var le={};for(var E in He)Object.prototype.hasOwnProperty.call(He,E)&&Je.indexOf(E)<0&&(le[E]=He[E]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,E=Object.getOwnPropertySymbols(He);a{if(!(!Je&&!le))return Ae.createElement(Ae.Fragment,null,Je&&Ae.createElement("div",{className:`${He}-title`},(0,ze.Z)(Je)),Ae.createElement("div",{className:`${He}-inner-content`},(0,ze.Z)(le)))},Le=He=>{const{hashId:Je,prefixCls:le,className:E,style:a,placement:x="top",title:y,content:z,children:te}=He;return Ae.createElement("div",{className:he()(Je,le,`${le}-pure`,`${le}-placement-${x}`,E),style:a},Ae.createElement("div",{className:`${le}-arrow`}),Ae.createElement(De.G,Object.assign({},He,{className:Je,prefixCls:le}),te||Me(le,y,z)))},_e=He=>{const{prefixCls:Je}=He,le=tt(He,["prefixCls"]),{getPrefixCls:E}=Ae.useContext(ke.E_),a=E("popover",Je),[x,y]=(0,xe.Z)(a);return x(Ae.createElement(Le,Object.assign({},le,{prefixCls:a,hashId:y})))};_t.ZP=_e},60324:function(yt,_t,oe){"use strict";var b=oe(92310),he=oe.n(b),De=oe(59301),Ae=oe(77578),ke=oe(62892),ze=oe(36355),xe=oe(6848),tt=oe(39722),Me=oe(17356),Le=function(Je,le){var E={};for(var a in Je)Object.prototype.hasOwnProperty.call(Je,a)&&le.indexOf(a)<0&&(E[a]=Je[a]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,a=Object.getOwnPropertySymbols(Je);x{let{title:le,content:E,prefixCls:a}=Je;return De.createElement(De.Fragment,null,le&&De.createElement("div",{className:`${a}-title`},(0,Ae.Z)(le)),De.createElement("div",{className:`${a}-inner-content`},(0,Ae.Z)(E)))},He=De.forwardRef((Je,le)=>{const{prefixCls:E,title:a,content:x,overlayClassName:y,placement:z="top",trigger:te="hover",mouseEnterDelay:ae=.1,mouseLeaveDelay:se=.1,overlayStyle:ie={}}=Je,Se=Le(Je,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:be}=De.useContext(ze.E_),We=be("popover",E),[Ne,mt]=(0,Me.Z)(We),Re=be(),Xe=he()(y,mt);return Ne(De.createElement(xe.Z,Object.assign({placement:z,trigger:te,mouseEnterDelay:ae,mouseLeaveDelay:se,overlayStyle:ie},Se,{prefixCls:We,overlayClassName:Xe,ref:le,overlay:a||x?De.createElement(_e,{prefixCls:We,title:a,content:x}):null,transitionName:(0,ke.m)(Re,"zoom-big",Se.transitionName),"data-popover-inject":!0})))});He._InternalPanelDoNotUseOrYouWillBeFired=tt.ZP,_t.Z=He},17356:function(yt,_t,oe){"use strict";var b=oe(17313),he=oe(29878),De=oe(19447),Ae=oe(33166),ke=oe(83116),ze=oe(37613);const xe=Le=>{const{componentCls:_e,popoverColor:He,minWidth:Je,fontWeightStrong:le,popoverPadding:E,boxShadowSecondary:a,colorTextHeading:x,borderRadiusLG:y,zIndexPopup:z,marginXS:te,colorBgElevated:ae,popoverBg:se}=Le;return[{[_e]:Object.assign(Object.assign({},(0,b.Wf)(Le)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:z,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":ae,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${_e}-content`]:{position:"relative"},[`${_e}-inner`]:{backgroundColor:se,backgroundClip:"padding-box",borderRadius:y,boxShadow:a,padding:E},[`${_e}-title`]:{minWidth:Je,marginBottom:te,color:x,fontWeight:le},[`${_e}-inner-content`]:{color:He}})},(0,De.ZP)(Le,{colorBg:"var(--antd-arrow-background-color)"}),{[`${_e}-pure`]:{position:"relative",maxWidth:"none",margin:Le.sizePopupArrow,display:"inline-block",[`${_e}-content`]:{display:"inline-block"}}}]},tt=Le=>{const{componentCls:_e}=Le;return{[_e]:Ae.i.map(He=>{const Je=Le[`${He}6`];return{[`&${_e}-${He}`]:{"--antd-arrow-background-color":Je,[`${_e}-inner`]:{backgroundColor:Je},[`${_e}-arrow`]:{background:"transparent"}}}})}},Me=Le=>{const{componentCls:_e,lineWidth:He,lineType:Je,colorSplit:le,paddingSM:E,controlHeight:a,fontSize:x,lineHeight:y,padding:z}=Le,te=a-Math.round(x*y),ae=te/2,se=te/2-He,ie=z;return{[_e]:{[`${_e}-inner`]:{padding:0},[`${_e}-title`]:{margin:0,padding:`${ae}px ${ie}px ${se}px`,borderBottom:`${He}px ${Je} ${le}`},[`${_e}-inner-content`]:{padding:`${E}px ${ie}px`}}}};_t.Z=(0,ke.Z)("Popover",Le=>{const{colorBgElevated:_e,colorText:He,wireframe:Je}=Le,le=(0,ze.TS)(Le,{popoverPadding:12,popoverBg:_e,popoverColor:He});return[xe(le),tt(le),Je&&Me(le),(0,he._y)(le,"zoom-big")]},Le=>({width:177,minWidth:177,zIndexPopup:Le.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},12563:function(yt,_t,oe){"use strict";oe.d(_t,{default:function(){return mt}});var b=oe(59301),he=oe(99267),De=oe(92310),Ae=oe.n(De),ke=oe(36785),ze=oe(47729),xe=oe(14088),tt=oe(36355),Me=oe(17313),Le=oe(37613),_e=oe(83116);const He=Re=>{const{paddingXXS:Xe,lineWidth:Qe,tagPaddingHorizontal:et,componentCls:we}=Re,ht=et-Qe,ct=Xe-Qe;return{[we]:Object.assign(Object.assign({},(0,Me.Wf)(Re)),{display:"inline-block",height:"auto",marginInlineEnd:Re.marginXS,paddingInline:ht,fontSize:Re.tagFontSize,lineHeight:Re.tagLineHeight,whiteSpace:"nowrap",background:Re.defaultBg,border:`${Re.lineWidth}px ${Re.lineType} ${Re.colorBorder}`,borderRadius:Re.borderRadiusSM,opacity:1,transition:`all ${Re.motionDurationMid}`,textAlign:"start",position:"relative",[`&${we}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:Re.defaultColor},[`${we}-close-icon`]:{marginInlineStart:ct,color:Re.colorTextDescription,fontSize:Re.tagIconSize,cursor:"pointer",transition:`all ${Re.motionDurationMid}`,"&:hover":{color:Re.colorTextHeading}},[`&${we}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${Re.iconCls}-close, ${Re.iconCls}-close:hover`]:{color:Re.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${we}-checkable-checked):hover`]:{color:Re.colorPrimary,backgroundColor:Re.colorFillSecondary},"&:active, &-checked":{color:Re.colorTextLightSolid},"&-checked":{backgroundColor:Re.colorPrimary,"&:hover":{backgroundColor:Re.colorPrimaryHover}},"&:active":{backgroundColor:Re.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${Re.iconCls} + span, > span + ${Re.iconCls}`]:{marginInlineStart:ht}}),[`${we}-borderless`]:{borderColor:"transparent",background:Re.tagBorderlessBg}}},Je=Re=>{const{lineWidth:Xe,fontSizeIcon:Qe}=Re,et=Re.fontSizeSM,we=`${Re.lineHeightSM*et}px`;return(0,Le.TS)(Re,{tagFontSize:et,tagLineHeight:we,tagIconSize:Qe-2*Xe,tagPaddingHorizontal:8,tagBorderlessBg:Re.colorFillTertiary})},le=Re=>({defaultBg:Re.colorFillQuaternary,defaultColor:Re.colorText});var E=(0,_e.Z)("Tag",Re=>{const Xe=Je(Re);return He(Xe)},le),a=function(Re,Xe){var Qe={};for(var et in Re)Object.prototype.hasOwnProperty.call(Re,et)&&Xe.indexOf(et)<0&&(Qe[et]=Re[et]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,et=Object.getOwnPropertySymbols(Re);we{const{prefixCls:Xe,style:Qe,className:et,checked:we,onChange:ht,onClick:ct}=Re,It=a(Re,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:gt,tag:Pn}=b.useContext(tt.E_),an=Qt=>{ht==null||ht(!we),ct==null||ct(Qt)},Wt=gt("tag",Xe),[Tt,Te]=E(Wt),ot=Ae()(Wt,`${Wt}-checkable`,{[`${Wt}-checkable-checked`]:we},Pn==null?void 0:Pn.className,et,Te);return Tt(b.createElement("span",Object.assign({},It,{style:Object.assign(Object.assign({},Qe),Pn==null?void 0:Pn.style),className:ot,onClick:an})))},z=oe(45157);const te=Re=>(0,z.Z)(Re,(Xe,Qe)=>{let{textColor:et,lightBorderColor:we,lightColor:ht,darkColor:ct}=Qe;return{[`${Re.componentCls}-${Xe}`]:{color:et,background:ht,borderColor:we,"&-inverse":{color:Re.colorTextLightSolid,background:ct,borderColor:ct},[`&${Re.componentCls}-borderless`]:{borderColor:"transparent"}}}});var ae=(0,_e.b)(["Tag","preset"],Re=>{const Xe=Je(Re);return te(Xe)},le);function se(Re){return typeof Re!="string"?Re:Re.charAt(0).toUpperCase()+Re.slice(1)}const ie=(Re,Xe,Qe)=>{const et=se(Qe);return{[`${Re.componentCls}-${Xe}`]:{color:Re[`color${Qe}`],background:Re[`color${et}Bg`],borderColor:Re[`color${et}Border`],[`&${Re.componentCls}-borderless`]:{borderColor:"transparent"}}}};var Se=(0,_e.b)(["Tag","status"],Re=>{const Xe=Je(Re);return[ie(Xe,"success","Success"),ie(Xe,"processing","Info"),ie(Xe,"error","Error"),ie(Xe,"warning","Warning")]},le),be=function(Re,Xe){var Qe={};for(var et in Re)Object.prototype.hasOwnProperty.call(Re,et)&&Xe.indexOf(et)<0&&(Qe[et]=Re[et]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,et=Object.getOwnPropertySymbols(Re);we{const{prefixCls:Qe,className:et,rootClassName:we,style:ht,children:ct,icon:It,color:gt,onClose:Pn,closeIcon:an,closable:Wt,bordered:Tt=!0}=Re,Te=be(Re,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:ot,direction:Qt,tag:An}=b.useContext(tt.E_),[Bt,un]=b.useState(!0);b.useEffect(()=>{"visible"in Te&&un(Te.visible)},[Te.visible]);const Ce=(0,ke.o2)(gt),ut=(0,ke.yT)(gt),Xt=Ce||ut,nt=Object.assign(Object.assign({backgroundColor:gt&&!Xt?gt:void 0},An==null?void 0:An.style),ht),Pt=ot("tag",Qe),[kn,dn]=E(Pt),kt=Ae()(Pt,An==null?void 0:An.className,{[`${Pt}-${gt}`]:Xt,[`${Pt}-has-color`]:gt&&!Xt,[`${Pt}-hidden`]:!Bt,[`${Pt}-rtl`]:Qt==="rtl",[`${Pt}-borderless`]:!Tt},et,we,dn),Rt=ya=>{ya.stopPropagation(),Pn==null||Pn(ya),!ya.defaultPrevented&&un(!1)},[,Qn]=(0,ze.Z)(Wt,an,ya=>ya===null?b.createElement(he.Z,{className:`${Pt}-close-icon`,onClick:Rt}):b.createElement("span",{className:`${Pt}-close-icon`,onClick:Rt},ya),null,!1),na=typeof Te.onClick=="function"||ct&&ct.type==="a",tn=It||null,Fa=tn?b.createElement(b.Fragment,null,tn,ct&&b.createElement("span",null,ct)):ct,_a=b.createElement("span",Object.assign({},Te,{ref:Xe,className:kt,style:nt}),Fa,Qn,Ce&&b.createElement(ae,{key:"preset",prefixCls:Pt}),ut&&b.createElement(Se,{key:"status",prefixCls:Pt}));return kn(na?b.createElement(xe.Z,{component:"Tag"},_a):_a)},Ne=b.forwardRef(We);Ne.CheckableTag=y;var mt=Ne},98228:function(yt,_t,oe){"use strict";oe.d(_t,{default:function(){return ho}});var b=oe(92310),he=oe.n(b),De=oe(72308),Ae=oe(80702),ke=oe(77321),ze=oe(52487),xe=oe(74416),tt=oe(62853),Me=oe(77861),Le=oe(17115),_e=oe(90782),He=oe(18929),Je=oe(48736),le=oe(59301),E=function(Ht){var Tn=le.useRef({valueLabels:new Map});return le.useMemo(function(){var Xn=Tn.current.valueLabels,ha=new Map,Be=Ht.map(function(at){var st,Ft=at.value,St=(st=at.label)!==null&&st!==void 0?st:Xn.get(Ft);return ha.set(Ft,St),(0,ke.Z)((0,ke.Z)({},at),{},{label:St})});return Tn.current.valueLabels=ha,[Be]},[Ht])},a=function(Ht,Tn,Xn,ha){return le.useMemo(function(){var Be=Ht.map(function(St){var mn=St.value;return mn}),at=Tn.map(function(St){var mn=St.value;return mn}),st=Be.filter(function(St){return!ha[St]});if(Xn){var Ft=(0,_e.S)(Be,!0,ha);Be=Ft.checkedKeys,at=Ft.halfCheckedKeys}return[Array.from(new Set([].concat((0,Ae.Z)(st),(0,Ae.Z)(Be)))),at]},[Ht,Tn,Xn,ha])},x=oe(71430),y=function(Ht,Tn){return le.useMemo(function(){var Xn=(0,x.I8)(Ht,{fieldNames:Tn,initWrapper:function(Be){return(0,ke.Z)((0,ke.Z)({},Be),{},{valueEntities:new Map})},processEntity:function(Be,at){var st=Be.node[Tn.value];if(0)var Ft;at.valueEntities.set(st,Be)}});return Xn},[Ht,Tn])},z=oe(49618),te=oe(11592),ae=function(){return null},se=ae,ie=["children","value"];function Se(Ht){return(0,te.Z)(Ht).map(function(Tn){if(!le.isValidElement(Tn)||!Tn.type)return null;var Xn=Tn,ha=Xn.key,Be=Xn.props,at=Be.children,st=Be.value,Ft=(0,xe.Z)(Be,ie),St=(0,ke.Z)({key:ha,value:st},Ft),mn=Se(at);return mn.length&&(St.children=mn),St}).filter(function(Tn){return Tn})}function be(Ht){if(!Ht)return Ht;var Tn=(0,ke.Z)({},Ht);return"props"in Tn||Object.defineProperty(Tn,"props",{get:function(){return(0,Je.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),Tn}}),Tn}function We(Ht,Tn,Xn,ha,Be,at){var st=null,Ft=null;function St(){function mn(Jt){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Ke=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Jt.map(function(Ue,Ct){var sn="".concat(Ge,"-").concat(Ct),hn=Ue[at.value],aa=Xn.includes(hn),Vn=mn(Ue[at.children]||[],sn,aa),Dn=le.createElement(se,Ue,Vn.map(function(_n){return _n.node}));if(Tn===hn&&(st=Dn),aa){var Gn={pos:sn,node:Dn,children:Vn};return Ke||Ft.push(Gn),Gn}return null}).filter(function(Ue){return Ue})}Ft||(Ft=[],mn(ha),Ft.sort(function(Jt,Ge){var Ke=Jt.node.props.value,Ue=Ge.node.props.value,Ct=Xn.indexOf(Ke),sn=Xn.indexOf(Ue);return Ct-sn}))}Object.defineProperty(Ht,"triggerNode",{get:function(){return(0,Je.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),St(),st}}),Object.defineProperty(Ht,"allCheckedNodes",{get:function(){return(0,Je.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),St(),Be?Ft:Ft.map(function(Jt){var Ge=Jt.node;return Ge})}})}var Ne=function(Ht,Tn,Xn){var ha=Xn.treeNodeFilterProp,Be=Xn.filterTreeNode,at=Xn.fieldNames,st=at.children;return le.useMemo(function(){if(!Tn||Be===!1)return Ht;var Ft;if(typeof Be=="function")Ft=Be;else{var St=Tn.toUpperCase();Ft=function(Ge,Ke){var Ue=Ke[ha];return String(Ue).toUpperCase().includes(St)}}function mn(Jt){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Jt.reduce(function(Ke,Ue){var Ct=Ue[st],sn=Ge||Ft(Tn,be(Ue)),hn=mn(Ct||[],sn);return(sn||hn.length)&&Ke.push((0,ke.Z)((0,ke.Z)({},Ue),{},(0,z.Z)({isLeaf:void 0},st,hn))),Ke},[])}return mn(Ht)},[Ht,Tn,st,ha,Be])};function mt(Ht){var Tn=le.useRef();Tn.current=Ht;var Xn=le.useCallback(function(){return Tn.current.apply(Tn,arguments)},[]);return Xn}function Re(Ht,Tn){var Xn=Tn.id,ha=Tn.pId,Be=Tn.rootPId,at={},st=[],Ft=Ht.map(function(St){var mn=(0,ke.Z)({},St),Jt=mn[Xn];return at[Jt]=mn,mn.key=mn.key||Jt,mn});return Ft.forEach(function(St){var mn=St[ha],Jt=at[mn];Jt&&(Jt.children=Jt.children||[],Jt.children.push(St)),(mn===Be||!Jt&&Be===null)&&st.push(St)}),st}function Xe(Ht,Tn,Xn){return le.useMemo(function(){return Ht?Xn?Re(Ht,(0,ke.Z)({id:"id",pId:"pId",rootPId:null},Xn!==!0?Xn:{})):Ht:Se(Tn)},[Tn,Xn,Ht])}var Qe=le.createContext(null),et=Qe,we=oe(10228),ht=oe(80547),ct=oe(54844),It=le.createContext(null),gt=It;function Pn(Ht){return Array.isArray(Ht)?Ht:Ht!==void 0?[Ht]:[]}function an(Ht){var Tn=Ht||{},Xn=Tn.label,ha=Tn.value,Be=Tn.children,at=ha||"value";return{_title:Xn?[Xn]:["title","label"],value:at,key:at,children:Be||"children"}}function Wt(Ht){return!Ht||Ht.disabled||Ht.disableCheckbox||Ht.checkable===!1}function Tt(Ht,Tn){var Xn=[];function ha(Be){Be.forEach(function(at){var st=at[Tn.children];st&&(Xn.push(at[Tn.value]),ha(st))})}return ha(Ht),Xn}function Te(Ht){return Ht==null}var ot={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Qt=function(Tn,Xn){var ha=(0,Me.lk)(),Be=ha.prefixCls,at=ha.multiple,st=ha.searchValue,Ft=ha.toggleOpen,St=ha.open,mn=ha.notFoundContent,Jt=le.useContext(gt),Ge=Jt.virtual,Ke=Jt.listHeight,Ue=Jt.listItemHeight,Ct=Jt.treeData,sn=Jt.fieldNames,hn=Jt.onSelect,aa=Jt.dropdownMatchSelectWidth,Vn=Jt.treeExpandAction,Dn=le.useContext(et),Gn=Dn.checkable,_n=Dn.checkedKeys,jt=Dn.halfCheckedKeys,La=Dn.treeExpandedKeys,lr=Dn.treeDefaultExpandAll,io=Dn.treeDefaultExpandedKeys,Wa=Dn.onTreeExpand,zt=Dn.treeIcon,jr=Dn.showTreeIcon,Ta=Dn.switcherIcon,vr=Dn.treeLine,er=Dn.treeNodeFilterProp,kr=Dn.loadData,br=Dn.treeLoadedKeys,$r=Dn.treeMotion,wr=Dn.onTreeLoad,ra=Dn.keyEntities,$t=le.useRef(),Xa=(0,ht.Z)(function(){return Ct},[St,Ct],function(ur,zr){return zr[0]&&ur[1]!==zr[1]}),la=le.useState(null),tr=(0,ze.Z)(la,2),Oa=tr[0],Sn=tr[1],qn=ra[Oa],Aa=le.useMemo(function(){return Gn?{checked:_n,halfChecked:jt}:null},[Gn,_n,jt]);le.useEffect(function(){if(St&&!at&&_n.length){var ur;(ur=$t.current)===null||ur===void 0||ur.scrollTo({key:_n[0]}),Sn(_n[0])}},[St]);var Wn=String(st).toLowerCase(),qa=function(zr){return Wn?String(zr[er]).toLowerCase().includes(Wn):!1},Ka=le.useState(io),pr=(0,ze.Z)(Ka,2),_r=pr[0],nr=pr[1],jo=le.useState(null),Co=(0,ze.Z)(jo,2),pi=Co[0],Pr=Co[1],Ar=le.useMemo(function(){return La?(0,Ae.Z)(La):st?pi:_r},[_r,pi,La,st]);le.useEffect(function(){st&&Pr(Tt(Ct,sn))},[st]);var so=function(zr){nr(zr),Pr(zr),Wa&&Wa(zr)},za=function(zr){zr.preventDefault()},Tr=function(zr,vo){var Qr=vo.node;Gn&&Wt(Qr)||(hn(Qr.key,{selected:!_n.includes(Qr.key)}),at||Ft(!1))};if(le.useImperativeHandle(Xn,function(){var ur;return{scrollTo:(ur=$t.current)===null||ur===void 0?void 0:ur.scrollTo,onKeyDown:function(vo){var Qr,Ha=vo.which;switch(Ha){case we.Z.UP:case we.Z.DOWN:case we.Z.LEFT:case we.Z.RIGHT:(Qr=$t.current)===null||Qr===void 0||Qr.onKeyDown(vo);break;case we.Z.ENTER:{if(qn){var wo=(qn==null?void 0:qn.node)||{},ni=wo.selectable,oi=wo.value;ni!==!1&&Tr(null,{node:{key:Oa},selected:!_n.includes(oi)})}break}case we.Z.ESC:Ft(!1)}},onKeyUp:function(){}}}),Xa.length===0)return le.createElement("div",{role:"listbox",className:"".concat(Be,"-empty"),onMouseDown:za},mn);var Hr={fieldNames:sn};return br&&(Hr.loadedKeys=br),Ar&&(Hr.expandedKeys=Ar),le.createElement("div",{onMouseDown:za},qn&&St&&le.createElement("span",{style:ot,"aria-live":"assertive"},qn.node.value),le.createElement(ct.Z,(0,De.Z)({ref:$t,focusable:!1,prefixCls:"".concat(Be,"-tree"),treeData:Xa,height:Ke,itemHeight:Ue,virtual:Ge!==!1&&aa!==!1,multiple:at,icon:zt,showIcon:jr,switcherIcon:Ta,showLine:vr,loadData:st?null:kr,motion:$r,activeKey:Oa,checkable:Gn,checkStrictly:!0,checkedKeys:Aa,selectedKeys:Gn?[]:_n,defaultExpandAll:lr},Hr,{onActiveChange:Sn,onSelect:Tr,onCheck:Tr,onExpand:so,onLoad:wr,filterTreeNode:qa,expandAction:Vn})))},An=le.forwardRef(Qt);An.displayName="OptionList";var Bt=An,un="SHOW_ALL",Ce="SHOW_PARENT",ut="SHOW_CHILD";function Xt(Ht,Tn,Xn,ha){var Be=new Set(Ht);return Tn===ut?Ht.filter(function(at){var st=Xn[at];return!(st&&st.children&&st.children.some(function(Ft){var St=Ft.node;return Be.has(St[ha.value])})&&st.children.every(function(Ft){var St=Ft.node;return Wt(St)||Be.has(St[ha.value])}))}):Tn===Ce?Ht.filter(function(at){var st=Xn[at],Ft=st?st.parent:null;return!(Ft&&!Wt(Ft.node)&&Be.has(Ft.key))}):Ht}function nt(Ht){var Tn=Ht.searchPlaceholder,Xn=Ht.treeCheckStrictly,ha=Ht.treeCheckable,Be=Ht.labelInValue,at=Ht.value,st=Ht.multiple;warning(!Tn,"`searchPlaceholder` has been removed."),Xn&&Be===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Be||Xn)&&warning(toArray(at).every(function(Ft){return Ft&&_typeof(Ft)==="object"&&"value"in Ft}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),Xn||st||ha?warning(!at||Array.isArray(at),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(at),"`value` should not be array when `TreeSelect` is single mode.")}var Pt=null,kn=["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 dn(Ht){return!Ht||(0,tt.Z)(Ht)!=="object"}var kt=le.forwardRef(function(Ht,Tn){var Xn=Ht.id,ha=Ht.prefixCls,Be=ha===void 0?"rc-tree-select":ha,at=Ht.value,st=Ht.defaultValue,Ft=Ht.onChange,St=Ht.onSelect,mn=Ht.onDeselect,Jt=Ht.searchValue,Ge=Ht.inputValue,Ke=Ht.onSearch,Ue=Ht.autoClearSearchValue,Ct=Ue===void 0?!0:Ue,sn=Ht.filterTreeNode,hn=Ht.treeNodeFilterProp,aa=hn===void 0?"value":hn,Vn=Ht.showCheckedStrategy,Dn=Ht.treeNodeLabelProp,Gn=Ht.multiple,_n=Ht.treeCheckable,jt=Ht.treeCheckStrictly,La=Ht.labelInValue,lr=Ht.fieldNames,io=Ht.treeDataSimpleMode,Wa=Ht.treeData,zt=Ht.children,jr=Ht.loadData,Ta=Ht.treeLoadedKeys,vr=Ht.onTreeLoad,er=Ht.treeDefaultExpandAll,kr=Ht.treeExpandedKeys,br=Ht.treeDefaultExpandedKeys,$r=Ht.onTreeExpand,wr=Ht.treeExpandAction,ra=Ht.virtual,$t=Ht.listHeight,Xa=$t===void 0?200:$t,la=Ht.listItemHeight,tr=la===void 0?20:la,Oa=Ht.onDropdownVisibleChange,Sn=Ht.dropdownMatchSelectWidth,qn=Sn===void 0?!0:Sn,Aa=Ht.treeLine,Wn=Ht.treeIcon,qa=Ht.showTreeIcon,Ka=Ht.switcherIcon,pr=Ht.treeMotion,_r=(0,xe.Z)(Ht,kn),nr=(0,Le.ZP)(Xn),jo=_n&&!jt,Co=_n||jt,pi=jt||La,Pr=Co||Gn,Ar=(0,He.Z)(st,{value:at}),so=(0,ze.Z)(Ar,2),za=so[0],Tr=so[1],Hr=le.useMemo(function(){return _n?Vn||ut:un},[Vn,_n]),ur=le.useMemo(function(){return an(lr)},[JSON.stringify(lr)]),zr=(0,He.Z)("",{value:Jt!==void 0?Jt:Ge,postState:function(ma){return ma||""}}),vo=(0,ze.Z)(zr,2),Qr=vo[0],Ha=vo[1],wo=function(ma){Ha(ma),Ke==null||Ke(ma)},ni=Xe(Wa,zt,io),oi=y(ni,ur),Zr=oi.keyEntities,ii=oi.valueEntities,Yo=le.useCallback(function(da){var ma=[],ar=[];return da.forEach(function(dr){ii.has(dr)?ar.push(dr):ma.push(dr)}),{missingRawValues:ma,existRawValues:ar}},[ii]),ll=Ne(ni,Qr,{fieldNames:ur,treeNodeFilterProp:aa,filterTreeNode:sn}),wi=le.useCallback(function(da){if(da){if(Dn)return da[Dn];for(var ma=ur._title,ar=0;ar{const{componentCls:Tn,treePrefixCls:Xn,colorBgElevated:ha}=Ht,Be=`.${Xn}`;return[{[`${Tn}-dropdown`]:[{padding:`${Ht.paddingXS}px ${Ht.paddingXS/2}px`},(0,Da.Yk)(Xn,(0,bt.TS)(Ht,{colorBgContainer:ha})),{[Be]:{borderRadius:0,[`${Be}-list-holder-inner`]:{alignItems:"stretch",[`${Be}-treenode`]:{[`${Be}-node-content-wrapper`]:{flex:"auto"}}}}},(0,rn.C2)(`${Xn}-checkbox`,Ht),{"&-rtl":{direction:"rtl",[`${Be}-switcher${Be}-switcher_close`]:{[`${Be}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function wa(Ht,Tn){return(0,Gt.Z)("TreeSelect",Xn=>{const ha=(0,bt.TS)(Xn,{treePrefixCls:Tn});return[va(ha)]},Da.TM)(Ht)}var pa=function(Ht,Tn){var Xn={};for(var ha in Ht)Object.prototype.hasOwnProperty.call(Ht,ha)&&Tn.indexOf(ha)<0&&(Xn[ha]=Ht[ha]);if(Ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,ha=Object.getOwnPropertySymbols(Ht);Be{var Xn,{prefixCls:ha,size:Be,disabled:at,bordered:st=!0,className:Ft,rootClassName:St,treeCheckable:mn,multiple:Jt,listHeight:Ge=256,listItemHeight:Ke=26,placement:Ue,notFoundContent:Ct,switcherIcon:sn,treeLine:hn,getPopupContainer:aa,popupClassName:Vn,dropdownClassName:Dn,treeIcon:Gn=!1,transitionName:_n,choiceTransitionName:jt="",status:La,treeExpandAction:lr,builtinPlacements:io,dropdownMatchSelectWidth:Wa,popupMatchSelectWidth:zt,allowClear:jr}=Ht,Ta=pa(Ht,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear"]);const{getPopupContainer:vr,getPrefixCls:er,renderEmpty:kr,direction:br,virtual:$r,popupMatchSelectWidth:wr,popupOverflow:ra}=le.useContext(zn.E_),$t=er(),Xa=er("select",ha),la=er("select-tree",ha),tr=er("tree-select",ha),{compactSize:Oa,compactItemClassnames:Sn}=(0,Va.ri)(Xa,br),[qn,Aa]=(0,sa.Z)(Xa),[Wn]=wa(tr,la),qa=he()(Vn||Dn,`${tr}-dropdown`,{[`${tr}-dropdown-rtl`]:br==="rtl"},St,Aa),Ka=!!(mn||Jt),pr=(0,oa.Z)(Ta.suffixIcon,Ta.showArrow),_r=(Xn=zt!=null?zt:Wa)!==null&&Xn!==void 0?Xn:wr,{status:nr,hasFeedback:jo,isFormItemInput:Co,feedbackIcon:pi}=le.useContext(Kn.aM),Pr=(0,ya.F)(nr,La),{suffixIcon:Ar,removeIcon:so,clearIcon:za}=(0,Ea.Z)(Object.assign(Object.assign({},Ta),{multiple:Ka,showSuffixIcon:pr,hasFeedback:jo,feedbackIcon:pi,prefixCls:Xa,componentName:"TreeSelect"})),Tr=jr===!0?{clearIcon:za}:jr;let Hr;Ct!==void 0?Hr=Ct:Hr=(kr==null?void 0:kr("Select"))||le.createElement(cr.Z,{componentName:"Select"});const ur=(0,tn.Z)(Ta,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),zr=le.useMemo(()=>Ue!==void 0?Ue:br==="rtl"?"bottomRight":"bottomLeft",[Ue,br]),vo=(0,$n.Z)(io,ra),Qr=(0,Ya.Z)(ii=>{var Yo;return(Yo=Be!=null?Be:Oa)!==null&&Yo!==void 0?Yo:ii}),Ha=le.useContext(xa.Z),wo=at!=null?at:Ha,ni=he()(!ha&&tr,{[`${Xa}-lg`]:Qr==="large",[`${Xa}-sm`]:Qr==="small",[`${Xa}-rtl`]:br==="rtl",[`${Xa}-borderless`]:!st,[`${Xa}-in-form-item`]:Co},(0,ya.Z)(Xa,Pr,jo),Sn,Ft,St,Aa),oi=ii=>le.createElement(En.Z,{prefixCls:la,switcherIcon:sn,treeNodeProps:ii,showLine:hn}),Zr=le.createElement(na,Object.assign({virtual:$r,disabled:wo},ur,{dropdownMatchSelectWidth:_r,builtinPlacements:vo,ref:Tn,prefixCls:Xa,className:ni,listHeight:Ge,listItemHeight:Ke,treeCheckable:mn&&le.createElement("span",{className:`${Xa}-tree-checkbox-inner`}),treeLine:!!hn,suffixIcon:Ar,multiple:Ka,placement:zr,removeIcon:so,allowClear:Tr,switcherIcon:oi,showTreeIcon:Gn,notFoundContent:Hr,getPopupContainer:aa||vr,treeMotion:null,dropdownClassName:qa,choiceTransitionName:(0,_a.m)($t,"",jt),transitionName:(0,_a.m)($t,"slide-up",_n),treeExpandAction:lr}));return qn(Wn(Zr))},Ua=le.forwardRef(ja),Br=(0,Fa.Z)(Ua);Ua.TreeNode=se,Ua.SHOW_ALL=un,Ua.SHOW_PARENT=Ce,Ua.SHOW_CHILD=ut,Ua._InternalPanelDoNotUseOrYouWillBeFired=Br;var ho=Ua},24334:function(yt,_t,oe){var b,he;(function(De,Ae){yt.exports=Ae(De)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof oe.g!="undefined"?oe.g:this,function(De){"use strict";De=De||{};var Ae=De.Base64,ke="2.6.4",ze="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xe=function(Qe){for(var et={},we=0,ht=Qe.length;we>>6)+tt(128|et&63):tt(224|et>>>12&15)+tt(128|et>>>6&63)+tt(128|et&63)}else{var et=65536+(Qe.charCodeAt(0)-55296)*1024+(Qe.charCodeAt(1)-56320);return tt(240|et>>>18&7)+tt(128|et>>>12&63)+tt(128|et>>>6&63)+tt(128|et&63)}},Le=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,_e=function(Qe){return Qe.replace(Le,Me)},He=function(Qe){var et=[0,2,1][Qe.length%3],we=Qe.charCodeAt(0)<<16|(Qe.length>1?Qe.charCodeAt(1):0)<<8|(Qe.length>2?Qe.charCodeAt(2):0),ht=[ze.charAt(we>>>18),ze.charAt(we>>>12&63),et>=2?"=":ze.charAt(we>>>6&63),et>=1?"=":ze.charAt(we&63)];return ht.join("")},Je=De.btoa&&typeof De.btoa=="function"?function(Qe){return De.btoa(Qe)}:function(Qe){if(Qe.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Qe.replace(/[\s\S]{1,3}/g,He)},le=function(Qe){return Je(_e(String(Qe)))},E=function(Qe){return Qe.replace(/[+\/]/g,function(et){return et=="+"?"-":"_"}).replace(/=/g,"")},a=function(Qe,et){return et?E(le(Qe)):le(Qe)},x=function(Qe){return a(Qe,!0)},y;De.Uint8Array&&(y=function(Qe,et){for(var we="",ht=0,ct=Qe.length;ht>>18)+ze.charAt(an>>>12&63)+(typeof gt!="undefined"?ze.charAt(an>>>6&63):"=")+(typeof Pn!="undefined"?ze.charAt(an&63):"=")}return et?E(we):we});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,te=function(Qe){switch(Qe.length){case 4:var et=(7&Qe.charCodeAt(0))<<18|(63&Qe.charCodeAt(1))<<12|(63&Qe.charCodeAt(2))<<6|63&Qe.charCodeAt(3),we=et-65536;return tt((we>>>10)+55296)+tt((we&1023)+56320);case 3:return tt((15&Qe.charCodeAt(0))<<12|(63&Qe.charCodeAt(1))<<6|63&Qe.charCodeAt(2));default:return tt((31&Qe.charCodeAt(0))<<6|63&Qe.charCodeAt(1))}},ae=function(Qe){return Qe.replace(z,te)},se=function(Qe){var et=Qe.length,we=et%4,ht=(et>0?xe[Qe.charAt(0)]<<18:0)|(et>1?xe[Qe.charAt(1)]<<12:0)|(et>2?xe[Qe.charAt(2)]<<6:0)|(et>3?xe[Qe.charAt(3)]:0),ct=[tt(ht>>>16),tt(ht>>>8&255),tt(ht&255)];return ct.length-=[0,0,2,1][we],ct.join("")},ie=De.atob&&typeof De.atob=="function"?function(Qe){return De.atob(Qe)}:function(Qe){return Qe.replace(/\S{1,4}/g,se)},Se=function(Qe){return ie(String(Qe).replace(/[^A-Za-z0-9\+\/]/g,""))},be=function(Qe){return ae(ie(Qe))},We=function(Qe){return String(Qe).replace(/[-_]/g,function(et){return et=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ne=function(Qe){return be(We(Qe))},mt;De.Uint8Array&&(mt=function(Qe){return Uint8Array.from(Se(We(Qe)),function(et){return et.charCodeAt(0)})});var Re=function(){var Qe=De.Base64;return De.Base64=Ae,Qe};if(De.Base64={VERSION:ke,atob:Se,btoa:Je,fromBase64:Ne,toBase64:a,utob:_e,encode:a,encodeURI:x,btou:ae,decode:Ne,noConflict:Re,fromUint8Array:y,toUint8Array:mt},typeof Object.defineProperty=="function"){var Xe=function(Qe){return{value:Qe,enumerable:!1,writable:!0,configurable:!0}};De.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Xe(function(){return Ne(this)})),Object.defineProperty(String.prototype,"toBase64",Xe(function(Qe){return a(this,Qe)})),Object.defineProperty(String.prototype,"toBase64URI",Xe(function(){return a(this,!0)}))}}return De.Meteor&&(Base64=De.Base64),yt.exports?yt.exports.Base64=De.Base64:(b=[],he=function(){return De.Base64}.apply(_t,b),he!==void 0&&(yt.exports=he)),{Base64:De.Base64}})},12921:function(yt,_t,oe){"use strict";oe.d(_t,{Z5:function(){return Ql},_l:function(){return Hd},bK:function(){return ed}});var b=oe(59301),he=oe(60039);function De(ee,ne){ee.prototype=Object.create(ne.prototype),ee.prototype.constructor=ee,(0,he.Z)(ee,ne)}var Ae=oe(72308),ke=oe(59781),ze=b.createContext(null),xe=null;function tt(ee){ee()}var Me=tt,Le=function(ne){return Me=ne},_e=function(){return Me};function He(){var ee=_e(),ne=null,re=null;return{clear:function(){ne=null,re=null},notify:function(){ee(function(){for(var ve=ne;ve;)ve.callback(),ve=ve.next})},get:function(){for(var ve=[],pe=ne;pe;)ve.push(pe),pe=pe.next;return ve},subscribe:function(ve){var pe=!0,ye=re={callback:ve,next:null,prev:re};return ye.prev?ye.prev.next=ye:ne=ye,function(){!pe||ne===null||(pe=!1,ye.next?ye.next.prev=ye.prev:re=ye.prev,ye.prev?ye.prev.next=ye.next:ne=ye.next)}}}}var Je={notify:function(){},get:function(){return[]}};function le(ee,ne){var re,de=Je;function ve(je){return Ze(),de.subscribe(je)}function pe(){de.notify()}function ye(){qe.onStateChange&&qe.onStateChange()}function Fe(){return!!re}function Ze(){re||(re=ne?ne.addNestedSub(ye):ee.subscribe(ye),de=He())}function $e(){re&&(re(),re=void 0,de.clear(),de=Je)}var qe={addNestedSub:ve,notifyNestedSubs:pe,handleChangeWrapper:ye,isSubscribed:Fe,trySubscribe:Ze,tryUnsubscribe:$e,getListeners:function(){return de}};return qe}var E=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect;function a(ee){var ne=ee.store,re=ee.context,de=ee.children,ve=(0,b.useMemo)(function(){var Fe=le(ne);return{store:ne,subscription:Fe}},[ne]),pe=(0,b.useMemo)(function(){return ne.getState()},[ne]);E(function(){var Fe=ve.subscription;return Fe.onStateChange=Fe.notifyNestedSubs,Fe.trySubscribe(),pe!==ne.getState()&&Fe.notifyNestedSubs(),function(){Fe.tryUnsubscribe(),Fe.onStateChange=null}},[ve,pe]);var ye=re||ze;return b.createElement(ye.Provider,{value:ve},de)}var x=a,y=oe(87488),z=oe(94266),te=oe.n(z),ae=oe(53410),se=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],ie=["reactReduxForwardedRef"],Se=[],be=[null,null],We=function(ne){try{return JSON.stringify(ne)}catch(re){return String(ne)}};function Ne(ee,ne){var re=ee[1];return[ne.payload,re+1]}function mt(ee,ne,re){E(function(){return ee.apply(void 0,ne)},re)}function Re(ee,ne,re,de,ve,pe,ye){ee.current=de,ne.current=ve,re.current=!1,pe.current&&(pe.current=null,ye())}function Xe(ee,ne,re,de,ve,pe,ye,Fe,Ze,$e){if(ee){var qe=!1,je=null,Ve=function(){if(!qe){var Jn=ne.getState(),ia,fa;try{ia=de(Jn,ve.current)}catch(ka){fa=ka,je=ka}fa||(je=null),ia===pe.current?ye.current||Ze():(pe.current=ia,Fe.current=ia,ye.current=!0,$e({type:"STORE_UPDATED",payload:{error:fa}}))}};re.onStateChange=Ve,re.trySubscribe(),Ve();var lt=function(){if(qe=!0,re.tryUnsubscribe(),re.onStateChange=null,je)throw je};return lt}}var Qe=function(){return[null,0]};function et(ee,ne){ne===void 0&&(ne={});var re=ne,de=re.getDisplayName,ve=de===void 0?function(Ur){return"ConnectAdvanced("+Ur+")"}:de,pe=re.methodName,ye=pe===void 0?"connectAdvanced":pe,Fe=re.renderCountProp,Ze=Fe===void 0?void 0:Fe,$e=re.shouldHandleStateChanges,qe=$e===void 0?!0:$e,je=re.storeKey,Ve=je===void 0?"store":je,lt=re.withRef,Zt=lt===void 0?!1:lt,Jn=re.forwardRef,ia=Jn===void 0?!1:Jn,fa=re.context,ka=fa===void 0?ze:fa,Qa=(0,y.Z)(re,se);if(0)var or;var no=ka;return function(Eo){var xi=Eo.displayName||Eo.name||"Component",bo=ve(xi),Di=(0,Ae.Z)({},Qa,{getDisplayName:ve,methodName:ye,renderCountProp:Ze,shouldHandleStateChanges:qe,storeKey:Ve,displayName:bo,wrappedComponentName:xi,WrappedComponent:Eo}),il=Qa.pure;function vl(pl){return ee(pl.dispatch,Di)}var vu=il?b.useMemo:function(pl){return pl()};function cu(pl){var xu=(0,b.useMemo)(function(){var Fs=pl.reactReduxForwardedRef,zs=(0,y.Z)(pl,ie);return[pl.context,Fs,zs]},[pl]),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:no},[hu,no]),Su=(0,b.useContext)(Du),Hu=!!pl.store&&!!pl.store.getState&&!!pl.store.dispatch,xs=!!Su&&!!Su.store,Eu=Hu?pl.store:Su.store,ys=(0,b.useMemo)(function(){return vl(Eu)},[Eu]),Ds=(0,b.useMemo)(function(){if(!qe)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,Se,Qe),Yd=td[0],Ns=Yd[0],Kd=td[1];if(Ns&&Ns.error)throw Ns.error;var nd=(0,b.useRef)(),Gs=(0,b.useRef)(ju),Is=(0,b.useRef)(),ad=(0,b.useRef)(!1),js=vu(function(){return Is.current&&ju===Gs.current?Is.current:ys(Eu.getState(),ju)},[Eu,Ns,ju]);mt(Re,[Gs,nd,ad,ju,js,Is,ws]),mt(Xe,[qe,Eu,ns,ys,Gs,nd,ad,Is,ws,Kd],[Eu,ns,ys]);var Hs=(0,b.useMemo)(function(){return b.createElement(Eo,(0,Ae.Z)({},js,{ref:Ps}))},[Ps,Eo,js]),Jd=(0,b.useMemo)(function(){return qe?b.createElement(Du.Provider,{value:Ls},Hs):Hs},[Du,Hs,Ls]);return Jd}var Yl=il?b.memo(cu):cu;if(Yl.WrappedComponent=Eo,Yl.displayName=cu.displayName=bo,ia){var pu=b.forwardRef(function(xu,hu){return b.createElement(Yl,(0,Ae.Z)({},xu,{reactReduxForwardedRef:hu}))});return pu.displayName=bo,pu.WrappedComponent=Eo,te()(pu,Eo)}return te()(Yl,Eo)}}function we(ee,ne){return ee===ne?ee!==0||ne!==0||1/ee===1/ne:ee!==ee&&ne!==ne}function ht(ee,ne){if(we(ee,ne))return!0;if(typeof ee!="object"||ee===null||typeof ne!="object"||ne===null)return!1;var re=Object.keys(ee),de=Object.keys(ne);if(re.length!==de.length)return!1;for(var ve=0;ve=0;de--){var ve=ne[de](ee);if(ve)return ve}return function(pe,ye){throw new Error("Invalid value of type "+typeof ee+" for "+re+" argument when connecting component "+ye.wrappedComponentName+".")}}function Qn(ee,ne){return ee===ne}function na(ee){var ne=ee===void 0?{}:ee,re=ne.connectHOC,de=re===void 0?et:re,ve=ne.mapStateToPropsFactories,pe=ve===void 0?An:ve,ye=ne.mapDispatchToPropsFactories,Fe=ye===void 0?Te:ye,Ze=ne.mergePropsFactories,$e=Ze===void 0?Xt:Ze,qe=ne.selectorFactory,je=qe===void 0?dn:qe;return function(lt,Zt,Jn,ia){ia===void 0&&(ia={});var fa=ia,ka=fa.pure,Qa=ka===void 0?!0:ka,or=fa.areStatesEqual,no=or===void 0?Qn:or,Ur=fa.areOwnPropsEqual,Eo=Ur===void 0?ht:Ur,xi=fa.areStatePropsEqual,bo=xi===void 0?ht:xi,Di=fa.areMergedPropsEqual,il=Di===void 0?ht:Di,vl=(0,y.Z)(fa,kt),vu=Rt(lt,pe,"mapStateToProps"),cu=Rt(Zt,Fe,"mapDispatchToProps"),Yl=Rt(Jn,$e,"mergeProps");return de(je,(0,Ae.Z)({methodName:"connect",getDisplayName:function(pl){return"Connect("+pl+")"},shouldHandleStateChanges:!!lt,initMapStateToProps:vu,initMapDispatchToProps:cu,initMergeProps:Yl,pure:Qa,areStatesEqual:no,areOwnPropsEqual:Eo,areStatePropsEqual:bo,areMergedPropsEqual:il},vl))}}var tn=na();function Fa(){var ee=useContext(ReactReduxContext);return ee}function _a(ee){ee===void 0&&(ee=ReactReduxContext);var ne=ee===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ee)};return function(){var de=ne(),ve=de.store;return ve}}var ya=null;function zn(ee){ee===void 0&&(ee=ReactReduxContext);var ne=ee===ReactReduxContext?useDefaultStore:createStoreHook(ee);return function(){var de=ne();return de.dispatch}}var xa=null,cr=function(ne,re){return ne===re};function Ya(ee,ne,re,de){var ve=useReducer(function(Zt){return Zt+1},0),pe=ve[1],ye=useMemo(function(){return createSubscription(re,de)},[re,de]),Fe=useRef(),Ze=useRef(),$e=useRef(),qe=useRef(),je=re.getState(),Ve;try{if(ee!==Ze.current||je!==$e.current||Fe.current){var lt=ee(je);qe.current===void 0||!ne(lt,qe.current)?Ve=lt:Ve=qe.current}else Ve=qe.current}catch(Zt){throw Fe.current&&(Zt.message+=` + &${fe}-slide-up-leave${fe}-slide-up-leave-active${ge}-dropdown-placement-bottomRight`]:{animationName:Jl.Uw},[`${ge}-panel > ${ge}-time-panel`]:{paddingTop:$r},[`${ge}-ranges`]:{marginBottom:0,padding:`${$r}px ${io}px`,overflow:"hidden",lineHeight:`${Mn-2*Nt-sa/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${ge}-preset > ${fe}-tag-blue`]:{color:Rr,background:Qo,borderColor:mo,cursor:"pointer"},[`${ge}-ok`]:{marginInlineStart:"auto"}},[`${ge}-range-wrapper`]:{display:"flex",position:"relative"},[`${ge}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:dt*1.5,transition:`left ${sr} ease-out`},(0,os.r)(Yr,eo,Eo,Bo,Kr)),[`${ge}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Bo,borderRadius:so,boxShadow:Sr,transition:`margin ${sr}`,[`${ge}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${ge}-presets`]:{display:"flex",flexDirection:"column",minWidth:Jo,maxWidth:bi,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:sa,borderInlineEnd:`${Nt}px ${wt} ${No}`,li:Object.assign(Object.assign({},Au.vS),{borderRadius:Ro,paddingInline:sa,paddingBlock:(On-Math.round(Oe*ga))/2,cursor:"pointer",transition:`all ${sr}`,"+ li":{marginTop:Ca},"&:hover":{background:Fi}})}},[`${ge}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${ge}-panel`]:{borderWidth:`0 0 ${Nt}px`},"&:last-child":{[`${ge}-panel`]:{borderWidth:0}}},[`${ge}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${ge}-content, + table`]:{textAlign:"center"},"&-focused":{borderColor:It}}}}),"&-dropdown-range":{padding:`${Yr*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${ge}-separator`]:{transform:"rotate(180deg)"},[`${ge}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Jl.oN)(ce,"slide-up"),(0,Jl.oN)(ce,"slide-down"),(0,bl.Fm)(ce,"move-up"),(0,bl.Fm)(ce,"move-down")]},ds=ce=>{const{componentCls:ge,controlHeightLG:fe,paddingXXS:Ie,padding:Oe}=ce;return{pickerCellCls:`${ge}-cell`,pickerCellInnerCls:`${ge}-cell-inner`,pickerYearMonthCellWidth:fe*1.5,pickerQuarterPanelContentHeight:fe*1.4,pickerCellPaddingVertical:Ie+Ie/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:Oe+Ie/2}},Uu=ce=>({cellHoverBg:ce.controlItemBgHover,cellActiveWithRangeBg:ce.controlItemBgActive,cellHoverWithRangeBg:new Bu.C(ce.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Bu.C(ce.colorPrimary).lighten(20).toHexString(),cellBgDisabled:ce.colorBgContainerDisabled,timeColumnWidth:ce.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:ce.controlHeightSM*1.5,cellHeight:ce.controlHeightSM,textHeight:ce.controlHeightLG,withoutTimeCellHeight:ce.controlHeightLG*1.65});var Ru=(0,is.Z)("DatePicker",ce=>{const ge=(0,Cl.TS)((0,yi.e5)(ce),ds(ce));return[ss(ge),us(ge),(0,lu.c)(ce,{focusElCls:`${ce.componentCls}-focused`})]},ce=>Object.assign(Object.assign(Object.assign({},(0,yi.TM)(ce)),Uu(ce)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:ce.zIndexPopupBase+50}));function ku(ce,ge,fe){return fe!==void 0?fe:ge==="year"&&ce.lang.yearPlaceholder?ce.lang.yearPlaceholder:ge==="quarter"&&ce.lang.quarterPlaceholder?ce.lang.quarterPlaceholder:ge==="month"&&ce.lang.monthPlaceholder?ce.lang.monthPlaceholder:ge==="week"&&ce.lang.weekPlaceholder?ce.lang.weekPlaceholder:ge==="time"&&ce.timePickerLocale.placeholder?ce.timePickerLocale.placeholder:ce.lang.placeholder}function Qu(ce,ge,fe){return fe!==void 0?fe:ge==="year"&&ce.lang.yearPlaceholder?ce.lang.rangeYearPlaceholder:ge==="quarter"&&ce.lang.quarterPlaceholder?ce.lang.rangeQuarterPlaceholder:ge==="month"&&ce.lang.monthPlaceholder?ce.lang.rangeMonthPlaceholder:ge==="week"&&ce.lang.weekPlaceholder?ce.lang.rangeWeekPlaceholder:ge==="time"&&ce.timePickerLocale.placeholder?ce.timePickerLocale.rangePlaceholder:ce.lang.rangePlaceholder}function nl(ce,ge){const fe={adjustX:1,adjustY:1};switch(ge){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:fe};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:fe};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:fe};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:fe};default:return{points:ce==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:fe}}}function cl(ce){return ce?Array.isArray(ce)?ce:[ce]:[]}function yu(ce){const{format:ge,picker:fe,showHour:Ie,showMinute:Oe,showSecond:dt,use12Hours:rt}=ce,Nt=cl(ge)[0],wt=Object.assign({},ce);return ge&&Array.isArray(ge)&&(wt.format=Nt),Nt&&typeof Nt=="string"&&(!Nt.includes("s")&&dt===void 0&&(wt.showSecond=!1),!Nt.includes("m")&&Oe===void 0&&(wt.showMinute=!1),!Nt.includes("H")&&!Nt.includes("h")&&!Nt.includes("K")&&!Nt.includes("k")&&Ie===void 0&&(wt.showHour=!1),(Nt.includes("a")||Nt.includes("A"))&&rt===void 0&&(wt.use12Hours=!0)),fe==="time"?wt:(typeof Nt=="function"&&delete wt.format,{showTime:wt})}function Yu(ce,ge,fe){if(ce===!1)return!1;const Ie={clearIcon:ge!=null?ge:fe};return typeof ce=="object"?Object.assign(Object.assign({},Ie),ce):Ie}var Ku=oe(3113);function ba(ce){return ie.createElement(Ku.ZP,Object.assign({size:"small",type:"primary"},ce))}var _u={button:ba},Fu=function(ce,ge){var fe={};for(var Ie in ce)Object.prototype.hasOwnProperty.call(ce,Ie)&&ge.indexOf(Ie)<0&&(fe[Ie]=ce[Ie]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Ie=Object.getOwnPropertySymbols(ce);Oe{const{prefixCls:Oe,getPopupContainer:dt,className:rt,placement:Nt,size:wt,disabled:It,bordered:Gn=!0,placeholder:rn,popupClassName:dn,dropdownClassName:Nn,status:In,clearIcon:Dt,allowClear:Vt,rootClassName:On}=fe,on=Fu(fe,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),sa=ie.useRef(null),{getPrefixCls:Ca,direction:Ra,getPopupContainer:Ba}=(0,ie.useContext)(Nu.E_),ga=Ca("picker",Oe),{compactSize:Rr,compactItemClassnames:sr}=(0,Ni.ri)(ga,Ra),{format:Lr,showTime:$r,picker:io}=fe,Mn=Ca(),[Qo,mo]=Ru(ga),Yr=Object.assign(Object.assign({},$r?yu(Object.assign({format:Lr,picker:io},$r)):{}),io==="time"?yu(Object.assign(Object.assign({format:Lr},fe),{picker:io})):{}),eo=(0,Vu.Z)(Kr=>{var ii;return(ii=wt!=null?wt:Rr)!==null&&ii!==void 0?ii:Kr}),Eo=ie.useContext(iu.Z),Bo=It!=null?It:Eo,so=(0,ie.useContext)(Iu.aM),{hasFeedback:Sr,status:Ro,feedbackIcon:No}=so,Fi=ie.createElement(ie.Fragment,null,io==="time"?ie.createElement(ht,null):ie.createElement(Re,null),Sr&&No);(0,ie.useImperativeHandle)(Ie,()=>({focus:()=>{var Kr;return(Kr=sa.current)===null||Kr===void 0?void 0:Kr.focus()},blur:()=>{var Kr;return(Kr=sa.current)===null||Kr===void 0?void 0:Kr.blur()}}));const[Jo]=(0,Ou.Z)("Calendar",Wu.Z),bi=Object.assign(Object.assign({},Jo),fe.locale);return Qo(ie.createElement(zu,Object.assign({separator:ie.createElement("span",{"aria-label":"to",className:`${ga}-separator`},ie.createElement(Wt,null)),disabled:Bo,ref:sa,dropdownAlign:nl(Ra,Nt),placeholder:Qu(bi,io,rn),suffixIcon:Fi,prevIcon:ie.createElement("span",{className:`${ga}-prev-icon`}),nextIcon:ie.createElement("span",{className:`${ga}-next-icon`}),superPrevIcon:ie.createElement("span",{className:`${ga}-super-prev-icon`}),superNextIcon:ie.createElement("span",{className:`${ga}-super-next-icon`}),transitionName:`${Mn}-slide-up`},on,Yr,{className:Te()({[`${ga}-${eo}`]:eo,[`${ga}-borderless`]:!Gn},(0,Pu.Z)(ga,(0,Pu.F)(Ro,In),Sr),mo,sr,rt,On),locale:bi.lang,prefixCls:ga,getPopupContainer:dt||Ba,generateConfig:ce,components:_u,direction:Ra,dropdownClassName:Te()(mo,dn||Nn,On),allowClear:Yu(Vt,Dt,ie.createElement(ct.Z,null))})))})}var Xl=function(ce,ge){var fe={};for(var Ie in ce)Object.prototype.hasOwnProperty.call(ce,Ie)&&ge.indexOf(Ie)<0&&(fe[Ie]=ce[Ie]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Ie=Object.getOwnPropertySymbols(ce);Oe{const{prefixCls:In,getPopupContainer:Dt,style:Vt,className:On,rootClassName:on,size:sa,bordered:Ca=!0,placement:Ra,placeholder:Ba,popupClassName:ga,dropdownClassName:Rr,disabled:sr,status:Lr,clearIcon:$r,allowClear:io}=dn,Mn=Xl(dn,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:Qo,direction:mo,getPopupContainer:Yr,[Gn]:eo}=(0,ie.useContext)(Nu.E_),Eo=Qo("picker",In),{compactSize:Bo,compactItemClassnames:so}=(0,Ni.ri)(Eo,mo),Sr=ie.useRef(null),{format:Ro,showTime:No}=dn,[Fi,Jo]=Ru(Eo);(0,ie.useImperativeHandle)(Nn,()=>({focus:()=>{var Si;return(Si=Sr.current)===null||Si===void 0?void 0:Si.focus()},blur:()=>{var Si;return(Si=Sr.current)===null||Si===void 0?void 0:Si.blur()}}));const bi={showToday:!0};let Kr={};wt&&(Kr.picker=wt);const ii=wt||dn.picker;Kr=Object.assign(Object.assign(Object.assign({},Kr),No?yu(Object.assign({format:Ro,picker:ii},No)):{}),ii==="time"?yu(Object.assign(Object.assign({format:Ro},dn),{picker:ii})):{});const hi=Qo(),Ri=(0,Vu.Z)(Si=>{var Bl;return(Bl=sa!=null?sa:Bo)!==null&&Bl!==void 0?Bl:Si}),gi=ie.useContext(iu.Z),Ji=sr!=null?sr:gi,gl=(0,ie.useContext)(Iu.aM),{hasFeedback:Vr,status:vo,feedbackIcon:Po}=gl,mi=ie.createElement(ie.Fragment,null,ii==="time"?ie.createElement(ht,null):ie.createElement(Re,null),Vr&&Po),[ki]=(0,Ou.Z)("DatePicker",Wu.Z),$o=Object.assign(Object.assign({},ki),dn.locale);return Fi(ie.createElement(Lu,Object.assign({ref:Sr,placeholder:ku($o,ii,Ba),suffixIcon:mi,dropdownAlign:nl(mo,Ra),prevIcon:ie.createElement("span",{className:`${Eo}-prev-icon`}),nextIcon:ie.createElement("span",{className:`${Eo}-next-icon`}),superPrevIcon:ie.createElement("span",{className:`${Eo}-super-prev-icon`}),superNextIcon:ie.createElement("span",{className:`${Eo}-super-next-icon`}),transitionName:`${hi}-slide-up`},bi,Mn,Kr,{locale:$o.lang,className:Te()({[`${Eo}-${Ri}`]:Ri,[`${Eo}-borderless`]:!Ca},(0,Pu.Z)(Eo,(0,Pu.F)(vo,Lr),Vr),Jo,so,eo==null?void 0:eo.className,On,on),style:Object.assign(Object.assign({},eo==null?void 0:eo.style),Vt),prefixCls:Eo,getPopupContainer:Dt||Yr,generateConfig:ce,components:_u,direction:mo,disabled:Ji,dropdownClassName:Te()(Jo,on,ga||Rr),allowClear:Yu(io,$r,ie.createElement(ct.Z,null))})))});return It&&(rn.displayName=It),rn}const fe=ge(),Ie=ge("week","WeekPicker"),Oe=ge("month","MonthPicker"),dt=ge("year","YearPicker"),rt=ge("time","TimePicker"),Nt=ge("quarter","QuarterPicker");return{DatePicker:fe,WeekPicker:Ie,MonthPicker:Oe,YearPicker:dt,TimePicker:rt,QuarterPicker:Nt}}const Os=null;function ms(ce){const{DatePicker:ge,WeekPicker:fe,MonthPicker:Ie,YearPicker:Oe,TimePicker:dt,QuarterPicker:rt}=gs(ce),Nt=Qn(ce),wt=ge;return wt.WeekPicker=fe,wt.MonthPicker=Ie,wt.YearPicker=Oe,wt.RangePicker=Nt,wt.TimePicker=dt,wt.QuarterPicker=rt,wt}var Ju=ms;const ql=Ju(te);function si(ce){const ge=nl(ce.direction,ce.placement);return ge.overflow.adjustY=!1,ge.overflow.adjustX=!1,Object.assign(Object.assign({},ce),{dropdownAlign:ge})}const Tu=(0,ae.Z)(ql,"picker",null,si);ql._InternalPanelDoNotUseOrYouWillBeFired=Tu;const Xu=(0,ae.Z)(ql.RangePicker,"picker",null,si);ql._InternalRangePanelDoNotUseOrYouWillBeFired=Xu,ql.generatePicker=Ju;var fs=ql},39722:function(yt,kt,oe){"use strict";oe.d(kt,{t5:function(){return Le}});var b=oe(92310),he=oe.n(b),De=oe(55477),Ae=oe(59301),ke=oe(36355),ze=oe(77578),xe=oe(17356),tt=function(He,Ke){var le={};for(var E in He)Object.prototype.hasOwnProperty.call(He,E)&&Ke.indexOf(E)<0&&(le[E]=He[E]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,E=Object.getOwnPropertySymbols(He);a{if(!(!Ke&&!le))return Ae.createElement(Ae.Fragment,null,Ke&&Ae.createElement("div",{className:`${He}-title`},(0,ze.Z)(Ke)),Ae.createElement("div",{className:`${He}-inner-content`},(0,ze.Z)(le)))},Le=He=>{const{hashId:Ke,prefixCls:le,className:E,style:a,placement:x="top",title:y,content:z,children:te}=He;return Ae.createElement("div",{className:he()(Ke,le,`${le}-pure`,`${le}-placement-${x}`,E),style:a},Ae.createElement("div",{className:`${le}-arrow`}),Ae.createElement(De.G,Object.assign({},He,{className:Ke,prefixCls:le}),te||Me(le,y,z)))},_e=He=>{const{prefixCls:Ke}=He,le=tt(He,["prefixCls"]),{getPrefixCls:E}=Ae.useContext(ke.E_),a=E("popover",Ke),[x,y]=(0,xe.Z)(a);return x(Ae.createElement(Le,Object.assign({},le,{prefixCls:a,hashId:y})))};kt.ZP=_e},60324:function(yt,kt,oe){"use strict";var b=oe(92310),he=oe.n(b),De=oe(59301),Ae=oe(77578),ke=oe(62892),ze=oe(36355),xe=oe(6848),tt=oe(39722),Me=oe(17356),Le=function(Ke,le){var E={};for(var a in Ke)Object.prototype.hasOwnProperty.call(Ke,a)&&le.indexOf(a)<0&&(E[a]=Ke[a]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,a=Object.getOwnPropertySymbols(Ke);x{let{title:le,content:E,prefixCls:a}=Ke;return De.createElement(De.Fragment,null,le&&De.createElement("div",{className:`${a}-title`},(0,Ae.Z)(le)),De.createElement("div",{className:`${a}-inner-content`},(0,Ae.Z)(E)))},He=De.forwardRef((Ke,le)=>{const{prefixCls:E,title:a,content:x,overlayClassName:y,placement:z="top",trigger:te="hover",mouseEnterDelay:ae=.1,mouseLeaveDelay:se=.1,overlayStyle:ie={}}=Ke,Se=Le(Ke,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:be}=De.useContext(ze.E_),We=be("popover",E),[Ne,mt]=(0,Me.Z)(We),Re=be(),Je=he()(y,mt);return Ne(De.createElement(xe.Z,Object.assign({placement:z,trigger:te,mouseEnterDelay:ae,mouseLeaveDelay:se,overlayStyle:ie},Se,{prefixCls:We,overlayClassName:Je,ref:le,overlay:a||x?De.createElement(_e,{prefixCls:We,title:a,content:x}):null,transitionName:(0,ke.m)(Re,"zoom-big",Se.transitionName),"data-popover-inject":!0})))});He._InternalPanelDoNotUseOrYouWillBeFired=tt.ZP,kt.Z=He},17356:function(yt,kt,oe){"use strict";var b=oe(17313),he=oe(29878),De=oe(19447),Ae=oe(33166),ke=oe(83116),ze=oe(37613);const xe=Le=>{const{componentCls:_e,popoverColor:He,minWidth:Ke,fontWeightStrong:le,popoverPadding:E,boxShadowSecondary:a,colorTextHeading:x,borderRadiusLG:y,zIndexPopup:z,marginXS:te,colorBgElevated:ae,popoverBg:se}=Le;return[{[_e]:Object.assign(Object.assign({},(0,b.Wf)(Le)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:z,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":ae,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${_e}-content`]:{position:"relative"},[`${_e}-inner`]:{backgroundColor:se,backgroundClip:"padding-box",borderRadius:y,boxShadow:a,padding:E},[`${_e}-title`]:{minWidth:Ke,marginBottom:te,color:x,fontWeight:le},[`${_e}-inner-content`]:{color:He}})},(0,De.ZP)(Le,{colorBg:"var(--antd-arrow-background-color)"}),{[`${_e}-pure`]:{position:"relative",maxWidth:"none",margin:Le.sizePopupArrow,display:"inline-block",[`${_e}-content`]:{display:"inline-block"}}}]},tt=Le=>{const{componentCls:_e}=Le;return{[_e]:Ae.i.map(He=>{const Ke=Le[`${He}6`];return{[`&${_e}-${He}`]:{"--antd-arrow-background-color":Ke,[`${_e}-inner`]:{backgroundColor:Ke},[`${_e}-arrow`]:{background:"transparent"}}}})}},Me=Le=>{const{componentCls:_e,lineWidth:He,lineType:Ke,colorSplit:le,paddingSM:E,controlHeight:a,fontSize:x,lineHeight:y,padding:z}=Le,te=a-Math.round(x*y),ae=te/2,se=te/2-He,ie=z;return{[_e]:{[`${_e}-inner`]:{padding:0},[`${_e}-title`]:{margin:0,padding:`${ae}px ${ie}px ${se}px`,borderBottom:`${He}px ${Ke} ${le}`},[`${_e}-inner-content`]:{padding:`${E}px ${ie}px`}}}};kt.Z=(0,ke.Z)("Popover",Le=>{const{colorBgElevated:_e,colorText:He,wireframe:Ke}=Le,le=(0,ze.TS)(Le,{popoverPadding:12,popoverBg:_e,popoverColor:He});return[xe(le),tt(le),Ke&&Me(le),(0,he._y)(le,"zoom-big")]},Le=>({width:177,minWidth:177,zIndexPopup:Le.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},12563:function(yt,kt,oe){"use strict";oe.d(kt,{default:function(){return mt}});var b=oe(59301),he=oe(99267),De=oe(92310),Ae=oe.n(De),ke=oe(36785),ze=oe(47729),xe=oe(14088),tt=oe(36355),Me=oe(17313),Le=oe(37613),_e=oe(83116);const He=Re=>{const{paddingXXS:Je,lineWidth:Qe,tagPaddingHorizontal:et,componentCls:we}=Re,ht=et-Qe,ct=Je-Qe;return{[we]:Object.assign(Object.assign({},(0,Me.Wf)(Re)),{display:"inline-block",height:"auto",marginInlineEnd:Re.marginXS,paddingInline:ht,fontSize:Re.tagFontSize,lineHeight:Re.tagLineHeight,whiteSpace:"nowrap",background:Re.defaultBg,border:`${Re.lineWidth}px ${Re.lineType} ${Re.colorBorder}`,borderRadius:Re.borderRadiusSM,opacity:1,transition:`all ${Re.motionDurationMid}`,textAlign:"start",position:"relative",[`&${we}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:Re.defaultColor},[`${we}-close-icon`]:{marginInlineStart:ct,color:Re.colorTextDescription,fontSize:Re.tagIconSize,cursor:"pointer",transition:`all ${Re.motionDurationMid}`,"&:hover":{color:Re.colorTextHeading}},[`&${we}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${Re.iconCls}-close, ${Re.iconCls}-close:hover`]:{color:Re.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${we}-checkable-checked):hover`]:{color:Re.colorPrimary,backgroundColor:Re.colorFillSecondary},"&:active, &-checked":{color:Re.colorTextLightSolid},"&-checked":{backgroundColor:Re.colorPrimary,"&:hover":{backgroundColor:Re.colorPrimaryHover}},"&:active":{backgroundColor:Re.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${Re.iconCls} + span, > span + ${Re.iconCls}`]:{marginInlineStart:ht}}),[`${we}-borderless`]:{borderColor:"transparent",background:Re.tagBorderlessBg}}},Ke=Re=>{const{lineWidth:Je,fontSizeIcon:Qe}=Re,et=Re.fontSizeSM,we=`${Re.lineHeightSM*et}px`;return(0,Le.TS)(Re,{tagFontSize:et,tagLineHeight:we,tagIconSize:Qe-2*Je,tagPaddingHorizontal:8,tagBorderlessBg:Re.colorFillTertiary})},le=Re=>({defaultBg:Re.colorFillQuaternary,defaultColor:Re.colorText});var E=(0,_e.Z)("Tag",Re=>{const Je=Ke(Re);return He(Je)},le),a=function(Re,Je){var Qe={};for(var et in Re)Object.prototype.hasOwnProperty.call(Re,et)&&Je.indexOf(et)<0&&(Qe[et]=Re[et]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,et=Object.getOwnPropertySymbols(Re);we{const{prefixCls:Je,style:Qe,className:et,checked:we,onChange:ht,onClick:ct}=Re,Lt=a(Re,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:gt,tag:yn}=b.useContext(tt.E_),nn=Ut=>{ht==null||ht(!we),ct==null||ct(Ut)},Wt=gt("tag",Je),[_t,Te]=E(Wt),ot=Ae()(Wt,`${Wt}-checkable`,{[`${Wt}-checkable-checked`]:we},yn==null?void 0:yn.className,et,Te);return _t(b.createElement("span",Object.assign({},Lt,{style:Object.assign(Object.assign({},Qe),yn==null?void 0:yn.style),className:ot,onClick:nn})))},z=oe(45157);const te=Re=>(0,z.Z)(Re,(Je,Qe)=>{let{textColor:et,lightBorderColor:we,lightColor:ht,darkColor:ct}=Qe;return{[`${Re.componentCls}-${Je}`]:{color:et,background:ht,borderColor:we,"&-inverse":{color:Re.colorTextLightSolid,background:ct,borderColor:ct},[`&${Re.componentCls}-borderless`]:{borderColor:"transparent"}}}});var ae=(0,_e.b)(["Tag","preset"],Re=>{const Je=Ke(Re);return te(Je)},le);function se(Re){return typeof Re!="string"?Re:Re.charAt(0).toUpperCase()+Re.slice(1)}const ie=(Re,Je,Qe)=>{const et=se(Qe);return{[`${Re.componentCls}-${Je}`]:{color:Re[`color${Qe}`],background:Re[`color${et}Bg`],borderColor:Re[`color${et}Border`],[`&${Re.componentCls}-borderless`]:{borderColor:"transparent"}}}};var Se=(0,_e.b)(["Tag","status"],Re=>{const Je=Ke(Re);return[ie(Je,"success","Success"),ie(Je,"processing","Info"),ie(Je,"error","Error"),ie(Je,"warning","Warning")]},le),be=function(Re,Je){var Qe={};for(var et in Re)Object.prototype.hasOwnProperty.call(Re,et)&&Je.indexOf(et)<0&&(Qe[et]=Re[et]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,et=Object.getOwnPropertySymbols(Re);we{const{prefixCls:Qe,className:et,rootClassName:we,style:ht,children:ct,icon:Lt,color:gt,onClose:yn,closeIcon:nn,closable:Wt,bordered:_t=!0}=Re,Te=be(Re,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:ot,direction:Ut,tag:xn}=b.useContext(tt.E_),[At,ln]=b.useState(!0);b.useEffect(()=>{"visible"in Te&&ln(Te.visible)},[Te.visible]);const Ce=(0,ke.o2)(gt),ut=(0,ke.yT)(gt),Xt=Ce||ut,nt=Object.assign(Object.assign({backgroundColor:gt&&!Xt?gt:void 0},xn==null?void 0:xn.style),ht),Pt=ot("tag",Qe),[_n,sn]=E(Pt),Rt=Ae()(Pt,xn==null?void 0:xn.className,{[`${Pt}-${gt}`]:Xt,[`${Pt}-has-color`]:gt&&!Xt,[`${Pt}-hidden`]:!At,[`${Pt}-rtl`]:Ut==="rtl",[`${Pt}-borderless`]:!_t},et,we,sn),Mt=ya=>{ya.stopPropagation(),yn==null||yn(ya),!ya.defaultPrevented&&ln(!1)},[,Yn]=(0,ze.Z)(Wt,nn,ya=>ya===null?b.createElement(he.Z,{className:`${Pt}-close-icon`,onClick:Mt}):b.createElement("span",{className:`${Pt}-close-icon`,onClick:Mt},ya),null,!1),aa=typeof Te.onClick=="function"||ct&&ct.type==="a",tn=Lt||null,Fa=tn?b.createElement(b.Fragment,null,tn,ct&&b.createElement("span",null,ct)):ct,_a=b.createElement("span",Object.assign({},Te,{ref:Je,className:Rt,style:nt}),Fa,Yn,Ce&&b.createElement(ae,{key:"preset",prefixCls:Pt}),ut&&b.createElement(Se,{key:"status",prefixCls:Pt}));return _n(aa?b.createElement(xe.Z,{component:"Tag"},_a):_a)},Ne=b.forwardRef(We);Ne.CheckableTag=y;var mt=Ne},98228:function(yt,kt,oe){"use strict";oe.d(kt,{default:function(){return po}});var b=oe(92310),he=oe.n(b),De=oe(72308),Ae=oe(80702),ke=oe(77321),ze=oe(52487),xe=oe(74416),tt=oe(62853),Me=oe(77861),Le=oe(17115),_e=oe(90782),He=oe(18929),Ke=oe(48736),le=oe(59301),E=function(Ht){var Zn=le.useRef({valueLabels:new Map});return le.useMemo(function(){var qn=Zn.current.valueLabels,Sa=new Map,Be=Ht.map(function(at){var st,Ft=at.value,St=(st=at.label)!==null&&st!==void 0?st:qn.get(Ft);return Sa.set(Ft,St),(0,ke.Z)((0,ke.Z)({},at),{},{label:St})});return Zn.current.valueLabels=Sa,[Be]},[Ht])},a=function(Ht,Zn,qn,Sa){return le.useMemo(function(){var Be=Ht.map(function(St){var mn=St.value;return mn}),at=Zn.map(function(St){var mn=St.value;return mn}),st=Be.filter(function(St){return!Sa[St]});if(qn){var Ft=(0,_e.S)(Be,!0,Sa);Be=Ft.checkedKeys,at=Ft.halfCheckedKeys}return[Array.from(new Set([].concat((0,Ae.Z)(st),(0,Ae.Z)(Be)))),at]},[Ht,Zn,qn,Sa])},x=oe(71430),y=function(Ht,Zn){return le.useMemo(function(){var qn=(0,x.I8)(Ht,{fieldNames:Zn,initWrapper:function(Be){return(0,ke.Z)((0,ke.Z)({},Be),{},{valueEntities:new Map})},processEntity:function(Be,at){var st=Be.node[Zn.value];if(0)var Ft;at.valueEntities.set(st,Be)}});return qn},[Ht,Zn])},z=oe(49618),te=oe(11592),ae=function(){return null},se=ae,ie=["children","value"];function Se(Ht){return(0,te.Z)(Ht).map(function(Zn){if(!le.isValidElement(Zn)||!Zn.type)return null;var qn=Zn,Sa=qn.key,Be=qn.props,at=Be.children,st=Be.value,Ft=(0,xe.Z)(Be,ie),St=(0,ke.Z)({key:Sa,value:st},Ft),mn=Se(at);return mn.length&&(St.children=mn),St}).filter(function(Zn){return Zn})}function be(Ht){if(!Ht)return Ht;var Zn=(0,ke.Z)({},Ht);return"props"in Zn||Object.defineProperty(Zn,"props",{get:function(){return(0,Ke.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),Zn}}),Zn}function We(Ht,Zn,qn,Sa,Be,at){var st=null,Ft=null;function St(){function mn(Kt){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Kt.map(function(Ue,Bt){var un="".concat(Ge,"-").concat(Bt),pn=Ue[at.value],ra=qn.includes(pn),Wn=mn(Ue[at.children]||[],un,ra),Ln=le.createElement(se,Ue,Wn.map(function(Tn){return Tn.node}));if(Zn===pn&&(st=Ln),ra){var jn={pos:un,node:Ln,children:Wn};return Ye||Ft.push(jn),jn}return null}).filter(function(Ue){return Ue})}Ft||(Ft=[],mn(Sa),Ft.sort(function(Kt,Ge){var Ye=Kt.node.props.value,Ue=Ge.node.props.value,Bt=qn.indexOf(Ye),un=qn.indexOf(Ue);return Bt-un}))}Object.defineProperty(Ht,"triggerNode",{get:function(){return(0,Ke.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),St(),st}}),Object.defineProperty(Ht,"allCheckedNodes",{get:function(){return(0,Ke.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),St(),Be?Ft:Ft.map(function(Kt){var Ge=Kt.node;return Ge})}})}var Ne=function(Ht,Zn,qn){var Sa=qn.treeNodeFilterProp,Be=qn.filterTreeNode,at=qn.fieldNames,st=at.children;return le.useMemo(function(){if(!Zn||Be===!1)return Ht;var Ft;if(typeof Be=="function")Ft=Be;else{var St=Zn.toUpperCase();Ft=function(Ge,Ye){var Ue=Ye[Sa];return String(Ue).toUpperCase().includes(St)}}function mn(Kt){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Kt.reduce(function(Ye,Ue){var Bt=Ue[st],un=Ge||Ft(Zn,be(Ue)),pn=mn(Bt||[],un);return(un||pn.length)&&Ye.push((0,ke.Z)((0,ke.Z)({},Ue),{},(0,z.Z)({isLeaf:void 0},st,pn))),Ye},[])}return mn(Ht)},[Ht,Zn,st,Sa,Be])};function mt(Ht){var Zn=le.useRef();Zn.current=Ht;var qn=le.useCallback(function(){return Zn.current.apply(Zn,arguments)},[]);return qn}function Re(Ht,Zn){var qn=Zn.id,Sa=Zn.pId,Be=Zn.rootPId,at={},st=[],Ft=Ht.map(function(St){var mn=(0,ke.Z)({},St),Kt=mn[qn];return at[Kt]=mn,mn.key=mn.key||Kt,mn});return Ft.forEach(function(St){var mn=St[Sa],Kt=at[mn];Kt&&(Kt.children=Kt.children||[],Kt.children.push(St)),(mn===Be||!Kt&&Be===null)&&st.push(St)}),st}function Je(Ht,Zn,qn){return le.useMemo(function(){return Ht?qn?Re(Ht,(0,ke.Z)({id:"id",pId:"pId",rootPId:null},qn!==!0?qn:{})):Ht:Se(Zn)},[Zn,qn,Ht])}var Qe=le.createContext(null),et=Qe,we=oe(10228),ht=oe(80547),ct=oe(54844),Lt=le.createContext(null),gt=Lt;function yn(Ht){return Array.isArray(Ht)?Ht:Ht!==void 0?[Ht]:[]}function nn(Ht){var Zn=Ht||{},qn=Zn.label,Sa=Zn.value,Be=Zn.children,at=Sa||"value";return{_title:qn?[qn]:["title","label"],value:at,key:at,children:Be||"children"}}function Wt(Ht){return!Ht||Ht.disabled||Ht.disableCheckbox||Ht.checkable===!1}function _t(Ht,Zn){var qn=[];function Sa(Be){Be.forEach(function(at){var st=at[Zn.children];st&&(qn.push(at[Zn.value]),Sa(st))})}return Sa(Ht),qn}function Te(Ht){return Ht==null}var ot={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Ut=function(Zn,qn){var Sa=(0,Me.lk)(),Be=Sa.prefixCls,at=Sa.multiple,st=Sa.searchValue,Ft=Sa.toggleOpen,St=Sa.open,mn=Sa.notFoundContent,Kt=le.useContext(gt),Ge=Kt.virtual,Ye=Kt.listHeight,Ue=Kt.listItemHeight,Bt=Kt.treeData,un=Kt.fieldNames,pn=Kt.onSelect,ra=Kt.dropdownMatchSelectWidth,Wn=Kt.treeExpandAction,Ln=le.useContext(et),jn=Ln.checkable,Tn=Ln.checkedKeys,jt=Ln.halfCheckedKeys,La=Ln.treeExpandedKeys,lr=Ln.treeDefaultExpandAll,oo=Ln.treeDefaultExpandedKeys,Wa=Ln.onTreeExpand,zt=Ln.treeIcon,jr=Ln.showTreeIcon,Ta=Ln.switcherIcon,vr=Ln.treeLine,er=Ln.treeNodeFilterProp,kr=Ln.loadData,br=Ln.treeLoadedKeys,qr=Ln.treeMotion,wr=Ln.onTreeLoad,oa=Ln.keyEntities,$t=le.useRef(),Xa=(0,ht.Z)(function(){return Bt},[St,Bt],function(ur,zr){return zr[0]&&ur[1]!==zr[1]}),ua=le.useState(null),tr=(0,ze.Z)(ua,2),Oa=tr[0],hn=tr[1],$n=oa[Oa],Aa=le.useMemo(function(){return jn?{checked:Tn,halfChecked:jt}:null},[jn,Tn,jt]);le.useEffect(function(){if(St&&!at&&Tn.length){var ur;(ur=$t.current)===null||ur===void 0||ur.scrollTo({key:Tn[0]}),hn(Tn[0])}},[St]);var Un=String(st).toLowerCase(),qa=function(zr){return Un?String(zr[er]).toLowerCase().includes(Un):!1},Ka=le.useState(oo),pr=(0,ze.Z)(Ka,2),_r=pr[0],nr=pr[1],jo=le.useState(null),Co=(0,ze.Z)(jo,2),pi=Co[0],Pr=Co[1],Ar=le.useMemo(function(){return La?(0,Ae.Z)(La):st?pi:_r},[_r,pi,La,st]);le.useEffect(function(){st&&Pr(_t(Bt,un))},[st]);var uo=function(zr){nr(zr),Pr(zr),Wa&&Wa(zr)},za=function(zr){zr.preventDefault()},Tr=function(zr,fo){var Qr=fo.node;jn&&Wt(Qr)||(pn(Qr.key,{selected:!Tn.includes(Qr.key)}),at||Ft(!1))};if(le.useImperativeHandle(qn,function(){var ur;return{scrollTo:(ur=$t.current)===null||ur===void 0?void 0:ur.scrollTo,onKeyDown:function(fo){var Qr,Ha=fo.which;switch(Ha){case we.Z.UP:case we.Z.DOWN:case we.Z.LEFT:case we.Z.RIGHT:(Qr=$t.current)===null||Qr===void 0||Qr.onKeyDown(fo);break;case we.Z.ENTER:{if($n){var wo=($n==null?void 0:$n.node)||{},ni=wo.selectable,ri=wo.value;ni!==!1&&Tr(null,{node:{key:Oa},selected:!Tn.includes(ri)})}break}case we.Z.ESC:Ft(!1)}},onKeyUp:function(){}}}),Xa.length===0)return le.createElement("div",{role:"listbox",className:"".concat(Be,"-empty"),onMouseDown:za},mn);var Hr={fieldNames:un};return br&&(Hr.loadedKeys=br),Ar&&(Hr.expandedKeys=Ar),le.createElement("div",{onMouseDown:za},$n&&St&&le.createElement("span",{style:ot,"aria-live":"assertive"},$n.node.value),le.createElement(ct.Z,(0,De.Z)({ref:$t,focusable:!1,prefixCls:"".concat(Be,"-tree"),treeData:Xa,height:Ye,itemHeight:Ue,virtual:Ge!==!1&&ra!==!1,multiple:at,icon:zt,showIcon:jr,switcherIcon:Ta,showLine:vr,loadData:st?null:kr,motion:qr,activeKey:Oa,checkable:jn,checkStrictly:!0,checkedKeys:Aa,selectedKeys:jn?[]:Tn,defaultExpandAll:lr},Hr,{onActiveChange:hn,onSelect:Tr,onCheck:Tr,onExpand:uo,onLoad:wr,filterTreeNode:qa,expandAction:Wn})))},xn=le.forwardRef(Ut);xn.displayName="OptionList";var At=xn,ln="SHOW_ALL",Ce="SHOW_PARENT",ut="SHOW_CHILD";function Xt(Ht,Zn,qn,Sa){var Be=new Set(Ht);return Zn===ut?Ht.filter(function(at){var st=qn[at];return!(st&&st.children&&st.children.some(function(Ft){var St=Ft.node;return Be.has(St[Sa.value])})&&st.children.every(function(Ft){var St=Ft.node;return Wt(St)||Be.has(St[Sa.value])}))}):Zn===Ce?Ht.filter(function(at){var st=qn[at],Ft=st?st.parent:null;return!(Ft&&!Wt(Ft.node)&&Be.has(Ft.key))}):Ht}function nt(Ht){var Zn=Ht.searchPlaceholder,qn=Ht.treeCheckStrictly,Sa=Ht.treeCheckable,Be=Ht.labelInValue,at=Ht.value,st=Ht.multiple;warning(!Zn,"`searchPlaceholder` has been removed."),qn&&Be===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Be||qn)&&warning(toArray(at).every(function(Ft){return Ft&&_typeof(Ft)==="object"&&"value"in Ft}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),qn||st||Sa?warning(!at||Array.isArray(at),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(at),"`value` should not be array when `TreeSelect` is single mode.")}var Pt=null,_n=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"];function sn(Ht){return!Ht||(0,tt.Z)(Ht)!=="object"}var Rt=le.forwardRef(function(Ht,Zn){var qn=Ht.id,Sa=Ht.prefixCls,Be=Sa===void 0?"rc-tree-select":Sa,at=Ht.value,st=Ht.defaultValue,Ft=Ht.onChange,St=Ht.onSelect,mn=Ht.onDeselect,Kt=Ht.searchValue,Ge=Ht.inputValue,Ye=Ht.onSearch,Ue=Ht.autoClearSearchValue,Bt=Ue===void 0?!0:Ue,un=Ht.filterTreeNode,pn=Ht.treeNodeFilterProp,ra=pn===void 0?"value":pn,Wn=Ht.showCheckedStrategy,Ln=Ht.treeNodeLabelProp,jn=Ht.multiple,Tn=Ht.treeCheckable,jt=Ht.treeCheckStrictly,La=Ht.labelInValue,lr=Ht.fieldNames,oo=Ht.treeDataSimpleMode,Wa=Ht.treeData,zt=Ht.children,jr=Ht.loadData,Ta=Ht.treeLoadedKeys,vr=Ht.onTreeLoad,er=Ht.treeDefaultExpandAll,kr=Ht.treeExpandedKeys,br=Ht.treeDefaultExpandedKeys,qr=Ht.onTreeExpand,wr=Ht.treeExpandAction,oa=Ht.virtual,$t=Ht.listHeight,Xa=$t===void 0?200:$t,ua=Ht.listItemHeight,tr=ua===void 0?20:ua,Oa=Ht.onDropdownVisibleChange,hn=Ht.dropdownMatchSelectWidth,$n=hn===void 0?!0:hn,Aa=Ht.treeLine,Un=Ht.treeIcon,qa=Ht.showTreeIcon,Ka=Ht.switcherIcon,pr=Ht.treeMotion,_r=(0,xe.Z)(Ht,_n),nr=(0,Le.ZP)(qn),jo=Tn&&!jt,Co=Tn||jt,pi=jt||La,Pr=Co||jn,Ar=(0,He.Z)(st,{value:at}),uo=(0,ze.Z)(Ar,2),za=uo[0],Tr=uo[1],Hr=le.useMemo(function(){return Tn?Wn||ut:ln},[Wn,Tn]),ur=le.useMemo(function(){return nn(lr)},[JSON.stringify(lr)]),zr=(0,He.Z)("",{value:Kt!==void 0?Kt:Ge,postState:function(ma){return ma||""}}),fo=(0,ze.Z)(zr,2),Qr=fo[0],Ha=fo[1],wo=function(ma){Ha(ma),Ye==null||Ye(ma)},ni=Je(Wa,zt,oo),ri=y(ni,ur),Zr=ri.keyEntities,oi=ri.valueEntities,Yo=le.useCallback(function(ca){var ma=[],ar=[];return ca.forEach(function(dr){oi.has(dr)?ar.push(dr):ma.push(dr)}),{missingRawValues:ma,existRawValues:ar}},[oi]),ul=Ne(ni,Qr,{fieldNames:ur,treeNodeFilterProp:ra,filterTreeNode:un}),wi=le.useCallback(function(ca){if(ca){if(Ln)return ca[Ln];for(var ma=ur._title,ar=0;ar{const{componentCls:Zn,treePrefixCls:qn,colorBgElevated:Sa}=Ht,Be=`.${qn}`;return[{[`${Zn}-dropdown`]:[{padding:`${Ht.paddingXS}px ${Ht.paddingXS/2}px`},(0,Da.Yk)(qn,(0,bt.TS)(Ht,{colorBgContainer:Sa})),{[Be]:{borderRadius:0,[`${Be}-list-holder-inner`]:{alignItems:"stretch",[`${Be}-treenode`]:{[`${Be}-node-content-wrapper`]:{flex:"auto"}}}}},(0,an.C2)(`${qn}-checkbox`,Ht),{"&-rtl":{direction:"rtl",[`${Be}-switcher${Be}-switcher_close`]:{[`${Be}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function wa(Ht,Zn){return(0,Gt.Z)("TreeSelect",qn=>{const Sa=(0,bt.TS)(qn,{treePrefixCls:Zn});return[pa(Sa)]},Da.TM)(Ht)}var ha=function(Ht,Zn){var qn={};for(var Sa in Ht)Object.prototype.hasOwnProperty.call(Ht,Sa)&&Zn.indexOf(Sa)<0&&(qn[Sa]=Ht[Sa]);if(Ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,Sa=Object.getOwnPropertySymbols(Ht);Be{var qn,{prefixCls:Sa,size:Be,disabled:at,bordered:st=!0,className:Ft,rootClassName:St,treeCheckable:mn,multiple:Kt,listHeight:Ge=256,listItemHeight:Ye=26,placement:Ue,notFoundContent:Bt,switcherIcon:un,treeLine:pn,getPopupContainer:ra,popupClassName:Wn,dropdownClassName:Ln,treeIcon:jn=!1,transitionName:Tn,choiceTransitionName:jt="",status:La,treeExpandAction:lr,builtinPlacements:oo,dropdownMatchSelectWidth:Wa,popupMatchSelectWidth:zt,allowClear:jr}=Ht,Ta=ha(Ht,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear"]);const{getPopupContainer:vr,getPrefixCls:er,renderEmpty:kr,direction:br,virtual:qr,popupMatchSelectWidth:wr,popupOverflow:oa}=le.useContext(Vn.E_),$t=er(),Xa=er("select",Sa),ua=er("select-tree",Sa),tr=er("tree-select",Sa),{compactSize:Oa,compactItemClassnames:hn}=(0,Va.ri)(Xa,br),[$n,Aa]=(0,da.Z)(Xa),[Un]=wa(tr,ua),qa=he()(Wn||Ln,`${tr}-dropdown`,{[`${tr}-dropdown-rtl`]:br==="rtl"},St,Aa),Ka=!!(mn||Kt),pr=(0,ia.Z)(Ta.suffixIcon,Ta.showArrow),_r=(qn=zt!=null?zt:Wa)!==null&&qn!==void 0?qn:wr,{status:nr,hasFeedback:jo,isFormItemInput:Co,feedbackIcon:pi}=le.useContext(Jn.aM),Pr=(0,ya.F)(nr,La),{suffixIcon:Ar,removeIcon:uo,clearIcon:za}=(0,Ea.Z)(Object.assign(Object.assign({},Ta),{multiple:Ka,showSuffixIcon:pr,hasFeedback:jo,feedbackIcon:pi,prefixCls:Xa,componentName:"TreeSelect"})),Tr=jr===!0?{clearIcon:za}:jr;let Hr;Bt!==void 0?Hr=Bt:Hr=(kr==null?void 0:kr("Select"))||le.createElement(cr.Z,{componentName:"Select"});const ur=(0,tn.Z)(Ta,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),zr=le.useMemo(()=>Ue!==void 0?Ue:br==="rtl"?"bottomRight":"bottomLeft",[Ue,br]),fo=(0,ea.Z)(oo,oa),Qr=(0,Ya.Z)(oi=>{var Yo;return(Yo=Be!=null?Be:Oa)!==null&&Yo!==void 0?Yo:oi}),Ha=le.useContext(xa.Z),wo=at!=null?at:Ha,ni=he()(!Sa&&tr,{[`${Xa}-lg`]:Qr==="large",[`${Xa}-sm`]:Qr==="small",[`${Xa}-rtl`]:br==="rtl",[`${Xa}-borderless`]:!st,[`${Xa}-in-form-item`]:Co},(0,ya.Z)(Xa,Pr,jo),hn,Ft,St,Aa),ri=oi=>le.createElement(Pn.Z,{prefixCls:ua,switcherIcon:un,treeNodeProps:oi,showLine:pn}),Zr=le.createElement(aa,Object.assign({virtual:qr,disabled:wo},ur,{dropdownMatchSelectWidth:_r,builtinPlacements:fo,ref:Zn,prefixCls:Xa,className:ni,listHeight:Ge,listItemHeight:Ye,treeCheckable:mn&&le.createElement("span",{className:`${Xa}-tree-checkbox-inner`}),treeLine:!!pn,suffixIcon:Ar,multiple:Ka,placement:zr,removeIcon:uo,allowClear:Tr,switcherIcon:ri,showTreeIcon:jn,notFoundContent:Hr,getPopupContainer:ra||vr,treeMotion:null,dropdownClassName:qa,choiceTransitionName:(0,_a.m)($t,"",jt),transitionName:(0,_a.m)($t,"slide-up",Tn),treeExpandAction:lr}));return $n(Un(Zr))},Ua=le.forwardRef(ja),Br=(0,Fa.Z)(Ua);Ua.TreeNode=se,Ua.SHOW_ALL=ln,Ua.SHOW_PARENT=Ce,Ua.SHOW_CHILD=ut,Ua._InternalPanelDoNotUseOrYouWillBeFired=Br;var po=Ua},24334:function(yt,kt,oe){var b,he;(function(De,Ae){yt.exports=Ae(De)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof oe.g!="undefined"?oe.g:this,function(De){"use strict";De=De||{};var Ae=De.Base64,ke="2.6.4",ze="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xe=function(Qe){for(var et={},we=0,ht=Qe.length;we>>6)+tt(128|et&63):tt(224|et>>>12&15)+tt(128|et>>>6&63)+tt(128|et&63)}else{var et=65536+(Qe.charCodeAt(0)-55296)*1024+(Qe.charCodeAt(1)-56320);return tt(240|et>>>18&7)+tt(128|et>>>12&63)+tt(128|et>>>6&63)+tt(128|et&63)}},Le=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,_e=function(Qe){return Qe.replace(Le,Me)},He=function(Qe){var et=[0,2,1][Qe.length%3],we=Qe.charCodeAt(0)<<16|(Qe.length>1?Qe.charCodeAt(1):0)<<8|(Qe.length>2?Qe.charCodeAt(2):0),ht=[ze.charAt(we>>>18),ze.charAt(we>>>12&63),et>=2?"=":ze.charAt(we>>>6&63),et>=1?"=":ze.charAt(we&63)];return ht.join("")},Ke=De.btoa&&typeof De.btoa=="function"?function(Qe){return De.btoa(Qe)}:function(Qe){if(Qe.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Qe.replace(/[\s\S]{1,3}/g,He)},le=function(Qe){return Ke(_e(String(Qe)))},E=function(Qe){return Qe.replace(/[+\/]/g,function(et){return et=="+"?"-":"_"}).replace(/=/g,"")},a=function(Qe,et){return et?E(le(Qe)):le(Qe)},x=function(Qe){return a(Qe,!0)},y;De.Uint8Array&&(y=function(Qe,et){for(var we="",ht=0,ct=Qe.length;ht>>18)+ze.charAt(nn>>>12&63)+(typeof gt!="undefined"?ze.charAt(nn>>>6&63):"=")+(typeof yn!="undefined"?ze.charAt(nn&63):"=")}return et?E(we):we});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,te=function(Qe){switch(Qe.length){case 4:var et=(7&Qe.charCodeAt(0))<<18|(63&Qe.charCodeAt(1))<<12|(63&Qe.charCodeAt(2))<<6|63&Qe.charCodeAt(3),we=et-65536;return tt((we>>>10)+55296)+tt((we&1023)+56320);case 3:return tt((15&Qe.charCodeAt(0))<<12|(63&Qe.charCodeAt(1))<<6|63&Qe.charCodeAt(2));default:return tt((31&Qe.charCodeAt(0))<<6|63&Qe.charCodeAt(1))}},ae=function(Qe){return Qe.replace(z,te)},se=function(Qe){var et=Qe.length,we=et%4,ht=(et>0?xe[Qe.charAt(0)]<<18:0)|(et>1?xe[Qe.charAt(1)]<<12:0)|(et>2?xe[Qe.charAt(2)]<<6:0)|(et>3?xe[Qe.charAt(3)]:0),ct=[tt(ht>>>16),tt(ht>>>8&255),tt(ht&255)];return ct.length-=[0,0,2,1][we],ct.join("")},ie=De.atob&&typeof De.atob=="function"?function(Qe){return De.atob(Qe)}:function(Qe){return Qe.replace(/\S{1,4}/g,se)},Se=function(Qe){return ie(String(Qe).replace(/[^A-Za-z0-9\+\/]/g,""))},be=function(Qe){return ae(ie(Qe))},We=function(Qe){return String(Qe).replace(/[-_]/g,function(et){return et=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ne=function(Qe){return be(We(Qe))},mt;De.Uint8Array&&(mt=function(Qe){return Uint8Array.from(Se(We(Qe)),function(et){return et.charCodeAt(0)})});var Re=function(){var Qe=De.Base64;return De.Base64=Ae,Qe};if(De.Base64={VERSION:ke,atob:Se,btoa:Ke,fromBase64:Ne,toBase64:a,utob:_e,encode:a,encodeURI:x,btou:ae,decode:Ne,noConflict:Re,fromUint8Array:y,toUint8Array:mt},typeof Object.defineProperty=="function"){var Je=function(Qe){return{value:Qe,enumerable:!1,writable:!0,configurable:!0}};De.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Je(function(){return Ne(this)})),Object.defineProperty(String.prototype,"toBase64",Je(function(Qe){return a(this,Qe)})),Object.defineProperty(String.prototype,"toBase64URI",Je(function(){return a(this,!0)}))}}return De.Meteor&&(Base64=De.Base64),yt.exports?yt.exports.Base64=De.Base64:(b=[],he=function(){return De.Base64}.apply(kt,b),he!==void 0&&(yt.exports=he)),{Base64:De.Base64}})},12921:function(yt,kt,oe){"use strict";oe.d(kt,{Z5:function(){return Ql},_l:function(){return Hd},bK:function(){return ed}});var b=oe(59301),he=oe(60039);function De(ee,ne){ee.prototype=Object.create(ne.prototype),ee.prototype.constructor=ee,(0,he.Z)(ee,ne)}var Ae=oe(72308),ke=oe(59781),ze=b.createContext(null),xe=null;function tt(ee){ee()}var Me=tt,Le=function(ne){return Me=ne},_e=function(){return Me};function He(){var ee=_e(),ne=null,re=null;return{clear:function(){ne=null,re=null},notify:function(){ee(function(){for(var ve=ne;ve;)ve.callback(),ve=ve.next})},get:function(){for(var ve=[],pe=ne;pe;)ve.push(pe),pe=pe.next;return ve},subscribe:function(ve){var pe=!0,ye=re={callback:ve,next:null,prev:re};return ye.prev?ye.prev.next=ye:ne=ye,function(){!pe||ne===null||(pe=!1,ye.next?ye.next.prev=ye.prev:re=ye.prev,ye.prev?ye.prev.next=ye.next:ne=ye.next)}}}}var Ke={notify:function(){},get:function(){return[]}};function le(ee,ne){var re,de=Ke;function ve(je){return Ze(),de.subscribe(je)}function pe(){de.notify()}function ye(){Xe.onStateChange&&Xe.onStateChange()}function Fe(){return!!re}function Ze(){re||(re=ne?ne.addNestedSub(ye):ee.subscribe(ye),de=He())}function $e(){re&&(re(),re=void 0,de.clear(),de=Ke)}var Xe={addNestedSub:ve,notifyNestedSubs:pe,handleChangeWrapper:ye,isSubscribed:Fe,trySubscribe:Ze,tryUnsubscribe:$e,getListeners:function(){return de}};return Xe}var E=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect;function a(ee){var ne=ee.store,re=ee.context,de=ee.children,ve=(0,b.useMemo)(function(){var Fe=le(ne);return{store:ne,subscription:Fe}},[ne]),pe=(0,b.useMemo)(function(){return ne.getState()},[ne]);E(function(){var Fe=ve.subscription;return Fe.onStateChange=Fe.notifyNestedSubs,Fe.trySubscribe(),pe!==ne.getState()&&Fe.notifyNestedSubs(),function(){Fe.tryUnsubscribe(),Fe.onStateChange=null}},[ve,pe]);var ye=re||ze;return b.createElement(ye.Provider,{value:ve},de)}var x=a,y=oe(87488),z=oe(94266),te=oe.n(z),ae=oe(53410),se=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],ie=["reactReduxForwardedRef"],Se=[],be=[null,null],We=function(ne){try{return JSON.stringify(ne)}catch(re){return String(ne)}};function Ne(ee,ne){var re=ee[1];return[ne.payload,re+1]}function mt(ee,ne,re){E(function(){return ee.apply(void 0,ne)},re)}function Re(ee,ne,re,de,ve,pe,ye){ee.current=de,ne.current=ve,re.current=!1,pe.current&&(pe.current=null,ye())}function Je(ee,ne,re,de,ve,pe,ye,Fe,Ze,$e){if(ee){var Xe=!1,je=null,Ve=function(){if(!Xe){var Xn=ne.getState(),la,fa;try{la=de(Xn,ve.current)}catch(ka){fa=ka,je=ka}fa||(je=null),la===pe.current?ye.current||Ze():(pe.current=la,Fe.current=la,ye.current=!0,$e({type:"STORE_UPDATED",payload:{error:fa}}))}};re.onStateChange=Ve,re.trySubscribe(),Ve();var lt=function(){if(Xe=!0,re.tryUnsubscribe(),re.onStateChange=null,je)throw je};return lt}}var Qe=function(){return[null,0]};function et(ee,ne){ne===void 0&&(ne={});var re=ne,de=re.getDisplayName,ve=de===void 0?function(Ur){return"ConnectAdvanced("+Ur+")"}:de,pe=re.methodName,ye=pe===void 0?"connectAdvanced":pe,Fe=re.renderCountProp,Ze=Fe===void 0?void 0:Fe,$e=re.shouldHandleStateChanges,Xe=$e===void 0?!0:$e,je=re.storeKey,Ve=je===void 0?"store":je,lt=re.withRef,Tt=lt===void 0?!1:lt,Xn=re.forwardRef,la=Xn===void 0?!1:Xn,fa=re.context,ka=fa===void 0?ze:fa,Qa=(0,y.Z)(re,se);if(0)var or;var to=ka;return function(So){var xi=So.displayName||So.name||"Component",bo=ve(xi),Di=(0,Ae.Z)({},Qa,{getDisplayName:ve,methodName:ye,renderCountProp:Ze,shouldHandleStateChanges:Xe,storeKey:Ve,displayName:bo,wrappedComponentName:xi,WrappedComponent:So}),ll=Qa.pure;function pl(hl){return ee(hl.dispatch,Di)}var vu=ll?b.useMemo:function(hl){return hl()};function cu(hl){var xu=(0,b.useMemo)(function(){var Fs=hl.reactReduxForwardedRef,zs=(0,y.Z)(hl,ie);return[hl.context,Fs,zs]},[hl]),hu=xu[0],Ps=xu[1],ju=xu[2],Du=(0,b.useMemo)(function(){return hu&&hu.Consumer&&(0,ae.isContextConsumer)(b.createElement(hu.Consumer,null))?hu:to},[hu,to]),Su=(0,b.useContext)(Du),Hu=!!hl.store&&!!hl.store.getState&&!!hl.store.dispatch,xs=!!Su&&!!Su.store,Eu=Hu?hl.store:Su.store,ys=(0,b.useMemo)(function(){return pl(Eu)},[Eu]),Ds=(0,b.useMemo)(function(){if(!Xe)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,Se,Qe),Yd=td[0],Ns=Yd[0],Kd=td[1];if(Ns&&Ns.error)throw Ns.error;var nd=(0,b.useRef)(),Gs=(0,b.useRef)(ju),Is=(0,b.useRef)(),ad=(0,b.useRef)(!1),js=vu(function(){return Is.current&&ju===Gs.current?Is.current:ys(Eu.getState(),ju)},[Eu,Ns,ju]);mt(Re,[Gs,nd,ad,ju,js,Is,ws]),mt(Je,[Xe,Eu,ns,ys,Gs,nd,ad,Is,ws,Kd],[Eu,ns,ys]);var Hs=(0,b.useMemo)(function(){return b.createElement(So,(0,Ae.Z)({},js,{ref:Ps}))},[Ps,So,js]),Jd=(0,b.useMemo)(function(){return Xe?b.createElement(Du.Provider,{value:Ls},Hs):Hs},[Du,Hs,Ls]);return Jd}var Yl=ll?b.memo(cu):cu;if(Yl.WrappedComponent=So,Yl.displayName=cu.displayName=bo,la){var pu=b.forwardRef(function(xu,hu){return b.createElement(Yl,(0,Ae.Z)({},xu,{reactReduxForwardedRef:hu}))});return pu.displayName=bo,pu.WrappedComponent=So,te()(pu,So)}return te()(Yl,So)}}function we(ee,ne){return ee===ne?ee!==0||ne!==0||1/ee===1/ne:ee!==ee&&ne!==ne}function ht(ee,ne){if(we(ee,ne))return!0;if(typeof ee!="object"||ee===null||typeof ne!="object"||ne===null)return!1;var re=Object.keys(ee),de=Object.keys(ne);if(re.length!==de.length)return!1;for(var ve=0;ve=0;de--){var ve=ne[de](ee);if(ve)return ve}return function(pe,ye){throw new Error("Invalid value of type "+typeof ee+" for "+re+" argument when connecting component "+ye.wrappedComponentName+".")}}function Yn(ee,ne){return ee===ne}function aa(ee){var ne=ee===void 0?{}:ee,re=ne.connectHOC,de=re===void 0?et:re,ve=ne.mapStateToPropsFactories,pe=ve===void 0?xn:ve,ye=ne.mapDispatchToPropsFactories,Fe=ye===void 0?Te:ye,Ze=ne.mergePropsFactories,$e=Ze===void 0?Xt:Ze,Xe=ne.selectorFactory,je=Xe===void 0?sn:Xe;return function(lt,Tt,Xn,la){la===void 0&&(la={});var fa=la,ka=fa.pure,Qa=ka===void 0?!0:ka,or=fa.areStatesEqual,to=or===void 0?Yn:or,Ur=fa.areOwnPropsEqual,So=Ur===void 0?ht:Ur,xi=fa.areStatePropsEqual,bo=xi===void 0?ht:xi,Di=fa.areMergedPropsEqual,ll=Di===void 0?ht:Di,pl=(0,y.Z)(fa,Rt),vu=Mt(lt,pe,"mapStateToProps"),cu=Mt(Tt,Fe,"mapDispatchToProps"),Yl=Mt(Xn,$e,"mergeProps");return de(je,(0,Ae.Z)({methodName:"connect",getDisplayName:function(hl){return"Connect("+hl+")"},shouldHandleStateChanges:!!lt,initMapStateToProps:vu,initMapDispatchToProps:cu,initMergeProps:Yl,pure:Qa,areStatesEqual:to,areOwnPropsEqual:So,areStatePropsEqual:bo,areMergedPropsEqual:ll},pl))}}var tn=aa();function Fa(){var ee=useContext(ReactReduxContext);return ee}function _a(ee){ee===void 0&&(ee=ReactReduxContext);var ne=ee===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ee)};return function(){var de=ne(),ve=de.store;return ve}}var ya=null;function Vn(ee){ee===void 0&&(ee=ReactReduxContext);var ne=ee===ReactReduxContext?useDefaultStore:createStoreHook(ee);return function(){var de=ne();return de.dispatch}}var xa=null,cr=function(ne,re){return ne===re};function Ya(ee,ne,re,de){var ve=useReducer(function(Tt){return Tt+1},0),pe=ve[1],ye=useMemo(function(){return createSubscription(re,de)},[re,de]),Fe=useRef(),Ze=useRef(),$e=useRef(),Xe=useRef(),je=re.getState(),Ve;try{if(ee!==Ze.current||je!==$e.current||Fe.current){var lt=ee(je);Xe.current===void 0||!ne(lt,Xe.current)?Ve=lt:Ve=Xe.current}else Ve=Xe.current}catch(Tt){throw Fe.current&&(Tt.message+=` The error may be correlated with this previous error: `+Fe.current.stack+` -`),Zt}return useIsomorphicLayoutEffect(function(){Ze.current=ee,$e.current=je,qe.current=Ve,Fe.current=void 0}),useIsomorphicLayoutEffect(function(){function Zt(){try{var Jn=re.getState();if(Jn===$e.current)return;var ia=Ze.current(Jn);if(ne(ia,qe.current))return;qe.current=ia,$e.current=Jn}catch(fa){Fe.current=fa}pe()}return ye.onStateChange=Zt,ye.trySubscribe(),Zt(),function(){return ye.tryUnsubscribe()}},[re,ye]),Ve}function Kn(ee){ee===void 0&&(ee=ReactReduxContext);var ne=ee===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ee)};return function(de,ve){ve===void 0&&(ve=cr);var pe=ne(),ye=pe.store,Fe=pe.subscription,Ze=Ya(de,ve,ye,Fe);return useDebugValue(Ze),Ze}}var sa=null,$n=oe(4676);Le($n.unstable_batchedUpdates);function oa(ee,ne){if(ee.length!==ne.length)return!1;for(var re=0;re");return de.callbacks},de.setCallbacks=function(Fe){de.callbacks=Fe},de}var re=ne.prototype;return re.componentDidMount=function(){this.unbind=La(window,[{eventName:"error",fn:this.onWindowError}])},re.componentWillUnmount=function(){this.unbind()},re.componentDidCatch=function(ve){if(ve instanceof Wa){this.setState({});return}throw ve},re.render=function(){return this.props.children(this.setCallbacks)},ne}(b.Component),Ta=` +`)},pn=function(ne){return[un(ne),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},ra="__react-beautiful-dnd-disable-dev-warnings";function Wn(ee,ne){var re;Ge||typeof window!="undefined"&&window[ra]||(re=console)[ee].apply(re,pn(ne))}var Ln=Wn.bind(null,"warn"),jn=Wn.bind(null,"error");function Tn(){}function jt(ee,ne){return(0,Ae.Z)({},ee,{},ne)}function La(ee,ne,re){var de=ne.map(function(ve){var pe=jt(re,ve.options);return ee.addEventListener(ve.eventName,ve.fn,pe),function(){ee.removeEventListener(ve.eventName,ve.fn,pe)}});return function(){de.forEach(function(pe){pe()})}}var lr=!0,oo="Invariant failed";function Wa(ee){this.message=ee}Wa.prototype.toString=function(){return this.message};function zt(ee,ne){if(!ee)throw lr?new Wa(oo):new Wa(oo+": "+(ne||""))}var jr=function(ee){De(ne,ee);function ne(){for(var de,ve=arguments.length,pe=new Array(ve),ye=0;ye");return de.callbacks},de.setCallbacks=function(Fe){de.callbacks=Fe},de}var re=ne.prototype;return re.componentDidMount=function(){this.unbind=La(window,[{eventName:"error",fn:this.onWindowError}])},re.componentWillUnmount=function(){this.unbind()},re.componentDidCatch=function(ve){if(ve instanceof Wa){this.setState({});return}throw ve},re.render=function(){return this.props.children(this.setCallbacks)},ne}(b.Component),Ta=` Press space bar to start a drag. When dragging you can use the arrow keys to move the item around and escape to cancel. Some screen readers may require you to be in focus mode or to use your pass through key @@ -353,10 +353,10 @@ The error may be correlated with this previous error: in list `+re.droppableId+` has been combined with `+de.draggableId+` in list `+de.droppableId+` - `},$r=function(ne){var re=ne.destination;if(re)return kr(ne.source,re);var de=ne.combine;return de?br(ne.draggableId,ne.source,de):"You are over an area that cannot be dropped on"},wr=function(ne){return` + `},qr=function(ne){var re=ne.destination;if(re)return kr(ne.source,re);var de=ne.combine;return de?br(ne.draggableId,ne.source,de):"You are over an area that cannot be dropped on"},wr=function(ne){return` The item has returned to its starting position of `+vr(ne.index)+` -`},ra=function(ne){if(ne.reason==="CANCEL")return` +`},oa=function(ne){if(ne.reason==="CANCEL")return` Movement cancelled. `+wr(ne.source)+` `;var re=ne.destination,de=ne.combine;return re?` @@ -368,16 +368,16 @@ The error may be correlated with this previous error: `:` The item has been dropped while not over a drop area. `+wr(ne.source)+` - `},$t={dragHandleUsageInstructions:Ta,onDragStart:er,onDragUpdate:$r,onDragEnd:ra},Xa={x:0,y:0},la=function(ne,re){return{x:ne.x+re.x,y:ne.y+re.y}},tr=function(ne,re){return{x:ne.x-re.x,y:ne.y-re.y}},Oa=function(ne,re){return ne.x===re.x&&ne.y===re.y},Sn=function(ne){return{x:ne.x!==0?-ne.x:0,y:ne.y!==0?-ne.y:0}},qn=function(ne,re,de){var ve;return de===void 0&&(de=0),ve={},ve[ne]=re,ve[ne==="x"?"y":"x"]=de,ve},Aa=function(ne,re){return Math.sqrt(Math.pow(re.x-ne.x,2)+Math.pow(re.y-ne.y,2))},Wn=function(ne,re){return Math.min.apply(Math,re.map(function(de){return Aa(ne,de)}))},qa=function(ne){return function(re){return{x:ne(re.x),y:ne(re.y)}}},Ka=function(ee,ne){var re=va({top:Math.max(ne.top,ee.top),right:Math.min(ne.right,ee.right),bottom:Math.min(ne.bottom,ee.bottom),left:Math.max(ne.left,ee.left)});return re.width<=0||re.height<=0?null:re},pr=function(ne,re){return{top:ne.top+re.y,left:ne.left+re.x,bottom:ne.bottom+re.y,right:ne.right+re.x}},_r=function(ne){return[{x:ne.left,y:ne.top},{x:ne.right,y:ne.top},{x:ne.left,y:ne.bottom},{x:ne.right,y:ne.bottom}]},nr={top:0,right:0,bottom:0,left:0},jo=function(ne,re){return re?pr(ne,re.scroll.diff.displacement):ne},Co=function(ne,re,de){if(de&&de.increasedBy){var ve;return(0,Ae.Z)({},ne,(ve={},ve[re.end]=ne[re.end]+de.increasedBy[re.line],ve))}return ne},pi=function(ne,re){return re&&re.shouldClipSubject?Ka(re.pageMarginBox,ne):va(ne)},Pr=function(ee){var ne=ee.page,re=ee.withPlaceholder,de=ee.axis,ve=ee.frame,pe=jo(ne.marginBox,ve),ye=Co(pe,de,re),Fe=pi(ye,ve);return{page:ne,withPlaceholder:re,active:Fe}},Ar=function(ee,ne){ee.frame||zt(!1);var re=ee.frame,de=tr(ne,re.scroll.initial),ve=Sn(de),pe=(0,Ae.Z)({},re,{scroll:{initial:re.scroll.initial,current:ne,diff:{value:de,displacement:ve},max:re.scroll.max}}),ye=Pr({page:ee.subject.page,withPlaceholder:ee.subject.withPlaceholder,axis:ee.axis,frame:pe}),Fe=(0,Ae.Z)({},ee,{frame:pe,subject:ye});return Fe};function so(ee){return Number.isInteger?Number.isInteger(ee):typeof ee=="number"&&isFinite(ee)&&Math.floor(ee)===ee}function za(ee){return Object.values?Object.values(ee):Object.keys(ee).map(function(ne){return ee[ne]})}function Tr(ee,ne){if(ee.findIndex)return ee.findIndex(ne);for(var re=0;reee.bottom,$e=de.leftee.right,qe=Ze&&$e;if(qe)return!0;var je=Ze&&ye||$e&&pe;return je}},Kl=function(ee){var ne=Oo(ee.top,ee.bottom),re=Oo(ee.left,ee.right);return function(de){var ve=ne(de.top)&&ne(de.bottom)&&re(de.left)&&re(de.right);return ve}},Ii={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Ti={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},ul=function(ee){return function(ne){var re=Oo(ne.top,ne.bottom),de=Oo(ne.left,ne.right);return function(ve){return ee===Ii?re(ve.top)&&re(ve.bottom):de(ve.left)&&de(ve.right)}}},Za=function(ne,re){var de=re.frame?re.frame.scroll.diff.displacement:Xa;return pr(ne,de)},jn=function(ne,re,de){return re.subject.active?de(re.subject.active)(ne):!1},Rn=function(ne,re,de){return de(re)(ne)},me=function(ne){var re=ne.target,de=ne.destination,ve=ne.viewport,pe=ne.withDroppableDisplacement,ye=ne.isVisibleThroughFrameFn,Fe=pe?Za(re,de):re;return jn(Fe,de,ye)&&Rn(Fe,ve,ye)},pt=function(ne){return me((0,Ae.Z)({},ne,{isVisibleThroughFrameFn:yl}))},At=function(ne){return me((0,Ae.Z)({},ne,{isVisibleThroughFrameFn:Kl}))},gn=function(ne){return me((0,Ae.Z)({},ne,{isVisibleThroughFrameFn:ul(ne.destination.axis)}))},Et=function(ne,re,de){if(typeof de=="boolean")return de;if(!re)return!0;var ve=re.invisible,pe=re.visible;if(ve[ne])return!1;var ye=pe[ne];return ye?ye.shouldAnimate:!0};function xn(ee,ne){var re=ee.page.marginBox,de={top:ne.point.y,right:0,bottom:0,left:ne.point.x};return va(wa(re,de))}function Fn(ee){var ne=ee.afterDragging,re=ee.destination,de=ee.displacedBy,ve=ee.viewport,pe=ee.forceShouldAnimate,ye=ee.last;return ne.reduce(function(Ze,$e){var qe=xn($e,de),je=$e.descriptor.id;Ze.all.push(je);var Ve=pt({target:qe,destination:re,viewport:ve,withDroppableDisplacement:!0});if(!Ve)return Ze.invisible[$e.descriptor.id]=!0,Ze;var lt=Et(je,ye,pe),Zt={draggableId:je,shouldAnimate:lt};return Ze.visible[je]=Zt,Ze},{all:[],visible:{},invisible:{}})}function fn(ee,ne){if(!ee.length)return 0;var re=ee[ee.length-1].descriptor.index;return ne.inHomeList?re:re+1}function yn(ee){var ne=ee.insideDestination,re=ee.inHomeList,de=ee.displacedBy,ve=ee.destination,pe=fn(ne,{inHomeList:re});return{displaced:wi,displacedBy:de,at:{type:"REORDER",destination:{droppableId:ve.descriptor.id,index:pe}}}}function Ma(ee){var ne=ee.draggable,re=ee.insideDestination,de=ee.destination,ve=ee.viewport,pe=ee.displacedBy,ye=ee.last,Fe=ee.index,Ze=ee.forceShouldAnimate,$e=Yo(ne,de);if(Fe==null)return yn({insideDestination:re,inHomeList:$e,displacedBy:pe,destination:de});var qe=Hr(re,function(Jn){return Jn.descriptor.index===Fe});if(!qe)return yn({insideDestination:re,inHomeList:$e,displacedBy:pe,destination:de});var je=Zr(ne,re),Ve=re.indexOf(qe),lt=je.slice(Ve),Zt=Fn({afterDragging:lt,destination:de,displacedBy:pe,last:ye,viewport:ve.frame,forceShouldAnimate:Ze});return{displaced:Zt,displacedBy:pe,at:{type:"REORDER",destination:{droppableId:de.descriptor.id,index:Fe}}}}function ir(ee,ne){return!!ne.effected[ee]}var hr=function(ee){var ne=ee.isMovingForward,re=ee.destination,de=ee.draggables,ve=ee.combine,pe=ee.afterCritical;if(!re.isCombineEnabled)return null;var ye=ve.draggableId,Fe=de[ye],Ze=Fe.descriptor.index,$e=ir(ye,pe);return $e?ne?Ze:Ze-1:ne?Ze+1:Ze},da=function(ee){var ne=ee.isMovingForward,re=ee.isInHomeList,de=ee.insideDestination,ve=ee.location;if(!de.length)return null;var pe=ve.index,ye=ne?pe+1:pe-1,Fe=de[0].descriptor.index,Ze=de[de.length-1].descriptor.index,$e=re?Ze:Ze+1;return ye$e?null:ye},ma=function(ee){var ne=ee.isMovingForward,re=ee.isInHomeList,de=ee.draggable,ve=ee.draggables,pe=ee.destination,ye=ee.insideDestination,Fe=ee.previousImpact,Ze=ee.viewport,$e=ee.afterCritical,qe=Fe.at;if(qe||zt(!1),qe.type==="REORDER"){var je=da({isMovingForward:ne,isInHomeList:re,location:qe.destination,insideDestination:ye});return je==null?null:Ma({draggable:de,insideDestination:ye,destination:pe,viewport:Ze,last:Fe.displaced,displacedBy:Fe.displacedBy,index:je})}var Ve=hr({isMovingForward:ne,destination:pe,displaced:Fe.displaced,draggables:ve,combine:qe.combine,afterCritical:$e});return Ve==null?null:Ma({draggable:de,insideDestination:ye,destination:pe,viewport:Ze,last:Fe.displaced,displacedBy:Fe.displacedBy,index:Ve})},ar=function(ee){var ne=ee.displaced,re=ee.afterCritical,de=ee.combineWith,ve=ee.displacedBy,pe=!!(ne.visible[de]||ne.invisible[de]);return ir(de,re)?pe?Xa:Sn(ve.point):pe?ve.point:Xa},dr=function(ee){var ne=ee.afterCritical,re=ee.impact,de=ee.draggables,ve=oi(re);ve||zt(!1);var pe=ve.draggableId,ye=de[pe].page.borderBox.center,Fe=ar({displaced:re.displaced,afterCritical:ne,combineWith:pe,displacedBy:re.displacedBy});return la(ye,Fe)},Mo=function(ne,re){return re.margin[ne.start]+re.borderBox[ne.size]/2},Ko=function(ne,re){return re.margin[ne.end]+re.borderBox[ne.size]/2},Lo=function(ne,re,de){return re[ne.crossAxisStart]+de.margin[ne.crossAxisStart]+de.borderBox[ne.crossAxisSize]/2},Wo=function(ne){var re=ne.axis,de=ne.moveRelativeTo,ve=ne.isMoving;return qn(re.line,de.marginBox[re.end]+Mo(re,ve),Lo(re,de.marginBox,ve))},ai=function(ne){var re=ne.axis,de=ne.moveRelativeTo,ve=ne.isMoving;return qn(re.line,de.marginBox[re.start]-Ko(re,ve),Lo(re,de.marginBox,ve))},ui=function(ne){var re=ne.axis,de=ne.moveInto,ve=ne.isMoving;return qn(re.line,de.contentBox[re.start]+Mo(re,ve),Lo(re,de.contentBox,ve))},Fl=function(ee){var ne=ee.impact,re=ee.draggable,de=ee.draggables,ve=ee.droppable,pe=ee.afterCritical,ye=wo(ve.descriptor.id,de),Fe=re.page,Ze=ve.axis;if(!ye.length)return ui({axis:Ze,moveInto:ve.page,isMoving:Fe});var $e=ne.displaced,qe=ne.displacedBy,je=$e.all[0];if(je){var Ve=de[je];if(ir(je,pe))return ai({axis:Ze,moveRelativeTo:Ve.page,isMoving:Fe});var lt=Ht(Ve.page,qe.point);return ai({axis:Ze,moveRelativeTo:lt,isMoving:Fe})}var Zt=ye[ye.length-1];if(Zt.descriptor.id===re.descriptor.id)return Fe.borderBox.center;if(ir(Zt.descriptor.id,pe)){var Jn=Ht(Zt.page,Sn(pe.displacedBy.point));return Wo({axis:Ze,moveRelativeTo:Jn,isMoving:Fe})}return Wo({axis:Ze,moveRelativeTo:Zt.page,isMoving:Fe})},qi=function(ee,ne){var re=ee.frame;return re?la(ne,re.scroll.diff.displacement):ne},$i=function(ne){var re=ne.impact,de=ne.draggable,ve=ne.droppable,pe=ne.draggables,ye=ne.afterCritical,Fe=de.page.borderBox.center,Ze=re.at;return!ve||!Ze?Fe:Ze.type==="REORDER"?Fl({impact:re,draggable:de,draggables:pe,droppable:ve,afterCritical:ye}):dr({impact:re,draggables:pe,afterCritical:ye})},el=function(ee){var ne=$i(ee),re=ee.droppable,de=re?qi(re,ne):ne;return de},ou=function(ee,ne){var re=tr(ne,ee.scroll.initial),de=Sn(re),ve=va({top:ne.y,bottom:ne.y+ee.frame.height,left:ne.x,right:ne.x+ee.frame.width}),pe={frame:ve,scroll:{initial:ee.scroll.initial,max:ee.scroll.max,current:ne,diff:{value:re,displacement:de}}};return pe};function sl(ee,ne){return ee.map(function(re){return ne[re]})}function Ol(ee,ne){for(var re=0;re1?qe.sort(function(je,Ve){return Li(je)[Fe.start]-Li(Ve)[Fe.start]})[0]:$e.sort(function(je,Ve){var lt=Wn(re,_r(Li(je))),Zt=Wn(re,_r(Li(Ve)));return lt!==Zt?lt-Zt:Li(je)[Fe.start]-Li(Ve)[Fe.start]})[0]},Lu=function(ne,re){var de=ne.page.borderBox.center;return ir(ne.descriptor.id,re)?tr(de,re.displacedBy.point):de},Pu=function(ne,re){var de=ne.page.borderBox;return ir(ne.descriptor.id,re)?pr(de,Sn(re.displacedBy.point)):de},Nu=function(ee){var ne=ee.pageBorderBoxCenter,re=ee.viewport,de=ee.destination,ve=ee.insideDestination,pe=ee.afterCritical,ye=ve.filter(function(Fe){return At({target:Pu(Fe,pe),destination:de,viewport:re.frame,withDroppableDisplacement:!0})}).sort(function(Fe,Ze){var $e=Aa(ne,qi(de,Lu(Fe,pe))),qe=Aa(ne,qi(de,Lu(Ze,pe)));return $ene.left&&ee.topne.top}function Cl(ee){var ne=ee.pageBorderBox,re=ee.draggable,de=ee.candidates,ve=re.page.borderBox.center,pe=de.map(function(ye){var Fe=ye.axis,Ze=qn(ye.axis.line,ne.center[Fe.line],ye.page.borderBox.center[Fe.crossAxisLine]);return{id:ye.descriptor.id,distance:Aa(ve,Ze)}}).sort(function(ye,Fe){return Fe.distance-ye.distance});return pe[0]?pe[0].id:null}function is(ee){var ne=ee.pageBorderBox,re=ee.draggable,de=ee.droppables,ve=Qr(de).filter(function(pe){if(!pe.isEnabled)return!1;var ye=pe.subject.active;if(!ye||!bl(ne,ye))return!1;if(Jl(ye)(ne.center))return!0;var Fe=pe.axis,Ze=ye.center[Fe.crossAxisLine],$e=ne[Fe.crossAxisStart],qe=ne[Fe.crossAxisEnd],je=Oo(ye[Fe.crossAxisStart],ye[Fe.crossAxisEnd]),Ve=je($e),lt=je(qe);return!Ve&&!lt?!0:Ve?$eZe});return ve.length?ve.length===1?ve[0].descriptor.id:Cl({pageBorderBox:ne,draggable:re,candidates:ve}):null}var Mu=function(ne,re){return va(pr(ne,re))},ls=function(ee,ne){var re=ee.frame;return re?Mu(ne,re.scroll.diff.value):ne};function Uo(ee){var ne=ee.displaced,re=ee.id;return!!(ne.visible[re]||ne.invisible[re])}function us(ee){var ne=ee.draggable,re=ee.closest,de=ee.inHomeList;return re?de&&re.descriptor.index>ne.descriptor.index?re.descriptor.index-1:re.descriptor.index:null}var ss=function(ee){var ne=ee.pageBorderBoxWithDroppableScroll,re=ee.draggable,de=ee.destination,ve=ee.insideDestination,pe=ee.last,ye=ee.viewport,Fe=ee.afterCritical,Ze=de.axis,$e=iu(de.axis,re.displaceBy),qe=$e.value,je=ne[Ze.start],Ve=ne[Ze.end],lt=Zr(re,ve),Zt=Hr(lt,function(ia){var fa=ia.descriptor.id,ka=ia.page.borderBox.center[Ze.line],Qa=ir(fa,Fe),or=Uo({displaced:pe,id:fa});return Qa?or?Ve<=ka:jefa[Fe.start]+Qa&&jefa[Fe.start]-$e+Qa&&qefa[Fe.start]+$e+Qa&&jefa[Fe.start]+Qa&&qe=Bo)return to;var pe=ve/Bo,ye=Yr+Po*pe,Fe=de==="CANCEL"?ye*co:ye;return Number(Fe.toFixed(2))},Ro=function(ee){var ne=ee.impact,re=ee.draggable,de=ee.dimensions,ve=ee.viewport,pe=ee.afterCritical,ye=de.draggables,Fe=de.droppables,Ze=yi(ne),$e=Ze?Fe[Ze]:null,qe=Fe[re.descriptor.droppableId],je=Ku({impact:ne,draggable:re,draggables:ye,afterCritical:pe,droppable:$e||qe,viewport:ve}),Ve=tr(je,re.client.borderBox.center);return Ve},No=function(ee){var ne=ee.draggables,re=ee.reason,de=ee.lastImpact,ve=ee.home,pe=ee.viewport,ye=ee.onLiftImpact;if(!de.at||re!=="DROP"){var Fe=Yu({draggables:ne,impact:ye,destination:ve,viewport:pe,forceShouldAnimate:!0});return{impact:Fe,didDropInsideDroppable:!1}}if(de.at.type==="REORDER")return{impact:de,didDropInsideDroppable:!0};var Ze=(0,Ae.Z)({},de,{displaced:wi});return{impact:Ze,didDropInsideDroppable:!0}},Fi=function(ee){var ne=ee.getState,re=ee.dispatch;return function(de){return function(ve){if(ve.type!=="DROP"){de(ve);return}var pe=ne(),ye=ve.payload.reason;if(pe.phase==="COLLECTING"){re(ua({reason:ye}));return}if(pe.phase!=="IDLE"){var Fe=pe.phase==="DROP_PENDING"&&pe.isWaiting;Fe&&zt(!1),pe.phase==="DRAGGING"||pe.phase==="DROP_PENDING"||zt(!1);var Ze=pe.critical,$e=pe.dimensions,qe=$e.draggables[pe.critical.draggable.id],je=No({reason:ye,lastImpact:pe.impact,afterCritical:pe.afterCritical,onLiftImpact:pe.onLiftImpact,home:pe.dimensions.droppables[pe.critical.droppable.id],viewport:pe.viewport,draggables:pe.dimensions.draggables}),Ve=je.impact,lt=je.didDropInsideDroppable,Zt=lt?ni(Ve):null,Jn=lt?oi(Ve):null,ia={index:Ze.draggable.index,droppableId:Ze.droppable.id},fa={draggableId:qe.descriptor.id,type:qe.descriptor.type,source:ia,reason:ye,mode:pe.movementMode,destination:Zt,combine:Jn},ka=Ro({impact:Ve,draggable:qe,dimensions:$e,viewport:pe.viewport,afterCritical:pe.afterCritical}),Qa={critical:pe.critical,afterCritical:pe.afterCritical,result:fa,impact:Ve},or=!Oa(pe.current.client.offset,ka)||!!fa.combine;if(!or){re(Nn({completed:Qa}));return}var no=Sr({current:pe.current.client.offset,destination:ka,reason:ye}),Ur={newHomeClientOffset:ka,dropDuration:no,completed:Qa};re(Vt(Ur))}}}},Jo=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function bi(ee){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(re){re.target!==window&&re.target!==window.document||ee()}}}function Kr(ee){var ne=ee.onWindowScroll;function re(){ne(Jo())}var de=Jt(re),ve=bi(de),pe=_n;function ye(){return pe!==_n}function Fe(){ye()&&zt(!1),pe=La(window,[ve])}function Ze(){ye()||zt(!1),de.cancel(),pe(),pe=_n}return{start:Fe,stop:Ze,isActive:ye}}var li=function(ne){return ne.type==="DROP_COMPLETE"||ne.type==="DROP_ANIMATE"||ne.type==="FLUSH"},hi=function(ee){var ne=Kr({onWindowScroll:function(de){ee.dispatch(Mt({newScroll:de}))}});return function(re){return function(de){!ne.isActive()&&de.type==="INITIAL_PUBLISH"&&ne.start(),ne.isActive()&&li(de)&&ne.stop(),re(de)}}},Oi=function(ee){var ne=!1,re=!1,de=setTimeout(function(){re=!0}),ve=function(ye){ne||re||(ne=!0,ee(ye),clearTimeout(de))};return ve.wasCalled=function(){return ne},ve},gi=function(){var ee=[],ne=function(pe){var ye=Tr(ee,function($e){return $e.timerId===pe});ye===-1&&zt(!1);var Fe=ee.splice(ye,1),Ze=Fe[0];Ze.callback()},re=function(pe){var ye=setTimeout(function(){return ne(ye)}),Fe={timerId:ye,callback:pe};ee.push(Fe)},de=function(){if(ee.length){var pe=[].concat(ee);ee.length=0,pe.forEach(function(ye){clearTimeout(ye.timerId),ye.callback()})}};return{add:re,flush:de}},Ki=function(ne,re){return ne==null&&re==null?!0:ne==null||re==null?!1:ne.droppableId===re.droppableId&&ne.index===re.index},cl=function(ne,re){return ne==null&&re==null?!0:ne==null||re==null?!1:ne.draggableId===re.draggableId&&ne.droppableId===re.droppableId},Vr=function(ne,re){if(ne===re)return!0;var de=ne.draggable.id===re.draggable.id&&ne.draggable.droppableId===re.draggable.droppableId&&ne.draggable.type===re.draggable.type&&ne.draggable.index===re.draggable.index,ve=ne.droppable.id===re.droppable.id&&ne.droppable.type===re.droppable.type;return de&&ve},po=function(ne,re){Un(),re(),Xl()},yo=function(ne,re){return{draggableId:ne.draggable.id,type:ne.droppable.type,source:{droppableId:ne.droppable.id,index:ne.draggable.index},mode:re}},mi=function(ne,re,de,ve){if(!ne){de(ve(re));return}var pe=Oi(de),ye={announce:pe};ne(re,ye),pe.wasCalled()||de(ve(re))},Mi=function(ee,ne){var re=gi(),de=null,ve=function(Ve,lt){de&&zt(!1),po("onBeforeCapture",function(){var Zt=ee().onBeforeCapture;if(Zt){var Jn={draggableId:Ve,mode:lt};Zt(Jn)}})},pe=function(Ve,lt){de&&zt(!1),po("onBeforeDragStart",function(){var Zt=ee().onBeforeDragStart;Zt&&Zt(yo(Ve,lt))})},ye=function(Ve,lt){de&&zt(!1);var Zt=yo(Ve,lt);de={mode:lt,lastCritical:Ve,lastLocation:Zt.source,lastCombine:null},re.add(function(){po("onDragStart",function(){return mi(ee().onDragStart,Zt,ne,$t.onDragStart)})})},Fe=function(Ve,lt){var Zt=ni(lt),Jn=oi(lt);de||zt(!1);var ia=!Vr(Ve,de.lastCritical);ia&&(de.lastCritical=Ve);var fa=!Ki(de.lastLocation,Zt);fa&&(de.lastLocation=Zt);var ka=!cl(de.lastCombine,Jn);if(ka&&(de.lastCombine=Jn),!(!ia&&!fa&&!ka)){var Qa=(0,Ae.Z)({},yo(Ve,de.mode),{combine:Jn,destination:Zt});re.add(function(){po("onDragUpdate",function(){return mi(ee().onDragUpdate,Qa,ne,$t.onDragUpdate)})})}},Ze=function(){de||zt(!1),re.flush()},$e=function(Ve){de||zt(!1),de=null,po("onDragEnd",function(){return mi(ee().onDragEnd,Ve,ne,$t.onDragEnd)})},qe=function(){if(de){var Ve=(0,Ae.Z)({},yo(de.lastCritical,de.mode),{combine:null,destination:null,reason:"CANCEL"});$e(Ve)}};return{beforeCapture:ve,beforeStart:pe,start:ye,update:Fe,flush:Ze,drop:$e,abort:qe}},$o=function(ee,ne){var re=Mi(ee,ne);return function(de){return function(ve){return function(pe){if(pe.type==="BEFORE_INITIAL_CAPTURE"){re.beforeCapture(pe.payload.draggableId,pe.payload.movementMode);return}if(pe.type==="INITIAL_PUBLISH"){var ye=pe.payload.critical;re.beforeStart(ye,pe.payload.movementMode),ve(pe),re.start(ye,pe.payload.movementMode);return}if(pe.type==="DROP_COMPLETE"){var Fe=pe.payload.completed.result;re.flush(),ve(pe),re.drop(Fe);return}if(ve(pe),pe.type==="FLUSH"){re.abort();return}var Ze=de.getState();Ze.phase==="DRAGGING"&&re.update(Ze.critical,Ze.impact)}}}},Si=function(ee){return function(ne){return function(re){if(re.type!=="DROP_ANIMATION_FINISHED"){ne(re);return}var de=ee.getState();de.phase!=="DROP_ANIMATING"&&zt(!1),ee.dispatch(Nn({completed:de.completed}))}}},Bl=function(ee){var ne=null,re=null;function de(){re&&(cancelAnimationFrame(re),re=null),ne&&(ne(),ne=null)}return function(ve){return function(pe){if((pe.type==="FLUSH"||pe.type==="DROP_COMPLETE"||pe.type==="DROP_ANIMATION_FINISHED")&&de(),ve(pe),pe.type==="DROP_ANIMATE"){var ye={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Ze=ee.getState();Ze.phase==="DROP_ANIMATING"&&ee.dispatch(Ca())}};re=requestAnimationFrame(function(){re=null,ne=La(window,[ye])})}}}},Zi=function(ee){return function(){return function(ne){return function(re){(re.type==="DROP_COMPLETE"||re.type==="FLUSH"||re.type==="DROP_ANIMATE")&&ee.stopPublishing(),ne(re)}}}},Gi=function(ee){var ne=!1;return function(){return function(re){return function(de){if(de.type==="INITIAL_PUBLISH"){ne=!0,ee.tryRecordFocus(de.payload.critical.draggable.id),re(de),ee.tryRestoreFocusRecorded();return}if(re(de),!!ne){if(de.type==="FLUSH"){ne=!1,ee.tryRestoreFocusRecorded();return}if(de.type==="DROP_COMPLETE"){ne=!1;var ve=de.payload.completed.result;ve.combine&&ee.tryShiftRecord(ve.draggableId,ve.combine.draggableId),ee.tryRestoreFocusRecorded()}}}}}},$l=function(ne){return ne.type==="DROP_COMPLETE"||ne.type==="DROP_ANIMATE"||ne.type==="FLUSH"},uu=function(ee){return function(ne){return function(re){return function(de){if($l(de)){ee.stop(),re(de);return}if(de.type==="INITIAL_PUBLISH"){re(de);var ve=ne.getState();ve.phase!=="DRAGGING"&&zt(!1),ee.start(ve);return}re(de),ee.scroll(ne.getState())}}}},Bn=function(ee){return function(ne){return function(re){if(ne(re),re.type==="PUBLISH_WHILE_DRAGGING"){var de=ee.getState();de.phase==="DROP_PENDING"&&(de.isWaiting||ee.dispatch(ln({reason:de.reason})))}}}},Ri=ke.qC,hl=function(ee){var ne=ee.dimensionMarshal,re=ee.focusMarshal,de=ee.styleMarshal,ve=ee.getResponders,pe=ee.announce,ye=ee.autoScroller;return(0,ke.MT)(fs,Ri((0,ke.md)(Rr(de),Zi(ne),ca(ne),Fi,Si,Bl,Bn,uu(ye),hi,Gi(re),$o(ve,pe))))},ji=function(){return{additions:{},removals:{},modified:{}}};function eu(ee){var ne=ee.registry,re=ee.callbacks,de=ji(),ve=null,pe=function(){ve||(re.collectionStarting(),ve=requestAnimationFrame(function(){ve=null,Un();var qe=de,je=qe.additions,Ve=qe.removals,lt=qe.modified,Zt=Object.keys(je).map(function(fa){return ne.draggable.getById(fa).getDimension(Xa)}).sort(function(fa,ka){return fa.descriptor.index-ka.descriptor.index}),Jn=Object.keys(lt).map(function(fa){var ka=ne.droppable.getById(fa),Qa=ka.callbacks.getScrollWhileDragging();return{droppableId:fa,scroll:Qa}}),ia={additions:Zt,removals:Object.keys(Ve),modified:Jn};de=ji(),Xl(),re.publish(ia)}))},ye=function(qe){var je=qe.descriptor.id;de.additions[je]=qe,de.modified[qe.descriptor.droppableId]=!0,de.removals[je]&&delete de.removals[je],pe()},Fe=function(qe){var je=qe.descriptor;de.removals[je.id]=!0,de.modified[je.droppableId]=!0,de.additions[je.id]&&delete de.additions[je.id],pe()},Ze=function(){ve&&(cancelAnimationFrame(ve),ve=null,de=ji())};return{add:ye,remove:Fe,stop:Ze}}var Ml=function(ee){var ne=ee.scrollHeight,re=ee.scrollWidth,de=ee.height,ve=ee.width,pe=tr({x:re,y:ne},{x:ve,y:de}),ye={x:Math.max(0,pe.x),y:Math.max(0,pe.y)};return ye},nl=function(){var ee=document.documentElement;return ee||zt(!1),ee},Xo=function(){var ee=nl(),ne=Ml({scrollHeight:ee.scrollHeight,scrollWidth:ee.scrollWidth,width:ee.clientWidth,height:ee.clientHeight});return ne},Ho=function(){var ee=Jo(),ne=Xo(),re=ee.y,de=ee.x,ve=nl(),pe=ve.clientWidth,ye=ve.clientHeight,Fe=de+pe,Ze=re+ye,$e=va({top:re,left:de,right:Fe,bottom:Ze}),qe={frame:$e,scroll:{initial:ee,current:ee,max:ne,diff:{value:Xa,displacement:Xa}}};return qe},Hi=function(ee){var ne=ee.critical,re=ee.scrollOptions,de=ee.registry;Un();var ve=Ho(),pe=ve.scroll.current,ye=ne.droppable,Fe=de.droppable.getAllByType(ye.type).map(function(je){return je.callbacks.getDimensionAndWatchScroll(pe,re)}),Ze=de.draggable.getAllByType(ne.draggable.type).map(function(je){return je.getDimension(pe)}),$e={draggables:vo(Ze),droppables:zr(Fe)};Xl();var qe={dimensions:$e,critical:ne,viewport:ve};return qe};function Fo(ee,ne,re){if(re.descriptor.id===ne.id||re.descriptor.type!==ne.type)return!1;var de=ee.droppable.getById(re.descriptor.droppableId);return de.descriptor.mode==="virtual"}var al=function(ee,ne){var re=null,de=eu({callbacks:{publish:ne.publishWhileDragging,collectionStarting:ne.collectionStarting},registry:ee}),ve=function(lt,Zt){ee.droppable.exists(lt)||zt(!1),re&&ne.updateDroppableIsEnabled({id:lt,isEnabled:Zt})},pe=function(lt,Zt){re&&(ee.droppable.exists(lt)||zt(!1),ne.updateDroppableIsCombineEnabled({id:lt,isCombineEnabled:Zt}))},ye=function(lt,Zt){re&&(ee.droppable.exists(lt)||zt(!1),ne.updateDroppableScroll({id:lt,newScroll:Zt}))},Fe=function(lt,Zt){re&&ee.droppable.getById(lt).callbacks.scroll(Zt)},Ze=function(){if(re){de.stop();var lt=re.critical.droppable;ee.droppable.getAllByType(lt.type).forEach(function(Zt){return Zt.callbacks.dragStopped()}),re.unsubscribe(),re=null}},$e=function(lt){re||zt(!1);var Zt=re.critical.draggable;lt.type==="ADDITION"&&Fo(ee,Zt,lt.value)&&de.add(lt.value),lt.type==="REMOVAL"&&Fo(ee,Zt,lt.value)&&de.remove(lt.value)},qe=function(lt){re&&zt(!1);var Zt=ee.draggable.getById(lt.draggableId),Jn=ee.droppable.getById(Zt.descriptor.droppableId),ia={draggable:Zt.descriptor,droppable:Jn.descriptor},fa=ee.subscribe($e);return re={critical:ia,unsubscribe:fa},Hi({critical:ia,registry:ee,scrollOptions:lt.scrollOptions})},je={updateDroppableIsEnabled:ve,updateDroppableIsCombineEnabled:pe,scrollDroppable:Fe,updateDroppableScroll:ye,startPublishing:qe,stopPublishing:Ze};return je},Ci=function(ee,ne){return ee.phase==="IDLE"?!0:ee.phase!=="DROP_ANIMATING"||ee.completed.result.draggableId===ne?!1:ee.completed.result.reason==="DROP"},Al=function(ee){window.scrollBy(ee.x,ee.y)},fi=St(function(ee){return Qr(ee).filter(function(ne){return!(!ne.isEnabled||!ne.frame)})}),ki=function(ne,re){var de=Hr(fi(re),function(ve){return ve.frame||zt(!1),Jl(ve.frame.pageMarginBox)(ne)});return de},Hl=function(ee){var ne=ee.center,re=ee.destination,de=ee.droppables;if(re){var ve=de[re];return ve.frame?ve:null}var pe=ki(ne,de);return pe},Zo={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ne){return Math.pow(ne,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},Ji=function(ee,ne){var re=ee[ne.size]*Zo.startFromPercentage,de=ee[ne.size]*Zo.maxScrollAtPercentage,ve={startScrollingFrom:re,maxScrollValueAt:de};return ve},xl=function(ee){var ne=ee.startOfRange,re=ee.endOfRange,de=ee.current,ve=re-ne;if(ve===0)return 0;var pe=de-ne,ye=pe/ve;return ye},ea=1,Rl=function(ee,ne){if(ee>ne.startScrollingFrom)return 0;if(ee<=ne.maxScrollValueAt)return Zo.maxPixelScroll;if(ee===ne.startScrollingFrom)return ea;var re=xl({startOfRange:ne.maxScrollValueAt,endOfRange:ne.startScrollingFrom,current:ee}),de=1-re,ve=Zo.maxPixelScroll*Zo.ease(de);return Math.ceil(ve)},gl=Zo.durationDampening.accelerateAt,ml=Zo.durationDampening.stopDampeningAt,kl=function(ee,ne){var re=ne,de=ml,ve=Date.now(),pe=ve-re;if(pe>=ml)return ee;if(pene.height,pe=re.width>ne.width;return!pe&&!ve?de:pe&&ve?null:{x:pe?0:de.x,y:ve?0:de.y}},mr=qa(function(ee){return ee===0?0:ee}),Na=function(ee){var ne=ee.dragStartTime,re=ee.container,de=ee.subject,ve=ee.center,pe=ee.shouldUseTimeDampening,ye={top:ve.y-re.top,right:re.right-ve.x,bottom:re.bottom-ve.y,left:ve.x-re.left},Fe=tu({container:re,distanceToEdges:ye,dragStartTime:ne,axis:Ii,shouldUseTimeDampening:pe}),Ze=tu({container:re,distanceToEdges:ye,dragStartTime:ne,axis:Ti,shouldUseTimeDampening:pe}),$e=mr({x:Ze,y:Fe});if(Oa($e,Xa))return null;var qe=zl({container:re,subject:de,proposedScroll:$e});return qe?Oa(qe,Xa)?null:qe:null},Jr=qa(function(ee){return ee===0?0:ee>0?1:-1}),ko=function(){var ee=function(re,de){return re<0?re:re>de?re-de:0};return function(ne){var re=ne.current,de=ne.max,ve=ne.change,pe=la(re,ve),ye={x:ee(pe.x,de.x),y:ee(pe.y,de.y)};return Oa(ye,Xa)?null:ye}}(),fl=function(ne){var re=ne.max,de=ne.current,ve=ne.change,pe={x:Math.max(de.x,re.x),y:Math.max(de.y,re.y)},ye=Jr(ve),Fe=ko({max:pe,current:de,change:ye});return!Fe||ye.x!==0&&Fe.x===0||ye.y!==0&&Fe.y===0},gu=function(ne,re){return fl({current:ne.scroll.current,max:ne.scroll.max,change:re})},ue=function(ne,re){if(!gu(ne,re))return null;var de=ne.scroll.max,ve=ne.scroll.current;return ko({current:ve,max:de,change:re})},Ee=function(ne,re){var de=ne.frame;return de?fl({current:de.scroll.current,max:de.scroll.max,change:re}):!1},Pe=function(ne,re){var de=ne.frame;return!de||!Ee(ne,re)?null:ko({current:de.scroll.current,max:de.scroll.max,change:re})},it=function(ee){var ne=ee.viewport,re=ee.subject,de=ee.center,ve=ee.dragStartTime,pe=ee.shouldUseTimeDampening,ye=Na({dragStartTime:ve,container:ne.frame,subject:re,center:de,shouldUseTimeDampening:pe});return ye&&gu(ne,ye)?ye:null},vt=function(ee){var ne=ee.droppable,re=ee.subject,de=ee.center,ve=ee.dragStartTime,pe=ee.shouldUseTimeDampening,ye=ne.frame;if(!ye)return null;var Fe=Na({dragStartTime:ve,container:ye.pageMarginBox,subject:re,center:de,shouldUseTimeDampening:pe});return Fe&&Ee(ne,Fe)?Fe:null},Mn=function(ee){var ne=ee.state,re=ee.dragStartTime,de=ee.shouldUseTimeDampening,ve=ee.scrollWindow,pe=ee.scrollDroppable,ye=ne.current.page.borderBoxCenter,Fe=ne.dimensions.draggables[ne.critical.draggable.id],Ze=Fe.page.marginBox;if(ne.isWindowScrollAllowed){var $e=ne.viewport,qe=it({dragStartTime:re,viewport:$e,subject:Ze,center:ye,shouldUseTimeDampening:de});if(qe){ve(qe);return}}var je=Hl({center:ye,destination:yi(ne.impact),droppables:ne.dimensions.droppables});if(je){var Ve=vt({dragStartTime:re,droppable:je,subject:Ze,center:ye,shouldUseTimeDampening:de});Ve&&pe(je.descriptor.id,Ve)}},vn=function(ee){var ne=ee.scrollWindow,re=ee.scrollDroppable,de=Jt(ne),ve=Jt(re),pe=null,ye=function(qe){pe||zt(!1);var je=pe,Ve=je.shouldUseTimeDampening,lt=je.dragStartTime;Mn({state:qe,scrollWindow:de,scrollDroppable:ve,dragStartTime:lt,shouldUseTimeDampening:Ve})},Fe=function(qe){Un(),pe&&zt(!1);var je=Date.now(),Ve=!1,lt=function(){Ve=!0};Mn({state:qe,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:lt,scrollDroppable:lt}),pe={dragStartTime:je,shouldUseTimeDampening:Ve},Xl(),Ve&&ye(qe)},Ze=function(){pe&&(de.cancel(),ve.cancel(),pe=null)};return{start:Fe,stop:Ze,scroll:ye}},Ut=function(ee){var ne=ee.move,re=ee.scrollDroppable,de=ee.scrollWindow,ve=function($e,qe){var je=la($e.current.client.selection,qe);ne({client:je})},pe=function($e,qe){if(!Ee($e,qe))return qe;var je=Pe($e,qe);if(!je)return re($e.descriptor.id,qe),null;var Ve=tr(qe,je);re($e.descriptor.id,Ve);var lt=tr(qe,Ve);return lt},ye=function($e,qe,je){if(!$e||!gu(qe,je))return je;var Ve=ue(qe,je);if(!Ve)return de(je),null;var lt=tr(je,Ve);de(lt);var Zt=tr(je,lt);return Zt},Fe=function($e){var qe=$e.scrollJumpRequest;if(qe){var je=yi($e.impact);je||zt(!1);var Ve=pe($e.dimensions.droppables[je],qe);if(Ve){var lt=$e.viewport,Zt=ye($e.isWindowScrollAllowed,lt,Ve);Zt&&ve($e,Zt)}}};return Fe},ft=function(ee){var ne=ee.scrollDroppable,re=ee.scrollWindow,de=ee.move,ve=vn({scrollWindow:re,scrollDroppable:ne}),pe=Ut({move:de,scrollWindow:re,scrollDroppable:ne}),ye=function($e){if($e.phase==="DRAGGING"){if($e.movementMode==="FLUID"){ve.scroll($e);return}$e.scrollJumpRequest&&pe($e)}},Fe={scroll:ye,start:ve.start,stop:ve.stop};return Fe},nn="data-rbd",Cn=function(){var ee=nn+"-drag-handle";return{base:ee,draggableId:ee+"-draggable-id",contextId:ee+"-context-id"}}(),Ye=function(){var ee=nn+"-draggable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),wt=function(){var ee=nn+"-droppable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),pn={contextId:nn+"-scroll-container-context-id"},bn=function(ne){return function(re){return"["+re+'="'+ne+'"]'}},xt=function(ne,re){return ne.map(function(de){var ve=de.styles[re];return ve?de.selector+" { "+ve+" }":""}).join(" ")},qt="pointer-events: none;",Yt=function(ee){var ne=bn(ee),re=function(){var Fe=` + `},$t={dragHandleUsageInstructions:Ta,onDragStart:er,onDragUpdate:qr,onDragEnd:oa},Xa={x:0,y:0},ua=function(ne,re){return{x:ne.x+re.x,y:ne.y+re.y}},tr=function(ne,re){return{x:ne.x-re.x,y:ne.y-re.y}},Oa=function(ne,re){return ne.x===re.x&&ne.y===re.y},hn=function(ne){return{x:ne.x!==0?-ne.x:0,y:ne.y!==0?-ne.y:0}},$n=function(ne,re,de){var ve;return de===void 0&&(de=0),ve={},ve[ne]=re,ve[ne==="x"?"y":"x"]=de,ve},Aa=function(ne,re){return Math.sqrt(Math.pow(re.x-ne.x,2)+Math.pow(re.y-ne.y,2))},Un=function(ne,re){return Math.min.apply(Math,re.map(function(de){return Aa(ne,de)}))},qa=function(ne){return function(re){return{x:ne(re.x),y:ne(re.y)}}},Ka=function(ee,ne){var re=pa({top:Math.max(ne.top,ee.top),right:Math.min(ne.right,ee.right),bottom:Math.min(ne.bottom,ee.bottom),left:Math.max(ne.left,ee.left)});return re.width<=0||re.height<=0?null:re},pr=function(ne,re){return{top:ne.top+re.y,left:ne.left+re.x,bottom:ne.bottom+re.y,right:ne.right+re.x}},_r=function(ne){return[{x:ne.left,y:ne.top},{x:ne.right,y:ne.top},{x:ne.left,y:ne.bottom},{x:ne.right,y:ne.bottom}]},nr={top:0,right:0,bottom:0,left:0},jo=function(ne,re){return re?pr(ne,re.scroll.diff.displacement):ne},Co=function(ne,re,de){if(de&&de.increasedBy){var ve;return(0,Ae.Z)({},ne,(ve={},ve[re.end]=ne[re.end]+de.increasedBy[re.line],ve))}return ne},pi=function(ne,re){return re&&re.shouldClipSubject?Ka(re.pageMarginBox,ne):pa(ne)},Pr=function(ee){var ne=ee.page,re=ee.withPlaceholder,de=ee.axis,ve=ee.frame,pe=jo(ne.marginBox,ve),ye=Co(pe,de,re),Fe=pi(ye,ve);return{page:ne,withPlaceholder:re,active:Fe}},Ar=function(ee,ne){ee.frame||zt(!1);var re=ee.frame,de=tr(ne,re.scroll.initial),ve=hn(de),pe=(0,Ae.Z)({},re,{scroll:{initial:re.scroll.initial,current:ne,diff:{value:de,displacement:ve},max:re.scroll.max}}),ye=Pr({page:ee.subject.page,withPlaceholder:ee.subject.withPlaceholder,axis:ee.axis,frame:pe}),Fe=(0,Ae.Z)({},ee,{frame:pe,subject:ye});return Fe};function uo(ee){return Number.isInteger?Number.isInteger(ee):typeof ee=="number"&&isFinite(ee)&&Math.floor(ee)===ee}function za(ee){return Object.values?Object.values(ee):Object.keys(ee).map(function(ne){return ee[ne]})}function Tr(ee,ne){if(ee.findIndex)return ee.findIndex(ne);for(var re=0;reee.bottom,$e=de.leftee.right,Xe=Ze&&$e;if(Xe)return!0;var je=Ze&&ye||$e&&pe;return je}},Kl=function(ee){var ne=Oo(ee.top,ee.bottom),re=Oo(ee.left,ee.right);return function(de){var ve=ne(de.top)&&ne(de.bottom)&&re(de.left)&&re(de.right);return ve}},Mi={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Gi={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},sl=function(ee){return function(ne){var re=Oo(ne.top,ne.bottom),de=Oo(ne.left,ne.right);return function(ve){return ee===Mi?re(ve.top)&&re(ve.bottom):de(ve.left)&&de(ve.right)}}},Za=function(ne,re){var de=re.frame?re.frame.scroll.diff.displacement:Xa;return pr(ne,de)},Hn=function(ne,re,de){return re.subject.active?de(re.subject.active)(ne):!1},kn=function(ne,re,de){return de(re)(ne)},me=function(ne){var re=ne.target,de=ne.destination,ve=ne.viewport,pe=ne.withDroppableDisplacement,ye=ne.isVisibleThroughFrameFn,Fe=pe?Za(re,de):re;return Hn(Fe,de,ye)&&kn(Fe,ve,ye)},pt=function(ne){return me((0,Ae.Z)({},ne,{isVisibleThroughFrameFn:yl}))},xt=function(ne){return me((0,Ae.Z)({},ne,{isVisibleThroughFrameFn:Kl}))},gn=function(ne){return me((0,Ae.Z)({},ne,{isVisibleThroughFrameFn:sl(ne.destination.axis)}))},Et=function(ne,re,de){if(typeof de=="boolean")return de;if(!re)return!0;var ve=re.invisible,pe=re.visible;if(ve[ne])return!1;var ye=pe[ne];return ye?ye.shouldAnimate:!0};function wn(ee,ne){var re=ee.page.marginBox,de={top:ne.point.y,right:0,bottom:0,left:ne.point.x};return pa(wa(re,de))}function bn(ee){var ne=ee.afterDragging,re=ee.destination,de=ee.displacedBy,ve=ee.viewport,pe=ee.forceShouldAnimate,ye=ee.last;return ne.reduce(function(Ze,$e){var Xe=wn($e,de),je=$e.descriptor.id;Ze.all.push(je);var Ve=pt({target:Xe,destination:re,viewport:ve,withDroppableDisplacement:!0});if(!Ve)return Ze.invisible[$e.descriptor.id]=!0,Ze;var lt=Et(je,ye,pe),Tt={draggableId:je,shouldAnimate:lt};return Ze.visible[je]=Tt,Ze},{all:[],visible:{},invisible:{}})}function fn(ee,ne){if(!ee.length)return 0;var re=ee[ee.length-1].descriptor.index;return ne.inHomeList?re:re+1}function Fn(ee){var ne=ee.insideDestination,re=ee.inHomeList,de=ee.displacedBy,ve=ee.destination,pe=fn(ne,{inHomeList:re});return{displaced:wi,displacedBy:de,at:{type:"REORDER",destination:{droppableId:ve.descriptor.id,index:pe}}}}function Ma(ee){var ne=ee.draggable,re=ee.insideDestination,de=ee.destination,ve=ee.viewport,pe=ee.displacedBy,ye=ee.last,Fe=ee.index,Ze=ee.forceShouldAnimate,$e=Yo(ne,de);if(Fe==null)return Fn({insideDestination:re,inHomeList:$e,displacedBy:pe,destination:de});var Xe=Hr(re,function(Xn){return Xn.descriptor.index===Fe});if(!Xe)return Fn({insideDestination:re,inHomeList:$e,displacedBy:pe,destination:de});var je=Zr(ne,re),Ve=re.indexOf(Xe),lt=je.slice(Ve),Tt=bn({afterDragging:lt,destination:de,displacedBy:pe,last:ye,viewport:ve.frame,forceShouldAnimate:Ze});return{displaced:Tt,displacedBy:pe,at:{type:"REORDER",destination:{droppableId:de.descriptor.id,index:Fe}}}}function ir(ee,ne){return!!ne.effected[ee]}var hr=function(ee){var ne=ee.isMovingForward,re=ee.destination,de=ee.draggables,ve=ee.combine,pe=ee.afterCritical;if(!re.isCombineEnabled)return null;var ye=ve.draggableId,Fe=de[ye],Ze=Fe.descriptor.index,$e=ir(ye,pe);return $e?ne?Ze:Ze-1:ne?Ze+1:Ze},ca=function(ee){var ne=ee.isMovingForward,re=ee.isInHomeList,de=ee.insideDestination,ve=ee.location;if(!de.length)return null;var pe=ve.index,ye=ne?pe+1:pe-1,Fe=de[0].descriptor.index,Ze=de[de.length-1].descriptor.index,$e=re?Ze:Ze+1;return ye$e?null:ye},ma=function(ee){var ne=ee.isMovingForward,re=ee.isInHomeList,de=ee.draggable,ve=ee.draggables,pe=ee.destination,ye=ee.insideDestination,Fe=ee.previousImpact,Ze=ee.viewport,$e=ee.afterCritical,Xe=Fe.at;if(Xe||zt(!1),Xe.type==="REORDER"){var je=ca({isMovingForward:ne,isInHomeList:re,location:Xe.destination,insideDestination:ye});return je==null?null:Ma({draggable:de,insideDestination:ye,destination:pe,viewport:Ze,last:Fe.displaced,displacedBy:Fe.displacedBy,index:je})}var Ve=hr({isMovingForward:ne,destination:pe,displaced:Fe.displaced,draggables:ve,combine:Xe.combine,afterCritical:$e});return Ve==null?null:Ma({draggable:de,insideDestination:ye,destination:pe,viewport:Ze,last:Fe.displaced,displacedBy:Fe.displacedBy,index:Ve})},ar=function(ee){var ne=ee.displaced,re=ee.afterCritical,de=ee.combineWith,ve=ee.displacedBy,pe=!!(ne.visible[de]||ne.invisible[de]);return ir(de,re)?pe?Xa:hn(ve.point):pe?ve.point:Xa},dr=function(ee){var ne=ee.afterCritical,re=ee.impact,de=ee.draggables,ve=ri(re);ve||zt(!1);var pe=ve.draggableId,ye=de[pe].page.borderBox.center,Fe=ar({displaced:re.displaced,afterCritical:ne,combineWith:pe,displacedBy:re.displacedBy});return ua(ye,Fe)},Mo=function(ne,re){return re.margin[ne.start]+re.borderBox[ne.size]/2},Ko=function(ne,re){return re.margin[ne.end]+re.borderBox[ne.size]/2},Lo=function(ne,re,de){return re[ne.crossAxisStart]+de.margin[ne.crossAxisStart]+de.borderBox[ne.crossAxisSize]/2},Wo=function(ne){var re=ne.axis,de=ne.moveRelativeTo,ve=ne.isMoving;return $n(re.line,de.marginBox[re.end]+Mo(re,ve),Lo(re,de.marginBox,ve))},ai=function(ne){var re=ne.axis,de=ne.moveRelativeTo,ve=ne.isMoving;return $n(re.line,de.marginBox[re.start]-Ko(re,ve),Lo(re,de.marginBox,ve))},ui=function(ne){var re=ne.axis,de=ne.moveInto,ve=ne.isMoving;return $n(re.line,de.contentBox[re.start]+Mo(re,ve),Lo(re,de.contentBox,ve))},Fl=function(ee){var ne=ee.impact,re=ee.draggable,de=ee.draggables,ve=ee.droppable,pe=ee.afterCritical,ye=wo(ve.descriptor.id,de),Fe=re.page,Ze=ve.axis;if(!ye.length)return ui({axis:Ze,moveInto:ve.page,isMoving:Fe});var $e=ne.displaced,Xe=ne.displacedBy,je=$e.all[0];if(je){var Ve=de[je];if(ir(je,pe))return ai({axis:Ze,moveRelativeTo:Ve.page,isMoving:Fe});var lt=Ht(Ve.page,Xe.point);return ai({axis:Ze,moveRelativeTo:lt,isMoving:Fe})}var Tt=ye[ye.length-1];if(Tt.descriptor.id===re.descriptor.id)return Fe.borderBox.center;if(ir(Tt.descriptor.id,pe)){var Xn=Ht(Tt.page,hn(pe.displacedBy.point));return Wo({axis:Ze,moveRelativeTo:Xn,isMoving:Fe})}return Wo({axis:Ze,moveRelativeTo:Tt.page,isMoving:Fe})},$i=function(ee,ne){var re=ee.frame;return re?ua(ne,re.scroll.diff.displacement):ne},el=function(ne){var re=ne.impact,de=ne.draggable,ve=ne.droppable,pe=ne.draggables,ye=ne.afterCritical,Fe=de.page.borderBox.center,Ze=re.at;return!ve||!Ze?Fe:Ze.type==="REORDER"?Fl({impact:re,draggable:de,draggables:pe,droppable:ve,afterCritical:ye}):dr({impact:re,draggables:pe,afterCritical:ye})},tl=function(ee){var ne=el(ee),re=ee.droppable,de=re?$i(re,ne):ne;return de},ou=function(ee,ne){var re=tr(ne,ee.scroll.initial),de=hn(re),ve=pa({top:ne.y,bottom:ne.y+ee.frame.height,left:ne.x,right:ne.x+ee.frame.width}),pe={frame:ve,scroll:{initial:ee.scroll.initial,max:ee.scroll.max,current:ne,diff:{value:re,displacement:de}}};return pe};function dl(ee,ne){return ee.map(function(re){return ne[re]})}function Ol(ee,ne){for(var re=0;re1?Xe.sort(function(je,Ve){return Li(je)[Fe.start]-Li(Ve)[Fe.start]})[0]:$e.sort(function(je,Ve){var lt=Un(re,_r(Li(je))),Tt=Un(re,_r(Li(Ve)));return lt!==Tt?lt-Tt:Li(je)[Fe.start]-Li(Ve)[Fe.start]})[0]},Lu=function(ne,re){var de=ne.page.borderBox.center;return ir(ne.descriptor.id,re)?tr(de,re.displacedBy.point):de},Pu=function(ne,re){var de=ne.page.borderBox;return ir(ne.descriptor.id,re)?pr(de,hn(re.displacedBy.point)):de},Nu=function(ee){var ne=ee.pageBorderBoxCenter,re=ee.viewport,de=ee.destination,ve=ee.insideDestination,pe=ee.afterCritical,ye=ve.filter(function(Fe){return xt({target:Pu(Fe,pe),destination:de,viewport:re.frame,withDroppableDisplacement:!0})}).sort(function(Fe,Ze){var $e=Aa(ne,$i(de,Lu(Fe,pe))),Xe=Aa(ne,$i(de,Lu(Ze,pe)));return $ene.left&&ee.topne.top}function Cl(ee){var ne=ee.pageBorderBox,re=ee.draggable,de=ee.candidates,ve=re.page.borderBox.center,pe=de.map(function(ye){var Fe=ye.axis,Ze=$n(ye.axis.line,ne.center[Fe.line],ye.page.borderBox.center[Fe.crossAxisLine]);return{id:ye.descriptor.id,distance:Aa(ve,Ze)}}).sort(function(ye,Fe){return Fe.distance-ye.distance});return pe[0]?pe[0].id:null}function is(ee){var ne=ee.pageBorderBox,re=ee.draggable,de=ee.droppables,ve=Qr(de).filter(function(pe){if(!pe.isEnabled)return!1;var ye=pe.subject.active;if(!ye||!bl(ne,ye))return!1;if(Jl(ye)(ne.center))return!0;var Fe=pe.axis,Ze=ye.center[Fe.crossAxisLine],$e=ne[Fe.crossAxisStart],Xe=ne[Fe.crossAxisEnd],je=Oo(ye[Fe.crossAxisStart],ye[Fe.crossAxisEnd]),Ve=je($e),lt=je(Xe);return!Ve&&!lt?!0:Ve?$eZe});return ve.length?ve.length===1?ve[0].descriptor.id:Cl({pageBorderBox:ne,draggable:re,candidates:ve}):null}var Mu=function(ne,re){return pa(pr(ne,re))},ls=function(ee,ne){var re=ee.frame;return re?Mu(ne,re.scroll.diff.value):ne};function Uo(ee){var ne=ee.displaced,re=ee.id;return!!(ne.visible[re]||ne.invisible[re])}function us(ee){var ne=ee.draggable,re=ee.closest,de=ee.inHomeList;return re?de&&re.descriptor.index>ne.descriptor.index?re.descriptor.index-1:re.descriptor.index:null}var ss=function(ee){var ne=ee.pageBorderBoxWithDroppableScroll,re=ee.draggable,de=ee.destination,ve=ee.insideDestination,pe=ee.last,ye=ee.viewport,Fe=ee.afterCritical,Ze=de.axis,$e=iu(de.axis,re.displaceBy),Xe=$e.value,je=ne[Ze.start],Ve=ne[Ze.end],lt=Zr(re,ve),Tt=Hr(lt,function(la){var fa=la.descriptor.id,ka=la.page.borderBox.center[Ze.line],Qa=ir(fa,Fe),or=Uo({displaced:pe,id:fa});return Qa?or?Ve<=ka:jefa[Fe.start]+Qa&&jefa[Fe.start]-$e+Qa&&Xefa[Fe.start]+$e+Qa&&jefa[Fe.start]+Qa&&Xe=Bo)return eo;var pe=ve/Bo,ye=Yr+Eo*pe,Fe=de==="CANCEL"?ye*so:ye;return Number(Fe.toFixed(2))},Ro=function(ee){var ne=ee.impact,re=ee.draggable,de=ee.dimensions,ve=ee.viewport,pe=ee.afterCritical,ye=de.draggables,Fe=de.droppables,Ze=yi(ne),$e=Ze?Fe[Ze]:null,Xe=Fe[re.descriptor.droppableId],je=Ku({impact:ne,draggable:re,draggables:ye,afterCritical:pe,droppable:$e||Xe,viewport:ve}),Ve=tr(je,re.client.borderBox.center);return Ve},No=function(ee){var ne=ee.draggables,re=ee.reason,de=ee.lastImpact,ve=ee.home,pe=ee.viewport,ye=ee.onLiftImpact;if(!de.at||re!=="DROP"){var Fe=Yu({draggables:ne,impact:ye,destination:ve,viewport:pe,forceShouldAnimate:!0});return{impact:Fe,didDropInsideDroppable:!1}}if(de.at.type==="REORDER")return{impact:de,didDropInsideDroppable:!0};var Ze=(0,Ae.Z)({},de,{displaced:wi});return{impact:Ze,didDropInsideDroppable:!0}},Fi=function(ee){var ne=ee.getState,re=ee.dispatch;return function(de){return function(ve){if(ve.type!=="DROP"){de(ve);return}var pe=ne(),ye=ve.payload.reason;if(pe.phase==="COLLECTING"){re(sa({reason:ye}));return}if(pe.phase!=="IDLE"){var Fe=pe.phase==="DROP_PENDING"&&pe.isWaiting;Fe&&zt(!1),pe.phase==="DRAGGING"||pe.phase==="DROP_PENDING"||zt(!1);var Ze=pe.critical,$e=pe.dimensions,Xe=$e.draggables[pe.critical.draggable.id],je=No({reason:ye,lastImpact:pe.impact,afterCritical:pe.afterCritical,onLiftImpact:pe.onLiftImpact,home:pe.dimensions.droppables[pe.critical.droppable.id],viewport:pe.viewport,draggables:pe.dimensions.draggables}),Ve=je.impact,lt=je.didDropInsideDroppable,Tt=lt?ni(Ve):null,Xn=lt?ri(Ve):null,la={index:Ze.draggable.index,droppableId:Ze.droppable.id},fa={draggableId:Xe.descriptor.id,type:Xe.descriptor.type,source:la,reason:ye,mode:pe.movementMode,destination:Tt,combine:Xn},ka=Ro({impact:Ve,draggable:Xe,dimensions:$e,viewport:pe.viewport,afterCritical:pe.afterCritical}),Qa={critical:pe.critical,afterCritical:pe.afterCritical,result:fa,impact:Ve},or=!Oa(pe.current.client.offset,ka)||!!fa.combine;if(!or){re(On({completed:Qa}));return}var to=Sr({current:pe.current.client.offset,destination:ka,reason:ye}),Ur={newHomeClientOffset:ka,dropDuration:to,completed:Qa};re(Vt(Ur))}}}},Jo=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function bi(ee){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(re){re.target!==window&&re.target!==window.document||ee()}}}function Kr(ee){var ne=ee.onWindowScroll;function re(){ne(Jo())}var de=Kt(re),ve=bi(de),pe=Tn;function ye(){return pe!==Tn}function Fe(){ye()&&zt(!1),pe=La(window,[ve])}function Ze(){ye()||zt(!1),de.cancel(),pe(),pe=Tn}return{start:Fe,stop:Ze,isActive:ye}}var ii=function(ne){return ne.type==="DROP_COMPLETE"||ne.type==="DROP_ANIMATE"||ne.type==="FLUSH"},hi=function(ee){var ne=Kr({onWindowScroll:function(de){ee.dispatch(It({newScroll:de}))}});return function(re){return function(de){!ne.isActive()&&de.type==="INITIAL_PUBLISH"&&ne.start(),ne.isActive()&&ii(de)&&ne.stop(),re(de)}}},Ri=function(ee){var ne=!1,re=!1,de=setTimeout(function(){re=!0}),ve=function(ye){ne||re||(ne=!0,ee(ye),clearTimeout(de))};return ve.wasCalled=function(){return ne},ve},gi=function(){var ee=[],ne=function(pe){var ye=Tr(ee,function($e){return $e.timerId===pe});ye===-1&&zt(!1);var Fe=ee.splice(ye,1),Ze=Fe[0];Ze.callback()},re=function(pe){var ye=setTimeout(function(){return ne(ye)}),Fe={timerId:ye,callback:pe};ee.push(Fe)},de=function(){if(ee.length){var pe=[].concat(ee);ee.length=0,pe.forEach(function(ye){clearTimeout(ye.timerId),ye.callback()})}};return{add:re,flush:de}},Ji=function(ne,re){return ne==null&&re==null?!0:ne==null||re==null?!1:ne.droppableId===re.droppableId&&ne.index===re.index},gl=function(ne,re){return ne==null&&re==null?!0:ne==null||re==null?!1:ne.draggableId===re.draggableId&&ne.droppableId===re.droppableId},Vr=function(ne,re){if(ne===re)return!0;var de=ne.draggable.id===re.draggable.id&&ne.draggable.droppableId===re.draggable.droppableId&&ne.draggable.type===re.draggable.type&&ne.draggable.index===re.draggable.index,ve=ne.droppable.id===re.droppable.id&&ne.droppable.type===re.droppable.type;return de&&ve},vo=function(ne,re){Qn(),re(),Xl()},Po=function(ne,re){return{draggableId:ne.draggable.id,type:ne.droppable.type,source:{droppableId:ne.droppable.id,index:ne.draggable.index},mode:re}},mi=function(ne,re,de,ve){if(!ne){de(ve(re));return}var pe=Ri(de),ye={announce:pe};ne(re,ye),pe.wasCalled()||de(ve(re))},ki=function(ee,ne){var re=gi(),de=null,ve=function(Ve,lt){de&&zt(!1),vo("onBeforeCapture",function(){var Tt=ee().onBeforeCapture;if(Tt){var Xn={draggableId:Ve,mode:lt};Tt(Xn)}})},pe=function(Ve,lt){de&&zt(!1),vo("onBeforeDragStart",function(){var Tt=ee().onBeforeDragStart;Tt&&Tt(Po(Ve,lt))})},ye=function(Ve,lt){de&&zt(!1);var Tt=Po(Ve,lt);de={mode:lt,lastCritical:Ve,lastLocation:Tt.source,lastCombine:null},re.add(function(){vo("onDragStart",function(){return mi(ee().onDragStart,Tt,ne,$t.onDragStart)})})},Fe=function(Ve,lt){var Tt=ni(lt),Xn=ri(lt);de||zt(!1);var la=!Vr(Ve,de.lastCritical);la&&(de.lastCritical=Ve);var fa=!Ji(de.lastLocation,Tt);fa&&(de.lastLocation=Tt);var ka=!gl(de.lastCombine,Xn);if(ka&&(de.lastCombine=Xn),!(!la&&!fa&&!ka)){var Qa=(0,Ae.Z)({},Po(Ve,de.mode),{combine:Xn,destination:Tt});re.add(function(){vo("onDragUpdate",function(){return mi(ee().onDragUpdate,Qa,ne,$t.onDragUpdate)})})}},Ze=function(){de||zt(!1),re.flush()},$e=function(Ve){de||zt(!1),de=null,vo("onDragEnd",function(){return mi(ee().onDragEnd,Ve,ne,$t.onDragEnd)})},Xe=function(){if(de){var Ve=(0,Ae.Z)({},Po(de.lastCritical,de.mode),{combine:null,destination:null,reason:"CANCEL"});$e(Ve)}};return{beforeCapture:ve,beforeStart:pe,start:ye,update:Fe,flush:Ze,drop:$e,abort:Xe}},$o=function(ee,ne){var re=ki(ee,ne);return function(de){return function(ve){return function(pe){if(pe.type==="BEFORE_INITIAL_CAPTURE"){re.beforeCapture(pe.payload.draggableId,pe.payload.movementMode);return}if(pe.type==="INITIAL_PUBLISH"){var ye=pe.payload.critical;re.beforeStart(ye,pe.payload.movementMode),ve(pe),re.start(ye,pe.payload.movementMode);return}if(pe.type==="DROP_COMPLETE"){var Fe=pe.payload.completed.result;re.flush(),ve(pe),re.drop(Fe);return}if(ve(pe),pe.type==="FLUSH"){re.abort();return}var Ze=de.getState();Ze.phase==="DRAGGING"&&re.update(Ze.critical,Ze.impact)}}}},Si=function(ee){return function(ne){return function(re){if(re.type!=="DROP_ANIMATION_FINISHED"){ne(re);return}var de=ee.getState();de.phase!=="DROP_ANIMATING"&&zt(!1),ee.dispatch(On({completed:de.completed}))}}},Bl=function(ee){var ne=null,re=null;function de(){re&&(cancelAnimationFrame(re),re=null),ne&&(ne(),ne=null)}return function(ve){return function(pe){if((pe.type==="FLUSH"||pe.type==="DROP_COMPLETE"||pe.type==="DROP_ANIMATION_FINISHED")&&de(),ve(pe),pe.type==="DROP_ANIMATE"){var ye={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Ze=ee.getState();Ze.phase==="DROP_ANIMATING"&&ee.dispatch(Ca())}};re=requestAnimationFrame(function(){re=null,ne=La(window,[ye])})}}}},ji=function(ee){return function(){return function(ne){return function(re){(re.type==="DROP_COMPLETE"||re.type==="FLUSH"||re.type==="DROP_ANIMATE")&&ee.stopPublishing(),ne(re)}}}},Hi=function(ee){var ne=!1;return function(){return function(re){return function(de){if(de.type==="INITIAL_PUBLISH"){ne=!0,ee.tryRecordFocus(de.payload.critical.draggable.id),re(de),ee.tryRestoreFocusRecorded();return}if(re(de),!!ne){if(de.type==="FLUSH"){ne=!1,ee.tryRestoreFocusRecorded();return}if(de.type==="DROP_COMPLETE"){ne=!1;var ve=de.payload.completed.result;ve.combine&&ee.tryShiftRecord(ve.draggableId,ve.combine.draggableId),ee.tryRestoreFocusRecorded()}}}}}},$l=function(ne){return ne.type==="DROP_COMPLETE"||ne.type==="DROP_ANIMATE"||ne.type==="FLUSH"},uu=function(ee){return function(ne){return function(re){return function(de){if($l(de)){ee.stop(),re(de);return}if(de.type==="INITIAL_PUBLISH"){re(de);var ve=ne.getState();ve.phase!=="DRAGGING"&&zt(!1),ee.start(ve);return}re(de),ee.scroll(ne.getState())}}}},An=function(ee){return function(ne){return function(re){if(ne(re),re.type==="PUBLISH_WHILE_DRAGGING"){var de=ee.getState();de.phase==="DROP_PENDING"&&(de.isWaiting||ee.dispatch(on({reason:de.reason})))}}}},_i=ke.qC,Sl=function(ee){var ne=ee.dimensionMarshal,re=ee.focusMarshal,de=ee.styleMarshal,ve=ee.getResponders,pe=ee.announce,ye=ee.autoScroller;return(0,ke.MT)(fs,_i((0,ke.md)(Rr(de),ji(ne),ga(ne),Fi,Si,Bl,An,uu(ye),hi,Hi(re),$o(ve,pe))))},zi=function(){return{additions:{},removals:{},modified:{}}};function eu(ee){var ne=ee.registry,re=ee.callbacks,de=zi(),ve=null,pe=function(){ve||(re.collectionStarting(),ve=requestAnimationFrame(function(){ve=null,Qn();var Xe=de,je=Xe.additions,Ve=Xe.removals,lt=Xe.modified,Tt=Object.keys(je).map(function(fa){return ne.draggable.getById(fa).getDimension(Xa)}).sort(function(fa,ka){return fa.descriptor.index-ka.descriptor.index}),Xn=Object.keys(lt).map(function(fa){var ka=ne.droppable.getById(fa),Qa=ka.callbacks.getScrollWhileDragging();return{droppableId:fa,scroll:Qa}}),la={additions:Tt,removals:Object.keys(Ve),modified:Xn};de=zi(),Xl(),re.publish(la)}))},ye=function(Xe){var je=Xe.descriptor.id;de.additions[je]=Xe,de.modified[Xe.descriptor.droppableId]=!0,de.removals[je]&&delete de.removals[je],pe()},Fe=function(Xe){var je=Xe.descriptor;de.removals[je.id]=!0,de.modified[je.droppableId]=!0,de.additions[je.id]&&delete de.additions[je.id],pe()},Ze=function(){ve&&(cancelAnimationFrame(ve),ve=null,de=zi())};return{add:ye,remove:Fe,stop:Ze}}var Ml=function(ee){var ne=ee.scrollHeight,re=ee.scrollWidth,de=ee.height,ve=ee.width,pe=tr({x:re,y:ne},{x:ve,y:de}),ye={x:Math.max(0,pe.x),y:Math.max(0,pe.y)};return ye},al=function(){var ee=document.documentElement;return ee||zt(!1),ee},Xo=function(){var ee=al(),ne=Ml({scrollHeight:ee.scrollHeight,scrollWidth:ee.scrollWidth,width:ee.clientWidth,height:ee.clientHeight});return ne},Ho=function(){var ee=Jo(),ne=Xo(),re=ee.y,de=ee.x,ve=al(),pe=ve.clientWidth,ye=ve.clientHeight,Fe=de+pe,Ze=re+ye,$e=pa({top:re,left:de,right:Fe,bottom:Ze}),Xe={frame:$e,scroll:{initial:ee,current:ee,max:ne,diff:{value:Xa,displacement:Xa}}};return Xe},Vi=function(ee){var ne=ee.critical,re=ee.scrollOptions,de=ee.registry;Qn();var ve=Ho(),pe=ve.scroll.current,ye=ne.droppable,Fe=de.droppable.getAllByType(ye.type).map(function(je){return je.callbacks.getDimensionAndWatchScroll(pe,re)}),Ze=de.draggable.getAllByType(ne.draggable.type).map(function(je){return je.getDimension(pe)}),$e={draggables:fo(Ze),droppables:zr(Fe)};Xl();var Xe={dimensions:$e,critical:ne,viewport:ve};return Xe};function yo(ee,ne,re){if(re.descriptor.id===ne.id||re.descriptor.type!==ne.type)return!1;var de=ee.droppable.getById(re.descriptor.droppableId);return de.descriptor.mode==="virtual"}var rl=function(ee,ne){var re=null,de=eu({callbacks:{publish:ne.publishWhileDragging,collectionStarting:ne.collectionStarting},registry:ee}),ve=function(lt,Tt){ee.droppable.exists(lt)||zt(!1),re&&ne.updateDroppableIsEnabled({id:lt,isEnabled:Tt})},pe=function(lt,Tt){re&&(ee.droppable.exists(lt)||zt(!1),ne.updateDroppableIsCombineEnabled({id:lt,isCombineEnabled:Tt}))},ye=function(lt,Tt){re&&(ee.droppable.exists(lt)||zt(!1),ne.updateDroppableScroll({id:lt,newScroll:Tt}))},Fe=function(lt,Tt){re&&ee.droppable.getById(lt).callbacks.scroll(Tt)},Ze=function(){if(re){de.stop();var lt=re.critical.droppable;ee.droppable.getAllByType(lt.type).forEach(function(Tt){return Tt.callbacks.dragStopped()}),re.unsubscribe(),re=null}},$e=function(lt){re||zt(!1);var Tt=re.critical.draggable;lt.type==="ADDITION"&&yo(ee,Tt,lt.value)&&de.add(lt.value),lt.type==="REMOVAL"&&yo(ee,Tt,lt.value)&&de.remove(lt.value)},Xe=function(lt){re&&zt(!1);var Tt=ee.draggable.getById(lt.draggableId),Xn=ee.droppable.getById(Tt.descriptor.droppableId),la={draggable:Tt.descriptor,droppable:Xn.descriptor},fa=ee.subscribe($e);return re={critical:la,unsubscribe:fa},Vi({critical:la,registry:ee,scrollOptions:lt.scrollOptions})},je={updateDroppableIsEnabled:ve,updateDroppableIsCombineEnabled:pe,scrollDroppable:Fe,updateDroppableScroll:ye,startPublishing:Xe,stopPublishing:Ze};return je},Ci=function(ee,ne){return ee.phase==="IDLE"?!0:ee.phase!=="DROP_ANIMATING"||ee.completed.result.draggableId===ne?!1:ee.completed.result.reason==="DROP"},Al=function(ee){window.scrollBy(ee.x,ee.y)},fi=St(function(ee){return Qr(ee).filter(function(ne){return!(!ne.isEnabled||!ne.frame)})}),Ti=function(ne,re){var de=Hr(fi(re),function(ve){return ve.frame||zt(!1),Jl(ve.frame.pageMarginBox)(ne)});return de},Hl=function(ee){var ne=ee.center,re=ee.destination,de=ee.droppables;if(re){var ve=de[re];return ve.frame?ve:null}var pe=Ti(ne,de);return pe},Zo={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ne){return Math.pow(ne,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},Xi=function(ee,ne){var re=ee[ne.size]*Zo.startFromPercentage,de=ee[ne.size]*Zo.maxScrollAtPercentage,ve={startScrollingFrom:re,maxScrollValueAt:de};return ve},xl=function(ee){var ne=ee.startOfRange,re=ee.endOfRange,de=ee.current,ve=re-ne;if(ve===0)return 0;var pe=de-ne,ye=pe/ve;return ye},ta=1,Rl=function(ee,ne){if(ee>ne.startScrollingFrom)return 0;if(ee<=ne.maxScrollValueAt)return Zo.maxPixelScroll;if(ee===ne.startScrollingFrom)return ta;var re=xl({startOfRange:ne.maxScrollValueAt,endOfRange:ne.startScrollingFrom,current:ee}),de=1-re,ve=Zo.maxPixelScroll*Zo.ease(de);return Math.ceil(ve)},ml=Zo.durationDampening.accelerateAt,fl=Zo.durationDampening.stopDampeningAt,kl=function(ee,ne){var re=ne,de=fl,ve=Date.now(),pe=ve-re;if(pe>=fl)return ee;if(pene.height,pe=re.width>ne.width;return!pe&&!ve?de:pe&&ve?null:{x:pe?0:de.x,y:ve?0:de.y}},mr=qa(function(ee){return ee===0?0:ee}),Na=function(ee){var ne=ee.dragStartTime,re=ee.container,de=ee.subject,ve=ee.center,pe=ee.shouldUseTimeDampening,ye={top:ve.y-re.top,right:re.right-ve.x,bottom:re.bottom-ve.y,left:ve.x-re.left},Fe=tu({container:re,distanceToEdges:ye,dragStartTime:ne,axis:Mi,shouldUseTimeDampening:pe}),Ze=tu({container:re,distanceToEdges:ye,dragStartTime:ne,axis:Gi,shouldUseTimeDampening:pe}),$e=mr({x:Ze,y:Fe});if(Oa($e,Xa))return null;var Xe=zl({container:re,subject:de,proposedScroll:$e});return Xe?Oa(Xe,Xa)?null:Xe:null},Jr=qa(function(ee){return ee===0?0:ee>0?1:-1}),ko=function(){var ee=function(re,de){return re<0?re:re>de?re-de:0};return function(ne){var re=ne.current,de=ne.max,ve=ne.change,pe=ua(re,ve),ye={x:ee(pe.x,de.x),y:ee(pe.y,de.y)};return Oa(ye,Xa)?null:ye}}(),vl=function(ne){var re=ne.max,de=ne.current,ve=ne.change,pe={x:Math.max(de.x,re.x),y:Math.max(de.y,re.y)},ye=Jr(ve),Fe=ko({max:pe,current:de,change:ye});return!Fe||ye.x!==0&&Fe.x===0||ye.y!==0&&Fe.y===0},gu=function(ne,re){return vl({current:ne.scroll.current,max:ne.scroll.max,change:re})},ue=function(ne,re){if(!gu(ne,re))return null;var de=ne.scroll.max,ve=ne.scroll.current;return ko({current:ve,max:de,change:re})},Ee=function(ne,re){var de=ne.frame;return de?vl({current:de.scroll.current,max:de.scroll.max,change:re}):!1},Pe=function(ne,re){var de=ne.frame;return!de||!Ee(ne,re)?null:ko({current:de.scroll.current,max:de.scroll.max,change:re})},it=function(ee){var ne=ee.viewport,re=ee.subject,de=ee.center,ve=ee.dragStartTime,pe=ee.shouldUseTimeDampening,ye=Na({dragStartTime:ve,container:ne.frame,subject:re,center:de,shouldUseTimeDampening:pe});return ye&&gu(ne,ye)?ye:null},ft=function(ee){var ne=ee.droppable,re=ee.subject,de=ee.center,ve=ee.dragStartTime,pe=ee.shouldUseTimeDampening,ye=ne.frame;if(!ye)return null;var Fe=Na({dragStartTime:ve,container:ye.pageMarginBox,subject:re,center:de,shouldUseTimeDampening:pe});return Fe&&Ee(ne,Fe)?Fe:null},Rn=function(ee){var ne=ee.state,re=ee.dragStartTime,de=ee.shouldUseTimeDampening,ve=ee.scrollWindow,pe=ee.scrollDroppable,ye=ne.current.page.borderBoxCenter,Fe=ne.dimensions.draggables[ne.critical.draggable.id],Ze=Fe.page.marginBox;if(ne.isWindowScrollAllowed){var $e=ne.viewport,Xe=it({dragStartTime:re,viewport:$e,subject:Ze,center:ye,shouldUseTimeDampening:de});if(Xe){ve(Xe);return}}var je=Hl({center:ye,destination:yi(ne.impact),droppables:ne.dimensions.droppables});if(je){var Ve=ft({dragStartTime:re,droppable:je,subject:Ze,center:ye,shouldUseTimeDampening:de});Ve&&pe(je.descriptor.id,Ve)}},vn=function(ee){var ne=ee.scrollWindow,re=ee.scrollDroppable,de=Kt(ne),ve=Kt(re),pe=null,ye=function(Xe){pe||zt(!1);var je=pe,Ve=je.shouldUseTimeDampening,lt=je.dragStartTime;Rn({state:Xe,scrollWindow:de,scrollDroppable:ve,dragStartTime:lt,shouldUseTimeDampening:Ve})},Fe=function(Xe){Qn(),pe&&zt(!1);var je=Date.now(),Ve=!1,lt=function(){Ve=!0};Rn({state:Xe,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:lt,scrollDroppable:lt}),pe={dragStartTime:je,shouldUseTimeDampening:Ve},Xl(),Ve&&ye(Xe)},Ze=function(){pe&&(de.cancel(),ve.cancel(),pe=null)};return{start:Fe,stop:Ze,scroll:ye}},Yt=function(ee){var ne=ee.move,re=ee.scrollDroppable,de=ee.scrollWindow,ve=function($e,Xe){var je=ua($e.current.client.selection,Xe);ne({client:je})},pe=function($e,Xe){if(!Ee($e,Xe))return Xe;var je=Pe($e,Xe);if(!je)return re($e.descriptor.id,Xe),null;var Ve=tr(Xe,je);re($e.descriptor.id,Ve);var lt=tr(Xe,Ve);return lt},ye=function($e,Xe,je){if(!$e||!gu(Xe,je))return je;var Ve=ue(Xe,je);if(!Ve)return de(je),null;var lt=tr(je,Ve);de(lt);var Tt=tr(je,lt);return Tt},Fe=function($e){var Xe=$e.scrollJumpRequest;if(Xe){var je=yi($e.impact);je||zt(!1);var Ve=pe($e.dimensions.droppables[je],Xe);if(Ve){var lt=$e.viewport,Tt=ye($e.isWindowScrollAllowed,lt,Ve);Tt&&ve($e,Tt)}}};return Fe},vt=function(ee){var ne=ee.scrollDroppable,re=ee.scrollWindow,de=ee.move,ve=vn({scrollWindow:re,scrollDroppable:ne}),pe=Yt({move:de,scrollWindow:re,scrollDroppable:ne}),ye=function($e){if($e.phase==="DRAGGING"){if($e.movementMode==="FLUID"){ve.scroll($e);return}$e.scrollJumpRequest&&pe($e)}},Fe={scroll:ye,start:ve.start,stop:ve.stop};return Fe},qt="data-rbd",Bn=function(){var ee=qt+"-drag-handle";return{base:ee,draggableId:ee+"-draggable-id",contextId:ee+"-context-id"}}(),qe=function(){var ee=qt+"-draggable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),Ct=function(){var ee=qt+"-droppable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),cn={contextId:qt+"-scroll-container-context-id"},Cn=function(ne){return function(re){return"["+re+'="'+ne+'"]'}},Jt=function(ne,re){return ne.map(function(de){var ve=de.styles[re];return ve?de.selector+" { "+ve+" }":""}).join(" ")},Ot="pointer-events: none;",Qt=function(ee){var ne=Cn(ee),re=function(){var Fe=` cursor: -webkit-grab; cursor: grab; - `;return{selector:ne(Cn.contextId),styles:{always:` + `;return{selector:ne(Bn.contextId),styles:{always:` -webkit-touch-callout: none; -webkit-tap-highlight-color: rgba(0,0,0,0); touch-action: manipulation; - `,resting:Fe,dragging:qt,dropAnimating:Fe}}}(),de=function(){var Fe=` - transition: `+On.outOfTheWay+`; - `;return{selector:ne(Ye.contextId),styles:{dragging:Fe,dropAnimating:Fe,userCancel:Fe}}}(),ve={selector:ne(wt.contextId),styles:{always:"overflow-anchor: none;"}},pe={selector:"body",styles:{dragging:` + `,resting:Fe,dragging:Ot,dropAnimating:Fe}}}(),de=function(){var Fe=` + transition: `+Mn.outOfTheWay+`; + `;return{selector:ne(qe.contextId),styles:{dragging:Fe,dropAnimating:Fe,userCancel:Fe}}}(),ve={selector:ne(Ct.contextId),styles:{always:"overflow-anchor: none;"}},pe={selector:"body",styles:{dragging:` cursor: grabbing; cursor: -webkit-grabbing; user-select: none; @@ -385,9 +385,9 @@ The error may be correlated with this previous error: -moz-user-select: none; -ms-user-select: none; overflow-anchor: none; - `}},ye=[de,re,ve,pe];return{always:xt(ye,"always"),resting:xt(ye,"resting"),dragging:xt(ye,"dragging"),dropAnimating:xt(ye,"dropAnimating"),userCancel:xt(ye,"userCancel")}},Kt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect,Sa=function(){var ne=document.querySelector("head");return ne||zt(!1),ne},Nt=function(ne){var re=document.createElement("style");return ne&&re.setAttribute("nonce",ne),re.type="text/css",re};function ga(ee,ne){var re=En(function(){return Yt(ee)},[ee]),de=(0,b.useRef)(null),ve=(0,b.useRef)(null),pe=rn(St(function(je){var Ve=ve.current;Ve||zt(!1),Ve.textContent=je}),[]),ye=rn(function(je){var Ve=de.current;Ve||zt(!1),Ve.textContent=je},[]);Kt(function(){!de.current&&!ve.current||zt(!1);var je=Nt(ne),Ve=Nt(ne);return de.current=je,ve.current=Ve,je.setAttribute(nn+"-always",ee),Ve.setAttribute(nn+"-dynamic",ee),Sa().appendChild(je),Sa().appendChild(Ve),ye(re.always),pe(re.resting),function(){var lt=function(Jn){var ia=Jn.current;ia||zt(!1),Sa().removeChild(ia),Jn.current=null};lt(de),lt(ve)}},[ne,ye,pe,re.always,re.resting,ee]);var Fe=rn(function(){return pe(re.dragging)},[pe,re.dragging]),Ze=rn(function(je){if(je==="DROP"){pe(re.dropAnimating);return}pe(re.userCancel)},[pe,re.dropAnimating,re.userCancel]),$e=rn(function(){ve.current&&pe(re.resting)},[pe,re.resting]),qe=En(function(){return{dragging:Fe,dropping:Ze,resting:$e}},[Fe,Ze,$e]);return qe}var Cr=function(ee){return ee&&ee.ownerDocument?ee.ownerDocument.defaultView:window};function Er(ee){return ee instanceof Cr(ee).HTMLElement}function $a(ee,ne){var re="["+Cn.contextId+'="'+ee+'"]',de=ur(document.querySelectorAll(re));if(!de.length)return null;var ve=Hr(de,function(pe){return pe.getAttribute(Cn.draggableId)===ne});return!ve||!Er(ve)?null:ve}function Ao(ee){var ne=(0,b.useRef)({}),re=(0,b.useRef)(null),de=(0,b.useRef)(null),ve=(0,b.useRef)(!1),pe=rn(function(Ve,lt){var Zt={id:Ve,focus:lt};return ne.current[Ve]=Zt,function(){var ia=ne.current,fa=ia[Ve];fa!==Zt&&delete ia[Ve]}},[]),ye=rn(function(Ve){var lt=$a(ee,Ve);lt&<!==document.activeElement&<.focus()},[ee]),Fe=rn(function(Ve,lt){re.current===Ve&&(re.current=lt)},[]),Ze=rn(function(){de.current||ve.current&&(de.current=requestAnimationFrame(function(){de.current=null;var Ve=re.current;Ve&&ye(Ve)}))},[ye]),$e=rn(function(Ve){re.current=null;var lt=document.activeElement;lt&<.getAttribute(Cn.draggableId)===Ve&&(re.current=Ve)},[]);Kt(function(){return ve.current=!0,function(){ve.current=!1;var Ve=de.current;Ve&&cancelAnimationFrame(Ve)}},[]);var qe=En(function(){return{register:pe,tryRecordFocus:$e,tryRestoreFocusRecorded:Ze,tryShiftRecord:Fe}},[pe,$e,Ze,Fe]);return qe}function ta(){var ee={draggables:{},droppables:{}},ne=[];function re(je){return ne.push(je),function(){var lt=ne.indexOf(je);lt!==-1&&ne.splice(lt,1)}}function de(je){ne.length&&ne.forEach(function(Ve){return Ve(je)})}function ve(je){return ee.draggables[je]||null}function pe(je){var Ve=ve(je);return Ve||zt(!1),Ve}var ye={register:function(Ve){ee.draggables[Ve.descriptor.id]=Ve,de({type:"ADDITION",value:Ve})},update:function(Ve,lt){var Zt=ee.draggables[lt.descriptor.id];Zt&&Zt.uniqueId===Ve.uniqueId&&(delete ee.draggables[lt.descriptor.id],ee.draggables[Ve.descriptor.id]=Ve)},unregister:function(Ve){var lt=Ve.descriptor.id,Zt=ve(lt);Zt&&Ve.uniqueId===Zt.uniqueId&&(delete ee.draggables[lt],de({type:"REMOVAL",value:Ve}))},getById:pe,findById:ve,exists:function(Ve){return!!ve(Ve)},getAllByType:function(Ve){return za(ee.draggables).filter(function(lt){return lt.descriptor.type===Ve})}};function Fe(je){return ee.droppables[je]||null}function Ze(je){var Ve=Fe(je);return Ve||zt(!1),Ve}var $e={register:function(Ve){ee.droppables[Ve.descriptor.id]=Ve},unregister:function(Ve){var lt=Fe(Ve.descriptor.id);lt&&Ve.uniqueId===lt.uniqueId&&delete ee.droppables[Ve.descriptor.id]},getById:Ze,findById:Fe,exists:function(Ve){return!!Fe(Ve)},getAllByType:function(Ve){return za(ee.droppables).filter(function(lt){return lt.descriptor.type===Ve})}};function qe(){ee.draggables={},ee.droppables={},ne.length=0}return{draggable:ye,droppable:$e,subscribe:re,clean:qe}}function Or(){var ee=En(ta,[]);return(0,b.useEffect)(function(){return function(){requestAnimationFrame(ee.clean)}},[ee]),ee}var Ga=b.createContext(null),Wr=function(){var ee=document.body;return ee||zt(!1),ee},So={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},xo=function(ne){return"rbd-announcement-"+ne};function zo(ee){var ne=En(function(){return xo(ee)},[ee]),re=(0,b.useRef)(null);(0,b.useEffect)(function(){var pe=document.createElement("div");return re.current=pe,pe.id=ne,pe.setAttribute("aria-live","assertive"),pe.setAttribute("aria-atomic","true"),(0,Ae.Z)(pe.style,So),Wr().appendChild(pe),function(){setTimeout(function(){var Ze=Wr();Ze.contains(pe)&&Ze.removeChild(pe),pe===re.current&&(re.current=null)})}},[ne]);var de=rn(function(ve){var pe=re.current;if(pe){pe.textContent=ve;return}},[]);return de}var Pa=0,Fr={separator:"::"};function Ei(){Pa=0}function Xr(ee,ne){return ne===void 0&&(ne=Fr),En(function(){return""+ee+ne.separator+Pa++},[ne.separator,ee])}function In(ee){var ne=ee.contextId,re=ee.uniqueId;return"rbd-hidden-text-"+ne+"-"+re}function ei(ee){var ne=ee.contextId,re=ee.text,de=Xr("hidden-text",{separator:"-"}),ve=En(function(){return In({contextId:ne,uniqueId:de})},[de,ne]);return(0,b.useEffect)(function(){var ye=document.createElement("div");return ye.id=ve,ye.textContent=re,ye.style.display="none",Wr().appendChild(ye),function(){var Ze=Wr();Ze.contains(ye)&&Ze.removeChild(ye)}},[ve,re]),ve}var zi=b.createContext(null),di={react:"^16.8.5","react-dom":"^16.8.5"},Bi=/(\d+)\.(\d+)\.(\d+)/,rl=function(ne){var re=Bi.exec(ne);re==null&&zt(!1);var de=Number(re[1]),ve=Number(re[2]),pe=Number(re[3]);return{major:de,minor:ve,patch:pe,raw:ne}},ri=function(ne,re){return re.major>ne.major?!0:re.majorne.minor?!0:re.minor=ne.patch},Sl=function(ee,ne){var re=rl(ee),de=rl(ne);ri(re,de)},Vi=` + `}},ye=[de,re,ve,pe];return{always:Jt(ye,"always"),resting:Jt(ye,"resting"),dragging:Jt(ye,"dragging"),dropAnimating:Jt(ye,"dropAnimating"),userCancel:Jt(ye,"userCancel")}},Zt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect,va=function(){var ne=document.querySelector("head");return ne||zt(!1),ne},Sn=function(ne){var re=document.createElement("style");return ne&&re.setAttribute("nonce",ne),re.type="text/css",re};function En(ee,ne){var re=Pn(function(){return Qt(ee)},[ee]),de=(0,b.useRef)(null),ve=(0,b.useRef)(null),pe=an(St(function(je){var Ve=ve.current;Ve||zt(!1),Ve.textContent=je}),[]),ye=an(function(je){var Ve=de.current;Ve||zt(!1),Ve.textContent=je},[]);Zt(function(){!de.current&&!ve.current||zt(!1);var je=Sn(ne),Ve=Sn(ne);return de.current=je,ve.current=Ve,je.setAttribute(qt+"-always",ee),Ve.setAttribute(qt+"-dynamic",ee),va().appendChild(je),va().appendChild(Ve),ye(re.always),pe(re.resting),function(){var lt=function(Xn){var la=Xn.current;la||zt(!1),va().removeChild(la),Xn.current=null};lt(de),lt(ve)}},[ne,ye,pe,re.always,re.resting,ee]);var Fe=an(function(){return pe(re.dragging)},[pe,re.dragging]),Ze=an(function(je){if(je==="DROP"){pe(re.dropAnimating);return}pe(re.userCancel)},[pe,re.dropAnimating,re.userCancel]),$e=an(function(){ve.current&&pe(re.resting)},[pe,re.resting]),Xe=Pn(function(){return{dragging:Fe,dropping:Ze,resting:$e}},[Fe,Ze,$e]);return Xe}var Cr=function(ee){return ee&&ee.ownerDocument?ee.ownerDocument.defaultView:window};function Er(ee){return ee instanceof Cr(ee).HTMLElement}function $a(ee,ne){var re="["+Bn.contextId+'="'+ee+'"]',de=ur(document.querySelectorAll(re));if(!de.length)return null;var ve=Hr(de,function(pe){return pe.getAttribute(Bn.draggableId)===ne});return!ve||!Er(ve)?null:ve}function Ao(ee){var ne=(0,b.useRef)({}),re=(0,b.useRef)(null),de=(0,b.useRef)(null),ve=(0,b.useRef)(!1),pe=an(function(Ve,lt){var Tt={id:Ve,focus:lt};return ne.current[Ve]=Tt,function(){var la=ne.current,fa=la[Ve];fa!==Tt&&delete la[Ve]}},[]),ye=an(function(Ve){var lt=$a(ee,Ve);lt&<!==document.activeElement&<.focus()},[ee]),Fe=an(function(Ve,lt){re.current===Ve&&(re.current=lt)},[]),Ze=an(function(){de.current||ve.current&&(de.current=requestAnimationFrame(function(){de.current=null;var Ve=re.current;Ve&&ye(Ve)}))},[ye]),$e=an(function(Ve){re.current=null;var lt=document.activeElement;lt&<.getAttribute(Bn.draggableId)===Ve&&(re.current=Ve)},[]);Zt(function(){return ve.current=!0,function(){ve.current=!1;var Ve=de.current;Ve&&cancelAnimationFrame(Ve)}},[]);var Xe=Pn(function(){return{register:pe,tryRecordFocus:$e,tryRestoreFocusRecorded:Ze,tryShiftRecord:Fe}},[pe,$e,Ze,Fe]);return Xe}function na(){var ee={draggables:{},droppables:{}},ne=[];function re(je){return ne.push(je),function(){var lt=ne.indexOf(je);lt!==-1&&ne.splice(lt,1)}}function de(je){ne.length&&ne.forEach(function(Ve){return Ve(je)})}function ve(je){return ee.draggables[je]||null}function pe(je){var Ve=ve(je);return Ve||zt(!1),Ve}var ye={register:function(Ve){ee.draggables[Ve.descriptor.id]=Ve,de({type:"ADDITION",value:Ve})},update:function(Ve,lt){var Tt=ee.draggables[lt.descriptor.id];Tt&&Tt.uniqueId===Ve.uniqueId&&(delete ee.draggables[lt.descriptor.id],ee.draggables[Ve.descriptor.id]=Ve)},unregister:function(Ve){var lt=Ve.descriptor.id,Tt=ve(lt);Tt&&Ve.uniqueId===Tt.uniqueId&&(delete ee.draggables[lt],de({type:"REMOVAL",value:Ve}))},getById:pe,findById:ve,exists:function(Ve){return!!ve(Ve)},getAllByType:function(Ve){return za(ee.draggables).filter(function(lt){return lt.descriptor.type===Ve})}};function Fe(je){return ee.droppables[je]||null}function Ze(je){var Ve=Fe(je);return Ve||zt(!1),Ve}var $e={register:function(Ve){ee.droppables[Ve.descriptor.id]=Ve},unregister:function(Ve){var lt=Fe(Ve.descriptor.id);lt&&Ve.uniqueId===lt.uniqueId&&delete ee.droppables[Ve.descriptor.id]},getById:Ze,findById:Fe,exists:function(Ve){return!!Fe(Ve)},getAllByType:function(Ve){return za(ee.droppables).filter(function(lt){return lt.descriptor.type===Ve})}};function Xe(){ee.draggables={},ee.droppables={},ne.length=0}return{draggable:ye,droppable:$e,subscribe:re,clean:Xe}}function Or(){var ee=Pn(na,[]);return(0,b.useEffect)(function(){return function(){requestAnimationFrame(ee.clean)}},[ee]),ee}var Ga=b.createContext(null),Wr=function(){var ee=document.body;return ee||zt(!1),ee},ho={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},xo=function(ne){return"rbd-announcement-"+ne};function zo(ee){var ne=Pn(function(){return xo(ee)},[ee]),re=(0,b.useRef)(null);(0,b.useEffect)(function(){var pe=document.createElement("div");return re.current=pe,pe.id=ne,pe.setAttribute("aria-live","assertive"),pe.setAttribute("aria-atomic","true"),(0,Ae.Z)(pe.style,ho),Wr().appendChild(pe),function(){setTimeout(function(){var Ze=Wr();Ze.contains(pe)&&Ze.removeChild(pe),pe===re.current&&(re.current=null)})}},[ne]);var de=an(function(ve){var pe=re.current;if(pe){pe.textContent=ve;return}},[]);return de}var Pa=0,Fr={separator:"::"};function Ei(){Pa=0}function Fo(ee,ne){return ne===void 0&&(ne=Fr),Pn(function(){return""+ee+ne.separator+Pa++},[ne.separator,ee])}function Dn(ee){var ne=ee.contextId,re=ee.uniqueId;return"rbd-hidden-text-"+ne+"-"+re}function li(ee){var ne=ee.contextId,re=ee.text,de=Fo("hidden-text",{separator:"-"}),ve=Pn(function(){return Dn({contextId:ne,uniqueId:de})},[de,ne]);return(0,b.useEffect)(function(){var ye=document.createElement("div");return ye.id=ve,ye.textContent=re,ye.style.display="none",Wr().appendChild(ye),function(){var Ze=Wr();Ze.contains(ye)&&Ze.removeChild(ye)}},[ve,re]),ve}var Ii=b.createContext(null),di={react:"^16.8.5","react-dom":"^16.8.5"},Bi=/(\d+)\.(\d+)\.(\d+)/,Oi=function(ne){var re=Bi.exec(ne);re==null&&zt(!1);var de=Number(re[1]),ve=Number(re[2]),pe=Number(re[3]);return{major:de,minor:ve,patch:pe,raw:ne}},ei=function(ne,re){return re.major>ne.major?!0:re.majorne.minor?!0:re.minor=ne.patch},ol=function(ee,ne){var re=Oi(ee),de=Oi(ne);ei(re,de)},Wi=` We expect a html5 doctype: This is to ensure consistent browser layout and measurement More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md -`,Xi=function(ee){var ne=ee.doctype;ne&&(ne.name.toLowerCase(),ne.publicId)};function _o(ee){}function ci(ee,ne){}function ol(){ci(function(){Sl(di.react,b.version),Xi(document)},[])}function _l(ee){var ne=(0,b.useRef)(ee);return(0,b.useEffect)(function(){ne.current=ee}),ne}function Nr(){var ee=null;function ne(){return!!ee}function re(ye){return ye===ee}function de(ye){ee&&zt(!1);var Fe={abandon:ye};return ee=Fe,Fe}function ve(){ee||zt(!1),ee=null}function pe(){ee&&(ee.abandon(),ve())}return{isClaimed:ne,isActive:re,claim:de,release:ve,tryAbandon:pe}}var Io=9,ti=13,Vo=27,Wi=32,Ui=33,Ai=34,Tl=35,wl=36,El=37,vi=38,Zl=39,ao=40,nu,bu=(nu={},nu[ti]=!0,nu[Io]=!0,nu),Vl=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],re=Hr(ne,function(de){return"on"+de in document});return re||ee}(),en=0,Hn=5;function Gr(ee,ne){return Math.abs(ne.x-ee.x)>=Hn||Math.abs(ne.y-ee.y)>=Hn}var rr={type:"IDLE"};function yr(ee){var ne=ee.cancel,re=ee.completed,de=ee.getPhase,ve=ee.setPhase;return[{eventName:"mousemove",fn:function(ye){var Fe=ye.button,Ze=ye.clientX,$e=ye.clientY;if(Fe===en){var qe={x:Ze,y:$e},je=de();if(je.type==="DRAGGING"){ye.preventDefault(),je.actions.move(qe);return}je.type!=="PENDING"&&zt(!1);var Ve=je.point;if(Gr(Ve,qe)){ye.preventDefault();var lt=je.actions.fluidLift(qe);ve({type:"DRAGGING",actions:lt})}}}},{eventName:"mouseup",fn:function(ye){var Fe=de();if(Fe.type!=="DRAGGING"){ne();return}ye.preventDefault(),Fe.actions.drop({shouldBlockNextClick:!0}),re()}},{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===Vo){ye.preventDefault(),ne();return}Vl(ye)}},{eventName:"resize",fn:ne},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){de().type==="PENDING"&&ne()}},{eventName:"webkitmouseforcedown",fn:function(ye){var Fe=de();if(Fe.type==="IDLE"&&zt(!1),Fe.actions.shouldRespectForcePress()){ne();return}ye.preventDefault()}},{eventName:mu,fn:ne}]}function ro(ee){var ne=(0,b.useRef)(rr),re=(0,b.useRef)(_n),de=En(function(){return{eventName:"mousedown",fn:function(je){if(!je.defaultPrevented&&je.button===en&&!(je.ctrlKey||je.metaKey||je.shiftKey||je.altKey)){var Ve=ee.findClosestDraggableId(je);if(Ve){var lt=ee.tryGetLock(Ve,ye,{sourceEvent:je});if(lt){je.preventDefault();var Zt={x:je.clientX,y:je.clientY};re.current(),$e(lt,Zt)}}}}}},[ee]),ve=En(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(je){if(!je.defaultPrevented){var Ve=ee.findClosestDraggableId(je);if(Ve){var lt=ee.findOptionsForDraggable(Ve);lt&&(lt.shouldRespectForcePress||ee.canGetLock(Ve)&&je.preventDefault())}}}}},[ee]),pe=rn(function(){var je={passive:!1,capture:!0};re.current=La(window,[ve,de],je)},[ve,de]),ye=rn(function(){var qe=ne.current;qe.type!=="IDLE"&&(ne.current=rr,re.current(),pe())},[pe]),Fe=rn(function(){var qe=ne.current;ye(),qe.type==="DRAGGING"&&qe.actions.cancel({shouldBlockNextClick:!0}),qe.type==="PENDING"&&qe.actions.abort()},[ye]),Ze=rn(function(){var je={capture:!0,passive:!1},Ve=yr({cancel:Fe,completed:ye,getPhase:function(){return ne.current},setPhase:function(Zt){ne.current=Zt}});re.current=La(window,Ve,je)},[Fe,ye]),$e=rn(function(je,Ve){ne.current.type!=="IDLE"&&zt(!1),ne.current={type:"PENDING",point:Ve,actions:je},Ze()},[Ze]);Kt(function(){return pe(),function(){re.current()}},[pe])}var Go;function To(){}var Qi=(Go={},Go[Ai]=!0,Go[Ui]=!0,Go[wl]=!0,Go[Tl]=!0,Go);function Pi(ee,ne){function re(){ne(),ee.cancel()}function de(){ne(),ee.drop()}return[{eventName:"keydown",fn:function(pe){if(pe.keyCode===Vo){pe.preventDefault(),re();return}if(pe.keyCode===Wi){pe.preventDefault(),de();return}if(pe.keyCode===ao){pe.preventDefault(),ee.moveDown();return}if(pe.keyCode===vi){pe.preventDefault(),ee.moveUp();return}if(pe.keyCode===Zl){pe.preventDefault(),ee.moveRight();return}if(pe.keyCode===El){pe.preventDefault(),ee.moveLeft();return}if(Qi[pe.keyCode]){pe.preventDefault();return}Vl(pe)}},{eventName:"mousedown",fn:re},{eventName:"mouseup",fn:re},{eventName:"click",fn:re},{eventName:"touchstart",fn:re},{eventName:"resize",fn:re},{eventName:"wheel",fn:re,options:{passive:!0}},{eventName:mu,fn:re}]}function Gl(ee){var ne=(0,b.useRef)(To),re=En(function(){return{eventName:"keydown",fn:function(pe){if(pe.defaultPrevented||pe.keyCode!==Wi)return;var ye=ee.findClosestDraggableId(pe);if(!ye)return;var Fe=ee.tryGetLock(ye,qe,{sourceEvent:pe});if(!Fe)return;pe.preventDefault();var Ze=!0,$e=Fe.snapLift();ne.current();function qe(){Ze||zt(!1),Ze=!1,ne.current(),de()}ne.current=La(window,Pi($e,qe),{capture:!0,passive:!1})}}},[ee]),de=rn(function(){var pe={passive:!1,capture:!0};ne.current=La(window,[re],pe)},[re]);Kt(function(){return de(),function(){ne.current()}},[de])}var Wl={type:"IDLE"},qu=120,vs=.15;function ps(ee){var ne=ee.cancel,re=ee.getPhase;return[{eventName:"orientationchange",fn:ne},{eventName:"resize",fn:ne},{eventName:"contextmenu",fn:function(ve){ve.preventDefault()}},{eventName:"keydown",fn:function(ve){if(re().type!=="DRAGGING"){ne();return}ve.keyCode===Vo&&ve.preventDefault(),ne()}},{eventName:mu,fn:ne}]}function jl(ee){var ne=ee.cancel,re=ee.completed,de=ee.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(pe){var ye=de();if(ye.type!=="DRAGGING"){ne();return}ye.hasMoved=!0;var Fe=pe.touches[0],Ze=Fe.clientX,$e=Fe.clientY,qe={x:Ze,y:$e};pe.preventDefault(),ye.actions.move(qe)}},{eventName:"touchend",fn:function(pe){var ye=de();if(ye.type!=="DRAGGING"){ne();return}pe.preventDefault(),ye.actions.drop({shouldBlockNextClick:!0}),re()}},{eventName:"touchcancel",fn:function(pe){if(de().type!=="DRAGGING"){ne();return}pe.preventDefault(),ne()}},{eventName:"touchforcechange",fn:function(pe){var ye=de();ye.type==="IDLE"&&zt(!1);var Fe=pe.touches[0];if(Fe){var Ze=Fe.force>=vs;if(Ze){var $e=ye.actions.shouldRespectForcePress();if(ye.type==="PENDING"){$e&&ne();return}if($e){if(ye.hasMoved){pe.preventDefault();return}ne();return}pe.preventDefault()}}}},{eventName:mu,fn:ne}]}function hs(ee){var ne=(0,b.useRef)(Wl),re=(0,b.useRef)(_n),de=rn(function(){return ne.current},[]),ve=rn(function(lt){ne.current=lt},[]),pe=En(function(){return{eventName:"touchstart",fn:function(lt){if(!lt.defaultPrevented){var Zt=ee.findClosestDraggableId(lt);if(Zt){var Jn=ee.tryGetLock(Zt,Fe,{sourceEvent:lt});if(Jn){var ia=lt.touches[0],fa=ia.clientX,ka=ia.clientY,Qa={x:fa,y:ka};re.current(),je(Jn,Qa)}}}}}},[ee]),ye=rn(function(){var lt={capture:!0,passive:!1};re.current=La(window,[pe],lt)},[pe]),Fe=rn(function(){var Ve=ne.current;Ve.type!=="IDLE"&&(Ve.type==="PENDING"&&clearTimeout(Ve.longPressTimerId),ve(Wl),re.current(),ye())},[ye,ve]),Ze=rn(function(){var Ve=ne.current;Fe(),Ve.type==="DRAGGING"&&Ve.actions.cancel({shouldBlockNextClick:!0}),Ve.type==="PENDING"&&Ve.actions.abort()},[Fe]),$e=rn(function(){var lt={capture:!0,passive:!1},Zt={cancel:Ze,completed:Fe,getPhase:de},Jn=La(window,jl(Zt),lt),ia=La(window,ps(Zt),lt);re.current=function(){Jn(),ia()}},[Ze,de,Fe]),qe=rn(function(){var lt=de();lt.type!=="PENDING"&&zt(!1);var Zt=lt.actions.fluidLift(lt.point);ve({type:"DRAGGING",actions:Zt,hasMoved:!1})},[de,ve]),je=rn(function(lt,Zt){de().type!=="IDLE"&&zt(!1);var Jn=setTimeout(qe,qu);ve({type:"PENDING",point:Zt,actions:lt,longPressTimerId:Jn}),$e()},[$e,de,ve,qe]);Kt(function(){return ye(),function(){re.current();var Zt=de();Zt.type==="PENDING"&&(clearTimeout(Zt.longPressTimerId),ve(Wl))}},[de,ye,ve]),Kt(function(){var lt=La(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return lt},[])}function au(ee){}var Zu={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Ul(ee,ne){if(ne==null)return!1;var re=!!Zu[ne.tagName.toLowerCase()];if(re)return!0;var de=ne.getAttribute("contenteditable");return de==="true"||de===""?!0:ne===ee?!1:Ul(ee,ne.parentElement)}function $u(ee,ne){var re=ne.target;return Er(re)?Ul(ee,re):!1}var Ss=function(ee){return va(ee.getBoundingClientRect()).center};function es(ee){return ee instanceof Cr(ee).Element}var Gu=function(){var ee="matches";if(typeof document=="undefined")return ee;var ne=[ee,"msMatchesSelector","webkitMatchesSelector"],re=Hr(ne,function(de){return de in Element.prototype});return re||ee}();function ts(ee,ne){return ee==null?null:ee[Gu](ne)?ee:ts(ee.parentElement,ne)}function Yn(ee,ne){return ee.closest?ee.closest(ne):ts(ee,ne)}function Ja(ee){return"["+Cn.contextId+'="'+ee+'"]'}function Ir(ee,ne){var re=ne.target;if(!es(re))return null;var de=Ja(ee),ve=Yn(re,de);return!ve||!Er(ve)?null:ve}function oo(ee,ne){var re=Ir(ee,ne);return re?re.getAttribute(Cn.draggableId):null}function qr(ee,ne){var re="["+Ye.contextId+'="'+ee+'"]',de=ur(document.querySelectorAll(re)),ve=Hr(de,function(pe){return pe.getAttribute(Ye.id)===ne});return!ve||!Er(ve)?null:ve}function xr(ee){ee.preventDefault()}function mo(ee){var ne=ee.expected,re=ee.phase,de=ee.isLockActive,ve=ee.shouldWarn;return!(!de()||ne!==re)}function Do(ee){var ne=ee.lockAPI,re=ee.store,de=ee.registry,ve=ee.draggableId;if(ne.isClaimed())return!1;var pe=de.draggable.findById(ve);return!(!pe||!pe.options.isEnabled||!Ci(re.getState(),ve))}function _i(ee){var ne=ee.lockAPI,re=ee.contextId,de=ee.store,ve=ee.registry,pe=ee.draggableId,ye=ee.forceSensorStop,Fe=ee.sourceEvent,Ze=Do({lockAPI:ne,store:de,registry:ve,draggableId:pe});if(!Ze)return null;var $e=ve.draggable.getById(pe),qe=qr(re,$e.descriptor.id);if(!qe||Fe&&!$e.options.canDragInteractiveElements&&$u(qe,Fe))return null;var je=ne.claim(ye||_n),Ve="PRE_DRAG";function lt(){return $e.options.shouldRespectForcePress}function Zt(){return ne.isActive(je)}function Jn(Ur,Eo){mo({expected:Ur,phase:Ve,isLockActive:Zt,shouldWarn:!0})&&de.dispatch(Eo())}var ia=Jn.bind(null,"DRAGGING");function fa(Ur){function Eo(){ne.release(),Ve="COMPLETED"}Ve!=="PRE_DRAG"&&(Eo(),Ve!=="PRE_DRAG"&&zt(!1)),de.dispatch(ge(Ur.liftActionArgs)),Ve="DRAGGING";function xi(bo,Di){if(Di===void 0&&(Di={shouldBlockNextClick:!1}),Ur.cleanup(),Di.shouldBlockNextClick){var il=La(window,[{eventName:"click",fn:xr,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(il)}Eo(),de.dispatch(ln({reason:bo}))}return(0,Ae.Z)({isActive:function(){return mo({expected:"DRAGGING",phase:Ve,isLockActive:Zt,shouldWarn:!1})},shouldRespectForcePress:lt,drop:function(Di){return xi("DROP",Di)},cancel:function(Di){return xi("CANCEL",Di)}},Ur.actions)}function ka(Ur){var Eo=Jt(function(bo){ia(function(){return Lt({client:bo})})}),xi=fa({liftActionArgs:{id:pe,clientSelection:Ur,movementMode:"FLUID"},cleanup:function(){return Eo.cancel()},actions:{move:Eo}});return(0,Ae.Z)({},xi,{move:Eo})}function Qa(){var Ur={moveUp:function(){return ia(on)},moveRight:function(){return ia(wn)},moveDown:function(){return ia(cn)},moveLeft:function(){return ia(Ln)}};return fa({liftActionArgs:{id:pe,clientSelection:Ss(qe),movementMode:"SNAP"},cleanup:_n,actions:Ur})}function or(){var Ur=mo({expected:"PRE_DRAG",phase:Ve,isLockActive:Zt,shouldWarn:!0});Ur&&ne.release()}var no={isActive:function(){return mo({expected:"PRE_DRAG",phase:Ve,isLockActive:Zt,shouldWarn:!1})},shouldRespectForcePress:lt,fluidLift:ka,snapLift:Qa,abort:or};return no}var Ll=[ro,Gl,hs];function su(ee){var ne=ee.contextId,re=ee.store,de=ee.registry,ve=ee.customSensors,pe=ee.enableDefaultSensors,ye=[].concat(pe?Ll:[],ve||[]),Fe=(0,b.useState)(function(){return Nr()})[0],Ze=rn(function(ka,Qa){ka.isDragging&&!Qa.isDragging&&Fe.tryAbandon()},[Fe]);Kt(function(){var ka=re.getState(),Qa=re.subscribe(function(){var or=re.getState();Ze(ka,or),ka=or});return Qa},[Fe,re,Ze]),Kt(function(){return Fe.tryAbandon},[Fe.tryAbandon]);var $e=rn(function(fa){return Do({lockAPI:Fe,registry:de,store:re,draggableId:fa})},[Fe,de,re]),qe=rn(function(fa,ka,Qa){return _i({lockAPI:Fe,registry:de,contextId:ne,store:re,draggableId:fa,forceSensorStop:ka,sourceEvent:Qa&&Qa.sourceEvent?Qa.sourceEvent:null})},[ne,Fe,de,re]),je=rn(function(fa){return oo(ne,fa)},[ne]),Ve=rn(function(fa){var ka=de.draggable.findById(fa);return ka?ka.options:null},[de.draggable]),lt=rn(function(){Fe.isClaimed()&&(Fe.tryAbandon(),re.getState().phase!=="IDLE"&&re.dispatch(Dt()))},[Fe,re]),Zt=rn(Fe.isClaimed,[Fe]),Jn=En(function(){return{canGetLock:$e,tryGetLock:qe,findClosestDraggableId:je,findOptionsForDraggable:Ve,tryReleaseLock:lt,isLockClaimed:Zt}},[$e,qe,je,Ve,lt,Zt]);au(ye);for(var ia=0;ia=zn||Math.abs(ne.y-ee.y)>=zn}var rr={type:"IDLE"};function yr(ee){var ne=ee.cancel,re=ee.completed,de=ee.getPhase,ve=ee.setPhase;return[{eventName:"mousemove",fn:function(ye){var Fe=ye.button,Ze=ye.clientX,$e=ye.clientY;if(Fe===en){var Xe={x:Ze,y:$e},je=de();if(je.type==="DRAGGING"){ye.preventDefault(),je.actions.move(Xe);return}je.type!=="PENDING"&&zt(!1);var Ve=je.point;if(Gr(Ve,Xe)){ye.preventDefault();var lt=je.actions.fluidLift(Xe);ve({type:"DRAGGING",actions:lt})}}}},{eventName:"mouseup",fn:function(ye){var Fe=de();if(Fe.type!=="DRAGGING"){ne();return}ye.preventDefault(),Fe.actions.drop({shouldBlockNextClick:!0}),re()}},{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===Vo){ye.preventDefault(),ne();return}Vl(ye)}},{eventName:"resize",fn:ne},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){de().type==="PENDING"&&ne()}},{eventName:"webkitmouseforcedown",fn:function(ye){var Fe=de();if(Fe.type==="IDLE"&&zt(!1),Fe.actions.shouldRespectForcePress()){ne();return}ye.preventDefault()}},{eventName:mu,fn:ne}]}function ao(ee){var ne=(0,b.useRef)(rr),re=(0,b.useRef)(Tn),de=Pn(function(){return{eventName:"mousedown",fn:function(je){if(!je.defaultPrevented&&je.button===en&&!(je.ctrlKey||je.metaKey||je.shiftKey||je.altKey)){var Ve=ee.findClosestDraggableId(je);if(Ve){var lt=ee.tryGetLock(Ve,ye,{sourceEvent:je});if(lt){je.preventDefault();var Tt={x:je.clientX,y:je.clientY};re.current(),$e(lt,Tt)}}}}}},[ee]),ve=Pn(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(je){if(!je.defaultPrevented){var Ve=ee.findClosestDraggableId(je);if(Ve){var lt=ee.findOptionsForDraggable(Ve);lt&&(lt.shouldRespectForcePress||ee.canGetLock(Ve)&&je.preventDefault())}}}}},[ee]),pe=an(function(){var je={passive:!1,capture:!0};re.current=La(window,[ve,de],je)},[ve,de]),ye=an(function(){var Xe=ne.current;Xe.type!=="IDLE"&&(ne.current=rr,re.current(),pe())},[pe]),Fe=an(function(){var Xe=ne.current;ye(),Xe.type==="DRAGGING"&&Xe.actions.cancel({shouldBlockNextClick:!0}),Xe.type==="PENDING"&&Xe.actions.abort()},[ye]),Ze=an(function(){var je={capture:!0,passive:!1},Ve=yr({cancel:Fe,completed:ye,getPhase:function(){return ne.current},setPhase:function(Tt){ne.current=Tt}});re.current=La(window,Ve,je)},[Fe,ye]),$e=an(function(je,Ve){ne.current.type!=="IDLE"&&zt(!1),ne.current={type:"PENDING",point:Ve,actions:je},Ze()},[Ze]);Zt(function(){return pe(),function(){re.current()}},[pe])}var Go;function To(){}var Yi=(Go={},Go[Ai]=!0,Go[Qi]=!0,Go[wl]=!0,Go[Tl]=!0,Go);function Pi(ee,ne){function re(){ne(),ee.cancel()}function de(){ne(),ee.drop()}return[{eventName:"keydown",fn:function(pe){if(pe.keyCode===Vo){pe.preventDefault(),re();return}if(pe.keyCode===Ui){pe.preventDefault(),de();return}if(pe.keyCode===no){pe.preventDefault(),ee.moveDown();return}if(pe.keyCode===vi){pe.preventDefault(),ee.moveUp();return}if(pe.keyCode===Zl){pe.preventDefault(),ee.moveRight();return}if(pe.keyCode===El){pe.preventDefault(),ee.moveLeft();return}if(Yi[pe.keyCode]){pe.preventDefault();return}Vl(pe)}},{eventName:"mousedown",fn:re},{eventName:"mouseup",fn:re},{eventName:"click",fn:re},{eventName:"touchstart",fn:re},{eventName:"resize",fn:re},{eventName:"wheel",fn:re,options:{passive:!0}},{eventName:mu,fn:re}]}function Gl(ee){var ne=(0,b.useRef)(To),re=Pn(function(){return{eventName:"keydown",fn:function(pe){if(pe.defaultPrevented||pe.keyCode!==Ui)return;var ye=ee.findClosestDraggableId(pe);if(!ye)return;var Fe=ee.tryGetLock(ye,Xe,{sourceEvent:pe});if(!Fe)return;pe.preventDefault();var Ze=!0,$e=Fe.snapLift();ne.current();function Xe(){Ze||zt(!1),Ze=!1,ne.current(),de()}ne.current=La(window,Pi($e,Xe),{capture:!0,passive:!1})}}},[ee]),de=an(function(){var pe={passive:!1,capture:!0};ne.current=La(window,[re],pe)},[re]);Zt(function(){return de(),function(){ne.current()}},[de])}var Wl={type:"IDLE"},qu=120,vs=.15;function ps(ee){var ne=ee.cancel,re=ee.getPhase;return[{eventName:"orientationchange",fn:ne},{eventName:"resize",fn:ne},{eventName:"contextmenu",fn:function(ve){ve.preventDefault()}},{eventName:"keydown",fn:function(ve){if(re().type!=="DRAGGING"){ne();return}ve.keyCode===Vo&&ve.preventDefault(),ne()}},{eventName:mu,fn:ne}]}function jl(ee){var ne=ee.cancel,re=ee.completed,de=ee.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(pe){var ye=de();if(ye.type!=="DRAGGING"){ne();return}ye.hasMoved=!0;var Fe=pe.touches[0],Ze=Fe.clientX,$e=Fe.clientY,Xe={x:Ze,y:$e};pe.preventDefault(),ye.actions.move(Xe)}},{eventName:"touchend",fn:function(pe){var ye=de();if(ye.type!=="DRAGGING"){ne();return}pe.preventDefault(),ye.actions.drop({shouldBlockNextClick:!0}),re()}},{eventName:"touchcancel",fn:function(pe){if(de().type!=="DRAGGING"){ne();return}pe.preventDefault(),ne()}},{eventName:"touchforcechange",fn:function(pe){var ye=de();ye.type==="IDLE"&&zt(!1);var Fe=pe.touches[0];if(Fe){var Ze=Fe.force>=vs;if(Ze){var $e=ye.actions.shouldRespectForcePress();if(ye.type==="PENDING"){$e&&ne();return}if($e){if(ye.hasMoved){pe.preventDefault();return}ne();return}pe.preventDefault()}}}},{eventName:mu,fn:ne}]}function hs(ee){var ne=(0,b.useRef)(Wl),re=(0,b.useRef)(Tn),de=an(function(){return ne.current},[]),ve=an(function(lt){ne.current=lt},[]),pe=Pn(function(){return{eventName:"touchstart",fn:function(lt){if(!lt.defaultPrevented){var Tt=ee.findClosestDraggableId(lt);if(Tt){var Xn=ee.tryGetLock(Tt,Fe,{sourceEvent:lt});if(Xn){var la=lt.touches[0],fa=la.clientX,ka=la.clientY,Qa={x:fa,y:ka};re.current(),je(Xn,Qa)}}}}}},[ee]),ye=an(function(){var lt={capture:!0,passive:!1};re.current=La(window,[pe],lt)},[pe]),Fe=an(function(){var Ve=ne.current;Ve.type!=="IDLE"&&(Ve.type==="PENDING"&&clearTimeout(Ve.longPressTimerId),ve(Wl),re.current(),ye())},[ye,ve]),Ze=an(function(){var Ve=ne.current;Fe(),Ve.type==="DRAGGING"&&Ve.actions.cancel({shouldBlockNextClick:!0}),Ve.type==="PENDING"&&Ve.actions.abort()},[Fe]),$e=an(function(){var lt={capture:!0,passive:!1},Tt={cancel:Ze,completed:Fe,getPhase:de},Xn=La(window,jl(Tt),lt),la=La(window,ps(Tt),lt);re.current=function(){Xn(),la()}},[Ze,de,Fe]),Xe=an(function(){var lt=de();lt.type!=="PENDING"&&zt(!1);var Tt=lt.actions.fluidLift(lt.point);ve({type:"DRAGGING",actions:Tt,hasMoved:!1})},[de,ve]),je=an(function(lt,Tt){de().type!=="IDLE"&&zt(!1);var Xn=setTimeout(Xe,qu);ve({type:"PENDING",point:Tt,actions:lt,longPressTimerId:Xn}),$e()},[$e,de,ve,Xe]);Zt(function(){return ye(),function(){re.current();var Tt=de();Tt.type==="PENDING"&&(clearTimeout(Tt.longPressTimerId),ve(Wl))}},[de,ye,ve]),Zt(function(){var lt=La(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return lt},[])}function au(ee){}var Zu={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Ul(ee,ne){if(ne==null)return!1;var re=!!Zu[ne.tagName.toLowerCase()];if(re)return!0;var de=ne.getAttribute("contenteditable");return de==="true"||de===""?!0:ne===ee?!1:Ul(ee,ne.parentElement)}function $u(ee,ne){var re=ne.target;return Er(re)?Ul(ee,re):!1}var Ss=function(ee){return pa(ee.getBoundingClientRect()).center};function es(ee){return ee instanceof Cr(ee).Element}var Gu=function(){var ee="matches";if(typeof document=="undefined")return ee;var ne=[ee,"msMatchesSelector","webkitMatchesSelector"],re=Hr(ne,function(de){return de in Element.prototype});return re||ee}();function ts(ee,ne){return ee==null?null:ee[Gu](ne)?ee:ts(ee.parentElement,ne)}function Kn(ee,ne){return ee.closest?ee.closest(ne):ts(ee,ne)}function Ja(ee){return"["+Bn.contextId+'="'+ee+'"]'}function Ir(ee,ne){var re=ne.target;if(!es(re))return null;var de=Ja(ee),ve=Kn(re,de);return!ve||!Er(ve)?null:ve}function ro(ee,ne){var re=Ir(ee,ne);return re?re.getAttribute(Bn.draggableId):null}function Xr(ee,ne){var re="["+qe.contextId+'="'+ee+'"]',de=ur(document.querySelectorAll(re)),ve=Hr(de,function(pe){return pe.getAttribute(qe.id)===ne});return!ve||!Er(ve)?null:ve}function xr(ee){ee.preventDefault()}function co(ee){var ne=ee.expected,re=ee.phase,de=ee.isLockActive,ve=ee.shouldWarn;return!(!de()||ne!==re)}function Do(ee){var ne=ee.lockAPI,re=ee.store,de=ee.registry,ve=ee.draggableId;if(ne.isClaimed())return!1;var pe=de.draggable.findById(ve);return!(!pe||!pe.options.isEnabled||!Ci(re.getState(),ve))}function Zi(ee){var ne=ee.lockAPI,re=ee.contextId,de=ee.store,ve=ee.registry,pe=ee.draggableId,ye=ee.forceSensorStop,Fe=ee.sourceEvent,Ze=Do({lockAPI:ne,store:de,registry:ve,draggableId:pe});if(!Ze)return null;var $e=ve.draggable.getById(pe),Xe=Xr(re,$e.descriptor.id);if(!Xe||Fe&&!$e.options.canDragInteractiveElements&&$u(Xe,Fe))return null;var je=ne.claim(ye||Tn),Ve="PRE_DRAG";function lt(){return $e.options.shouldRespectForcePress}function Tt(){return ne.isActive(je)}function Xn(Ur,So){co({expected:Ur,phase:Ve,isLockActive:Tt,shouldWarn:!0})&&de.dispatch(So())}var la=Xn.bind(null,"DRAGGING");function fa(Ur){function So(){ne.release(),Ve="COMPLETED"}Ve!=="PRE_DRAG"&&(So(),Ve!=="PRE_DRAG"&&zt(!1)),de.dispatch(ge(Ur.liftActionArgs)),Ve="DRAGGING";function xi(bo,Di){if(Di===void 0&&(Di={shouldBlockNextClick:!1}),Ur.cleanup(),Di.shouldBlockNextClick){var ll=La(window,[{eventName:"click",fn:xr,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(ll)}So(),de.dispatch(on({reason:bo}))}return(0,Ae.Z)({isActive:function(){return co({expected:"DRAGGING",phase:Ve,isLockActive:Tt,shouldWarn:!1})},shouldRespectForcePress:lt,drop:function(Di){return xi("DROP",Di)},cancel:function(Di){return xi("CANCEL",Di)}},Ur.actions)}function ka(Ur){var So=Kt(function(bo){la(function(){return wt({client:bo})})}),xi=fa({liftActionArgs:{id:pe,clientSelection:Ur,movementMode:"FLUID"},cleanup:function(){return So.cancel()},actions:{move:So}});return(0,Ae.Z)({},xi,{move:So})}function Qa(){var Ur={moveUp:function(){return la(rn)},moveRight:function(){return la(Nn)},moveDown:function(){return la(dn)},moveLeft:function(){return la(In)}};return fa({liftActionArgs:{id:pe,clientSelection:Ss(Xe),movementMode:"SNAP"},cleanup:Tn,actions:Ur})}function or(){var Ur=co({expected:"PRE_DRAG",phase:Ve,isLockActive:Tt,shouldWarn:!0});Ur&&ne.release()}var to={isActive:function(){return co({expected:"PRE_DRAG",phase:Ve,isLockActive:Tt,shouldWarn:!1})},shouldRespectForcePress:lt,fluidLift:ka,snapLift:Qa,abort:or};return to}var Ll=[ao,Gl,hs];function su(ee){var ne=ee.contextId,re=ee.store,de=ee.registry,ve=ee.customSensors,pe=ee.enableDefaultSensors,ye=[].concat(pe?Ll:[],ve||[]),Fe=(0,b.useState)(function(){return Nr()})[0],Ze=an(function(ka,Qa){ka.isDragging&&!Qa.isDragging&&Fe.tryAbandon()},[Fe]);Zt(function(){var ka=re.getState(),Qa=re.subscribe(function(){var or=re.getState();Ze(ka,or),ka=or});return Qa},[Fe,re,Ze]),Zt(function(){return Fe.tryAbandon},[Fe.tryAbandon]);var $e=an(function(fa){return Do({lockAPI:Fe,registry:de,store:re,draggableId:fa})},[Fe,de,re]),Xe=an(function(fa,ka,Qa){return Zi({lockAPI:Fe,registry:de,contextId:ne,store:re,draggableId:fa,forceSensorStop:ka,sourceEvent:Qa&&Qa.sourceEvent?Qa.sourceEvent:null})},[ne,Fe,de,re]),je=an(function(fa){return ro(ne,fa)},[ne]),Ve=an(function(fa){var ka=de.draggable.findById(fa);return ka?ka.options:null},[de.draggable]),lt=an(function(){Fe.isClaimed()&&(Fe.tryAbandon(),re.getState().phase!=="IDLE"&&re.dispatch(Dt()))},[Fe,re]),Tt=an(Fe.isClaimed,[Fe]),Xn=Pn(function(){return{canGetLock:$e,tryGetLock:Xe,findClosestDraggableId:je,findOptionsForDraggable:Ve,tryReleaseLock:lt,isLockClaimed:Tt}},[$e,Xe,je,Ve,lt,Tt]);au(ye);for(var la=0;laFu(Ie))}`),se.length&&this.log(`Removed events ${se}`),thi `).split(` `),j=[],se=t?ws(t.baseTime,t.timescale):0;let ce="00:00.000",xe=0,Ie=0,Oe,tt=!0;z.oncue=function(at){const Bt=n[o];let hr=n.ccOffset;const ar=(xe-se)/9e4;if(Bt!=null&&Bt.new&&(Ie!==void 0?hr=n.ccOffset=Bt.start:qc(n,o,ar)),ar){if(!t){Oe=new Error("Missing initPTS for VTT MPEGTS");return}hr=ar-n.presentationOffset}const zr=at.endTime-at.startTime,Wr=za((at.startTime+hr-Ie)*9e4,m*9e4)/9e4;at.startTime=Math.max(Wr,0),at.endTime=Math.max(Wr+zr,0);const dn=at.text.trim();at.text=decodeURIComponent(encodeURIComponent(dn)),at.id||(at.id=Ll(at.startTime,at.endTime,dn)),at.endTime>0&&j.push(at)},z.onparsingerror=function(at){Oe=at},z.onflush=function(){if(Oe){T(Oe);return}E(j)},H.forEach(at=>{if(tt)if(Vu(at,"X-TIMESTAMP-MAP=")){tt=!1,at.slice(16).split(",").forEach(Bt=>{Vu(Bt,"LOCAL:")?ce=Bt.slice(6):Vu(Bt,"MPEGTS:")&&(xe=parseInt(Bt.slice(7)))});try{Ie=Qc(ce)/1e3}catch(Bt){Oe=Bt}return}else at===""&&(tt=!1);z.parse(at+` `)}),z.flush()}const $u="stpp.ttml.im1t",El=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,rc=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,Cu={left:"start",center:"center",right:"end",start:"start",end:"end"};function nc(P,t,n,o){const m=yt(new Uint8Array(P),["mdat"]);if(m.length===0){o(new Error("Could not parse IMSC1 mdat"));return}const E=m.map(z=>q(z)),T=is(t.baseTime,1,t.timescale);try{E.forEach(z=>n(Ml(z,T)))}catch(z){o(z)}}function Ml(P,t){const m=new DOMParser().parseFromString(P,"text/xml").getElementsByTagName("tt")[0];if(!m)throw new Error("Invalid ttml");const E={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},T=Object.keys(E).reduce((ce,xe)=>(ce[xe]=m.getAttribute(`ttp:${xe}`)||E[xe],ce),{}),z=m.getAttribute("xml:space")!=="preserve",H=Kn(Tn(m,"styling","style")),j=Kn(Tn(m,"layout","region")),se=Tn(m,"body","[begin]");return[].map.call(se,ce=>{const xe=Ni(ce,z);if(!xe||!ce.hasAttribute("begin"))return null;const Ie=ha(ce.getAttribute("begin"),T),Oe=ha(ce.getAttribute("dur"),T);let tt=ha(ce.getAttribute("end"),T);if(Ie===null)throw ua(ce);if(tt===null){if(Oe===null)throw ua(ce);tt=Ie+Oe}const at=new Rl(Ie-t,tt-t,xe);at.id=Ll(at.startTime,at.endTime,at.text);const Bt=j[ce.getAttribute("region")],hr=H[ce.getAttribute("style")],ar=Ea(Bt,hr,H),{textAlign:zr}=ar;if(zr){const Wr=Cu[zr];Wr&&(at.lineAlign=Wr),at.align=zr}return y(at,ar),at}).filter(ce=>ce!==null)}function Tn(P,t,n){const o=P.getElementsByTagName(t)[0];return o?[].slice.call(o.querySelectorAll(n)):[]}function Kn(P){return P.reduce((t,n)=>{const o=n.getAttribute("xml:id");return o&&(t[o]=n),t},{})}function Ni(P,t){return[].slice.call(P.childNodes).reduce((n,o,m)=>{var E;return o.nodeName==="br"&&m?n+` -`:(E=o.childNodes)!=null&&E.length?Ni(o,t):t?n+o.textContent.trim().replace(/\s+/g," "):n+o.textContent},"")}function Ea(P,t,n){const o="http://www.w3.org/ns/ttml#styling";let m=null;const E=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],T=P!=null&&P.hasAttribute("style")?P.getAttribute("style"):null;return T&&n.hasOwnProperty(T)&&(m=n[T]),E.reduce((z,H)=>{const j=Zi(t,o,H)||Zi(P,o,H)||Zi(m,o,H);return j&&(z[H]=j),z},{})}function Zi(P,t,n){return P&&P.hasAttributeNS(t,n)?P.getAttributeNS(t,n):null}function ua(P){return new Error(`Could not parse ttml timestamp ${P}`)}function ha(P,t){if(!P)return null;let n=Ws(P);return n===null&&(El.test(P)?n=vs(P,t):rc.test(P)&&(n=Ki(P,t))),n}function vs(P,t){const n=El.exec(P),o=(n[4]|0)+(n[5]|0)/t.subFrameRate;return(n[1]|0)*3600+(n[2]|0)*60+(n[3]|0)+o/t.frameRate}function Ki(P,t){const n=rc.exec(P),o=Number(n[1]);switch(n[2]){case"h":return o*3600;case"m":return o*60;case"ms":return o*1e3;case"f":return o/t.frameRate;case"t":return o/t.tickRate}return o}class es{constructor(t,n){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=t,this.trackName=n}dispatchCue(){this.startTime!==null&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)}newCue(t,n,o){(this.startTime===null||this.startTime>t)&&(this.startTime=t),this.endTime=n,this.screen=o,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}class Ku{constructor(t){this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=ll(),this.captionsProperties=void 0,this.hls=t,this.config=t.config,this.Cues=t.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},t.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(s.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(s.FRAG_LOADING,this.onFragLoading,this),t.on(s.FRAG_LOADED,this.onFragLoaded,this),t.on(s.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.on(s.FRAG_DECRYPTED,this.onFragDecrypted,this),t.on(s.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(s.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.on(s.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:t}=this;t.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(s.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(s.FRAG_LOADING,this.onFragLoading,this),t.off(s.FRAG_LOADED,this.onFragLoaded,this),t.off(s.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.off(s.FRAG_DECRYPTED,this.onFragDecrypted,this),t.off(s.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(s.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.off(s.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const t=new es(this,"textTrack1"),n=new es(this,"textTrack2"),o=new es(this,"textTrack3"),m=new es(this,"textTrack4");this.cea608Parser1=new bc(1,t,n),this.cea608Parser2=new bc(3,o,m)}addCues(t,n,o,m,E){let T=!1;for(let z=E.length;z--;){const H=E[z],j=ul(H[0],H[1],n,o);if(j>=0&&(H[0]=Math.min(H[0],n),H[1]=Math.max(H[1],o),T=!0,j/(o-n)>.5))return}if(T||E.push([n,o]),this.config.renderTextTracksNatively){const z=this.captionsTracks[t];this.Cues.newCue(z,n,o,m)}else{const z=this.Cues.newCue(null,n,o,m);this.hls.trigger(s.CUES_PARSED,{type:"captions",cues:z,track:t})}}onInitPtsFound(t,{frag:n,id:o,initPTS:m,timescale:E}){const{unparsedVttFrags:T}=this;o===u.MAIN&&(this.initPTS[n.cc]={baseTime:m,timescale:E}),T.length&&(this.unparsedVttFrags=[],T.forEach(z=>{this.onFragLoaded(s.FRAG_LOADED,z)}))}getExistingTrack(t,n){const{media:o}=this;if(o)for(let m=0;m{Mu(m[E]),delete m[E]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=ll(),this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:t}=this;if(!t)return;const n=t.textTracks;if(n)for(let o=0;oE.textCodec===$u);if(this.config.enableWebVTT||m&&this.config.enableIMSC1){if(oc(this.tracks,o)){this.tracks=o;return}if(this.textTracks=[],this.tracks=o,this.config.renderTextTracksNatively){const T=this.media,z=T?Dc(T.textTracks):null;if(this.tracks.forEach((H,j)=>{let se;if(z){let ce=null;for(let xe=0;xej!==null).map(j=>j.label);H.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${H.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const T=this.tracks.map(z=>({label:z.name,kind:z.type.toLowerCase(),default:z.default,subtitleTrack:z}));this.hls.trigger(s.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:T})}}}onManifestLoaded(t,n){this.config.enableCEA708Captions&&n.captions&&n.captions.forEach(o=>{const m=/(?:CC|SERVICE)([1-4])/.exec(o.instreamId);if(!m)return;const E=`textTrack${m[1]}`,T=this.captionsProperties[E];T&&(T.label=o.name,o.lang&&(T.languageCode=o.lang),T.media=o)})}closedCaptionsForLevel(t){const n=this.hls.levels[t.level];return n==null?void 0:n.attrs["CLOSED-CAPTIONS"]}onFragLoading(t,n){if(this.enabled&&n.frag.type===u.MAIN){var o,m;const{cea608Parser1:E,cea608Parser2:T,lastSn:z}=this,{cc:H,sn:j}=n.frag,se=(o=(m=n.part)==null?void 0:m.index)!=null?o:-1;E&&T&&(j!==z+1||j===z&&se!==this.lastPartIndex+1||H!==this.lastCc)&&(E.reset(),T.reset()),this.lastCc=H,this.lastSn=j,this.lastPartIndex=se}}onFragLoaded(t,n){const{frag:o,payload:m}=n;if(o.type===u.SUBTITLE)if(m.byteLength){const E=o.decryptdata,T="stats"in n;if(E==null||!E.encrypted||T){const z=this.tracks[o.level],H=this.vttCCs;H[o.cc]||(H[o.cc]={start:o.start,prevCC:this.prevCC,new:!0},this.prevCC=o.cc),z&&z.textCodec===$u?this._parseIMSC1(o,m):this._parseVTTs(n)}}else this.hls.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:o,error:new Error("Empty subtitle payload")})}_parseIMSC1(t,n){const o=this.hls;nc(n,this.initPTS[t.cc],m=>{this._appendCues(m,t.level),o.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},m=>{o.logger.log(`Failed to parse IMSC1: ${m}`),o.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:m})})}_parseVTTs(t){var n;const{frag:o,payload:m}=t,{initPTS:E,unparsedVttFrags:T}=this,z=E.length-1;if(!E[o.cc]&&z===-1){T.push(t);return}const H=this.hls,j=(n=o.initSegment)!=null&&n.data?Gt(o.initSegment.data,new Uint8Array(m)).buffer:m;hu(j,this.initPTS[o.cc],this.vttCCs,o.cc,o.start,se=>{this._appendCues(se,o.level),H.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:o})},se=>{const ce=se.message==="Missing initPTS for VTT MPEGTS";ce?T.push(t):this._fallbackToIMSC1(o,m),H.logger.log(`Failed to parse VTT cue: ${se}`),!(ce&&z>o.cc)&&H.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:o,error:se})})}_fallbackToIMSC1(t,n){const o=this.tracks[t.level];o.textCodec||nc(n,this.initPTS[t.cc],()=>{o.textCodec=$u,this._parseIMSC1(t,n)},()=>{o.textCodec="wvtt"})}_appendCues(t,n){const o=this.hls;if(this.config.renderTextTracksNatively){const m=this.textTracks[n];if(!m||m.mode==="disabled")return;t.forEach(E=>vc(m,E))}else{const m=this.tracks[n];if(!m)return;const E=m.default?"default":"subtitles"+n;o.trigger(s.CUES_PARSED,{type:"subtitles",cues:t,track:E})}}onFragDecrypted(t,n){const{frag:o}=n;o.type===u.SUBTITLE&&this.onFragLoaded(s.FRAG_LOADED,n)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(t,n){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:o,samples:m}=n;if(!(o.type===u.MAIN&&this.closedCaptionsForLevel(o)==="NONE"))for(let E=0;EZo(z[H],n,o))}if(this.config.renderTextTracksNatively&&n===0&&m!==void 0){const{textTracks:z}=this;Object.keys(z).forEach(H=>Zo(z[H],n,m))}}}extractCea608Data(t){const n=[[],[]],o=t[0]&31;let m=2;for(let E=0;E=16?H--:H++;const Ie=ol(j.trim()),Oe=Ll(t,n,Ie);P!=null&&(ce=P.cues)!=null&&ce.getCueById(Oe)||(T=new se(t,n,Ie),T.id=Oe,T.line=xe+1,T.align="left",T.position=10+Math.min(80,Math.floor(H*8/32)*10),m.push(T))}return P&&m.length&&(m.sort((xe,Ie)=>xe.line==="auto"||Ie.line==="auto"?0:xe.line>8&&Ie.line>8?Ie.line-xe.line:xe.line-Ie.line),m.forEach(xe=>vc(P,xe))),m}};function Fl(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(P){}return!1}const Sf=/(\d+)-(\d+)\/(\d+)/;class xc{constructor(t){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=null,this.response=null,this.controller=void 0,this.context=null,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=t.fetchSetup||Of,this.controller=new self.AbortController,this.stats=new F}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(t,n,o){const m=this.stats;if(m.loading.start)throw new Error("Loader can only be used once.");m.loading.start=self.performance.now();const E=Jc(t,this.controller.signal),T=t.responseType==="arraybuffer",z=T?"byteLength":"length",{maxTimeToFirstByteMs:H,maxLoadTimeMs:j}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=o,this.request=this.fetchSetup(t,E),self.clearTimeout(this.requestTimeout),n.timeout=H&&r(H)?H:j,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},n.timeout),(Iu(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(ce=>{var xe;this.response=this.loader=ce;const Ie=Math.max(self.performance.now(),m.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=j,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},j-(Ie-m.loading.start)),!ce.ok){const{status:tt,statusText:at}=ce;throw new Xu(at||"fetch, bad network response",tt,ce)}m.loading.first=Ie,m.total=cl(ce.headers)||m.total;const Oe=(xe=this.callbacks)==null?void 0:xe.onProgress;return Oe&&r(n.highWaterMark)?this.loadProgressively(ce,m,t,n.highWaterMark,Oe):T?ce.arrayBuffer():t.responseType==="json"?ce.json():ce.text()}).then(ce=>{var xe,Ie;const Oe=this.response;if(!Oe)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),m.loading.end=Math.max(self.performance.now(),m.loading.first);const tt=ce[z];tt&&(m.loaded=m.total=tt);const at={url:Oe.url,data:ce,code:Oe.status},Bt=(xe=this.callbacks)==null?void 0:xe.onProgress;Bt&&!r(n.highWaterMark)&&Bt(m,t,ce,Oe),(Ie=this.callbacks)==null||Ie.onSuccess(at,m,t,Oe)}).catch(ce=>{var xe;if(self.clearTimeout(this.requestTimeout),m.aborted)return;const Ie=ce&&ce.code||0,Oe=ce?ce.message:null;(xe=this.callbacks)==null||xe.onError({code:Ie,text:Oe},t,ce?ce.details:null,m)})}getCacheAge(){let t=null;if(this.response){const n=this.response.headers.get("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.response?this.response.headers.get(t):null}loadProgressively(t,n,o,m=0,E){const T=new fi,z=t.body.getReader(),H=()=>z.read().then(j=>{if(j.done)return T.dataLength&&E(n,o,T.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const se=j.value,ce=se.length;return n.loaded+=ce,ce=m&&E(n,o,T.flush().buffer,t)):E(n,o,se.buffer,t),H()}).catch(()=>Promise.reject());return H()}}function Jc(P,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},P.headers))};return P.rangeEnd&&n.headers.set("Range","bytes="+P.rangeStart+"-"+String(P.rangeEnd-1)),n}function hf(P){const t=Sf.exec(P);if(t)return parseInt(t[2])-parseInt(t[1])+1}function cl(P){const t=P.get("Content-Range");if(t){const o=hf(t);if(r(o))return o}const n=P.get("Content-Length");if(n)return parseInt(n)}function Of(P,t){return new self.Request(P.url,t)}class Xu extends Error{constructor(t,n,o){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=o}}const Lc=/^age:\s*[\d.]+\s*$/im;class ef{constructor(t){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=t&&t.xhrSetup||null,this.stats=new F,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const t=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),t&&(t.onreadystatechange=null,t.onprogress=null,t.readyState!==4&&(this.stats.aborted=!0,t.abort()))}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(t,n,o){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=t,this.config=n,this.callbacks=o,this.loadInternal()}loadInternal(){const{config:t,context:n}=this;if(!t||!n)return;const o=this.loader=new self.XMLHttpRequest,m=this.stats;m.loading.first=0,m.loaded=0,m.aborted=!1;const E=this.xhrSetup;E?Promise.resolve().then(()=>{if(!(this.loader!==o||this.stats.aborted))return E(o,n.url)}).catch(T=>{if(!(this.loader!==o||this.stats.aborted))return o.open("GET",n.url,!0),E(o,n.url)}).then(()=>{this.loader!==o||this.stats.aborted||this.openAndSendXhr(o,n,t)}).catch(T=>{var z;(z=this.callbacks)==null||z.onError({code:o.status,text:T.message},n,o,m)}):this.openAndSendXhr(o,n,t)}openAndSendXhr(t,n,o){t.readyState||t.open("GET",n.url,!0);const m=n.headers,{maxTimeToFirstByteMs:E,maxLoadTimeMs:T}=o.loadPolicy;if(m)for(const z in m)t.setRequestHeader(z,m[z]);n.rangeEnd&&t.setRequestHeader("Range","bytes="+n.rangeStart+"-"+(n.rangeEnd-1)),t.onreadystatechange=this.readystatechange.bind(this),t.onprogress=this.loadprogress.bind(this),t.responseType=n.responseType,self.clearTimeout(this.requestTimeout),o.timeout=E&&r(E)?E:T,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),o.timeout),t.send()}readystatechange(){const{context:t,loader:n,stats:o}=this;if(!t||!n)return;const m=n.readyState,E=this.config;if(!o.aborted&&m>=2&&(o.loading.first===0&&(o.loading.first=Math.max(self.performance.now(),o.loading.start),E.timeout!==E.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),E.timeout=E.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),E.loadPolicy.maxLoadTimeMs-(o.loading.first-o.loading.start)))),m===4)){self.clearTimeout(this.requestTimeout),n.onreadystatechange=null,n.onprogress=null;const j=n.status,se=n.responseType==="text"?n.responseText:null;if(j>=200&&j<300){const Oe=se!=null?se:n.response;if(Oe!=null){var T,z;o.loading.end=Math.max(self.performance.now(),o.loading.first);const tt=n.responseType==="arraybuffer"?Oe.byteLength:Oe.length;o.loaded=o.total=tt,o.bwEstimate=o.total*8e3/(o.loading.end-o.loading.first);const at=(T=this.callbacks)==null?void 0:T.onProgress;at&&at(o,t,Oe,n);const Bt={url:n.responseURL,data:Oe,code:j};(z=this.callbacks)==null||z.onSuccess(Bt,o,t,n);return}}const ce=E.loadPolicy.errorRetry,xe=o.retry,Ie={url:t.url,data:void 0,code:j};if(He(ce,xe,!1,Ie))this.retry(ce);else{var H;G.error(`${j} while loading ${t.url}`),(H=this.callbacks)==null||H.onError({code:j,text:n.statusText},t,n,o)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,n=this.stats.retry;if(He(t,n,!0))this.retry(t);else{var o;G.warn(`timeout while loading ${(o=this.context)==null?void 0:o.url}`);const m=this.callbacks;m&&(this.abortInternal(),m.onTimeout(this.stats,this.context,this.loader))}}retry(t){const{context:n,stats:o}=this;this.retryDelay=Ir(t,o.retry),o.retry++,G.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${n==null?void 0:n.url}, retrying ${o.retry}/${t.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(t){const n=this.stats;n.loaded=t.loaded,t.lengthComputable&&(n.total=t.total)}getCacheAge(){let t=null;if(this.loader&&Lc.test(this.loader.getAllResponseHeaders())){const n=this.loader.getResponseHeader("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.loader&&new RegExp(`^${t}:\\s*[\\d.]+\\s*$`,"im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(t):null}}const Ho={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},tf=b(b({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,maxDevicePixelRatio:Number.POSITIVE_INFINITY,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,maxBufferSize:60*1e3*1e3,maxFragLookUpTolerance:.25,maxBufferHole:.1,detectStallWithCurrentTimeMs:1250,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,nudgeOnVideoHole:!0,liveSyncDurationCount:3,liveSyncOnStallIncrease:1,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,ignorePlaylistParsingErrors:!1,loader:ef,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:Gi,bufferController:Hu,capLevelController:cc,errorController:ir,fpsController:nl,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrEwmaDefaultEstimateMax:5e6,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:Fa,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableEmsgKLVMetadata:!1,enableID3MetadataCues:!0,enableInterstitialPlayback:!0,interstitialAppendInPlace:!0,interstitialLiveLookAhead:10,useMediaCapabilities:!0,certLoadPolicy:{default:Ho},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},interstitialAssetListLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:3e4,timeoutRetry:{maxNumRetry:0,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:0,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},pf()),{},{subtitleStreamController:I,subtitleTrackController:Kc,timelineController:Ku,audioStreamController:Zl,audioTrackController:Sc,emeController:Lu,cmcdController:Qo,contentSteeringController:$o,interstitialsController:yc});function pf(){return{cueHandler:wf,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}}function fl(P,t,n){if((t.liveSyncDurationCount||t.liveMaxLatencyDurationCount)&&(t.liveSyncDuration||t.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(t.liveMaxLatencyDurationCount!==void 0&&(t.liveSyncDurationCount===void 0||t.liveMaxLatencyDurationCount<=t.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(t.liveMaxLatencyDuration!==void 0&&(t.liveSyncDuration===void 0||t.liveMaxLatencyDuration<=t.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const o=Bl(P),m=["manifest","level","frag"],E=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return m.forEach(T=>{const z=`${T==="level"?"playlist":T}LoadPolicy`,H=t[z]===void 0,j=[];E.forEach(se=>{const ce=`${T}Loading${se}`,xe=t[ce];if(xe!==void 0&&H){j.push(ce);const Ie=o[z].default;switch(t[z]={default:Ie},se){case"TimeOut":Ie.maxLoadTimeMs=xe,Ie.maxTimeToFirstByteMs=xe;break;case"MaxRetry":Ie.errorRetry.maxNumRetry=xe,Ie.timeoutRetry.maxNumRetry=xe;break;case"RetryDelay":Ie.errorRetry.retryDelayMs=xe,Ie.timeoutRetry.retryDelayMs=xe;break;case"MaxRetryTimeout":Ie.errorRetry.maxRetryDelayMs=xe,Ie.timeoutRetry.maxRetryDelayMs=xe;break}}}),j.length&&n.warn(`hls.js config: "${j.join('", "')}" setting(s) are deprecated, use "${z}": ${zn(t[z])}`)}),b(b({},o),t)}function Bl(P){return P&&typeof P=="object"?Array.isArray(P)?P.map(Bl):Object.keys(P).reduce((t,n)=>(t[n]=Bl(P[n]),t),{}):P}function Wo(P,t){const n=P.loader;n!==xc&&n!==ef?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),P.progressive=!1):Fl()&&(P.loader=xc,P.progressive=!0,P.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const Ec=2,_f=.1,Mc=.05,Fc=100;class mf extends Is{constructor(t,n){super("gap-controller",t.logger),this.hls=null,this.fragmentTracker=null,this.media=null,this.mediaSource=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.buffered={},this.lastCurrentTime=0,this.ended=0,this.waiting=0,this.onMediaPlaying=()=>{this.ended=0,this.waiting=0},this.onMediaWaiting=()=>{var o;(o=this.media)!=null&&o.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{if(this.hls){var o;this.ended=((o=this.media)==null?void 0:o.currentTime)||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!1})}},this.hls=t,this.fragmentTracker=n,this.registerListeners()}registerListeners(){const{hls:t}=this;t&&(t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.BUFFER_APPENDED,this.onBufferAppended,this))}destroy(){super.destroy(),this.unregisterListeners(),this.media=this.hls=this.fragmentTracker=null,this.mediaSource=void 0}onMediaAttached(t,n){this.setInterval(Fc),this.mediaSource=n.mediaSource;const o=this.media=n.media;iu(o,"playing",this.onMediaPlaying),iu(o,"waiting",this.onMediaWaiting),iu(o,"ended",this.onMediaEnded)}onMediaDetaching(t,n){this.clearInterval();const{media:o}=this;o&&(qo(o,"playing",this.onMediaPlaying),qo(o,"waiting",this.onMediaWaiting),qo(o,"ended",this.onMediaEnded),this.media=null),this.mediaSource=void 0}onBufferAppended(t,n){this.buffered=n.timeRanges}get hasBuffered(){return Object.keys(this.buffered).length>0}tick(){var t;if(!((t=this.media)!=null&&t.readyState)||!this.hasBuffered)return;const n=this.media.currentTime;this.poll(n,this.lastCurrentTime),this.lastCurrentTime=n}poll(t,n){var o,m;const E=(o=this.hls)==null?void 0:o.config;if(!E)return;const{media:T,stalled:z}=this;if(!T)return;const{seeking:H}=T,j=this.seeking&&!H,se=!this.seeking&&H,ce=T.paused&&!H||T.ended||T.playbackRate===0;if(this.seeking=H,t!==n){n&&(this.ended=0),this.moved=!0,H||(this.nudgeRetry=0,E.nudgeOnVideoHole&&!ce&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if(se||j){j&&this.stallResolved(t);return}if(ce){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&T.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!1}));return}if(!xi.getBuffered(T).length){this.nudgeRetry=0;return}const xe=xi.bufferInfo(T,t,0),Ie=xe.nextStart||0,Oe=this.fragmentTracker;if(H&&Oe&&this.hls){const dn=Bc(this.hls.inFlightFragments,t),Gr=xe.len>Ec,un=!Ie||dn||Ie-t>Ec&&!Oe.getPartialFragment(t);if(Gr||un)return;this.moved=!1}const tt=(m=this.hls)==null?void 0:m.latestLevelDetails;if(!this.moved&&this.stalled!==null&&Oe){if(!(xe.len>0)&&!Ie)return;const Gr=Math.max(Ie,xe.start||0)-t,mn=!!(tt!=null&&tt.live)?tt.targetduration*2:Ec,Qr=Oe.getPartialFragment(t);if(Gr>0&&(Gr<=mn||Qr)){T.paused||this._trySkipBufferHole(Qr);return}}const at=E.detectStallWithCurrentTimeMs,Bt=self.performance.now(),hr=this.waiting;if(z===null){hr>0&&Bt-hr=at||hr)&&this.hls){var zr;if(((zr=this.mediaSource)==null?void 0:zr.readyState)==="ended"&&!(tt!=null&&tt.live)&&Math.abs(t-((tt==null?void 0:tt.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(xe),!this.media||!this.hls)return}const Wr=xi.bufferInfo(T,t,E.maxBufferHole);this._tryFixBufferStall(Wr,ar)}stallResolved(t){const n=this.stalled;if(n&&this.hls&&(this.stalled=null,this.stallReported)){const o=self.performance.now()-n;this.log(`playback not stuck anymore @${t}, after ${Math.round(o)}ms`),this.stallReported=!1,this.waiting=0,this.hls.trigger(s.STALL_RESOLVED,{})}}nudgeOnVideoHole(t,n){var o;const m=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&(o=this.buffered.audio)!=null&&o.length&&m&&m.length>1&&t>m.end(0)){const E=xi.bufferedInfo(xi.timeRangesToArray(this.buffered.audio),t,0);if(E.len>1&&n>=E.start){const T=xi.timeRangesToArray(m),z=xi.bufferedInfo(T,n,0).bufferedIndex;if(z>-1&&zz)&&se-j<1&&t-j<2){const ce=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${j} -> ${se} buffered index: ${H}`);this.warn(ce.message),this.media.currentTime+=1e-6;const xe=this.fragmentTracker.getPartialFragment(t)||void 0,Ie=xi.bufferInfo(this.media,t,0);this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:ce,reason:ce.message,frag:xe,buffer:Ie.len,bufferInfo:Ie})}}}}}_tryFixBufferStall(t,n){var o,m;const{fragmentTracker:E,media:T}=this,z=(o=this.hls)==null?void 0:o.config;if(!T||!E||!z)return;const H=T.currentTime,j=(m=this.hls)==null?void 0:m.latestLevelDetails,se=E.getPartialFragment(H);if((se||j!=null&&j.live&&H1&&t.len>z.maxBufferHole||t.nextStart&&t.nextStart-Hz.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(t))}_reportStall(t){const{hls:n,media:o,stallReported:m,stalled:E}=this;if(!m&&E!==null&&o&&n){this.stallReported=!0;const T=new Error(`Playback stalling at @${o.currentTime} due to low buffer (${zn(t)})`);this.warn(T.message),n.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:T,buffer:t.len,bufferInfo:t,stalled:{start:E}})}}_trySkipBufferHole(t){var n;const{fragmentTracker:o,media:m}=this,E=(n=this.hls)==null?void 0:n.config;if(!m||!o||!E)return 0;const T=m.currentTime,z=xi.bufferInfo(m,T,0),H=T0&&z.len<1&&m.readyState<3,xe=H-T;if(xe>0&&(se||ce)){if(xe>E.maxBufferHole){let Oe=!1;if(T===0){const tt=o.getAppendedFrag(0,u.MAIN);tt&&H{const P=Nc();try{P&&new P(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();function vf(P){return Uint8Array.from(P.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer}class Hf{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(s.EVENT_CUE_ENTER,{})},this.hls=t,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:t}=this;t.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(s.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}_unregisterListeners(){const{hls:t}=this;t.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(s.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}onMediaAttaching(t,n){var o;this.media=n.media,((o=n.overrides)==null?void 0:o.cueRemoval)===!1&&(this.removeCues=!1)}onMediaAttached(){const t=this.hls.latestLevelDetails;t&&this.updateDateRangeCues(t)}onMediaDetaching(t,n){this.media=null,!n.transferMedia&&(this.id3Track&&(this.removeCues&&Mu(this.id3Track,this.onEventCueEnter),this.id3Track=null),this.dateRangeCuesAppended={})}onManifestLoading(){this.dateRangeCuesAppended={}}createTrack(t){const n=this.getID3Track(t.textTracks);return n.mode="hidden",n}getID3Track(t){if(this.media){for(let n=0;nrf&&(ce=rf),ce-se<=0&&(ce=se+Mf);for(let Ie=0;Iese.type===Se.audioId3&&H:m==="video"?j=se=>se.type===Se.emsg&&z:j=se=>se.type===Se.audioId3&&H||se.type===Se.emsg&&z,Zo(E,n,o,j)}}onLevelUpdated(t,{details:n}){this.updateDateRangeCues(n,!0)}onLevelPtsUpdated(t,n){Math.abs(n.drift)>.01&&this.updateDateRangeCues(n.details)}updateDateRangeCues(t,n){if(!this.media||!t.hasProgramDateTime||!this.hls.config.enableDateRangeMetadataCues)return;const{id3Track:o}=this,{dateRanges:m}=t,E=Object.keys(m);let T=this.dateRangeCuesAppended;if(o&&n){var z;if((z=o.cues)!=null&&z.length){const se=Object.keys(T).filter(ce=>!E.includes(ce));for(let ce=se.length;ce--;){const xe=se[ce],Ie=T[xe].cues;delete T[xe],Object.keys(Ie).forEach(Oe=>{try{const tt=Ie[Oe];tt.removeEventListener("enter",this.onEventCueEnter),o.removeCue(tt)}catch(tt){}})}}else T=this.dateRangeCuesAppended={}}const H=t.fragments[t.fragments.length-1];if(E.length===0||!r(H==null?void 0:H.programDateTime))return;this.id3Track||(this.id3Track=this.createTrack(this.media));const j=Nc();for(let se=0;se{if(Gr!==xe.id){const un=m[Gr];if(un.class===xe.class&&un.startDate>xe.startDate&&(!dn||xe.startDate.01&&(Gr.startTime=Ie,Gr.endTime=Bt);else if(j){let un=xe.attr[dn];ja(dn)&&(un=vf(un));const Qr=Ff(j,Ie,Bt,{key:dn,data:un},Se.dateRange);Qr&&(Qr.id=ce,this.id3Track.addCue(Qr),tt[dn]=Qr,this.hls.config.interstitialsController&&(dn==="X-ASSET-LIST"||dn==="X-ASSET-URL")&&Qr.addEventListener("enter",this.onEventCueEnter))}}T[ce]={cues:tt,dateRange:xe,durationKnown:at}}}}class Cf{constructor(t){this.hls=void 0,this.config=void 0,this.media=null,this.currentTime=0,this.stallCount=0,this._latency=null,this._targetLatencyUpdated=!1,this.onTimeupdate=()=>{const{media:n}=this,o=this.levelDetails;if(!n||!o)return;this.currentTime=n.currentTime;const m=this.computeLatency();if(m===null)return;this._latency=m;const{lowLatencyMode:E,maxLiveSyncPlaybackRate:T}=this.config;if(!E||T===1||!o.live)return;const z=this.targetLatency;if(z===null)return;const H=m-z,j=Math.min(this.maxLatency,z+o.targetduration);if(H.05&&this.forwardBufferLength>1){const ce=Math.min(2,Math.max(1,T)),xe=Math.round(2/(1+Math.exp(-.75*H-this.edgeStalled))*20)/20,Ie=Math.min(ce,Math.max(1,xe));this.changeMediaPlaybackRate(n,Ie)}else n.playbackRate!==1&&n.playbackRate!==0&&this.changeMediaPlaybackRate(n,1)},this.hls=t,this.config=t.config,this.registerListeners()}get levelDetails(){var t;return((t=this.hls)==null?void 0:t.latestLevelDetails)||null}get latency(){return this._latency||0}get maxLatency(){const{config:t}=this;if(t.liveMaxLatencyDuration!==void 0)return t.liveMaxLatencyDuration;const n=this.levelDetails;return n?t.liveMaxLatencyDurationCount*n.targetduration:0}get targetLatency(){const t=this.levelDetails;if(t===null||this.hls===null)return null;const{holdBack:n,partHoldBack:o,targetduration:m}=t,{liveSyncDuration:E,liveSyncDurationCount:T,lowLatencyMode:z}=this.config,H=this.hls.userConfig;let j=z&&o||n;(this._targetLatencyUpdated||H.liveSyncDuration||H.liveSyncDurationCount||j===0)&&(j=E!==void 0?E:T*m);const se=m;return j+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,se)}set targetLatency(t){this.stallCount=0,this.config.liveSyncDuration=t,this._targetLatencyUpdated=!0}get liveSyncPosition(){const t=this.estimateLiveEdge(),n=this.targetLatency;if(t===null||n===null)return null;const o=this.levelDetails;if(o===null)return null;const m=o.edge,E=t-n-this.edgeStalled,T=m-o.totalduration,z=m-(this.config.lowLatencyMode&&o.partTarget||o.targetduration);return Math.min(Math.max(T,E),z)}get drift(){const t=this.levelDetails;return t===null?1:t.drift}get edgeStalled(){const t=this.levelDetails;if(t===null)return 0;const n=(this.config.lowLatencyMode&&t.partTarget||t.targetduration)*3;return Math.max(t.age-n,0)}get forwardBufferLength(){const{media:t}=this,n=this.levelDetails;if(!t||!n)return 0;const o=t.buffered.length;return(o?t.buffered.end(o-1):n.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.hls=null}registerListeners(){const{hls:t}=this;t&&(t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(s.ERROR,this.onError,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(s.ERROR,this.onError,this))}onMediaAttached(t,n){this.media=n.media,this.media.addEventListener("timeupdate",this.onTimeupdate)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.onTimeupdate),this.media=null)}onManifestLoading(){this._latency=null,this.stallCount=0}onLevelUpdated(t,{details:n}){n.advanced&&this.onTimeupdate(),!n.live&&this.media&&this.media.removeEventListener("timeupdate",this.onTimeupdate)}onError(t,n){var o;n.details===f.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&(o=this.levelDetails)!=null&&o.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(t,n){var o,m;t.playbackRate!==n&&((o=this.hls)==null||o.logger.debug(`[latency-controller]: latency=${this.latency.toFixed(3)}, targetLatency=${(m=this.targetLatency)==null?void 0:m.toFixed(3)}, forwardBufferLength=${this.forwardBufferLength.toFixed(3)}: adjusting playback rate from ${t.playbackRate} to ${n}`),t.playbackRate=n)}estimateLiveEdge(){const t=this.levelDetails;return t===null?null:t.edge+t.age}computeLatency(){const t=this.estimateLiveEdge();return t===null?null:t-this.currentTime}}class Bf extends lu{constructor(t,n){super(t,"level-controller"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=n,this._registerListeners()}_registerListeners(){const{hls:t}=this;t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(s.LEVEL_LOADED,this.onLevelLoaded,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(s.FRAG_BUFFERED,this.onFragBuffered,this),t.on(s.ERROR,this.onError,this)}_unregisterListeners(){const{hls:t}=this;t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(s.LEVEL_LOADED,this.onLevelLoaded,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(s.FRAG_BUFFERED,this.onFragBuffered,this),t.off(s.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach(n=>{n.loadError=0,n.fragmentError=0}),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(t,n){this.resetLevels()}onManifestLoaded(t,n){const o=this.hls.config.preferManagedMediaSource,m=[],E={},T={};let z=!1,H=!1,j=!1;n.levels.forEach(se=>{var ce;const xe=se.attrs;let{audioCodec:Ie,videoCodec:Oe}=se;Ie&&(se.audioCodec=Ie=St(Ie,o)||void 0),((ce=Oe)==null?void 0:ce.indexOf("avc1"))===0&&(Oe=se.videoCodec=Ar(Oe));const{width:tt,height:at,unknownCodecs:Bt}=se;let hr=Bt?Bt.length:0;if(Bt)for(let Yn=hr;Yn--;){const hi=Bt[Yn];this.isAudioSupported(hi)?(se.audioCodec=Ie=Ie?`${Ie},${hi}`:hi,hr--,zt.audio[Ie.substring(0,4)]=2):this.isVideoSupported(hi)&&(se.videoCodec=Oe=Oe?`${Oe},${hi}`:hi,hr--,zt.video[Oe.substring(0,4)]=2)}if(z||(z=!!(tt&&at)),H||(H=!!Oe),j||(j=!!Ie),hr||Ie&&!this.isAudioSupported(Ie)||Oe&&!this.isVideoSupported(Oe)){this.log(`Some or all CODECS not supported "${xe.CODECS}"`);return}const{CODECS:ar,"FRAME-RATE":zr,"HDCP-LEVEL":Wr,"PATHWAY-ID":dn,RESOLUTION:Gr,"VIDEO-RANGE":un}=xe,Qr=`${`${dn||"."}-`}${se.bitrate}-${Gr}-${zr}-${ar}-${un}-${Wr}`;if(E[Qr])if(E[Qr].uri!==se.url&&!se.attrs["PATHWAY-ID"]){const Yn=T[Qr]+=1;se.attrs["PATHWAY-ID"]=new Array(Yn+1).join(".");const hi=this.createLevel(se);E[Qr]=hi,m.push(hi)}else E[Qr].addGroupId("audio",xe.AUDIO),E[Qr].addGroupId("text",xe.SUBTITLES);else{const Yn=this.createLevel(se);E[Qr]=Yn,T[Qr]=1,m.push(Yn)}}),this.filterAndSortMediaOptions(m,n,z,H,j)}createLevel(t){const n=new cr(t),o=t.supplemental;if(o!=null&&o.videoCodec&&!this.isVideoSupported(o.videoCodec)){const m=new Error(`SUPPLEMENTAL-CODECS not supported "${o.videoCodec}"`);this.log(m.message),n.supportedResult=fn(m,[])}return n}isAudioSupported(t){return ke(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return ke(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,n,o,m,E){let T=[],z=[],H=t;if((o||m)&&E&&(H=H.filter(({videoCodec:at,videoRange:Bt,width:hr,height:ar})=>(!!at||!!(hr&&ar))&&rn(Bt))),H.length===0){Promise.resolve().then(()=>{if(this.hls){let at="no level with compatible codecs found in manifest",Bt=at;n.levels.length&&(Bt=`one or more CODECS in variant not supported: ${zn(n.levels.map(ar=>ar.attrs.CODECS).filter((ar,zr,Wr)=>Wr.indexOf(ar)===zr))}`,this.warn(Bt),at+=` (${Bt})`);const hr=new Error(at);this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:hr,reason:Bt})}});return}n.audioTracks&&(T=n.audioTracks.filter(at=>!at.audioCodec||this.isAudioSupported(at.audioCodec)),Nf(T)),n.subtitles&&(z=n.subtitles,Nf(z));const j=H.slice(0);H.sort((at,Bt)=>{if(at.attrs["HDCP-LEVEL"]!==Bt.attrs["HDCP-LEVEL"])return(at.attrs["HDCP-LEVEL"]||"")>(Bt.attrs["HDCP-LEVEL"]||"")?1:-1;if(o&&at.height!==Bt.height)return at.height-Bt.height;if(at.frameRate!==Bt.frameRate)return at.frameRate-Bt.frameRate;if(at.videoRange!==Bt.videoRange)return gr.indexOf(at.videoRange)-gr.indexOf(Bt.videoRange);if(at.videoCodec!==Bt.videoCodec){const hr=Ke(at.videoCodec),ar=Ke(Bt.videoCodec);if(hr!==ar)return ar-hr}if(at.uri===Bt.uri&&at.codecSet!==Bt.codecSet){const hr=vt(at.codecSet),ar=vt(Bt.codecSet);if(hr!==ar)return ar-hr}return at.averageBitrate!==Bt.averageBitrate?at.averageBitrate-Bt.averageBitrate:0});let se=j[0];if(this.steering&&(H=this.steering.filterParsedLevels(H),H.length!==j.length)){for(let at=0;athr&&hr===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=ar)}break}const xe=E&&!m,Ie=this.hls.config,Oe=!!(Ie.audioStreamController&&Ie.audioTrackController),tt={levels:H,audioTracks:T,subtitleTracks:z,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:E,video:m,altAudio:Oe&&!xe&&T.some(at=>!!at.url)};this.hls.trigger(s.MANIFEST_PARSED,tt)}get levels(){return this._levels.length===0?null:this._levels}get loadLevelObj(){return this.currentLevel}get level(){return this.currentLevelIndex}set level(t){const n=this._levels;if(n.length===0)return;if(t<0||t>=n.length){const se=new Error("invalid level idx"),ce=t<0;if(this.hls.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:ce,error:se,reason:se.message}),ce)return;t=Math.min(t,n.length-1)}const o=this.currentLevelIndex,m=this.currentLevel,E=m?m.attrs["PATHWAY-ID"]:void 0,T=n[t],z=T.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=T,o===t&&m&&E===z)return;this.log(`Switching to level ${t} (${T.height?T.height+"p ":""}${T.videoRange?T.videoRange+" ":""}${T.codecSet?T.codecSet+" ":""}@${T.bitrate})${z?" with Pathway "+z:""} from level ${o}${E?" with Pathway "+E:""}`);const H={level:t,attrs:T.attrs,details:T.details,bitrate:T.bitrate,averageBitrate:T.averageBitrate,maxBitrate:T.maxBitrate,realBitrate:T.realBitrate,width:T.width,height:T.height,codecSet:T.codecSet,audioCodec:T.audioCodec,videoCodec:T.videoCodec,audioGroups:T.audioGroups,subtitleGroups:T.subtitleGroups,loaded:T.loaded,loadError:T.loadError,fragmentError:T.fragmentError,name:T.name,id:T.id,uri:T.uri,url:T.url,urlId:0,audioGroupIds:T.audioGroupIds,textGroupIds:T.textGroupIds};this.hls.trigger(s.LEVEL_SWITCHING,H);const j=T.details;if(!j||j.live){const se=this.switchParams(T.uri,m==null?void 0:m.details,j);this.loadPlaylist(se)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(t){this.manualLevelIndex=t,this._startLevel===void 0&&(this._startLevel=t),t!==-1&&(this.level=t)}get firstLevel(){return this._firstLevel}set firstLevel(t){this._firstLevel=t}get startLevel(){if(this._startLevel===void 0){const t=this.hls.config.startLevel;return t!==void 0?t:this.hls.firstAutoLevel}return this._startLevel}set startLevel(t){this._startLevel=t}get pathways(){return this.steering?this.steering.pathways():[]}get pathwayPriority(){return this.steering?this.steering.pathwayPriority:null}set pathwayPriority(t){if(this.steering){const n=this.steering.pathways(),o=t.filter(m=>n.indexOf(m)!==-1);if(t.length<1){this.warn(`pathwayPriority ${t} should contain at least one pathway from list: ${n}`);return}this.steering.pathwayPriority=o}}onError(t,n){n.fatal||!n.context||n.context.type===h.LEVEL&&n.context.level===this.level&&this.checkRetry(n)}onFragBuffered(t,{frag:n}){if(n!==void 0&&n.type===u.MAIN){const o=n.elementaryStreams;if(!Object.keys(o).some(E=>!!o[E]))return;const m=this._levels[n.level];m!=null&&m.loadError&&(this.log(`Resetting level error count of ${m.loadError} on frag buffered`),m.loadError=0)}}onLevelLoaded(t,n){var o;const{level:m,details:E}=n,T=n.levelInfo;if(!T){var z;this.warn(`Invalid level index ${m}`),(z=n.deliveryDirectives)!=null&&z.skip&&(E.deltaUpdateFailed=!0);return}if(T===this.currentLevel||n.withoutMultiVariant){T.fragmentError===0&&(T.loadError=0);let H=T.details;H===n.details&&H.advanced&&(H=void 0),this.playlistLoaded(m,n,H)}else(o=n.deliveryDirectives)!=null&&o.skip&&(E.deltaUpdateFailed=!0)}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentLevel)&&this.scheduleLoading(this.currentLevel,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const o=this.getUrlWithDirectives(t.uri,n),m=this.currentLevelIndex,E=t.attrs["PATHWAY-ID"],T=t.details,z=T==null?void 0:T.age;this.log(`Loading level index ${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${E?" Pathway "+E:""}${z&&T.live?" age "+z.toFixed(1)+(T.type?" "+T.type||0:""):""} ${o}`),this.hls.trigger(s.LEVEL_LOADING,{url:o,level:m,levelInfo:t,pathwayId:t.attrs["PATHWAY-ID"],id:0,deliveryDirectives:n||null})}get nextLoadLevel(){return this.manualLevelIndex!==-1?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(t){this.level=t,this.manualLevelIndex===-1&&(this.hls.nextAutoLevel=t)}removeLevel(t){var n;if(this._levels.length===1)return;const o=this._levels.filter((E,T)=>T!==t?!0:(this.steering&&this.steering.removeLevel(E),E===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,E.details&&E.details.fragments.forEach(z=>z.level=-1)),!1));Hn(o),this._levels=o,this.currentLevelIndex>-1&&(n=this.currentLevel)!=null&&n.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.manualLevelIndex>-1&&(this.manualLevelIndex=this.currentLevelIndex);const m=o.length-1;this._firstLevel=Math.min(this._firstLevel,m),this._startLevel&&(this._startLevel=Math.min(this._startLevel,m)),this.hls.trigger(s.LEVELS_UPDATED,{levels:o})}onLevelsUpdated(t,{levels:n}){this._levels=n}checkMaxAutoUpdated(){const{autoLevelCapping:t,maxAutoLevel:n,maxHdcpLevel:o}=this.hls;this._maxAutoLevel!==n&&(this._maxAutoLevel=n,this.hls.trigger(s.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:t,levels:this.levels,maxAutoLevel:n,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:o}))}}function Nf(P){const t={};P.forEach(n=>{const o=n.groupId||"";n.id=t[o]=t[o]||0,t[o]++})}function nf(){return self.SourceBuffer||self.WebKitSourceBuffer}function $f(){if(!oe())return!1;const t=nf();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function Tf(){if(!$f())return!1;const P=oe();return typeof(P==null?void 0:P.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>P.isTypeSupported(be(t,"video")))||["mp4a.40.2","fLaC"].some(t=>P.isTypeSupported(be(t,"audio"))))}function g(){var P;const t=nf();return typeof(t==null||(P=t.prototype)==null?void 0:P.changeType)=="function"}const A=100;class Z extends na{constructor(t,n,o){super(t,n,o,"stream-controller",u.MAIN),this.audioCodecSwap=!1,this.level=-1,this._forceStartLoad=!1,this._hasEnoughToStart=!1,this.altAudio=0,this.audioOnly=!1,this.fragPlaying=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this.onMediaPlaying=()=>{this.tick()},this.onMediaSeeked=()=>{const m=this.media,E=m?m.currentTime:null;if(E===null||!r(E)||(this.log(`Media seeked to ${E.toFixed(3)}`),!this.getBufferedFrag(E)))return;const T=this.getFwdBufferInfoAtPos(m,E,u.MAIN,0);if(T===null||T.len===0){this.warn(`Main forward buffer length at ${E} on "seeked" event ${T?T.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(s.MANIFEST_PARSED,this.onManifestParsed,this),t.on(s.LEVEL_LOADING,this.onLevelLoading,this),t.on(s.LEVEL_LOADED,this.onLevelLoaded,this),t.on(s.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(s.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(s.BUFFER_CREATED,this.onBufferCreated,this),t.on(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(s.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(s.MANIFEST_PARSED,this.onManifestParsed,this),t.off(s.LEVEL_LOADED,this.onLevelLoaded,this),t.off(s.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(s.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(s.BUFFER_CREATED,this.onBufferCreated,this),t.off(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(s.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(t,n){if(this.levels){const{lastCurrentTime:o,hls:m}=this;if(this.stopLoad(),this.setInterval(A),this.level=-1,!this.startFragRequested){let E=m.startLevel;E===-1&&(m.config.testBandwidth&&this.levels.length>1?(E=0,this.bitrateTest=!0):E=m.firstAutoLevel),m.nextLoadLevel=E,this.level=m.loadLevel,this._hasEnoughToStart=!!n}o>0&&t===-1&&!n&&(this.log(`Override startPosition with lastCurrentTime @${o.toFixed(3)}`),t=o),this.state=Ur.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=Ur.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case Ur.WAITING_LEVEL:{const{levels:n,level:o}=this,m=n==null?void 0:n[o],E=m==null?void 0:m.details;if(E&&(!E.live||this.levelLastLoaded===m&&!this.waitForLive(m))){if(this.waitForCdnTuneIn(E))break;this.state=Ur.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=Ur.IDLE;break}break}case Ur.FRAG_LOADING_WAITING_RETRY:{var t;const n=self.performance.now(),o=this.retryDate;if(!o||n>=o||(t=this.media)!=null&&t.seeking){const{levels:m,level:E}=this,T=m==null?void 0:m[E];this.resetStartWhenNotLoaded(T||null),this.state=Ur.IDLE}}break}this.state===Ur.IDLE&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){var t;super.onTickEnd(),(t=this.media)!=null&&t.readyState&&this.media.seeking===!1&&(this.lastCurrentTime=this.media.currentTime),this.checkFragmentChanged()}doTickIdle(){const{hls:t,levelLastLoaded:n,levels:o,media:m}=this;if(n===null||!m&&!this.primaryPrefetch&&(this.startFragRequested||!t.config.startFragPrefetch)||this.altAudio&&this.audioOnly)return;const E=this.buffering?t.nextLoadLevel:t.loadLevel;if(!(o!=null&&o[E]))return;const T=o[E],z=this.getMainFwdBufferInfo();if(z===null)return;const H=this.getLevelDetails();if(H&&this._streamEnded(z,H)){const tt={};this.altAudio===2&&(tt.type="video"),this.hls.trigger(s.BUFFER_EOS,tt),this.state=Ur.ENDED;return}if(!this.buffering)return;t.loadLevel!==E&&t.manualLevel===-1&&this.log(`Adapting to level ${E} from level ${this.level}`),this.level=t.nextLoadLevel=E;const j=T.details;if(!j||this.state===Ur.WAITING_LEVEL||this.waitForLive(T)){this.level=E,this.state=Ur.WAITING_LEVEL,this.startFragRequested=!1;return}const se=z.len,ce=this.getMaxBufferLength(T.maxBitrate);if(se>=ce)return;this.backtrackFragment&&this.backtrackFragment.start>z.end&&(this.backtrackFragment=null);const xe=this.backtrackFragment?this.backtrackFragment.start:z.end;let Ie=this.getNextFragment(xe,j);if(this.couldBacktrack&&!this.fragPrevious&&Ie&&de(Ie)&&this.fragmentTracker.getState(Ie)!==Er.OK){var Oe;const at=((Oe=this.backtrackFragment)!=null?Oe:Ie).sn-j.startSN,Bt=j.fragments[at-1];Bt&&Ie.cc===Bt.cc&&(Ie=Bt,this.fragmentTracker.removeFragment(Bt))}else this.backtrackFragment&&z.len&&(this.backtrackFragment=null);if(Ie&&this.isLoopLoading(Ie,xe)){if(!Ie.gap){const at=this.audioOnly&&!this.altAudio?M.AUDIO:M.VIDEO,Bt=(at===M.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;Bt&&this.afterBufferFlushed(Bt,at,u.MAIN)}Ie=this.getNextFragmentLoopLoading(Ie,j,z,u.MAIN,ce)}Ie&&(Ie.initSegment&&!Ie.initSegment.data&&!this.bitrateTest&&(Ie=Ie.initSegment),this.loadFragment(Ie,T,xe))}loadFragment(t,n,o){const m=this.fragmentTracker.getState(t);m===Er.NOT_LOADED||m===Er.PARTIAL?de(t)?this.bitrateTest?(this.log(`Fragment ${t.sn} of level ${t.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(t,n)):super.loadFragment(t,n,o):this._loadInitSegment(t,n):this.clearTrackerIfNeeded(t)}getBufferedFrag(t){return this.fragmentTracker.getBufferedFrag(t,u.MAIN)}followingBufferedFrag(t){return t?this.getBufferedFrag(t.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:t,media:n}=this;if(n!=null&&n.readyState){let o;const m=this.getAppendedFrag(n.currentTime);m&&m.start>1&&this.flushMainBuffer(0,m.start-1);const E=this.getLevelDetails();if(E!=null&&E.live){const z=this.getMainFwdBufferInfo();if(!z||z.len{const T=E.audioCodec;T&&(o=o||T.indexOf("mp4a.40.2")!==-1,m=m||T.indexOf("mp4a.40.5")!==-1)}),this.audioCodecSwitch=o&&m&&!g(),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=n.levels,this.startFragRequested=!1}onLevelLoading(t,n){const{levels:o}=this;if(!o||this.state!==Ur.IDLE)return;const m=n.levelInfo;(!m.details||m.details.live&&(this.levelLastLoaded!==m||m.details.expired)||this.waitForCdnTuneIn(m.details))&&(this.state=Ur.WAITING_LEVEL)}onLevelLoaded(t,n){var o;const{levels:m,startFragRequested:E}=this,T=n.level,z=n.details,H=z.totalduration;if(!m){this.warn(`Levels were reset while loading level ${T}`);return}this.log(`Level ${T} loaded [${z.startSN},${z.endSN}]${z.lastPartSn?`[part-${z.lastPartSn}-${z.lastPartIndex}]`:""}, cc [${z.startCC}, ${z.endCC}] duration:${H}`);const j=n.levelInfo,se=this.fragCurrent;se&&(this.state===Ur.FRAG_LOADING||this.state===Ur.FRAG_LOADING_WAITING_RETRY)&&se.level!==n.level&&se.loader&&this.abortCurrentFrag();let ce=0;if(z.live||(o=j.details)!=null&&o.live){var xe;if(this.checkLiveUpdate(z),z.deltaUpdateFailed)return;ce=this.alignPlaylists(z,j.details,(xe=this.levelLastLoaded)==null?void 0:xe.details)}if(j.details=z,this.levelLastLoaded=j,E||this.setStartPosition(z,ce),this.hls.trigger(s.LEVEL_UPDATED,{details:z,level:T}),this.state===Ur.WAITING_LEVEL){if(this.waitForCdnTuneIn(z))return;this.state=Ur.IDLE}E&&z.live&&this.synchronizeToLiveEdge(z),this.tick()}synchronizeToLiveEdge(t){const{config:n,media:o}=this;if(!o)return;const m=this.hls.liveSyncPosition,E=this.getLoadPosition(),T=t.fragmentStart,z=t.edge,H=E>=T-n.maxFragLookUpTolerance&&E<=z;if(m!==null&&o.duration>m&&(E{var T;(T=this.hls)==null||T.trigger(s.AUDIO_TRACK_SWITCHED,n)}),o.trigger(s.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}o.trigger(s.AUDIO_TRACK_SWITCHED,n)}}onAudioTrackSwitched(t,n){const o=ei(n.url,this.hls);if(o){const m=this.videoBuffer;m&&this.mediaBuffer!==m&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=m)}this.altAudio=o?2:0,this.tick()}onBufferCreated(t,n){const o=n.tracks;let m,E,T=!1;for(const z in o){const H=o[z];if(H.id==="main"){if(E=z,m=H,z==="video"){const j=o[z];j&&(this.videoBuffer=j.buffer)}}else T=!0}T&&m?(this.log(`Alternate track found, use ${E}.buffered to schedule main fragment loading`),this.mediaBuffer=m.buffer):this.mediaBuffer=this.media}onFragBuffered(t,n){const{frag:o,part:m}=n,E=o.type===u.MAIN;if(E){if(this.fragContextChanged(o)){this.warn(`Fragment ${o.sn}${m?" p: "+m.index:""} of level ${o.level} finished buffering, but was aborted. state: ${this.state}`),this.state===Ur.PARSED&&(this.state=Ur.IDLE);return}const z=m?m.stats:o.stats;this.fragLastKbps=Math.round(8*z.total/(z.buffering.end-z.loading.first)),de(o)&&(this.fragPrevious=o),this.fragBufferedComplete(o,m)}const T=this.media;T&&(!this._hasEnoughToStart&&xi.getBuffered(T).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),E&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var o;if(n.fatal){this.state=Ur.ERROR;return}switch(n.details){case f.FRAG_GAP:case f.FRAG_PARSING_ERROR:case f.FRAG_DECRYPT_ERROR:case f.FRAG_LOAD_ERROR:case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_ERROR:case f.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(u.MAIN,n);break;case f.LEVEL_LOAD_ERROR:case f.LEVEL_LOAD_TIMEOUT:case f.LEVEL_PARSING_ERROR:!n.levelRetry&&this.state===Ur.WAITING_LEVEL&&((o=n.context)==null?void 0:o.type)===h.LEVEL&&(this.state=Ur.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="main")return;this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&this.flushMainBuffer(0,Number.POSITIVE_INFINITY);break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onFragLoadEmergencyAborted(){this.state=Ur.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:n}){if(n!==M.AUDIO||!this.altAudio){const o=(n===M.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;o&&(this.afterBufferFlushed(o,n,u.MAIN),this.tick())}}onLevelsUpdated(t,n){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level,this.level===-1&&this.resetWhenMissingContext(this.fragCurrent)),this.levels=n.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:t}=this;if(!t)return;const n=t.currentTime;let o=this.startPosition;if(o>=0&&n0&&(H{const{hls:m}=this,E=o==null?void 0:o.frag;if(!E||this.fragContextChanged(E))return;n.fragmentError=0,this.state=Ur.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const T=E.stats;T.parsing.start=T.parsing.end=T.buffering.start=T.buffering.end=self.performance.now(),m.trigger(s.FRAG_LOADED,o),E.bitrateTest=!1})}_handleTransmuxComplete(t){var n;const o=this.playlistType,{hls:m}=this,{remuxResult:E,chunkMeta:T}=t,z=this.getCurrentContext(T);if(!z){this.resetWhenMissingContext(T);return}const{frag:H,part:j,level:se}=z,{video:ce,text:xe,id3:Ie,initSegment:Oe}=E,{details:tt}=se,at=this.altAudio?void 0:E.audio;if(this.fragContextChanged(H)){this.fragmentTracker.removeFragment(H);return}if(this.state=Ur.PARSING,Oe){if(Oe!=null&&Oe.tracks){const ar=H.initSegment||H;this._bufferInitSegment(se,Oe.tracks,ar,T),m.trigger(s.FRAG_PARSING_INIT_SEGMENT,{frag:ar,id:o,tracks:Oe.tracks})}const Bt=Oe.initPTS,hr=Oe.timescale;r(Bt)&&(this.initPTS[H.cc]={baseTime:Bt,timescale:hr},m.trigger(s.INIT_PTS_FOUND,{frag:H,id:o,initPTS:Bt,timescale:hr}))}if(ce&&tt){at&&ce.type==="audiovideo"&&this.logMuxedErr(H);const Bt=tt.fragments[H.sn-1-tt.startSN],hr=H.sn===tt.startSN,ar=!Bt||H.cc>Bt.cc;if(E.independent!==!1){const{startPTS:zr,endPTS:Wr,startDTS:dn,endDTS:Gr}=ce;if(j)j.elementaryStreams[ce.type]={startPTS:zr,endPTS:Wr,startDTS:dn,endDTS:Gr};else if(ce.firstKeyFrame&&ce.independent&&T.id===1&&!ar&&(this.couldBacktrack=!0),ce.dropped&&ce.independent){const un=this.getMainFwdBufferInfo(),mn=(un?un.end:this.getLoadPosition())+this.config.maxBufferHole,Qr=ce.firstKeyFramePTS?ce.firstKeyFramePTS:zr;if(!hr&&mnEc&&(H.gap=!0);H.setElementaryStreamInfo(ce.type,zr,Wr,dn,Gr),this.backtrackFragment&&(this.backtrackFragment=H),this.bufferFragmentData(ce,H,j,T,hr||ar)}else if(hr||ar)H.gap=!0;else{this.backtrack(H);return}}if(at){const{startPTS:Bt,endPTS:hr,startDTS:ar,endDTS:zr}=at;j&&(j.elementaryStreams[M.AUDIO]={startPTS:Bt,endPTS:hr,startDTS:ar,endDTS:zr}),H.setElementaryStreamInfo(M.AUDIO,Bt,hr,ar,zr),this.bufferFragmentData(at,H,j,T)}if(tt&&Ie!=null&&(n=Ie.samples)!=null&&n.length){const Bt={id:o,frag:H,details:tt,samples:Ie.samples};m.trigger(s.FRAG_PARSING_METADATA,Bt)}if(tt&&xe){const Bt={id:o,frag:H,details:tt,samples:xe.samples};m.trigger(s.FRAG_PARSING_USERDATA,Bt)}}logMuxedErr(t){this.warn(`${de(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,n,o,m){if(this.state!==Ur.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&(delete n.audio,n.audiovideo&&this.logMuxedErr(o));const{audio:E,video:T,audiovideo:z}=n;if(E){let j=Jr(E.codec,t.audioCodec);j==="mp4a"&&(j="mp4a.40.5");const se=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){j&&(j.indexOf("mp4a.40.5")!==-1?j="mp4a.40.2":j="mp4a.40.5");const ce=E.metadata;ce&&"channelCount"in ce&&(ce.channelCount||1)!==1&&se.indexOf("firefox")===-1&&(j="mp4a.40.5")}j&&j.indexOf("mp4a.40.5")!==-1&&se.indexOf("android")!==-1&&E.container!=="audio/mpeg"&&(j="mp4a.40.2",this.log(`Android: force audio codec to ${j}`)),t.audioCodec&&t.audioCodec!==j&&this.log(`Swapping manifest audio codec "${t.audioCodec}" for "${j}"`),E.levelCodec=j,E.id=u.MAIN,this.log(`Init audio buffer, container:${E.container}, codecs[selected/level/parsed]=[${j||""}/${t.audioCodec||""}/${E.codec}]`),delete n.audiovideo}if(T){T.levelCodec=t.videoCodec,T.id=u.MAIN;const j=T.codec;if((j==null?void 0:j.length)===4)switch(j){case"hvc1":case"hev1":T.codec="hvc1.1.6.L120.90";break;case"av01":T.codec="av01.0.04M.08";break;case"avc1":T.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${T.container}, codecs[level/parsed]=[${t.videoCodec||""}/${j}]${T.codec!==j?" parsed-corrected="+T.codec:""}${T.supplemental?" supplemental="+T.supplemental:""}`),delete n.audiovideo}z&&(this.log(`Init audiovideo buffer, container:${z.container}, codecs[level/parsed]=[${t.codecs}/${z.codec}]`),delete n.video,delete n.audio);const H=Object.keys(n);if(H.length){if(this.hls.trigger(s.BUFFER_CODECS,n),!this.hls)return;H.forEach(j=>{const ce=n[j].initSegment;ce!=null&&ce.byteLength&&this.hls.trigger(s.BUFFER_APPENDING,{type:j,data:ce,frag:o,part:null,chunkMeta:m,parent:o.type})})}this.tickImmediate()}getMainFwdBufferInfo(){const t=this.mediaBuffer&&this.altAudio===2?this.mediaBuffer:this.media;return this.getFwdBufferInfo(t,u.MAIN)}get maxBufferLength(){const{levels:t,level:n}=this,o=t==null?void 0:t[n];return o?this.getMaxBufferLength(o.maxBitrate):this.config.maxBufferLength}backtrack(t){this.couldBacktrack=!0,this.backtrackFragment=t,this.resetTransmuxer(),this.flushBufferGap(t),this.fragmentTracker.removeFragment(t),this.fragPrevious=null,this.nextLoadPosition=t.start,this.state=Ur.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const o=t.currentTime;if(xi.isBuffered(t,o)?n=this.getAppendedFrag(o):xi.isBuffered(t,o+.1)&&(n=this.getAppendedFrag(o+.1)),n){this.backtrackFragment=null;const m=this.fragPlaying,E=n.level;(!m||n.sn!==m.sn||m.level!==E)&&(this.fragPlaying=n,this.hls.trigger(s.FRAG_CHANGED,{frag:n}),(!m||m.level!==E)&&this.hls.trigger(s.LEVEL_SWITCHED,{level:E}))}}}get nextLevel(){const t=this.nextBufferedFrag;return t?t.level:-1}get currentFrag(){var t;if(this.fragPlaying)return this.fragPlaying;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;return r(n)?this.getAppendedFrag(n):null}get currentProgramDateTime(){var t;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;if(r(n)){const o=this.getLevelDetails(),m=this.currentFrag||(o?En(null,o.fragments,n):null);if(m){const E=m.programDateTime;if(E!==null){const T=E+(n-m.start)*1e3;return new Date(T)}}}return null}get currentLevel(){const t=this.currentFrag;return t?t.level:-1}get nextBufferedFrag(){const t=this.currentFrag;return t?this.followingBufferedFrag(t):null}get forceStartLoad(){return this._forceStartLoad}}class ve{constructor(t){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const o in this.keyUriToKeyInfo){const m=this.keyUriToKeyInfo[o].loader;if(m){var n;if(t&&t!==((n=m.context)==null?void 0:n.frag.type))return;m.abort()}}}detach(){for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t];(n.mediaKeySessionContext||n.decryptdata.isCommonEncryption)&&delete this.keyUriToKeyInfo[t]}}destroy(){this.detach();for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t].loader;n&&n.destroy()}this.keyUriToKeyInfo={}}createKeyLoadError(t,n=f.KEY_LOAD_ERROR,o,m,E){return new Na({type:c.NETWORK_ERROR,details:n,fatal:!1,frag:t,response:E,error:o,networkDetails:m})}loadClear(t,n){if(this.emeController&&this.config.emeEnabled){const{sn:o,cc:m}=t;for(let E=0;E{T.setKeyFormat(z)});break}}}}load(t){return!t.decryptdata&&t.encrypted&&this.emeController&&this.config.emeEnabled?this.emeController.selectKeySystemFormat(t).then(n=>this.loadInternal(t,n)):this.loadInternal(t)}loadInternal(t,n){var o,m;n&&t.setKeyFormat(n);const E=t.decryptdata;if(!E){const j=new Error(n?`Expected frag.decryptdata to be defined after setting format ${n}`:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,j))}const T=E.uri;if(!T)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${T}"`)));let z=this.keyUriToKeyInfo[T];if((o=z)!=null&&o.decryptdata.key)return E.key=z.decryptdata.key,Promise.resolve({frag:t,keyInfo:z});if((m=z)!=null&&m.keyLoadPromise){var H;switch((H=z.mediaKeySessionContext)==null?void 0:H.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return z.keyLoadPromise.then(j=>(E.key=j.keyInfo.decryptdata.key,{frag:t,keyInfo:z}))}}switch(z=this.keyUriToKeyInfo[T]={decryptdata:E,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},E.method){case"ISO-23001-7":case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return E.keyFormat==="identity"?this.loadKeyHTTP(z,t):this.loadKeyEME(z,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(z,t);default:return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${E.method}"`)))}}loadKeyEME(t,n){const o={frag:n,keyInfo:t};if(this.emeController&&this.config.emeEnabled){const m=this.emeController.loadKey(o);if(m)return(t.keyLoadPromise=m.then(E=>(t.mediaKeySessionContext=E,o))).catch(E=>{throw t.keyLoadPromise=null,E})}return Promise.resolve(o)}loadKeyHTTP(t,n){const o=this.config,m=o.loader,E=new m(o);return n.keyLoader=t.loader=E,t.keyLoadPromise=new Promise((T,z)=>{const H={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},j=o.keyLoadPolicy.default,se={loadPolicy:j,timeout:j.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},ce={onSuccess:(xe,Ie,Oe,tt)=>{const{frag:at,keyInfo:Bt,url:hr}=Oe;if(!at.decryptdata||Bt!==this.keyUriToKeyInfo[hr])return z(this.createKeyLoadError(at,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),tt));Bt.decryptdata.key=at.decryptdata.key=new Uint8Array(xe.data),at.keyLoader=null,Bt.loader=null,T({frag:at,keyInfo:Bt})},onError:(xe,Ie,Oe,tt)=>{this.resetLoader(Ie),z(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${xe.code} loading key ${xe.text}`),Oe,b({url:H.url,data:void 0},xe)))},onTimeout:(xe,Ie,Oe)=>{this.resetLoader(Ie),z(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Oe))},onAbort:(xe,Ie,Oe)=>{this.resetLoader(Ie),z(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),Oe))}};E.load(H,se,ce)})}resetLoader(t){const{frag:n,keyInfo:o,url:m}=t,E=o.loader;n.keyLoader===E&&(n.keyLoader=null,o.loader=null),delete this.keyUriToKeyInfo[m],E&&E.destroy()}}function Le(P){const{type:t}=P;switch(t){case h.AUDIO_TRACK:return u.AUDIO;case h.SUBTITLE_TRACK:return u.SUBTITLE;default:return u.MAIN}}function ut(P,t){let n=P.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class $t{constructor(t){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.onManifestLoaded=this.checkAutostartLoad,this.hls=t,this.registerListeners()}startLoad(t){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:t}=this;t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.LEVEL_LOADING,this.onLevelLoading,this),t.on(s.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(s.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:t}=this;t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.LEVEL_LOADING,this.onLevelLoading,this),t.off(s.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(s.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(t){const n=this.hls.config,o=n.pLoader,m=n.loader,E=o||m,T=new E(n);return this.loaders[t.type]=T,T}getInternalLoader(t){return this.loaders[t.type]}resetInternalLoader(t){this.loaders[t]&&delete this.loaders[t]}destroyInternalLoaders(){for(const t in this.loaders){const n=this.loaders[t];n&&n.destroy(),this.resetInternalLoader(t)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(t,n){const{url:o}=n;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:h.MANIFEST,url:o,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(t,n){const{id:o,level:m,pathwayId:E,url:T,deliveryDirectives:z,levelInfo:H}=n;this.load({id:o,level:m,pathwayId:E,responseType:"text",type:h.LEVEL,url:T,deliveryDirectives:z,levelOrTrack:H})}onAudioTrackLoading(t,n){const{id:o,groupId:m,url:E,deliveryDirectives:T,track:z}=n;this.load({id:o,groupId:m,level:null,responseType:"text",type:h.AUDIO_TRACK,url:E,deliveryDirectives:T,levelOrTrack:z})}onSubtitleTrackLoading(t,n){const{id:o,groupId:m,url:E,deliveryDirectives:T,track:z}=n;this.load({id:o,groupId:m,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:E,deliveryDirectives:T,levelOrTrack:z})}onLevelsUpdated(t,n){const o=this.loaders[h.LEVEL];if(o){const m=o.context;m&&!n.levels.some(E=>E===m.levelOrTrack)&&(o.abort(),delete this.loaders[h.LEVEL])}}load(t){var n;const o=this.hls.config;let m=this.getInternalLoader(t);if(m){const j=this.hls.logger,se=m.context;if(se&&se.levelOrTrack===t.levelOrTrack&&(se.url===t.url||se.deliveryDirectives&&!t.deliveryDirectives)){se.url===t.url?j.log(`[playlist-loader]: ignore ${t.url} ongoing request`):j.log(`[playlist-loader]: ignore ${t.url} in favor of ${se.url}`);return}j.log(`[playlist-loader]: aborting previous loader for type: ${t.type}`),m.abort()}let E;if(t.type===h.MANIFEST?E=o.manifestLoadPolicy.default:E=y({},o.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),m=this.createInternalLoader(t),r((n=t.deliveryDirectives)==null?void 0:n.part)){let j;if(t.type===h.LEVEL&&t.level!==null?j=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?j=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&(j=this.hls.subtitleTracks[t.id].details),j){const se=j.partTarget,ce=j.targetduration;if(se&&ce){const xe=Math.max(se*3,ce*.8)*1e3;E=y({},E,{maxTimeToFirstByteMs:Math.min(xe,E.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(xe,E.maxTimeToFirstByteMs)})}}}const T=E.errorRetry||E.timeoutRetry||{},z={loadPolicy:E,timeout:E.maxLoadTimeMs,maxRetry:T.maxNumRetry||0,retryDelay:T.retryDelayMs||0,maxRetryDelay:T.maxRetryDelayMs||0},H={onSuccess:(j,se,ce,xe)=>{const Ie=this.getInternalLoader(ce);this.resetInternalLoader(ce.type);const Oe=j.data;if(Oe.indexOf("#EXTM3U")!==0){this.handleManifestParsingError(j,ce,new Error("no EXTM3U delimiter"),xe||null,se);return}se.parsing.start=performance.now(),fs.isMediaPlaylist(Oe)||ce.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist(j,se,ce,xe||null,Ie):this.handleMasterPlaylist(j,se,ce,xe)},onError:(j,se,ce,xe)=>{this.handleNetworkError(se,ce,!1,j,xe)},onTimeout:(j,se,ce)=>{this.handleNetworkError(se,ce,!0,void 0,j)}};m.load(t,z,H)}checkAutostartLoad(){if(!this.hls)return;const{config:{autoStartLoad:t,startPosition:n},forceStartLoad:o}=this.hls;(t||o)&&(this.hls.logger.log(`${t?"auto":"force"} startLoad with configured startPosition ${n}`),this.hls.startLoad(n))}handleMasterPlaylist(t,n,o,m){const E=this.hls,T=t.data,z=ut(t,o),H=fs.parseMasterPlaylist(T,z);if(H.playlistParsingError){this.handleManifestParsingError(t,o,H.playlistParsingError,m,n);return}const{contentSteering:j,levels:se,sessionData:ce,sessionKeys:xe,startTimeOffset:Ie,variableList:Oe}=H;this.variableList=Oe;const{AUDIO:tt=[],SUBTITLES:at,"CLOSED-CAPTIONS":Bt}=fs.parseMasterPlaylistMedia(T,z,H);tt.length&&!tt.some(ar=>!ar.url)&&se[0].audioCodec&&!se[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),tt.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new Ui({}),bitrate:0,url:""})),E.trigger(s.MANIFEST_LOADED,{levels:se,audioTracks:tt,subtitles:at,captions:Bt,contentSteering:j,url:z,stats:n,networkDetails:m,sessionData:ce,sessionKeys:xe,startTimeOffset:Ie,variableList:Oe})}handleTrackOrLevelPlaylist(t,n,o,m,E){const T=this.hls,{id:z,level:H,type:j}=o,se=ut(t,o),ce=r(H)?H:r(z)?z:0,xe=Le(o),Ie=fs.parseLevelPlaylist(t.data,se,ce,xe,0,this.variableList);if(j===h.MANIFEST){const Oe={attrs:new Ui({}),bitrate:0,details:Ie,name:"",url:se};Ie.requestScheduled=n.loading.start+ur(Ie,0),T.trigger(s.MANIFEST_LOADED,{levels:[Oe],audioTracks:[],url:se,stats:n,networkDetails:m,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),o.levelDetails=Ie,this.handlePlaylistLoaded(Ie,t,n,o,m,E)}handleManifestParsingError(t,n,o,m,E){this.hls.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:f.MANIFEST_PARSING_ERROR,fatal:n.type===h.MANIFEST,url:t.url,err:o,error:o,reason:o.message,response:t,context:n,networkDetails:m,stats:E})}handleNetworkError(t,n,o=!1,m,E){let T=`A network ${o?"timeout":"error"+(m?" (status "+m.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?T+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(T+=` id: ${t.id} group-id: "${t.groupId}"`);const z=new Error(T);this.hls.logger.warn(`[playlist-loader]: ${T}`);let H=f.UNKNOWN,j=!1;const se=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:H=o?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,j=!0;break;case h.LEVEL:H=o?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,j=!1;break;case h.AUDIO_TRACK:H=o?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,j=!1;break;case h.SUBTITLE_TRACK:H=o?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,j=!1;break}se&&this.resetInternalLoader(t.type);const ce={type:c.NETWORK_ERROR,details:H,fatal:j,url:t.url,loader:se,context:t,error:z,networkDetails:n,stats:E};if(m){const xe=(n==null?void 0:n.url)||t.url;ce.response=b({url:xe,data:void 0},m)}this.hls.trigger(s.ERROR,ce)}handlePlaylistLoaded(t,n,o,m,E,T){const z=this.hls,{type:H,level:j,id:se,groupId:ce,deliveryDirectives:xe}=m,Ie=ut(n,m),Oe=Le(m),tt=typeof m.level=="number"&&Oe===u.MAIN?j:void 0;if(!t.fragments.length){const Bt=t.playlistParsingError=new Error("No Segments found in Playlist");z.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_EMPTY_ERROR,fatal:!1,url:Ie,error:Bt,reason:Bt.message,response:n,context:m,level:tt,parent:Oe,networkDetails:E,stats:o});return}t.targetduration||(t.playlistParsingError=new Error("Missing Target Duration"));const at=t.playlistParsingError;if(at){if(this.hls.logger.warn(at),!z.config.ignorePlaylistParsingErrors){z.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:Ie,error:at,reason:at.message,response:n,context:m,level:tt,parent:Oe,networkDetails:E,stats:o});return}t.playlistParsingError=null}switch(t.live&&T&&(T.getCacheAge&&(t.ageHeader=T.getCacheAge()||0),(!T.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),H){case h.MANIFEST:case h.LEVEL:z.trigger(s.LEVEL_LOADED,{details:t,levelInfo:m.levelOrTrack||z.levels[0],level:tt||0,id:se||0,stats:o,networkDetails:E,deliveryDirectives:xe,withoutMultiVariant:H===h.MANIFEST});break;case h.AUDIO_TRACK:z.trigger(s.AUDIO_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:se||0,groupId:ce||"",stats:o,networkDetails:E,deliveryDirectives:xe});break;case h.SUBTITLE_TRACK:z.trigger(s.SUBTITLE_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:se||0,groupId:ce||"",stats:o,networkDetails:E,deliveryDirectives:xe});break}}}class rr{static get version(){return Dn}static isMSESupported(){return $f()}static isSupported(){return Tf()}static getMediaSource(){return oe()}static get Events(){return s}static get MetadataSchema(){return Se}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return rr.defaultConfig?rr.defaultConfig:tf}static set DefaultConfig(t){rr.defaultConfig=t}constructor(t={}){this.config=void 0,this.userConfig=void 0,this.logger=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this._emitter=new ks,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioStreamController=void 0,this.subtititleStreamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.interstitialsController=void 0,this.gapController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this._url=null,this._sessionId=void 0,this.triggeringException=void 0,this.started=!1;const n=this.logger=V(t.debug||!1,"Hls instance",t.assetPlayerId),o=this.config=fl(rr.DefaultConfig,t,n);this.userConfig=t,o.progressive&&Wo(o,n);const{abrController:m,bufferController:E,capLevelController:T,errorController:z,fpsController:H}=o,j=new z(this),se=this.abrController=new m(this),ce=new Or(this),xe=o.interstitialsController,Ie=xe?this.interstitialsController=new xe(this,rr):null,Oe=this.bufferController=new E(this,ce),tt=this.capLevelController=new T(this),at=new H(this),Bt=new $t(this),hr=o.contentSteeringController,ar=hr?new hr(this):null,zr=this.levelController=new Bf(this,ar),Wr=new Hf(this),dn=new ve(this.config),Gr=this.streamController=new Z(this,ce,dn),un=this.gapController=new mf(this,ce);tt.setStreamController(Gr),at.setStreamController(Gr);const mn=[Bt,zr,Gr];Ie&&mn.splice(1,0,Ie),ar&&mn.splice(1,0,ar),this.networkControllers=mn;const Qr=[se,Oe,un,tt,at,Wr,ce];this.audioTrackController=this.createController(o.audioTrackController,mn);const Yn=o.audioStreamController;Yn&&mn.push(this.audioStreamController=new Yn(this,ce,dn)),this.subtitleTrackController=this.createController(o.subtitleTrackController,mn);const hi=o.subtitleStreamController;hi&&mn.push(this.subtititleStreamController=new hi(this,ce,dn)),this.createController(o.timelineController,Qr),dn.emeController=this.emeController=this.createController(o.emeController,Qr),this.cmcdController=this.createController(o.cmcdController,Qr),this.latencyController=this.createController(Cf,Qr),this.coreComponents=Qr,mn.push(j);const os=j.onErrorOut;typeof os=="function"&&this.on(s.ERROR,os,j),this.on(s.MANIFEST_LOADED,Bt.onManifestLoaded,Bt)}createController(t,n){if(t){const o=new t(this);return n&&n.push(o),o}return null}on(t,n,o=this){this._emitter.on(t,n,o)}once(t,n,o=this){this._emitter.once(t,n,o)}removeAllListeners(t){this._emitter.removeAllListeners(t)}off(t,n,o=this,m){this._emitter.off(t,n,o,m)}listeners(t){return this._emitter.listeners(t)}emit(t,n,o){return this._emitter.emit(t,n,o)}trigger(t,n){if(this.config.debug)return this.emit(t,t,n);try{return this.emit(t,t,n)}catch(o){if(this.logger.error("An internal error happened while handling event "+t+'. Error message: "'+o.message+'". Here is a stacktrace:',o),!this.triggeringException){this.triggeringException=!0;const m=t===s.ERROR;this.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:m,event:t,error:o}),this.triggeringException=!1}}return!1}listenerCount(t){return this._emitter.listenerCount(t)}destroy(){this.logger.log("destroy"),this.trigger(s.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this._url=null,this.networkControllers.forEach(n=>n.destroy()),this.networkControllers.length=0,this.coreComponents.forEach(n=>n.destroy()),this.coreComponents.length=0;const t=this.config;t.xhrSetup=t.fetchSetup=void 0,this.userConfig=null}attachMedia(t){if(!t||"media"in t&&!t.media){const E=new Error(`attachMedia failed: invalid argument (${t})`);this.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.ATTACH_MEDIA_ERROR,fatal:!0,error:E});return}this.logger.log("attachMedia"),this._media&&(this.logger.warn("media must be detached before attaching"),this.detachMedia());const n="media"in t,o=n?t.media:t,m=n?t:{media:o};this._media=o,this.trigger(s.MEDIA_ATTACHING,m)}detachMedia(){this.logger.log("detachMedia"),this.trigger(s.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const t=this.bufferController.transferMedia();return this.trigger(s.MEDIA_DETACHING,{transferMedia:t}),t}loadSource(t){this.stopLoad();const n=this.media,o=this._url,m=this._url=ie.buildAbsoluteURL(self.location.href,t,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${m}`),n&&o&&(o!==m||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(n)),this.trigger(s.MANIFEST_LOADING,{url:t})}get url(){return this._url}get hasEnoughToStart(){return this.streamController.hasEnoughToStart}get startPosition(){return this.streamController.startPositionValue}startLoad(t=-1,n){this.logger.log(`startLoad(${t+(n?", ":"")})`),this.started=!0,this.resumeBuffering();for(let o=0;o{t.resumeBuffering&&t.resumeBuffering()}))}pauseBuffering(){this.bufferingEnabled&&(this.logger.log("pause buffering"),this.networkControllers.forEach(t=>{t.pauseBuffering&&t.pauseBuffering()}))}get inFlightFragments(){const t={[u.MAIN]:this.streamController.inFlightFrag};return this.audioStreamController&&(t[u.AUDIO]=this.audioStreamController.inFlightFrag),this.subtititleStreamController&&(t[u.SUBTITLE]=this.subtititleStreamController.inFlightFrag),t}swapAudioCodec(){this.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){this.logger.log("recoverMediaError");const t=this._media,n=t==null?void 0:t.currentTime;this.detachMedia(),t&&(this.attachMedia(t),n&&this.startLoad(n))}removeLevel(t){this.levelController.removeLevel(t)}get sessionId(){let t=this._sessionId;return t||(t=this._sessionId=ki()),t}get levels(){const t=this.levelController.levels;return t||[]}get latestLevelDetails(){return this.streamController.getLevelDetails()||null}get loadLevelObj(){return this.levelController.loadLevelObj}get currentLevel(){return this.streamController.currentLevel}set currentLevel(t){this.logger.log(`set currentLevel:${t}`),this.levelController.manualLevel=t,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(t){this.logger.log(`set nextLevel:${t}`),this.levelController.manualLevel=t,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(t){this.logger.log(`set loadLevel:${t}`),this.levelController.manualLevel=t}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(t){this.levelController.nextLoadLevel=t}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(t){this.logger.log(`set firstLevel:${t}`),this.levelController.firstLevel=t}get startLevel(){const t=this.levelController.startLevel;return t===-1&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:t}set startLevel(t){this.logger.log(`set startLevel:${t}`),t!==-1&&(t=Math.max(t,this.minAutoLevel)),this.levelController.startLevel=t}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(t){const n=!!t;n!==this.config.capLevelToPlayerSize&&(n?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=n)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimate():NaN}set bandwidthEstimate(t){this.abrController.resetEstimator(t)}get abrEwmaDefaultEstimate(){const{bwEstimator:t}=this.abrController;return t?t.defaultEstimate:NaN}get ttfbEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimateTTFB():NaN}set autoLevelCapping(t){this._autoLevelCapping!==t&&(this.logger.log(`set autoLevelCapping:${t}`),this._autoLevelCapping=t,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(t){Cr(t)&&this._maxHdcpLevel!==t&&(this._maxHdcpLevel=t,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return this.levelController.manualLevel===-1}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:t,config:{minAutoBitrate:n}}=this;if(!t)return 0;const o=t.length;for(let m=0;m=n)return m;return 0}get maxAutoLevel(){const{levels:t,autoLevelCapping:n,maxHdcpLevel:o}=this;let m;if(n===-1&&t!=null&&t.length?m=t.length-1:m=n,o)for(let E=m;E--;){const T=t[E].attrs["HDCP-LEVEL"];if(T&&T<=o)return E}return m}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(t){this.abrController.nextAutoLevel=t}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}get maxBufferLength(){return this.streamController.maxBufferLength}setAudioOption(t){var n;return((n=this.audioTrackController)==null?void 0:n.setAudioOption(t))||null}setSubtitleOption(t){var n;return((n=this.subtitleTrackController)==null?void 0:n.setSubtitleOption(t))||null}get allAudioTracks(){const t=this.audioTrackController;return t?t.allAudioTracks:[]}get audioTracks(){const t=this.audioTrackController;return t?t.audioTracks:[]}get audioTrack(){const t=this.audioTrackController;return t?t.audioTrack:-1}set audioTrack(t){const n=this.audioTrackController;n&&(n.audioTrack=t)}get allSubtitleTracks(){const t=this.subtitleTrackController;return t?t.allSubtitleTracks:[]}get subtitleTracks(){const t=this.subtitleTrackController;return t?t.subtitleTracks:[]}get subtitleTrack(){const t=this.subtitleTrackController;return t?t.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(t){const n=this.subtitleTrackController;n&&(n.subtitleTrack=t)}get subtitleDisplay(){const t=this.subtitleTrackController;return t?t.subtitleDisplay:!1}set subtitleDisplay(t){const n=this.subtitleTrackController;n&&(n.subtitleDisplay=t)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(t){this.config.lowLatencyMode=t}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}set targetLatency(t){this.latencyController.targetLatency=t}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}get pathways(){return this.levelController.pathways}get pathwayPriority(){return this.levelController.pathwayPriority}set pathwayPriority(t){this.levelController.pathwayPriority=t}get bufferedToEnd(){var t;return!!((t=this.bufferController)!=null&&t.bufferedToEnd)}get interstitialsManager(){var t;return((t=this.interstitialsController)==null?void 0:t.interstitialsManager)||null}getMediaDecodingInfo(t,n=this.allAudioTracks){const o=mi(n);return mt(t,o,navigator.mediaCapabilities)}}rr.defaultConfig=void 0},53280:function(d,v,e){"use strict";e.d(v,{D:function(){return i}});function r(l,c,f){var s=f||{},h=s.noTrailing,u=h===void 0?!1:h,a=s.noLeading,x=a===void 0?!1:a,p=s.debounceMode,y=p===void 0?void 0:p,_,b=!1,S=0;function R(){_&&clearTimeout(_)}function L(D){var B=D||{},$=B.upcomingOnly,U=$===void 0?!1:$;R(),b=!U}function C(){for(var D=arguments.length,B=new Array(D),$=0;$l?x?(S=Date.now(),u||(_=setTimeout(y?G:V,l))):V():u!==!0&&(_=setTimeout(y?G:V,y===void 0?l-K:l))}return C.cancel=L,C}function i(l,c,f){var s=f||{},h=s.atBegin,u=h===void 0?!1:h;return r(l,c,{debounceMode:u!==!1})}}},__webpack_module_cache__={};function __webpack_require__(d){var v=__webpack_module_cache__[d];if(v!==void 0)return v.exports;var e=__webpack_module_cache__[d]={id:d,loaded:!1,exports:{}};return __webpack_modules__[d].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(d){var v=d&&d.__esModule?function(){return d.default}:function(){return d};return __webpack_require__.d(v,{a:v}),v}}(),function(){var d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},v;__webpack_require__.t=function(e,r){if(r&1&&(e=this(e)),r&8||typeof e=="object"&&e&&(r&4&&e.__esModule||r&16&&typeof e.then=="function"))return e;var i=Object.create(null);__webpack_require__.r(i);var l={};v=v||[null,d({}),d([]),d(d)];for(var c=r&2&&e;typeof c=="object"&&!~v.indexOf(c);c=d(c))Object.getOwnPropertyNames(c).forEach(function(f){l[f]=function(){return e[f]}});return l.default=function(){return e},__webpack_require__.d(i,l),i}}(),function(){__webpack_require__.d=function(d,v){for(var e in v)__webpack_require__.o(v,e)&&!__webpack_require__.o(d,e)&&Object.defineProperty(d,e,{enumerable:!0,get:v[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(d){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(v,e){return __webpack_require__.f[e](d,v),v},[]))}}(),function(){__webpack_require__.u=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",570:"p__Home__Detail__OnlineNum__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",672:"p__Home__Detail__ShixunContext__Detail__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8365:"p__Home__Detail__ShixunContext__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"e9392eb2",67:"93f1c362",109:"b2c23042",149:"6f8567cf",195:"77fdc88d",264:"4bf70973",265:"b5d9874f",292:"0627892d",297:"353135d2",310:"c4507f16",316:"1f60ada6",337:"ea8436dc",342:"80fb064e",354:"d4d139cf",479:"e224b4fd",485:"1b812501",503:"0474cb5b",508:"a7474eaf",532:"297384e3",533:"5a1582f1",547:"6369a99e",556:"067025ba",559:"c731138e",570:"86bb156f",576:"000a90eb",629:"44a1d9a5",643:"7ec92bb7",671:"4a609b8d",672:"66a35d22",680:"0b7e13be",700:"96c18af1",737:"d22eb06a",741:"ac5fd360",799:"42592f3d",822:"a9a107ca",869:"d6fa24c6",895:"09d67c2b",921:"e04c4138",928:"09bcc532",981:"24da50c7",988:"34479902",1006:"084e66e4",1043:"26ef4273",1045:"f03dba0f",1048:"8134ed17",1070:"9508bb1f",1109:"eb868b5b",1144:"c90eccaf",1148:"17fffcb3",1154:"8cb80842",1211:"d0b39dcd",1253:"a976e14d",1257:"6c04ad2f",1265:"5a849a80",1274:"5f6ea65a",1276:"3afae1bb",1343:"9b36161a",1416:"36e46eb3",1423:"573333c4",1427:"943b5313",1450:"9edb42b4",1461:"f66a4718",1462:"fcf08abc",1470:"a2d965f4",1475:"276ec189",1482:"eaf358f1",1512:"97439f2e",1520:"a5bbc746",1545:"00fa020b",1578:"1bfe1214",1581:"a0c8ff5e",1582:"f0c0ef24",1646:"e6e27b60",1657:"2e86ccac",1660:"d22e1840",1674:"b0716a62",1702:"ac167c1f",1713:"be35fbd1",1717:"672905ff",1727:"0978fb17",1783:"37d7a2d8",1799:"6e5ce078",1831:"7b00354d",1836:"72c51198",1855:"a651d775",1880:"5444d8e5",1939:"2fe7f604",1953:"19269788",1962:"f9695415",2011:"59d51f98",2045:"34485656",2076:"7b8d120b",2102:"cac8125c",2125:"0917684a",2141:"82d83b54",2216:"aad11742",2240:"4e6f847b",2249:"f4830452",2254:"06ee286c",2300:"522a476b",2303:"d9b2cdba",2307:"2c753f5f",2338:"7b26794a",2339:"ae70b931",2386:"192e235c",2396:"bff887d6",2404:"08134a94",2412:"67d07292",2425:"50344bda",2443:"2681d9be",2476:"e6578cdc",2494:"68080a87",2501:"37d9741d",2529:"121b5d76",2538:"de4a3723",2539:"88fd2bdd",2548:"16af0c05",2570:"42929342",2594:"e87d3761",2603:"523ef0f8",2659:"3ce335a2",2707:"0a13dfde",2806:"0a06b058",2819:"6da4a768",2823:"f1f0847f",2826:"d3ddce3d",2829:"5f9f230c",2837:"54a82605",2865:"34728731",2875:"9be32760",2884:"521c18e3",2969:"ab3357d7",2983:"26731d3d",3006:"e5c3494e",3133:"9bf3f89c",3141:"837fe6bc",3157:"fd153f03",3183:"96fb966a",3198:"8e655451",3212:"279ecd45",3220:"995a6284",3247:"deb893ab",3260:"39b1e219",3276:"95c18bfb",3282:"8f95bf76",3317:"a97c3f01",3332:"57123bdd",3355:"39ac0300",3356:"b2965bb9",3391:"25e4c427",3433:"f3e694de",3442:"fd1129fd",3447:"ba8a0032",3451:"0da92479",3496:"ba415b1f",3509:"1d8d2b0f",3550:"3dc83156",3581:"1e55794e",3585:"95d68278",3611:"ace89cff",3665:"958f104d",3668:"772427c6",3697:"481a10d9",3747:"e97d1860",3754:"3ef95421",3777:"d5b0f2f1",3784:"2ec2a5a5",3805:"9dbcb95e",3862:"458bd945",3873:"15687997",3885:"f87f7f15",3910:"7b238b14",3935:"54ccf8d6",3951:"2071ab24",3987:"5cecd51b",4014:"27a8e97c",4017:"1c5b79f1",4030:"eebdc125",4056:"231fab19",4058:"d2000a29",4078:"78d521ad",4088:"236723f3",4093:"93ff548b",4105:"4965fa0b",4144:"e4bd52d5",4164:"226367c7",4216:"693dfee9",4217:"78898be7",4227:"3a300bdb",4259:"3c72cb4b",4264:"a1df6273",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"26b6a565",4492:"578c7e6d",4496:"3c36b933",4498:"28598c69",4504:"c7e90ec8",4514:"b70bc4b6",4520:"aa3760ab",4546:"4d5b6580",4565:"d58006a2",4572:"346a2108",4599:"61def4cb",4601:"498a64f2",4610:"d28b72f0",4621:"d3c1abff",4628:"ece2c60c",4662:"902a9352",4685:"c33f1528",4715:"109ee354",4736:"ae57e8b9",4741:"30d85bc6",4757:"a91bf056",4766:"1e235c0f",4770:"c8ad9636",4790:"619413e4",4795:"6714cd99",4797:"a24e92db",4800:"33ae884e",4849:"b4205bdb",4850:"1edda4b7",4862:"4c570242",4884:"55a0aa72",4889:"7cba39f3",4928:"8dc56b0b",4973:"b259ff0a",4984:"449c6dcf",4994:"c1ca9b9e",5022:"845f21c4",5043:"7c3e9028",5048:"58fe6ed9",5060:"85dafcc6",5096:"6d9cf620",5111:"19185711",5125:"ca0e6ecb",5148:"99c9419a",5176:"0e5df0b2",5179:"9942c68b",5186:"4a7debe6",5191:"2b3b9950",5238:"cc614e03",5290:"5dabcdc2",5297:"154f0b96",5319:"3c0271bb",5321:"1163c84e",5335:"4c7befde",5354:"7ae70604",5357:"5bcf59d5",5359:"eda307b5",5382:"f2e4f3f1",5402:"516bb8da",5416:"454536b7",5434:"38b302a6",5470:"afb852a3",5494:"d89549c4",5518:"bb10d31b",5549:"f943ef7a",5572:"0ab83260",5573:"928c9c72",5599:"da88fdc5",5624:"be069977",5631:"e00d3d36",5650:"3ef921c0",5679:"4a090bef",5705:"0e903d5d",5729:"735b58b8",5764:"e0d7e586",5775:"2d0405c5",5786:"5a51d2d2",5798:"6fc4fd12",5816:"16d6942f",5825:"74be7da2",5876:"5eded409",5888:"d3ded156",5891:"ab5ce39e",5895:"88283ea8",5902:"86cbdde8",5915:"c9595944",5972:"633417fa",5992:"74a8e982",6029:"f475fde1",6034:"078d4d6c",6045:"d268f87f",6047:"3ce45acd",6052:"858c02fa",6063:"afcd055f",6069:"647e424c",6126:"99519171",6127:"dfcf614b",6170:"3ff20225",6265:"3eff1af4",6270:"40138857",6277:"ba5fe4da",6328:"38237b1a",6366:"259b5c74",6378:"7f3a946a",6411:"3b971528",6434:"24411247",6444:"481ad756",6452:"bc894b89",6531:"58ddac85",6541:"eaf336de",6583:"f4d0311b",6587:"6787e5b3",6634:"73fec4bf",6651:"2eda094f",6685:"47c26bbf",6729:"bab02a4c",6741:"60ed102a",6758:"431c7bfa",6774:"59d4d618",6784:"d192db7c",6788:"8d3f6883",6796:"6d28e962",6805:"e99b1f5e",6820:"552b4100",6845:"677d80b4",6882:"b61b6792",6883:"6cb80143",6904:"d419b352",6913:"af47d55e",6963:"968574e3",6982:"770a6a60",7008:"27e98484",7043:"3eb1d3b2",7045:"470d9014",7046:"9693b403",7058:"619039a8",7062:"63970f65",7081:"8615b79a",7084:"46ccce72",7156:"e7466006",7178:"83a4673d",7182:"82468463",7227:"d42d109e",7242:"b2c89a32",7260:"b51ef915",7331:"2e27a23b",7333:"7373335b",7365:"1005464f",7395:"2dc65d0c",7460:"c8c33d3c",7477:"f711097c",7482:"7c5df48f",7527:"f21af340",7545:"b7886ff4",7560:"780a8dfb",7589:"48692fe5",7591:"8354027c",7614:"402fb1a9",7622:"bc46655e",7686:"4fcec9f9",7706:"c2a79e40",7806:"69d6ec3e",7852:"08169558",7855:"5139f825",7857:"bc2e56d3",7878:"6c3cffbe",7883:"ca3065da",7884:"483642ad",7922:"af2db9e3",7948:"6c65f1e8",7964:"29aed9a1",8014:"4aaaf88f",8062:"3a09da61",8072:"e4be3f3b",8077:"f4016b7b",8085:"4db39ceb",8089:"d536b13a",8143:"00cb9fe1",8155:"50d823bf",8161:"83c5fa9a",8237:"d3bb72d1",8241:"91c45856",8302:"a4d5a664",8307:"cb0adfbb",8340:"d5a9c88c",8350:"07df8a75",8365:"48a45f63",8398:"53838afc",8431:"ba67e25a",8432:"8c997507",8435:"c05654f4",8447:"36e7d286",8517:"2589b3a4",8561:"333e8ec9",8563:"f3d59c80",8634:"4f66e361",8639:"88b5ab2c",8665:"436b0c3f",8688:"b454bdfb",8689:"3171ebd4",8723:"63f691f2",8737:"ce7dad23",8776:"0ad26240",8782:"f0a23d81",8787:"144a65fd",8797:"7498fe26",8823:"19c9d97d",8827:"4bf25f9a",8842:"9f25a3e2",8866:"227c693c",8882:"57b43f6a",8885:"e307a2f0",8898:"d002bcd8",8909:"5b7edd24",8920:"7f82440c",8963:"790aecdd",8982:"b8da288f",8999:"8b152872",9076:"22108f5f",9104:"bbcb2345",9133:"cbd60420",9205:"e1da1956",9215:"303146c2",9252:"0d791a59",9260:"cf5f8140",9332:"dfdbdda7",9360:"8038a6a2",9366:"574688fb",9391:"e6b19941",9404:"9fcc3d3e",9408:"adf55763",9416:"c0e65d29",9487:"a8561e41",9489:"05c3c82a",9507:"eefb5ab4",9519:"50259742",9554:"ed358e7b",9559:"f794af19",9590:"aff88e2a",9644:"769bff45",9647:"3bf563d3",9649:"03496b3d",9674:"4ed97ce4",9677:"54273d5e",9695:"39ea76c8",9715:"014f13cf",9716:"bb226380",9785:"8f6de2c0",9788:"7bef8ad1",9890:"547775bd",9891:"fb5599e1",9895:"b8e31ff2",9921:"7e4ba578",9922:"f7b24e7b",9928:"5989f5e0",9944:"2c37b0ba",9950:"74f6dfb2",9968:"17466785"}[d]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"91ed81ab",67:"1ad7d0db",109:"1a7fc455",195:"a0b7e5dd",264:"5fd9b3fc",265:"d92c6f86",292:"e8d22ed4",310:"06815302",337:"ee05039e",342:"e9b270bd",479:"bba9e475",485:"d63578fe",503:"03cdfb68",508:"82593858",532:"c829a014",533:"5fee20bc",547:"5581debc",556:"892f4292",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"1d9948a7",737:"98eb2f74",799:"b3487c4b",869:"6740e24b",895:"ad846737",921:"30cc7e9b",928:"0277270a",1006:"2263131d",1043:"e8c0878b",1045:"0eeb3595",1048:"dafc3f4f",1070:"e67e9e01",1148:"754fff63",1211:"bdb8faab",1253:"46aca33c",1257:"156e8f74",1265:"d902bdae",1276:"bbc6eeec",1343:"b7f33c89",1416:"f1916094",1423:"5c4a76fc",1427:"f91322f7",1450:"1edcc2ed",1461:"917cbb16",1470:"183c9793",1475:"d22fbaa0",1482:"d159af07",1512:"f3653a35",1520:"f7300d0e",1545:"8eeeaccf",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1657:"cb817d3a",1674:"fdbc1e05",1702:"fca45632",1713:"5ed278a4",1717:"08a9e890",1727:"de83767d",1783:"47d0320e",1831:"8d05bf11",1836:"5f0d3f7f",1855:"b92cccb4",1880:"f67d7892",1939:"48e30d48",1953:"82125cfd",1962:"84e145fa",2045:"dcfad42d",2076:"09b07fa0",2102:"ec61f9f0",2141:"5eb2f330",2216:"e3ba73cf",2240:"e7cce869",2254:"ccda836f",2303:"66c77d21",2307:"b2c54321",2338:"e4bb0d0f",2339:"d90c9bd2",2396:"e70f11d6",2404:"08d36549",2412:"6b6ca0ef",2425:"47b23ee4",2443:"8fb7c26b",2476:"cf85a190",2501:"2441982c",2529:"9d9944da",2539:"43d36117",2548:"75182034",2570:"3dbc6300",2603:"0277270a",2659:"f6071a36",2707:"cabcb16e",2806:"2c7248b3",2819:"9455b08a",2823:"a13b21fb",2826:"0b6be43b",2829:"a5909474",2865:"6ef3cf6b",2875:"d6c8355d",2884:"904823c3",2983:"c8c482f7",3006:"7fce4e74",3141:"72791f8b",3157:"2038b5dc",3183:"b2253f40",3212:"ad1521c1",3220:"a5be3990",3247:"50105eb7",3260:"1847b79c",3276:"7bbb651d",3282:"2dff97e8",3317:"137440b7",3332:"dab65052",3355:"77baa15e",3356:"c6a4098f",3391:"f0e498fe",3433:"e6919a98",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3496:"44bf4044",3509:"70043ca5",3581:"f545d6a6",3585:"5f288e7b",3665:"9a299665",3668:"a1c98b04",3747:"e06419ae",3784:"c81d4a51",3873:"bbd9808d",3910:"658d457f",3935:"9a4efbda",3951:"9b11b034",4030:"7614a85c",4056:"10eacfff",4078:"aa54548e",4093:"c1f29d01",4105:"e39011c7",4144:"f10aa199",4164:"acb27581",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"36917df0",4449:"e68d8d58",4492:"0677fa39",4496:"77babddd",4498:"d086de31",4504:"466a61af",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"14597c83",4601:"3c8ac557",4610:"687005a6",4621:"ead619d7",4662:"4e7b8c12",4715:"45efe14a",4736:"2968553b",4741:"afeb6eca",4757:"73b754d2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4849:"2a1dc219",4862:"e5826b73",4884:"bd293d3b",4889:"db5cf2c9",4928:"a4b1a237",4973:"129c56e8",4994:"50caae56",5022:"81b1b86b",5043:"247e6954",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5125:"57501e4a",5148:"572faeac",5176:"9c49e7fa",5179:"21f01751",5186:"aeb0dc56",5191:"0af389b2",5238:"3d814a61",5297:"5426028f",5319:"34217c3f",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"0c911991",5402:"60617d0d",5470:"b25021a2",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5599:"2ae54005",5624:"5de2fd4d",5650:"f8f63f4b",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5786:"37a81eaa",5798:"ce1cf7da",5816:"d749b200",5825:"738960a3",5888:"193a7f8f",5891:"3b7a128f",5895:"9ddd624a",5915:"bc9c3e69",5972:"c7a91e8e",5992:"419f5d2f",6029:"2ded5a5a",6052:"59cb6398",6063:"a5f0409a",6069:"b4a6d2ab",6127:"f31505a8",6265:"9459eb93",6270:"cc24b0fc",6277:"12e50919",6328:"de2b9d62",6366:"079fc2d8",6434:"0112f8db",6444:"fd46d237",6452:"50a6d310",6541:"d1c967cd",6583:"7d33505d",6587:"9c49e7fa",6634:"df151169",6651:"b07fe216",6685:"f5f5b969",6729:"aea3b7f5",6741:"b838eb14",6758:"1c10a6da",6784:"1affe817",6788:"bde794d4",6796:"89c76e37",6805:"5b253c81",6820:"cebdf1cf",6845:"b7aabf70",6882:"c2d2eada",6883:"7740a702",6904:"44afaa9b",6913:"739202fe",6963:"84e145fa",6982:"3043a9c3",7008:"fe74a83d",7043:"25478869",7045:"48f6fc4c",7046:"c7301ded",7058:"984a456a",7062:"ced4496f",7178:"6e47d75d",7182:"183c9793",7242:"4f353f61",7260:"2c380d56",7395:"5c10e8d8",7460:"dedd2038",7477:"832457fc",7482:"c37a3f01",7527:"6b64ff47",7545:"59925dd9",7560:"d82e43ca",7589:"2a3e68f3",7614:"de9ee12f",7622:"33da27d4",7806:"80b7b1d6",7852:"ee98efe7",7855:"3970a709",7857:"13a29416",7878:"8dfa25f5",7883:"44658a32",7884:"1ca6cde0",7922:"c1d9e2f3",7948:"bed733e5",8014:"9ef39203",8062:"8e384b9f",8072:"540f746b",8077:"0b2c51d9",8085:"c625f85e",8143:"b6ca83ad",8155:"d345abd7",8237:"44654223",8241:"02a0cb2f",8302:"b4649ac5",8307:"02e15761",8398:"cf8eb735",8431:"7f5bd176",8435:"21d4dff0",8447:"0875c082",8517:"cccfddad",8563:"3a763677",8634:"317d0a2b",8665:"c52575bc",8688:"c044db56",8689:"459af240",8723:"5166ac36",8782:"918afc23",8787:"121de108",8797:"13e5189e",8823:"72de0470",8827:"af0ed6a3",8866:"664121ad",8882:"f3e42f72",8885:"de905169",8982:"6e2e337e",8999:"448aa22f",9076:"6a501148",9133:"ab171f08",9205:"49a3e67d",9215:"f737e7e7",9332:"a627cf98",9360:"27c7d4f7",9366:"4f511490",9391:"c11edda0",9404:"d8cf04f7",9408:"d3565b1a",9416:"a204e6fe",9487:"a73f5679",9489:"ee2bb5b7",9507:"396e34cd",9519:"88d248ee",9590:"29583579",9647:"452de157",9649:"00fb4211",9674:"d0f91ed7",9677:"26548cb7",9695:"bb84056a",9715:"b6c6645f",9716:"a5750e0d",9785:"08d36549",9788:"781a4d20",9890:"3ac78858",9891:"512a9301",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[d]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(d){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(d){return d=Object.create(d),d.children||(d.children=[]),Object.defineProperty(d,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+d.id)}}),d}}(),function(){__webpack_require__.o=function(d,v){return Object.prototype.hasOwnProperty.call(d,v)}}(),function(){var d={};__webpack_require__.l=function(v,e,r,i){if(d[v]){d[v].push(e);return}var l,c;if(r!==void 0)for(var f=document.getElementsByTagName("script"),s=0;s{const j=Zi(t,o,H)||Zi(P,o,H)||Zi(m,o,H);return j&&(z[H]=j),z},{})}function Zi(P,t,n){return P&&P.hasAttributeNS(t,n)?P.getAttributeNS(t,n):null}function ua(P){return new Error(`Could not parse ttml timestamp ${P}`)}function ha(P,t){if(!P)return null;let n=Ws(P);return n===null&&(El.test(P)?n=vs(P,t):rc.test(P)&&(n=Ki(P,t))),n}function vs(P,t){const n=El.exec(P),o=(n[4]|0)+(n[5]|0)/t.subFrameRate;return(n[1]|0)*3600+(n[2]|0)*60+(n[3]|0)+o/t.frameRate}function Ki(P,t){const n=rc.exec(P),o=Number(n[1]);switch(n[2]){case"h":return o*3600;case"m":return o*60;case"ms":return o*1e3;case"f":return o/t.frameRate;case"t":return o/t.tickRate}return o}class es{constructor(t,n){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=t,this.trackName=n}dispatchCue(){this.startTime!==null&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)}newCue(t,n,o){(this.startTime===null||this.startTime>t)&&(this.startTime=t),this.endTime=n,this.screen=o,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}class Ku{constructor(t){this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=ll(),this.captionsProperties=void 0,this.hls=t,this.config=t.config,this.Cues=t.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},t.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(s.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(s.FRAG_LOADING,this.onFragLoading,this),t.on(s.FRAG_LOADED,this.onFragLoaded,this),t.on(s.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.on(s.FRAG_DECRYPTED,this.onFragDecrypted,this),t.on(s.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(s.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.on(s.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:t}=this;t.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(s.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(s.FRAG_LOADING,this.onFragLoading,this),t.off(s.FRAG_LOADED,this.onFragLoaded,this),t.off(s.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.off(s.FRAG_DECRYPTED,this.onFragDecrypted,this),t.off(s.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(s.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.off(s.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const t=new es(this,"textTrack1"),n=new es(this,"textTrack2"),o=new es(this,"textTrack3"),m=new es(this,"textTrack4");this.cea608Parser1=new bc(1,t,n),this.cea608Parser2=new bc(3,o,m)}addCues(t,n,o,m,E){let T=!1;for(let z=E.length;z--;){const H=E[z],j=ul(H[0],H[1],n,o);if(j>=0&&(H[0]=Math.min(H[0],n),H[1]=Math.max(H[1],o),T=!0,j/(o-n)>.5))return}if(T||E.push([n,o]),this.config.renderTextTracksNatively){const z=this.captionsTracks[t];this.Cues.newCue(z,n,o,m)}else{const z=this.Cues.newCue(null,n,o,m);this.hls.trigger(s.CUES_PARSED,{type:"captions",cues:z,track:t})}}onInitPtsFound(t,{frag:n,id:o,initPTS:m,timescale:E}){const{unparsedVttFrags:T}=this;o===u.MAIN&&(this.initPTS[n.cc]={baseTime:m,timescale:E}),T.length&&(this.unparsedVttFrags=[],T.forEach(z=>{this.onFragLoaded(s.FRAG_LOADED,z)}))}getExistingTrack(t,n){const{media:o}=this;if(o)for(let m=0;m{Mu(m[E]),delete m[E]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=ll(),this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:t}=this;if(!t)return;const n=t.textTracks;if(n)for(let o=0;oE.textCodec===$u);if(this.config.enableWebVTT||m&&this.config.enableIMSC1){if(oc(this.tracks,o)){this.tracks=o;return}if(this.textTracks=[],this.tracks=o,this.config.renderTextTracksNatively){const T=this.media,z=T?Dc(T.textTracks):null;if(this.tracks.forEach((H,j)=>{let se;if(z){let ce=null;for(let xe=0;xej!==null).map(j=>j.label);H.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${H.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const T=this.tracks.map(z=>({label:z.name,kind:z.type.toLowerCase(),default:z.default,subtitleTrack:z}));this.hls.trigger(s.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:T})}}}onManifestLoaded(t,n){this.config.enableCEA708Captions&&n.captions&&n.captions.forEach(o=>{const m=/(?:CC|SERVICE)([1-4])/.exec(o.instreamId);if(!m)return;const E=`textTrack${m[1]}`,T=this.captionsProperties[E];T&&(T.label=o.name,o.lang&&(T.languageCode=o.lang),T.media=o)})}closedCaptionsForLevel(t){const n=this.hls.levels[t.level];return n==null?void 0:n.attrs["CLOSED-CAPTIONS"]}onFragLoading(t,n){if(this.enabled&&n.frag.type===u.MAIN){var o,m;const{cea608Parser1:E,cea608Parser2:T,lastSn:z}=this,{cc:H,sn:j}=n.frag,se=(o=(m=n.part)==null?void 0:m.index)!=null?o:-1;E&&T&&(j!==z+1||j===z&&se!==this.lastPartIndex+1||H!==this.lastCc)&&(E.reset(),T.reset()),this.lastCc=H,this.lastSn=j,this.lastPartIndex=se}}onFragLoaded(t,n){const{frag:o,payload:m}=n;if(o.type===u.SUBTITLE)if(m.byteLength){const E=o.decryptdata,T="stats"in n;if(E==null||!E.encrypted||T){const z=this.tracks[o.level],H=this.vttCCs;H[o.cc]||(H[o.cc]={start:o.start,prevCC:this.prevCC,new:!0},this.prevCC=o.cc),z&&z.textCodec===$u?this._parseIMSC1(o,m):this._parseVTTs(n)}}else this.hls.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:o,error:new Error("Empty subtitle payload")})}_parseIMSC1(t,n){const o=this.hls;nc(n,this.initPTS[t.cc],m=>{this._appendCues(m,t.level),o.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},m=>{o.logger.log(`Failed to parse IMSC1: ${m}`),o.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:m})})}_parseVTTs(t){var n;const{frag:o,payload:m}=t,{initPTS:E,unparsedVttFrags:T}=this,z=E.length-1;if(!E[o.cc]&&z===-1){T.push(t);return}const H=this.hls,j=(n=o.initSegment)!=null&&n.data?Gt(o.initSegment.data,new Uint8Array(m)).buffer:m;hu(j,this.initPTS[o.cc],this.vttCCs,o.cc,o.start,se=>{this._appendCues(se,o.level),H.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:o})},se=>{const ce=se.message==="Missing initPTS for VTT MPEGTS";ce?T.push(t):this._fallbackToIMSC1(o,m),H.logger.log(`Failed to parse VTT cue: ${se}`),!(ce&&z>o.cc)&&H.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:o,error:se})})}_fallbackToIMSC1(t,n){const o=this.tracks[t.level];o.textCodec||nc(n,this.initPTS[t.cc],()=>{o.textCodec=$u,this._parseIMSC1(t,n)},()=>{o.textCodec="wvtt"})}_appendCues(t,n){const o=this.hls;if(this.config.renderTextTracksNatively){const m=this.textTracks[n];if(!m||m.mode==="disabled")return;t.forEach(E=>vc(m,E))}else{const m=this.tracks[n];if(!m)return;const E=m.default?"default":"subtitles"+n;o.trigger(s.CUES_PARSED,{type:"subtitles",cues:t,track:E})}}onFragDecrypted(t,n){const{frag:o}=n;o.type===u.SUBTITLE&&this.onFragLoaded(s.FRAG_LOADED,n)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(t,n){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:o,samples:m}=n;if(!(o.type===u.MAIN&&this.closedCaptionsForLevel(o)==="NONE"))for(let E=0;EZo(z[H],n,o))}if(this.config.renderTextTracksNatively&&n===0&&m!==void 0){const{textTracks:z}=this;Object.keys(z).forEach(H=>Zo(z[H],n,m))}}}extractCea608Data(t){const n=[[],[]],o=t[0]&31;let m=2;for(let E=0;E=16?H--:H++;const Ie=ol(j.trim()),Oe=Ll(t,n,Ie);P!=null&&(ce=P.cues)!=null&&ce.getCueById(Oe)||(T=new se(t,n,Ie),T.id=Oe,T.line=xe+1,T.align="left",T.position=10+Math.min(80,Math.floor(H*8/32)*10),m.push(T))}return P&&m.length&&(m.sort((xe,Ie)=>xe.line==="auto"||Ie.line==="auto"?0:xe.line>8&&Ie.line>8?Ie.line-xe.line:xe.line-Ie.line),m.forEach(xe=>vc(P,xe))),m}};function Fl(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(P){}return!1}const Sf=/(\d+)-(\d+)\/(\d+)/;class xc{constructor(t){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=null,this.response=null,this.controller=void 0,this.context=null,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=t.fetchSetup||Of,this.controller=new self.AbortController,this.stats=new F}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(t,n,o){const m=this.stats;if(m.loading.start)throw new Error("Loader can only be used once.");m.loading.start=self.performance.now();const E=Jc(t,this.controller.signal),T=t.responseType==="arraybuffer",z=T?"byteLength":"length",{maxTimeToFirstByteMs:H,maxLoadTimeMs:j}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=o,this.request=this.fetchSetup(t,E),self.clearTimeout(this.requestTimeout),n.timeout=H&&r(H)?H:j,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},n.timeout),(Iu(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(ce=>{var xe;this.response=this.loader=ce;const Ie=Math.max(self.performance.now(),m.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=j,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},j-(Ie-m.loading.start)),!ce.ok){const{status:tt,statusText:at}=ce;throw new Xu(at||"fetch, bad network response",tt,ce)}m.loading.first=Ie,m.total=cl(ce.headers)||m.total;const Oe=(xe=this.callbacks)==null?void 0:xe.onProgress;return Oe&&r(n.highWaterMark)?this.loadProgressively(ce,m,t,n.highWaterMark,Oe):T?ce.arrayBuffer():t.responseType==="json"?ce.json():ce.text()}).then(ce=>{var xe,Ie;const Oe=this.response;if(!Oe)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),m.loading.end=Math.max(self.performance.now(),m.loading.first);const tt=ce[z];tt&&(m.loaded=m.total=tt);const at={url:Oe.url,data:ce,code:Oe.status},Bt=(xe=this.callbacks)==null?void 0:xe.onProgress;Bt&&!r(n.highWaterMark)&&Bt(m,t,ce,Oe),(Ie=this.callbacks)==null||Ie.onSuccess(at,m,t,Oe)}).catch(ce=>{var xe;if(self.clearTimeout(this.requestTimeout),m.aborted)return;const Ie=ce&&ce.code||0,Oe=ce?ce.message:null;(xe=this.callbacks)==null||xe.onError({code:Ie,text:Oe},t,ce?ce.details:null,m)})}getCacheAge(){let t=null;if(this.response){const n=this.response.headers.get("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.response?this.response.headers.get(t):null}loadProgressively(t,n,o,m=0,E){const T=new fi,z=t.body.getReader(),H=()=>z.read().then(j=>{if(j.done)return T.dataLength&&E(n,o,T.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const se=j.value,ce=se.length;return n.loaded+=ce,ce=m&&E(n,o,T.flush().buffer,t)):E(n,o,se.buffer,t),H()}).catch(()=>Promise.reject());return H()}}function Jc(P,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},P.headers))};return P.rangeEnd&&n.headers.set("Range","bytes="+P.rangeStart+"-"+String(P.rangeEnd-1)),n}function hf(P){const t=Sf.exec(P);if(t)return parseInt(t[2])-parseInt(t[1])+1}function cl(P){const t=P.get("Content-Range");if(t){const o=hf(t);if(r(o))return o}const n=P.get("Content-Length");if(n)return parseInt(n)}function Of(P,t){return new self.Request(P.url,t)}class Xu extends Error{constructor(t,n,o){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=o}}const Lc=/^age:\s*[\d.]+\s*$/im;class ef{constructor(t){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=t&&t.xhrSetup||null,this.stats=new F,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const t=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),t&&(t.onreadystatechange=null,t.onprogress=null,t.readyState!==4&&(this.stats.aborted=!0,t.abort()))}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(t,n,o){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=t,this.config=n,this.callbacks=o,this.loadInternal()}loadInternal(){const{config:t,context:n}=this;if(!t||!n)return;const o=this.loader=new self.XMLHttpRequest,m=this.stats;m.loading.first=0,m.loaded=0,m.aborted=!1;const E=this.xhrSetup;E?Promise.resolve().then(()=>{if(!(this.loader!==o||this.stats.aborted))return E(o,n.url)}).catch(T=>{if(!(this.loader!==o||this.stats.aborted))return o.open("GET",n.url,!0),E(o,n.url)}).then(()=>{this.loader!==o||this.stats.aborted||this.openAndSendXhr(o,n,t)}).catch(T=>{var z;(z=this.callbacks)==null||z.onError({code:o.status,text:T.message},n,o,m)}):this.openAndSendXhr(o,n,t)}openAndSendXhr(t,n,o){t.readyState||t.open("GET",n.url,!0);const m=n.headers,{maxTimeToFirstByteMs:E,maxLoadTimeMs:T}=o.loadPolicy;if(m)for(const z in m)t.setRequestHeader(z,m[z]);n.rangeEnd&&t.setRequestHeader("Range","bytes="+n.rangeStart+"-"+(n.rangeEnd-1)),t.onreadystatechange=this.readystatechange.bind(this),t.onprogress=this.loadprogress.bind(this),t.responseType=n.responseType,self.clearTimeout(this.requestTimeout),o.timeout=E&&r(E)?E:T,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),o.timeout),t.send()}readystatechange(){const{context:t,loader:n,stats:o}=this;if(!t||!n)return;const m=n.readyState,E=this.config;if(!o.aborted&&m>=2&&(o.loading.first===0&&(o.loading.first=Math.max(self.performance.now(),o.loading.start),E.timeout!==E.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),E.timeout=E.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),E.loadPolicy.maxLoadTimeMs-(o.loading.first-o.loading.start)))),m===4)){self.clearTimeout(this.requestTimeout),n.onreadystatechange=null,n.onprogress=null;const j=n.status,se=n.responseType==="text"?n.responseText:null;if(j>=200&&j<300){const Oe=se!=null?se:n.response;if(Oe!=null){var T,z;o.loading.end=Math.max(self.performance.now(),o.loading.first);const tt=n.responseType==="arraybuffer"?Oe.byteLength:Oe.length;o.loaded=o.total=tt,o.bwEstimate=o.total*8e3/(o.loading.end-o.loading.first);const at=(T=this.callbacks)==null?void 0:T.onProgress;at&&at(o,t,Oe,n);const Bt={url:n.responseURL,data:Oe,code:j};(z=this.callbacks)==null||z.onSuccess(Bt,o,t,n);return}}const ce=E.loadPolicy.errorRetry,xe=o.retry,Ie={url:t.url,data:void 0,code:j};if(He(ce,xe,!1,Ie))this.retry(ce);else{var H;G.error(`${j} while loading ${t.url}`),(H=this.callbacks)==null||H.onError({code:j,text:n.statusText},t,n,o)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,n=this.stats.retry;if(He(t,n,!0))this.retry(t);else{var o;G.warn(`timeout while loading ${(o=this.context)==null?void 0:o.url}`);const m=this.callbacks;m&&(this.abortInternal(),m.onTimeout(this.stats,this.context,this.loader))}}retry(t){const{context:n,stats:o}=this;this.retryDelay=Ir(t,o.retry),o.retry++,G.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${n==null?void 0:n.url}, retrying ${o.retry}/${t.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(t){const n=this.stats;n.loaded=t.loaded,t.lengthComputable&&(n.total=t.total)}getCacheAge(){let t=null;if(this.loader&&Lc.test(this.loader.getAllResponseHeaders())){const n=this.loader.getResponseHeader("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.loader&&new RegExp(`^${t}:\\s*[\\d.]+\\s*$`,"im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(t):null}}const Ho={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},tf=b(b({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,maxDevicePixelRatio:Number.POSITIVE_INFINITY,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,maxBufferSize:60*1e3*1e3,maxFragLookUpTolerance:.25,maxBufferHole:.1,detectStallWithCurrentTimeMs:1250,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,nudgeOnVideoHole:!0,liveSyncDurationCount:3,liveSyncOnStallIncrease:1,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,ignorePlaylistParsingErrors:!1,loader:ef,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:Gi,bufferController:Hu,capLevelController:cc,errorController:ir,fpsController:nl,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrEwmaDefaultEstimateMax:5e6,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:Fa,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableEmsgKLVMetadata:!1,enableID3MetadataCues:!0,enableInterstitialPlayback:!0,interstitialAppendInPlace:!0,interstitialLiveLookAhead:10,useMediaCapabilities:!0,certLoadPolicy:{default:Ho},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},interstitialAssetListLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:3e4,timeoutRetry:{maxNumRetry:0,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:0,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},pf()),{},{subtitleStreamController:I,subtitleTrackController:Kc,timelineController:Ku,audioStreamController:Zl,audioTrackController:Sc,emeController:Lu,cmcdController:Qo,contentSteeringController:$o,interstitialsController:yc});function pf(){return{cueHandler:wf,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}}function fl(P,t,n){if((t.liveSyncDurationCount||t.liveMaxLatencyDurationCount)&&(t.liveSyncDuration||t.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(t.liveMaxLatencyDurationCount!==void 0&&(t.liveSyncDurationCount===void 0||t.liveMaxLatencyDurationCount<=t.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(t.liveMaxLatencyDuration!==void 0&&(t.liveSyncDuration===void 0||t.liveMaxLatencyDuration<=t.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const o=Bl(P),m=["manifest","level","frag"],E=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return m.forEach(T=>{const z=`${T==="level"?"playlist":T}LoadPolicy`,H=t[z]===void 0,j=[];E.forEach(se=>{const ce=`${T}Loading${se}`,xe=t[ce];if(xe!==void 0&&H){j.push(ce);const Ie=o[z].default;switch(t[z]={default:Ie},se){case"TimeOut":Ie.maxLoadTimeMs=xe,Ie.maxTimeToFirstByteMs=xe;break;case"MaxRetry":Ie.errorRetry.maxNumRetry=xe,Ie.timeoutRetry.maxNumRetry=xe;break;case"RetryDelay":Ie.errorRetry.retryDelayMs=xe,Ie.timeoutRetry.retryDelayMs=xe;break;case"MaxRetryTimeout":Ie.errorRetry.maxRetryDelayMs=xe,Ie.timeoutRetry.maxRetryDelayMs=xe;break}}}),j.length&&n.warn(`hls.js config: "${j.join('", "')}" setting(s) are deprecated, use "${z}": ${zn(t[z])}`)}),b(b({},o),t)}function Bl(P){return P&&typeof P=="object"?Array.isArray(P)?P.map(Bl):Object.keys(P).reduce((t,n)=>(t[n]=Bl(P[n]),t),{}):P}function Wo(P,t){const n=P.loader;n!==xc&&n!==ef?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),P.progressive=!1):Fl()&&(P.loader=xc,P.progressive=!0,P.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const Ec=2,_f=.1,Mc=.05,Fc=100;class mf extends Is{constructor(t,n){super("gap-controller",t.logger),this.hls=null,this.fragmentTracker=null,this.media=null,this.mediaSource=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.buffered={},this.lastCurrentTime=0,this.ended=0,this.waiting=0,this.onMediaPlaying=()=>{this.ended=0,this.waiting=0},this.onMediaWaiting=()=>{var o;(o=this.media)!=null&&o.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{if(this.hls){var o;this.ended=((o=this.media)==null?void 0:o.currentTime)||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!1})}},this.hls=t,this.fragmentTracker=n,this.registerListeners()}registerListeners(){const{hls:t}=this;t&&(t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.BUFFER_APPENDED,this.onBufferAppended,this))}destroy(){super.destroy(),this.unregisterListeners(),this.media=this.hls=this.fragmentTracker=null,this.mediaSource=void 0}onMediaAttached(t,n){this.setInterval(Fc),this.mediaSource=n.mediaSource;const o=this.media=n.media;iu(o,"playing",this.onMediaPlaying),iu(o,"waiting",this.onMediaWaiting),iu(o,"ended",this.onMediaEnded)}onMediaDetaching(t,n){this.clearInterval();const{media:o}=this;o&&(qo(o,"playing",this.onMediaPlaying),qo(o,"waiting",this.onMediaWaiting),qo(o,"ended",this.onMediaEnded),this.media=null),this.mediaSource=void 0}onBufferAppended(t,n){this.buffered=n.timeRanges}get hasBuffered(){return Object.keys(this.buffered).length>0}tick(){var t;if(!((t=this.media)!=null&&t.readyState)||!this.hasBuffered)return;const n=this.media.currentTime;this.poll(n,this.lastCurrentTime),this.lastCurrentTime=n}poll(t,n){var o,m;const E=(o=this.hls)==null?void 0:o.config;if(!E)return;const{media:T,stalled:z}=this;if(!T)return;const{seeking:H}=T,j=this.seeking&&!H,se=!this.seeking&&H,ce=T.paused&&!H||T.ended||T.playbackRate===0;if(this.seeking=H,t!==n){n&&(this.ended=0),this.moved=!0,H||(this.nudgeRetry=0,E.nudgeOnVideoHole&&!ce&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if(se||j){j&&this.stallResolved(t);return}if(ce){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&T.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!1}));return}if(!xi.getBuffered(T).length){this.nudgeRetry=0;return}const xe=xi.bufferInfo(T,t,0),Ie=xe.nextStart||0,Oe=this.fragmentTracker;if(H&&Oe&&this.hls){const dn=Bc(this.hls.inFlightFragments,t),Gr=xe.len>Ec,un=!Ie||dn||Ie-t>Ec&&!Oe.getPartialFragment(t);if(Gr||un)return;this.moved=!1}const tt=(m=this.hls)==null?void 0:m.latestLevelDetails;if(!this.moved&&this.stalled!==null&&Oe){if(!(xe.len>0)&&!Ie)return;const Gr=Math.max(Ie,xe.start||0)-t,mn=!!(tt!=null&&tt.live)?tt.targetduration*2:Ec,Qr=Oe.getPartialFragment(t);if(Gr>0&&(Gr<=mn||Qr)){T.paused||this._trySkipBufferHole(Qr);return}}const at=E.detectStallWithCurrentTimeMs,Bt=self.performance.now(),hr=this.waiting;if(z===null){hr>0&&Bt-hr=at||hr)&&this.hls){var zr;if(((zr=this.mediaSource)==null?void 0:zr.readyState)==="ended"&&!(tt!=null&&tt.live)&&Math.abs(t-((tt==null?void 0:tt.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(xe),!this.media||!this.hls)return}const Wr=xi.bufferInfo(T,t,E.maxBufferHole);this._tryFixBufferStall(Wr,ar)}stallResolved(t){const n=this.stalled;if(n&&this.hls&&(this.stalled=null,this.stallReported)){const o=self.performance.now()-n;this.log(`playback not stuck anymore @${t}, after ${Math.round(o)}ms`),this.stallReported=!1,this.waiting=0,this.hls.trigger(s.STALL_RESOLVED,{})}}nudgeOnVideoHole(t,n){var o;const m=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&(o=this.buffered.audio)!=null&&o.length&&m&&m.length>1&&t>m.end(0)){const E=xi.bufferedInfo(xi.timeRangesToArray(this.buffered.audio),t,0);if(E.len>1&&n>=E.start){const T=xi.timeRangesToArray(m),z=xi.bufferedInfo(T,n,0).bufferedIndex;if(z>-1&&zz)&&se-j<1&&t-j<2){const ce=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${j} -> ${se} buffered index: ${H}`);this.warn(ce.message),this.media.currentTime+=1e-6;const xe=this.fragmentTracker.getPartialFragment(t)||void 0,Ie=xi.bufferInfo(this.media,t,0);this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:ce,reason:ce.message,frag:xe,buffer:Ie.len,bufferInfo:Ie})}}}}}_tryFixBufferStall(t,n){var o,m;const{fragmentTracker:E,media:T}=this,z=(o=this.hls)==null?void 0:o.config;if(!T||!E||!z)return;const H=T.currentTime,j=(m=this.hls)==null?void 0:m.latestLevelDetails,se=E.getPartialFragment(H);if((se||j!=null&&j.live&&H1&&t.len>z.maxBufferHole||t.nextStart&&t.nextStart-Hz.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(t))}_reportStall(t){const{hls:n,media:o,stallReported:m,stalled:E}=this;if(!m&&E!==null&&o&&n){this.stallReported=!0;const T=new Error(`Playback stalling at @${o.currentTime} due to low buffer (${zn(t)})`);this.warn(T.message),n.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:T,buffer:t.len,bufferInfo:t,stalled:{start:E}})}}_trySkipBufferHole(t){var n;const{fragmentTracker:o,media:m}=this,E=(n=this.hls)==null?void 0:n.config;if(!m||!o||!E)return 0;const T=m.currentTime,z=xi.bufferInfo(m,T,0),H=T0&&z.len<1&&m.readyState<3,xe=H-T;if(xe>0&&(se||ce)){if(xe>E.maxBufferHole){let Oe=!1;if(T===0){const tt=o.getAppendedFrag(0,u.MAIN);tt&&H{const P=Nc();try{P&&new P(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();function vf(P){return Uint8Array.from(P.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer}class Hf{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(s.EVENT_CUE_ENTER,{})},this.hls=t,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:t}=this;t.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(s.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}_unregisterListeners(){const{hls:t}=this;t.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(s.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}onMediaAttaching(t,n){var o;this.media=n.media,((o=n.overrides)==null?void 0:o.cueRemoval)===!1&&(this.removeCues=!1)}onMediaAttached(){const t=this.hls.latestLevelDetails;t&&this.updateDateRangeCues(t)}onMediaDetaching(t,n){this.media=null,!n.transferMedia&&(this.id3Track&&(this.removeCues&&Mu(this.id3Track,this.onEventCueEnter),this.id3Track=null),this.dateRangeCuesAppended={})}onManifestLoading(){this.dateRangeCuesAppended={}}createTrack(t){const n=this.getID3Track(t.textTracks);return n.mode="hidden",n}getID3Track(t){if(this.media){for(let n=0;nrf&&(ce=rf),ce-se<=0&&(ce=se+Mf);for(let Ie=0;Iese.type===Se.audioId3&&H:m==="video"?j=se=>se.type===Se.emsg&&z:j=se=>se.type===Se.audioId3&&H||se.type===Se.emsg&&z,Zo(E,n,o,j)}}onLevelUpdated(t,{details:n}){this.updateDateRangeCues(n,!0)}onLevelPtsUpdated(t,n){Math.abs(n.drift)>.01&&this.updateDateRangeCues(n.details)}updateDateRangeCues(t,n){if(!this.media||!t.hasProgramDateTime||!this.hls.config.enableDateRangeMetadataCues)return;const{id3Track:o}=this,{dateRanges:m}=t,E=Object.keys(m);let T=this.dateRangeCuesAppended;if(o&&n){var z;if((z=o.cues)!=null&&z.length){const se=Object.keys(T).filter(ce=>!E.includes(ce));for(let ce=se.length;ce--;){const xe=se[ce],Ie=T[xe].cues;delete T[xe],Object.keys(Ie).forEach(Oe=>{try{const tt=Ie[Oe];tt.removeEventListener("enter",this.onEventCueEnter),o.removeCue(tt)}catch(tt){}})}}else T=this.dateRangeCuesAppended={}}const H=t.fragments[t.fragments.length-1];if(E.length===0||!r(H==null?void 0:H.programDateTime))return;this.id3Track||(this.id3Track=this.createTrack(this.media));const j=Nc();for(let se=0;se{if(Gr!==xe.id){const un=m[Gr];if(un.class===xe.class&&un.startDate>xe.startDate&&(!dn||xe.startDate.01&&(Gr.startTime=Ie,Gr.endTime=Bt);else if(j){let un=xe.attr[dn];ja(dn)&&(un=vf(un));const Qr=Ff(j,Ie,Bt,{key:dn,data:un},Se.dateRange);Qr&&(Qr.id=ce,this.id3Track.addCue(Qr),tt[dn]=Qr,this.hls.config.interstitialsController&&(dn==="X-ASSET-LIST"||dn==="X-ASSET-URL")&&Qr.addEventListener("enter",this.onEventCueEnter))}}T[ce]={cues:tt,dateRange:xe,durationKnown:at}}}}class Cf{constructor(t){this.hls=void 0,this.config=void 0,this.media=null,this.currentTime=0,this.stallCount=0,this._latency=null,this._targetLatencyUpdated=!1,this.onTimeupdate=()=>{const{media:n}=this,o=this.levelDetails;if(!n||!o)return;this.currentTime=n.currentTime;const m=this.computeLatency();if(m===null)return;this._latency=m;const{lowLatencyMode:E,maxLiveSyncPlaybackRate:T}=this.config;if(!E||T===1||!o.live)return;const z=this.targetLatency;if(z===null)return;const H=m-z,j=Math.min(this.maxLatency,z+o.targetduration);if(H.05&&this.forwardBufferLength>1){const ce=Math.min(2,Math.max(1,T)),xe=Math.round(2/(1+Math.exp(-.75*H-this.edgeStalled))*20)/20,Ie=Math.min(ce,Math.max(1,xe));this.changeMediaPlaybackRate(n,Ie)}else n.playbackRate!==1&&n.playbackRate!==0&&this.changeMediaPlaybackRate(n,1)},this.hls=t,this.config=t.config,this.registerListeners()}get levelDetails(){var t;return((t=this.hls)==null?void 0:t.latestLevelDetails)||null}get latency(){return this._latency||0}get maxLatency(){const{config:t}=this;if(t.liveMaxLatencyDuration!==void 0)return t.liveMaxLatencyDuration;const n=this.levelDetails;return n?t.liveMaxLatencyDurationCount*n.targetduration:0}get targetLatency(){const t=this.levelDetails;if(t===null||this.hls===null)return null;const{holdBack:n,partHoldBack:o,targetduration:m}=t,{liveSyncDuration:E,liveSyncDurationCount:T,lowLatencyMode:z}=this.config,H=this.hls.userConfig;let j=z&&o||n;(this._targetLatencyUpdated||H.liveSyncDuration||H.liveSyncDurationCount||j===0)&&(j=E!==void 0?E:T*m);const se=m;return j+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,se)}set targetLatency(t){this.stallCount=0,this.config.liveSyncDuration=t,this._targetLatencyUpdated=!0}get liveSyncPosition(){const t=this.estimateLiveEdge(),n=this.targetLatency;if(t===null||n===null)return null;const o=this.levelDetails;if(o===null)return null;const m=o.edge,E=t-n-this.edgeStalled,T=m-o.totalduration,z=m-(this.config.lowLatencyMode&&o.partTarget||o.targetduration);return Math.min(Math.max(T,E),z)}get drift(){const t=this.levelDetails;return t===null?1:t.drift}get edgeStalled(){const t=this.levelDetails;if(t===null)return 0;const n=(this.config.lowLatencyMode&&t.partTarget||t.targetduration)*3;return Math.max(t.age-n,0)}get forwardBufferLength(){const{media:t}=this,n=this.levelDetails;if(!t||!n)return 0;const o=t.buffered.length;return(o?t.buffered.end(o-1):n.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.hls=null}registerListeners(){const{hls:t}=this;t&&(t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(s.ERROR,this.onError,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(s.ERROR,this.onError,this))}onMediaAttached(t,n){this.media=n.media,this.media.addEventListener("timeupdate",this.onTimeupdate)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.onTimeupdate),this.media=null)}onManifestLoading(){this._latency=null,this.stallCount=0}onLevelUpdated(t,{details:n}){n.advanced&&this.onTimeupdate(),!n.live&&this.media&&this.media.removeEventListener("timeupdate",this.onTimeupdate)}onError(t,n){var o;n.details===f.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&(o=this.levelDetails)!=null&&o.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(t,n){var o,m;t.playbackRate!==n&&((o=this.hls)==null||o.logger.debug(`[latency-controller]: latency=${this.latency.toFixed(3)}, targetLatency=${(m=this.targetLatency)==null?void 0:m.toFixed(3)}, forwardBufferLength=${this.forwardBufferLength.toFixed(3)}: adjusting playback rate from ${t.playbackRate} to ${n}`),t.playbackRate=n)}estimateLiveEdge(){const t=this.levelDetails;return t===null?null:t.edge+t.age}computeLatency(){const t=this.estimateLiveEdge();return t===null?null:t-this.currentTime}}class Bf extends lu{constructor(t,n){super(t,"level-controller"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=n,this._registerListeners()}_registerListeners(){const{hls:t}=this;t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(s.LEVEL_LOADED,this.onLevelLoaded,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(s.FRAG_BUFFERED,this.onFragBuffered,this),t.on(s.ERROR,this.onError,this)}_unregisterListeners(){const{hls:t}=this;t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(s.LEVEL_LOADED,this.onLevelLoaded,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(s.FRAG_BUFFERED,this.onFragBuffered,this),t.off(s.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach(n=>{n.loadError=0,n.fragmentError=0}),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(t,n){this.resetLevels()}onManifestLoaded(t,n){const o=this.hls.config.preferManagedMediaSource,m=[],E={},T={};let z=!1,H=!1,j=!1;n.levels.forEach(se=>{var ce;const xe=se.attrs;let{audioCodec:Ie,videoCodec:Oe}=se;Ie&&(se.audioCodec=Ie=St(Ie,o)||void 0),((ce=Oe)==null?void 0:ce.indexOf("avc1"))===0&&(Oe=se.videoCodec=Ar(Oe));const{width:tt,height:at,unknownCodecs:Bt}=se;let hr=Bt?Bt.length:0;if(Bt)for(let Yn=hr;Yn--;){const hi=Bt[Yn];this.isAudioSupported(hi)?(se.audioCodec=Ie=Ie?`${Ie},${hi}`:hi,hr--,zt.audio[Ie.substring(0,4)]=2):this.isVideoSupported(hi)&&(se.videoCodec=Oe=Oe?`${Oe},${hi}`:hi,hr--,zt.video[Oe.substring(0,4)]=2)}if(z||(z=!!(tt&&at)),H||(H=!!Oe),j||(j=!!Ie),hr||Ie&&!this.isAudioSupported(Ie)||Oe&&!this.isVideoSupported(Oe)){this.log(`Some or all CODECS not supported "${xe.CODECS}"`);return}const{CODECS:ar,"FRAME-RATE":zr,"HDCP-LEVEL":Wr,"PATHWAY-ID":dn,RESOLUTION:Gr,"VIDEO-RANGE":un}=xe,Qr=`${`${dn||"."}-`}${se.bitrate}-${Gr}-${zr}-${ar}-${un}-${Wr}`;if(E[Qr])if(E[Qr].uri!==se.url&&!se.attrs["PATHWAY-ID"]){const Yn=T[Qr]+=1;se.attrs["PATHWAY-ID"]=new Array(Yn+1).join(".");const hi=this.createLevel(se);E[Qr]=hi,m.push(hi)}else E[Qr].addGroupId("audio",xe.AUDIO),E[Qr].addGroupId("text",xe.SUBTITLES);else{const Yn=this.createLevel(se);E[Qr]=Yn,T[Qr]=1,m.push(Yn)}}),this.filterAndSortMediaOptions(m,n,z,H,j)}createLevel(t){const n=new cr(t),o=t.supplemental;if(o!=null&&o.videoCodec&&!this.isVideoSupported(o.videoCodec)){const m=new Error(`SUPPLEMENTAL-CODECS not supported "${o.videoCodec}"`);this.log(m.message),n.supportedResult=fn(m,[])}return n}isAudioSupported(t){return ke(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return ke(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,n,o,m,E){let T=[],z=[],H=t;if((o||m)&&E&&(H=H.filter(({videoCodec:at,videoRange:Bt,width:hr,height:ar})=>(!!at||!!(hr&&ar))&&rn(Bt))),H.length===0){Promise.resolve().then(()=>{if(this.hls){let at="no level with compatible codecs found in manifest",Bt=at;n.levels.length&&(Bt=`one or more CODECS in variant not supported: ${zn(n.levels.map(ar=>ar.attrs.CODECS).filter((ar,zr,Wr)=>Wr.indexOf(ar)===zr))}`,this.warn(Bt),at+=` (${Bt})`);const hr=new Error(at);this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:hr,reason:Bt})}});return}n.audioTracks&&(T=n.audioTracks.filter(at=>!at.audioCodec||this.isAudioSupported(at.audioCodec)),Nf(T)),n.subtitles&&(z=n.subtitles,Nf(z));const j=H.slice(0);H.sort((at,Bt)=>{if(at.attrs["HDCP-LEVEL"]!==Bt.attrs["HDCP-LEVEL"])return(at.attrs["HDCP-LEVEL"]||"")>(Bt.attrs["HDCP-LEVEL"]||"")?1:-1;if(o&&at.height!==Bt.height)return at.height-Bt.height;if(at.frameRate!==Bt.frameRate)return at.frameRate-Bt.frameRate;if(at.videoRange!==Bt.videoRange)return gr.indexOf(at.videoRange)-gr.indexOf(Bt.videoRange);if(at.videoCodec!==Bt.videoCodec){const hr=Ke(at.videoCodec),ar=Ke(Bt.videoCodec);if(hr!==ar)return ar-hr}if(at.uri===Bt.uri&&at.codecSet!==Bt.codecSet){const hr=vt(at.codecSet),ar=vt(Bt.codecSet);if(hr!==ar)return ar-hr}return at.averageBitrate!==Bt.averageBitrate?at.averageBitrate-Bt.averageBitrate:0});let se=j[0];if(this.steering&&(H=this.steering.filterParsedLevels(H),H.length!==j.length)){for(let at=0;athr&&hr===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=ar)}break}const xe=E&&!m,Ie=this.hls.config,Oe=!!(Ie.audioStreamController&&Ie.audioTrackController),tt={levels:H,audioTracks:T,subtitleTracks:z,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:E,video:m,altAudio:Oe&&!xe&&T.some(at=>!!at.url)};this.hls.trigger(s.MANIFEST_PARSED,tt)}get levels(){return this._levels.length===0?null:this._levels}get loadLevelObj(){return this.currentLevel}get level(){return this.currentLevelIndex}set level(t){const n=this._levels;if(n.length===0)return;if(t<0||t>=n.length){const se=new Error("invalid level idx"),ce=t<0;if(this.hls.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:ce,error:se,reason:se.message}),ce)return;t=Math.min(t,n.length-1)}const o=this.currentLevelIndex,m=this.currentLevel,E=m?m.attrs["PATHWAY-ID"]:void 0,T=n[t],z=T.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=T,o===t&&m&&E===z)return;this.log(`Switching to level ${t} (${T.height?T.height+"p ":""}${T.videoRange?T.videoRange+" ":""}${T.codecSet?T.codecSet+" ":""}@${T.bitrate})${z?" with Pathway "+z:""} from level ${o}${E?" with Pathway "+E:""}`);const H={level:t,attrs:T.attrs,details:T.details,bitrate:T.bitrate,averageBitrate:T.averageBitrate,maxBitrate:T.maxBitrate,realBitrate:T.realBitrate,width:T.width,height:T.height,codecSet:T.codecSet,audioCodec:T.audioCodec,videoCodec:T.videoCodec,audioGroups:T.audioGroups,subtitleGroups:T.subtitleGroups,loaded:T.loaded,loadError:T.loadError,fragmentError:T.fragmentError,name:T.name,id:T.id,uri:T.uri,url:T.url,urlId:0,audioGroupIds:T.audioGroupIds,textGroupIds:T.textGroupIds};this.hls.trigger(s.LEVEL_SWITCHING,H);const j=T.details;if(!j||j.live){const se=this.switchParams(T.uri,m==null?void 0:m.details,j);this.loadPlaylist(se)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(t){this.manualLevelIndex=t,this._startLevel===void 0&&(this._startLevel=t),t!==-1&&(this.level=t)}get firstLevel(){return this._firstLevel}set firstLevel(t){this._firstLevel=t}get startLevel(){if(this._startLevel===void 0){const t=this.hls.config.startLevel;return t!==void 0?t:this.hls.firstAutoLevel}return this._startLevel}set startLevel(t){this._startLevel=t}get pathways(){return this.steering?this.steering.pathways():[]}get pathwayPriority(){return this.steering?this.steering.pathwayPriority:null}set pathwayPriority(t){if(this.steering){const n=this.steering.pathways(),o=t.filter(m=>n.indexOf(m)!==-1);if(t.length<1){this.warn(`pathwayPriority ${t} should contain at least one pathway from list: ${n}`);return}this.steering.pathwayPriority=o}}onError(t,n){n.fatal||!n.context||n.context.type===h.LEVEL&&n.context.level===this.level&&this.checkRetry(n)}onFragBuffered(t,{frag:n}){if(n!==void 0&&n.type===u.MAIN){const o=n.elementaryStreams;if(!Object.keys(o).some(E=>!!o[E]))return;const m=this._levels[n.level];m!=null&&m.loadError&&(this.log(`Resetting level error count of ${m.loadError} on frag buffered`),m.loadError=0)}}onLevelLoaded(t,n){var o;const{level:m,details:E}=n,T=n.levelInfo;if(!T){var z;this.warn(`Invalid level index ${m}`),(z=n.deliveryDirectives)!=null&&z.skip&&(E.deltaUpdateFailed=!0);return}if(T===this.currentLevel||n.withoutMultiVariant){T.fragmentError===0&&(T.loadError=0);let H=T.details;H===n.details&&H.advanced&&(H=void 0),this.playlistLoaded(m,n,H)}else(o=n.deliveryDirectives)!=null&&o.skip&&(E.deltaUpdateFailed=!0)}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentLevel)&&this.scheduleLoading(this.currentLevel,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const o=this.getUrlWithDirectives(t.uri,n),m=this.currentLevelIndex,E=t.attrs["PATHWAY-ID"],T=t.details,z=T==null?void 0:T.age;this.log(`Loading level index ${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${E?" Pathway "+E:""}${z&&T.live?" age "+z.toFixed(1)+(T.type?" "+T.type||0:""):""} ${o}`),this.hls.trigger(s.LEVEL_LOADING,{url:o,level:m,levelInfo:t,pathwayId:t.attrs["PATHWAY-ID"],id:0,deliveryDirectives:n||null})}get nextLoadLevel(){return this.manualLevelIndex!==-1?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(t){this.level=t,this.manualLevelIndex===-1&&(this.hls.nextAutoLevel=t)}removeLevel(t){var n;if(this._levels.length===1)return;const o=this._levels.filter((E,T)=>T!==t?!0:(this.steering&&this.steering.removeLevel(E),E===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,E.details&&E.details.fragments.forEach(z=>z.level=-1)),!1));Hn(o),this._levels=o,this.currentLevelIndex>-1&&(n=this.currentLevel)!=null&&n.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.manualLevelIndex>-1&&(this.manualLevelIndex=this.currentLevelIndex);const m=o.length-1;this._firstLevel=Math.min(this._firstLevel,m),this._startLevel&&(this._startLevel=Math.min(this._startLevel,m)),this.hls.trigger(s.LEVELS_UPDATED,{levels:o})}onLevelsUpdated(t,{levels:n}){this._levels=n}checkMaxAutoUpdated(){const{autoLevelCapping:t,maxAutoLevel:n,maxHdcpLevel:o}=this.hls;this._maxAutoLevel!==n&&(this._maxAutoLevel=n,this.hls.trigger(s.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:t,levels:this.levels,maxAutoLevel:n,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:o}))}}function Nf(P){const t={};P.forEach(n=>{const o=n.groupId||"";n.id=t[o]=t[o]||0,t[o]++})}function nf(){return self.SourceBuffer||self.WebKitSourceBuffer}function $f(){if(!oe())return!1;const t=nf();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function Tf(){if(!$f())return!1;const P=oe();return typeof(P==null?void 0:P.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>P.isTypeSupported(be(t,"video")))||["mp4a.40.2","fLaC"].some(t=>P.isTypeSupported(be(t,"audio"))))}function g(){var P;const t=nf();return typeof(t==null||(P=t.prototype)==null?void 0:P.changeType)=="function"}const A=100;class Z extends na{constructor(t,n,o){super(t,n,o,"stream-controller",u.MAIN),this.audioCodecSwap=!1,this.level=-1,this._forceStartLoad=!1,this._hasEnoughToStart=!1,this.altAudio=0,this.audioOnly=!1,this.fragPlaying=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this.onMediaPlaying=()=>{this.tick()},this.onMediaSeeked=()=>{const m=this.media,E=m?m.currentTime:null;if(E===null||!r(E)||(this.log(`Media seeked to ${E.toFixed(3)}`),!this.getBufferedFrag(E)))return;const T=this.getFwdBufferInfoAtPos(m,E,u.MAIN,0);if(T===null||T.len===0){this.warn(`Main forward buffer length at ${E} on "seeked" event ${T?T.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(s.MANIFEST_PARSED,this.onManifestParsed,this),t.on(s.LEVEL_LOADING,this.onLevelLoading,this),t.on(s.LEVEL_LOADED,this.onLevelLoaded,this),t.on(s.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(s.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(s.BUFFER_CREATED,this.onBufferCreated,this),t.on(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(s.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(s.MANIFEST_PARSED,this.onManifestParsed,this),t.off(s.LEVEL_LOADED,this.onLevelLoaded,this),t.off(s.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(s.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(s.BUFFER_CREATED,this.onBufferCreated,this),t.off(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(s.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(t,n){if(this.levels){const{lastCurrentTime:o,hls:m}=this;if(this.stopLoad(),this.setInterval(A),this.level=-1,!this.startFragRequested){let E=m.startLevel;E===-1&&(m.config.testBandwidth&&this.levels.length>1?(E=0,this.bitrateTest=!0):E=m.firstAutoLevel),m.nextLoadLevel=E,this.level=m.loadLevel,this._hasEnoughToStart=!!n}o>0&&t===-1&&!n&&(this.log(`Override startPosition with lastCurrentTime @${o.toFixed(3)}`),t=o),this.state=Ur.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=Ur.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case Ur.WAITING_LEVEL:{const{levels:n,level:o}=this,m=n==null?void 0:n[o],E=m==null?void 0:m.details;if(E&&(!E.live||this.levelLastLoaded===m&&!this.waitForLive(m))){if(this.waitForCdnTuneIn(E))break;this.state=Ur.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=Ur.IDLE;break}break}case Ur.FRAG_LOADING_WAITING_RETRY:{var t;const n=self.performance.now(),o=this.retryDate;if(!o||n>=o||(t=this.media)!=null&&t.seeking){const{levels:m,level:E}=this,T=m==null?void 0:m[E];this.resetStartWhenNotLoaded(T||null),this.state=Ur.IDLE}}break}this.state===Ur.IDLE&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){var t;super.onTickEnd(),(t=this.media)!=null&&t.readyState&&this.media.seeking===!1&&(this.lastCurrentTime=this.media.currentTime),this.checkFragmentChanged()}doTickIdle(){const{hls:t,levelLastLoaded:n,levels:o,media:m}=this;if(n===null||!m&&!this.primaryPrefetch&&(this.startFragRequested||!t.config.startFragPrefetch)||this.altAudio&&this.audioOnly)return;const E=this.buffering?t.nextLoadLevel:t.loadLevel;if(!(o!=null&&o[E]))return;const T=o[E],z=this.getMainFwdBufferInfo();if(z===null)return;const H=this.getLevelDetails();if(H&&this._streamEnded(z,H)){const tt={};this.altAudio===2&&(tt.type="video"),this.hls.trigger(s.BUFFER_EOS,tt),this.state=Ur.ENDED;return}if(!this.buffering)return;t.loadLevel!==E&&t.manualLevel===-1&&this.log(`Adapting to level ${E} from level ${this.level}`),this.level=t.nextLoadLevel=E;const j=T.details;if(!j||this.state===Ur.WAITING_LEVEL||this.waitForLive(T)){this.level=E,this.state=Ur.WAITING_LEVEL,this.startFragRequested=!1;return}const se=z.len,ce=this.getMaxBufferLength(T.maxBitrate);if(se>=ce)return;this.backtrackFragment&&this.backtrackFragment.start>z.end&&(this.backtrackFragment=null);const xe=this.backtrackFragment?this.backtrackFragment.start:z.end;let Ie=this.getNextFragment(xe,j);if(this.couldBacktrack&&!this.fragPrevious&&Ie&&de(Ie)&&this.fragmentTracker.getState(Ie)!==Er.OK){var Oe;const at=((Oe=this.backtrackFragment)!=null?Oe:Ie).sn-j.startSN,Bt=j.fragments[at-1];Bt&&Ie.cc===Bt.cc&&(Ie=Bt,this.fragmentTracker.removeFragment(Bt))}else this.backtrackFragment&&z.len&&(this.backtrackFragment=null);if(Ie&&this.isLoopLoading(Ie,xe)){if(!Ie.gap){const at=this.audioOnly&&!this.altAudio?M.AUDIO:M.VIDEO,Bt=(at===M.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;Bt&&this.afterBufferFlushed(Bt,at,u.MAIN)}Ie=this.getNextFragmentLoopLoading(Ie,j,z,u.MAIN,ce)}Ie&&(Ie.initSegment&&!Ie.initSegment.data&&!this.bitrateTest&&(Ie=Ie.initSegment),this.loadFragment(Ie,T,xe))}loadFragment(t,n,o){const m=this.fragmentTracker.getState(t);m===Er.NOT_LOADED||m===Er.PARTIAL?de(t)?this.bitrateTest?(this.log(`Fragment ${t.sn} of level ${t.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(t,n)):super.loadFragment(t,n,o):this._loadInitSegment(t,n):this.clearTrackerIfNeeded(t)}getBufferedFrag(t){return this.fragmentTracker.getBufferedFrag(t,u.MAIN)}followingBufferedFrag(t){return t?this.getBufferedFrag(t.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:t,media:n}=this;if(n!=null&&n.readyState){let o;const m=this.getAppendedFrag(n.currentTime);m&&m.start>1&&this.flushMainBuffer(0,m.start-1);const E=this.getLevelDetails();if(E!=null&&E.live){const z=this.getMainFwdBufferInfo();if(!z||z.len{const T=E.audioCodec;T&&(o=o||T.indexOf("mp4a.40.2")!==-1,m=m||T.indexOf("mp4a.40.5")!==-1)}),this.audioCodecSwitch=o&&m&&!g(),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=n.levels,this.startFragRequested=!1}onLevelLoading(t,n){const{levels:o}=this;if(!o||this.state!==Ur.IDLE)return;const m=n.levelInfo;(!m.details||m.details.live&&(this.levelLastLoaded!==m||m.details.expired)||this.waitForCdnTuneIn(m.details))&&(this.state=Ur.WAITING_LEVEL)}onLevelLoaded(t,n){var o;const{levels:m,startFragRequested:E}=this,T=n.level,z=n.details,H=z.totalduration;if(!m){this.warn(`Levels were reset while loading level ${T}`);return}this.log(`Level ${T} loaded [${z.startSN},${z.endSN}]${z.lastPartSn?`[part-${z.lastPartSn}-${z.lastPartIndex}]`:""}, cc [${z.startCC}, ${z.endCC}] duration:${H}`);const j=n.levelInfo,se=this.fragCurrent;se&&(this.state===Ur.FRAG_LOADING||this.state===Ur.FRAG_LOADING_WAITING_RETRY)&&se.level!==n.level&&se.loader&&this.abortCurrentFrag();let ce=0;if(z.live||(o=j.details)!=null&&o.live){var xe;if(this.checkLiveUpdate(z),z.deltaUpdateFailed)return;ce=this.alignPlaylists(z,j.details,(xe=this.levelLastLoaded)==null?void 0:xe.details)}if(j.details=z,this.levelLastLoaded=j,E||this.setStartPosition(z,ce),this.hls.trigger(s.LEVEL_UPDATED,{details:z,level:T}),this.state===Ur.WAITING_LEVEL){if(this.waitForCdnTuneIn(z))return;this.state=Ur.IDLE}E&&z.live&&this.synchronizeToLiveEdge(z),this.tick()}synchronizeToLiveEdge(t){const{config:n,media:o}=this;if(!o)return;const m=this.hls.liveSyncPosition,E=this.getLoadPosition(),T=t.fragmentStart,z=t.edge,H=E>=T-n.maxFragLookUpTolerance&&E<=z;if(m!==null&&o.duration>m&&(E{var T;(T=this.hls)==null||T.trigger(s.AUDIO_TRACK_SWITCHED,n)}),o.trigger(s.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}o.trigger(s.AUDIO_TRACK_SWITCHED,n)}}onAudioTrackSwitched(t,n){const o=ei(n.url,this.hls);if(o){const m=this.videoBuffer;m&&this.mediaBuffer!==m&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=m)}this.altAudio=o?2:0,this.tick()}onBufferCreated(t,n){const o=n.tracks;let m,E,T=!1;for(const z in o){const H=o[z];if(H.id==="main"){if(E=z,m=H,z==="video"){const j=o[z];j&&(this.videoBuffer=j.buffer)}}else T=!0}T&&m?(this.log(`Alternate track found, use ${E}.buffered to schedule main fragment loading`),this.mediaBuffer=m.buffer):this.mediaBuffer=this.media}onFragBuffered(t,n){const{frag:o,part:m}=n,E=o.type===u.MAIN;if(E){if(this.fragContextChanged(o)){this.warn(`Fragment ${o.sn}${m?" p: "+m.index:""} of level ${o.level} finished buffering, but was aborted. state: ${this.state}`),this.state===Ur.PARSED&&(this.state=Ur.IDLE);return}const z=m?m.stats:o.stats;this.fragLastKbps=Math.round(8*z.total/(z.buffering.end-z.loading.first)),de(o)&&(this.fragPrevious=o),this.fragBufferedComplete(o,m)}const T=this.media;T&&(!this._hasEnoughToStart&&xi.getBuffered(T).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),E&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var o;if(n.fatal){this.state=Ur.ERROR;return}switch(n.details){case f.FRAG_GAP:case f.FRAG_PARSING_ERROR:case f.FRAG_DECRYPT_ERROR:case f.FRAG_LOAD_ERROR:case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_ERROR:case f.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(u.MAIN,n);break;case f.LEVEL_LOAD_ERROR:case f.LEVEL_LOAD_TIMEOUT:case f.LEVEL_PARSING_ERROR:!n.levelRetry&&this.state===Ur.WAITING_LEVEL&&((o=n.context)==null?void 0:o.type)===h.LEVEL&&(this.state=Ur.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="main")return;this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&this.flushMainBuffer(0,Number.POSITIVE_INFINITY);break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onFragLoadEmergencyAborted(){this.state=Ur.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:n}){if(n!==M.AUDIO||!this.altAudio){const o=(n===M.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;o&&(this.afterBufferFlushed(o,n,u.MAIN),this.tick())}}onLevelsUpdated(t,n){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level,this.level===-1&&this.resetWhenMissingContext(this.fragCurrent)),this.levels=n.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:t}=this;if(!t)return;const n=t.currentTime;let o=this.startPosition;if(o>=0&&n0&&(H{const{hls:m}=this,E=o==null?void 0:o.frag;if(!E||this.fragContextChanged(E))return;n.fragmentError=0,this.state=Ur.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const T=E.stats;T.parsing.start=T.parsing.end=T.buffering.start=T.buffering.end=self.performance.now(),m.trigger(s.FRAG_LOADED,o),E.bitrateTest=!1})}_handleTransmuxComplete(t){var n;const o=this.playlistType,{hls:m}=this,{remuxResult:E,chunkMeta:T}=t,z=this.getCurrentContext(T);if(!z){this.resetWhenMissingContext(T);return}const{frag:H,part:j,level:se}=z,{video:ce,text:xe,id3:Ie,initSegment:Oe}=E,{details:tt}=se,at=this.altAudio?void 0:E.audio;if(this.fragContextChanged(H)){this.fragmentTracker.removeFragment(H);return}if(this.state=Ur.PARSING,Oe){if(Oe!=null&&Oe.tracks){const ar=H.initSegment||H;this._bufferInitSegment(se,Oe.tracks,ar,T),m.trigger(s.FRAG_PARSING_INIT_SEGMENT,{frag:ar,id:o,tracks:Oe.tracks})}const Bt=Oe.initPTS,hr=Oe.timescale;r(Bt)&&(this.initPTS[H.cc]={baseTime:Bt,timescale:hr},m.trigger(s.INIT_PTS_FOUND,{frag:H,id:o,initPTS:Bt,timescale:hr}))}if(ce&&tt){at&&ce.type==="audiovideo"&&this.logMuxedErr(H);const Bt=tt.fragments[H.sn-1-tt.startSN],hr=H.sn===tt.startSN,ar=!Bt||H.cc>Bt.cc;if(E.independent!==!1){const{startPTS:zr,endPTS:Wr,startDTS:dn,endDTS:Gr}=ce;if(j)j.elementaryStreams[ce.type]={startPTS:zr,endPTS:Wr,startDTS:dn,endDTS:Gr};else if(ce.firstKeyFrame&&ce.independent&&T.id===1&&!ar&&(this.couldBacktrack=!0),ce.dropped&&ce.independent){const un=this.getMainFwdBufferInfo(),mn=(un?un.end:this.getLoadPosition())+this.config.maxBufferHole,Qr=ce.firstKeyFramePTS?ce.firstKeyFramePTS:zr;if(!hr&&mnEc&&(H.gap=!0);H.setElementaryStreamInfo(ce.type,zr,Wr,dn,Gr),this.backtrackFragment&&(this.backtrackFragment=H),this.bufferFragmentData(ce,H,j,T,hr||ar)}else if(hr||ar)H.gap=!0;else{this.backtrack(H);return}}if(at){const{startPTS:Bt,endPTS:hr,startDTS:ar,endDTS:zr}=at;j&&(j.elementaryStreams[M.AUDIO]={startPTS:Bt,endPTS:hr,startDTS:ar,endDTS:zr}),H.setElementaryStreamInfo(M.AUDIO,Bt,hr,ar,zr),this.bufferFragmentData(at,H,j,T)}if(tt&&Ie!=null&&(n=Ie.samples)!=null&&n.length){const Bt={id:o,frag:H,details:tt,samples:Ie.samples};m.trigger(s.FRAG_PARSING_METADATA,Bt)}if(tt&&xe){const Bt={id:o,frag:H,details:tt,samples:xe.samples};m.trigger(s.FRAG_PARSING_USERDATA,Bt)}}logMuxedErr(t){this.warn(`${de(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,n,o,m){if(this.state!==Ur.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&(delete n.audio,n.audiovideo&&this.logMuxedErr(o));const{audio:E,video:T,audiovideo:z}=n;if(E){let j=Jr(E.codec,t.audioCodec);j==="mp4a"&&(j="mp4a.40.5");const se=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){j&&(j.indexOf("mp4a.40.5")!==-1?j="mp4a.40.2":j="mp4a.40.5");const ce=E.metadata;ce&&"channelCount"in ce&&(ce.channelCount||1)!==1&&se.indexOf("firefox")===-1&&(j="mp4a.40.5")}j&&j.indexOf("mp4a.40.5")!==-1&&se.indexOf("android")!==-1&&E.container!=="audio/mpeg"&&(j="mp4a.40.2",this.log(`Android: force audio codec to ${j}`)),t.audioCodec&&t.audioCodec!==j&&this.log(`Swapping manifest audio codec "${t.audioCodec}" for "${j}"`),E.levelCodec=j,E.id=u.MAIN,this.log(`Init audio buffer, container:${E.container}, codecs[selected/level/parsed]=[${j||""}/${t.audioCodec||""}/${E.codec}]`),delete n.audiovideo}if(T){T.levelCodec=t.videoCodec,T.id=u.MAIN;const j=T.codec;if((j==null?void 0:j.length)===4)switch(j){case"hvc1":case"hev1":T.codec="hvc1.1.6.L120.90";break;case"av01":T.codec="av01.0.04M.08";break;case"avc1":T.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${T.container}, codecs[level/parsed]=[${t.videoCodec||""}/${j}]${T.codec!==j?" parsed-corrected="+T.codec:""}${T.supplemental?" supplemental="+T.supplemental:""}`),delete n.audiovideo}z&&(this.log(`Init audiovideo buffer, container:${z.container}, codecs[level/parsed]=[${t.codecs}/${z.codec}]`),delete n.video,delete n.audio);const H=Object.keys(n);if(H.length){if(this.hls.trigger(s.BUFFER_CODECS,n),!this.hls)return;H.forEach(j=>{const ce=n[j].initSegment;ce!=null&&ce.byteLength&&this.hls.trigger(s.BUFFER_APPENDING,{type:j,data:ce,frag:o,part:null,chunkMeta:m,parent:o.type})})}this.tickImmediate()}getMainFwdBufferInfo(){const t=this.mediaBuffer&&this.altAudio===2?this.mediaBuffer:this.media;return this.getFwdBufferInfo(t,u.MAIN)}get maxBufferLength(){const{levels:t,level:n}=this,o=t==null?void 0:t[n];return o?this.getMaxBufferLength(o.maxBitrate):this.config.maxBufferLength}backtrack(t){this.couldBacktrack=!0,this.backtrackFragment=t,this.resetTransmuxer(),this.flushBufferGap(t),this.fragmentTracker.removeFragment(t),this.fragPrevious=null,this.nextLoadPosition=t.start,this.state=Ur.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const o=t.currentTime;if(xi.isBuffered(t,o)?n=this.getAppendedFrag(o):xi.isBuffered(t,o+.1)&&(n=this.getAppendedFrag(o+.1)),n){this.backtrackFragment=null;const m=this.fragPlaying,E=n.level;(!m||n.sn!==m.sn||m.level!==E)&&(this.fragPlaying=n,this.hls.trigger(s.FRAG_CHANGED,{frag:n}),(!m||m.level!==E)&&this.hls.trigger(s.LEVEL_SWITCHED,{level:E}))}}}get nextLevel(){const t=this.nextBufferedFrag;return t?t.level:-1}get currentFrag(){var t;if(this.fragPlaying)return this.fragPlaying;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;return r(n)?this.getAppendedFrag(n):null}get currentProgramDateTime(){var t;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;if(r(n)){const o=this.getLevelDetails(),m=this.currentFrag||(o?En(null,o.fragments,n):null);if(m){const E=m.programDateTime;if(E!==null){const T=E+(n-m.start)*1e3;return new Date(T)}}}return null}get currentLevel(){const t=this.currentFrag;return t?t.level:-1}get nextBufferedFrag(){const t=this.currentFrag;return t?this.followingBufferedFrag(t):null}get forceStartLoad(){return this._forceStartLoad}}class ve{constructor(t){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const o in this.keyUriToKeyInfo){const m=this.keyUriToKeyInfo[o].loader;if(m){var n;if(t&&t!==((n=m.context)==null?void 0:n.frag.type))return;m.abort()}}}detach(){for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t];(n.mediaKeySessionContext||n.decryptdata.isCommonEncryption)&&delete this.keyUriToKeyInfo[t]}}destroy(){this.detach();for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t].loader;n&&n.destroy()}this.keyUriToKeyInfo={}}createKeyLoadError(t,n=f.KEY_LOAD_ERROR,o,m,E){return new Na({type:c.NETWORK_ERROR,details:n,fatal:!1,frag:t,response:E,error:o,networkDetails:m})}loadClear(t,n){if(this.emeController&&this.config.emeEnabled){const{sn:o,cc:m}=t;for(let E=0;E{T.setKeyFormat(z)});break}}}}load(t){return!t.decryptdata&&t.encrypted&&this.emeController&&this.config.emeEnabled?this.emeController.selectKeySystemFormat(t).then(n=>this.loadInternal(t,n)):this.loadInternal(t)}loadInternal(t,n){var o,m;n&&t.setKeyFormat(n);const E=t.decryptdata;if(!E){const j=new Error(n?`Expected frag.decryptdata to be defined after setting format ${n}`:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,j))}const T=E.uri;if(!T)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${T}"`)));let z=this.keyUriToKeyInfo[T];if((o=z)!=null&&o.decryptdata.key)return E.key=z.decryptdata.key,Promise.resolve({frag:t,keyInfo:z});if((m=z)!=null&&m.keyLoadPromise){var H;switch((H=z.mediaKeySessionContext)==null?void 0:H.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return z.keyLoadPromise.then(j=>(E.key=j.keyInfo.decryptdata.key,{frag:t,keyInfo:z}))}}switch(z=this.keyUriToKeyInfo[T]={decryptdata:E,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},E.method){case"ISO-23001-7":case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return E.keyFormat==="identity"?this.loadKeyHTTP(z,t):this.loadKeyEME(z,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(z,t);default:return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${E.method}"`)))}}loadKeyEME(t,n){const o={frag:n,keyInfo:t};if(this.emeController&&this.config.emeEnabled){const m=this.emeController.loadKey(o);if(m)return(t.keyLoadPromise=m.then(E=>(t.mediaKeySessionContext=E,o))).catch(E=>{throw t.keyLoadPromise=null,E})}return Promise.resolve(o)}loadKeyHTTP(t,n){const o=this.config,m=o.loader,E=new m(o);return n.keyLoader=t.loader=E,t.keyLoadPromise=new Promise((T,z)=>{const H={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},j=o.keyLoadPolicy.default,se={loadPolicy:j,timeout:j.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},ce={onSuccess:(xe,Ie,Oe,tt)=>{const{frag:at,keyInfo:Bt,url:hr}=Oe;if(!at.decryptdata||Bt!==this.keyUriToKeyInfo[hr])return z(this.createKeyLoadError(at,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),tt));Bt.decryptdata.key=at.decryptdata.key=new Uint8Array(xe.data),at.keyLoader=null,Bt.loader=null,T({frag:at,keyInfo:Bt})},onError:(xe,Ie,Oe,tt)=>{this.resetLoader(Ie),z(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${xe.code} loading key ${xe.text}`),Oe,b({url:H.url,data:void 0},xe)))},onTimeout:(xe,Ie,Oe)=>{this.resetLoader(Ie),z(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Oe))},onAbort:(xe,Ie,Oe)=>{this.resetLoader(Ie),z(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),Oe))}};E.load(H,se,ce)})}resetLoader(t){const{frag:n,keyInfo:o,url:m}=t,E=o.loader;n.keyLoader===E&&(n.keyLoader=null,o.loader=null),delete this.keyUriToKeyInfo[m],E&&E.destroy()}}function Le(P){const{type:t}=P;switch(t){case h.AUDIO_TRACK:return u.AUDIO;case h.SUBTITLE_TRACK:return u.SUBTITLE;default:return u.MAIN}}function ut(P,t){let n=P.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class $t{constructor(t){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.onManifestLoaded=this.checkAutostartLoad,this.hls=t,this.registerListeners()}startLoad(t){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:t}=this;t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.LEVEL_LOADING,this.onLevelLoading,this),t.on(s.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(s.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:t}=this;t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.LEVEL_LOADING,this.onLevelLoading,this),t.off(s.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(s.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(t){const n=this.hls.config,o=n.pLoader,m=n.loader,E=o||m,T=new E(n);return this.loaders[t.type]=T,T}getInternalLoader(t){return this.loaders[t.type]}resetInternalLoader(t){this.loaders[t]&&delete this.loaders[t]}destroyInternalLoaders(){for(const t in this.loaders){const n=this.loaders[t];n&&n.destroy(),this.resetInternalLoader(t)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(t,n){const{url:o}=n;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:h.MANIFEST,url:o,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(t,n){const{id:o,level:m,pathwayId:E,url:T,deliveryDirectives:z,levelInfo:H}=n;this.load({id:o,level:m,pathwayId:E,responseType:"text",type:h.LEVEL,url:T,deliveryDirectives:z,levelOrTrack:H})}onAudioTrackLoading(t,n){const{id:o,groupId:m,url:E,deliveryDirectives:T,track:z}=n;this.load({id:o,groupId:m,level:null,responseType:"text",type:h.AUDIO_TRACK,url:E,deliveryDirectives:T,levelOrTrack:z})}onSubtitleTrackLoading(t,n){const{id:o,groupId:m,url:E,deliveryDirectives:T,track:z}=n;this.load({id:o,groupId:m,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:E,deliveryDirectives:T,levelOrTrack:z})}onLevelsUpdated(t,n){const o=this.loaders[h.LEVEL];if(o){const m=o.context;m&&!n.levels.some(E=>E===m.levelOrTrack)&&(o.abort(),delete this.loaders[h.LEVEL])}}load(t){var n;const o=this.hls.config;let m=this.getInternalLoader(t);if(m){const j=this.hls.logger,se=m.context;if(se&&se.levelOrTrack===t.levelOrTrack&&(se.url===t.url||se.deliveryDirectives&&!t.deliveryDirectives)){se.url===t.url?j.log(`[playlist-loader]: ignore ${t.url} ongoing request`):j.log(`[playlist-loader]: ignore ${t.url} in favor of ${se.url}`);return}j.log(`[playlist-loader]: aborting previous loader for type: ${t.type}`),m.abort()}let E;if(t.type===h.MANIFEST?E=o.manifestLoadPolicy.default:E=y({},o.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),m=this.createInternalLoader(t),r((n=t.deliveryDirectives)==null?void 0:n.part)){let j;if(t.type===h.LEVEL&&t.level!==null?j=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?j=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&(j=this.hls.subtitleTracks[t.id].details),j){const se=j.partTarget,ce=j.targetduration;if(se&&ce){const xe=Math.max(se*3,ce*.8)*1e3;E=y({},E,{maxTimeToFirstByteMs:Math.min(xe,E.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(xe,E.maxTimeToFirstByteMs)})}}}const T=E.errorRetry||E.timeoutRetry||{},z={loadPolicy:E,timeout:E.maxLoadTimeMs,maxRetry:T.maxNumRetry||0,retryDelay:T.retryDelayMs||0,maxRetryDelay:T.maxRetryDelayMs||0},H={onSuccess:(j,se,ce,xe)=>{const Ie=this.getInternalLoader(ce);this.resetInternalLoader(ce.type);const Oe=j.data;if(Oe.indexOf("#EXTM3U")!==0){this.handleManifestParsingError(j,ce,new Error("no EXTM3U delimiter"),xe||null,se);return}se.parsing.start=performance.now(),fs.isMediaPlaylist(Oe)||ce.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist(j,se,ce,xe||null,Ie):this.handleMasterPlaylist(j,se,ce,xe)},onError:(j,se,ce,xe)=>{this.handleNetworkError(se,ce,!1,j,xe)},onTimeout:(j,se,ce)=>{this.handleNetworkError(se,ce,!0,void 0,j)}};m.load(t,z,H)}checkAutostartLoad(){if(!this.hls)return;const{config:{autoStartLoad:t,startPosition:n},forceStartLoad:o}=this.hls;(t||o)&&(this.hls.logger.log(`${t?"auto":"force"} startLoad with configured startPosition ${n}`),this.hls.startLoad(n))}handleMasterPlaylist(t,n,o,m){const E=this.hls,T=t.data,z=ut(t,o),H=fs.parseMasterPlaylist(T,z);if(H.playlistParsingError){this.handleManifestParsingError(t,o,H.playlistParsingError,m,n);return}const{contentSteering:j,levels:se,sessionData:ce,sessionKeys:xe,startTimeOffset:Ie,variableList:Oe}=H;this.variableList=Oe;const{AUDIO:tt=[],SUBTITLES:at,"CLOSED-CAPTIONS":Bt}=fs.parseMasterPlaylistMedia(T,z,H);tt.length&&!tt.some(ar=>!ar.url)&&se[0].audioCodec&&!se[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),tt.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new Ui({}),bitrate:0,url:""})),E.trigger(s.MANIFEST_LOADED,{levels:se,audioTracks:tt,subtitles:at,captions:Bt,contentSteering:j,url:z,stats:n,networkDetails:m,sessionData:ce,sessionKeys:xe,startTimeOffset:Ie,variableList:Oe})}handleTrackOrLevelPlaylist(t,n,o,m,E){const T=this.hls,{id:z,level:H,type:j}=o,se=ut(t,o),ce=r(H)?H:r(z)?z:0,xe=Le(o),Ie=fs.parseLevelPlaylist(t.data,se,ce,xe,0,this.variableList);if(j===h.MANIFEST){const Oe={attrs:new Ui({}),bitrate:0,details:Ie,name:"",url:se};Ie.requestScheduled=n.loading.start+ur(Ie,0),T.trigger(s.MANIFEST_LOADED,{levels:[Oe],audioTracks:[],url:se,stats:n,networkDetails:m,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),o.levelDetails=Ie,this.handlePlaylistLoaded(Ie,t,n,o,m,E)}handleManifestParsingError(t,n,o,m,E){this.hls.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:f.MANIFEST_PARSING_ERROR,fatal:n.type===h.MANIFEST,url:t.url,err:o,error:o,reason:o.message,response:t,context:n,networkDetails:m,stats:E})}handleNetworkError(t,n,o=!1,m,E){let T=`A network ${o?"timeout":"error"+(m?" (status "+m.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?T+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(T+=` id: ${t.id} group-id: "${t.groupId}"`);const z=new Error(T);this.hls.logger.warn(`[playlist-loader]: ${T}`);let H=f.UNKNOWN,j=!1;const se=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:H=o?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,j=!0;break;case h.LEVEL:H=o?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,j=!1;break;case h.AUDIO_TRACK:H=o?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,j=!1;break;case h.SUBTITLE_TRACK:H=o?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,j=!1;break}se&&this.resetInternalLoader(t.type);const ce={type:c.NETWORK_ERROR,details:H,fatal:j,url:t.url,loader:se,context:t,error:z,networkDetails:n,stats:E};if(m){const xe=(n==null?void 0:n.url)||t.url;ce.response=b({url:xe,data:void 0},m)}this.hls.trigger(s.ERROR,ce)}handlePlaylistLoaded(t,n,o,m,E,T){const z=this.hls,{type:H,level:j,id:se,groupId:ce,deliveryDirectives:xe}=m,Ie=ut(n,m),Oe=Le(m),tt=typeof m.level=="number"&&Oe===u.MAIN?j:void 0;if(!t.fragments.length){const Bt=t.playlistParsingError=new Error("No Segments found in Playlist");z.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_EMPTY_ERROR,fatal:!1,url:Ie,error:Bt,reason:Bt.message,response:n,context:m,level:tt,parent:Oe,networkDetails:E,stats:o});return}t.targetduration||(t.playlistParsingError=new Error("Missing Target Duration"));const at=t.playlistParsingError;if(at){if(this.hls.logger.warn(at),!z.config.ignorePlaylistParsingErrors){z.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:Ie,error:at,reason:at.message,response:n,context:m,level:tt,parent:Oe,networkDetails:E,stats:o});return}t.playlistParsingError=null}switch(t.live&&T&&(T.getCacheAge&&(t.ageHeader=T.getCacheAge()||0),(!T.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),H){case h.MANIFEST:case h.LEVEL:z.trigger(s.LEVEL_LOADED,{details:t,levelInfo:m.levelOrTrack||z.levels[0],level:tt||0,id:se||0,stats:o,networkDetails:E,deliveryDirectives:xe,withoutMultiVariant:H===h.MANIFEST});break;case h.AUDIO_TRACK:z.trigger(s.AUDIO_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:se||0,groupId:ce||"",stats:o,networkDetails:E,deliveryDirectives:xe});break;case h.SUBTITLE_TRACK:z.trigger(s.SUBTITLE_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:se||0,groupId:ce||"",stats:o,networkDetails:E,deliveryDirectives:xe});break}}}class rr{static get version(){return Dn}static isMSESupported(){return $f()}static isSupported(){return Tf()}static getMediaSource(){return oe()}static get Events(){return s}static get MetadataSchema(){return Se}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return rr.defaultConfig?rr.defaultConfig:tf}static set DefaultConfig(t){rr.defaultConfig=t}constructor(t={}){this.config=void 0,this.userConfig=void 0,this.logger=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this._emitter=new ks,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioStreamController=void 0,this.subtititleStreamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.interstitialsController=void 0,this.gapController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this._url=null,this._sessionId=void 0,this.triggeringException=void 0,this.started=!1;const n=this.logger=V(t.debug||!1,"Hls instance",t.assetPlayerId),o=this.config=fl(rr.DefaultConfig,t,n);this.userConfig=t,o.progressive&&Wo(o,n);const{abrController:m,bufferController:E,capLevelController:T,errorController:z,fpsController:H}=o,j=new z(this),se=this.abrController=new m(this),ce=new Or(this),xe=o.interstitialsController,Ie=xe?this.interstitialsController=new xe(this,rr):null,Oe=this.bufferController=new E(this,ce),tt=this.capLevelController=new T(this),at=new H(this),Bt=new $t(this),hr=o.contentSteeringController,ar=hr?new hr(this):null,zr=this.levelController=new Bf(this,ar),Wr=new Hf(this),dn=new ve(this.config),Gr=this.streamController=new Z(this,ce,dn),un=this.gapController=new mf(this,ce);tt.setStreamController(Gr),at.setStreamController(Gr);const mn=[Bt,zr,Gr];Ie&&mn.splice(1,0,Ie),ar&&mn.splice(1,0,ar),this.networkControllers=mn;const Qr=[se,Oe,un,tt,at,Wr,ce];this.audioTrackController=this.createController(o.audioTrackController,mn);const Yn=o.audioStreamController;Yn&&mn.push(this.audioStreamController=new Yn(this,ce,dn)),this.subtitleTrackController=this.createController(o.subtitleTrackController,mn);const hi=o.subtitleStreamController;hi&&mn.push(this.subtititleStreamController=new hi(this,ce,dn)),this.createController(o.timelineController,Qr),dn.emeController=this.emeController=this.createController(o.emeController,Qr),this.cmcdController=this.createController(o.cmcdController,Qr),this.latencyController=this.createController(Cf,Qr),this.coreComponents=Qr,mn.push(j);const os=j.onErrorOut;typeof os=="function"&&this.on(s.ERROR,os,j),this.on(s.MANIFEST_LOADED,Bt.onManifestLoaded,Bt)}createController(t,n){if(t){const o=new t(this);return n&&n.push(o),o}return null}on(t,n,o=this){this._emitter.on(t,n,o)}once(t,n,o=this){this._emitter.once(t,n,o)}removeAllListeners(t){this._emitter.removeAllListeners(t)}off(t,n,o=this,m){this._emitter.off(t,n,o,m)}listeners(t){return this._emitter.listeners(t)}emit(t,n,o){return this._emitter.emit(t,n,o)}trigger(t,n){if(this.config.debug)return this.emit(t,t,n);try{return this.emit(t,t,n)}catch(o){if(this.logger.error("An internal error happened while handling event "+t+'. Error message: "'+o.message+'". Here is a stacktrace:',o),!this.triggeringException){this.triggeringException=!0;const m=t===s.ERROR;this.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:m,event:t,error:o}),this.triggeringException=!1}}return!1}listenerCount(t){return this._emitter.listenerCount(t)}destroy(){this.logger.log("destroy"),this.trigger(s.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this._url=null,this.networkControllers.forEach(n=>n.destroy()),this.networkControllers.length=0,this.coreComponents.forEach(n=>n.destroy()),this.coreComponents.length=0;const t=this.config;t.xhrSetup=t.fetchSetup=void 0,this.userConfig=null}attachMedia(t){if(!t||"media"in t&&!t.media){const E=new Error(`attachMedia failed: invalid argument (${t})`);this.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.ATTACH_MEDIA_ERROR,fatal:!0,error:E});return}this.logger.log("attachMedia"),this._media&&(this.logger.warn("media must be detached before attaching"),this.detachMedia());const n="media"in t,o=n?t.media:t,m=n?t:{media:o};this._media=o,this.trigger(s.MEDIA_ATTACHING,m)}detachMedia(){this.logger.log("detachMedia"),this.trigger(s.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const t=this.bufferController.transferMedia();return this.trigger(s.MEDIA_DETACHING,{transferMedia:t}),t}loadSource(t){this.stopLoad();const n=this.media,o=this._url,m=this._url=ie.buildAbsoluteURL(self.location.href,t,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${m}`),n&&o&&(o!==m||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(n)),this.trigger(s.MANIFEST_LOADING,{url:t})}get url(){return this._url}get hasEnoughToStart(){return this.streamController.hasEnoughToStart}get startPosition(){return this.streamController.startPositionValue}startLoad(t=-1,n){this.logger.log(`startLoad(${t+(n?", ":"")})`),this.started=!0,this.resumeBuffering();for(let o=0;o{t.resumeBuffering&&t.resumeBuffering()}))}pauseBuffering(){this.bufferingEnabled&&(this.logger.log("pause buffering"),this.networkControllers.forEach(t=>{t.pauseBuffering&&t.pauseBuffering()}))}get inFlightFragments(){const t={[u.MAIN]:this.streamController.inFlightFrag};return this.audioStreamController&&(t[u.AUDIO]=this.audioStreamController.inFlightFrag),this.subtititleStreamController&&(t[u.SUBTITLE]=this.subtititleStreamController.inFlightFrag),t}swapAudioCodec(){this.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){this.logger.log("recoverMediaError");const t=this._media,n=t==null?void 0:t.currentTime;this.detachMedia(),t&&(this.attachMedia(t),n&&this.startLoad(n))}removeLevel(t){this.levelController.removeLevel(t)}get sessionId(){let t=this._sessionId;return t||(t=this._sessionId=ki()),t}get levels(){const t=this.levelController.levels;return t||[]}get latestLevelDetails(){return this.streamController.getLevelDetails()||null}get loadLevelObj(){return this.levelController.loadLevelObj}get currentLevel(){return this.streamController.currentLevel}set currentLevel(t){this.logger.log(`set currentLevel:${t}`),this.levelController.manualLevel=t,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(t){this.logger.log(`set nextLevel:${t}`),this.levelController.manualLevel=t,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(t){this.logger.log(`set loadLevel:${t}`),this.levelController.manualLevel=t}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(t){this.levelController.nextLoadLevel=t}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(t){this.logger.log(`set firstLevel:${t}`),this.levelController.firstLevel=t}get startLevel(){const t=this.levelController.startLevel;return t===-1&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:t}set startLevel(t){this.logger.log(`set startLevel:${t}`),t!==-1&&(t=Math.max(t,this.minAutoLevel)),this.levelController.startLevel=t}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(t){const n=!!t;n!==this.config.capLevelToPlayerSize&&(n?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=n)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimate():NaN}set bandwidthEstimate(t){this.abrController.resetEstimator(t)}get abrEwmaDefaultEstimate(){const{bwEstimator:t}=this.abrController;return t?t.defaultEstimate:NaN}get ttfbEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimateTTFB():NaN}set autoLevelCapping(t){this._autoLevelCapping!==t&&(this.logger.log(`set autoLevelCapping:${t}`),this._autoLevelCapping=t,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(t){Cr(t)&&this._maxHdcpLevel!==t&&(this._maxHdcpLevel=t,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return this.levelController.manualLevel===-1}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:t,config:{minAutoBitrate:n}}=this;if(!t)return 0;const o=t.length;for(let m=0;m=n)return m;return 0}get maxAutoLevel(){const{levels:t,autoLevelCapping:n,maxHdcpLevel:o}=this;let m;if(n===-1&&t!=null&&t.length?m=t.length-1:m=n,o)for(let E=m;E--;){const T=t[E].attrs["HDCP-LEVEL"];if(T&&T<=o)return E}return m}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(t){this.abrController.nextAutoLevel=t}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}get maxBufferLength(){return this.streamController.maxBufferLength}setAudioOption(t){var n;return((n=this.audioTrackController)==null?void 0:n.setAudioOption(t))||null}setSubtitleOption(t){var n;return((n=this.subtitleTrackController)==null?void 0:n.setSubtitleOption(t))||null}get allAudioTracks(){const t=this.audioTrackController;return t?t.allAudioTracks:[]}get audioTracks(){const t=this.audioTrackController;return t?t.audioTracks:[]}get audioTrack(){const t=this.audioTrackController;return t?t.audioTrack:-1}set audioTrack(t){const n=this.audioTrackController;n&&(n.audioTrack=t)}get allSubtitleTracks(){const t=this.subtitleTrackController;return t?t.allSubtitleTracks:[]}get subtitleTracks(){const t=this.subtitleTrackController;return t?t.subtitleTracks:[]}get subtitleTrack(){const t=this.subtitleTrackController;return t?t.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(t){const n=this.subtitleTrackController;n&&(n.subtitleTrack=t)}get subtitleDisplay(){const t=this.subtitleTrackController;return t?t.subtitleDisplay:!1}set subtitleDisplay(t){const n=this.subtitleTrackController;n&&(n.subtitleDisplay=t)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(t){this.config.lowLatencyMode=t}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}set targetLatency(t){this.latencyController.targetLatency=t}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}get pathways(){return this.levelController.pathways}get pathwayPriority(){return this.levelController.pathwayPriority}set pathwayPriority(t){this.levelController.pathwayPriority=t}get bufferedToEnd(){var t;return!!((t=this.bufferController)!=null&&t.bufferedToEnd)}get interstitialsManager(){var t;return((t=this.interstitialsController)==null?void 0:t.interstitialsManager)||null}getMediaDecodingInfo(t,n=this.allAudioTracks){const o=mi(n);return mt(t,o,navigator.mediaCapabilities)}}rr.defaultConfig=void 0},53280:function(d,v,e){"use strict";e.d(v,{D:function(){return i}});function r(l,c,f){var s=f||{},h=s.noTrailing,u=h===void 0?!1:h,a=s.noLeading,x=a===void 0?!1:a,p=s.debounceMode,y=p===void 0?void 0:p,_,b=!1,S=0;function R(){_&&clearTimeout(_)}function L(D){var B=D||{},$=B.upcomingOnly,U=$===void 0?!1:$;R(),b=!U}function C(){for(var D=arguments.length,B=new Array(D),$=0;$l?x?(S=Date.now(),u||(_=setTimeout(y?G:V,l))):V():u!==!0&&(_=setTimeout(y?G:V,y===void 0?l-K:l))}return C.cancel=L,C}function i(l,c,f){var s=f||{},h=s.atBegin,u=h===void 0?!1:h;return r(l,c,{debounceMode:u!==!1})}}},__webpack_module_cache__={};function __webpack_require__(d){var v=__webpack_module_cache__[d];if(v!==void 0)return v.exports;var e=__webpack_module_cache__[d]={id:d,loaded:!1,exports:{}};return __webpack_modules__[d].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(d){var v=d&&d.__esModule?function(){return d.default}:function(){return d};return __webpack_require__.d(v,{a:v}),v}}(),function(){var d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},v;__webpack_require__.t=function(e,r){if(r&1&&(e=this(e)),r&8||typeof e=="object"&&e&&(r&4&&e.__esModule||r&16&&typeof e.then=="function"))return e;var i=Object.create(null);__webpack_require__.r(i);var l={};v=v||[null,d({}),d([]),d(d)];for(var c=r&2&&e;typeof c=="object"&&!~v.indexOf(c);c=d(c))Object.getOwnPropertyNames(c).forEach(function(f){l[f]=function(){return e[f]}});return l.default=function(){return e},__webpack_require__.d(i,l),i}}(),function(){__webpack_require__.d=function(d,v){for(var e in v)__webpack_require__.o(v,e)&&!__webpack_require__.o(d,e)&&Object.defineProperty(d,e,{enumerable:!0,get:v[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(d){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(v,e){return __webpack_require__.f[e](d,v),v},[]))}}(),function(){__webpack_require__.u=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",570:"p__Home__Detail__OnlineNum__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",672:"p__Home__Detail__ShixunContext__Detail__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8365:"p__Home__Detail__ShixunContext__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"e9392eb2",67:"93f1c362",109:"b2c23042",149:"6f8567cf",195:"77fdc88d",264:"4bf70973",265:"b5d9874f",292:"ad93a18b",297:"353135d2",310:"c4507f16",316:"1f60ada6",337:"ea8436dc",342:"80fb064e",354:"d4d139cf",479:"e224b4fd",485:"1b812501",503:"0474cb5b",508:"a7474eaf",532:"297384e3",533:"5a1582f1",547:"6369a99e",556:"067025ba",559:"c731138e",570:"86bb156f",576:"000a90eb",629:"44a1d9a5",643:"7ec92bb7",671:"4a609b8d",672:"66a35d22",680:"0b7e13be",700:"96c18af1",737:"d22eb06a",741:"ac5fd360",799:"42592f3d",822:"a9a107ca",869:"d6fa24c6",895:"09d67c2b",921:"e04c4138",928:"09bcc532",981:"24da50c7",988:"34479902",1006:"084e66e4",1043:"26ef4273",1045:"f03dba0f",1048:"8134ed17",1070:"9508bb1f",1109:"eb868b5b",1144:"c90eccaf",1148:"17fffcb3",1154:"8cb80842",1211:"d0b39dcd",1253:"a976e14d",1257:"6c04ad2f",1265:"5a849a80",1274:"5f6ea65a",1276:"3afae1bb",1343:"9b36161a",1416:"36e46eb3",1423:"573333c4",1427:"943b5313",1450:"9edb42b4",1461:"f66a4718",1462:"fcf08abc",1470:"a2d965f4",1475:"276ec189",1482:"eaf358f1",1512:"97439f2e",1520:"a5bbc746",1545:"00fa020b",1578:"1bfe1214",1581:"a0c8ff5e",1582:"f0c0ef24",1646:"e6e27b60",1657:"2e86ccac",1660:"d22e1840",1674:"b0716a62",1702:"ac167c1f",1713:"be35fbd1",1717:"672905ff",1727:"0978fb17",1783:"37d7a2d8",1799:"6e5ce078",1831:"7b00354d",1836:"72c51198",1855:"a651d775",1880:"5444d8e5",1939:"2fe7f604",1953:"19269788",1962:"f9695415",2011:"59d51f98",2045:"34485656",2076:"7b8d120b",2102:"cac8125c",2125:"0917684a",2141:"82d83b54",2216:"aad11742",2240:"4e6f847b",2249:"f4830452",2254:"06ee286c",2300:"522a476b",2303:"d9b2cdba",2307:"2c753f5f",2338:"7b26794a",2339:"ae70b931",2386:"192e235c",2396:"bff887d6",2404:"08134a94",2412:"67d07292",2425:"50344bda",2443:"2681d9be",2476:"e6578cdc",2494:"68080a87",2501:"37d9741d",2529:"121b5d76",2538:"de4a3723",2539:"88fd2bdd",2548:"16af0c05",2570:"42929342",2594:"e87d3761",2603:"523ef0f8",2659:"3ce335a2",2707:"0a13dfde",2806:"0a06b058",2819:"6da4a768",2823:"f1f0847f",2826:"d3ddce3d",2829:"5f9f230c",2837:"54a82605",2865:"34728731",2875:"9be32760",2884:"521c18e3",2969:"ab3357d7",2983:"26731d3d",3006:"e5c3494e",3133:"9bf3f89c",3141:"837fe6bc",3157:"fd153f03",3183:"96fb966a",3198:"8e655451",3212:"279ecd45",3220:"995a6284",3247:"deb893ab",3260:"39b1e219",3276:"95c18bfb",3282:"8f95bf76",3317:"a97c3f01",3332:"57123bdd",3355:"39ac0300",3356:"b2965bb9",3391:"25e4c427",3433:"f3e694de",3442:"fd1129fd",3447:"ba8a0032",3451:"0da92479",3496:"ba415b1f",3509:"1d8d2b0f",3550:"3dc83156",3581:"1e55794e",3585:"95d68278",3611:"ace89cff",3665:"958f104d",3668:"772427c6",3697:"481a10d9",3747:"e97d1860",3754:"3ef95421",3777:"d5b0f2f1",3784:"2ec2a5a5",3805:"9dbcb95e",3862:"458bd945",3873:"15687997",3885:"f87f7f15",3910:"7b238b14",3935:"54ccf8d6",3951:"2071ab24",3987:"5cecd51b",4014:"27a8e97c",4017:"1c5b79f1",4030:"eebdc125",4056:"231fab19",4058:"d2000a29",4078:"78d521ad",4088:"236723f3",4093:"93ff548b",4105:"4965fa0b",4144:"e4bd52d5",4164:"226367c7",4216:"693dfee9",4217:"78898be7",4227:"3a300bdb",4259:"3c72cb4b",4264:"a1df6273",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"26b6a565",4492:"578c7e6d",4496:"3c36b933",4498:"28598c69",4504:"c7e90ec8",4514:"b70bc4b6",4520:"aa3760ab",4546:"4d5b6580",4565:"d58006a2",4572:"346a2108",4599:"61def4cb",4601:"498a64f2",4610:"d28b72f0",4621:"d3c1abff",4628:"ece2c60c",4662:"902a9352",4685:"c33f1528",4715:"109ee354",4736:"ae57e8b9",4741:"30d85bc6",4757:"a91bf056",4766:"1e235c0f",4770:"c8ad9636",4790:"619413e4",4795:"6714cd99",4797:"a24e92db",4800:"33ae884e",4849:"b4205bdb",4850:"1edda4b7",4862:"4c570242",4884:"55a0aa72",4889:"7cba39f3",4928:"8dc56b0b",4973:"b259ff0a",4984:"449c6dcf",4994:"c1ca9b9e",5022:"845f21c4",5043:"7c3e9028",5048:"58fe6ed9",5060:"85dafcc6",5096:"6d9cf620",5111:"19185711",5125:"ca0e6ecb",5148:"99c9419a",5176:"0e5df0b2",5179:"9942c68b",5186:"4a7debe6",5191:"2b3b9950",5238:"cc614e03",5290:"5dabcdc2",5297:"154f0b96",5319:"3c0271bb",5321:"1163c84e",5335:"4c7befde",5354:"7ae70604",5357:"5bcf59d5",5359:"eda307b5",5382:"f2e4f3f1",5402:"516bb8da",5416:"454536b7",5434:"38b302a6",5470:"afb852a3",5494:"d89549c4",5518:"bb10d31b",5549:"f943ef7a",5572:"0ab83260",5573:"928c9c72",5599:"da88fdc5",5624:"be069977",5631:"e00d3d36",5650:"3ef921c0",5679:"4a090bef",5705:"0e903d5d",5729:"735b58b8",5764:"e0d7e586",5775:"2d0405c5",5786:"5a51d2d2",5798:"6fc4fd12",5816:"16d6942f",5825:"74be7da2",5876:"5eded409",5888:"d3ded156",5891:"ab5ce39e",5895:"88283ea8",5902:"86cbdde8",5915:"c9595944",5972:"633417fa",5992:"74a8e982",6029:"f475fde1",6034:"078d4d6c",6045:"d268f87f",6047:"3ce45acd",6052:"858c02fa",6063:"afcd055f",6069:"647e424c",6126:"99519171",6127:"dfcf614b",6170:"3ff20225",6265:"3eff1af4",6270:"40138857",6277:"ba5fe4da",6328:"38237b1a",6366:"259b5c74",6378:"7f3a946a",6411:"3b971528",6434:"24411247",6444:"481ad756",6452:"bc894b89",6531:"58ddac85",6541:"eaf336de",6583:"f4d0311b",6587:"6787e5b3",6634:"73fec4bf",6651:"2eda094f",6685:"47c26bbf",6729:"bab02a4c",6741:"60ed102a",6758:"431c7bfa",6774:"59d4d618",6784:"d192db7c",6788:"8d3f6883",6796:"6d28e962",6805:"e99b1f5e",6820:"552b4100",6845:"677d80b4",6882:"b61b6792",6883:"6cb80143",6904:"d419b352",6913:"af47d55e",6963:"968574e3",6982:"770a6a60",7008:"27e98484",7043:"3eb1d3b2",7045:"470d9014",7046:"9693b403",7058:"619039a8",7062:"63970f65",7081:"8615b79a",7084:"46ccce72",7156:"e7466006",7178:"83a4673d",7182:"82468463",7227:"d42d109e",7242:"b2c89a32",7260:"b51ef915",7331:"2e27a23b",7333:"7373335b",7365:"1005464f",7395:"2dc65d0c",7460:"c8c33d3c",7477:"f711097c",7482:"7c5df48f",7527:"f21af340",7545:"b7886ff4",7560:"780a8dfb",7589:"48692fe5",7591:"8354027c",7614:"402fb1a9",7622:"bc46655e",7686:"4fcec9f9",7706:"c2a79e40",7806:"69d6ec3e",7852:"08169558",7855:"5139f825",7857:"bc2e56d3",7878:"6c3cffbe",7883:"ca3065da",7884:"483642ad",7922:"af2db9e3",7948:"6c65f1e8",7964:"29aed9a1",8014:"4aaaf88f",8062:"3a09da61",8072:"e4be3f3b",8077:"f4016b7b",8085:"4db39ceb",8089:"d536b13a",8143:"00cb9fe1",8155:"50d823bf",8161:"83c5fa9a",8237:"d3bb72d1",8241:"91c45856",8302:"a4d5a664",8307:"cb0adfbb",8340:"d5a9c88c",8350:"07df8a75",8365:"48a45f63",8398:"53838afc",8431:"ba67e25a",8432:"8c997507",8435:"c05654f4",8447:"36e7d286",8517:"2589b3a4",8561:"333e8ec9",8563:"f3d59c80",8634:"4f66e361",8639:"88b5ab2c",8665:"436b0c3f",8688:"b454bdfb",8689:"3171ebd4",8723:"63f691f2",8737:"ce7dad23",8776:"0ad26240",8782:"f0a23d81",8787:"144a65fd",8797:"7498fe26",8823:"19c9d97d",8827:"4bf25f9a",8842:"9f25a3e2",8866:"227c693c",8882:"57b43f6a",8885:"e307a2f0",8898:"d002bcd8",8909:"5b7edd24",8920:"7f82440c",8963:"790aecdd",8982:"b8da288f",8999:"8b152872",9076:"22108f5f",9104:"bbcb2345",9133:"cbd60420",9205:"e1da1956",9215:"303146c2",9252:"0d791a59",9260:"cf5f8140",9332:"dfdbdda7",9360:"8038a6a2",9366:"574688fb",9391:"e6b19941",9404:"9fcc3d3e",9408:"adf55763",9416:"c0e65d29",9487:"a8561e41",9489:"05c3c82a",9507:"eefb5ab4",9519:"50259742",9554:"ed358e7b",9559:"f794af19",9590:"aff88e2a",9644:"769bff45",9647:"3bf563d3",9649:"03496b3d",9674:"4ed97ce4",9677:"54273d5e",9695:"39ea76c8",9715:"014f13cf",9716:"bb226380",9785:"8f6de2c0",9788:"7bef8ad1",9890:"547775bd",9891:"fb5599e1",9895:"b8e31ff2",9921:"7e4ba578",9922:"f7b24e7b",9928:"5989f5e0",9944:"2c37b0ba",9950:"74f6dfb2",9968:"17466785"}[d]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"91ed81ab",67:"1ad7d0db",109:"1a7fc455",195:"a0b7e5dd",264:"5fd9b3fc",265:"d92c6f86",292:"e8d22ed4",310:"06815302",337:"ee05039e",342:"e9b270bd",479:"bba9e475",485:"d63578fe",503:"03cdfb68",508:"82593858",532:"c829a014",533:"5fee20bc",547:"5581debc",556:"892f4292",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"1d9948a7",737:"98eb2f74",799:"b3487c4b",869:"6740e24b",895:"ad846737",921:"30cc7e9b",928:"0277270a",1006:"2263131d",1043:"e8c0878b",1045:"0eeb3595",1048:"dafc3f4f",1070:"e67e9e01",1148:"754fff63",1211:"bdb8faab",1253:"46aca33c",1257:"156e8f74",1265:"d902bdae",1276:"bbc6eeec",1343:"b7f33c89",1416:"f1916094",1423:"5c4a76fc",1427:"f91322f7",1450:"1edcc2ed",1461:"917cbb16",1470:"183c9793",1475:"d22fbaa0",1482:"d159af07",1512:"f3653a35",1520:"f7300d0e",1545:"8eeeaccf",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1657:"cb817d3a",1674:"fdbc1e05",1702:"fca45632",1713:"5ed278a4",1717:"08a9e890",1727:"de83767d",1783:"47d0320e",1831:"8d05bf11",1836:"5f0d3f7f",1855:"b92cccb4",1880:"f67d7892",1939:"48e30d48",1953:"82125cfd",1962:"84e145fa",2045:"dcfad42d",2076:"09b07fa0",2102:"ec61f9f0",2141:"5eb2f330",2216:"e3ba73cf",2240:"e7cce869",2254:"ccda836f",2303:"66c77d21",2307:"b2c54321",2338:"e4bb0d0f",2339:"d90c9bd2",2396:"e70f11d6",2404:"08d36549",2412:"6b6ca0ef",2425:"47b23ee4",2443:"8fb7c26b",2476:"cf85a190",2501:"2441982c",2529:"9d9944da",2539:"43d36117",2548:"75182034",2570:"3dbc6300",2603:"0277270a",2659:"f6071a36",2707:"cabcb16e",2806:"2c7248b3",2819:"9455b08a",2823:"a13b21fb",2826:"0b6be43b",2829:"a5909474",2865:"6ef3cf6b",2875:"d6c8355d",2884:"904823c3",2983:"c8c482f7",3006:"7fce4e74",3141:"72791f8b",3157:"2038b5dc",3183:"b2253f40",3212:"ad1521c1",3220:"a5be3990",3247:"50105eb7",3260:"1847b79c",3276:"7bbb651d",3282:"2dff97e8",3317:"137440b7",3332:"dab65052",3355:"77baa15e",3356:"c6a4098f",3391:"f0e498fe",3433:"e6919a98",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3496:"44bf4044",3509:"70043ca5",3581:"f545d6a6",3585:"5f288e7b",3665:"9a299665",3668:"a1c98b04",3747:"e06419ae",3784:"c81d4a51",3873:"bbd9808d",3910:"658d457f",3935:"9a4efbda",3951:"9b11b034",4030:"7614a85c",4056:"10eacfff",4078:"aa54548e",4093:"c1f29d01",4105:"e39011c7",4144:"f10aa199",4164:"acb27581",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"36917df0",4449:"e68d8d58",4492:"0677fa39",4496:"77babddd",4498:"d086de31",4504:"466a61af",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"14597c83",4601:"3c8ac557",4610:"687005a6",4621:"ead619d7",4662:"4e7b8c12",4715:"45efe14a",4736:"2968553b",4741:"afeb6eca",4757:"73b754d2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4849:"2a1dc219",4862:"e5826b73",4884:"bd293d3b",4889:"db5cf2c9",4928:"a4b1a237",4973:"129c56e8",4994:"50caae56",5022:"81b1b86b",5043:"247e6954",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5125:"57501e4a",5148:"572faeac",5176:"9c49e7fa",5179:"21f01751",5186:"aeb0dc56",5191:"0af389b2",5238:"3d814a61",5297:"5426028f",5319:"34217c3f",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"0c911991",5402:"60617d0d",5470:"b25021a2",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5599:"2ae54005",5624:"5de2fd4d",5650:"f8f63f4b",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5786:"37a81eaa",5798:"ce1cf7da",5816:"d749b200",5825:"738960a3",5888:"193a7f8f",5891:"3b7a128f",5895:"9ddd624a",5915:"bc9c3e69",5972:"c7a91e8e",5992:"419f5d2f",6029:"2ded5a5a",6052:"59cb6398",6063:"a5f0409a",6069:"b4a6d2ab",6127:"f31505a8",6265:"9459eb93",6270:"cc24b0fc",6277:"12e50919",6328:"de2b9d62",6366:"079fc2d8",6434:"0112f8db",6444:"fd46d237",6452:"50a6d310",6541:"d1c967cd",6583:"7d33505d",6587:"9c49e7fa",6634:"df151169",6651:"b07fe216",6685:"f5f5b969",6729:"aea3b7f5",6741:"b838eb14",6758:"1c10a6da",6784:"1affe817",6788:"bde794d4",6796:"89c76e37",6805:"5b253c81",6820:"cebdf1cf",6845:"b7aabf70",6882:"c2d2eada",6883:"7740a702",6904:"44afaa9b",6913:"739202fe",6963:"84e145fa",6982:"3043a9c3",7008:"fe74a83d",7043:"25478869",7045:"48f6fc4c",7046:"c7301ded",7058:"984a456a",7062:"ced4496f",7178:"6e47d75d",7182:"183c9793",7242:"4f353f61",7260:"2c380d56",7395:"5c10e8d8",7460:"dedd2038",7477:"832457fc",7482:"c37a3f01",7527:"6b64ff47",7545:"59925dd9",7560:"d82e43ca",7589:"2a3e68f3",7614:"de9ee12f",7622:"33da27d4",7806:"80b7b1d6",7852:"ee98efe7",7855:"3970a709",7857:"13a29416",7878:"8dfa25f5",7883:"44658a32",7884:"1ca6cde0",7922:"c1d9e2f3",7948:"bed733e5",8014:"9ef39203",8062:"8e384b9f",8072:"540f746b",8077:"0b2c51d9",8085:"c625f85e",8143:"b6ca83ad",8155:"d345abd7",8237:"44654223",8241:"02a0cb2f",8302:"b4649ac5",8307:"02e15761",8398:"cf8eb735",8431:"7f5bd176",8435:"21d4dff0",8447:"0875c082",8517:"cccfddad",8563:"3a763677",8634:"317d0a2b",8665:"c52575bc",8688:"c044db56",8689:"459af240",8723:"5166ac36",8782:"918afc23",8787:"121de108",8797:"13e5189e",8823:"72de0470",8827:"af0ed6a3",8866:"664121ad",8882:"f3e42f72",8885:"de905169",8982:"6e2e337e",8999:"448aa22f",9076:"6a501148",9133:"ab171f08",9205:"49a3e67d",9215:"f737e7e7",9332:"a627cf98",9360:"27c7d4f7",9366:"4f511490",9391:"c11edda0",9404:"d8cf04f7",9408:"d3565b1a",9416:"a204e6fe",9487:"a73f5679",9489:"ee2bb5b7",9507:"396e34cd",9519:"88d248ee",9590:"29583579",9647:"452de157",9649:"00fb4211",9674:"d0f91ed7",9677:"26548cb7",9695:"bb84056a",9715:"b6c6645f",9716:"a5750e0d",9785:"08d36549",9788:"781a4d20",9890:"3ac78858",9891:"512a9301",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[d]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(d){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(d){return d=Object.create(d),d.children||(d.children=[]),Object.defineProperty(d,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+d.id)}}),d}}(),function(){__webpack_require__.o=function(d,v){return Object.prototype.hasOwnProperty.call(d,v)}}(),function(){var d={};__webpack_require__.l=function(v,e,r,i){if(d[v]){d[v].push(e);return}var l,c;if(r!==void 0)for(var f=document.getElementsByTagName("script"),s=0;s0&&arguments[0]!==void 0?arguments[0]:"";return Tn.endsWith("/")?Tn:"".concat(Tn,"/")}var Yl=__webpack_require__(38127),Lu=__webpack_require__(38329),So=__webpack_require__(8616),nl=["content"],Su=["content"],vc=/^(http:|https:)?\/\//;function Mu(Tn){return vc.test(Tn)||Tn.startsWith("/")&&!Tn.startsWith("/*")||Tn.startsWith("./")||Tn.startsWith("../")}var Zo=function(){return Ze.createElement("noscript",{dangerouslySetInnerHTML:{__html:"Enable JavaScript to run this app."}})},il=function(Kn){var Ni,Ea=Kn.loaderData,Zi=Kn.htmlPageOpts,ua=Kn.manifest,ha=(ua==null||(Ni=ua.assets)===null||Ni===void 0?void 0:Ni["umi.css"])||"";return Ze.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(Ea||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(Zi||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(ha,"'")}})};function Au(Tn){var Kn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof Tn=="string")return Mu(Tn)?(0,ko.Z)({src:Tn},Kn):{content:Tn};if((0,So.Z)(Tn)==="object")return(0,ko.Z)((0,ko.Z)({},Tn),Kn);throw new Error("Invalid script type: ".concat((0,So.Z)(Tn)))}function Dc(Tn){return Mu(Tn)?{type:"link",href:Tn}:{type:"style",content:Tn}}var Kc=function(Kn){var Ni,Ea,Zi,ua,ha,vs,Ki=Kn.htmlPageOpts;return Ze.createElement(Ze.Fragment,null,(Ki==null?void 0:Ki.title)&&Ze.createElement("title",null,Ki.title),Ki==null||(Ni=Ki.favicons)===null||Ni===void 0?void 0:Ni.map(function(es,Ku){return Ze.createElement("link",{key:Ku,rel:"shortcut icon",href:es})}),(Ki==null?void 0:Ki.description)&&Ze.createElement("meta",{name:"description",content:Ki.description}),(Ki==null||(Ea=Ki.keywords)===null||Ea===void 0?void 0:Ea.length)&&Ze.createElement("meta",{name:"keywords",content:Ki.keywords.join(",")}),Ki==null||(Zi=Ki.metas)===null||Zi===void 0?void 0:Zi.map(function(es){return Ze.createElement("meta",{key:es.name,name:es.name,content:es.content})}),Ki==null||(ua=Ki.links)===null||ua===void 0?void 0:ua.map(function(es,Ku){return Ze.createElement("link",(0,Lu.Z)({key:Ku},es))}),Ki==null||(ha=Ki.styles)===null||ha===void 0?void 0:ha.map(function(es,Ku){var ju=Dc(es),Yu=ju.type,ul=ju.href,ll=ju.content;if(Yu==="link")return Ze.createElement("link",{key:Ku,rel:"stylesheet",href:ul});if(Yu==="style")return Ze.createElement("style",{key:Ku},ll)}),Ki==null||(vs=Ki.headScripts)===null||vs===void 0?void 0:vs.map(function(es,Ku){var ju=Au(es),Yu=ju.content,ul=(0,Yl.Z)(ju,nl);return Ze.createElement("script",(0,Lu.Z)({dangerouslySetInnerHTML:{__html:Yu},key:Ku},ul))}))};function oo(Tn){var Kn,Ni=Tn.children,Ea=Tn.loaderData,Zi=Tn.manifest,ua=Tn.htmlPageOpts,ha=Tn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,vs=Tn.mountElementId;if(ha!=null&&ha.pureHtml)return Ze.createElement("html",null,Ze.createElement("head",null),Ze.createElement("body",null,Ze.createElement(Zo,null),Ze.createElement("div",{id:vs},Ni),Ze.createElement(il,{manifest:Zi,loaderData:Ea,htmlPageOpts:ua})));if(ha!=null&&ha.pureApp)return Ze.createElement(Ze.Fragment,null,Ni);var Ki=typeof window=="undefined"?Zi==null?void 0:Zi.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return Ze.createElement("html",{suppressHydrationWarning:!0,lang:(ua==null?void 0:ua.lang)||"en"},Ze.createElement("head",null,Ze.createElement("meta",{charSet:"utf-8"}),Ze.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),Ki&&Ze.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:Ki}),Ze.createElement(Kc,{htmlPageOpts:ua})),Ze.createElement("body",null,Ze.createElement(Zo,null),Ze.createElement("div",{id:vs},Ni),Ze.createElement(il,{manifest:Zi,loaderData:Ea,htmlPageOpts:ua}),ua==null||(Kn=ua.scripts)===null||Kn===void 0?void 0:Kn.map(function(es,Ku){var ju=Au(es),Yu=ju.content,ul=(0,Yl.Z)(ju,Su);return Ze.createElement("script",(0,Lu.Z)({dangerouslySetInnerHTML:{__html:Yu},key:Ku},ul))})))}var du=Ze.createContext(void 0);function Dl(){return Ze.useContext(du)}var Xl=["redirect"];function Ql(Tn){var Kn=Tn.routesById,Ni=Tn.parentId,Ea=Tn.routeComponents,Zi=Tn.useStream,ua=Zi===void 0?!0:Zi;return Object.keys(Kn).filter(function(ha){return Kn[ha].parentId===Ni}).map(function(ha){var vs=Ol((0,ko.Z)((0,ko.Z)({route:Kn[ha],routeComponent:Ea[ha],loadingComponent:Tn.loadingComponent,reactRouter5Compat:Tn.reactRouter5Compat},Tn.reactRouter5Compat&&{hasChildren:Object.keys(Kn).filter(function(es){return Kn[es].parentId===ha}).length>0}),{},{useStream:ua})),Ki=Ql({routesById:Kn,routeComponents:Ea,parentId:vs.id,loadingComponent:Tn.loadingComponent,reactRouter5Compat:Tn.reactRouter5Compat,useStream:ua});return Ki.length>0&&(vs.children=Ki,vs.routes=Ki),vs})}function gl(Tn){var Kn=(0,Qo.UO)(),Ni=(0,Qo.Gn)(Tn.to,Kn),Ea=(0,Kl.T$)(),Zi=(0,Qo.TH)();if(Ea!=null&&Ea.keepQuery){var ua=Zi.search+Zi.hash;Ni+=ua}var ha=(0,ko.Z)((0,ko.Z)({},Tn),{},{to:Ni});return Ze.createElement(Qo.Fg,(0,Lu.Z)({replace:!0},ha))}function Ol(Tn){var Kn=Tn.route,Ni=Tn.useStream,Ea=Ni===void 0?!0:Ni,Zi=Kn.redirect,ua=(0,Yl.Z)(Kn,Xl),ha=Tn.reactRouter5Compat?kl:ql;return(0,ko.Z)({element:Zi?Ze.createElement(gl,{to:Zi}):Ze.createElement(du.Provider,{value:{route:Tn.route}},Ze.createElement(ha,{loader:Ze.memo(Tn.routeComponent),loadingComponent:Tn.loadingComponent||df,hasChildren:Tn.hasChildren,useStream:Ea}))},ua)}function df(){return Ze.createElement("div",null)}function kl(Tn){var Kn=Dl(),Ni=Kn.route,Ea=(0,Kl.Ov)(),Zi=Ea.history,ua=Ea.clientRoutes,ha=(0,Qo.UO)(),vs={params:ha,isExact:!0,path:Ni.path,url:Zi.location.pathname},Ki=Tn.loader,es={location:Zi.location,match:vs,history:Zi,params:ha,route:Ni,routes:ua};return Tn.useStream?Ze.createElement(Ze.Suspense,{fallback:Ze.createElement(Tn.loadingComponent,null)},Ze.createElement(Ki,es,Tn.hasChildren&&Ze.createElement(Qo.j3,null))):Ze.createElement(Ki,es,Tn.hasChildren&&Ze.createElement(Qo.j3,null))}function ql(Tn){var Kn=Tn.loader;return Tn.useStream?Ze.createElement(Ze.Suspense,{fallback:Ze.createElement(Tn.loadingComponent,null)},Ze.createElement(Kn,null)):Ze.createElement(Kn,null)}var yl=null;function Yc(){return yl}function Fu(Tn){var Kn=Tn.history,Ni=Ze.useState({action:Kn.action,location:Kn.location}),Ea=(0,Il.Z)(Ni,2),Zi=Ea[0],ua=Ea[1];return(0,Ze.useLayoutEffect)(function(){return Kn.listen(ua)},[Kn]),(0,Ze.useLayoutEffect)(function(){function ha(vs){Tn.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:Tn.routes,clientRoutes:Tn.clientRoutes,location:vs.location,action:vs.action,basename:Tn.basename,isFirst:!!vs.isFirst}})}return ha({location:Zi.location,action:Zi.action,isFirst:!0}),Kn.listen(ha)},[Kn,Tn.routes,Tn.clientRoutes]),Ze.createElement(Qo.F0,{navigator:Kn,location:Zi.location,basename:Tn.basename},Tn.children)}function Bu(){var Tn=(0,Kl.Ov)(),Kn=Tn.clientRoutes;return(0,Qo.V$)(Kn)}var iu=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],qo=function(Kn,Ni){var Ea=Kn.basename||"/",Zi=Ql({routesById:Kn.routes,routeComponents:Kn.routeComponents,loadingComponent:Kn.loadingComponent,reactRouter5Compat:Kn.reactRouter5Compat,useStream:Kn.useStream});Kn.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:Zi}});for(var ua=Ze.createElement(Fu,{basename:Ea,pluginManager:Kn.pluginManager,routes:Kn.routes,clientRoutes:Zi,history:Kn.history},Ni),ha=0,vs=iu;hanew Promise((Ea,Zi)=>{var ua=Ki=>{try{vs(Ni.next(Ki))}catch(es){Zi(es)}},ha=Ki=>{try{vs(Ni.throw(Ki))}catch(es){Zi(es)}},vs=Ki=>Ki.done?Ea(Ki.value):Promise.resolve(Ki.value).then(ua,ha);vs((Ni=Ni.apply(Tn,Kn)).next())});function Oc(){return yc(this,null,function*(){return{routes:{1:{path:"/",parentId:"@@/global-layout",id:"1"},2:{path:"/paperlibrary",parentId:"1",id:"2"},3:{path:"/paperlibrary",parentId:"2",id:"3"},4:{path:"/paperlibrary/add",parentId:"2",id:"4"},5:{path:"/paperlibrary/add/:id",parentId:"2",id:"5"},6:{path:"/paperlibrary/see/:id",parentId:"2",id:"6"},7:{path:"/paperlibrary/edit_select/:id",parentId:"2",id:"7"},8:{path:"/paperlibrary/exchangequestion",parentId:"2",id:"8"},9:{path:"/paths",parentId:"1",id:"9"},10:{path:"/paths",parentId:"9",id:"10"},11:{path:"/paths/higherVocationalEducation",parentId:"9",id:"11"},12:{path:"/paths/new",parentId:"9",id:"12"},13:{path:"/paths/guidance",exact:!0,parentId:"9",id:"13"},14:{path:"/paths/:pathId",parentId:"9",id:"14"},15:{path:"/paths/:pathId/statistics",parentId:"9",id:"15"},16:{path:"/paths/:pathId/edit",parentId:"9",id:"16"},17:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/add",parentId:"9",id:"17"},18:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/edit",parentId:"9",id:"18"},19:{path:"/classrooms",parentId:"1",id:"19"},20:{path:"/classrooms",parentId:"19",id:"20"},21:{path:"/classrooms/examList",parentId:"19",id:"21"},22:{path:"/classrooms/classicCases",parentId:"19",id:"22"},23:{path:"/classrooms/index",parentId:"19",id:"23"},24:{path:"/classrooms/new",parentId:"19",id:"24"},25:{path:"/classrooms/:coursesId/edit",parentId:"19",id:"25"},26:{path:"/classrooms/news/:subjectid/newgold/:id",parentId:"19",id:"26"},27:{path:"/classrooms/:coursesId/newgolds/settings",parentId:"19",id:"27"},28:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId",parentId:"19",id:"28"},29:{path:"/classrooms/:coursesId/common_homework/:categoryId/review_detail/:userId",parentId:"19",id:"29"},30:{path:"/classrooms/:coursesId/program_homework/:categoryId/review_detail/:userId",parentId:"19",id:"30"},31:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail",parentId:"19",id:"31"},32:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"32"},33:{path:"/classrooms/:coursesId/common_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"33"},34:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary",parentId:"19",id:"34"},35:{path:"/classrooms/:coursesId/group_homework/:categoryId/detail",parentId:"19",id:"35"},36:{path:"/classrooms/:coursesId/common_homework/:categoryId/detail",parentId:"19",id:"36"},37:{path:"/classrooms/:coursesId/common_homework/:categoryId/review/:userId",parentId:"19",id:"37"},38:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId",parentId:"19",id:"38"},39:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/post",parentId:"19",id:"39"},40:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"40"},41:{path:"/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail",parentId:"19",id:"41"},42:{path:"/classrooms/:coursesId/exercise/:categoryId/detail",parentId:"19",id:"42"},43:{path:"/classrooms/:coursesId/exercise/:categoryId/preview_select",parentId:"19",id:"43"},44:{path:"/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer",parentId:"19",id:"44"},45:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login",parentId:"19",id:"45"},46:{path:"/classrooms/:coursesId/exercise/:categoryId/wrongAnswer/:login",parentId:"19",id:"46"},47:{path:"/classrooms/:coursesId/exercisenotice/:categoryId/users/:login",parentId:"19",id:"47"},48:{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",parentId:"19",id:"48"},49:{path:"/classrooms/:coursesId/exercise/:categoryId/random/preview",parentId:"19",id:"49"},50:{path:"/classrooms/:coursesId/exercise/add",parentId:"19",id:"50"},51:{path:"/classrooms/:coursesId/exercise/add/:exerciseId",parentId:"19",id:"51"},52:{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",parentId:"19",id:"52"},53:{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",parentId:"19",id:"53"},54:{path:"/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId",parentId:"19",id:"54"},55:{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",parentId:"19",id:"55"},56:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup",parentId:"19",id:"56"},57:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup/edit",parentId:"19",id:"57"},58:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId",parentId:"19",id:"58"},59:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId",parentId:"19",id:"59"},60:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code",parentId:"19",id:"60"},61:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code",parentId:"19",id:"61"},62:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",parentId:"19",id:"62"},63:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",parentId:"19",id:"63"},64:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",parentId:"19",id:"64"},65:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",parentId:"19",id:"65"},66:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",parentId:"19",id:"66"},67:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",parentId:"19",id:"67"},68:{path:"/classrooms/:coursesId/common_homework/:categoryId/add",parentId:"19",id:"68"},69:{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",parentId:"19",id:"69"},70:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",parentId:"19",id:"70"},71:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"71"},72:{path:"/classrooms/:coursesId/group_homework/:categoryId/add",parentId:"19",id:"72"},73:{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",parentId:"19",id:"73"},74:{path:"/classrooms/:coursesId/poll/:categoryId/add",parentId:"19",id:"74"},75:{path:"/classrooms/:coursesId/poll/:categoryId/edit",parentId:"19",id:"75"},76:{path:"/classrooms/:coursesId/poll/:categoryId/detail",parentId:"19",id:"76"},77:{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",parentId:"19",id:"77"},78:{path:"/classrooms/:coursesId/poll/:categoryId/questionnaireInfo/:login",parentId:"19",id:"78"},79:{path:"/classrooms/:coursesId/board/:categoryId/Add",parentId:"19",id:"79"},80:{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",parentId:"19",id:"80"},81:{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",parentId:"19",id:"81"},82:{path:"/classrooms/:courseId/template/:templateId",parentId:"19",id:"82"},83:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",parentId:"19",id:"83"},84:{path:"/classrooms/guidance",parentId:"19",id:"84"},85:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",parentId:"19",id:"85"},86:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login/check",parentId:"19",id:"86"},87:{path:"/classrooms/:coursesId/Studentdetail/:login",parentId:"19",id:"87"},88:{path:"/classrooms/:coursesId/StudentSituation/:categoryId/:login",parentId:"19",id:"88"},89:{path:"/classrooms/:coursesId/engineering/datail",parentId:"19",id:"89"},90:{path:"/classrooms/:coursesId/program_homework/:categoryId/add",parentId:"19",id:"90"},91:{path:"/classrooms/:coursesId/program_homework/:categoryId/edit",parentId:"19",id:"91"},92:{path:"/classrooms/:coursesId/program_homework/ranking",parentId:"19",id:"92"},93:{path:"/classrooms/:coursesId/program_homework/:categoryId/detail",parentId:"19",id:"93"},94:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking",parentId:"19",id:"94"},95:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment",parentId:"19",id:"95"},96:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer",parentId:"19",id:"96"},97:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/add",parentId:"19",id:"97"},98:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit",parentId:"19",id:"98"},99:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail",parentId:"19",id:"99"},100:{path:"/classrooms/:videoId/video_info",parentId:"19",id:"100"},101:{path:"/classrooms/",parentId:"19",id:"101"},102:{path:"/classrooms/:coursesId/shixun_homework/:categoryId",parentId:"101",id:"102"},103:{path:"/classrooms/:coursesId/shixun_homework",parentId:"101",id:"103"},104:{path:"/classrooms/:coursesId/graduation_topics/:categoryId",parentId:"101",id:"104"},105:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"101",id:"105"},106:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"101",id:"106"},107:{path:"/classrooms/:coursesId/exercise/:categoryId",parentId:"101",id:"107"},108:{path:"/classrooms/:coursesId/exercise",parentId:"101",id:"108"},109:{path:"/classrooms/:coursesId/poll/:categoryId",parentId:"101",id:"109"},110:{path:"/classrooms/:coursesId/poll",parentId:"101",id:"110"},111:{path:"/classrooms/:coursesId/common_homework/:categoryId",parentId:"101",id:"111"},112:{path:"/classrooms/:coursesId/common_homework",parentId:"101",id:"112"},113:{path:"/classrooms/:coursesId/group_homework/:categoryId",parentId:"101",id:"113"},114:{path:"/classrooms/:coursesId/group_homework",parentId:"101",id:"114"},115:{path:"/classrooms/:coursesId/teachers",parentId:"101",id:"115"},116:{path:"/classrooms/:coursesId/students",parentId:"101",id:"116"},117:{path:"/classrooms/:coursesId/assistant",parentId:"101",id:"117"},118:{path:"/classrooms/:coursesId/program_homework",parentId:"101",id:"118"},119:{path:"/classrooms/:coursesId/program_homework/:categoryId",parentId:"101",id:"119"},120:{path:"/classrooms/:coursesId/engineering",parentId:"101",id:"120"},121:{path:"/classrooms/:coursesId/learning_path",parentId:"101",id:"121"},122:{path:"/classrooms/:coursesId/resource_recommend",parentId:"101",id:"122"},123:{path:"/classrooms/:coursesId/attendance",parentId:"101",id:"123"},124:{path:"/classrooms/:coursesId/attendance/StudetnSign",parentId:"101",id:"124"},125:{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",parentId:"101",id:"125"},126:{path:"/classrooms/:coursesId/announcement",parentId:"101",id:"126"},127:{path:"/classrooms/:coursesId/announcement/:categoryId",parentId:"101",id:"127"},128:{path:"/classrooms/:coursesId/online_learning",parentId:"101",id:"128"},129:{path:"/classrooms/:coursesId/online_learning/:categoryId",parentId:"101",id:"129"},130:{path:"/classrooms/:coursesId/attachment/:categoryId",parentId:"101",id:"130"},131:{path:"/classrooms/:coursesId/attachment",parentId:"101",id:"131"},132:{path:"/classrooms/:coursesId/video",parentId:"101",id:"132"},133:{path:"/classrooms/:coursesId/video/:categoryId",parentId:"101",id:"133"},134:{path:"/classrooms/:coursesId/video/:categoryId/statistics",parentId:"101",id:"134"},135:{path:"/classrooms/:coursesId/video/:username/upload",parentId:"101",id:"135"},136:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",parentId:"101",id:"136"},137:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId/:userId",parentId:"101",id:"137"},138:{path:"/classrooms/:coursesId/live_video/:categoryId",parentId:"101",id:"138"},139:{path:"/classrooms/:coursesId/live_video",parentId:"101",id:"139"},140:{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",parentId:"101",id:"140"},141:{path:"/classrooms/:coursesId/board/:categoryId",parentId:"101",id:"141"},142:{path:"/classrooms/:coursesId/board",parentId:"101",id:"142"},143:{path:"/classrooms/:coursesId/course_group",parentId:"101",id:"143"},144:{path:"/classrooms/:coursesId/course_group/:categoryId",parentId:"101",id:"144"},145:{path:"/classrooms/:coursesId/course_group/:categoryId/detail",parentId:"101",id:"145"},146:{path:"/classrooms/:coursesId/not_course_group/:categoryId",parentId:"101",id:"146"},147:{path:"/classrooms/:coursesId/not_course_group",parentId:"101",id:"147"},148:{path:"/classrooms/:coursesId/statistics/",parentId:"101",id:"148"},149:{path:"/classrooms/:coursesId/statistics/:categoryId",parentId:"101",id:"149"},150:{path:"/classrooms/:coursesId/statistics_video/:categoryId",parentId:"101",id:"150"},151:{path:"/classrooms/:coursesId/statistics_quality/:categoryId",parentId:"101",id:"151"},152:{path:"/classrooms/:coursesId/statistics_user_portrait/:categoryId",parentId:"101",id:"152"},153:{path:"/classrooms/:coursesId/student_statistics/:categoryId",parentId:"101",id:"153"},154:{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",parentId:"101",id:"154"},155:{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",parentId:"101",id:"155"},156:{path:"/classrooms/:coursesId/exportlist/:type",parentId:"101",id:"156"},157:{path:"/classrooms/:coursesId",parentId:"101",id:"157"},158:{path:"/classrooms/:coursesId/template",parentId:"101",id:"158"},159:{path:"/competitions",parentId:"1",id:"159"},160:{path:"/competitions/index",parentId:"159",id:"160"},161:{path:"/competitions/:identifier/list",parentId:"159",id:"161"},162:{path:"/competitions/exports",parentId:"159",id:"162"},163:{path:"/competitions",parentId:"159",id:"163"},164:{path:"/competitions/:identifier",parentId:"159",id:"164"},165:{path:"/competitions/index/:identifier",parentId:"159",id:"165"},166:{path:"/competitions/:identifier/detail/enroll",parentId:"159",id:"166"},167:{path:"/competitions/:identifier/detail/UpdateTeanname/:Teannameid",parentId:"159",id:"167"},168:{path:"/competitions/:identifier/detail/teamDetail/:Teamid",parentId:"159",id:"168"},169:{path:"/competitions/detail/:identifier",parentId:"159",id:"169"},170:{path:"/forums",parentId:"1",id:"170"},171:{path:"/forums",parentId:"170",id:"171"},172:{path:"/forums/categories/:memoType",parentId:"170",id:"172"},173:{path:"/forums/new",parentId:"170",id:"173"},174:{path:"/forums/:memoId/edit",parentId:"170",id:"174"},175:{path:"/forums/:memoId",parentId:"170",id:"175"},176:{path:"/problemset",parentId:"1",id:"176"},177:{path:"/problemset",parentId:"176",id:"177"},178:{path:"/problemset/newitem",parentId:"176",id:"178"},179:{path:"/problemset/:type/:id",parentId:"176",id:"179"},180:{path:"/problemset/preview",parentId:"176",id:"180"},181:{path:"/problemset/preview_new",parentId:"176",id:"181"},182:{path:"/problemset/preview_select",parentId:"176",id:"182"},183:{path:"/shixuns",parentId:"1",id:"183"},184:{path:"/shixuns",parentId:"183",id:"184"},185:{path:"/shixuns/exports",parentId:"183",id:"185"},186:{path:"/shixuns/new",parentId:"183",id:"186"},187:{path:"/shixuns/new/CreateImg",parentId:"183",id:"187"},188:{path:"/shixuns/new/:id/imagepreview",parentId:"183",id:"188"},189:{path:"/shixuns/:id/Merge",parentId:"183",id:"189"},190:{path:"/shixuns/:id/Split",parentId:"183",id:"190"},191:{path:"/shixuns/:id/edit",parentId:"183",id:"191"},192:{path:"shixuns/:id/edit/warehouse",parentId:"191",id:"192"},193:{path:"/shixuns/:id/edit/newquestion",parentId:"191",id:"193"},194:{path:"/shixuns/:id/edit/:challengesId/editquestion",parentId:"191",id:"194"},195:{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",parentId:"191",id:"195"},196:{path:"/shixuns/:id/edit/new",parentId:"191",id:"196"},197:{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",parentId:"191",id:"197"},198:{path:"/shixuns/:id/edit/:challengesId/tab=2",parentId:"191",id:"198"},199:{path:"/shixuns/:id/edit/:challengesId/tab=3",parentId:"191",id:"199"},200:{path:"/shixuns/:id/edit/:challengesId/tab=4",parentId:"191",id:"200"},201:{path:"/shixuns/:id",parentId:"183",id:"201"},202:{path:"/shixuns/:id/challenges",parentId:"201",id:"202"},203:{path:"/shixuns/:id/repository",parentId:"201",id:"203"},204:{path:"/shixuns/:id/secret_repository",parentId:"201",id:"204"},205:{path:"/shixuns/:id/collaborators",parentId:"201",id:"205"},206:{path:"/shixuns/:id/dataset",parentId:"201",id:"206"},207:{path:"/shixuns/:id/dataset/jupyterEdit",parentId:"201",id:"207"},208:{path:"/shixuns/:id/shixun_discuss",parentId:"201",id:"208"},209:{path:"/shixuns/:id/ranking_list",parentId:"201",id:"209"},210:{path:"/shixuns/:id/settings",parentId:"201",id:"210"},211:{path:"/shixuns/:id/repository/:repoId/commits",parentId:"201",id:"211"},212:{path:"/shixuns/:id/secret_repository/:repoId/commits",parentId:"201",id:"212"},213:{path:"/shixuns/:id/repository/upload_file",parentId:"201",id:"213"},214:{path:"/shixuns/:id/secret_repository/upload_file",parentId:"201",id:"214"},215:{path:"/shixuns/:id/repository/add_file",parentId:"201",id:"215"},216:{path:"/shixuns/:id/secret_repository/add_file",parentId:"201",id:"216"},217:{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,parentId:"201",id:"217"},218:{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,parentId:"201",id:"218"},219:{path:"/shixuns/:id/audit_situation",parentId:"201",id:"219"},220:{path:"/shixuns/:id/fork_list",parentId:"201",id:"220"},221:{path:"/users",parentId:"1",id:"221"},222:{path:"/users/:username/videos/protocol",parentId:"221",id:"222"},223:{path:"/users/:username/videos/resourceProtocol",parentId:"221",id:"223"},224:{path:"/users/:username/videos/success",parentId:"221",id:"224"},225:{path:"/users/:username/topicbank/:topicstype",parentId:"221",id:"225"},226:{path:"/users/:username/topics/:topicId/:topictype/normal/detail",parentId:"221",id:"226"},227:{path:"/users/:username/topics/:topicId/:topictype/group/detail",parentId:"221",id:"227"},228:{path:"/users/:username/topics/:topicId/:topictype/normal/edit",parentId:"221",id:"228"},229:{path:"/users/:username/topics/:topicId/:topictype/group/edit",parentId:"221",id:"229"},230:{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",parentId:"221",id:"230"},231:{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",parentId:"221",id:"231"},232:{path:"/users/:username/topics/:topicId/:topictype/poll/edit",parentId:"221",id:"232"},233:{path:"/users/:username/topics/:topicId/:topictype/poll/detail",parentId:"221",id:"233"},234:{path:"/users/:username/experiment-img/add",parentId:"221",id:"234"},235:{path:"/users/:username",parentId:"221",id:"235"},236:{path:"/users/:username",parentId:"235",id:"236"},237:{path:"/users/:username/baseInfo/edit",parentId:"235",id:"237"},238:{path:"/users/:username/baseInfo",parentId:"235",id:"238"},239:{path:"/users/:username/realNameCertification",parentId:"235",id:"239"},240:{path:"/users/:username/careerCertification",parentId:"235",id:"240"},241:{path:"/users/:username/classrooms",parentId:"235",id:"241"},242:{path:"/users/:username/shixuns",parentId:"235",id:"242"},243:{path:"/users/:username/dataSet",parentId:"235",id:"243"},244:{path:"/users/:username/userPortrait",parentId:"235",id:"244"},245:{path:"/users/:username/learningPath",parentId:"235",id:"245"},246:{path:"/users/:username/teach-group",parentId:"235",id:"246"},247:{path:"/users/:username/competitions",parentId:"235",id:"247"},248:{path:"/users/:username/experiment-img",parentId:"235",id:"248"},249:{path:"/users/:username/experiment-img/:experid/detail",parentId:"235",id:"249"},250:{path:"/users/:username/certificate",parentId:"235",id:"250"},251:{path:"/users/:username/otherResources",parentId:"235",id:"251"},252:{path:"/users/:username/classmanagement",parentId:"235",id:"252"},253:{path:"/users/:username/classmanagement/:couserid",parentId:"235",id:"253"},254:{path:"/users/:username/paths",parentId:"235",id:"254"},255:{path:"/users/:username/projects",parentId:"235",id:"255"},256:{path:"/users/:username/videos",parentId:"235",id:"256"},257:{path:"/users/:username/videos/upload",parentId:"235",id:"257"},258:{path:"/users/:username/topics/:topicstype",parentId:"235",id:"258"},259:{path:"/users/:username/vspaces",parentId:"235",id:"259"},260:{path:"/users/:username/resourcesCenter",parentId:"235",id:"260"},261:{path:"/users/:username/resourcesCenter/:id/detail",parentId:"235",id:"261"},262:{path:"/users/:username/resourceGuarantee",parentId:"235",id:"262"},263:{path:"/users/:username/resourceAllocation",parentId:"235",id:"263"},264:{parentId:"1",id:"264"},265:{path:"/problems",parentId:"264",id:"265"},266:{path:"/problems",parentId:"265",id:"266"},267:{path:"/problems/batchAdd",parentId:"265",id:"267"},268:{path:"/problems/newcreate",parentId:"264",id:"268"},269:{path:"/problems/newedit/:id",exact:!0,parentId:"264",id:"269"},270:{path:"/problems/:id/edit",exact:!0,parentId:"264",id:"270"},271:{path:"/problems/new",exact:!0,parentId:"264",id:"271"},272:{path:"/problems/:id/oj/:save_identifier",parentId:"264",id:"272"},273:{path:"/problems/:id/record-detail/:submitId",parentId:"264",id:"273"},274:{path:"/problems/add",parentId:"264",id:"274"},275:{path:"/problems/:id/ojedit",parentId:"264",id:"275"},276:{path:"/engineering",parentId:"1",id:"276"},277:{path:"/engineering",parentId:"276",id:"277"},278:{path:"/engineering/teacherList",parentId:"277",id:"278"},279:{path:"/engineering/studentList",parentId:"277",id:"279"},280:{path:"/engineering/training/program",parentId:"277",id:"280"},281:{path:"/engineering/training/program/add",parentId:"277",id:"281"},282:{path:"/engineering/training/program/edit",parentId:"277",id:"282"},283:{path:"/engineering/training/objectives",parentId:"277",id:"283"},284:{path:"/engineering/graduated/index",parentId:"277",id:"284"},285:{path:"/engineering/graduated/matrix",parentId:"277",id:"285"},286:{path:"/engineering/course/list",parentId:"277",id:"286"},287:{path:"/engineering/course/setting",parentId:"277",id:"287"},288:{path:"/engineering/course/matrix",parentId:"277",id:"288"},289:{path:"/engineering/navigation",parentId:"277",id:"289"},290:{path:"/engineering/evaluate/course",parentId:"277",id:"290"},291:{path:"/engineering/evaluate/course/:ec_year_id/:id",parentId:"277",id:"291"},292:{path:"/engineering/evaluate/norm",parentId:"277",id:"292"},293:{path:"/engineering/evaluate/document",parentId:"277",id:"293"},294:{path:"/engineering/evaluate/norm/:ec_year_id/:id",parentId:"277",id:"294"},295:{path:"/engineering/*",redirect:"/404",parentId:"277",id:"295"},296:{path:"/innovation",parentId:"1",id:"296"},297:{path:"/innovation/tasks/:taskId",parentId:"296",id:"297"},298:{path:"/innovation",parentId:"296",id:"298"},299:{path:"/innovation/project",parentId:"298",id:"299"},300:{path:"/innovation/dataset",parentId:"298",id:"300"},301:{path:"/innovation/mirror",parentId:"298",id:"301"},302:{path:"/innovation/my-project",parentId:"298",id:"302"},303:{path:"/innovation/my-dataset",parentId:"298",id:"303"},304:{path:"/innovation/my-mirror",parentId:"298",id:"304"},305:{path:"/innovation/project/create",parentId:"298",id:"305"},306:{path:"/innovation/project/edit/:id",parentId:"298",id:"306"},307:{path:"/innovation/project/detail/:taskId",parentId:"298",id:"307"},308:{path:"/tasks",parentId:"1",id:"308"},309:{path:"/tasks/:taskId",exact:!0,parentId:"308",id:"309"},310:{path:"/tasks/:identifier/jupyter/",exact:!0,parentId:"308",id:"310"},311:{path:"/tasks/:courseId/:homeworkId/:taskId",exact:!0,parentId:"308",id:"311"},312:{path:"/tasks/jupyter/:courseId/:homeworkId/:identifier",exact:!0,parentId:"308",id:"312"},313:{path:"/tasks/:courseId/:exerciseId/:taskId/exercise",exact:!0,parentId:"308",id:"313"},314:{path:"/myproblems",parentId:"1",id:"314"},315:{path:"/myproblems/:id/record-detail/:submitId",exact:!0,parentId:"314",id:"315"},316:{path:"/myproblems/:id",exact:!0,parentId:"314",id:"316"},317:{path:"/account",parentId:"1",id:"317"},318:{path:"/account",parentId:"317",id:"318"},319:{path:"/account/profile",parentId:"318",id:"319"},320:{path:"/account/profile/edit",parentId:"318",id:"320"},321:{path:"/account/certification",parentId:"318",id:"321"},322:{path:"/account/secure",parentId:"318",id:"322"},323:{path:"/account/binding",parentId:"318",id:"323"},324:{path:"/account/Results",parentId:"318",id:"324"},325:{path:"/ch",parentId:"1",id:"325"},326:{path:"/ch/rest/edit/:categoryId/:id",exact:!0,parentId:"325",id:"326"},327:{path:"/ch/rest/",exact:!0,parentId:"325",id:"327"},328:{path:"/ch/rest/:id",exact:!0,parentId:"325",id:"328"},329:{path:"/order",parentId:"1",id:"329"},330:{path:"/order",parentId:"329",id:"330"},331:{path:"/order/invoice",parentId:"329",id:"331"},332:{path:"/order/records",parentId:"329",id:"332"},333:{path:"/order/apply",parentId:"329",id:"333"},334:{path:"/order/view",parentId:"329",id:"334"},335:{path:"/order/:courseId/information",parentId:"329",id:"335"},336:{path:"/order/:courseId/pay",parentId:"329",id:"336"},337:{path:"/order/:orderNum/result",parentId:"329",id:"337"},338:{path:"/messages",parentId:"1",id:"338"},339:{path:"/messages/:userId/user_tidings",parentId:"338",id:"339"},340:{path:"/messages/:userId/private_messages",parentId:"338",id:"340"},341:{path:"/messages/:userId/message_detail",parentId:"338",id:"341"},342:{path:"/vtrs",parentId:"1",id:"342"},343:{path:"/vtrs/:virtual_spacesId",parentId:"342",id:"343"},344:{path:"/vtrs/:virtual_spacesId",exact:!0,parentId:"343",id:"344"},345:{path:"/vtrs/:virtual_spacesId/workplace",exact:!0,parentId:"343",id:"345"},346:{path:"/vtrs/:virtual_spacesId/experiment",parentId:"343",id:"346"},347:{path:"/vtrs/:virtual_spacesId/announcement",parentId:"343",id:"347"},348:{path:"/vtrs/:virtual_spacesId/announcement/add",parentId:"343",id:"348"},349:{path:"/vtrs/:virtual_spacesId/announcement/:id/edit",parentId:"343",id:"349"},350:{path:"/vtrs/:virtual_spacesId/announcement/:id/detail",parentId:"343",id:"350"},351:{path:"/vtrs/:virtual_spacesId/survey",parentId:"343",id:"351"},352:{path:"/vtrs/:virtual_spacesId/survey/:id/detail",parentId:"343",id:"352"},353:{path:"/vtrs/:virtual_spacesId/knowledge",parentId:"343",id:"353"},354:{path:"/vtrs/:virtual_spacesId/knowledge/add",parentId:"343",id:"354"},355:{path:"/vtrs/:virtual_spacesId/knowledge/:id/edit",parentId:"343",id:"355"},356:{path:"/vtrs/:virtual_spacesId/material",parentId:"343",id:"356"},357:{path:"/vtrs/:virtual_spacesId/material/:id/detail",parentId:"343",id:"357"},358:{path:"/vtrs/:virtual_spacesId/lesson",parentId:"343",id:"358"},359:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail",parentId:"343",id:"359"},360:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"343",id:"360"},361:{path:"/vtrs/:virtual_spacesId/discussion",parentId:"343",id:"361"},362:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail",parentId:"343",id:"362"},363:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"343",id:"363"},364:{path:"/vtrs/:virtual_spacesId/settings",parentId:"343",id:"364"},365:{path:"/vtrs/:virtual_spacesId/resources",parentId:"343",id:"365"},366:{path:"/vtrs/:virtual_spacesId/resources/:id/detail",parentId:"343",id:"366"},367:{path:"/vtrs/:virtual_spacesId/Plan",parentId:"343",id:"367"},368:{path:"/vtrs/:virtual_spacesId/plan/:id/detail",parentId:"343",id:"368"},369:{path:"/vtrs/:virtual_spacesId/digtal",parentId:"343",id:"369"},370:{path:"/vtrs/:virtual_spacesId/homepage",parentId:"343",id:"370"},371:{path:"/vtrs/:virtual_spacesId/*",parentId:"343",id:"371"},372:{path:"/101",parentId:"1",id:"372"},373:{path:"/101/:virtual_spacesId",parentId:"372",id:"373"},374:{path:"/101/:virtual_spacesId",exact:!0,parentId:"373",id:"374"},375:{path:"/101/:virtual_spacesId/workplace",exact:!0,parentId:"373",id:"375"},376:{path:"/101/:virtual_spacesId/experiment",parentId:"373",id:"376"},377:{path:"/101/:virtual_spacesId/announcement",parentId:"373",id:"377"},378:{path:"/101/:virtual_spacesId/announcement/add",parentId:"373",id:"378"},379:{path:"/101/:virtual_spacesId/announcement/:id/edit",parentId:"373",id:"379"},380:{path:"/101/:virtual_spacesId/announcement/:id/detail",parentId:"373",id:"380"},381:{path:"/101/:virtual_spacesId/survey",parentId:"373",id:"381"},382:{path:"/101/:virtual_spacesId/survey/:id/detail",parentId:"373",id:"382"},383:{path:"/101/:virtual_spacesId/knowledge",parentId:"373",id:"383"},384:{path:"/101/:virtual_spacesId/knowledge/add",parentId:"373",id:"384"},385:{path:"/101/:virtual_spacesId/knowledge/:id/edit",parentId:"373",id:"385"},386:{path:"/101/:virtual_spacesId/material",parentId:"373",id:"386"},387:{path:"/101/:virtual_spacesId/material/:id/detail",parentId:"373",id:"387"},388:{path:"/101/:virtual_spacesId/lesson",parentId:"373",id:"388"},389:{path:"/101/:virtual_spacesId/lesson/:id/detail",parentId:"373",id:"389"},390:{path:"/101/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"373",id:"390"},391:{path:"/101/:virtual_spacesId/discussion",parentId:"373",id:"391"},392:{path:"/101/:virtual_spacesId/discussion/:id/detail",parentId:"373",id:"392"},393:{path:"/101/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"373",id:"393"},394:{path:"/101/:virtual_spacesId/settings",parentId:"373",id:"394"},395:{path:"/101/:virtual_spacesId/resources",parentId:"373",id:"395"},396:{path:"/101/:virtual_spacesId/resources/:id/detail",parentId:"373",id:"396"},397:{path:"/101/:virtual_spacesId/Plan",parentId:"373",id:"397"},398:{path:"/101/:virtual_spacesId/plan/:id/detail",parentId:"373",id:"398"},399:{path:"/101/:virtual_spacesId/digtal",parentId:"373",id:"399"},400:{path:"/101/:virtual_spacesId/homepage",parentId:"373",id:"400"},401:{path:"/101/:virtual_spacesId/*",parentId:"373",id:"401"},402:{path:"/administration",parentId:"1",id:"402"},403:{path:"/administration",parentId:"402",id:"403"},404:{path:"/administration/college",parentId:"403",id:"404"},405:{path:"/administration/student",parentId:"403",id:"405"},406:{path:"/administration/student/:studentId/edit",parentId:"403",id:"406"},407:{path:"/administration/profession",parentId:"403",id:"407"},408:{path:"/graduations",parentId:"1",id:"408"},409:{path:"/graduations",exact:!0,parentId:"408",id:"409"},410:{path:"/graduations/:id/:moduleKey/:moduleId/review/:itemId",exact:!0,parentId:"408",id:"410"},411:{path:"/graduations/:id",parentId:"408",id:"411"},412:{path:"/graduations/:id/index",parentId:"411",id:"412"},413:{path:"/graduations/:id/topics",parentId:"411",id:"413"},414:{path:"/graduations/:id/student_selection",parentId:"411",id:"414"},415:{path:"/graduations/:id/tasks",parentId:"411",id:"415"},416:{path:"/graduations/:id/opening_report",parentId:"411",id:"416"},417:{path:"/graduations/:id/midterm_report",parentId:"411",id:"417"},418:{path:"/graduations/:id/thesis",parentId:"411",id:"418"},419:{path:"/graduations/:id/final_defense",parentId:"411",id:"419"},420:{path:"/graduations/:id/final_thesis",parentId:"411",id:"420"},421:{path:"/graduations/:id/settings",parentId:"411",id:"421"},422:{path:"/graduations/:id/teachers",parentId:"411",id:"422"},423:{path:"/graduations/:id/students",parentId:"411",id:"423"},424:{path:"/graduations/:id/archives",parentId:"411",id:"424"},425:{path:"/graduations/:id/grading_summary",parentId:"411",id:"425"},426:{path:"/dataset",parentId:"1",id:"426"},427:{path:"/dataset",exact:!0,parentId:"426",id:"427"},428:{path:"/dataset/:id/detail",exact:!0,parentId:"426",id:"428"},429:{path:"/knowledgegraph",parentId:"1",id:"429"},430:{path:"/knowledgegraph/:pathId",parentId:"429",id:"430"},431:{path:"/knowledgegraph/:pathId/statistics",parentId:"429",id:"431"},432:{path:"/onlinenum",parentId:"1",id:"432"},433:{path:"/onlinenum",parentId:"432",id:"433"},434:{path:"/shixuncontext",parentId:"1",id:"434"},435:{path:"/shixuncontext",parentId:"434",id:"435"},436:{path:"/shixuncontext/:Id/detail",parentId:"434",id:"436"},437:{path:"/educoder-demo",exact:!0,parentId:"1",id:"437"},438:{path:"/training",parentId:"1",id:"438"},439:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"438",id:"439"},440:{path:"/largeScreen",exact:!0,parentId:"1",id:"440"},441:{path:"/quality",parentId:"1",id:"441"},442:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"441",id:"442"},443:{path:"/otherlogin",exact:!0,parentId:"1",id:"443"},444:{path:"/otherloginqq",exact:!0,parentId:"1",id:"444"},445:{path:"/otherloginstart",exact:!0,parentId:"1",id:"445"},446:{path:"/pathsoverview",exact:!0,parentId:"1",id:"446"},447:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"447"},448:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"448"},449:{path:"/login",parentId:"1",id:"449"},450:{path:"/login",parentId:"449",id:"450"},451:{path:"/user",parentId:"1",id:"451"},452:{path:"/user/login",parentId:"451",id:"452"},453:{path:"/user/register",parentId:"451",id:"453"},454:{path:"/user/reset-password",parentId:"451",id:"454"},455:{path:"/colleges",parentId:"1",id:"455"},456:{path:"/colleges/:id/statistics",parentId:"455",id:"456"},457:{path:"/help",parentId:"1",id:"457"},458:{path:"/help/:id",parentId:"457",id:"458"},459:{path:"/video",parentId:"1",id:"459"},460:{path:"/video/:videoId",parentId:"459",id:"460"},461:{path:"/terminal",parentId:"1",id:"461"},462:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"462"},463:{path:"/",parentId:"1",id:"463"},464:{path:"/",exact:!0,parentId:"463",id:"464"},465:{path:"/api/*",exact:!0,parentId:"463",id:"465"},466:{path:"/search",exact:!0,parentId:"463",id:"466"},467:{path:"/moop_cases",exact:!0,parentId:"463",id:"467"},468:{path:"/moop_cases/new",exact:!0,parentId:"463",id:"468"},469:{path:"/moop_cases/:caseId",exact:!0,parentId:"463",id:"469"},470:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"463",id:"470"},471:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"463",id:"471"},472:{path:"/randompaper",exact:!0,parentId:"463",id:"472"},473:{path:"/randompaper/edit/:id",exact:!0,parentId:"463",id:"473"},474:{path:"/randompaper/detail/:id",exact:!0,parentId:"463",id:"474"},475:{path:"/403",parentId:"463",id:"475"},476:{path:"/500",parentId:"463",id:"476"},477:{path:"/404",parentId:"463",id:"477"},478:{path:"/download",parentId:"463",id:"478"},479:{path:"/iwce",parentId:"463",id:"479"},480:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"463",id:"480"},481:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"463",id:"481"},482:{path:"/Activities",parentId:"463",id:"482"},483:{path:"/iwce/:itemname",parentId:"463",id:"483"},484:{path:"/hpc-course",parentId:"463",id:"484"},485:{path:"/user_agents",parentId:"463",id:"485"},486:{path:"/three",parentId:"463",id:"486"},487:{path:"/introduction",parentId:"463",id:"487"},488:{path:"/chatgpt",parentId:"463",id:"488"},489:{path:"/*",parentId:"463",id:"489"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:Ze.lazy(()=>__webpack_require__.e(988).then(__webpack_require__.bind(__webpack_require__,10988))),2:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),3:Ze.lazy(()=>Promise.all([__webpack_require__.e(8432),__webpack_require__.e(4862)]).then(__webpack_require__.bind(__webpack_require__,57855))),4:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8432),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,54002))),5:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8432),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,54002))),6:Ze.lazy(()=>__webpack_require__.e(3247).then(__webpack_require__.bind(__webpack_require__,39591))),7:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8432),__webpack_require__.e(297),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,61136))),8:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8432),__webpack_require__.e(297),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,249))),9:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),10:Ze.lazy(()=>__webpack_require__.e(6052).then(__webpack_require__.bind(__webpack_require__,84195))),11:Ze.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,91078))),12:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,29210))),13:Ze.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,2718))),14:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6411),__webpack_require__.e(3332)]).then(__webpack_require__.bind(__webpack_require__,87739))),15:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4601)]).then(__webpack_require__.bind(__webpack_require__,86018))),16:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,29210))),17:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8432),__webpack_require__.e(297),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,61136))),18:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8432),__webpack_require__.e(297),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,61136))),19:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),20:Ze.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,6466))),21:Ze.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,91443))),22:Ze.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,74185))),23:Ze.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,6466))),24:Ze.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,11907))),25:Ze.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,11907))),26:Ze.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,51238))),27:Ze.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,51238))),28:Ze.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,84682))),29:Ze.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,68091))),30:Ze.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,57359))),31:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6411),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,75837))),32:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6411),__webpack_require__.e(342)]).then(__webpack_require__.bind(__webpack_require__,49283))),33:Ze.lazy(()=>Promise.all([__webpack_require__.e(8432),__webpack_require__.e(2303)]).then(__webpack_require__.bind(__webpack_require__,71343))),34:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,9767))),35:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,96119))),36:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,3337))),37:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8432),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,16267))),38:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,27079))),39:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,65152))),40:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,30654))),41:Ze.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,40248))),42:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6411),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,29601))),43:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8432),__webpack_require__.e(297),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,61136))),44:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(7081),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,94901))),45:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(7081),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,42823))),46:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(7883)]).then(__webpack_require__.bind(__webpack_require__,75993))),47:Ze.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,49298))),48:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,33407))),49:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,28671))),50:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8432),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,32230))),51:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8432),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,32230))),52:Ze.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,10807))),53:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6411),__webpack_require__.e(8432),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,28444))),54:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6411),__webpack_require__.e(8432),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,28444))),55:Ze.lazy(()=>__webpack_require__.e(8431).then(__webpack_require__.bind(__webpack_require__,35039))),56:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,40534))),57:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,93212))),58:Ze.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,97432))),59:Ze.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,97432))),60:Ze.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,44199))),61:Ze.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,44199))),62:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,53966))),63:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,98381))),64:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,72048))),65:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,99699))),66:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,51383))),67:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,63905))),68:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,28818))),69:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,69971))),70:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,65930))),71:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,22869))),72:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,4294))),73:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,72213))),74:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,84771))),75:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,3410))),76:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,57235))),77:Ze.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,79617))),78:Ze.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,41538))),79:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,55402))),80:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,10857))),81:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,87088))),82:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,16340))),83:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,91761))),84:Ze.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,2718))),85:Ze.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,62970))),86:Ze.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,41412))),87:Ze.lazy(()=>__webpack_require__.e(7395).then(__webpack_require__.bind(__webpack_require__,26395))),88:Ze.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,85298))),89:Ze.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,99176))),90:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,1006))),91:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,1006))),92:Ze.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,8878))),93:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,77687))),94:Ze.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,80990))),95:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,50356))),96:Ze.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,58364))),97:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,16635))),98:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,22911))),99:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,5573))),100:Ze.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,90829))),101:Ze.lazy(()=>__webpack_require__.e(3282).then(__webpack_require__.bind(__webpack_require__,36842))),102:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,75633))),103:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,75633))),104:Ze.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,39024))),105:Ze.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,71491))),106:Ze.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,71491))),107:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,5922))),108:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,5922))),109:Ze.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,79590))),110:Ze.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,79590))),111:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(9644),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,11125))),112:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(9644),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,11125))),113:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(9644),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,68698))),114:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(9644),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,68698))),115:Ze.lazy(()=>__webpack_require__.e(8014).then(__webpack_require__.bind(__webpack_require__,77652))),116:Ze.lazy(()=>__webpack_require__.e(8077).then(__webpack_require__.bind(__webpack_require__,39379))),117:Ze.lazy(()=>__webpack_require__.e(3356).then(__webpack_require__.bind(__webpack_require__,64019))),118:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,33310))),119:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,33310))),120:Ze.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,28091))),121:Ze.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,22467))),122:Ze.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,25721))),123:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,7735))),124:Ze.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,23614))),125:Ze.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,97401))),126:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,48359))),127:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,48359))),128:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,29319))),129:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,29319))),130:Ze.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,33655))),131:Ze.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,33655))),132:Ze.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,51124))),133:Ze.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,51124))),134:Ze.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,23699))),135:Ze.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,70322))),136:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,72217))),137:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,59646))),138:Ze.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,7188))),139:Ze.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,7188))),140:Ze.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,1731))),141:Ze.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,20955))),142:Ze.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,20955))),143:Ze.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,45780))),144:Ze.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,45780))),145:Ze.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,16909))),146:Ze.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,63635))),147:Ze.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,63635))),148:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,63136))),149:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,63136))),150:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,21759))),151:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,48523))),152:Ze.lazy(()=>__webpack_require__.e(3276).then(__webpack_require__.bind(__webpack_require__,20466))),153:Ze.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,36056))),154:Ze.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,20404))),155:Ze.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,30057))),156:Ze.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,80674))),157:Ze.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,98210))),158:Ze.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,84795))),159:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),160:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4984),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,49352))),161:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4984),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,49352))),162:Ze.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,38763))),163:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4984),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,49352))),164:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(1109),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,19802))),165:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(1109),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,19802))),166:Ze.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,32779))),167:Ze.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,799))),168:Ze.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,35004))),169:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(1109),__webpack_require__.e(8797)]).then(__webpack_require__.bind(__webpack_require__,83930))),170:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),171:Ze.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,74852))),172:Ze.lazy(()=>__webpack_require__.e(2983).then(__webpack_require__.bind(__webpack_require__,54247))),173:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,48495))),174:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,48495))),175:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,7085))),176:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),177:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8432),__webpack_require__.e(297),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,61136))),178:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8432),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,88701))),179:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8432),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,88701))),180:Ze.lazy(()=>__webpack_require__.e(1581).then(__webpack_require__.bind(__webpack_require__,57160))),181:Ze.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,90778))),182:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8432),__webpack_require__.e(297),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,61136))),183:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),184:Ze.lazy(()=>__webpack_require__.e(8782).then(__webpack_require__.bind(__webpack_require__,66360))),185:Ze.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,42642))),186:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(7008)]).then(__webpack_require__.bind(__webpack_require__,89370))),187:Ze.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,64101))),188:Ze.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,34168))),189:Ze.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,19077))),190:Ze.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,24084))),191:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6411),__webpack_require__.e(149),__webpack_require__.e(6277)]).then(__webpack_require__.bind(__webpack_require__,86167))),192:Ze.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,14587))),193:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,58050))),194:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8432),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,6842))),195:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8432),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,6842))),196:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8432),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,44599))),197:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8432),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,44599))),198:Ze.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,78529))),199:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,76408))),200:Ze.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,61615))),201:Ze.lazy(()=>__webpack_require__.e(2875).then(__webpack_require__.bind(__webpack_require__,69828))),202:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9133)]).then(__webpack_require__.bind(__webpack_require__,72611))),203:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,17227))),204:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,17227))),205:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5470)]).then(__webpack_require__.bind(__webpack_require__,39619))),206:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6541)]).then(__webpack_require__.bind(__webpack_require__,46261))),207:Ze.lazy(()=>Promise.all([__webpack_require__.e(149),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,3561))),208:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6411),__webpack_require__.e(2254)]).then(__webpack_require__.bind(__webpack_require__,47818))),209:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9408)]).then(__webpack_require__.bind(__webpack_require__,90404))),210:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6411),__webpack_require__.e(6845)]).then(__webpack_require__.bind(__webpack_require__,33566))),211:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,19099))),212:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,19099))),213:Ze.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,55124))),214:Ze.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,55124))),215:Ze.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,85222))),216:Ze.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,85222))),217:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,17227))),218:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,17227))),219:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,99705))),220:Ze.lazy(()=>__webpack_require__.e(9215).then(__webpack_require__.bind(__webpack_require__,39206))),221:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),222:Ze.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,67431))),223:Ze.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,33253))),224:Ze.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,6044))),225:Ze.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,7224))),226:Ze.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,26675))),227:Ze.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,26675))),228:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,18621))),229:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,33350))),230:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,16873))),231:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,78964))),232:Ze.lazy(()=>__webpack_require__.e(5043).then(__webpack_require__.bind(__webpack_require__,6235))),233:Ze.lazy(()=>__webpack_require__.e(799).then(__webpack_require__.bind(__webpack_require__,10001))),234:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,91436))),235:Ze.lazy(()=>__webpack_require__.e(2529).then(__webpack_require__.bind(__webpack_require__,50224))),236:Ze.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,86648))),237:Ze.lazy(()=>__webpack_require__.e(5895).then(__webpack_require__.bind(__webpack_require__,21804))),238:Ze.lazy(()=>__webpack_require__.e(6982).then(__webpack_require__.bind(__webpack_require__,31179))),239:Ze.lazy(()=>__webpack_require__.e(6805).then(__webpack_require__.bind(__webpack_require__,7366))),240:Ze.lazy(()=>__webpack_require__.e(1416).then(__webpack_require__.bind(__webpack_require__,47640))),241:Ze.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,86648))),242:Ze.lazy(()=>__webpack_require__.e(8307).then(__webpack_require__.bind(__webpack_require__,52483))),243:Ze.lazy(()=>__webpack_require__.e(2826).then(__webpack_require__.bind(__webpack_require__,21594))),244:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,24343))),245:Ze.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,21589))),246:Ze.lazy(()=>__webpack_require__.e(9590).then(__webpack_require__.bind(__webpack_require__,85666))),247:Ze.lazy(()=>__webpack_require__.e(2076).then(__webpack_require__.bind(__webpack_require__,17778))),248:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(4849)]).then(__webpack_require__.bind(__webpack_require__,60053))),249:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__,97606))),250:Ze.lazy(()=>__webpack_require__.e(5191).then(__webpack_require__.bind(__webpack_require__,34315))),251:Ze.lazy(()=>__webpack_require__.e(3496).then(__webpack_require__.bind(__webpack_require__,70988))),252:Ze.lazy(()=>__webpack_require__.e(7948).then(__webpack_require__.bind(__webpack_require__,15038))),253:Ze.lazy(()=>__webpack_require__.e(9519).then(__webpack_require__.bind(__webpack_require__,44202))),254:Ze.lazy(()=>__webpack_require__.e(5599).then(__webpack_require__.bind(__webpack_require__,95839))),255:Ze.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,18856))),256:Ze.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,58543))),257:Ze.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,18002))),258:Ze.lazy(()=>__webpack_require__.e(265).then(__webpack_require__.bind(__webpack_require__,67799))),259:Ze.lazy(()=>__webpack_require__.e(9360).then(__webpack_require__.bind(__webpack_require__,79119))),260:Ze.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,34830))),261:Ze.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,18736))),262:Ze.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,69479))),263:Ze.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,64455))),264:Ze.lazy(()=>__webpack_require__.e(988).then(__webpack_require__.bind(__webpack_require__,10988))),265:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),266:Ze.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,31288))),267:Ze.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,94478))),268:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,6858))),269:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,6858))),270:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,20110))),271:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,20110))),272:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,65892))),273:Ze.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,29616))),274:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,56858))),275:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,56858))),276:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),277:Ze.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,53904))),278:Ze.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,16730))),279:Ze.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,43155))),280:Ze.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,70019))),281:Ze.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,9759))),282:Ze.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,59272))),283:Ze.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,43196))),284:Ze.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,3402))),285:Ze.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,15625))),286:Ze.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,84148))),287:Ze.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,31935))),288:Ze.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,10706))),289:Ze.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,4953))),290:Ze.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,89374))),291:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,43316))),292:Ze.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,59007))),293:Ze.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,16843))),294:Ze.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,26550))),295:Ze.lazy(()=>__webpack_require__.e(988).then(__webpack_require__.bind(__webpack_require__,10988))),296:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),297:Ze.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,4829))),298:Ze.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,12505))),299:Ze.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,69852))),300:Ze.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,99231))),301:Ze.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,85950))),302:Ze.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,53503))),303:Ze.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,77498))),304:Ze.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,7645))),305:Ze.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,59321))),306:Ze.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,59321))),307:Ze.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,1163))),308:Ze.lazy(()=>__webpack_require__.e(988).then(__webpack_require__.bind(__webpack_require__,10988))),309:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6411),__webpack_require__.e(8432),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,32551))),310:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,32869))),311:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6411),__webpack_require__.e(8432),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,32551))),312:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,32869))),313:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6411),__webpack_require__.e(8432),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,32551))),314:Ze.lazy(()=>__webpack_require__.e(988).then(__webpack_require__.bind(__webpack_require__,10988))),315:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,19875))),316:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,32402))),317:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),318:Ze.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,80006))),319:Ze.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,28667))),320:Ze.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,48124))),321:Ze.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,4207))),322:Ze.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,77404))),323:Ze.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,79392))),324:Ze.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,52790))),325:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),326:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,95527))),327:Ze.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,83312))),328:Ze.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,83312))),329:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),330:Ze.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,5849))),331:Ze.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,55707))),332:Ze.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,46719))),333:Ze.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,45105))),334:Ze.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,83773))),335:Ze.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,42879))),336:Ze.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,33544))),337:Ze.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,40452))),338:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),339:Ze.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,51009))),340:Ze.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,41019))),341:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,67978))),342:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),343:Ze.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,95386))),344:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,74096))),345:Ze.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,81041))),346:Ze.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,25343))),347:Ze.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,21887))),348:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,28537))),349:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,28537))),350:Ze.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,80435))),351:Ze.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,5353))),352:Ze.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,59732))),353:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,68814))),354:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,77475))),355:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,77475))),356:Ze.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,49556))),357:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,34247))),358:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,69013))),359:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,33007))),360:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,33007))),361:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,51386))),362:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,61138))),363:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,61138))),364:Ze.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,69019))),365:Ze.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,46832))),366:Ze.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,34781))),367:Ze.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,43460))),368:Ze.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,51592))),369:Ze.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,91142))),370:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,74096))),371:Ze.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,27689))),372:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),373:Ze.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,95386))),374:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,74096))),375:Ze.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,81041))),376:Ze.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,25343))),377:Ze.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,21887))),378:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,28537))),379:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,28537))),380:Ze.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,80435))),381:Ze.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,5353))),382:Ze.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,59732))),383:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,68814))),384:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,77475))),385:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,77475))),386:Ze.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,49556))),387:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,34247))),388:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,69013))),389:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,33007))),390:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,33007))),391:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,51386))),392:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,61138))),393:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,61138))),394:Ze.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,69019))),395:Ze.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,46832))),396:Ze.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,34781))),397:Ze.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,43460))),398:Ze.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,51592))),399:Ze.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,91142))),400:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,74096))),401:Ze.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,27689))),402:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),403:Ze.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,41201))),404:Ze.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,60086))),405:Ze.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,91784))),406:Ze.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,29217))),407:Ze.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,99163))),408:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),409:Ze.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,77484))),410:Ze.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,17387))),411:Ze.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,3314))),412:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,24965))),413:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,52390))),414:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,29316))),415:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,87724))),416:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,3842))),417:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,3842))),418:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,3842))),419:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,3842))),420:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,3842))),421:Ze.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,80022))),422:Ze.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,59901))),423:Ze.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,59901))),424:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,22768))),425:Ze.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,34612))),426:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),427:Ze.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,96895))),428:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,85860))),429:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),430:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6411),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,48592))),431:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,37294))),432:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),433:Ze.lazy(()=>__webpack_require__.e(570).then(__webpack_require__.bind(__webpack_require__,40308))),434:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),435:Ze.lazy(()=>__webpack_require__.e(8365).then(__webpack_require__.bind(__webpack_require__,5837))),436:Ze.lazy(()=>__webpack_require__.e(672).then(__webpack_require__.bind(__webpack_require__,98202))),437:Ze.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,2470))),438:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),439:Ze.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,29322))),440:Ze.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,33695))),441:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),442:Ze.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,12316))),443:Ze.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,54704))),444:Ze.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,39555))),445:Ze.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,23192))),446:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,59537))),447:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,16447))),448:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,62010))),449:Ze.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,44463))),450:Ze.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,96496))),451:Ze.lazy(()=>__webpack_require__.e(5972).then(__webpack_require__.bind(__webpack_require__,78071))),452:Ze.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,96496))),453:Ze.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,74762))),454:Ze.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,87810))),455:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),456:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,28055))),457:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),458:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,71381))),459:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),460:Ze.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,25268))),461:Ze.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,62417))),462:Ze.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,61999))),463:Ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,76238))),464:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4984),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,306))),465:Ze.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,70198))),466:Ze.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,7770))),467:Ze.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,10822))),468:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,7469))),469:Ze.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,75133))),470:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,7469))),471:Ze.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,80957))),472:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,33407))),473:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,33407))),474:Ze.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,88524))),475:Ze.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,96076))),476:Ze.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,51342))),477:Ze.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,5766))),478:Ze.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,66288))),479:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,47923))),480:Ze.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,87978))),481:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,7735))),482:Ze.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,46156))),483:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,47923))),484:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,47923))),485:Ze.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,58370))),486:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,23041))),487:Ze.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,23843))),488:Ze.lazy(()=>Promise.all([__webpack_require__.e(7227),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,87616))),489:Ze.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,5766))),"@@/global-layout":Ze.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,31246)))}}})}var I=__webpack_require__(74598),O=__webpack_require__(65711),k=__webpack_require__(71418),me=__webpack_require__(43515),Re=()=>Ze.createElement(k.Z,{size:"middle",className:me.Z.loading}),tn=__webpack_require__(44993),jn=__webpack_require__(61186),hn=__webpack_require__.n(jn),Di=__webpack_require__(91392),Ha=__webpack_require__.n(Di),Oa=__webpack_require__(34749),Ao=__webpack_require__.n(Oa),Ma=__webpack_require__(19277),io=__webpack_require__.n(Ma),ys=__webpack_require__(10238),kc=__webpack_require__.n(ys),Jl=__webpack_require__(33656),ec=__webpack_require__.n(Jl),bc=__webpack_require__(90111),Nu=__webpack_require__.n(bc),Oi=__webpack_require__(74959),tc=__webpack_require__.n(Oi),Rl=__webpack_require__(23250),Ro=__webpack_require__.n(Rl),Ws=__webpack_require__(58862),Ja=__webpack_require__.n(Ws),al=__webpack_require__(58319),sl=__webpack_require__.n(al),bl=__webpack_require__(62053),xl=__webpack_require__.n(bl),ol=__webpack_require__(47477),Xc=__webpack_require__.n(ol),Rc=__webpack_require__(59717),Vu=__webpack_require__.n(Rc);hn().extend(Ao()),hn().extend(io()),hn().extend(kc()),hn().extend(ec()),hn().extend(Nu()),hn().extend(tc()),hn().extend(Ro()),hn().extend(Ja()),hn().extend(sl()),hn().extend(xl()),hn().extend(Xc()),hn().extend(Vu()),hn().extend(Ha());var Qc=Object.defineProperty,Ll=Object.getOwnPropertySymbols,qc=Object.prototype.hasOwnProperty,hu=Object.prototype.propertyIsEnumerable,$u=(Tn,Kn,Ni)=>Kn in Tn?Qc(Tn,Kn,{enumerable:!0,configurable:!0,writable:!0,value:Ni}):Tn[Kn]=Ni,El=(Tn,Kn)=>{for(var Ni in Kn||(Kn={}))qc.call(Kn,Ni)&&$u(Tn,Ni,Kn[Ni]);if(Ll)for(var Ni of Ll(Kn))hu.call(Kn,Ni)&&$u(Tn,Ni,Kn[Ni]);return Tn},rc=(Tn,Kn,Ni)=>new Promise((Ea,Zi)=>{var ua=Ki=>{try{vs(Ni.next(Ki))}catch(es){Zi(es)}},ha=Ki=>{try{vs(Ni.throw(Ki))}catch(es){Zi(es)}},vs=Ki=>Ki.done?Ea(Ki.value):Promise.resolve(Ki.value).then(ua,ha);vs((Ni=Ni.apply(Tn,Kn)).next())});const Cu="/react/build/",nc=!1;function Ml(){return rc(this,null,function*(){const Tn=(0,I.gD)(),{routes:Kn,routeComponents:Ni}=yield Oc(Tn);yield Tn.applyPlugins({key:"patchRoutes",type:tn.ApplyPluginsType.event,args:{routes:Kn,routeComponents:Ni}});const Ea=Tn.applyPlugins({key:"modifyContextOpts",type:tn.ApplyPluginsType.modify,initialValue:{}}),Zi=Ea.basename||"/",ua=Ea.historyType||"browser",ha=(0,O.fi)(El({type:ua,basename:Zi},Ea.historyOpts));return Tn.applyPlugins({key:"render",type:tn.ApplyPluginsType.compose,initialValue(){const vs={useStream:!0,routes:Kn,routeComponents:Ni,pluginManager:Tn,mountElementId:"root",rootElement:Ea.rootElement||document.getElementById("root"),loadingComponent:Re,publicPath:Cu,runtimePublicPath:nc,history:ha,historyType:ua,basename:Zi,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:Ea.callback},Ki=Tn.applyPlugins({key:"modifyClientRenderOpts",type:tn.ApplyPluginsType.modify,initialValue:vs});return gc(Ki)}})()})}Ml(),typeof window!="undefined"&&(window.g_umi={version:"4.4.10"})})()})();