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

276 lines
1.1 MiB

!(function(){var Hu=Object.defineProperty,ju=Object.defineProperties;var Gu=Object.getOwnPropertyDescriptors;var iu=Object.getOwnPropertySymbols;var Du=Object.prototype.hasOwnProperty,Bu=Object.prototype.propertyIsEnumerable;var yu=Math.pow,Fu=(Ct,Pt,te)=>Pt in Ct?Hu(Ct,Pt,{enumerable:!0,configurable:!0,writable:!0,value:te}):Ct[Pt]=te,_r=(Ct,Pt)=>{for(var te in Pt||(Pt={}))Du.call(Pt,te)&&Fu(Ct,te,Pt[te]);if(iu)for(var te of iu(Pt))Bu.call(Pt,te)&&Fu(Ct,te,Pt[te]);return Ct},li=(Ct,Pt)=>ju(Ct,Gu(Pt));var lu=(Ct,Pt)=>{var te={};for(var z in Ct)Du.call(Ct,z)&&Pt.indexOf(z)<0&&(te[z]=Ct[z]);if(Ct!=null&&iu)for(var z of iu(Ct))Pt.indexOf(z)<0&&Bu.call(Ct,z)&&(te[z]=Ct[z]);return te};var Au=(Ct,Pt,te)=>new Promise((z,se)=>{var he=Ne=>{try{be(te.next(Ne))}catch(ie){se(ie)}},Ie=Ne=>{try{be(te.throw(Ne))}catch(ie){se(ie)}},be=Ne=>Ne.done?z(Ne.value):Promise.resolve(Ne.value).then(he,Ie);be((te=te.apply(Ct,Pt)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[3951],{27812:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return nt}});var z=te(60499),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},89489:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return nt}});var z=te(60499),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},59477:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return nt}});var z=te(60499),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},26227:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return nt}});var z=te(60499),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},67921:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return nt}});var z=te(60499),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},49198:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return nt}});var z=te(60499),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},41464:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return nt}});var z=te(60499),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},87169:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return nt}});var z=te(60499),se=te(59301),he={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"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},52671:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return nt}});var z=te(60499),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},8657:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return nt}});var z=te(60499),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},56082:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return nt}});var z=te(60499),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},33853:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return nt}});var z=te(60499),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},12893:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return nt}});var z=te(60499),se=te(59301),he={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"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},15075:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return nt}});var z=te(60499),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},32134:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return nt}});var z=te(60499),se=te(59301),he={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"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},43531:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return nt}});var z=te(60499),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},38819:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return nt}});var z=te(60499),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},87954:function(Ct,Pt,te){"use strict";te.d(Pt,{LB:function(){return Mo},g4:function(){return ut},we:function(){return dt},pE:function(){return fe},VK:function(){return vt},Cj:function(){return jr},O1:function(){return pa},Zj:function(){return po},VT:function(){return y}});var z=te(59301),se=te(4676),he=te(35241);const Ie={display:"none"};function be(Ce){let{id:Te,value:Qe}=Ce;return z.createElement("div",{id:Te,style:Ie},Qe)}function Ne(Ce){let{id:Te,announcement:Qe,ariaLiveType:Et="assertive"}=Ce;const Yt={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return z.createElement("div",{id:Te,style:Yt,role:"status","aria-live":Et,"aria-atomic":!0},Qe)}function ie(){const[Ce,Te]=(0,z.useState)("");return{announce:(0,z.useCallback)(Et=>{Et!=null&&Te(Et)},[]),announcement:Ce}}const nt=(0,z.createContext)(null);function je(Ce){const Te=(0,z.useContext)(nt);(0,z.useEffect)(()=>{if(!Te)throw new Error("useDndMonitor must be used within a children of <DndContext>");return Te(Ce)},[Ce,Te])}function Ze(){const[Ce]=(0,z.useState)(()=>new Set),Te=(0,z.useCallback)(Et=>(Ce.add(Et),()=>Ce.delete(Et)),[Ce]);return[(0,z.useCallback)(Et=>{let{type:Yt,event:Jt}=Et;Ce.forEach(bn=>{var Fn;return(Fn=bn[Yt])==null?void 0:Fn.call(bn,Jt)})},[Ce]),Te]}const ze={draggable:`
To pick up a draggable item, press the space bar.
While dragging, use the arrow keys to move the item.
Press space again to drop the item in its new position, or press escape to cancel.
`},Me={onDragStart(Ce){let{active:Te}=Ce;return"Picked up draggable item "+Te.id+"."},onDragOver(Ce){let{active:Te,over:Qe}=Ce;return Qe?"Draggable item "+Te.id+" was moved over droppable area "+Qe.id+".":"Draggable item "+Te.id+" is no longer over a droppable area."},onDragEnd(Ce){let{active:Te,over:Qe}=Ce;return Qe?"Draggable item "+Te.id+" was dropped over droppable area "+Qe.id:"Draggable item "+Te.id+" was dropped."},onDragCancel(Ce){let{active:Te}=Ce;return"Dragging was cancelled. Draggable item "+Te.id+" was dropped."}};function ye(Ce){let{announcements:Te=Me,container:Qe,hiddenTextDescribedById:Et,screenReaderInstructions:Yt=ze}=Ce;const{announce:Jt,announcement:bn}=ie(),Fn=(0,he.Ld)("DndLiveRegion"),[Yn,Pa]=(0,z.useState)(!1);if((0,z.useEffect)(()=>{Pa(!0)},[]),je((0,z.useMemo)(()=>({onDragStart(ga){let{active:Or}=ga;Jt(Te.onDragStart({active:Or}))},onDragMove(ga){let{active:Or,over:Mr}=ga;Te.onDragMove&&Jt(Te.onDragMove({active:Or,over:Mr}))},onDragOver(ga){let{active:Or,over:Mr}=ga;Jt(Te.onDragOver({active:Or,over:Mr}))},onDragEnd(ga){let{active:Or,over:Mr}=ga;Jt(Te.onDragEnd({active:Or,over:Mr}))},onDragCancel(ga){let{active:Or,over:Mr}=ga;Jt(Te.onDragCancel({active:Or,over:Mr}))}}),[Jt,Te])),!Yn)return null;const Ca=z.createElement(z.Fragment,null,z.createElement(be,{id:Et,value:Yt.draggable}),z.createElement(Ne,{id:Fn,announcement:bn}));return Qe?(0,se.createPortal)(Ca,Qe):Ca}var re;(function(Ce){Ce.DragStart="dragStart",Ce.DragMove="dragMove",Ce.DragEnd="dragEnd",Ce.DragCancel="dragCancel",Ce.DragOver="dragOver",Ce.RegisterDroppable="registerDroppable",Ce.SetDroppableDisabled="setDroppableDisabled",Ce.UnregisterDroppable="unregisterDroppable"})(re||(re={}));function a(){}function y(Ce,Te){return(0,z.useMemo)(()=>({sensor:Ce,options:Te!=null?Te:{}}),[Ce,Te])}function b(){for(var Ce=arguments.length,Te=new Array(Ce),Qe=0;Qe<Ce;Qe++)Te[Qe]=arguments[Qe];return useMemo(()=>[...Te].filter(Et=>Et!=null),[...Te])}const E=Object.freeze({x:0,y:0});function x(Ce,Te){return Math.sqrt(Math.pow(Ce.x-Te.x,2)+Math.pow(Ce.y-Te.y,2))}function ee(Ce,Te){const Qe=getEventCoordinates(Ce);if(!Qe)return"0 0";const Et={x:(Qe.x-Te.left)/Te.width*100,y:(Qe.y-Te.top)/Te.height*100};return Et.x+"% "+Et.y+"%"}function ne(Ce,Te){let{data:{value:Qe}}=Ce,{data:{value:Et}}=Te;return Qe-Et}function oe(Ce,Te){let{data:{value:Qe}}=Ce,{data:{value:Et}}=Te;return Et-Qe}function ae(Ce){let{left:Te,top:Qe,height:Et,width:Yt}=Ce;return[{x:Te,y:Qe},{x:Te+Yt,y:Qe},{x:Te,y:Qe+Et},{x:Te+Yt,y:Qe+Et}]}function ue(Ce,Te){if(!Ce||Ce.length===0)return null;const[Qe]=Ce;return Te?Qe[Te]:Qe}function me(Ce,Te,Qe){return Te===void 0&&(Te=Ce.left),Qe===void 0&&(Qe=Ce.top),{x:Te+Ce.width*.5,y:Qe+Ce.height*.5}}const fe=Ce=>{let{collisionRect:Te,droppableRects:Qe,droppableContainers:Et}=Ce;const Yt=me(Te,Te.left,Te.top),Jt=[];for(const bn of Et){const{id:Fn}=bn,Yn=Qe.get(Fn);if(Yn){const Pa=x(me(Yn),Yt);Jt.push({id:Fn,data:{droppableContainer:bn,value:Pa}})}}return Jt.sort(ne)},Pe=Ce=>{let{collisionRect:Te,droppableRects:Qe,droppableContainers:Et}=Ce;const Yt=ae(Te),Jt=[];for(const bn of Et){const{id:Fn}=bn,Yn=Qe.get(Fn);if(Yn){const Pa=ae(Yn),Ca=Yt.reduce((Or,Mr,Ro)=>Or+x(Pa[Ro],Mr),0),ga=Number((Ca/4).toFixed(4));Jt.push({id:Fn,data:{droppableContainer:bn,value:ga}})}}return Jt.sort(ne)};function xe(Ce,Te){const Qe=Math.max(Te.top,Ce.top),Et=Math.max(Te.left,Ce.left),Yt=Math.min(Te.left+Te.width,Ce.left+Ce.width),Jt=Math.min(Te.top+Te.height,Ce.top+Ce.height),bn=Yt-Et,Fn=Jt-Qe;if(Et<Yt&&Qe<Jt){const Yn=Te.width*Te.height,Pa=Ce.width*Ce.height,Ca=bn*Fn,ga=Ca/(Yn+Pa-Ca);return Number(ga.toFixed(4))}return 0}const Ee=Ce=>{let{collisionRect:Te,droppableRects:Qe,droppableContainers:Et}=Ce;const Yt=[];for(const Jt of Et){const{id:bn}=Jt,Fn=Qe.get(bn);if(Fn){const Yn=xe(Fn,Te);Yn>0&&Yt.push({id:bn,data:{droppableContainer:Jt,value:Yn}})}}return Yt.sort(oe)};function De(Ce,Te){const{top:Qe,left:Et,bottom:Yt,right:Jt}=Te;return Qe<=Ce.y&&Ce.y<=Yt&&Et<=Ce.x&&Ce.x<=Jt}const _e=Ce=>{let{droppableContainers:Te,droppableRects:Qe,pointerCoordinates:Et}=Ce;if(!Et)return[];const Yt=[];for(const Jt of Te){const{id:bn}=Jt,Fn=Qe.get(bn);if(Fn&&De(Et,Fn)){const Pa=ae(Fn).reduce((ga,Or)=>ga+x(Et,Or),0),Ca=Number((Pa/4).toFixed(4));Yt.push({id:bn,data:{droppableContainer:Jt,value:Ca}})}}return Yt.sort(ne)};function pt(Ce,Te,Qe){return li(_r({},Ce),{scaleX:Te&&Qe?Te.width/Qe.width:1,scaleY:Te&&Qe?Te.height/Qe.height:1})}function Be(Ce,Te){return Ce&&Te?{x:Ce.left-Te.left,y:Ce.top-Te.top}:E}function $e(Ce){return function(Qe){for(var Et=arguments.length,Yt=new Array(Et>1?Et-1:0),Jt=1;Jt<Et;Jt++)Yt[Jt-1]=arguments[Jt];return Yt.reduce((bn,Fn)=>li(_r({},bn),{top:bn.top+Ce*Fn.y,bottom:bn.bottom+Ce*Fn.y,left:bn.left+Ce*Fn.x,right:bn.right+Ce*Fn.x}),_r({},Qe))}}const Ke=$e(1);function Ve(Ce){if(Ce.startsWith("matrix3d(")){const Te=Ce.slice(9,-1).split(/, /);return{x:+Te[12],y:+Te[13],scaleX:+Te[0],scaleY:+Te[5]}}else if(Ce.startsWith("matrix(")){const Te=Ce.slice(7,-1).split(/, /);return{x:+Te[4],y:+Te[5],scaleX:+Te[0],scaleY:+Te[3]}}return null}function it(Ce,Te,Qe){const Et=Ve(Te);if(!Et)return Ce;const{scaleX:Yt,scaleY:Jt,x:bn,y:Fn}=Et,Yn=Ce.left-bn-(1-Yt)*parseFloat(Qe),Pa=Ce.top-Fn-(1-Jt)*parseFloat(Qe.slice(Qe.indexOf(" ")+1)),Ca=Yt?Ce.width/Yt:Ce.width,ga=Jt?Ce.height/Jt:Ce.height;return{width:Ca,height:ga,top:Pa,right:Yn+Ca,bottom:Pa+ga,left:Yn}}const rt={ignoreTransform:!1};function vt(Ce,Te){Te===void 0&&(Te=rt);let Qe=Ce.getBoundingClientRect();if(Te.ignoreTransform){const{transform:Pa,transformOrigin:Ca}=(0,he.Jj)(Ce).getComputedStyle(Ce);Pa&&(Qe=it(Qe,Pa,Ca))}const{top:Et,left:Yt,width:Jt,height:bn,bottom:Fn,right:Yn}=Qe;return{top:Et,left:Yt,width:Jt,height:bn,bottom:Fn,right:Yn}}function Rt(Ce){return vt(Ce,{ignoreTransform:!0})}function $t(Ce){const Te=Ce.innerWidth,Qe=Ce.innerHeight;return{top:0,left:0,right:Te,bottom:Qe,width:Te,height:Qe}}function Je(Ce,Te){return Te===void 0&&(Te=(0,he.Jj)(Ce).getComputedStyle(Ce)),Te.position==="fixed"}function st(Ce,Te){Te===void 0&&(Te=(0,he.Jj)(Ce).getComputedStyle(Ce));const Qe=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(Yt=>{const Jt=Te[Yt];return typeof Jt=="string"?Qe.test(Jt):!1})}function At(Ce,Te){const Qe=[];function Et(Yt){if(Te!=null&&Qe.length>=Te||!Yt)return Qe;if((0,he.qk)(Yt)&&Yt.scrollingElement!=null&&!Qe.includes(Yt.scrollingElement))return Qe.push(Yt.scrollingElement),Qe;if(!(0,he.Re)(Yt)||(0,he.vZ)(Yt)||Qe.includes(Yt))return Qe;const Jt=(0,he.Jj)(Ce).getComputedStyle(Yt);return Yt!==Ce&&st(Yt,Jt)&&Qe.push(Yt),Je(Yt,Jt)?Qe:Et(Yt.parentNode)}return Ce?Et(Ce):Qe}function Nt(Ce){const[Te]=At(Ce,1);return Te!=null?Te:null}function St(Ce){return!he.Nq||!Ce?null:(0,he.FJ)(Ce)?Ce:(0,he.UG)(Ce)?(0,he.qk)(Ce)||Ce===(0,he.r3)(Ce).scrollingElement?window:(0,he.Re)(Ce)?Ce:null:null}function sn(Ce){return(0,he.FJ)(Ce)?Ce.scrollX:Ce.scrollLeft}function Fe(Ce){return(0,he.FJ)(Ce)?Ce.scrollY:Ce.scrollTop}function Qt(Ce){return{x:sn(Ce),y:Fe(Ce)}}var Gt;(function(Ce){Ce[Ce.Forward=1]="Forward",Ce[Ce.Backward=-1]="Backward"})(Gt||(Gt={}));function Hn(Ce){return!he.Nq||!Ce?!1:Ce===document.scrollingElement}function Jn(Ce){const Te={x:0,y:0},Qe=Hn(Ce)?{height:window.innerHeight,width:window.innerWidth}:{height:Ce.clientHeight,width:Ce.clientWidth},Et={x:Ce.scrollWidth-Qe.width,y:Ce.scrollHeight-Qe.height},Yt=Ce.scrollTop<=Te.y,Jt=Ce.scrollLeft<=Te.x,bn=Ce.scrollTop>=Et.y,Fn=Ce.scrollLeft>=Et.x;return{isTop:Yt,isLeft:Jt,isBottom:bn,isRight:Fn,maxScroll:Et,minScroll:Te}}const Re={x:.2,y:.2};function qe(Ce,Te,Qe,Et,Yt){let{top:Jt,left:bn,right:Fn,bottom:Yn}=Qe;Et===void 0&&(Et=10),Yt===void 0&&(Yt=Re);const{isTop:Pa,isBottom:Ca,isLeft:ga,isRight:Or}=Jn(Ce),Mr={x:0,y:0},Ro={x:0,y:0},Ur={height:Te.height*Yt.y,width:Te.width*Yt.x};return!Pa&&Jt<=Te.top+Ur.height?(Mr.y=Gt.Backward,Ro.y=Et*Math.abs((Te.top+Ur.height-Jt)/Ur.height)):!Ca&&Yn>=Te.bottom-Ur.height&&(Mr.y=Gt.Forward,Ro.y=Et*Math.abs((Te.bottom-Ur.height-Yn)/Ur.height)),!Or&&Fn>=Te.right-Ur.width?(Mr.x=Gt.Forward,Ro.x=Et*Math.abs((Te.right-Ur.width-Fn)/Ur.width)):!ga&&bn<=Te.left+Ur.width&&(Mr.x=Gt.Backward,Ro.x=Et*Math.abs((Te.left+Ur.width-bn)/Ur.width)),{direction:Mr,speed:Ro}}function tt(Ce){if(Ce===document.scrollingElement){const{innerWidth:Jt,innerHeight:bn}=window;return{top:0,left:0,right:Jt,bottom:bn,width:Jt,height:bn}}const{top:Te,left:Qe,right:Et,bottom:Yt}=Ce.getBoundingClientRect();return{top:Te,left:Qe,right:Et,bottom:Yt,width:Ce.clientWidth,height:Ce.clientHeight}}function Le(Ce){return Ce.reduce((Te,Qe)=>(0,he.IH)(Te,Qt(Qe)),E)}function ft(Ce){return Ce.reduce((Te,Qe)=>Te+sn(Qe),0)}function gt(Ce){return Ce.reduce((Te,Qe)=>Te+Fe(Qe),0)}function Oe(Ce,Te){if(Te===void 0&&(Te=vt),!Ce)return;const{top:Qe,left:Et,bottom:Yt,right:Jt}=Te(Ce);Nt(Ce)&&(Yt<=0||Jt<=0||Qe>=window.innerHeight||Et>=window.innerWidth)&&Ce.scrollIntoView({block:"center",inline:"center"})}const ve=[["x",["left","right"],ft],["y",["top","bottom"],gt]];class Ge{constructor(Te,Qe){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const Et=At(Qe),Yt=Le(Et);this.rect=_r({},Te),this.width=Te.width,this.height=Te.height;for(const[Jt,bn,Fn]of ve)for(const Yn of bn)Object.defineProperty(this,Yn,{get:()=>{const Pa=Fn(Et),Ca=Yt[Jt]-Pa;return this.rect[Yn]+Ca},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class We{constructor(Te){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(Qe=>{var Et;return(Et=this.target)==null?void 0:Et.removeEventListener(...Qe)})},this.target=Te}add(Te,Qe,Et){var Yt;(Yt=this.target)==null||Yt.addEventListener(Te,Qe,Et),this.listeners.push([Te,Qe,Et])}}function we(Ce){const{EventTarget:Te}=(0,he.Jj)(Ce);return Ce instanceof Te?Ce:(0,he.r3)(Ce)}function mt(Ce,Te){const Qe=Math.abs(Ce.x),Et=Math.abs(Ce.y);return typeof Te=="number"?Math.sqrt(yu(Qe,2)+yu(Et,2))>Te:"x"in Te&&"y"in Te?Qe>Te.x&&Et>Te.y:"x"in Te?Qe>Te.x:"y"in Te?Et>Te.y:!1}var et;(function(Ce){Ce.Click="click",Ce.DragStart="dragstart",Ce.Keydown="keydown",Ce.ContextMenu="contextmenu",Ce.Resize="resize",Ce.SelectionChange="selectionchange",Ce.VisibilityChange="visibilitychange"})(et||(et={}));function Ht(Ce){Ce.preventDefault()}function Se(Ce){Ce.stopPropagation()}var ut;(function(Ce){Ce.Space="Space",Ce.Down="ArrowDown",Ce.Right="ArrowRight",Ce.Left="ArrowLeft",Ce.Up="ArrowUp",Ce.Esc="Escape",Ce.Enter="Enter",Ce.Tab="Tab"})(ut||(ut={}));const xt={start:[ut.Space,ut.Enter],cancel:[ut.Esc],end:[ut.Space,ut.Enter,ut.Tab]},Ae=(Ce,Te)=>{let{currentCoordinates:Qe}=Te;switch(Ce.code){case ut.Right:return li(_r({},Qe),{x:Qe.x+25});case ut.Left:return li(_r({},Qe),{x:Qe.x-25});case ut.Down:return li(_r({},Qe),{y:Qe.y+25});case ut.Up:return li(_r({},Qe),{y:Qe.y-25})}};class He{constructor(Te){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=Te;const{event:{target:Qe}}=Te;this.props=Te,this.listeners=new We((0,he.r3)(Qe)),this.windowListeners=new We((0,he.Jj)(Qe)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(et.Resize,this.handleCancel),this.windowListeners.add(et.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(et.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:Te,onStart:Qe}=this.props,Et=Te.node.current;Et&&Oe(Et),Qe(E)}handleKeyDown(Te){if((0,he.vd)(Te)){const{active:Qe,context:Et,options:Yt}=this.props,{keyboardCodes:Jt=xt,coordinateGetter:bn=Ae,scrollBehavior:Fn="smooth"}=Yt,{code:Yn}=Te;if(Jt.end.includes(Yn)){this.handleEnd(Te);return}if(Jt.cancel.includes(Yn)){this.handleCancel(Te);return}const{collisionRect:Pa}=Et.current,Ca=Pa?{x:Pa.left,y:Pa.top}:E;this.referenceCoordinates||(this.referenceCoordinates=Ca);const ga=bn(Te,{active:Qe,context:Et.current,currentCoordinates:Ca});if(ga){const Or=(0,he.$X)(ga,Ca),Mr={x:0,y:0},{scrollableAncestors:Ro}=Et.current;for(const Ur of Ro){const la=Te.code,{isTop:$n,isRight:oa,isLeft:ra,isBottom:Nr,maxScroll:Zr,minScroll:hr}=Jn(Ur),xr=tt(Ur),kr={x:Math.min(la===ut.Right?xr.right-xr.width/2:xr.right,Math.max(la===ut.Right?xr.left:xr.left+xr.width/2,ga.x)),y:Math.min(la===ut.Down?xr.bottom-xr.height/2:xr.bottom,Math.max(la===ut.Down?xr.top:xr.top+xr.height/2,ga.y))},ho=la===ut.Right&&!oa||la===ut.Left&&!ra,ti=la===ut.Down&&!Nr||la===ut.Up&&!$n;if(ho&&kr.x!==ga.x){const yo=Ur.scrollLeft+Or.x,Rr=la===ut.Right&&yo<=Zr.x||la===ut.Left&&yo>=hr.x;if(Rr&&!Or.y){Ur.scrollTo({left:yo,behavior:Fn});return}Rr?Mr.x=Ur.scrollLeft-yo:Mr.x=la===ut.Right?Ur.scrollLeft-Zr.x:Ur.scrollLeft-hr.x,Mr.x&&Ur.scrollBy({left:-Mr.x,behavior:Fn});break}else if(ti&&kr.y!==ga.y){const yo=Ur.scrollTop+Or.y,Rr=la===ut.Down&&yo<=Zr.y||la===ut.Up&&yo>=hr.y;if(Rr&&!Or.x){Ur.scrollTo({top:yo,behavior:Fn});return}Rr?Mr.y=Ur.scrollTop-yo:Mr.y=la===ut.Down?Ur.scrollTop-Zr.y:Ur.scrollTop-hr.y,Mr.y&&Ur.scrollBy({top:-Mr.y,behavior:Fn});break}}this.handleMove(Te,(0,he.IH)((0,he.$X)(ga,this.referenceCoordinates),Mr))}}}handleMove(Te,Qe){const{onMove:Et}=this.props;Te.preventDefault(),Et(Qe)}handleEnd(Te){const{onEnd:Qe}=this.props;Te.preventDefault(),this.detach(),Qe()}handleCancel(Te){const{onCancel:Qe}=this.props;Te.preventDefault(),this.detach(),Qe()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}He.activators=[{eventName:"onKeyDown",handler:(Ce,Te,Qe)=>{let{keyboardCodes:Et=xt,onActivation:Yt}=Te,{active:Jt}=Qe;const{code:bn}=Ce.nativeEvent;if(Et.start.includes(bn)){const Fn=Jt.activatorNode.current;return Fn&&Ce.target!==Fn?!1:(Ce.preventDefault(),Yt==null||Yt({event:Ce.nativeEvent}),!0)}return!1}}];function ct(Ce){return!!(Ce&&"distance"in Ce)}function wt(Ce){return!!(Ce&&"delay"in Ce)}class Zt{constructor(Te,Qe,Et){var Yt;Et===void 0&&(Et=we(Te.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=Te,this.events=Qe;const{event:Jt}=Te,{target:bn}=Jt;this.props=Te,this.events=Qe,this.document=(0,he.r3)(bn),this.documentListeners=new We(this.document),this.listeners=new We(Et),this.windowListeners=new We((0,he.Jj)(bn)),this.initialCoordinates=(Yt=(0,he.DC)(Jt))!=null?Yt:E,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:Te,props:{options:{activationConstraint:Qe,bypassActivationConstraint:Et}}}=this;if(this.listeners.add(Te.move.name,this.handleMove,{passive:!1}),this.listeners.add(Te.end.name,this.handleEnd),Te.cancel&&this.listeners.add(Te.cancel.name,this.handleCancel),this.windowListeners.add(et.Resize,this.handleCancel),this.windowListeners.add(et.DragStart,Ht),this.windowListeners.add(et.VisibilityChange,this.handleCancel),this.windowListeners.add(et.ContextMenu,Ht),this.documentListeners.add(et.Keydown,this.handleKeydown),Qe){if(Et!=null&&Et({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(wt(Qe)){this.timeoutId=setTimeout(this.handleStart,Qe.delay),this.handlePending(Qe);return}if(ct(Qe)){this.handlePending(Qe);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(Te,Qe){const{active:Et,onPending:Yt}=this.props;Yt(Et,Te,this.initialCoordinates,Qe)}handleStart(){const{initialCoordinates:Te}=this,{onStart:Qe}=this.props;Te&&(this.activated=!0,this.documentListeners.add(et.Click,Se,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(et.SelectionChange,this.removeTextSelection),Qe(Te))}handleMove(Te){var Qe;const{activated:Et,initialCoordinates:Yt,props:Jt}=this,{onMove:bn,options:{activationConstraint:Fn}}=Jt;if(!Yt)return;const Yn=(Qe=(0,he.DC)(Te))!=null?Qe:E,Pa=(0,he.$X)(Yt,Yn);if(!Et&&Fn){if(ct(Fn)){if(Fn.tolerance!=null&&mt(Pa,Fn.tolerance))return this.handleCancel();if(mt(Pa,Fn.distance))return this.handleStart()}if(wt(Fn)&&mt(Pa,Fn.tolerance))return this.handleCancel();this.handlePending(Fn,Pa);return}Te.cancelable&&Te.preventDefault(),bn(Yn)}handleEnd(){const{onAbort:Te,onEnd:Qe}=this.props;this.detach(),this.activated||Te(this.props.active),Qe()}handleCancel(){const{onAbort:Te,onCancel:Qe}=this.props;this.detach(),this.activated||Te(this.props.active),Qe()}handleKeydown(Te){Te.code===ut.Esc&&this.handleCancel()}removeTextSelection(){var Te;(Te=this.document.getSelection())==null||Te.removeAllRanges()}}const mn={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class dt extends Zt{constructor(Te){const{event:Qe}=Te,Et=(0,he.r3)(Qe.target);super(Te,mn,Et)}}dt.activators=[{eventName:"onPointerDown",handler:(Ce,Te)=>{let{nativeEvent:Qe}=Ce,{onActivation:Et}=Te;return!Qe.isPrimary||Qe.button!==0?!1:(Et==null||Et({event:Qe}),!0)}}];const Dt={move:{name:"mousemove"},end:{name:"mouseup"}};var yt;(function(Ce){Ce[Ce.RightClick=2]="RightClick"})(yt||(yt={}));class en extends Zt{constructor(Te){super(Te,Dt,(0,he.r3)(Te.event.target))}}en.activators=[{eventName:"onMouseDown",handler:(Ce,Te)=>{let{nativeEvent:Qe}=Ce,{onActivation:Et}=Te;return Qe.button===yt.RightClick?!1:(Et==null||Et({event:Qe}),!0)}}];const Wt={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class un extends Zt{constructor(Te){super(Te,Wt)}static setup(){return window.addEventListener(Wt.move.name,Te,{capture:!1,passive:!1}),function(){window.removeEventListener(Wt.move.name,Te)};function Te(){}}}un.activators=[{eventName:"onTouchStart",handler:(Ce,Te)=>{let{nativeEvent:Qe}=Ce,{onActivation:Et}=Te;const{touches:Yt}=Qe;return Yt.length>1?!1:(Et==null||Et({event:Qe}),!0)}}];var Vn;(function(Ce){Ce[Ce.Pointer=0]="Pointer",Ce[Ce.DraggableRect=1]="DraggableRect"})(Vn||(Vn={}));var fn;(function(Ce){Ce[Ce.TreeOrder=0]="TreeOrder",Ce[Ce.ReversedTreeOrder=1]="ReversedTreeOrder"})(fn||(fn={}));function an(Ce){let{acceleration:Te,activator:Qe=Vn.Pointer,canScroll:Et,draggingRect:Yt,enabled:Jt,interval:bn=5,order:Fn=fn.TreeOrder,pointerCoordinates:Yn,scrollableAncestors:Pa,scrollableAncestorRects:Ca,delta:ga,threshold:Or}=Ce;const Mr=zt({delta:ga,disabled:!Jt}),[Ro,Ur]=(0,he.Yz)(),la=(0,z.useRef)({x:0,y:0}),$n=(0,z.useRef)({x:0,y:0}),oa=(0,z.useMemo)(()=>{switch(Qe){case Vn.Pointer:return Yn?{top:Yn.y,bottom:Yn.y,left:Yn.x,right:Yn.x}:null;case Vn.DraggableRect:return Yt}},[Qe,Yt,Yn]),ra=(0,z.useRef)(null),Nr=(0,z.useCallback)(()=>{const hr=ra.current;if(!hr)return;const xr=la.current.x*$n.current.x,kr=la.current.y*$n.current.y;hr.scrollBy(xr,kr)},[]),Zr=(0,z.useMemo)(()=>Fn===fn.TreeOrder?[...Pa].reverse():Pa,[Fn,Pa]);(0,z.useEffect)(()=>{if(!Jt||!Pa.length||!oa){Ur();return}for(const hr of Zr){if((Et==null?void 0:Et(hr))===!1)continue;const xr=Pa.indexOf(hr),kr=Ca[xr];if(!kr)continue;const{direction:ho,speed:ti}=qe(hr,kr,oa,Te,Or);for(const yo of["x","y"])Mr[yo][ho[yo]]||(ti[yo]=0,ho[yo]=0);if(ti.x>0||ti.y>0){Ur(),ra.current=hr,Ro(Nr,bn),la.current=ti,$n.current=ho;return}}la.current={x:0,y:0},$n.current={x:0,y:0},Ur()},[Te,Nr,Et,Ur,Jt,bn,JSON.stringify(oa),JSON.stringify(Mr),Ro,Pa,Zr,Ca,JSON.stringify(Or)])}const Un={x:{[Gt.Backward]:!1,[Gt.Forward]:!1},y:{[Gt.Backward]:!1,[Gt.Forward]:!1}};function zt(Ce){let{delta:Te,disabled:Qe}=Ce;const Et=(0,he.D9)(Te);return(0,he.Gj)(Yt=>{if(Qe||!Et||!Yt)return Un;const Jt={x:Math.sign(Te.x-Et.x),y:Math.sign(Te.y-Et.y)};return{x:{[Gt.Backward]:Yt.x[Gt.Backward]||Jt.x===-1,[Gt.Forward]:Yt.x[Gt.Forward]||Jt.x===1},y:{[Gt.Backward]:Yt.y[Gt.Backward]||Jt.y===-1,[Gt.Forward]:Yt.y[Gt.Forward]||Jt.y===1}}},[Qe,Te,Et])}function Tt(Ce,Te){const Qe=Te!=null?Ce.get(Te):void 0,Et=Qe?Qe.node.current:null;return(0,he.Gj)(Yt=>{var Jt;return Te==null?null:(Jt=Et!=null?Et:Yt)!=null?Jt:null},[Et,Te])}function Xt(Ce,Te){return(0,z.useMemo)(()=>Ce.reduce((Qe,Et)=>{const{sensor:Yt}=Et,Jt=Yt.activators.map(bn=>({eventName:bn.eventName,handler:Te(bn.handler,Et)}));return[...Qe,...Jt]},[]),[Ce,Te])}var Ea;(function(Ce){Ce[Ce.Always=0]="Always",Ce[Ce.BeforeDragging=1]="BeforeDragging",Ce[Ce.WhileDragging=2]="WhileDragging"})(Ea||(Ea={}));var qn;(function(Ce){Ce.Optimized="optimized"})(qn||(qn={}));const Mn=new Map;function Ga(Ce,Te){let{dragging:Qe,dependencies:Et,config:Yt}=Te;const[Jt,bn]=(0,z.useState)(null),{frequency:Fn,measure:Yn,strategy:Pa}=Yt,Ca=(0,z.useRef)(Ce),ga=la(),Or=(0,he.Ey)(ga),Mr=(0,z.useCallback)(function($n){$n===void 0&&($n=[]),!Or.current&&bn(oa=>oa===null?$n:oa.concat($n.filter(ra=>!oa.includes(ra))))},[Or]),Ro=(0,z.useRef)(null),Ur=(0,he.Gj)($n=>{if(ga&&!Qe)return Mn;if(!$n||$n===Mn||Ca.current!==Ce||Jt!=null){const oa=new Map;for(let ra of Ce){if(!ra)continue;if(Jt&&Jt.length>0&&!Jt.includes(ra.id)&&ra.rect.current){oa.set(ra.id,ra.rect.current);continue}const Nr=ra.node.current,Zr=Nr?new Ge(Yn(Nr),Nr):null;ra.rect.current=Zr,Zr&&oa.set(ra.id,Zr)}return oa}return $n},[Ce,Jt,Qe,ga,Yn]);return(0,z.useEffect)(()=>{Ca.current=Ce},[Ce]),(0,z.useEffect)(()=>{ga||Mr()},[Qe,ga]),(0,z.useEffect)(()=>{Jt&&Jt.length>0&&bn(null)},[JSON.stringify(Jt)]),(0,z.useEffect)(()=>{ga||typeof Fn!="number"||Ro.current!==null||(Ro.current=setTimeout(()=>{Mr(),Ro.current=null},Fn))},[Fn,ga,Mr,...Et]),{droppableRects:Ur,measureDroppableContainers:Mr,measuringScheduled:Jt!=null};function la(){switch(Pa){case Ea.Always:return!1;case Ea.BeforeDragging:return Qe;default:return!Qe}}}function La(Ce,Te){return(0,he.Gj)(Qe=>Ce?Qe||(typeof Te=="function"?Te(Ce):Ce):null,[Te,Ce])}function Ar(Ce,Te){return La(Ce,Te)}function Cr(Ce){let{callback:Te,disabled:Qe}=Ce;const Et=(0,he.zX)(Te),Yt=(0,z.useMemo)(()=>{if(Qe||typeof window=="undefined"||typeof window.MutationObserver=="undefined")return;const{MutationObserver:Jt}=window;return new Jt(Et)},[Et,Qe]);return(0,z.useEffect)(()=>()=>Yt==null?void 0:Yt.disconnect(),[Yt]),Yt}function Qa(Ce){let{callback:Te,disabled:Qe}=Ce;const Et=(0,he.zX)(Te),Yt=(0,z.useMemo)(()=>{if(Qe||typeof window=="undefined"||typeof window.ResizeObserver=="undefined")return;const{ResizeObserver:Jt}=window;return new Jt(Et)},[Qe]);return(0,z.useEffect)(()=>()=>Yt==null?void 0:Yt.disconnect(),[Yt]),Yt}function at(Ce){return new Ge(vt(Ce),Ce)}function Mt(Ce,Te,Qe){Te===void 0&&(Te=at);const[Et,Yt]=(0,z.useState)(null);function Jt(){Yt(Yn=>{if(!Ce)return null;if(Ce.isConnected===!1){var Pa;return(Pa=Yn!=null?Yn:Qe)!=null?Pa:null}const Ca=Te(Ce);return JSON.stringify(Yn)===JSON.stringify(Ca)?Yn:Ca})}const bn=Cr({callback(Yn){if(Ce)for(const Pa of Yn){const{type:Ca,target:ga}=Pa;if(Ca==="childList"&&ga instanceof HTMLElement&&ga.contains(Ce)){Jt();break}}}}),Fn=Qa({callback:Jt});return(0,he.LI)(()=>{Jt(),Ce?(Fn==null||Fn.observe(Ce),bn==null||bn.observe(document.body,{childList:!0,subtree:!0})):(Fn==null||Fn.disconnect(),bn==null||bn.disconnect())},[Ce]),Et}function Ft(Ce){const Te=La(Ce);return Be(Ce,Te)}const kn=[];function dn(Ce){const Te=(0,z.useRef)(Ce),Qe=(0,he.Gj)(Et=>Ce?Et&&Et!==kn&&Ce&&Te.current&&Ce.parentNode===Te.current.parentNode?Et:At(Ce):kn,[Ce]);return(0,z.useEffect)(()=>{Te.current=Ce},[Ce]),Qe}function Ln(Ce){const[Te,Qe]=(0,z.useState)(null),Et=(0,z.useRef)(Ce),Yt=(0,z.useCallback)(Jt=>{const bn=St(Jt.target);bn&&Qe(Fn=>Fn?(Fn.set(bn,Qt(bn)),new Map(Fn)):null)},[]);return(0,z.useEffect)(()=>{const Jt=Et.current;if(Ce!==Jt){bn(Jt);const Fn=Ce.map(Yn=>{const Pa=St(Yn);return Pa?(Pa.addEventListener("scroll",Yt,{passive:!0}),[Pa,Qt(Pa)]):null}).filter(Yn=>Yn!=null);Qe(Fn.length?new Map(Fn):null),Et.current=Ce}return()=>{bn(Ce),bn(Jt)};function bn(Fn){Fn.forEach(Yn=>{const Pa=St(Yn);Pa==null||Pa.removeEventListener("scroll",Yt)})}},[Yt,Ce]),(0,z.useMemo)(()=>Ce.length?Te?Array.from(Te.values()).reduce((Jt,bn)=>(0,he.IH)(Jt,bn),E):Le(Ce):E,[Ce,Te])}function Xr(Ce,Te){Te===void 0&&(Te=[]);const Qe=(0,z.useRef)(null);return(0,z.useEffect)(()=>{Qe.current=null},Te),(0,z.useEffect)(()=>{const Et=Ce!==E;Et&&!Qe.current&&(Qe.current=Ce),!Et&&Qe.current&&(Qe.current=null)},[Ce]),Qe.current?(0,he.$X)(Ce,Qe.current):E}function Er(Ce){(0,z.useEffect)(()=>{if(!he.Nq)return;const Te=Ce.map(Qe=>{let{sensor:Et}=Qe;return Et.setup==null?void 0:Et.setup()});return()=>{for(const Qe of Te)Qe==null||Qe()}},Ce.map(Te=>{let{sensor:Qe}=Te;return Qe}))}function Kr(Ce,Te){return(0,z.useMemo)(()=>Ce.reduce((Qe,Et)=>{let{eventName:Yt,handler:Jt}=Et;return Qe[Yt]=bn=>{Jt(bn,Te)},Qe},{}),[Ce,Te])}function oo(Ce){return(0,z.useMemo)(()=>Ce?$t(Ce):null,[Ce])}const Xa=[];function Nn(Ce,Te){Te===void 0&&(Te=vt);const[Qe]=Ce,Et=oo(Qe?(0,he.Jj)(Qe):null),[Yt,Jt]=(0,z.useState)(Xa);function bn(){Jt(()=>Ce.length?Ce.map(Yn=>Hn(Yn)?Et:new Ge(Te(Yn),Yn)):Xa)}const Fn=Qa({callback:bn});return(0,he.LI)(()=>{Fn==null||Fn.disconnect(),bn(),Ce.forEach(Yn=>Fn==null?void 0:Fn.observe(Yn))},[Ce]),Yt}function ur(Ce){if(!Ce)return null;if(Ce.children.length>1)return Ce;const Te=Ce.children[0];return(0,he.Re)(Te)?Te:Ce}function nr(Ce){let{measure:Te}=Ce;const[Qe,Et]=(0,z.useState)(null),Yt=(0,z.useCallback)(Pa=>{for(const{target:Ca}of Pa)if((0,he.Re)(Ca)){Et(ga=>{const Or=Te(Ca);return ga?li(_r({},ga),{width:Or.width,height:Or.height}):Or});break}},[Te]),Jt=Qa({callback:Yt}),bn=(0,z.useCallback)(Pa=>{const Ca=ur(Pa);Jt==null||Jt.disconnect(),Ca&&(Jt==null||Jt.observe(Ca)),Et(Ca?Te(Ca):null)},[Te,Jt]),[Fn,Yn]=(0,he.wm)(bn);return(0,z.useMemo)(()=>({nodeRef:Fn,rect:Qe,setRef:Yn}),[Qe,Fn,Yn])}const sr=[{sensor:dt,options:{}},{sensor:He,options:{}}],er={current:{}},ht={draggable:{measure:Rt},droppable:{measure:Rt,strategy:Ea.WhileDragging,frequency:qn.Optimized},dragOverlay:{measure:vt}};class qt extends Map{get(Te){var Qe;return Te!=null&&(Qe=super.get(Te))!=null?Qe:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(Te=>{let{disabled:Qe}=Te;return!Qe})}getNodeFor(Te){var Qe,Et;return(Qe=(Et=this.get(Te))==null?void 0:Et.node.current)!=null?Qe:void 0}}const tn={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new qt,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:a},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:ht,measureDroppableContainers:a,windowRect:null,measuringScheduled:!1},Pn={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:a,draggableNodes:new Map,over:null,measureDroppableContainers:a},Rn=(0,z.createContext)(Pn),gn=(0,z.createContext)(tn);function On(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new qt}}}function yn(Ce,Te){switch(Te.type){case re.DragStart:return li(_r({},Ce),{draggable:li(_r({},Ce.draggable),{initialCoordinates:Te.initialCoordinates,active:Te.active})});case re.DragMove:return Ce.draggable.active==null?Ce:li(_r({},Ce),{draggable:li(_r({},Ce.draggable),{translate:{x:Te.coordinates.x-Ce.draggable.initialCoordinates.x,y:Te.coordinates.y-Ce.draggable.initialCoordinates.y}})});case re.DragEnd:case re.DragCancel:return li(_r({},Ce),{draggable:li(_r({},Ce.draggable),{active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}})});case re.RegisterDroppable:{const{element:Qe}=Te,{id:Et}=Qe,Yt=new qt(Ce.droppable.containers);return Yt.set(Et,Qe),li(_r({},Ce),{droppable:li(_r({},Ce.droppable),{containers:Yt})})}case re.SetDroppableDisabled:{const{id:Qe,key:Et,disabled:Yt}=Te,Jt=Ce.droppable.containers.get(Qe);if(!Jt||Et!==Jt.key)return Ce;const bn=new qt(Ce.droppable.containers);return bn.set(Qe,li(_r({},Jt),{disabled:Yt})),li(_r({},Ce),{droppable:li(_r({},Ce.droppable),{containers:bn})})}case re.UnregisterDroppable:{const{id:Qe,key:Et}=Te,Yt=Ce.droppable.containers.get(Qe);if(!Yt||Et!==Yt.key)return Ce;const Jt=new qt(Ce.droppable.containers);return Jt.delete(Qe),li(_r({},Ce),{droppable:li(_r({},Ce.droppable),{containers:Jt})})}default:return Ce}}function ar(Ce){let{disabled:Te}=Ce;const{active:Qe,activatorEvent:Et,draggableNodes:Yt}=(0,z.useContext)(Rn),Jt=(0,he.D9)(Et),bn=(0,he.D9)(Qe==null?void 0:Qe.id);return(0,z.useEffect)(()=>{if(!Te&&!Et&&Jt&&bn!=null){if(!(0,he.vd)(Jt)||document.activeElement===Jt.target)return;const Fn=Yt.get(bn);if(!Fn)return;const{activatorNode:Yn,node:Pa}=Fn;if(!Yn.current&&!Pa.current)return;requestAnimationFrame(()=>{for(const Ca of[Yn.current,Pa.current]){if(!Ca)continue;const ga=(0,he.so)(Ca);if(ga){ga.focus();break}}})}},[Et,Te,Yt,bn,Jt]),null}function Ra(Ce,Te){let Yt=Te,{transform:Qe}=Yt,Et=lu(Yt,["transform"]);return Ce!=null&&Ce.length?Ce.reduce((Jt,bn)=>bn(_r({transform:Jt},Et)),Qe):Qe}function cn(Ce){return(0,z.useMemo)(()=>({draggable:_r(_r({},ht.draggable),Ce==null?void 0:Ce.draggable),droppable:_r(_r({},ht.droppable),Ce==null?void 0:Ce.droppable),dragOverlay:_r(_r({},ht.dragOverlay),Ce==null?void 0:Ce.dragOverlay)}),[Ce==null?void 0:Ce.draggable,Ce==null?void 0:Ce.droppable,Ce==null?void 0:Ce.dragOverlay])}function io(Ce){let{activeNode:Te,measure:Qe,initialRect:Et,config:Yt=!0}=Ce;const Jt=(0,z.useRef)(!1),{x:bn,y:Fn}=typeof Yt=="boolean"?{x:Yt,y:Yt}:Yt;(0,he.LI)(()=>{if(!bn&&!Fn||!Te){Jt.current=!1;return}if(Jt.current||!Et)return;const Pa=Te==null?void 0:Te.node.current;if(!Pa||Pa.isConnected===!1)return;const Ca=Qe(Pa),ga=Be(Ca,Et);if(bn||(ga.x=0),Fn||(ga.y=0),Jt.current=!0,Math.abs(ga.x)>0||Math.abs(ga.y)>0){const Or=Nt(Pa);Or&&Or.scrollBy({top:ga.y,left:ga.x})}},[Te,bn,Fn,Et,Qe])}const to=(0,z.createContext)(li(_r({},E),{scaleX:1,scaleY:1}));var no;(function(Ce){Ce[Ce.Uninitialized=0]="Uninitialized",Ce[Ce.Initializing=1]="Initializing",Ce[Ce.Initialized=2]="Initialized"})(no||(no={}));const Mo=(0,z.memo)(function(Te){var Qe,Et,Yt,Jt;let Jo=Te,{id:bn,accessibility:Fn,autoScroll:Yn=!0,children:Pa,sensors:Ca=sr,collisionDetection:ga=Ee,measuring:Or,modifiers:Mr}=Jo,Ro=lu(Jo,["id","accessibility","autoScroll","children","sensors","collisionDetection","measuring","modifiers"]);const Ur=(0,z.useReducer)(yn,void 0,On),[la,$n]=Ur,[oa,ra]=Ze(),[Nr,Zr]=(0,z.useState)(no.Uninitialized),hr=Nr===no.Initialized,{draggable:{active:xr,nodes:kr,translate:ho},droppable:{containers:ti}}=la,yo=xr!=null?kr.get(xr):null,Rr=(0,z.useRef)({initial:null,translated:null}),ro=(0,z.useMemo)(()=>{var fr;return xr!=null?{id:xr,data:(fr=yo==null?void 0:yo.data)!=null?fr:er,rect:Rr}:null},[xr,yo]),Fo=(0,z.useRef)(null),[vo,Eo]=(0,z.useState)(null),[sa,jo]=(0,z.useState)(null),wi=(0,he.Ey)(Ro,Object.values(Ro)),Zi=(0,he.Ld)("DndDescribedBy",bn),nl=(0,z.useMemo)(()=>ti.getEnabled(),[ti]),Xi=cn(Or),{droppableRects:zi,measureDroppableContainers:Fi,measuringScheduled:ul}=Ga(nl,{dragging:hr,dependencies:[ho.x,ho.y],config:Xi.droppable}),_i=Tt(kr,xr),rl=(0,z.useMemo)(()=>sa?(0,he.DC)(sa):null,[sa]),Vt=Tr(),_t=Ar(_i,Xi.draggable.measure);io({activeNode:xr!=null?kr.get(xr):null,config:Vt.layoutShiftCompensation,initialRect:_t,measure:Xi.draggable.measure});const kt=Mt(_i,Xi.draggable.measure,_t),ba=Mt(_i?_i.parentElement:null),Va=(0,z.useRef)({activatorEvent:null,active:null,activeNode:_i,collisionRect:null,collisions:null,droppableRects:zi,draggableNodes:kr,draggingNode:null,draggingNodeRect:null,droppableContainers:ti,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Fa=ti.getNodeFor((Qe=Va.current.over)==null?void 0:Qe.id),In=nr({measure:Xi.dragOverlay.measure}),Ua=(Et=In.nodeRef.current)!=null?Et:_i,hn=hr?(Yt=In.rect)!=null?Yt:kt:null,Za=!!(In.nodeRef.current&&In.rect),Da=Ft(Za?null:kt),Io=oo(Ua?(0,he.Jj)(Ua):null),Ma=dn(hr?Fa!=null?Fa:_i:null),$o=Nn(Ma),Si=Ra(Mr,{transform:{x:ho.x-Da.x,y:ho.y-Da.y,scaleX:1,scaleY:1},activatorEvent:sa,active:ro,activeNodeRect:kt,containerNodeRect:ba,draggingNodeRect:hn,over:Va.current.over,overlayNodeRect:In.rect,scrollableAncestors:Ma,scrollableAncestorRects:$o,windowRect:Io}),Ko=rl?(0,he.IH)(rl,ho):null,Sr=Ln(Ma),Pr=Xr(Sr),Qn=Xr(Sr,[kt]),ao=(0,he.IH)(Si,Pr),oi=hn?Ke(hn,Si):null,ha=ro&&oi?ga({active:ro,collisionRect:oi,droppableRects:zi,droppableContainers:nl,pointerCoordinates:Ko}):null,ca=ue(ha,"id"),[eo,Ai]=(0,z.useState)(null),Tn=Za?Si:(0,he.IH)(Si,Qn),tr=pt(Tn,(Jt=eo==null?void 0:eo.rect)!=null?Jt:null,kt),aa=(0,z.useRef)(null),nn=(0,z.useCallback)((fr,So)=>{let{sensor:Ha,options:Yr}=So;if(Fo.current==null)return;const mo=kr.get(Fo.current);if(!mo)return;const Do=fr.nativeEvent,vn=new Ha({active:Fo.current,activeNode:mo,event:Do,options:Yr,context:Va,onAbort(Oa){if(!kr.get(Oa))return;const{onDragAbort:ya}=wi.current,wr={id:Oa};ya==null||ya(wr),oa({type:"onDragAbort",event:wr})},onPending(Oa,_n,ya,wr){if(!kr.get(Oa))return;const{onDragPending:Co}=wi.current,qo={id:Oa,constraint:_n,initialCoordinates:ya,offset:wr};Co==null||Co(qo),oa({type:"onDragPending",event:qo})},onStart(Oa){const _n=Fo.current;if(_n==null)return;const ya=kr.get(_n);if(!ya)return;const{onDragStart:wr}=wi.current,Fr={activatorEvent:Do,active:{id:_n,data:ya.data,rect:Rr}};(0,se.unstable_batchedUpdates)(()=>{wr==null||wr(Fr),Zr(no.Initializing),$n({type:re.DragStart,initialCoordinates:Oa,active:_n}),oa({type:"onDragStart",event:Fr}),Eo(aa.current),jo(Do)})},onMove(Oa){$n({type:re.DragMove,coordinates:Oa})},onEnd:na(re.DragEnd),onCancel:na(re.DragCancel)});aa.current=vn;function na(Oa){return function(){return Au(this,null,function*(){const{active:ya,collisions:wr,over:Fr,scrollAdjustedTranslate:Co}=Va.current;let qo=null;if(ya&&Co){const{cancelDrop:Di}=wi.current;qo={activatorEvent:Do,active:ya,collisions:wr,delta:Co,over:Fr},Oa===re.DragEnd&&typeof Di=="function"&&(yield Promise.resolve(Di(qo)))&&(Oa=re.DragCancel)}Fo.current=null,(0,se.unstable_batchedUpdates)(()=>{$n({type:Oa}),Zr(no.Uninitialized),Ai(null),Eo(null),jo(null),aa.current=null;const Di=Oa===re.DragEnd?"onDragEnd":"onDragCancel";if(qo){const Hi=wi.current[Di];Hi==null||Hi(qo),oa({type:Di,event:qo})}})})}}},[kr]),Wn=(0,z.useCallback)((fr,So)=>(Ha,Yr)=>{const mo=Ha.nativeEvent,Do=kr.get(Yr);if(Fo.current!==null||!Do||mo.dndKit||mo.defaultPrevented)return;const vn={active:Do};fr(Ha,So.options,vn)===!0&&(mo.dndKit={capturedBy:So.sensor},Fo.current=Yr,nn(Ha,So))},[kr,nn]),Cn=Xt(Ca,Wn);Er(Ca),(0,he.LI)(()=>{kt&&Nr===no.Initializing&&Zr(no.Initialized)},[kt,Nr]),(0,z.useEffect)(()=>{const{onDragMove:fr}=wi.current,{active:So,activatorEvent:Ha,collisions:Yr,over:mo}=Va.current;if(!So||!Ha)return;const Do={active:So,activatorEvent:Ha,collisions:Yr,delta:{x:ao.x,y:ao.y},over:mo};(0,se.unstable_batchedUpdates)(()=>{fr==null||fr(Do),oa({type:"onDragMove",event:Do})})},[ao.x,ao.y]),(0,z.useEffect)(()=>{const{active:fr,activatorEvent:So,collisions:Ha,droppableContainers:Yr,scrollAdjustedTranslate:mo}=Va.current;if(!fr||Fo.current==null||!So||!mo)return;const{onDragOver:Do}=wi.current,vn=Yr.get(ca),na=vn&&vn.rect.current?{id:vn.id,rect:vn.rect.current,data:vn.data,disabled:vn.disabled}:null,Oa={active:fr,activatorEvent:So,collisions:Ha,delta:{x:mo.x,y:mo.y},over:na};(0,se.unstable_batchedUpdates)(()=>{Ai(na),Do==null||Do(Oa),oa({type:"onDragOver",event:Oa})})},[ca]),(0,he.LI)(()=>{Va.current={activatorEvent:sa,active:ro,activeNode:_i,collisionRect:oi,collisions:ha,droppableRects:zi,draggableNodes:kr,draggingNode:Ua,draggingNodeRect:hn,droppableContainers:ti,over:eo,scrollableAncestors:Ma,scrollAdjustedTranslate:ao},Rr.current={initial:hn,translated:oi}},[ro,_i,ha,oi,kr,Ua,hn,zi,ti,eo,Ma,ao]),an(li(_r({},Vt),{delta:ho,draggingRect:oi,pointerCoordinates:Ko,scrollableAncestors:Ma,scrollableAncestorRects:$o}));const $r=(0,z.useMemo)(()=>({active:ro,activeNode:_i,activeNodeRect:kt,activatorEvent:sa,collisions:ha,containerNodeRect:ba,dragOverlay:In,draggableNodes:kr,droppableContainers:ti,droppableRects:zi,over:eo,measureDroppableContainers:Fi,scrollableAncestors:Ma,scrollableAncestorRects:$o,measuringConfiguration:Xi,measuringScheduled:ul,windowRect:Io}),[ro,_i,kt,sa,ha,ba,In,kr,ti,zi,eo,Fi,Ma,$o,Xi,ul,Io]),mr=(0,z.useMemo)(()=>({activatorEvent:sa,activators:Cn,active:ro,activeNodeRect:kt,ariaDescribedById:{draggable:Zi},dispatch:$n,draggableNodes:kr,over:eo,measureDroppableContainers:Fi}),[sa,Cn,ro,kt,$n,Zi,kr,eo,Fi]);return z.createElement(nt.Provider,{value:ra},z.createElement(Rn.Provider,{value:mr},z.createElement(gn.Provider,{value:$r},z.createElement(to.Provider,{value:tr},Pa)),z.createElement(ar,{disabled:(Fn==null?void 0:Fn.restoreFocus)===!1})),z.createElement(ye,li(_r({},Fn),{hiddenTextDescribedById:Zi})));function Tr(){const fr=(vo==null?void 0:vo.autoScrollEnabled)===!1,So=typeof Yn=="object"?Yn.enabled===!1:Yn===!1,Ha=hr&&!fr&&!So;return typeof Yn=="object"?li(_r({},Yn),{enabled:Ha}):{enabled:Ha}}}),ea=(0,z.createContext)(null),Aa="button",dr="Draggable";function pa(Ce){let{id:Te,data:Qe,disabled:Et=!1,attributes:Yt}=Ce;const Jt=(0,he.Ld)(dr),{activators:bn,activatorEvent:Fn,active:Yn,activeNodeRect:Pa,ariaDescribedById:Ca,draggableNodes:ga,over:Or}=(0,z.useContext)(Rn),{role:Mr=Aa,roleDescription:Ro="draggable",tabIndex:Ur=0}=Yt!=null?Yt:{},la=(Yn==null?void 0:Yn.id)===Te,$n=(0,z.useContext)(la?to:ea),[oa,ra]=(0,he.wm)(),[Nr,Zr]=(0,he.wm)(),hr=Kr(bn,Te),xr=(0,he.Ey)(Qe);(0,he.LI)(()=>(ga.set(Te,{id:Te,key:Jt,node:oa,activatorNode:Nr,data:xr}),()=>{const ho=ga.get(Te);ho&&ho.key===Jt&&ga.delete(Te)}),[ga,Te]);const kr=(0,z.useMemo)(()=>({role:Mr,tabIndex:Ur,"aria-disabled":Et,"aria-pressed":la&&Mr===Aa?!0:void 0,"aria-roledescription":Ro,"aria-describedby":Ca.draggable}),[Et,Mr,Ur,la,Ro,Ca.draggable]);return{active:Yn,activatorEvent:Fn,activeNodeRect:Pa,attributes:kr,isDragging:la,listeners:Et?void 0:hr,node:oa,over:Or,setNodeRef:ra,setActivatorNodeRef:Zr,transform:$n}}function jr(){return(0,z.useContext)(gn)}const Ir="Droppable",br={timeout:25};function po(Ce){let{data:Te,disabled:Qe=!1,id:Et,resizeObserverConfig:Yt}=Ce;const Jt=(0,he.Ld)(Ir),{active:bn,dispatch:Fn,over:Yn,measureDroppableContainers:Pa}=(0,z.useContext)(Rn),Ca=(0,z.useRef)({disabled:Qe}),ga=(0,z.useRef)(!1),Or=(0,z.useRef)(null),Mr=(0,z.useRef)(null),{disabled:Ro,updateMeasurementsFor:Ur,timeout:la}=_r(_r({},br),Yt),$n=(0,he.Ey)(Ur!=null?Ur:Et),oa=(0,z.useCallback)(()=>{if(!ga.current){ga.current=!0;return}Mr.current!=null&&clearTimeout(Mr.current),Mr.current=setTimeout(()=>{Pa(Array.isArray($n.current)?$n.current:[$n.current]),Mr.current=null},la)},[la]),ra=Qa({callback:oa,disabled:Ro||!bn}),Nr=(0,z.useCallback)((kr,ho)=>{ra&&(ho&&(ra.unobserve(ho),ga.current=!1),kr&&ra.observe(kr))},[ra]),[Zr,hr]=(0,he.wm)(Nr),xr=(0,he.Ey)(Te);return(0,z.useEffect)(()=>{!ra||!Zr.current||(ra.disconnect(),ga.current=!1,ra.observe(Zr.current))},[Zr,ra]),(0,z.useEffect)(()=>(Fn({type:re.RegisterDroppable,element:{id:Et,key:Jt,disabled:Qe,node:Zr,rect:Or,data:xr}}),()=>Fn({type:re.UnregisterDroppable,key:Jt,id:Et})),[Et]),(0,z.useEffect)(()=>{Qe!==Ca.current.disabled&&(Fn({type:re.SetDroppableDisabled,id:Et,key:Jt,disabled:Qe}),Ca.current.disabled=Qe)},[Et,Jt,Qe,Fn]),{active:bn,rect:Or,isOver:(Yn==null?void 0:Yn.id)===Et,node:Zr,over:Yn,setNodeRef:hr}}function Lo(Ce){let{animation:Te,children:Qe}=Ce;const[Et,Yt]=useState(null),[Jt,bn]=useState(null),Fn=usePrevious(Qe);return!Qe&&!Et&&Fn&&Yt(Fn),useIsomorphicLayoutEffect(()=>{if(!Jt)return;const Yn=Et==null?void 0:Et.key,Pa=Et==null?void 0:Et.props.id;if(Yn==null||Pa==null){Yt(null);return}Promise.resolve(Te(Pa,Jt)).then(()=>{Yt(null)})},[Te,Et,Jt]),React.createElement(React.Fragment,null,Qe,Et?cloneElement(Et,{ref:bn}):null)}const Oi={x:0,y:0,scaleX:1,scaleY:1};function vi(Ce){let{children:Te}=Ce;return React.createElement(Rn.Provider,{value:Pn},React.createElement(to.Provider,{value:Oi},Te))}const Ei={position:"fixed",touchAction:"none"},$i=Ce=>isKeyboardEvent(Ce)?"transform 250ms ease":void 0,zn=null,xo={duration:250,easing:"ease",keyframes:Ce=>{let{transform:{initial:Te,final:Qe}}=Ce;return[{transform:he.ux.Transform.toString(Te)},{transform:he.ux.Transform.toString(Qe)}]},sideEffects:(Ce=>Te=>{let{active:Qe,dragOverlay:Et}=Te;const Yt={},{styles:Jt,className:bn}=Ce;if(Jt!=null&&Jt.active)for(const[Fn,Yn]of Object.entries(Jt.active))Yn!==void 0&&(Yt[Fn]=Qe.node.style.getPropertyValue(Fn),Qe.node.style.setProperty(Fn,Yn));if(Jt!=null&&Jt.dragOverlay)for(const[Fn,Yn]of Object.entries(Jt.dragOverlay))Yn!==void 0&&Et.node.style.setProperty(Fn,Yn);return bn!=null&&bn.active&&Qe.node.classList.add(bn.active),bn!=null&&bn.dragOverlay&&Et.node.classList.add(bn.dragOverlay),function(){for(const[Yn,Pa]of Object.entries(Yt))Qe.node.style.setProperty(Yn,Pa);bn!=null&&bn.active&&Qe.node.classList.remove(bn.active)}})({styles:{active:{opacity:"0"}}})};function wo(Ce){let{config:Te,draggableNodes:Qe,droppableContainers:Et,measuringConfiguration:Yt}=Ce;return useEvent((Jt,bn)=>{if(Te===null)return;const Fn=Qe.get(Jt);if(!Fn)return;const Yn=Fn.node.current;if(!Yn)return;const Pa=ur(bn);if(!Pa)return;const{transform:Ca}=getWindow(bn).getComputedStyle(bn),ga=Ve(Ca);if(!ga)return;const Or=typeof Te=="function"?Te:ui(Te);return Oe(Yn,Yt.draggable.measure),Or({active:{id:Jt,data:Fn.data,node:Yn,rect:Yt.draggable.measure(Yn)},draggableNodes:Qe,dragOverlay:{node:bn,rect:Yt.dragOverlay.measure(Pa)},droppableContainers:Et,measuringConfiguration:Yt,transform:ga})})}function ui(Ce){const{duration:Te,easing:Qe,sideEffects:Et,keyframes:Yt}=_r(_r({},xo),Ce);return Jt=>{let oa=Jt,{active:bn,dragOverlay:Fn,transform:Yn}=oa,Pa=lu(oa,["active","dragOverlay","transform"]);if(!Te)return;const Ca={x:Fn.rect.left-bn.rect.left,y:Fn.rect.top-bn.rect.top},ga={scaleX:Yn.scaleX!==1?bn.rect.width*Yn.scaleX/Fn.rect.width:1,scaleY:Yn.scaleY!==1?bn.rect.height*Yn.scaleY/Fn.rect.height:1},Or=_r({x:Yn.x-Ca.x,y:Yn.y-Ca.y},ga),Mr=Yt(li(_r({},Pa),{active:bn,dragOverlay:Fn,transform:{initial:Yn,final:Or}})),[Ro]=Mr,Ur=Mr[Mr.length-1];if(JSON.stringify(Ro)===JSON.stringify(Ur))return;const la=Et==null?void 0:Et(_r({active:bn,dragOverlay:Fn},Pa)),$n=Fn.node.animate(Mr,{duration:Te,easing:Qe,fill:"forwards"});return new Promise(ra=>{$n.onfinish=()=>{la==null||la(),ra()}})}}let Bi=0;function Yi(Ce){return useMemo(()=>{if(Ce!=null)return Bi++,Bi},[Ce])}const Mi=null},18257:function(Ct,Pt,te){"use strict";te.d(Pt,{DL:function(){return ie}});var z=te(35241);function se(Ze){return ze=>{let{transform:Me}=ze;return li(_r({},Me),{x:Math.ceil(Me.x/Ze)*Ze,y:Math.ceil(Me.y/Ze)*Ze})}}const he=Ze=>{let{transform:ze}=Ze;return li(_r({},ze),{y:0})};function Ie(Ze,ze,Me){const ye=_r({},Ze);return ze.top+Ze.y<=Me.top?ye.y=Me.top-ze.top:ze.bottom+Ze.y>=Me.top+Me.height&&(ye.y=Me.top+Me.height-ze.bottom),ze.left+Ze.x<=Me.left?ye.x=Me.left-ze.left:ze.right+Ze.x>=Me.left+Me.width&&(ye.x=Me.left+Me.width-ze.right),ye}const be=Ze=>{let{containerNodeRect:ze,draggingNodeRect:Me,transform:ye}=Ze;return!Me||!ze?ye:Ie(ye,Me,ze)},Ne=Ze=>{let{draggingNodeRect:ze,transform:Me,scrollableAncestorRects:ye}=Ze;const re=ye[0];return!ze||!re?Me:Ie(Me,ze,re)},ie=Ze=>{let{transform:ze}=Ze;return li(_r({},ze),{x:0})},nt=Ze=>{let{transform:ze,draggingNodeRect:Me,windowRect:ye}=Ze;return!Me||!ye?ze:Ie(ze,Me,ye)},je=Ze=>{let{activatorEvent:ze,draggingNodeRect:Me,transform:ye}=Ze;if(Me&&ze){const re=getEventCoordinates(ze);if(!re)return ye;const a=re.x-Me.left,y=re.y-Me.top;return li(_r({},ye),{x:ye.x+a-Me.width/2,y:ye.y+y-Me.height/2})}return ye}},19719:function(Ct,Pt,te){"use strict";te.d(Pt,{Fo:function(){return ee},PG:function(){return ze},Rp:function(){return Ie},nB:function(){return xe},qw:function(){return y}});var z=te(59301),se=te(87954),he=te(35241);function Ie(Ke,Ve,it){const rt=Ke.slice();return rt.splice(it<0?rt.length+it:it,0,rt.splice(Ve,1)[0]),rt}function be(Ke,Ve,it){const rt=Ke.slice();return rt[Ve]=Ke[it],rt[it]=Ke[Ve],rt}function Ne(Ke,Ve){return Ke.reduce((it,rt,vt)=>{const Rt=Ve.get(rt);return Rt&&(it[vt]=Rt),it},Array(Ke.length))}function ie(Ke){return Ke!==null&&Ke>=0}function nt(Ke,Ve){if(Ke===Ve)return!0;if(Ke.length!==Ve.length)return!1;for(let it=0;it<Ke.length;it++)if(Ke[it]!==Ve[it])return!1;return!0}function je(Ke){return typeof Ke=="boolean"?{draggable:Ke,droppable:Ke}:Ke}const Ze={scaleX:1,scaleY:1},ze=Ke=>{var Ve;let{rects:it,activeNodeRect:rt,activeIndex:vt,overIndex:Rt,index:$t}=Ke;const Je=(Ve=it[vt])!=null?Ve:rt;if(!Je)return null;const st=Me(it,$t,vt);if($t===vt){const At=it[Rt];return At?_r({x:vt<Rt?At.left+At.width-(Je.left+Je.width):At.left-Je.left,y:0},Ze):null}return $t>vt&&$t<=Rt?_r({x:-Je.width-st,y:0},Ze):$t<vt&&$t>=Rt?_r({x:Je.width+st,y:0},Ze):_r({x:0,y:0},Ze)};function Me(Ke,Ve,it){const rt=Ke[Ve],vt=Ke[Ve-1],Rt=Ke[Ve+1];return!rt||!vt&&!Rt?0:it<Ve?vt?rt.left-(vt.left+vt.width):Rt.left-(rt.left+rt.width):Rt?Rt.left-(rt.left+rt.width):rt.left-(vt.left+vt.width)}const ye=Ke=>{let{rects:Ve,activeIndex:it,overIndex:rt,index:vt}=Ke;const Rt=Ie(Ve,rt,it),$t=Ve[vt],Je=Rt[vt];return!Je||!$t?null:{x:Je.left-$t.left,y:Je.top-$t.top,scaleX:Je.width/$t.width,scaleY:Je.height/$t.height}},re=Ke=>{let{activeIndex:Ve,index:it,rects:rt,overIndex:vt}=Ke,Rt,$t;return it===Ve&&(Rt=rt[it],$t=rt[vt]),it===vt&&(Rt=rt[it],$t=rt[Ve]),!$t||!Rt?null:{x:$t.left-Rt.left,y:$t.top-Rt.top,scaleX:$t.width/Rt.width,scaleY:$t.height/Rt.height}},a={scaleX:1,scaleY:1},y=Ke=>{var Ve;let{activeIndex:it,activeNodeRect:rt,index:vt,rects:Rt,overIndex:$t}=Ke;const Je=(Ve=Rt[it])!=null?Ve:rt;if(!Je)return null;if(vt===it){const At=Rt[$t];return At?_r({x:0,y:it<$t?At.top+At.height-(Je.top+Je.height):At.top-Je.top},a):null}const st=b(Rt,vt,it);return vt>it&&vt<=$t?_r({x:0,y:-Je.height-st},a):vt<it&&vt>=$t?_r({x:0,y:Je.height+st},a):_r({x:0,y:0},a)};function b(Ke,Ve,it){const rt=Ke[Ve],vt=Ke[Ve-1],Rt=Ke[Ve+1];return rt?it<Ve?vt?rt.top-(vt.top+vt.height):Rt?Rt.top-(rt.top+rt.height):0:Rt?Rt.top-(rt.top+rt.height):vt?rt.top-(vt.top+vt.height):0:0}const E="Sortable",x=z.createContext({activeIndex:-1,containerId:E,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:ye,disabled:{draggable:!1,droppable:!1}});function ee(Ke){let{children:Ve,id:it,items:rt,strategy:vt=ye,disabled:Rt=!1}=Ke;const{active:$t,dragOverlay:Je,droppableRects:st,over:At,measureDroppableContainers:Nt}=(0,se.Cj)(),St=(0,he.Ld)(E,it),sn=Je.rect!==null,Fe=(0,z.useMemo)(()=>rt.map(ft=>typeof ft=="object"&&"id"in ft?ft.id:ft),[rt]),Qt=$t!=null,Gt=$t?Fe.indexOf($t.id):-1,Hn=At?Fe.indexOf(At.id):-1,Jn=(0,z.useRef)(Fe),Re=!nt(Fe,Jn.current),qe=Hn!==-1&&Gt===-1||Re,tt=je(Rt);(0,he.LI)(()=>{Re&&Qt&&Nt(Fe)},[Re,Fe,Qt,Nt]),(0,z.useEffect)(()=>{Jn.current=Fe},[Fe]);const Le=(0,z.useMemo)(()=>({activeIndex:Gt,containerId:St,disabled:tt,disableTransforms:qe,items:Fe,overIndex:Hn,useDragOverlay:sn,sortedRects:Ne(Fe,st),strategy:vt}),[Gt,St,tt.draggable,tt.droppable,qe,Fe,Hn,st,sn,vt]);return z.createElement(x.Provider,{value:Le},Ve)}const ne=Ke=>{let{id:Ve,items:it,activeIndex:rt,overIndex:vt}=Ke;return Ie(it,rt,vt).indexOf(Ve)},oe=Ke=>{let{containerId:Ve,isSorting:it,wasDragging:rt,index:vt,items:Rt,newIndex:$t,previousItems:Je,previousContainerId:st,transition:At}=Ke;return!At||!rt||Je!==Rt&&vt===$t?!1:it?!0:$t!==vt&&Ve===st},ae={duration:200,easing:"ease"},ue="transform",me=he.ux.Transition.toString({property:ue,duration:0,easing:"linear"}),fe={roleDescription:"sortable"};function Pe(Ke){let{disabled:Ve,index:it,node:rt,rect:vt}=Ke;const[Rt,$t]=(0,z.useState)(null),Je=(0,z.useRef)(it);return(0,he.LI)(()=>{if(!Ve&&it!==Je.current&&rt.current){const st=vt.current;if(st){const At=(0,se.VK)(rt.current,{ignoreTransform:!0}),Nt={x:st.left-At.left,y:st.top-At.top,scaleX:st.width/At.width,scaleY:st.height/At.height};(Nt.x||Nt.y)&&$t(Nt)}}it!==Je.current&&(Je.current=it)},[Ve,it,rt,vt]),(0,z.useEffect)(()=>{Rt&&$t(null)},[Rt]),Rt}function xe(Ke){let{animateLayoutChanges:Ve=oe,attributes:it,disabled:rt,data:vt,getNewIndex:Rt=ne,id:$t,strategy:Je,resizeObserverConfig:st,transition:At=ae}=Ke;const{items:Nt,containerId:St,activeIndex:sn,disabled:Fe,disableTransforms:Qt,sortedRects:Gt,overIndex:Hn,useDragOverlay:Jn,strategy:Re}=(0,z.useContext)(x),qe=Ee(rt,Fe),tt=Nt.indexOf($t),Le=(0,z.useMemo)(()=>_r({sortable:{containerId:St,index:tt,items:Nt}},vt),[St,vt,tt,Nt]),ft=(0,z.useMemo)(()=>Nt.slice(Nt.indexOf($t)),[Nt,$t]),{rect:gt,node:Oe,isOver:ve,setNodeRef:Ge}=(0,se.Zj)({id:$t,data:Le,disabled:qe.droppable,resizeObserverConfig:_r({updateMeasurementsFor:ft},st)}),{active:We,activatorEvent:we,activeNodeRect:mt,attributes:et,setNodeRef:Ht,listeners:Se,isDragging:ut,over:xt,setActivatorNodeRef:Ae,transform:He}=(0,se.O1)({id:$t,data:Le,attributes:_r(_r({},fe),it),disabled:qe.draggable}),ct=(0,he.HB)(Ge,Ht),wt=!!We,Zt=wt&&!Qt&&ie(sn)&&ie(Hn),mn=!Jn&&ut,dt=mn&&Zt?He:null,Dt=Je!=null?Je:Re,yt=Zt?dt!=null?dt:Dt({rects:Gt,activeNodeRect:mt,activeIndex:sn,overIndex:Hn,index:tt}):null,en=ie(sn)&&ie(Hn)?Rt({id:$t,items:Nt,activeIndex:sn,overIndex:Hn}):tt,Wt=We==null?void 0:We.id,un=(0,z.useRef)({activeId:Wt,items:Nt,newIndex:en,containerId:St}),Vn=Nt!==un.current.items,fn=Ve({active:We,containerId:St,isDragging:ut,isSorting:wt,id:$t,index:tt,items:Nt,newIndex:un.current.newIndex,previousItems:un.current.items,previousContainerId:un.current.containerId,transition:At,wasDragging:un.current.activeId!=null}),an=Pe({disabled:!fn,index:tt,node:Oe,rect:gt});return(0,z.useEffect)(()=>{wt&&un.current.newIndex!==en&&(un.current.newIndex=en),St!==un.current.containerId&&(un.current.containerId=St),Nt!==un.current.items&&(un.current.items=Nt)},[wt,en,St,Nt]),(0,z.useEffect)(()=>{if(Wt===un.current.activeId)return;if(Wt&&!un.current.activeId){un.current.activeId=Wt;return}const zt=setTimeout(()=>{un.current.activeId=Wt},50);return()=>clearTimeout(zt)},[Wt]),{active:We,activeIndex:sn,attributes:et,data:Le,rect:gt,index:tt,newIndex:en,items:Nt,isOver:ve,isSorting:wt,isDragging:ut,listeners:Se,node:Oe,overIndex:Hn,over:xt,setNodeRef:ct,setActivatorNodeRef:Ae,setDroppableNodeRef:Ge,setDraggableNodeRef:Ht,transform:an!=null?an:yt,transition:Un()};function Un(){if(an||Vn&&un.current.newIndex===tt)return me;if(!(mn&&!(0,he.vd)(we)||!At)&&(wt||fn))return he.ux.Transition.toString(li(_r({},At),{property:ue}))}}function Ee(Ke,Ve){var it,rt;return typeof Ke=="boolean"?{draggable:Ke,droppable:!1}:{draggable:(it=Ke==null?void 0:Ke.draggable)!=null?it:Ve.draggable,droppable:(rt=Ke==null?void 0:Ke.droppable)!=null?rt:Ve.droppable}}function De(Ke){if(!Ke)return!1;const Ve=Ke.data.current;return!!(Ve&&"sortable"in Ve&&typeof Ve.sortable=="object"&&"containerId"in Ve.sortable&&"items"in Ve.sortable&&"index"in Ve.sortable)}const _e=[se.g4.Down,se.g4.Right,se.g4.Up,se.g4.Left],pt=(Ke,Ve)=>{let{context:{active:it,collisionRect:rt,droppableRects:vt,droppableContainers:Rt,over:$t,scrollableAncestors:Je}}=Ve;if(_e.includes(Ke.code)){if(Ke.preventDefault(),!it||!rt)return;const st=[];Rt.getEnabled().forEach(St=>{if(!St||St!=null&&St.disabled)return;const sn=vt.get(St.id);if(sn)switch(Ke.code){case KeyboardCode.Down:rt.top<sn.top&&st.push(St);break;case KeyboardCode.Up:rt.top>sn.top&&st.push(St);break;case KeyboardCode.Left:rt.left>sn.left&&st.push(St);break;case KeyboardCode.Right:rt.left<sn.left&&st.push(St);break}});const At=closestCorners({active:it,collisionRect:rt,droppableRects:vt,droppableContainers:st,pointerCoordinates:null});let Nt=getFirstCollision(At,"id");if(Nt===($t==null?void 0:$t.id)&&At.length>1&&(Nt=At[1].id),Nt!=null){const St=Rt.get(it.id),sn=Rt.get(Nt),Fe=sn?vt.get(sn.id):null,Qt=sn==null?void 0:sn.node.current;if(Qt&&Fe&&St&&sn){const Hn=getScrollableAncestors(Qt).some((ft,gt)=>Je[gt]!==ft),Jn=Be(St,sn),Re=$e(St,sn),qe=Hn||!Jn?{x:0,y:0}:{x:Re?rt.width-Fe.width:0,y:Re?rt.height-Fe.height:0},tt={x:Fe.left,y:Fe.top};return qe.x&&qe.y?tt:subtract(tt,qe)}}}};function Be(Ke,Ve){return!De(Ke)||!De(Ve)?!1:Ke.data.current.sortable.containerId===Ve.data.current.sortable.containerId}function $e(Ke,Ve){return!De(Ke)||!De(Ve)||!Be(Ke,Ve)?!1:Ke.data.current.sortable.index<Ve.data.current.sortable.index}},35241:function(Ct,Pt,te){"use strict";te.d(Pt,{$X:function(){return oe},D9:function(){return b},DC:function(){return fe},Ey:function(){return re},FJ:function(){return Ie},Gj:function(){return a},HB:function(){return se},IH:function(){return ne},Jj:function(){return Ne},LI:function(){return ze},Ld:function(){return x},Nq:function(){return he},Re:function(){return nt},UG:function(){return be},Yz:function(){return ye},qk:function(){return ie},r3:function(){return Ze},so:function(){return Ee},ux:function(){return Pe},vZ:function(){return je},vd:function(){return ue},wm:function(){return y},zX:function(){return Me}});var z=te(59301);function se(){for(var De=arguments.length,_e=new Array(De),pt=0;pt<De;pt++)_e[pt]=arguments[pt];return(0,z.useMemo)(()=>Be=>{_e.forEach($e=>$e(Be))},_e)}const he=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined";function Ie(De){const _e=Object.prototype.toString.call(De);return _e==="[object Window]"||_e==="[object global]"}function be(De){return"nodeType"in De}function Ne(De){var _e,pt;return De?Ie(De)?De:be(De)&&(_e=(pt=De.ownerDocument)==null?void 0:pt.defaultView)!=null?_e:window:window}function ie(De){const{Document:_e}=Ne(De);return De instanceof _e}function nt(De){return Ie(De)?!1:De instanceof Ne(De).HTMLElement}function je(De){return De instanceof Ne(De).SVGElement}function Ze(De){return De?Ie(De)?De.document:be(De)?ie(De)?De:nt(De)||je(De)?De.ownerDocument:document:document:document}const ze=he?z.useLayoutEffect:z.useEffect;function Me(De){const _e=(0,z.useRef)(De);return ze(()=>{_e.current=De}),(0,z.useCallback)(function(){for(var pt=arguments.length,Be=new Array(pt),$e=0;$e<pt;$e++)Be[$e]=arguments[$e];return _e.current==null?void 0:_e.current(...Be)},[])}function ye(){const De=(0,z.useRef)(null),_e=(0,z.useCallback)((Be,$e)=>{De.current=setInterval(Be,$e)},[]),pt=(0,z.useCallback)(()=>{De.current!==null&&(clearInterval(De.current),De.current=null)},[]);return[_e,pt]}function re(De,_e){_e===void 0&&(_e=[De]);const pt=(0,z.useRef)(De);return ze(()=>{pt.current!==De&&(pt.current=De)},_e),pt}function a(De,_e){const pt=(0,z.useRef)();return(0,z.useMemo)(()=>{const Be=De(pt.current);return pt.current=Be,Be},[..._e])}function y(De){const _e=Me(De),pt=(0,z.useRef)(null),Be=(0,z.useCallback)($e=>{$e!==pt.current&&(_e==null||_e($e,pt.current)),pt.current=$e},[]);return[pt,Be]}function b(De){const _e=(0,z.useRef)();return(0,z.useEffect)(()=>{_e.current=De},[De]),_e.current}let E={};function x(De,_e){return(0,z.useMemo)(()=>{if(_e)return _e;const pt=E[De]==null?0:E[De]+1;return E[De]=pt,De+"-"+pt},[De,_e])}function ee(De){return function(_e){for(var pt=arguments.length,Be=new Array(pt>1?pt-1:0),$e=1;$e<pt;$e++)Be[$e-1]=arguments[$e];return Be.reduce((Ke,Ve)=>{const it=Object.entries(Ve);for(const[rt,vt]of it){const Rt=Ke[rt];Rt!=null&&(Ke[rt]=Rt+De*vt)}return Ke},_r({},_e))}}const ne=ee(1),oe=ee(-1);function ae(De){return"clientX"in De&&"clientY"in De}function ue(De){if(!De)return!1;const{KeyboardEvent:_e}=Ne(De.target);return _e&&De instanceof _e}function me(De){if(!De)return!1;const{TouchEvent:_e}=Ne(De.target);return _e&&De instanceof _e}function fe(De){if(me(De)){if(De.touches&&De.touches.length){const{clientX:_e,clientY:pt}=De.touches[0];return{x:_e,y:pt}}else if(De.changedTouches&&De.changedTouches.length){const{clientX:_e,clientY:pt}=De.changedTouches[0];return{x:_e,y:pt}}}return ae(De)?{x:De.clientX,y:De.clientY}:null}const Pe=Object.freeze({Translate:{toString(De){if(!De)return;const{x:_e,y:pt}=De;return"translate3d("+(_e?Math.round(_e):0)+"px, "+(pt?Math.round(pt):0)+"px, 0)"}},Scale:{toString(De){if(!De)return;const{scaleX:_e,scaleY:pt}=De;return"scaleX("+_e+") scaleY("+pt+")"}},Transform:{toString(De){if(De)return[Pe.Translate.toString(De),Pe.Scale.toString(De)].join(" ")}},Transition:{toString(De){let{property:_e,duration:pt,easing:Be}=De;return _e+" "+pt+"ms "+Be}}}),xe="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function Ee(De){return De.matches(xe)?De:De.querySelector(xe)}},14973:function(Ct,Pt){"use strict";Pt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},55858:function(Ct,Pt){"use strict";Pt.Z={flex_box_center:"flex_box_center___oaxfO",flex_space_between:"flex_space_between___NQ5Gm",flex_box_vertical_center:"flex_box_vertical_center___UGzY9",flex_box_center_end:"flex_box_center_end___SnN1r",flex_box_column:"flex_box_column___c0981",right:"right___sOpmg",title:"title___Nmi5q",titles:"titles___PaouY",tips:"tips___h2FE4"}},4237:function(Ct,Pt){"use strict";Pt.Z={flex_box_center:"flex_box_center___eQ57b",flex_space_between:"flex_space_between___PVjBV",flex_box_vertical_center:"flex_box_vertical_center___ghTL_",flex_box_center_end:"flex_box_center_end___z8oKm",flex_box_column:"flex_box_column___JQV5n",title:"title___w80Ja",workListTabWrap:"workListTabWrap___YRwm7",workListTabButton:"workListTabButton___ebGCB",tables:"tables___AYvHM",checkboxgroup:"checkboxgroup___fZHgL"}},12750:function(Ct,Pt){"use strict";Pt.Z={flex_box_center:"flex_box_center___IBr6x",flex_space_between:"flex_space_between___n2Iz0",flex_box_vertical_center:"flex_box_vertical_center___1umwO",flex_box_center_end:"flex_box_center_end___SRZYb",flex_box_column:"flex_box_column___b90Da",form:"form___V3fAH",title_icon:"title_icon____uDZy",title:"title___RxKwK",content:"content___vFT5m",pubColSty:"pubColSty___dfLkL",selectSty:"selectSty____Wuek",borderSty:"borderSty___EuFYV",delSty:"delSty___AdEeI",delBorder:"delBorder___vcTJc",copHover:"copHover___JVVXI",multiple_select:"multiple_select___ZMPhl",work_checkbox_group:"work_checkbox_group___sGLxY"}},56584:function(Ct,Pt){"use strict";Pt.Z={flex_box_center:"flex_box_center___SF0m3",flex_space_between:"flex_space_between___ChLjp",flex_box_vertical_center:"flex_box_vertical_center____l_EF",flex_box_center_end:"flex_box_center_end___YcZNu",flex_box_column:"flex_box_column___R9dNq",downloadbutton:"downloadbutton___oEXJW",configWorkContainer:"configWorkContainer___CHUrh"}},11801:function(Ct,Pt,te){"use strict";var z=te(59301),se=Object.defineProperty,he=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,Ne=(je,Ze,ze)=>Ze in je?se(je,Ze,{enumerable:!0,configurable:!0,writable:!0,value:ze}):je[Ze]=ze,ie=(je,Ze)=>{for(var ze in Ze||(Ze={}))Ie.call(Ze,ze)&&Ne(je,ze,Ze[ze]);if(he)for(var ze of he(Ze))be.call(Ze,ze)&&Ne(je,ze,Ze[ze]);return je};const nt=je=>React.createElement("svg",ie({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},je),React.createElement("path",{fill:"#F7B500",d:"M7 4c3.899 0 7 3.141 7 7s-3.101 7-7 7-7-3.141-7-7 3.101-7 7-7Zm1 3H6.395a3.501 3.501 0 0 1-.857 1.245c-.32.294-.752.551-1.297.772L4 9.109V10.9c.448-.154.82-.315 1.117-.483.222-.126.45-.282.685-.466l.236-.194V15H8V7ZM4.812 0c.175 0 .35.16.438.318l1.313 2.309s-2.8.16-4.463 1.672L.088.716C0 .636 0 .557 0 .478 0 .159.263 0 .525 0Zm8.663 0c.263 0 .525.239.525.478 0 .08 0 .159-.088.238L11.9 4.22c-1.662-1.433-4.463-1.592-4.463-1.592L8.75.318C8.75.16 8.925 0 9.188 0Z"}));Pt.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI+PHBhdGggZmlsbD0iI0Y3QjUwMCIgZD0iTTcgNGMzLjg5OSAwIDcgMy4xNDEgNyA3cy0zLjEwMSA3LTcgNy03LTMuMTQxLTctNyAzLjEwMS03IDctN1ptMSAzSDYuMzk1YTMuNTAxIDMuNTAxIDAgMCAxLS44NTcgMS4yNDVjLS4zMi4yOTQtLjc1Mi41NTEtMS4yOTcuNzcyTDQgOS4xMDlWMTAuOWMuNDQ4LS4xNTQuODItLjMxNSAxLjExNy0uNDgzLjIyMi0uMTI2LjQ1LS4yODIuNjg1LS40NjZsLjIzNi0uMTk0VjE1SDhWN1pNNC44MTIgMGMuMTc1IDAgLjM1LjE2LjQzOC4zMThsMS4zMTMgMi4zMDlzLTIuOC4xNi00LjQ2MyAxLjY3MkwuMDg4LjcxNkMwIC42MzYgMCAuNTU3IDAgLjQ3OCAwIC4xNTkuMjYzIDAgLjUyNSAwWm04LjY2MyAwYy4yNjMgMCAuNTI1LjIzOS41MjUuNDc4IDAgLjA4IDAgLjE1OS0uMDg4LjIzOEwxMS45IDQuMjJjLTEuNjYyLTEuNDMzLTQuNDYzLTEuNTkyLTQuNDYzLTEuNTkyTDguNzUuMzE4QzguNzUuMTYgOC45MjUgMCA5LjE4OCAwWiIvPjwvc3ZnPg=="},55162:function(Ct,Pt,te){"use strict";var z=te(59301),se=Object.defineProperty,he=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,Ne=(je,Ze,ze)=>Ze in je?se(je,Ze,{enumerable:!0,configurable:!0,writable:!0,value:ze}):je[Ze]=ze,ie=(je,Ze)=>{for(var ze in Ze||(Ze={}))Ie.call(Ze,ze)&&Ne(je,ze,Ze[ze]);if(he)for(var ze of he(Ze))be.call(Ze,ze)&&Ne(je,ze,Ze[ze]);return je};const nt=je=>React.createElement("svg",ie({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},je),React.createElement("path",{fill:"#B9C4CF",d:"M7 4c3.899 0 7 3.141 7 7s-3.101 7-7 7-7-3.141-7-7 3.101-7 7-7Zm.05 3c-.675 0-1.203.092-1.584.276a2.056 2.056 0 0 0-.887.794c-.18.296-.31.691-.394 1.186l-.038.255 2.004.177c.055-.443.164-.753.326-.928a.814.814 0 0 1 .626-.263.81.81 0 0 1 .611.255c.162.17.243.375.243.614 0 .222-.081.456-.245.703-.164.247-.539.608-1.124 1.084-.96.776-1.613 1.45-1.962 2.02a4.363 4.363 0 0 0-.588 1.552L4 15h6v-1.781H6.877c.184-.197.343-.356.479-.478.136-.122.405-.334.808-.638.677-.523 1.145-1.002 1.401-1.438.257-.437.386-.895.386-1.374 0-.45-.112-.858-.336-1.22a2.043 2.043 0 0 0-.924-.808C8.301 7.088 7.753 7 7.05 7ZM4.812 0c.175 0 .35.16.437.318l1.313 2.309s-2.8.16-4.463 1.672L.088.716C0 .636 0 .557 0 .478 0 .159.263 0 .525 0Zm8.662 0c.263 0 .525.239.525.478 0 .08 0 .159-.088.238L11.9 4.22c-1.662-1.433-4.463-1.592-4.463-1.592L8.75.318C8.75.16 8.925 0 9.188 0Z"}));Pt.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI+PHBhdGggZmlsbD0iI0I5QzRDRiIgZD0iTTcgNGMzLjg5OSAwIDcgMy4xNDEgNyA3cy0zLjEwMSA3LTcgNy03LTMuMTQxLTctNyAzLjEwMS03IDctN1ptLjA1IDNjLS42NzUgMC0xLjIwMy4wOTItMS41ODQuMjc2YTIuMDU2IDIuMDU2IDAgMCAwLS44ODcuNzk0Yy0uMTguMjk2LS4zMS42OTEtLjM5NCAxLjE4NmwtLjAzOC4yNTUgMi4wMDQuMTc3Yy4wNTUtLjQ0My4xNjQtLjc1My4zMjYtLjkyOGEuODE0LjgxNCAwIDAgMSAuNjI2LS4yNjMuODEuODEgMCAwIDEgLjYxMS4yNTVjLjE2Mi4xNy4yNDMuMzc1LjI0My42MTQgMCAuMjIyLS4wODEuNDU2LS4yNDUuNzAzLS4xNjQuMjQ3LS41MzkuNjA4LTEuMTI0IDEuMDg0LS45Ni43NzYtMS42MTMgMS40NS0xLjk2MiAyLjAyYTQuMzYzIDQuMzYzIDAgMCAwLS41ODggMS41NTJMNCAxNWg2di0xLjc4MUg2Ljg3N2MuMTg0LS4xOTcuMzQzLS4zNTYuNDc5LS40NzguMTM2LS4xMjIuNDA1LS4zMzQuODA4LS42MzguNjc3LS41MjMgMS4xNDUtMS4wMDIgMS40MDEtMS40MzguMjU3LS40MzcuMzg2LS44OTUuMzg2LTEuMzc0IDAtLjQ1LS4xMTItLjg1OC0uMzM2LTEuMjJhMi4wNDMgMi4wNDMgMCAwIDAtLjkyNC0uODA4QzguMzAxIDcuMDg4IDcuNzUzIDcgNy4wNSA3Wk00LjgxMiAwYy4xNzUgMCAuMzUuMTYuNDM3LjMxOGwxLjMxMyAyLjMwOXMtMi44LjE2LTQuNDYzIDEuNjcyTC4wODguNzE2QzAgLjYzNiAwIC41NTcgMCAuNDc4IDAgLjE1OS4yNjMgMCAuNTI1IDBabTguNjYyIDBjLjI2MyAwIC41MjUuMjM5LjUyNS40NzggMCAuMDggMCAuMTU5LS4wODguMjM4TDExLjkgNC4yMmMtMS42NjItMS40MzMtNC40NjMtMS41OTItNC40NjMtMS41OTJMOC43NS4zMThDOC43NS4xNiA4LjkyNSAwIDkuMTg4IDBaIi8+PC9zdmc+"},83322:function(Ct,Pt,te){"use strict";var z=te(59301),se=Object.defineProperty,he=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,Ne=(je,Ze,ze)=>Ze in je?se(je,Ze,{enumerable:!0,configurable:!0,writable:!0,value:ze}):je[Ze]=ze,ie=(je,Ze)=>{for(var ze in Ze||(Ze={}))Ie.call(Ze,ze)&&Ne(je,ze,Ze[ze]);if(he)for(var ze of he(Ze))be.call(Ze,ze)&&Ne(je,ze,Ze[ze]);return je};const nt=je=>React.createElement("svg",ie({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},je),React.createElement("path",{fill:"#D09F18",d:"M7 4c3.899 0 7 3.141 7 7s-3.101 7-7 7-7-3.141-7-7 3.101-7 7-7Zm-.062 3c-.826 0-1.464.172-1.915.517-.4.307-.686.733-.856 1.278l-.058.21 1.908.364c.052-.383.153-.651.302-.804a.772.772 0 0 1 .58-.23c.23 0 .412.07.544.211.133.14.199.33.199.565a.88.88 0 0 1-.265.638.89.89 0 0 1-.662.27 1.35 1.35 0 0 1-.158-.012l-.104-.015-.105 1.536c.278-.085.496-.127.654-.127.298 0 .533.099.707.296.173.197.26.475.26.833 0 .352-.09.634-.27.845a.852.852 0 0 1-.677.316.862.862 0 0 1-.636-.25c-.143-.144-.254-.384-.333-.723l-.036-.177L4 12.826c.132.482.321.882.567 1.2.246.319.56.56.942.726.381.165.902.248 1.563.248.677 0 1.224-.112 1.64-.335.416-.223.735-.542.956-.955.221-.414.332-.845.332-1.296 0-.359-.067-.667-.2-.926a1.633 1.633 0 0 0-.563-.625c-.149-.099-.363-.185-.644-.259.347-.204.606-.441.778-.712a1.66 1.66 0 0 0 .257-.908 1.82 1.82 0 0 0-.634-1.42C8.571 7.189 7.886 7 6.938 7ZM4.813 0c.175 0 .35.17.437.338l1.313 2.453s-2.8.17-4.463 1.776L.088.761C0 .677 0 .592 0 .507 0 .17.263 0 .525 0Zm8.662 0c.263 0 .525.254.525.507 0 .085 0 .17-.088.254L11.9 4.483C10.238 2.96 7.437 2.79 7.437 2.79L8.75.338C8.75.17 8.925 0 9.188 0Z"}));Pt.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI+PHBhdGggZmlsbD0iI0QwOUYxOCIgZD0iTTcgNGMzLjg5OSAwIDcgMy4xNDEgNyA3cy0zLjEwMSA3LTcgNy03LTMuMTQxLTctNyAzLjEwMS03IDctN1ptLS4wNjIgM2MtLjgyNiAwLTEuNDY0LjE3Mi0xLjkxNS41MTctLjQuMzA3LS42ODYuNzMzLS44NTYgMS4yNzhsLS4wNTguMjEgMS45MDguMzY0Yy4wNTItLjM4My4xNTMtLjY1MS4zMDItLjgwNGEuNzcyLjc3MiAwIDAgMSAuNTgtLjIzYy4yMyAwIC40MTIuMDcuNTQ0LjIxMS4xMzMu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TA3IDAgLjA4NSAwIC4xNy0uMDg4LjI1NEwxMS45IDQuNDgzQzEwLjIzOCAyLjk2IDcuNDM3IDIuNzkgNy40MzcgMi43OUw4Ljc1LjMzOEM4Ljc1LjE3IDguOTI1IDAgOS4xODggMFoiLz48L3N2Zz4="},64242:function(){"use strict";function Ct(re,a,y,b){y===void 0&&(y=0),b===void 0&&(b=1/0),this._name=re,this._defaultValue=a,this._minimum=y,this._maximum=b}Object.defineProperty(Ct.prototype,"name",{get:function(){return this._name},set:function(re){if(typeof re!="string"||re==="")throw new Error("Shape name must be a valid string.");this._name=re}}),Object.defineProperty(Ct.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(re){if(typeof re!="number"||isNaN(re))throw new Error("The default value must be a real number, not: "+re);this._defaultValue=re}}),Object.defineProperty(Ct.prototype,"minimum",{get:function(){return this._minimum},set:function(re){if(typeof re!="number"||isNaN(re))throw new Error("Minimum must be a real number, not: "+re);this._minimum=re}}),Object.defineProperty(Ct.prototype,"maximum",{get:function(){return this._maximum},set:function(re){if(typeof re!="number"||isNaN(re))throw new Error("Maximum must be a real number, not: "+re);this._maximum=re}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(re,a){var y=go.Shape._FigureParameters[re];return y?y[a]:null},go.Shape.setFigureParameter=function(re,a,y){if(!(y instanceof Ct))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValue<y.minimum||y.defaultValue>y.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var b=go.Shape._FigureParameters[re];b||(b=[],go.Shape._FigureParameters[re]=b),b[a]=y};var Pt=[];function te(re,a){var y=Pt.pop();return y===void 0?new go.Point(re,a):(y.x=re,y.y=a,y)}function z(){var re=Pt.pop();return re===void 0?new go.Point:re}function se(re){Pt.push(re)}function he(re,a,y,b,E,x,ee,ne,oe){oe||(oe=new go.Point);var ae=re-y,ue=E-ee,me=NaN,fe=NaN;if(ae===0)if(ue===0)re===y&&(me=re,fe=a);else{var Pe=(x-ne)/ue,xe=x-Pe*E;me=re,fe=Pe*me+xe}else if(ue===0){var Ee=(a-b)/ae,De=a-Ee*re;me=E,fe=Ee*me+De}else{var Ee=(a-b)/ae,Pe=(x-ne)/ue,De=a-Ee*re,xe=x-Pe*E;me=(xe-De)/(Ee-Pe),fe=Ee*me+De}return oe.x=me,oe.y=fe,oe}function Ie(re,a,y,b,E,x,ee,ne,oe,ae,ue,me,fe,Pe){var xe=1-oe,Ee=oe,De=re*xe+y*Ee,_e=a*xe+b*Ee,pt=y*xe+E*Ee,Be=b*xe+x*Ee,$e=E*xe+ee*Ee,Ke=x*xe+ne*Ee,Ve=De*xe+pt*Ee,it=_e*xe+Be*Ee,rt=pt*xe+$e*Ee,vt=Be*xe+Ke*Ee,Rt=Ve*xe+rt*Ee,$t=it*xe+vt*Ee;ae.x=De,ae.y=_e,ue.x=Ve,ue.y=it,me.x=Rt,me.y=$t,fe.x=rt,fe.y=vt,Pe.x=$e,Pe.y=Ke}var be=new go.Spot(.156,.156),Ne=new go.Spot(.844,.844),ie=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Ct("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,a/3),b=Math.min(b,y/3);var E=b*ie,x=new go.Geometry().add(new go.PathFigure(b,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-E,0,a,E)).add(new go.PathSegment(go.PathSegment.Line,a,y-b)).add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-E,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,E,y,0,y-E)).add(new go.PathSegment(go.PathSegment.Line,0,b)).add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close()));return E>1&&(x.spot1=new go.Spot(0,0,E,E),x.spot2=new go.Spot(1,1,-E,-E)),x}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(re,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(re,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(re,a,y){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=y/2,b.endX=a,b.endY=y/2,b}),go.Shape.defineFigureGenerator("LineV",function(re,a,y){var b=new go.Geometry(go.Geometry.Line);return b.startX=a/2,b.startY=0,b.endX=a/2,b.endY=y,b}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(re,a,y){var b=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(b*a,(1-b)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*y)).add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,(1-b)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(re,a,y){var b=a/2,E=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close()));return E.spot1=be,E.spot2=Ne,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(re,a,y){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}),go.Shape.defineFigureGenerator("Line2",function(re,a,y){var b=new go.Geometry(go.Geometry.Line);return b.startX=a,b.startY=0,b.endX=0,b.endY=y,b}),go.Shape.defineFigureGenerator("Curve1",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,ie*a,0,a,(1-ie)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,ie*y,(1-ie)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(re,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,ie*y,ie*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(re,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-ie)*a,0,0,(1-ie)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(re,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new Ct("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var E=Math.abs(b)*a;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E<a/2&&x.setSpots(E/a,0,(a-E)/a,1),x}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new Ct("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)?b=10:b<-a?b=-a:b>a&&(b=a);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E<a/2&&x.setSpots(E/a,0,(a-E)/a,1),x}}),go.Shape.setFigureParameter("Trapezoid1",0,new Ct("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)?b=.2:b<.5?b=-.5:b>.5&&(b=.5);var E=Math.abs(b)*a;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E<a/2&&x.setSpots(E/a,0,(a-E)/a,1),x}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new Ct("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)?b=20:b<-a?b=-a/2:b>a&&(b=a/2);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E<a/2&&x.setSpots(E/a,0,(a-E)/a,1),x}}),go.Shape.setFigureParameter("ManualOperation",0,new Ct("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)?b=10:b<-a?b=-a/2:b>a&&(b=a/2);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())):x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),E<a/2&&x.setSpots(E/a,0,(a-E)/a,1),x}});var nt=[];function je(){var re=nt.pop();return re===void 0?[]:re}function Ze(re){re.length=0,nt.push(re)}function ze(re){for(var a=je(),y=.5,b=.5,E=Math.PI*1.5,x=0,ee=0;ee<re;ee++)x=2*Math.PI/re*ee+E,a[ee]=new go.Point(b+y*Math.cos(x),b+y*Math.sin(x));return a.push(a[0]),a}function Me(re){var a=ye(re),y=je();y[0]=a[0];for(var b=1,E=1;b<a.length;b+=2,E+=3)y[E]=a[b],y[E+1]=a[b],y[E+2]=a[b+1];return Ze(a),y}function ye(re){for(var a=ze(re),y=je(),b=Math.floor(a.length/2),E=a.length-1,x=re%2===0?2:1,ee=0;ee<E;ee++){var ne=a[ee],oe=a[ee+1],ae=a[(b+ee-1)%E],ue=a[(b+ee+x)%E];y[ee*2]=ne,y[ee*2+1]=he(ne.x,ne.y,ae.x,ae.y,oe.x,oe.y,ue.x,ue.y,new go.Point)}return y[y.length]=y[0],Ze(a),y}go.Shape.defineFigureGenerator("Pentagon",function(re,a,y){var b=ze(5),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<5;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Ze(b),E.spot1=new go.Spot(.2,.22),E.spot2=new go.Spot(.8,.9),E}),go.Shape.defineFigureGenerator("Hexagon",function(re,a,y){var b=ze(6),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<6;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Ze(b),E.spot1=new go.Spot(.07,.25),E.spot2=new go.Spot(.93,.75),E}),go.Shape.defineFigureGenerator("Heptagon",function(re,a,y){var b=ze(7),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<7;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Ze(b),E.spot1=new go.Spot(.2,.15),E.spot2=new go.Spot(.8,.85),E}),go.Shape.defineFigureGenerator("Octagon",function(re,a,y){var b=ze(8),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<8;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Ze(b),E.spot1=new go.Spot(.15,.15),E.spot2=new go.Spot(.85,.85),E}),go.Shape.defineFigureGenerator("Nonagon",function(re,a,y){var b=ze(9),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<9;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Ze(b),E.spot1=new go.Spot(.17,.13),E.spot2=new go.Spot(.82,.82),E}),go.Shape.defineFigureGenerator("Decagon",function(re,a,y){var b=ze(10),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<10;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Ze(b),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("Dodecagon",function(re,a,y){var b=ze(12),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<12;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Ze(b),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("FivePointedStar",function(re,a,y){var b=ye(5),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<10;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Ze(b),E.spot1=new go.Spot(.266,.333),E.spot2=new go.Spot(.733,.733),E}),go.Shape.defineFigureGenerator("SixPointedStar",function(re,a,y){var b=ye(6),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<12;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Ze(b),E.spot1=new go.Spot(.17,.25),E.spot2=new go.Spot(.83,.75),E}),go.Shape.defineFigureGenerator("SevenPointedStar",function(re,a,y){var b=ye(7),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<14;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Ze(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("EightPointedStar",function(re,a,y){var b=ye(8),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<16;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Ze(b),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("NinePointedStar",function(re,a,y){var b=ye(9),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<18;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Ze(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("TenPointedStar",function(re,a,y){var b=ye(10),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<20;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Ze(b),E.spot1=new go.Spot(.281,.261),E.spot2=new go.Spot(.723,.748),E}),go.Shape.defineFigureGenerator("FivePointedBurst",function(re,a,y){var b=Me(5),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*a,b[ee+2].y*y,b[ee].x*a,b[ee].y*y,b[ee+1].x*a,b[ee+1].y*y));return x.segments.last().close(),Ze(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("SixPointedBurst",function(re,a,y){var b=Me(6),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*a,b[ee+2].y*y,b[ee].x*a,b[ee].y*y,b[ee+1].x*a,b[ee+1].y*y));return x.segments.last().close(),Ze(b),E.spot1=new go.Spot(.17,.222),E.spot2=new go.Spot(.833,.777),E}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(re,a,y){var b=Me(7),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*a,b[ee+2].y*y,b[ee].x*a,b[ee].y*y,b[ee+1].x*a,b[ee+1].y*y));return x.segments.last().close(),Ze(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("EightPointedBurst",function(re,a,y){var b=Me(8),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*a,b[ee+2].y*y,b[ee].x*a,b[ee].y*y,b[ee+1].x*a,b[ee+1].y*y));return x.segments.last().close(),Ze(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("NinePointedBurst",function(re,a,y){var b=Me(9),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*a,b[ee+2].y*y,b[ee].x*a,b[ee].y*y,b[ee+1].x*a,b[ee+1].y*y));return x.segments.last().close(),Ze(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("TenPointedBurst",function(re,a,y){var b=Me(10),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*a,b[ee+2].y*y,b[ee].x*a,b[ee].y*y,b[ee+1].x*a,b[ee+1].y*y));return x.segments.last().close(),Ze(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.setFigureParameter("FramedRectangle",0,new Ct("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new Ct("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(re,a,y){var b=re?re.parameter1:NaN,E=re?re.parameter2:NaN;isNaN(b)&&(b=8),isNaN(E)&&(E=8);var x=new go.Geometry,ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b<a/2&&E<y/2&&(ee.add(new go.PathSegment(go.PathSegment.Move,b,E)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y-E)),ee.add(new go.PathSegment(go.PathSegment.Line,a-b,y-E)),ee.add(new go.PathSegment(go.PathSegment.Line,a-b,E).close())),x.setSpots(0,0,1,1,b,E,-b,-E),x}),go.Shape.setFigureParameter("Ring",0,new Ct("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=8);var E=a/2,x=new go.Geometry,ee=new go.PathFigure(a,a/2,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Arc,0,360,E,E,E,E).close());var ne=Math.max(E-b,0);return ne>0&&(ee.add(new go.PathSegment(go.PathSegment.Move,a/2+ne,a/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,ne,ne).close())),x.spot1=be,x.spot2=Ne,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Cloud",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*y,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*y,-.09239631*a,.07836421*y,.1406031*a,-.0542823*y)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*y,.2450511*a,-.00697547*y,.3776197*a,-.01112067*y)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*y,.4539471*a,0,.6066018*a,-.02526587*y)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*y,.6914277*a,-.01904177*y,.8921095*a,-.01220843*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*y,1.036446*a,.04105738*y,1.020377*a,.3022052*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*y,1.04448*a,.360238*y,.992256*a,.5219009*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*y,1.032337*a,.5771781*y,1.018411*a,.8120651*y)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*y,1.028411*a,.9571472*y,.8556702*a,1.052487*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*y,.7431877*a,1.009325*y,.5624123*a,1.021761*y)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*y,.4820677*a,1.031761*y,.3030112*a,1.002796*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*y,.2329994*a,1.01518*y,.03213784*a,1.01518*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*y,-.02812061*a,.9032597*y,-.01205169*a,.6835638*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*y,-.01812061*a,.6089503*y,-.00606892*a,.4555777*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*y,-.01606892*a,.3892545*y,-.01205169*a,.1944299*y))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(re,a,y){var b=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(b*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,b*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)).add(new go.PathSegment(go.PathSegment.Line,b*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y)).add(new go.PathSegment(go.PathSegment.Line,0,b*y).close())).setSpots(b/2,b/2,1-b/2,1-b/2)}),go.Shape.setFigureParameter("Pie",0,new Ct("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Ct("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(re,a,y){var b=re?re.parameter1:NaN,E=re?re.parameter2:NaN;isNaN(b)&&(b=0),isNaN(E)&&(E=315);var x=b%360;x<0&&(x+=360);var ee=E%360,ne=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ne,ne).add(new go.PathSegment(go.PathSegment.Arc,x,ee,ne,ne,ne,ne).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(re,a,y){var b=ie/Math.SQRT2*.5,E=Math.SQRT2/2,x=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,E*a,x*y,a,(1-b)*y,(E+b)*a,(x+b)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var E=Math.min(b,a)/2,x=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(x-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+E,0)).add(new go.PathSegment(go.PathSegment.Line,x+E,ee-E)).add(new go.PathSegment(go.PathSegment.Line,a,ee-E)).add(new go.PathSegment(go.PathSegment.Line,a,ee+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,ee+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,y)).add(new go.PathSegment(go.PathSegment.Line,x-E,y)).add(new go.PathSegment(go.PathSegment.Line,x-E,ee+E)).add(new go.PathSegment(go.PathSegment.Line,0,ee+E)).add(new go.PathSegment(go.PathSegment.Line,0,ee-E)).add(new go.PathSegment(go.PathSegment.Line,x-E,ee-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=Math.min(b,a)/2,x=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(x-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+E,0)).add(new go.PathSegment(go.PathSegment.Line,x+E,ee-E)).add(new go.PathSegment(go.PathSegment.Line,a,ee-E)).add(new go.PathSegment(go.PathSegment.Line,a,ee+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,ee+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,y)).add(new go.PathSegment(go.PathSegment.Line,x-E,y)).add(new go.PathSegment(go.PathSegment.Line,x-E,ee+E)).add(new go.PathSegment(go.PathSegment.Line,0,ee+E)).add(new go.PathSegment(go.PathSegment.Line,0,ee-E)).add(new go.PathSegment(go.PathSegment.Line,x-E,ee-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new Ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(re,a,y){var b=re?re.parameter1:NaN;if((isNaN(b)||b<0)&&(b=30),a===0||y===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var x=a/2,ee=y/2,ne=Math.atan2(y,a),oe=b-Math.min(Math.cos(ne)*b/2,x),ae=b-Math.min(Math.sin(ne)*b/2,ee),E=new go.Geometry,ue=new go.PathFigure(oe,0,!0);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,x,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Line,a-oe,0)),ue.add(new go.PathSegment(go.PathSegment.Line,a,ae)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,a,y-ae)),ue.add(new go.PathSegment(go.PathSegment.Line,a-oe,y)),ue.add(new go.PathSegment(go.PathSegment.Line,x,.8*y)),ue.add(new go.PathSegment(go.PathSegment.Line,oe,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,y-ae)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new Ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=new go.Geometry,x=new go.PathFigure(.1*a,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),E}),go.Shape.setFigureParameter("SquareIBeam",0,new Ct("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,b*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,(1-b)*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,(1-b)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,b*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*y).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new Ct("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.5);var E=new go.Geometry,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-b)*a,.25*y,Math.abs(1-b)*a,.75*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*y,b*a,.25*y).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,ie*a,0,a,(.5-ie/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+ie/2)*y,ie*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,0,a,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*y,.5*a,.25*y).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,.1*a,.8*y,0,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.5*y,.9*a,.8*y).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*y)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.6*a,.2*y,a,.25*y)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*y,a,.8*y,.6*a,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,.5*a,.75*y,.55*a,.95*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*y,.45*a,.95*y,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.4*a,.8*y,0,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*y,0,.25*y,.4*a,.2*y).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.4*a,.6*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var x=.2,ee=.3,ne=0,oe=x*ie;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+x+ne)*y,(.5-x+ee)*a,(.5+oe+ne)*y,(.5-oe+ee)*a,(.5+x+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+ee)*a,(.5+ne)*y,(.5+oe+ee)*a,(.5+x+ne)*y,(.5+x+ee)*a,(.5+oe+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-x+ne)*y,(1-.5+x+ee)*a,(.5-oe+ne)*y,(.5+oe+ee)*a,(.5-x+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-oe+ee)*a,(.5-x+ne)*y,(.5-x+ee+.05)*a,(.5-oe+ne-.02)*y)),x=.2,ee=0,ne=-.3,oe=x*ie,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+ee)*a,(.5+ne)*y,(.5+oe+ee)*a,(.5+x+ne)*y,(.5+x+ee)*a,(.5+oe+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-x+ne)*y,(1-.5+x+ee)*a,(.5-oe+ne)*y,(.5+oe+ee)*a,(.5-x+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+ee)*a,(.5+ne)*y,(.5-oe+ee)*a,(.5-x+ne)*y,(.5-x+ee)*a,(.5-oe+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-oe+ee)*a,(.5+x+ne)*y,(.5-x+ee)*a,(.5+oe+ne)*y,(.5-oe+ee)*a,(.5+x+ne)*y)),x=.2,ee=-.3,ne=0,oe=x*ie,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-x+ne)*y,(1-.5+x+ee-.05)*a,(.5-oe+ne-.02)*y,(.5+oe+ee)*a,(.5-x+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+ee)*a,(.5+ne)*y,(.5-oe+ee)*a,(.5-x+ne)*y,(.5-x+ee)*a,(.5-oe+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+x+ne)*y,(.5-x+ee)*a,(.5+oe+ne)*y,(.5-oe+ee)*a,(.5+x+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+oe+ee)*a,(.5+x+ne)*y,(.5+x+ee)*a,(.5+oe+ne)*y).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*.5,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),E.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var x=.1,ee=.5,ne=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(ee+x)*a,ne*y)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*ee,y*ne,x*a,x*a).close()),E=new go.PathFigure(a*.5,0,!1),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ne=.75,E=new go.PathFigure((ee+x)*a,ne*y,!0),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*ee,y*ne,x*a,x*a).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(re,a,y){var b=.8535533905932737,E=.5*a,x=.5*y;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,E,x,E,x)).add(new go.PathSegment(go.PathSegment.Line,E,y)).add(new go.PathSegment(go.PathSegment.Move,E,x)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*y)).add(new go.PathSegment(go.PathSegment.Move,E,x)).add(new go.PathSegment(go.PathSegment.Line,b*a,b*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=.5,ee=.5,ne=.5,oe=new go.PathFigure(ee*a,(ne-x)*y);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-x)*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),x=.4,E=ie*.4;var ae=z(),ue=z(),me=z(),fe=z();Ie(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.42,ae,ue,me,fe,fe);var Pe=z(),xe=z(),Ee=z();Ie(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.58,fe,fe,Ee,Pe,xe);var De=z(),_e=z(),pt=z();Ie(ee,ne+x,ee-E,ne+x,ee-x,ne+E,ee-x,ne,.42,De,_e,pt,fe,fe);var Be=z(),$e=z(),Ke=z();return Ie(ee,ne+x,ee-E,ne+x,ee-x,ne+E,ee-x,ne,.58,fe,fe,Ke,Be,$e),oe.add(new go.PathSegment(go.PathSegment.Move,Ke.x*a,Ke.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,Be.x*a,Be.y*y,$e.x*a,$e.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-x)*y,(ee-x)*a,(ne-E)*y,(ee-E)*a,(ne-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,me.x*a,me.y*y,ae.x*a,ae.y*y,ue.x*a,ue.y*y)),oe.add(new go.PathSegment(go.PathSegment.Line,Ke.x*a,Ke.y*y).close()),oe.add(new go.PathSegment(go.PathSegment.Move,pt.x*a,pt.y*y)),oe.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,Pe.x*a,Pe.y*y,xe.x*a,xe.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee+x)*a,(ne+E)*y,(ee+E)*a,(ne+x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,pt.x*a,pt.y*y,De.x*a,De.y*y,_e.x*a,_e.y*y).close()),se(ae),se(ue),se(me),se(fe),se(Pe),se(xe),se(Ee),se(De),se(_e),se(pt),se(Be),se($e),se(Ke),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new Ct("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>a&&(b=a);var E=(a-b)/2,x=E+b;return new go.Geometry().add(new go.PathFigure(x,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,E,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,.55*y).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*y).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(re,a,y){var b=new go.Geometry,E=ie*.4,x=.4,ee=.5,ne=.5,oe=z(),ae=z(),ue=z(),me=z(),fe=new go.PathFigure((ee-x)*a,ne*y,!1);b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-x)*y,(ee-x)*a,(ne-E)*y,(ee-E)*a,(ne-x)*y)),Ie(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.44,ue,me,ae,oe,oe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*y,ue.x*a,ue.y*y,me.x*a,me.y*y));var Pe=te(ae.x,ae.y);Ie(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.56,oe,oe,ae,ue,me);var xe=te(ae.x,ae.y);fe.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.95*.9)*a,Pe.y*.1*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.85*a,Pe.y*.1*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),fe.add(new go.PathSegment(go.PathSegment.Line,(xe.x*.1+.9)*a,.15*y)),fe.add(new go.PathSegment(go.PathSegment.Line,(xe.x*.1+.9)*a,(xe.y*.1+.05*.9)*y)),fe.add(new go.PathSegment(go.PathSegment.Line,xe.x*a,xe.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,ue.x*a,ue.y*y,me.x*a,me.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee+x)*a,(ne+E)*y,(ee+E)*a,(ne+x)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,(ee-E)*a,(ne+x)*y,(ee-x)*a,(ne+E)*y)),x=.35,E=ie*.35;var Ee=new go.PathFigure(ee*a,(ne-x)*y,!1);b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-x)*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y));var De=new go.PathFigure((ee-x)*a,ne*y,!1);return b.add(De),se(oe),se(ae),se(ue),se(me),se(Pe),se(xe),b.spot1=new go.Spot(.202,.257),b.spot2=new go.Spot(.792,.739),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("GenderFemale",function(re,a,y){var b=new go.Geometry,E=.375,x=0,ee=-.125,ne=E*ie,oe=new go.PathFigure((.525+x)*a,(.5+E+ee)*y,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+x)*a,(.5+ee)*y,(.5+ne+x)*a,(.5+E+ee)*y,(.5+E+x)*a,(.5+ne+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5-E+ee)*y,(1-.5+E+x)*a,(.5-ne+ee)*y,(.5+ne+x)*a,(.5-E+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*a,(.5+ee)*y,(.5-ne+x)*a,(.5-E+ee)*y,(.5-E+x)*a,(.5-ne+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+x)*a,(.5+E+ee)*y,(.5-E+x)*a,(.5+ne+ee)*y,(.5-ne+x)*a,(.5+E+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),E=.325,x=0,ee=-.125,ne=E*ie;var oe=new go.PathFigure((1-.5+E+x)*a,(.5+ee)*y,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5+E+ee)*y,(.5+E+x)*a,(.5+ne+ee)*y,(.5+ne+x)*a,(.5+E+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*a,(.5+ee)*y,(.5-ne+x)*a,(.5+E+ee)*y,(.5-E+x)*a,(.5+ne+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5-E+ee)*y,(.5-E+x)*a,(.5-ne+ee)*y,(.5-ne+x)*a,(.5-E+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+x)*a,(.5+ee)*y,(.5+ne+x)*a,(.5-E+ee)*y,(1-.5+E+x)*a,(.5-ne+ee)*y));var oe=new go.PathFigure((.525+x)*a,(.5+E+ee)*y,!1);return b.add(oe),b.spot1=new go.Spot(.232,.136),b.spot2=new go.Spot(.682,.611),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicImplies",function(re,a,y){var b=re?re.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(re,a,y){var b=re?re.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,b*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,b*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LogicAnd",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(re,a,y){var b=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*y,.5*a,.5*y)));return b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicTruth",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Move,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Move,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)))}),go.Shape.defineFigureGenerator("LogicForAll",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,0,y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(re,a,y){var b=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,b*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,b*a,b*y,b*a,b*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(re,a,y){var b=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,b*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,b*a,b*y,b*a,b*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Ct("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Ct("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.3);var E=re?re.parameter2:NaN;isNaN(E)&&(E=.3);var x=(1-b)*a,ee=(.5-E/2)*y,ne=(.5+E/2)*y,oe=new go.Geometry,ae=new go.PathFigure(0,ee,!0);oe.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,x,ee)),ae.add(new go.PathSegment(go.PathSegment.Line,x,0)),ae.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ae.add(new go.PathSegment(go.PathSegment.Line,x,y)),ae.add(new go.PathSegment(go.PathSegment.Line,x,ne)),ae.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),oe.spot1=new go.Spot(0,ee/y);var ue=he(0,ne/y,1,ne/y,x/a,1,1,.5,z());return oe.spot2=new go.Spot(ue.x,ue.y),se(ue),oe}),go.Shape.setFigureParameter("Arrow2",0,new Ct("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Ct("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=30),b>a&&(b=a);var E=re?re.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,y/2);var x=a-b,ee=(y-E)/2,ne=ee+E,oe=new go.Geometry,ae=new go.PathFigure(0,ee,!0);oe.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,x,ee)),ae.add(new go.PathSegment(go.PathSegment.Line,x,0)),ae.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ae.add(new go.PathSegment(go.PathSegment.Line,x,y)),ae.add(new go.PathSegment(go.PathSegment.Line,x,ne)),ae.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),oe.spot1=new go.Spot(0,ee/y);var ue=he(0,ne/y,1,ne/y,x/a,1,1,.5,z());return oe.spot2=new go.Spot(ue.x,ue.y),se(ue),oe}),go.Shape.defineFigureGenerator("Chevron",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),b}),go.Shape.defineFigureGenerator("DoubleArrow",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),b}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Ct("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*y,x=(.5+b/2)*y,ee=new go.Geometry,ne=new go.PathFigure(a,.5*y,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*a,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var oe=he(0,.5,.3,0,0,E/y,.1,E/y,z());return ee.spot1=new go.Spot(oe.x,oe.y),oe=he(.7,1,1,.5,0,x/y,1,x/y,oe),ee.spot2=new go.Spot(oe.x,oe.y),se(oe),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Ct("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Ct("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=40);var E=re?re.parameter2:NaN;isNaN(E)&&(E=100);var x=(y-b)/2,ee=x+b,ne=(y-E)/2,oe=ne+E;(b>y||E>y)&&(E>b?(b=b*y/E,x=(y-b)/2,ee=x+b,ne=0,oe=y):(x=0,ee=y,ne=0,oe=y));var ae=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,x)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne).close());var me=he(0,.5,.3,ne/y,0,x/y,1,x/y,z());return ae.spot1=new go.Spot(me.x,me.y),me=he(.7,oe/y,1,.5,0,ee/y,1,ee/y,me),ae.spot2=new go.Spot(me.x,me.y),se(me),ae}),go.Shape.setFigureParameter("IBeamArrow",0,new Ct("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*y,x=(.5+b/2)*y,ee=new go.Geometry,ne=new go.PathFigure(a,.5*y,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,0,y)),ne.add(new go.PathSegment(go.PathSegment.Line,0,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(0,E/y);var oe=he(.7,1,1,.5,0,x/y,1,x/y,z());return ee.spot2=new go.Spot(oe.x,oe.y),se(oe),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new Ct("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Ct("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=40);var E=re?re.parameter2:NaN;isNaN(E)&&(E=100);var x=(y-b)/2,ee=x+b,ne=(y-E)/2,oe=ne+E;(b>y||E>y)&&(E>b?(b=b*y/E,x=(y-b)/2,ee=x+b,ne=0,oe=y):(x=0,ee=y,ne=0,oe=y));var ae=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,0,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,x)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne).close()),ae.spot1=new go.Spot(0,x/y);var me=he(.7,oe/y,1,.5,0,ee/y,1,ee/y,z());return ae.spot2=new go.Spot(me.x,me.y),se(me),ae}),go.Shape.setFigureParameter("Pointer",0,new Ct("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.Geometry,x=new go.PathFigure(a,.5*y,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(b,.35);var ee=he(.2,.65,1,.65,0,1,1,.5,z());return E.spot2=new go.Spot(ee.x,ee.y),se(ee),E}),go.Shape.setFigureParameter("RoundedPointer",0,new Ct("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.3);var E=new go.Geometry,x=new go.PathFigure(a,.5*y,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*y,b*a,.25*y).close()),E.spot1=new go.Spot(b,.35);var ee=he(0,.65,1,.65,0,1,1,.5,z());return E.spot2=new go.Spot(ee.x,ee.y),se(ee),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new Ct("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.4);var E=(.5-b/2)*y,x=(.5+b/2)*y,ee=new go.Geometry,ne=new go.PathFigure(a,.5*y,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ne.add(new go.PathSegment(go.PathSegment.Line,0,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,.3);var oe=he(.7,1,1,.5,0,x/y,1,x/y,z());return ee.spot2=new go.Spot(oe.x,oe.y),se(oe),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Ct("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=50);var E=(y-b)/2,x=E+b;b>y&&(E=0,x=y);var ee=new go.Geometry,ne=new go.PathFigure(a,.5*y,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ne.add(new go.PathSegment(go.PathSegment.Line,0,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,E/y);var oe=he(.7,1,1,.5,0,x/y,1,x/y,z());return ee.spot2=new go.Spot(oe.x,oe.y),se(oe),ee}),go.Shape.setFigureParameter("SquareArrow",0,new Ct("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.7);var E=new go.Geometry,x=new go.PathFigure(a,.5*y,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,0).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(b,1),E}),go.Shape.defineFigureGenerator("Cone1",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=ie*.1,ee=new go.PathFigure(0,.9*y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+x)*y,(.5+E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+x)*y).close()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.9*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var x=new go.PathFigure(0,.9*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.82),b}),go.Shape.defineFigureGenerator("Cube1",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var x=new go.PathFigure(.5*a,y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),x.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.5,.85),b}),go.Shape.defineFigureGenerator("Cube2",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.3*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var x=new go.PathFigure(0,.3*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.7,1),b}),go.Shape.defineFigureGenerator("Cylinder1",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,x=ie*.5,ee=new go.PathFigure(0,b,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ie*b,(.5-x)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*a,b,(.5+x)*a,0,1*a,ie*b)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-ie*b,(.5+x)*a,1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,(.5-x)*a,1*y,0,y-ie*b)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b));var ne=new go.PathFigure(a,b,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*b,1*a,2*b-ie*b,(.5+x)*a,2*b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-x)*a,2*b,0,2*b-ie*b)),E.spot1=new go.Spot(0,0,0,2*b),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,x=ie*.5,ee=new go.PathFigure(0,y-b,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ie*b,(.5-x)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,b,(.5+x)*a,0,a,ie*b)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-ie*b,(.5+x)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,(.5-x)*a,y,0,y-ie*b));var ne=new go.PathFigure(0,y-b,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*b,0,y-b-ie*b,(.5-x)*a,y-2*b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,y-b,(.5+x)*a,y-2*b,a,y-b-ie*b)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,0,-2*b),E}),go.Shape.defineFigureGenerator("Cylinder3",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,x=ie*.5,ee=new go.PathFigure(b,0,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ie*b,0,a,(.5-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,(.5+x)*y,a-ie*b,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ie*b,y,0,(.5+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*y,ie*b,0));var ne=new go.PathFigure(b,0,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*y,b+ie*b,0,2*b,(.5-x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,y,2*b,(.5+x)*y,b+ie*b,y)),E.spot1=new go.Spot(0,0,2*b,0),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder4",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,x=ie*.5,ee=new go.PathFigure(a-b,0,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ie*b,0,a,(.5-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,(.5+x)*y,a-ie*b,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ie*b,y,0,(.5+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*y,ie*b,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a-b,0));var ne=new go.PathFigure(a-b,0,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-2*b,.5*y,a-b-ie*b,0,a-2*b,(.5-x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a-2*b,(.5+x)*y,a-b-ie*b,y)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,-2*b,0),E}),go.Shape.defineFigureGenerator("Prism1",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.25*a,.25*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(.25*a,.25*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.spot1=new go.Spot(.408,.172),b.spot2=new go.Spot(.833,.662),b}),go.Shape.defineFigureGenerator("Prism2",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.25*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(0,y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),x.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("Pyramid1",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var x=new go.PathFigure(.5*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Pyramid2",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var x=new go.PathFigure(.5*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),x.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Actor",function(re,a,y){var b=new go.Geometry,E=.2,x=.1,ee=ie*E,ne=ie*x,oe=.5,ae=.1,ue=new go.PathFigure(oe*a,(ae+x)*y,!0);b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe-E)*a,ae*y,(oe-ee)*a,(ae+x)*y,(oe-E)*a,(ae+ne)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-x)*y,(oe-E)*a,(ae-ne)*y,(oe-ee)*a,(ae-x)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe+E)*a,ae*y,(oe+ee)*a,(ae-x)*y,(oe+E)*a,(ae-ne)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae+x)*y,(oe+E)*a,(ae+ne)*y,(oe+ee)*a,(ae+x)*y));var me=.05,fe=ie*me;oe=.05,ae=.25;var Pe=new go.PathFigure(.5*a,.2*y,!0);return b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),oe=.95,ae=.25,Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+me)*a,ae*y,(oe+fe)*a,(ae-me)*y,(oe+me)*a,(ae-fe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),me=.025,fe=ie*me,oe=.825,ae=.35,Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-me)*y,(oe+me)*a,(ae-fe)*y,(oe+fe)*a,(ae-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-me)*a,ae*y,(oe-fe)*a,(ae-me)*y,(oe-me)*a,(ae-fe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),me=.05,fe=ie*me,oe=.5,ae=.7,Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-me)*y,(oe+me)*a,(ae-fe)*y,(oe+fe)*a,(ae-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-me)*a,ae*y,(oe-fe)*a,(ae-me)*y,(oe-me)*a,(ae-fe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),me=.025,fe=ie*me,oe=.175,ae=.35,Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-me)*y,(oe+me)*a,(ae-fe)*y,(oe+fe)*a,(ae-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-me)*a,ae*y,(oe-fe)*a,(ae-me)*y,(oe-me)*a,(ae-fe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),me=.05,fe=ie*me,oe=.05,ae=.25,Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-me)*y,(oe-me)*a,(ae-fe)*y,(oe-fe)*a,(ae-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),b.spot1=new go.Spot(.2,.2),b.spot2=new go.Spot(.8,.65),b}),go.Shape.setFigureParameter("Card",0,new Ct("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,x=new go.PathFigure(a,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,0).close()),E.spot1=new go.Spot(0,b),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Collate",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var x=new go.PathFigure(.5*a,.5*y,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,.25),b}),go.Shape.defineFigureGenerator("CreateRequest",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,E*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),b}),go.Shape.defineFigureGenerator("Database",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=ie*.1,ee=new go.PathFigure(a,.1*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+x)*y,(.5+E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-x)*y,(.5-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-x)*y));var ne=new go.PathFigure(a,.1*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+x)*y,(.5+E)*a,.2*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+x)*y)),ne.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+x)*y,(.5+E)*a,.3*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+x)*y)),ne.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+x)*y,(.5+E)*a,.4*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-E)*a,.4*y,0,(.3+x)*y)),b.spot1=new go.Spot(0,.4),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("DataStorage",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),b.spot1=new go.Spot(.226,0),b.spot2=new go.Spot(.81,1),b}),go.Shape.defineFigureGenerator("DiskStorage",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=ie*.1,ee=new go.PathFigure(a,.1*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+x)*y,(.5+E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-x)*y,(.5-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-x)*y));var ne=new go.PathFigure(a,.1*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+x)*y,(.5+E)*a,.2*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+x)*y)),ne.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+x)*y,(.5+E)*a,.3*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+x)*y)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("Display",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.25*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("DividedEvent",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var x=ie*.2,ee=new go.PathFigure(0,.2*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-x)*y,(.2-x)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+x)*a,0,a,(.2-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+x)*y,(.8+x)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-x)*a,y,0,(.8+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var ne=new go.PathFigure(0,E*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),b}),go.Shape.defineFigureGenerator("DividedProcess",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,E*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),b}),go.Shape.defineFigureGenerator("Document",function(re,a,y){var b=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("ExternalOrganization",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(E*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,E*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,E*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var x=new go.PathFigure(.1*a,.4*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("File",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(.75*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Interrupt",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var x=new go.PathFigure(a,.5*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,y));var ee=new go.PathFigure(a,.5*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("InternalStorage",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN,x=re?re.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.1);var ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ne=new go.PathFigure(E*a,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),ne.add(new go.PathSegment(go.PathSegment.Move,0,x*y)),ne.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),b}),go.Shape.defineFigureGenerator("Junction",function(re,a,y){var b=new go.Geometry,E=1/Math.SQRT2,x=(1-1/Math.SQRT2)/2,ee=ie*.5,ne=.5,oe=new go.PathFigure(a,ne*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,y,a,(ne+ee)*y,(ne+ee)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,ne*y,(ne-ee)*a,y,0,(ne+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,0,0,(ne-ee)*y,(ne-ee)*a,0)),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,ne*y,(ne+ee)*a,0,a,(ne-ee)*y));var ae=new go.PathFigure((x+E)*a,(x+E)*y,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)),ae.add(new go.PathSegment(go.PathSegment.Move,x*a,(x+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Line,(x+E)*a,x*y)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(re,a,y){var b=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var x=new go.PathFigure(.1*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),b.spot1=new go.Spot(.1,0),b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("LoopLimit",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MagneticTape",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=.5,ee=new go.PathFigure(.5*a,y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x*y,(x-E)*a,y,0,(x+E)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-E)*y,(x-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x*y,(x+E)*a,0,a,(x-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(x+.1)*a,.9*y,a,(x+E)*y,(x+E)*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.8),b}),go.Shape.defineFigureGenerator("ManualInput",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MessageFromUser",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.7);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,E*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.25);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,E*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-E)*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("MultiDocument",function(re,a,y){var b=new go.Geometry;y=y/.8;var E=new go.PathFigure(a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var x=new go.PathFigure(.1*a,.2*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.8,.77),b}),go.Shape.defineFigureGenerator("MultiProcess",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.1*a,.1*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var x=new go.PathFigure(.2*a,.1*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.spot1=new go.Spot(0,.2),b.spot2=new go.Spot(.8,1),b}),go.Shape.defineFigureGenerator("OfflineStorage",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.1);var x=1-E,ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var ne=new go.PathFigure(.5*E*a,E*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-.5*E)*a,E*y)),b}),go.Shape.defineFigureGenerator("OffPageConnector",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("Or",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=.5,ee=new go.PathFigure(a,x*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*a,y,a,(x+E)*y,(x+E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x*y,(x-E)*a,y,0,(x+E)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-E)*y,(x-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x*y,(x+E)*a,0,a,(x-E)*y));var ne=new go.PathFigure(a,.5*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b}),go.Shape.defineFigureGenerator("PaperTape",function(re,a,y){var b=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),b.spot1=new go.Spot(0,.49),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN,x=re?re.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.3);var ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN,x=re?re.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.3);var ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure((1-E)*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,E*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),b}),go.Shape.defineFigureGenerator("Process",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(E*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var x=new go.PathFigure(0,.5*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.5),b}),go.Shape.defineFigureGenerator("Start",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.25);var x=new go.PathFigure(E*a,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var ee=new go.PathFigure(E*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),b.spot1=new go.Spot(E,0),b.spot2=new go.Spot(1-E,1),b}),go.Shape.defineFigureGenerator("Terminator",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.25*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),b.spot1=new go.Spot(.23,0),b.spot2=new go.Spot(.77,1),b}),go.Shape.defineFigureGenerator("TransmittalTape",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-E)*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*y).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+E)*a,0,a,(.5-E)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+E)*y,(.5+E)*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.55,1),b}),go.Shape.defineFigureGenerator("Buffer",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Clock",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=.5,ee=new go.PathFigure(a,x*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*a,y,a,(x+E)*y,(x+E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x*y,(x-E)*a,y,0,(x+E)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-E)*y,(x-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x*y,(x+E)*a,0,a,(x-E)*y));var ne=new go.PathFigure(a,x*y,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,x*y));var oe=new go.PathFigure(.8*a,.75*y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),b}),go.Shape.defineFigureGenerator("Ground",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),b}),go.Shape.defineFigureGenerator("Inverter",function(re,a,y){var b=new go.Geometry,E=ie*.1,x=.1,ee=.9,ne=.5,oe=new go.PathFigure(.8*a,.5*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,0,y)),oe.add(new go.PathSegment(go.PathSegment.Line,0,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ae=new go.PathFigure((ee+x)*a,ne*y,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee+x)*a,(ne+E)*y,(ee+E)*a,(ne+x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,(ee-E)*a,(ne+x)*y,(ee-x)*a,(ne+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-x)*y,(ee-x)*a,(ne-E)*y,(ee-E)*a,(ne-x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,(ee+E)*a,(ne-x)*y,(ee+x)*a,(ne-E)*y)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=ie*.4,ee=ie*.1,ne=.1,oe=.9,ae=.5,ue=new go.PathFigure(.8*a,.5*y,!0);b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+x)*y,(.4+E)*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+E)*a,0,.8*a,(.5-x)*y));var me=new go.PathFigure((oe+ne)*a,ae*y,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae+ne)*y,(oe+ne)*a,(ae+ee)*y,(oe+ee)*a,(ae+ne)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*a,ae*y,(oe-ee)*a,(ae+ne)*y,(oe-ne)*a,(ae+ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-ne)*y,(oe-ne)*a,(ae-ee)*y,(oe-ee)*a,(ae-ne)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne)*a,ae*y,(oe+ee)*a,(ae-ne)*y,(oe+ne)*a,(ae-ee)*y)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*E,ee=0,ne=.5,oe=new go.PathFigure(.8*a,.5*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+x)*a,(ne-E)*y,.7*a,(ne-x)*y)),E=.1,x=ie*.1,ee=.9,ne=.5;var ae=new go.PathFigure((ee-E)*a,ne*y,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-E)*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,ne*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+E)*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,ne*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*E,ee=0,ne=.5,oe=new go.PathFigure(0,0,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+x+x)*a,(ne-E)*y,.8*a,(ne-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ne+x)*y,(ee+x+x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("XnorGate",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*E,ee=.2,ne=.5,oe=new go.PathFigure(.1*a,0,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ae=new go.PathFigure(.8*a,.5*y,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+x)*a,(ne-E)*y,.7*a,(ne-x)*y)),E=.1,x=ie*.1,ee=.9,ne=.5;var ue=new go.PathFigure((ee-E)*a,ne*y,!0);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-E)*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,ne*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+E)*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,ne*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*E,ee=.2,ne=.5,oe=new go.PathFigure(.1*a,0,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ae=new go.PathFigure(.2*a,0,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+x)*a,(ne-E)*y,.9*a,(ne-x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.8,.75),b}),go.Shape.defineFigureGenerator("Capacitor",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b}),go.Shape.defineFigureGenerator("Resistor",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),b}),go.Shape.defineFigureGenerator("Inductor",function(re,a,y){var b=new go.Geometry,E=ie*.1,x=.1,ee=.1,ne=.5,oe=new go.PathFigure((ee-E*.5)*a,y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,0,(ee-E)*a,y,(ee-x)*a,0)),ee=.3,oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+x)*a,0,(ee+E)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,0,(ee-E)*a,y,(ee-x)*a,0)),ee=.5,oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+x)*a,0,(ee+E)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,0,(ee-E)*a,y,(ee-x)*a,0)),ee=.7,oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+x)*a,0,(ee+E)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,0,(ee-E)*a,y,(ee-x)*a,0)),ee=.9,oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E*.5)*a,y,(ee+x)*a,0,(ee+E)*a,y)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=.5,ee=.5,ne=.5,oe=new go.PathFigure((ee-x)*a,ne*y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-x)*y,(ee-x)*a,(ne-E)*y,(ee-E)*a,(ne-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,(ee+E)*a,(ne-x)*y,(ee+x)*a,(ne-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee+x)*a,(ne+E)*y,(ee+E)*a,(ne+x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,(ee-E)*a,(ne+x)*y,(ee-x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Move,(ee-x+.1)*a,ne*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x-.1)*a,ne*y,ee*a,(ne-x)*y,ee*a,(ne+x)*y)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.75*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b}),go.Shape.defineFigureGenerator("Diode",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Wifi",function(re,a,y){var b=new go.Geometry,E=a,x=y;a=a*.38,y=y*.6;var ee=ie*.8,ne=.8,oe=0,ae=.5,ue=(E-a)/2,me=(x-y)/2,fe=new go.PathFigure(oe*a+ue,(ae+ne)*y+me,!0);b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*a+ue,ae*y+me,(oe-ee)*a+ue,(ae+ne)*y+me,(oe-ne)*a+ue,(ae+ee)*y+me)),fe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-ne)*y+me,(oe-ne)*a+ue,(ae-ee)*y+me,(oe-ee)*a+ue,(ae-ne)*y+me)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne+ee*.5)*a+ue,ae*y+me,oe*a+ue,(ae-ne)*y+me,(oe-ne+ee*.5)*a+ue,(ae-ee)*y+me)),fe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+ne)*y+me,(oe-ne+ee*.5)*a+ue,(ae+ee)*y+me,oe*a+ue,(ae+ne)*y+me).close()),ee=ie*.4,ne=.4,oe=.2,ae=.5;var Pe=new go.PathFigure(oe*a+ue,(ae+ne)*y+me,!0);b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*a+ue,ae*y+me,(oe-ee)*a+ue,(ae+ne)*y+me,(oe-ne)*a+ue,(ae+ee)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-ne)*y+me,(oe-ne)*a+ue,(ae-ee)*y+me,(oe-ee)*a+ue,(ae-ne)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne+ee*.5)*a+ue,ae*y+me,oe*a+ue,(ae-ne)*y+me,(oe-ne+ee*.5)*a+ue,(ae-ee)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+ne)*y+me,(oe-ne+ee*.5)*a+ue,(ae+ee)*y+me,oe*a+ue,(ae+ne)*y+me).close()),ee=ie*.2,ne=.2,oe=.5,ae=.5;var xe=new go.PathFigure((oe-ne)*a+ue,ae*y+me,!0);b.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-ne)*y+me,(oe-ne)*a+ue,(ae-ee)*y+me,(oe-ee)*a+ue,(ae-ne)*y+me)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne)*a+ue,ae*y+me,(oe+ee)*a+ue,(ae-ne)*y+me,(oe+ne)*a+ue,(ae-ee)*y+me)),xe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+ne)*y+me,(oe+ne)*a+ue,(ae+ee)*y+me,(oe+ee)*a+ue,(ae+ne)*y+me)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*a+ue,ae*y+me,(oe-ee)*a+ue,(ae+ne)*y+me,(oe-ne)*a+ue,(ae+ee)*y+me)),ee=ie*.4,ne=.4,oe=.8,ae=.5;var Ee=new go.PathFigure(oe*a+ue,(ae-ne)*y+me,!0);b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne)*a+ue,ae*y+me,(oe+ee)*a+ue,(ae-ne)*y+me,(oe+ne)*a+ue,(ae-ee)*y+me)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+ne)*y+me,(oe+ne)*a+ue,(ae+ee)*y+me,(oe+ee)*a+ue,(ae+ne)*y+me)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne-ee*.5)*a+ue,ae*y+me,oe*a+ue,(ae+ne)*y+me,(oe+ne-ee*.5)*a+ue,(ae+ee)*y+me)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-ne)*y+me,(oe+ne-ee*.5)*a+ue,(ae-ee)*y+me,oe*a+ue,(ae-ne)*y+me).close()),ee=ie*.8,ne=.8,oe=1,ae=.5;var De=new go.PathFigure(oe*a+ue,(ae-ne)*y+me,!0);return b.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne)*a+ue,ae*y+me,(oe+ee)*a+ue,(ae-ne)*y+me,(oe+ne)*a+ue,(ae-ee)*y+me)),De.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+ne)*y+me,(oe+ne)*a+ue,(ae+ee)*y+me,(oe+ee)*a+ue,(ae+ne)*y+me)),De.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne-ee*.5)*a+ue,ae*y+me,oe*a+ue,(ae+ne)*y+me,(oe+ne-ee*.5)*a+ue,(ae+ee)*y+me)),De.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-ne)*y+me,(oe+ne-ee*.5)*a+ue,(ae-ee)*y+me,oe*a+ue,(ae-ne)*y+me).close()),b}),go.Shape.defineFigureGenerator("Email",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Move,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),x.add(new go.PathSegment(go.PathSegment.Move,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),b}),go.Shape.defineFigureGenerator("Ethernet",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.35*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var x=new go.PathFigure(.1*a,y,!0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var ee=new go.PathFigure(.6*a,y,!0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var ne=new go.PathFigure(0,.5*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ne.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ne.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),b}),go.Shape.defineFigureGenerator("Power",function(re,a,y){var b=new go.Geometry,E=ie*.4,x=.4,ee=.5,ne=.5,oe=z(),ae=z(),ue=z(),me=z();Ie(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.5,oe,oe,ae,ue,me);var fe=te(ae.x,ae.y),Pe=new go.PathFigure(ae.x*a,ae.y*y,!0);b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,ue.x*a,ue.y*y,me.x*a,me.y*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee+x)*a,(ne+E)*y,(ee+E)*a,(ne+x)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,(ee-E)*a,(ne+x)*y,(ee-x)*a,(ne+E)*y)),Ie(ee-x,ne,ee-x,ne-E,ee-E,ne-x,ee,ne-x,.5,ue,me,ae,oe,oe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*y,ue.x*a,ue.y*y,me.x*a,me.y*y)),E=ie*.3,x=.3,Ie(ee-x,ne,ee-x,ne-E,ee-E,ne-x,ee,ne-x,.5,ue,me,ae,oe,oe),Pe.add(new go.PathSegment(go.PathSegment.Line,ae.x*a,ae.y*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,me.x*a,me.y*y,ue.x*a,ue.y*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),Ie(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.5,oe,oe,ae,ue,me),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*y,me.x*a,me.y*y,ue.x*a,ue.y*y).close());var Pe=new go.PathFigure(.45*a,0,!0);return b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),se(oe),se(ae),se(ue),se(me),se(fe),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y/2,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function x(ee,ne,oe){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+ne)*a,(.8+oe)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+ne)*a,(.5+oe)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+ne)*a,(.5+oe)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+ne)*a,(.8+oe)*y).close())}return x(E,0,0),x(E,.4,0),x(E,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.2*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),b.spot1=new go.Spot(.3,.3),b.spot2=new go.Spot(.7,.7),b}),go.Shape.defineFigureGenerator("ElectricalHazard",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.37*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),E.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),E.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),E.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),E.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),E.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),b}),go.Shape.defineFigureGenerator("FireHazard",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.1*a,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),b.spot1=new go.Spot(.07,.445),b.spot2=new go.Spot(.884,.958),b}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(re,a,y){var b=new go.Geometry,E=.5,x=0,ee=0,ne=E*ie,oe=.4*Math.SQRT2/2+.5,ae=.5-.5*Math.SQRT2/2,ue=1,me=.5,fe=.5,Pe=0,xe=new go.PathFigure(oe*a,(1-ae)*y,!1);return b.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,me*y,ue*a,.7*y,ue*a,me*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+x)*a,(Pe+x)*y,(.5+E+x)*a,(.5-ne+x)*y,(.5+ne+x)*a,(.5-E+x)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*a,(.5+ee)*y,(.5-ne+x)*a,(.5-E+ee)*y,(.5-E+x)*a,(.5-ne+ee)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+x)*a,.9*y,(.5-E+x)*a,(.5+ne+ee)*y,(.5-ne+x)*a,.9*y)),xe.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*a,.8*y)),xe.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*a,.9*y)),xe.add(new go.PathSegment(go.PathSegment.Line,(.2+x)*a,.95*y)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(a,y,!1);b.add(x);var ee=new go.PathFigure(0,.5*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),b}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.2*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var E=new go.PathFigure(0,.2*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.7*a,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var x=new go.PathFigure(.45*a,.73*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),x.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),x.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(.335*a,(1-.555)*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),x.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var ee=.5-.285,ne=.5,oe=ee,ae=Math.PI/4,ue=4*(1-Math.cos(ae))/(3*Math.sin(ae)),me=ue*.5,fe=ee,Pe=ee,xe=ue*fe,Ee=ue*Pe;x.add(new go.PathSegment(go.PathSegment.Bezier,(ne-fe)*a,oe*y,(ne-(xe+fe)/2)*a,(oe+(Pe+Ee)/2)*y,(ne-fe)*a,(oe+Ee)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-Pe)*y,(ne-fe)*a,(oe-Ee)*y,(ne-xe)*a,(oe-Pe)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,(ne+fe)*a,oe*y,(ne+xe)*a,(oe-Pe)*y,(ne+fe)*a,(oe-Ee)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ne+fe)*a,(oe+Ee)*y,(ne+(xe+fe)/2)*a,(oe+(Pe+Ee)/2)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),x.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var De=new go.PathFigure(.2*a,y,!1);b.add(De),De.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var _e=new go.PathFigure(.8*a,y,!1);return b.add(_e),_e.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.1*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var x=new go.PathFigure(.2*a,.2*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),b}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(a,y,!1);b.add(x);var ee=new go.PathFigure(.1*a,y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),b}),go.Shape.defineFigureGenerator("Caution",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.05*a,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var x=.05;return E.add(new go.PathSegment(go.PathSegment.Move,(.5-x)*a,.875*y)),E.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,x*a,x*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),b}),go.Shape.defineFigureGenerator("Recycle",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.45*a,.95*y,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),E.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),E.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var x=new go.PathFigure(.475*a,.2*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),x.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),x.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),x.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),x.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var ee=new go.PathFigure(.675*a,.575*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*.5,ee=new go.PathFigure(a,E*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,E*a,y,a,(E+x)*y,(E+x)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-x)*a,y,0,(E+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-x)*y,(E-x)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+x)*a,0,a,(E-x)*y));var ne=new go.PathFigure(E*a,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*a,.15*y)),ne.add(new go.PathSegment(go.PathSegment.Move,E*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,E*a,.85*y)),ne.add(new go.PathSegment(go.PathSegment.Move,0,E*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.15*a,E*y)),ne.add(new go.PathSegment(go.PathSegment.Move,a,E*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.85*a,E*y)),ne.add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ne.add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),b}),go.Shape.defineFigureGenerator("Package",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.15*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(0,.15*y,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),b.spot1=new go.Spot(0,.1),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Class",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(0,.5*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),b}),go.Shape.defineFigureGenerator("Component",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var x=new go.PathFigure(0,.2*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var ee=new go.PathFigure(0,.6*y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.15*a,.6*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var x=new go.PathFigure(.15*a,.6*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),b}),go.Shape.defineFigureGenerator("Workcell",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("Supermarket",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),b}),go.Shape.defineFigureGenerator("TruckShipment",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(a,.8*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var ee=.1,ne=ie*.1,oe=.2,ae=.9,ue=new go.PathFigure((oe-ee)*a,ae*y,!0);b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-ee)*y,(oe-ee)*a,(ae-ne)*y,(oe-ne)*a,(ae-ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ee)*a,ae*y,(oe+ne)*a,(ae-ee)*y,(oe+ee)*a,(ae-ne)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae+ee)*y,(oe+ee)*a,(ae+ne)*y,(oe+ne)*a,(ae+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ee)*a,ae*y,(oe-ne)*a,(ae+ee)*y,(oe-ee)*a,(ae+ne)*y).close()),ee=.1,ne=ie*.1,oe=.8,ae=.9;var me=new go.PathFigure((oe-ee)*a,ae*y,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-ee)*y,(oe-ee)*a,(ae-ne)*y,(oe-ne)*a,(ae-ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ee)*a,ae*y,(oe+ne)*a,(ae-ee)*y,(oe+ee)*a,(ae-ne)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae+ee)*y,(oe+ee)*a,(ae+ne)*y,(oe+ne)*a,(ae+ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ee)*a,ae*y,(oe-ne)*a,(ae+ee)*y,(oe-ee)*a,(ae+ne)*y).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.2*a,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b}),go.Shape.defineFigureGenerator("Forklift",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0));var x=new go.PathFigure(0,.5*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.5*a,.8*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var ne=new go.PathFigure(.5*a,.7*y,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var oe=.1,ae=ie*.1,ue=.1,me=.9,fe=new go.PathFigure((ue-oe)*a,me*y,!0);b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(me-oe)*y,(ue-oe)*a,(me-ae)*y,(ue-ae)*a,(me-oe)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe)*a,me*y,(ue+ae)*a,(me-oe)*y,(ue+oe)*a,(me-ae)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(me+oe)*y,(ue+oe)*a,(me+ae)*y,(ue+ae)*a,(me+oe)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe)*a,me*y,(ue-ae)*a,(me+oe)*y,(ue-oe)*a,(me+ae)*y)),oe=.1,ae=ie*.1,ue=.4,me=.9;var Pe=new go.PathFigure((ue-oe)*a,me*y,!0);return b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(me-oe)*y,(ue-oe)*a,(me-ae)*y,(ue-ae)*a,(me-oe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe)*a,me*y,(ue+ae)*a,(me-oe)*y,(ue+oe)*a,(me-ae)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(me+oe)*y,(ue+oe)*a,(me+ae)*y,(ue+ae)*a,(me+oe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe)*a,me*y,(ue-ae)*a,(me+oe)*y,(ue-oe)*a,(me+ae)*y)),b}),go.Shape.defineFigureGenerator("RailShipment",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.1*a,.4*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var x=new go.PathFigure(.45*a,.7*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var ee=new go.PathFigure(.55*a,.4*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var ue=.05,me=ie*.05,fe=.175,Pe=.95,ne=new go.PathFigure((fe-ue)*a,Pe*y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe-ue)*y,(fe-ue)*a,(Pe-me)*y,(fe-me)*a,(Pe-ue)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a,Pe*y,(fe+me)*a,(Pe-ue)*y,(fe+ue)*a,(Pe-me)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe+ue)*y,(fe+ue)*a,(Pe+me)*y,(fe+me)*a,(Pe+ue)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a,Pe*y,(fe-me)*a,(Pe+ue)*y,(fe-ue)*a,(Pe+me)*y));var ue=.05,me=ie*.05,fe=.375,Pe=.95,oe=new go.PathFigure((fe-ue)*a,Pe*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe-ue)*y,(fe-ue)*a,(Pe-me)*y,(fe-me)*a,(Pe-ue)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a,Pe*y,(fe+me)*a,(Pe-ue)*y,(fe+ue)*a,(Pe-me)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe+ue)*y,(fe+ue)*a,(Pe+me)*y,(fe+me)*a,(Pe+ue)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a,Pe*y,(fe-me)*a,(Pe+ue)*y,(fe-ue)*a,(Pe+me)*y));var ue=.05,me=ie*.05,fe=.625,Pe=.95,ae=new go.PathFigure((fe-ue)*a,Pe*y,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe-ue)*y,(fe-ue)*a,(Pe-me)*y,(fe-me)*a,(Pe-ue)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a,Pe*y,(fe+me)*a,(Pe-ue)*y,(fe+ue)*a,(Pe-me)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe+ue)*y,(fe+ue)*a,(Pe+me)*y,(fe+me)*a,(Pe+ue)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a,Pe*y,(fe-me)*a,(Pe+ue)*y,(fe-ue)*a,(Pe+me)*y));var ue=.05,me=ie*.05,fe=.825,Pe=.95,xe=new go.PathFigure((fe-ue)*a,Pe*y,!0);b.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe-ue)*y,(fe-ue)*a,(Pe-me)*y,(fe-me)*a,(Pe-ue)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a,Pe*y,(fe+me)*a,(Pe-ue)*y,(fe+ue)*a,(Pe-me)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe+ue)*y,(fe+ue)*a,(Pe+me)*y,(fe+me)*a,(Pe+ue)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a,Pe*y,(fe-me)*a,(Pe+ue)*y,(fe-ue)*a,(Pe+me)*y).close());var Ee=new go.PathFigure(0,y,!1);return b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(.15*a,y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var ne=.05,oe=ie*.05,ae=.35,ue=.775,me=new go.PathFigure((ae-ne)*a,ue*y,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(ue-ne)*y,(ae-ne)*a,(ue-oe)*y,(ae-oe)*a,(ue-ne)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne)*a,ue*y,(ae+oe)*a,(ue-ne)*y,(ae+ne)*a,(ue-oe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(ue+ne)*y,(ae+ne)*a,(ue+oe)*y,(ae+oe)*a,(ue+ne)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne)*a,ue*y,(ae-oe)*a,(ue+ne)*y,(ae-ne)*a,(ue+oe)*y).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),b}),go.Shape.defineFigureGenerator("Bluetooth",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.75*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b}),go.Shape.defineFigureGenerator("Bookmark",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),b}),go.Shape.defineFigureGenerator("Bookmark",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),b}),go.Shape.defineFigureGenerator("Globe",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),b}),go.Shape.defineFigureGenerator("Wave",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.25*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),b}),go.Shape.defineFigureGenerator("Operator",function(re,a,y){var b=new go.Geometry,E=.3,x=ie*.3,ee=.5,ne=.7,oe=new go.PathFigure((ee-E)*a,ne*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-E)*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,ne*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+E)*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,ne*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y));var ae=new go.PathFigure(0,.7*y,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),b}),go.Shape.defineFigureGenerator("TripleFanBlades",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),b}),go.Shape.defineFigureGenerator("CentrifugalPump",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),b}),go.Shape.defineFigureGenerator("Battery",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var x=new go.PathFigure(0,.6*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b}),go.Shape.defineFigureGenerator("Delete",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*.5,ee=.5,ne=.5,oe=new go.PathFigure((ee-E)*a,ne*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-E)*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,ne*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+E)*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,ne*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y));var ae=new go.PathFigure(.15*a,.5*y,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),b}),go.Shape.defineFigureGenerator("Flag",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.1*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),b}),go.Shape.defineFigureGenerator("Help",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*.5,ee=.5,ne=.5,oe=new go.PathFigure((ee-E)*a,ne*y,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-E)*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,ne*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+E)*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,ne*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y).close()),E=.05,x=ie*.05,ee=.5,ne=.8;var ae=new go.PathFigure((ee-E)*a,ne*y,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-E)*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,ne*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+E)*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,ne*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y).close()),ae.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),b}),go.Shape.defineFigureGenerator("Location",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*y,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*y,.5*a,0,.025*a,.025*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Lock",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var x=new go.PathFigure(.2*a,.5*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),b}),go.Shape.defineFigureGenerator("Unlocked",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var x=new go.PathFigure(.2*a,.5*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),b}),go.Shape.defineFigureGenerator("Gear",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*y,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*y,.79840625*a,.39915625*y,.7834375*a,.3635*y)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*y)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*y,.64228125*a,.2188125*y,.603875*a,.2021875*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*y,.39759375*a,.20190625*y,.36053125*a,.2176875*y)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*y)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*y,.21765625*a,.36059375*y,.201875*a,.397625*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*y,.20221875*a,.603875*y,.21884375*a,.64228125*y)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*y,.36353125*a,.78340625*y,.3991875*a,.79840625*y)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*y,.602375*a,.79809375*y,.63946875*a,.78234375*y)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*y,.78234375*a,.63940625*y,.798125*a,.602375*y)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*y)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Hand",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),b}),go.Shape.defineFigureGenerator("Map",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.2*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),b}),go.Shape.defineFigureGenerator("Eject",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var x=new go.PathFigure(0,y*.6,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),b}),go.Shape.defineFigureGenerator("Pencil",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close()))}),go.Shape.defineFigureGenerator("Building",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*1,y*1,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var x=new go.PathFigure(.126*a,.85*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),x.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),x.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var ee=new go.PathFigure(.402*a,.85*y,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var ne=new go.PathFigure(.678*a,.85*y,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var oe=new go.PathFigure(.5*a,.1*y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),oe.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y*1,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),b}),go.Shape.defineFigureGenerator("5Bars",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y*1,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var x=new go.PathFigure(a*.204,y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),x.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),x.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var ee=new go.PathFigure(a*.408,y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var ne=new go.PathFigure(a*.612,y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ne.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ne.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var oe=new go.PathFigure(a*.816,y,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),oe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),oe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var x=new go.PathFigure(a*.055,.07*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),x.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var ee=new go.PathFigure(a*.055,.13*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var ne=new go.PathFigure(a*.055,.18*y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var oe=new go.PathFigure(a*1,0,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),oe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.55*a,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),b}),go.Shape.defineFigureGenerator("Key",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*1,y*.5,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),E.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),E.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),b}),go.Shape.defineFigureGenerator("FilmTape",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var x=new go.PathFigure(0,0,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),x.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var ee=new go.PathFigure(a*.11,y*.1,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var ne=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var oe=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(re,a,y){var b=new go.Geometry,E=8,x=E*ie,ee=new go.PathFigure(E,0,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-x,a-x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,E,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,x,y,0,y-x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,x,x,0).close());var ne=new go.PathFigure(a*.83,0,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var oe=new go.PathFigure(a*.83,y*1,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var ae=new go.PathFigure(a*.78,y*.05,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),b}),go.Shape.defineFigureGenerator("SpeechBubble",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,a/3),b=Math.min(b,y/3);var E=b*ie,x=y*.8,ee=new go.Geometry,ne=new go.PathFigure(b,0,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-E,0,a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,x-b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-b,x,a,x-E,a-E,x)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.7,x)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.55,x)),ne.add(new go.PathSegment(go.PathSegment.Line,b,x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,x-b,E,x,0,x-E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close()),E>1?(ee.spot1=new go.Spot(0,0,E,E),ee.spot2=new go.Spot(1,.8,-E,-E)):(ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.8)),ee}),go.Shape.defineFigureGenerator("Repeat",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*.45,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var x=new go.PathFigure(a*1,y*.55,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),x.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),x.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),x.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),x.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),b}),go.Shape.defineFigureGenerator("Windows",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*y).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y).close()))}),go.Shape.defineFigureGenerator("Terminal",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*.1,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var x=new go.PathFigure(a*.1,y*.2,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),x.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),x.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),x.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var ee=new go.PathFigure(a*.28,y*.37,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),b}),go.Shape.defineFigureGenerator("Beaker",function(re,a,y){var b=new go.Geometry,E=15,x=E*ie,ee=new go.PathFigure(a*.62,y*.475,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-x,a-x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,E,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,x,y,0,y-x)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),x>1?(b.spot1=new go.Spot(0,0,x,x),b.spot2=new go.Spot(1,1,-x,-x)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);b.add(E);var x=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-x)).close());var ee=new go.PathFigure(a*.4,y*0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),b}),go.Shape.defineFigureGenerator("Bin",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);b.add(E);var x=.1/.3;return E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-x)).close()),b}),go.Shape.defineFigureGenerator("Upload",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);b.add(E);var x=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-x)).close());var ee=new go.PathFigure(a*.5,y*0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*.15,y*0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),b}),go.Shape.defineFigureGenerator("Drink",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*.15,y*0,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var x=new go.PathFigure(a*.235,y*.28,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),x.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),x.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),b}),go.Shape.defineFigureGenerator("4Arrows",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*.5,y*0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),b}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},13547: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 Ct={},Pt="5.0",te={},z=null,se=!1,he=!1,Ie=null,be=!1,Ne=null,ie=null,nt=0;nt<arguments.length;nt++){var je=arguments[nt];if(je!==null)switch(typeof je){case"number":Pt=je.toFixed(1);break;case"string":je.match(new RegExp("^[0-9]\\.[0-9]+$"))?Pt=je:Ie=je;break;case"object":typeof je.is3D!="undefined"?z=je:te=je;break;case"boolean":se=je,he=!0;break}}z===null&&(z={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},te.material_id!==void 0&&!he&&(se=!0)),Ie!==null&&te.id===void 0&&(te.id=Ie);var Ze="",ze="",Me=!1,ye=null,re=null,a=null,y=!1,b=null,E=null,x=null,ee=null,ne=null;te.height!==void 0&&(te.height=Math.round(te.height)),te.width!==void 0&&(te.width=Math.round(te.width));var oe=function(Je){return parseFloat(Je)>4?parseFloat(Je):5};Ct.setHTML5Codebase=function(Je,st){ie=Je,vt(Je,st)},Ct.setJavaCodebase=Ct.setJavaCodebaseVersion=Ct.isCompiledInstalled=Ct.setPreCompiledScriptPath=Ct.setPreCompiledResourcePath=function(){},Ct.setHTML5CodebaseVersion=function(Je,st){var At=parseFloat(Je);if(At!==NaN&&At<5){console.log("The GeoGebra HTML5 codebase version "+At+" is deprecated. Using version latest instead.");return}Ne=Je,rt(Je,st)},Ct.getHTML5CodebaseVersion=function(){return re},Ct.getParameters=function(){return te},Ct.setFontsCSSURL=function(Je){ee=Je},Ct.setGiacJSURL=function(Je){},Ct.setJNLPFile=function(Je){Ze=Je},Ct.setJNLPBaseDir=function(Je){},Ct.inject=function(){function Je(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var st="auto",At=te.id,Nt,St=!1,sn=0;sn<arguments.length;sn++){var Fe=arguments[sn];typeof Fe=="string"?(Fe=Fe.toLowerCase(),Fe.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?st=Fe:At=arguments[sn]):typeof Fe=="boolean"?St=Fe:Fe instanceof HTMLElement&&(Nt=Fe)}Qt();function Qt(){if(!be){setTimeout(Qt,200);return}st=Ve(st);var Gt=Nt||document.getElementById(At);if(!Gt){console.log("possibly bug on ajax loading? ");return}if(Ct.removeExistingApplet(Gt,!1),te.width===void 0&&Gt.clientWidth&&(te.width=Gt.clientWidth),te.height===void 0&&Gt.clientHeight&&(te.height=Gt.clientHeight),!(te.width&&te.height)&&st==="html5"&&(delete te.width,delete te.height),ye=st,st==="screenshot")_e(Gt,te);else{var Hn=!1;te.hasOwnProperty("playButton")&&te.playButton||te.hasOwnProperty("clickToLoad")&&te.clickToLoad?Hn=!0:te.hasOwnProperty("playButtonAutoDecide")&&te.playButtonAutoDecide&&(Hn=(!ae()||Je())&&ue()),Hn?(ye="screenshot",Be(Gt,te,St,st)):De(Gt,te,St)}}};function ae(){try{return window.self!==window.top}catch(Je){return!0}}function ue(){return te.hasOwnProperty("screenshotGenerator")&&te.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Ct.getViews=function(){return z},Ct.isJavaInstalled=function(){return!1};var me=function(Je){var st=function(sn){var Fe=JSON.parse(sn),Qt=function(Jn){return Jn.type=="G"||Jn.type=="E"},Gt=Fe.elements?Fe.elements.filter(Qt)[0]:Fe;if(!Gt||!Gt.url){At();return}te.fileName=Gt.url,fe(Gt.settings||{}),z.is3D=!0;var Hn="https://www.geogebra.org/images/";Ct.setPreviewImage(b||Gt.previewUrl,Hn+"GeoGebra_loading.png",Hn+"applet_play.png"),Je()},At=function(){te.onError&&te.onError(),Rt("Error: Fetching material (id "+te.material_id+") failed.",te)},Nt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",St="/materials/"+te.material_id+"?scope=basic";Pe("https://"+Nt+"/api/proxy.php?path="+encodeURIComponent(St),st,At)};function fe(Je){var st=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(At){Je[At]=!!Je[At]}),st.forEach(function(At){te[At]===void 0&&Je[At]!==void 0&&(te[At]=Je[At])}),te.showToolBarHelp===void 0&&(te.showToolBarHelp=te.showToolBar)}function Pe(Je,st,At){var Nt=new XMLHttpRequest;Nt.open("GET",Je),Nt.onload=function(){st(Nt.responseText)},Nt.onerror=At,Nt.send()}Ct.isHTML5Installed=function(){return!0},Ct.getLoadedAppletType=function(){return ye},Ct.setPreviewImage=function(Je,st,At){b=Je,E=st,x=At},Ct.removeExistingApplet=function(Je,st){var At;typeof Je=="string"&&(Je=document.getElementById(Je)),ye=null;var Nt=null;for(At=0;At<Je.childNodes.length;At++){var St=Je.childNodes[At],sn=St.className;sn==="applet_screenshot"?st?(St.style.display="block",ye="screenshot"):St.style.display="none":sn!=="applet_scaler prerender"&&(Je.removeChild(St),Nt=sn&&sn.indexOf("appletParameters")!=-1?St.id:null,At--)}var Fe=te.id!==void 0?te.id:Nt,Qt=window[Fe];Qt&&typeof Qt.getBase64=="function"&&(Qt.remove(),window[Fe]=null)},Ct.refreshHitPoints=function(){if(oe(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Je=Ct.getAppletObject();return Je&&typeof Je.recalculateEnvironments=="function"?(Je.recalculateEnvironments(),!0):!1},Ct.startAnimation=function(){var Je=Ct.getAppletObject();return Je&&typeof Je.startAnimation=="function"?(Je.startAnimation(),!0):!1},Ct.stopAnimation=function(){var Je=Ct.getAppletObject();return Je&&typeof Je.stopAnimation=="function"?(Je.stopAnimation(),!0):!1},Ct.getAppletObject=function(){var Je=te.id!==void 0?te.id:"ggbApplet";return window[Je]},Ct.resize=function(){};var xe=function(Je,st,At){var Nt=document.createElement("param");Nt.setAttribute("name",st),Nt.setAttribute("value",At),Je.appendChild(Nt)},Ee=function(Je){return Je&&Je!=="false"},De=function(Je,st,At){oe(re)<=4.2&&(At=!0);var Nt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==re||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(Nt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var St=document.createElement("div");St.classList.add("appletParameters","notranslate");var sn=st.width,Fe=st.height;if(st.disableAutoScale=st.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():st.disableAutoScale,st.width!==void 0)if(oe(re)<=4.4)Ee(st.showToolBar)&&(st.height-=7),Ee(st.showAlgebraInput)&&(st.height-=37),st.width<605&&Ee(st.showToolBar)&&(st.width=605,sn=605);else{var Qt=100;(Ee(st.showToolBar)||Ee(st.showMenuBar))&&(st.hasOwnProperty("customToolBar")&&(st.customToolbar=st.customToolBar),Qt=Ee(st.showMenuBar)?245:155),sn<Qt&&(st.width=Qt,sn=Qt)}St.style.border="none",St.style.display="inline-block";for(var Gt in st)st.hasOwnProperty(Gt)&&Gt!=="appletOnLoad"&&St.setAttribute("data-param-"+Gt,st[Gt]);ee&&St.setAttribute("data-param-fontscssurl",ee),Ct.resize=function(){GGBAppletUtils.responsiveResize(Je,st)},window.addEventListener("resize",function(we){Ct.resize()});var Hn=typeof st.appletOnLoad=="function"?st.appletOnLoad:function(){};if(!At&&st.width!==void 0){st.hasOwnProperty("showSplash")||St.setAttribute("data-param-showSplash","false");var Jn=Je.querySelector(".applet_scaler.prerender"),Re=Jn!==null;if(Re)var qe=Jn.querySelector(".ggb_preview");else{var qe=Ke(sn,Fe,st.borderColor,!1);Jn=document.createElement("div"),Jn.className="applet_scaler",Jn.style.position="relative",Jn.style.display="block",Jn.style.width=sn+"px",Jn.style.height=Fe+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Jn,"66%"),oe(re)>=5?(st.appletOnLoad=function(we){var mt=Je.querySelector(".ggb_preview");mt&&mt.parentNode.removeChild(mt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Jn),window.GGBT_wsf_view&&$(window).trigger("resize"),Hn(we)},Re||Jn.appendChild(qe)):St.appendChild(qe),Jn.appendChild(St),Re||Je.appendChild(Jn),setTimeout(function(){Ct.resize()},1)}else{var tt=document.createElement("div");tt.className="applet_scaler",tt.style.position="relative",tt.style.display="block",tt.appendChild(St),Je.appendChild(tt),st.appletOnLoad=function(we){Ct.resize(),Hn(we)}}function Le(we,mt){mt&&typeof mt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(we,mt.appletOnLoad):renderGGBElement(we),Rt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",mt)}function ft(we,mt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:we,params:mt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(et){Le(et.article,et.params)}),html5AppletsToProcess=null)},oe(re)<5&&(we.className+=" geogebraweb")):Le(we,mt)}if(Nt){scriptLoadStarted=!0;for(var gt=0;gt<St.childNodes.length;gt++){var Oe=St.childNodes[gt].tagName;Oe==="TABLE"&&(St.removeChild(St.childNodes[gt]),gt--)}if(ggbHTML5LoadedScript!==null){var ve=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');ve!=null&&ve.parentNode.removeChild(ve)}var Ge=document.createElement("script"),We=function(){ft(St,st)};Ge.src=ze+a,ggbHTML5LoadedCodebaseIsWebSimple=y,ggbHTML5LoadedCodebaseVersion=re,ggbHTML5LoadedScript=Ge.src,Rt("GeoGebra HTML5 codebase loaded: '"+ze+"'.",st),!ie&&(!Ne||Ne=="5.0")?(y?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),We()):ze.requirejs?__webpack_require__.e(8366).then(function(){var we=[__webpack_require__(18366)];We.apply(null,we)}.bind(this)).catch(__webpack_require__.oe):(Ge.onload=We,Je.appendChild(Ge))}else ft(St,st);st.height=Fe,st.width=sn},_e=function(Je,st,At){var Nt=Ke(st.width,st.height,st.borderColor,At),St=document.createElement("div");St.style.position="relative",St.style.display="block",St.style.width=st.width+"px",St.style.height=st.height+"px",St.className="applet_screenshot applet_scaler"+(At?" applet_screenshot_play":""),St.appendChild(Nt);var sn=GGBAppletUtils.getScale(st,Je,At);At?(Je.appendChild($e()),window.GGBT_wsf_view||(Je.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(St,"66%"),Je.appendChild(St),sn!==1&&!isNaN(sn)&&(GGBAppletUtils.scaleElement(St,sn),St.style.width=st.width+"px",St.style.height=st.height+"px",St.parentNode.style.width=st.width*sn+"px",St.parentNode.style.height=st.height*sn+"px"),Ct.resize=function(){pt(Je,Nt,St,At)},window.addEventListener("resize",function(Fe){Ct.resize()}),Ct.resize()};function pt(Je,st,At,Nt){if(Je.contains(st)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Je.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Je)}var St=GGBAppletUtils.getScale(te,Je,Nt);At.parentNode!==null&&(!isNaN(St)&&St!==1?(GGBAppletUtils.scaleElement(At,St),At.parentNode.style.width=te.width*St+"px",At.parentNode.style.height=te.height*St+"px"):(GGBAppletUtils.scaleElement(At,1),At.parentNode.style.width=te.width+"px",At.parentNode.style.height=te.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Je),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Ct.onExitFullscreen=function(Je,st){st.appendChild(Je)};var Be=function(Je,st,At,Nt){_e(Je,st,!0);for(var St=function(){var Qt=[];for(Fe=0;Fe<Je.childNodes.length;Fe++)Qt.push(Je.childNodes[Fe]);if(window.GGBT_wsf_view){var Gt=window.GGBT_wsf_view.renderFullScreen(Je,st.id),Hn=document.getElementById("fullscreencontainer"),Jn=jQuery(Je).find(".fullscreencontent");Jn.length>0?(Gt.remove(),Jn.attr("id","fullscreencontent").show(),jQuery(Hn).append(Jn),window.dispatchEvent(new Event("resize"))):De(Gt,st,!1),window.GGBT_wsf_view.launchFullScreen(Hn)}else ye=Nt,De(Je,st,!1);if(!window.GGBT_wsf_view)for(Fe=0;Fe<Qt.length;Fe++)Je.removeChild(Qt[Fe])},sn=Je.getElementsByClassName("ggb_preview_play"),Fe=0;Fe<sn.length;Fe++)sn[Fe].addEventListener("click",St,!1),sn[Fe].addEventListener("ontouchstart",St,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Je),ue()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},$e=function(){var Je=document.createElement("div");if(Je.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var st='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',At=document.createElement("style");At.styleSheet?At.styleSheet.cssText=st:At.appendChild(document.createTextNode(st)),document.getElementsByTagName("head")[0].appendChild(At)}return Je},Ke=function(Je,st,At,Nt){var St=document.createElement("div");St.className="ggb_preview",St.style.position="absolute",St.style.zIndex="90",St.style.width=Je-2+"px",St.style.height=st-2+"px",St.style.top="0px",St.style.left="0px",St.style.overflow="hidden",St.style.backgroundColor="white";var sn="lightgrey";At!==void 0&&(At==="none"?sn="transparent":sn=At),St.style.border="1px solid "+sn;var Fe=document.createElement("img");if(Fe.style.position="relative",Fe.style.zIndex="1000",Fe.style.top="-1px",Fe.style.left="-1px",b!==null&&Fe.setAttribute("src",b),Fe.style.opacity=.7,E!==null){var Qt,Gt,Hn;if(!Nt){Qt=document.createElement("img"),Qt.style.position="absolute",Qt.style.zIndex="1001",Qt.style.opacity=1,Fe.style.opacity=.3,Gt=360,Gt>Je/4*3&&(Gt=Je/4*3),Hn=Gt/5.8,Qt.setAttribute("src",E),Qt.setAttribute("width",Gt),Qt.setAttribute("height",Hn);var Jn=(Je-Gt)/2,Re=(st-Hn)/2;Qt.style.left=Jn+"px",Qt.style.top=Re+"px",St.appendChild(Qt)}}return St.appendChild(Fe),St},Ve=function(Je){return Je=Je.toLowerCase(),Je==="html5"||Je==="screenshot"?Je:"html5"},it=["web","webSimple","web3d","tablet","tablet3d","phone"],rt=function(Je,st){if(re=Je,st){vt(re,!0);return}var At=!se;if(At){var Nt=oe(re);!isNaN(Nt)&&Nt<4.4&&(At=!1)}var St,sn;window.location.protocol.substr(0,4)==="http"?St=window.location.protocol:St="http:";var Fe=re.indexOf("//");Fe>0?sn=re:Fe===0?sn=St+re:sn="https://www.geogebra.org/apps/5.2.814.0/";for(var Qt in it)if(re.slice(it[Qt].length*-1)===it[Qt]||re.slice((it[Qt].length+1)*-1)===it[Qt]+"/"){vt(sn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&At&&!z.is3D&&!z.AV&&!z.SV&&!z.CV&&!z.EV2&&!z.CP&&!z.PC&&!z.DA&&!z.FI&&!z.PV&&!Ee(te.showToolBar)&&!Ee(te.showMenuBar)&&!Ee(te.showAlgebraInput)&&!Ee(te.enableRightClick)&&(!te.appName||te.appName=="classic")?sn+="webSimple/":sn+="web3d/",vt(sn,!1)},vt=function(Je,st){if(Je.requirejs){ze=Je;return}Je.slice(-1)!=="/"&&(Je+="/"),ze=Je,st===null&&(st=Je.indexOf("http")===-1),Me=st,a="web.nocache.js",y=!1;var At=ze.split("/");At.length>1&&(!st&&At[At.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):it.indexOf(At[At.length-2])>=0&&(a=At[At.length-2]+".nocache.js")),At=Je.split("/"),re=At[At.length-3],re.substr(0,4)==="test"?re=re.substr(4,1)+"."+re.substr(5,1):(re.substr(0,3)==="war"||re.substr(0,4)==="beta")&&(re="5.0");var Nt=parseFloat(re);Nt!==NaN&&Nt<5&&Je.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Nt+" is deprecated. Using version latest instead."),rt("5.0",st))},Rt=function(Je,st){window.console&&window.console.log&&(!st||typeof st.showLogging=="undefined"||st.showLogging&&st.showLogging!=="false")&&console.log(Je)};te.material_id!==void 0?me($t):$t();function $t(){var Je=Pt;Ne!==null?Je=Ne:parseFloat(Je)<5&&(Je="5.0"),rt(Je,!1),ie!==null&&vt(ie,Me),be=!0}return Ct},GGBAppletUtils=function(){"use strict";function Ct(){return window.GGBT_wsf_edit!==void 0}function Pt(be,Ne){Ne!=1?(be.style.transformOrigin="0% 0% 0px",be.style.webkitTransformOrigin="0% 0% 0px",be.style.transform="scale("+Ne+","+Ne+")",be.style.webkitTransform="scale("+Ne+","+Ne+")",be.style.maxWidth="initial",be.querySelector(".ggb_preview")!==null&&(be.querySelector(".ggb_preview").style.maxWidth="initial"),be.querySelectorAll(".ggb_preview img")[0]!==void 0&&(be.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),be.querySelectorAll(".ggb_preview img")[1]!==void 0&&(be.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(be.style.transform="none",be.style.webkitTransform="none")}function te(be,Ne,ie,nt,je,Ze){var ze=null;if(Ze!=null&&Ze!="")for(var Me=be.parentNode;Me!=null;)if((" "+Me.className+" ").indexOf(" "+Ze+" ")>-1){ze=Me;break}else Me=Me.parentNode;var ye=0,re=0,a=0,y=0,b=0,E=0,x=0;if(ze)ye=ze.offsetWidth,re=Math.max(nt?ze.offsetWidth:0,ze.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ye=Math.min(window.innerWidth,document.documentElement.clientWidth),re=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ye):(ye=window.innerWidth,re=window.innerHeight,a=window.innerWidth),be){var ee=be.getBoundingClientRect();ee.left>0&&ee.left<=ye&&(je===void 0||!je)&&(document.dir==="rtl"?(b=ye-ee.width-ee.left,E=a<=480?10:30):(E=ee.left,b=a<=480?10:30),y=E+b)}if(be&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ne=be.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,x=40)}}return be&&((ie===void 0||!ie)&&Ne>0&&Ne+y<ye?ye=Ne:ye-=y,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ie===void 0||!ie)&&(re-=x)),{width:ye,height:re}}function z(be,Ne,ie,nt,je){if(be.isScreenshoGenerator)return 1;var Ze=nt!==void 0&&nt,ze=be.noScaleMargin!=null&&be.noScaleMargin,Me=function(ne){return ne&&ne!=="false"},ye=Me(be.autoHeight),re=te(Ne,be.width,ie,ye,Ze&&window.GGBT_wsf_view||ze,je),a=parseInt(re.width),y=be.width,b=be.height;if(y===void 0){var E=Ne.querySelector(".appletParameters");E&&(y=E.offsetWidth,b=E.offsetHeight)}var x=a/y,ee=Ze?1:re.height/b;return ie!==void 0&&!ie&&(x=Math.min(1,x),ee=Math.min(1,ee)),Math.min(x,ee)}function se(be,Ne,ie){var nt=1,je,Ze=!1;if(be.hasOwnProperty("allowUpscale")&&(Ze=be.allowUpscale),be.hasOwnProperty("scale")&&(nt=parseFloat(be.scale),(isNaN(nt)||nt===null||nt===0)&&(nt=1),nt>1&&(Ze=!0)),Ne&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ze=!0),!(be.hasOwnProperty("disableAutoScale")&&be.disableAutoScale))je=z(be,Ne,Ze,ie,be.scaleContainerClass);else return nt;return Ze&&(!be.hasOwnProperty("scale")||nt===1)?je:Math.min(nt,je)}function he(be){var Ne=Math.min(window.innerWidth,document.documentElement.clientWidth),ie=Math.min(window.innerHeight,document.documentElement.clientHeight),nt=be.getBoundingClientRect(),je=(Ne-nt.width)/2,Ze=(ie-nt.height)/2;Ze<0&&(Ze=0),be.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(je<40?be.style.left="40px":be.style.left=je+"px",be.style.top=Ze+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ze<40?be.style.top="40px":be.style.top=Ze+"px",be.style.left=je+"px")}function Ie(be,Ne){var ie=be.querySelector(".appletParameters");if(ie){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ne.id!==ie.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(be)}if(ie.parentElement&&/fullscreen/.test(ie.parentElement.className))return;var nt=se(Ne,be);Ct()&&ie.setAttribute("data-param-scale",nt);for(var je=null,Ze=0;Ze<be.childNodes.length;Ze++)if(be.childNodes[Ze].className!==void 0&&be.childNodes[Ze].className.match(/^applet_scaler/)){je=be.childNodes[Ze];break}if(je!==null&&je.querySelector(".noscale")!==null)return;var ze=Ne.id!==void 0?Ne.id:"ggbApplet",Me=window[ze];(Me==null||!Me.recalculateEnvironments)&&je!==null&&!je.className.match(/fullscreen/)&&(je.parentNode.style.transform="",!isNaN(nt)&&nt!==1?(je.parentNode.style.width=Ne.width*nt+"px",je.parentNode.style.height=Ne.height*nt+"px",Pt(je,nt)):(Pt(je,1),je.parentNode.style.width=Ne.width+"px",je.parentNode.style.height=Ne.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&he(be),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(ie).parents(".content-added-content"))}}return{responsiveResize:Ie,isFlexibleWorksheetEditor:Ct,positionCenter:he,getScale:se,scaleElement:Pt}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var Ct=n.location.search;return Ct.indexOf(J)!=-1||Ct.indexOf(K)!=-1}function q(Ct,Pt){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(Ct){var Pt=s[L].bindings;s[L].bindings=function(){for(var te=Pt?Pt():{},z=Ct[webModule.__softPermutationId],se=O;se<z.length;se++){var he=z[se];te[he[O]]=he[P]}return te}};var t;function u(){return v(),t}function v(){if(!t){var Ct=o.createElement(Q);if(Ct.id=L,Ct.style.cssText=R+S,Ct.tabIndex=-1,o.body.appendChild(Ct),t=Ct.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Pt=document.compatMode==U?V:W;t.write(Pt+X),t.close()}}}function w(Ct){function Pt(z){function se(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var he=se();if(he){z();return}function Ie(){if(!he){if(!se())return;he=!0,z(),o.removeEventListener&&o.removeEventListener(Z,Ie,!1),be&&clearInterval(be)}}o.addEventListener&&o.addEventListener(Z,Ie,!1);var be=setInterval(function(){Ie()},$)}function te(z){var se=u(),he=se.body,Ie=se.createElement(_);Ie.language=ab,Ie.crossOrigin=W,Ie.src=z,webModule.__errFn&&(Ie.onerror=function(){webModule.__errFn(L,new Error(bb+z))}),he.appendChild(Ie)}Pt(function(){te(Ct)})}webModule.__startLoadingFragment=function(Ct){return C(Ct)},webModule.__installRunAsyncCode=function(Ct){var Pt=u(),te=Pt.body,z=Pt.createElement(_);z.language=ab,z.text=Ct,te.appendChild(z),te.removeChild(z)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(Ct){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Ct){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Ct){var Pt=c[Ct];return Pt==null?null:Pt},r=d,webModule.__errFn=e}function B(){function Ct(be){var Ne=be.lastIndexOf(rb);Ne==-1&&(Ne=be.length);var ie=be.indexOf(sb);ie==-1&&(ie=be.length);var nt=be.lastIndexOf(tb,Math.min(ie,Ne));return nt>=O?be.substring(O,nt+P):W}function Pt(be){if(!be.match(/^\w+:\/\//)){var Ne=o.createElement(ub);Ne.src=be+vb,be=Ct(Ne.src)}return be}function te(){var be=__gwt_getMetaProperty(wb);return be!=null?be:W}function z(){for(var be=o.getElementsByTagName(_),Ne=O;Ne<be.length;++Ne)if(be[Ne].src.indexOf(xb)!=-1)return Ct(be[Ne].src);return W}function se(){var be=o.getElementsByTagName(yb);return be.length>O?be[be.length-P].href:W}function he(){var be=o.location;return be.href==be.protocol+zb+be.host+be.pathname+be.search+be.hash}var Ie=te();return Ie==W&&(Ie=z()),Ie==W&&(Ie=se()),Ie==W&&he()&&(Ie=Ct(o.location.href)),Ie=Pt(Ie),Ie}function C(Ct){return Ct.match(/^\//)||Ct.match(/^[a-zA-Z]+:\/\//)?Ct:webModule.__moduleBase+Ct}function D(){var Ct=[],Pt=O,te=[],z=[];function se(be){var Ne=z[be](),ie=te[be];if(Ne in ie)return Ne;var nt=[];for(var je in ie)nt[ie[je]]=je;throw r&&r(be,nt,Ne),null}if(__gwt_isKnownPropertyValue=function(be,Ne){return Ne in te[be]},webModule.__getPropMap=function(){var be={};for(var Ne in te)te.hasOwnProperty(Ne)&&(be[Ne]=se(Ne));return be},webModule.__computePropValue=se,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var he;try{he=Cb;var Ie=he.indexOf(Db);Ie!=-1&&(Pt=parseInt(he.substring(Ie+P),$),he=he.substring(O,Ie))}catch(be){}return webModule.__softPermutationId=Pt,C(he+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})()},5862:function(Ct,Pt,te){"use strict";te.d(Pt,{Ax:function(){return Ie},Ds:function(){return be},KI:function(){return ie},SI:function(){return he},f1:function(){return se}});var z=te(41510);function se(nt){let je=!0;if(nt.length>0){for(let Ze=0;Ze<nt.length;Ze++)if(nt[Ze].compile_success==0||!nt[Ze].compile_success){je=!1;break}}else je=!1;return je}function he(nt,je=""){let Ze=[];for(let ze=0;ze<nt.length;ze++){let Me=nt[ze],ye=je?`${je}/${Me.name}`:`${Me.name}`;Ze.push({title:Me.name,type:Me.type,isLeaf:Me.type!=="tree",key:ye})}return Ze}function Ie(nt,je,Ze){for(let ze=0;ze<nt.length;ze++){let Me=nt[ze];if(Me.key===je){Me.children=Ze;break}Me.children&&Ie(Me.children,je,Ze)}return nt}function be(nt,je,Ze){let ze;return function(){let Me=this,ye=arguments,re=function(){ze=null,Ze||nt.apply(Me,ye)},a=Ze&&!ze;clearTimeout(ze),ze=setTimeout(re,je),a&&nt.apply(Me,ye)}}const Ne=!0,ie=z.Z.API_SERVER},7080:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return x}});var z=te(59301),se=te(78241),he=te(8591),Ie=te(43418),be=te(5083),Ne=te(92832),ie=te(1710),nt=te(95237),je=te(43604),Ze=te(66649),ze=te.n(Ze),Me=te(21331),ye=te(6075),re={tips:"tips___e8J4O",homeworkType:"homeworkType___ZjN2X",antdTable:"antdTable___amDdp",modalWrapper:"modalWrapper___XPojI"},a=te(24779),y=te(16286),b=(ee,ne,oe)=>new Promise((ae,ue)=>{var me=xe=>{try{Pe(oe.next(xe))}catch(Ee){ue(Ee)}},fe=xe=>{try{Pe(oe.throw(xe))}catch(Ee){ue(Ee)}},Pe=xe=>xe.done?ae(xe.value):Promise.resolve(xe.value).then(me,fe);Pe((oe=oe.apply(ee,ne)).next())});const E=({dispatch:ee,courseEndTime:ne,classroomList:oe,successCallback:ae=()=>{},visible:ue,homeworkIds:me,courseId:fe,isBatch:Pe,shixunHomeworks:xe})=>{const[Ee]=se.default.useForm(),[De,_e]=(0,z.useState)(!1),[pt,Be]=(0,z.useState)(!1),[$e,Ke]=(0,z.useState)(!1),[Ve,it]=(0,z.useState)([]),[rt,vt]=(0,z.useState)([]),[Rt,$t]=(0,z.useState)([]),[Je,st]=(0,z.useState)([]),[At,Nt]=(0,z.useState)([]),[St,sn]=(0,z.useState)([]),[Fe,Qt]=(0,z.useState)([]),[Gt,Hn]=(0,z.useState)([]),[Jn,Re]=(0,z.useState)([]);(0,z.useEffect)(()=>{ue?qe():Le()},[ue]);const qe=()=>b(void 0,null,function*(){_e(!0);const ft=yield(0,a.oR)(me[0],{course_id:fe});Ke(ft.no_group),Pe?(Qt(ft.all_course_groups),Hn(ft.all_course_groups)):(st(ft.late_course_groups),Nt(ft.late_course_groups),it(ft.submit_course_groups),vt(ft.submit_course_groups)),_e(!1),Ee.setFieldsValue({end_time:ze()()})}),tt=()=>b(void 0,null,function*(){const ft=Ee.getFieldsValue(),gt=ze()(ft.end_time).format("YYYY-MM-DD HH:mm");if((Pe?Jn.length===0:Rt.length===0&&St.length===0)&&!$e){he.ZP.warning("\u8BF7\u9009\u62E9\u9700\u8981\u64CD\u4F5C\u7684\u73ED\u7EA7");return}Be(!0);const ve=yield(0,a.Mc)(fe,{no_group:$e,homework_ids:me,group_ids:Pe?Jn:Rt,end_time:gt,late_group_ids:Pe?Jn:St});Be(!1),ve.status===0&&(Le(),he.ZP.success("\u64CD\u4F5C\u6210\u529F"),ae(),ee({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}))}),Le=()=>{$t([]),sn([]),vt([]),Nt([])};return z.createElement(Ie.default,{centered:!0,title:"\u7ACB\u5373\u622A\u6B62",className:re.modalWrapper,width:Pe||$e?520:760,open:ue,confirmLoading:pt,destroyOnClose:!0,okText:"\u622A\u6B62",cancelText:"\u53D6\u6D88",onOk:()=>tt(),onCancel:()=>{Le(),ee({type:"classroomList/setActionTabs",payload:{}})}},z.createElement("div",{className:re.tips},z.createElement("div",null,"1\u3001\u622A\u6B62\u540E\u5B66\u751F\u4E0D\u80FD\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"),z.createElement("div",null,"2\u3001\u672C\u64CD\u4F5C\u53EA\u5BF9\u201C\u63D0\u4EA4\u4E2D\u201D\u3001\u201C\u8865\u4EA4\u4E2D\u201D\u7684\u4F5C\u4E1A\u6709\u6548\u3002")),z.createElement(se.default,{form:Ee,layout:"vertical"},z.createElement(se.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},z.createElement(be.default,{style:{width:"100%"},disabledDate:ft=>(0,y.Q8)(ft,ne),disabledTime:ft=>(0,y.d0)(ft),placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ze()((0,Me.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),!$e&&z.createElement(z.Fragment,null,Pe?z.createElement("div",null,z.createElement(Ne.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:ft=>{Hn(Fe.filter(gt=>gt.name.indexOf(ft.target.value)>-1))}}),z.createElement(ie.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},className:re.antdTable,rowSelection:{type:"checkbox",onChange:ft=>{Re(ft)}},rowKey:"id",pagination:!1,dataSource:Gt,loading:De,columns:[{title:"\u73ED\u7EA7",dataIndex:"name"}]})):z.createElement(nt.Z,{gutter:24},z.createElement(je.Z,{span:14},z.createElement("div",{className:re.homeworkType},"\u4F5C\u4E1A\u622A\u6B62"),z.createElement(Ne.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:ft=>{vt(Ve.filter(gt=>gt.name.indexOf(ft.target.value)>-1))}}),z.createElement("div",{className:re.tableWrapper},z.createElement(ie.default,{style:{marginTop:"10px",height:"260px",overflow:"auto"},className:re.antdTable,rowSelection:{type:"checkbox",onChange:ft=>{$t(ft)}},rowKey:"id",pagination:!1,dataSource:rt,loading:De,columns:[{title:"\u73ED\u7EA7",dataIndex:"name",ellipsis:!0},{title:"\u53D1\u5E03\u65F6\u95F4",dataIndex:"publish_time"},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"end_time"}]}))),z.createElement(je.Z,{flex:10,style:{maxWidth:"280px"}},z.createElement("div",{className:re.homeworkType},"\u8865\u4EA4\u622A\u6B62"),z.createElement(Ne.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:ft=>{Nt(Je.filter(gt=>gt.name.indexOf(ft.target.value)>-1))}}),z.createElement("div",{className:re.tableWrapper},z.createElement(ie.default,{style:{marginTop:"10px",height:"260px",overflow:"auto",maxWidth:"280px"},className:re.antdTable,rowSelection:{type:"checkbox",onChange:ft=>{sn(ft)}},rowKey:"id",pagination:!1,loading:De,dataSource:At,columns:[{title:"\u73ED\u7EA7",dataIndex:"name",ellipsis:!0,width:120},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"late_time"}]}))))))};var x=(0,ye.connect)(({shixunHomeworks:ee,classroomList:ne})=>({shixunHomeworks:ee,classroomList:ne}))(E)},94094:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return ze}});var z=te(59301),se={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},he=te(92310),Ie=te.n(he),be=te(71418),Ne=te(2859),ie=te(23789),nt=te(21331),je=(Me,ye,re)=>new Promise((a,y)=>{var b=ee=>{try{x(re.next(ee))}catch(ne){y(ne)}},E=ee=>{try{x(re.throw(ee))}catch(ne){y(ne)}},x=ee=>ee.done?a(ee.value):Promise.resolve(ee.value).then(b,E);x((re=re.apply(Me,ye)).next())}),ze=({data:Me,className:ye,fullWidth:re,style:a={},onClose:y,onOk:b,showFullTools:E,noAssociationId:x})=>{const ee=(0,z.useRef)(null),ne=(0,z.useRef)(null),oe=(0,z.useRef)(null),ae=(0,z.useRef)(null),[ue,me]=(0,z.useState)(!1),[fe,Pe]=(0,z.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,z.useEffect)(()=>{oe.current||(oe.current=document.createElement("style"),document.head.appendChild(oe.current)),Me!=null&&Me.visible?(document.body.setAttribute("data-custom","y-hidden"),oe.current.innerHTML=" html { overflow-y: hidden; }",Me!=null&&Me.src&&xe()):(document.body.removeAttribute("data-custom"),oe.current&&(document.head.removeChild(oe.current),oe.current=null))},[Me==null?void 0:Me.visible]);const xe=()=>je(void 0,null,function*(){me(!0),Pe("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Be=yield(0,nt.ZJ)(Me==null?void 0:Me.src);ee.current.src="",ee.current.src=Be,ee.current.onload=function(){pt()},me(!1),Pe("")}),Ee=()=>{document.body.removeAttribute("data-custom"),oe.current.innerHTML=" ",y()},De=Be=>je(void 0,null,function*(){me(!0),Pe("\u6B63\u5728\u4FDD\u5B58\u4E2D");const $e=yield(0,ie.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Me.title,file:Be.dataUrl}});$e!=null&&$e.id&&!x?(yield(0,ie.ZP)(`/api/attachments/${Me.id}/add_subitem.json`,{method:"post",body:{subitem_id:$e==null?void 0:$e.id,settings:JSON.stringify(Be.state)}})).status===0&&b():$e!=null&&$e.id&&b($e),document.body.removeAttribute("data-custom"),oe.current.innerHTML=" ",me(!1),Pe("")}),_e=()=>{const Be=document.querySelector('a[href="https://markerjs.com/"]');Be&&Be.parentNode&&(Be.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(Ke=>{const Ve=document.querySelector(Ke.name);Ve&&Ve.setAttribute("title",Ke.title)})},pt=()=>{ne.current=new Ne.hP(ee.current),ne.current.targetRoot=ae.current,ne.current.addEventListener("render",De),ne.current.addEventListener("beforeclose",Ee),E&&(ne.current.availableMarkerTypes=ne.current.ALL_MARKER_TYPES,ne.current.uiStyleSettings.redoButtonVisible=!0,ne.current.uiStyleSettings.notesButtonVisible=!0,ne.current.uiStyleSettings.zoomButtonVisible=!0,ne.current.uiStyleSettings.zoomOutButtonVisible=!0,ne.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ne.current.uiStyleSettings,ne.current.show(),Me!=null&&Me.snapshotData&&ne.current.restoreState(Me.snapshotData),setTimeout(()=>{window.scrollTo(0,0),_e()},300)};return z.createElement(z.Fragment,null,(Me==null?void 0:Me.visible)&&z.createElement(be.Z,{spinning:ue,tip:fe,style:{position:"absolute"}},z.createElement("div",{ref:ae,className:Ie()(se.imageDimensions,ye,re?se.fullWidth:""),style:a},z.createElement("img",{className:se.img,ref:ee}))))}},29386:function(Ct,Pt,te){"use strict";var z=te(59301),se=te(95237),he=te(43604),Ie=te(99313),be=te(3113),Ne=te(28900),ie=te(14973),nt=te(48136),je=te(59301);const Ze=(0,z.forwardRef)(({callback:ze,showSaveButton:Me,value:ye=""},re)=>{const a=(0,z.useRef)(),y=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],b=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
x=a + r\\text{cos}\\theta \\ \r
y=b + r\\text{sin}\\theta \r
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\left\\{\\begin{matrix} \r
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
\\end{matrix}\\right. \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
a \\perp \\alpha \\ \r
b \\perp \\alpha \r
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
a \\parallel \\partial ,b \\parallel \\partial \r
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
a \\perp m,a \\perp n \r
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
a^{2}+b^{2}=c^{2} \r
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
a,b \\in R^{+} \\ \r
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
a,b \\in R \\ \r
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
P \\left( \\emptyset \\right) =0 \\\\ \r
P \\left( S \\right) =1 \r
\\end{array}`},{value:`\\begin{array}{c} \r
\\forall A \\in S \\\\ \r
P \\left( A \\right) \\ge 0 \r
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
\\end{array}`},{value:`\\begin{array}{c} \r
P_{n}=n! \\\\ \r
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
\\end{array}`}]}]}],E=ne=>{a.current.setValue(a.current.getValue()+" "+ne.value+" ")},x=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:je.createElement(se.Z,{className:ie.Z.lists,gutter:[10,10]},y.map((ne,oe)=>je.createElement(he.Z,{flex:"110px",className:ie.Z.item},je.createElement("div",null,je.createElement(Ne.Z,{value:`$$${ne.value}$$`}),ne.name),je.createElement("div",{className:ie.Z.children},ne.children.map((ae,ue)=>je.createElement("div",{key:ue},je.createElement("h1",null,ae.name),je.createElement(se.Z,{gutter:[10,10]},ae.data.map((me,fe)=>je.createElement(he.Z,{key:fe,onClick:()=>E(me),className:ie.Z.diamond},je.createElement(Ne.Z,{value:"`$$"+me.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:je.createElement(se.Z,{className:ie.Z.lists,gutter:[10,10]},b.map((ne,oe)=>je.createElement(he.Z,{flex:"110px",className:ie.Z.item},je.createElement("div",null,je.createElement(Ne.Z,{value:"`$$"+ne.value+"$$`"}),ne.name),je.createElement("div",{className:ie.Z.children},ne.children.map((ae,ue)=>je.createElement("div",{key:ue},ae.name&&je.createElement("h1",null,ae.name),je.createElement(se.Z,{gutter:[10,10]},ae.data.map((me,fe)=>je.createElement(he.Z,{key:fe,onClick:()=>E(me),className:ie.Z.diamond},je.createElement(Ne.Z,{value:"`$$"+me.value+"$$`"}))))))))))}],ee=()=>{var ne=document.createElement("div");ne.innerHTML=a.current.getValue();var oe=ne.innerText;return ze&&ze(oe),oe};return(0,z.useImperativeHandle)(re,()=>({getData:ee})),je.createElement("div",{className:ie.Z.mathWrap},je.createElement(Ie.default,{defaultActiveKey:"1",items:x}),je.createElement("math-field",{locale:"zh_cn",className:ie.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},ye||""),Me&&je.createElement("div",{className:ie.Z.button},je.createElement(be.ZP,{size:"large",onClick:ee,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Pt.Z=Ze},11835:function(Ct,Pt,te){"use strict";te.d(Pt,{Q:function(){return Ne}});var z=te(59301),se=te(57809),he=te(5112),Ie=te(5871),be=te(59301),Ne=(nt=>(nt[nt.Number=1]="Number",nt[nt.Percent=2]="Percent",nt))(Ne||{});const ie=({value:nt,onChange:je,disabled:Ze,hidePercentOption:ze=!1,percentType:Me="select"})=>{const ye=(0,z.useMemo)(()=>ze?1:2,[ze]),[re,a]=(0,z.useState)(ye);console.log(re);const y=E=>nt.type===1?`${E}\u5206`:`${E}%`,b=(0,z.useCallback)(E=>{if(re===1){const x=E.replace("\u5206","");return isNaN(parseInt(x,10))?0:x}else return E.replace("%","")},[re]);return(0,z.useEffect)(()=>{a(nt.type)},[nt]),be.createElement("div",{style:{display:"flex",alignItems:"center"}},Me=="select"&&be.createElement(se.default,{size:"large",onChange:E=>{a(E),je({type:E,inputValue:E===1?5:20})},value:re||ye,style:{width:100},options:ze?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:Ze}),Me=="radio"&&be.createElement(he.ZP.Group,{size:"large",onChange:E=>{const x=E.target.value;a(x),je({type:x,inputValue:x===1?5:20})},value:re||ye,disabled:Ze},!ze&&be.createElement(he.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),be.createElement(he.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),Me=="radio"&&be.createElement("div",{style:{marginRight:"10px",color:"#000000"}},nt.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),be.createElement(Ie.Z,{size:"large",disabled:Ze,value:nt.inputValue,style:{width:"120px"},parser:b,addonAfter:nt.type===1?"\u5206":"%",max:re===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:E=>{je({type:re,inputValue:E})}}),Me=="radio"&&nt.type==2&&be.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};Pt.Z=ie},40886:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return nt}});var z=te(59301),se={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"},he=te(43418),Ie="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA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WAAAAAElFTkSuQmCC",Ne=(je,Ze,ze)=>new Promise((Me,ye)=>{var re=b=>{try{y(ze.next(b))}catch(E){ye(E)}},a=b=>{try{y(ze.throw(b))}catch(E){ye(E)}},y=b=>b.done?Me(b.value):Promise.resolve(b.value).then(re,a);y((ze=ze.apply(je,Ze)).next())}),nt=({type:je,resdata:Ze,onok:ze,oktext:Me,okloading:ye})=>{const[re,a]=(0,z.useState)(!1),{can_copy_list:y,can_copy_num:b,challenge_type:E,course_data_list:x,no_copy_list:ee,no_copy_num:ne,no_use_list:oe,no_use_num:ae,repeat_shixun_num:ue,student_count:me,total_num:fe,use_num:Pe}=Ze;let xe=b>0||je==="exercise";(0,z.useEffect)(()=>{(Ze==null?void 0:Ze.student_count)>0&&a(!0)},[Ze]),console.log("---11",ye),(0,z.useEffect)(()=>{ye||a(!1)},[ye]);const Ee=()=>{if(je==="exercise"&&E===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",z.createElement("span",{className:se.orangeColor},Pe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:se.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(je==="exercise"&&E===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",z.createElement("span",{className:se.orangeColor},Pe),"\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",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="shixun"&&E===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="shixun"&&E===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\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",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="subject"&&E===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",z.createElement("span",{className:se.orangeColor},Pe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="subject"&&E===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",z.createElement("span",{className:se.orangeColor},me)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",z.createElement("span",{className:se.orangeColor},Pe)," \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",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="exercisepush")return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",z.createElement("span",{className:se.orangeColor},Pe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",z.createElement("span",{className:se.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(je==="shixunpush"&&E===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",z.createElement("span",{className:se.orangeColor},Pe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="shixunpush"&&E===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",z.createElement("span",{className:se.orangeColor},Pe),"\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",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},De=()=>{if(je==="exercise"||je==="subject"||je==="exercisepush"||je==="shixunpush")return z.createElement("div",{style:{marginTop:20}},ne>0&&z.createElement("div",null,z.createElement("span",{className:se.flex},z.createElement("img",{src:be,style:{width:14}}),z.createElement("span",{className:se.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),z.createElement("div",{className:se.statusbody},je==="exercise"&&z.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:se.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"),(je==="subject"||je==="exercisepush")&&z.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",xe&&z.createElement("span",{className:se.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"),je==="shixunpush"&&z.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",xe&&z.createElement("span",{className:se.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"),z.createElement("div",null,ee==null?void 0:ee.map((_e,pt)=>z.createElement("a",{href:`/shixuns/${_e.identifier}/challenges`,target:"_blank"},"\u300A",_e==null?void 0:_e.name,"\u300B",pt+1!==ne&&"\u3001"))))),b>0&&z.createElement("div",{style:{marginTop:20}},z.createElement("span",{className:se.flex},z.createElement("img",{src:Ie,style:{width:14}}),z.createElement("span",{className:se.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),z.createElement("div",{className:se.statusbody},je==="exercise"&&z.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"),(je==="subject"||je==="exercisepush")&&z.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"),je==="shixunpush"&&z.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"),z.createElement("div",null,y==null?void 0:y.map((_e,pt)=>z.createElement("a",{href:`/shixuns/${_e.identifier}/challenges`,target:"_blank"},"\u300A",_e==null?void 0:_e.name,"\u300B",pt+1!==b&&"\u3001"))))));if(je==="shixun")return z.createElement("div",{style:{marginTop:20}},b>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return z.createElement(he.default,{open:re,onCancel:()=>{a(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!xe&&"none"}},zIndex:1003,confirmLoading:ye,okText:xe?Me:"\u6211\u77E5\u9053\u4E86",onOk:()=>Ne(void 0,null,function*(){xe?yield ze([...y,...oe]):a(!1)})},z.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Ee(),De()))}},8738:function(Ct,Pt,te){"use strict";te.d(Pt,{h:function(){return ne}});var z=te(59301),se=te(57809),he=te(78241),Ie=te(3113),be=te(89780),Ne=te.n(be),ie=te(42741),nt=te(27494),je=Object.defineProperty,Ze=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,Me=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,a=(oe,ae,ue)=>ae in oe?je(oe,ae,{enumerable:!0,configurable:!0,writable:!0,value:ue}):oe[ae]=ue,y=(oe,ae)=>{for(var ue in ae||(ae={}))ye.call(ae,ue)&&a(oe,ue,ae[ue]);if(Me)for(var ue of Me(ae))re.call(ae,ue)&&a(oe,ue,ae[ue]);return oe},b=(oe,ae)=>Ze(oe,ze(ae));const E=se.default.Option,x={labelCol:{span:4},wrapperCol:{span:20}},ee={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Pt.Z=({callback:oe,onCancel:ae})=>{const[ue,me]=(0,z.useState)("python");function fe(xe){me(ee[xe][1])}function Pe(xe){oe(xe)}return z.createElement(he.default,b(y({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Pe,style:{width:500}}),z.createElement(he.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},z.createElement(se.default,{getPopupContainer:xe=>xe.parentNode,onChange:fe},Object.keys(ee).map(xe=>z.createElement(E,{key:xe,value:xe},ee[xe][0])))),z.createElement(he.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},z.createElement(ne,{mode:ue})),z.createElement("div",{className:"flex-container flex-end"},z.createElement(Ie.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),z.createElement(Ie.ZP,{type:"ghost",onClick:ae},"\u53D6\u6D88")))};function ne({value:oe,onChange:ae,mode:ue,options:me={}}){const fe=(0,z.useRef)(),[Pe,xe]=(0,z.useState)();return(0,z.useEffect)(()=>{if(Pe){let Ee=function(De){const _e=De.getValue();ae&&ae(_e)};return Pe.on("change",Ee),()=>{Pe.off("change",Ee)}}},[Pe,ae]),(0,z.useEffect)(()=>{Pe&&Pe.setOption("mode",ue)},[Pe,ue]),(0,z.useEffect)(()=>{Pe&&(oe!==Pe.getValue()||oe==="")&&setTimeout(()=>{Pe.setValue(oe||"")},300)},[Pe,oe]),(0,z.useEffect)(()=>{if(fe.current&&!Pe){const Ee=Ne().fromTextArea(fe.current,y({mode:ue,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},me));xe(Ee)}},[fe.current,Pe]),z.createElement("div",{className:"my-codemirror-container"},z.createElement("textarea",{ref:fe}))}},37962:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return Qa}});var z=te(59301),se=te(89780),he=te.n(se),Ie=te(76374),be=te(42741),Ne=te(6313),ie=te(25717),nt=te(99498),je=te(25419),Ze=te(67549),ze=te(28900),Me=({value:at="",className:Mt,showTextOnly:Ft,showLines:kn,style:dn={}})=>{const Ln=(0,z.useMemo)(()=>"",[at]);return z.createElement(z.Fragment,null,z.createElement("div",{dangerouslySetInnerHTML:{__html:Ln}}))},ye=te(59301),re=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,ee=(at,Mt,Ft)=>Mt in at?re(at,Mt,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):at[Mt]=Ft,ne=(at,Mt)=>{for(var Ft in Mt||(Mt={}))E.call(Mt,Ft)&&ee(at,Ft,Mt[Ft]);if(b)for(var Ft of b(Mt))x.call(Mt,Ft)&&ee(at,Ft,Mt[Ft]);return at},oe=(at,Mt)=>a(at,y(Mt));let ae=[{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 ue({onActionCallback:at,title:Mt,icon:Ft,actionName:kn,className:dn="",children:Ln}){function Xr(){at(kn)}return ye.createElement("a",{title:Mt,className:dn,onClick:Xr},ye.createElement("i",{className:`${Ft}`}),Ln)}var me=({watch:at,showNullButton:Mt,showNullProgramButton:Ft,onActionCallback:kn,fullScreen:dn,insertTemp:Ln,hidetoolBar:Xr,extraUse:Er})=>{const Kr=[...ae,{title:`${at?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${at?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ye.createElement("ul",{className:"markdown-toolbar-container"},!Xr&&Kr.map((oo,Xa)=>ye.createElement("li",{key:Xa},oo.actionName?ye.createElement(ue,oe(ne({},oo),{onActionCallback:kn})):ye.createElement("span",{className:"v-line"}))),Mt?ye.createElement("li",null,ye.createElement(ue,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:kn},ye.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Ft?ye.createElement(ye.Fragment,null,ye.createElement("li",null,ye.createElement(ue,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:kn},ye.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ye.createElement("li",null,ye.createElement(ue,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:kn},ye.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Ln&&ye.createElement("li",null,ye.createElement(ue,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Ln}`,onActionCallback:kn},ye.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Er&&ye.createElement("li",null,Er),ye.createElement("li",{className:"btn-full-screen"},ye.createElement(ue,{icon:`${dn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:dn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:kn})))},fe=te(23252),Pe=te(78241),xe=te(92832),Ee=te(3113),De=Object.defineProperty,_e=Object.defineProperties,pt=Object.getOwnPropertyDescriptors,Be=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable,Ve=(at,Mt,Ft)=>Mt in at?De(at,Mt,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):at[Mt]=Ft,it=(at,Mt)=>{for(var Ft in Mt||(Mt={}))$e.call(Mt,Ft)&&Ve(at,Ft,Mt[Ft]);if(Be)for(var Ft of Be(Mt))Ke.call(Mt,Ft)&&Ve(at,Ft,Mt[Ft]);return at},rt=(at,Mt)=>_e(at,pt(Mt));const vt={labelCol:{span:4},wrapperCol:{span:20}};var Rt=({callback:at,onCancel:Mt})=>{function Ft(kn){at(kn)}return z.createElement(Pe.default,rt(it({},vt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Ft,style:{width:500}}),z.createElement(Pe.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},z.createElement(xe.default,null)),z.createElement(Pe.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},z.createElement(xe.default,null)),z.createElement("div",{className:"flex-container flex-end"},z.createElement(Ee.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),z.createElement(Ee.ZP,{type:"ghost",onClick:Mt},"\u53D6\u6D88")))},$t=te(8738),Je=te(30315),st=te(43418),At=te(95237),Nt=te(94094),St=te(59301),sn=({callback:at,onCancel:Mt})=>{const Ft=document.createElement("canvas"),kn=Ft.getContext("2d");Ft.width=1e3,Ft.height=800,kn.fillStyle="#ffffff",kn.fillRect(0,0,Ft.width,Ft.height);const dn=Ft.toDataURL("image/png");return St.createElement(st.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},St.createElement(At.Z,{style:{height:"100vh"}},St.createElement(Nt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:dn,visible:!0,title:String(Date.now())},onOk:Ln=>{at({src:Ln.url})},onClose:Mt})))},Fe=te(12378);function Qt(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Qt,go.CommandHandler),Qt.prototype.canAlignSelection=function(){var at=this.diagram;return!(at===null||at.isReadOnly||at.isModelReadOnly||at.selection.count<2)},Qt.prototype.alignLeft=function(){var at=this.diagram;at.startTransaction("aligning left");var Mt=1/0;at.selection.each(function(Ft){Ft instanceof go.Link||(Mt=Math.min(Ft.position.x,Mt))}),at.selection.each(function(Ft){Ft instanceof go.Link||Ft.move(new go.Point(Mt,Ft.position.y))}),at.commitTransaction("aligning left")},Qt.prototype.alignRight=function(){var at=this.diagram;at.startTransaction("aligning right");var Mt=-1/0;at.selection.each(function(Ft){if(!(Ft instanceof go.Link)){var kn=Ft.actualBounds.x+Ft.actualBounds.width;Mt=Math.max(kn,Mt)}}),at.selection.each(function(Ft){Ft instanceof go.Link||Ft.move(new go.Point(Mt-Ft.actualBounds.width,Ft.position.y))}),at.commitTransaction("aligning right")},Qt.prototype.alignTop=function(){var at=this.diagram;at.startTransaction("alignTop");var Mt=1/0;at.selection.each(function(Ft){Ft instanceof go.Link||(Mt=Math.min(Ft.position.y,Mt))}),at.selection.each(function(Ft){Ft instanceof go.Link||Ft.move(new go.Point(Ft.position.x,Mt))}),at.commitTransaction("alignTop")},Qt.prototype.alignBottom=function(){var at=this.diagram;at.startTransaction("aligning bottom");var Mt=-1/0;at.selection.each(function(Ft){if(!(Ft instanceof go.Link)){var kn=Ft.actualBounds.y+Ft.actualBounds.height;Mt=Math.max(kn,Mt)}}),at.selection.each(function(Ft){Ft instanceof go.Link||Ft.move(new go.Point(Ft.actualBounds.x,Mt-Ft.actualBounds.height))}),at.commitTransaction("aligning bottom")},Qt.prototype.alignCenterX=function(){var at=this.diagram,Mt=at.selection.first();if(Mt){at.startTransaction("aligning Center X");var Ft=Mt.actualBounds.x+Mt.actualBounds.width/2;at.selection.each(function(kn){kn instanceof go.Link||kn.move(new go.Point(Ft-kn.actualBounds.width/2,kn.actualBounds.y))}),at.commitTransaction("aligning Center X")}},Qt.prototype.alignCenterY=function(){var at=this.diagram,Mt=at.selection.first();if(Mt){at.startTransaction("aligning Center Y");var Ft=Mt.actualBounds.y+Mt.actualBounds.height/2;at.selection.each(function(kn){kn instanceof go.Link||kn.move(new go.Point(kn.actualBounds.x,Ft-kn.actualBounds.height/2))}),at.commitTransaction("aligning Center Y")}},Qt.prototype.alignColumn=function(at){var Mt=this.diagram;Mt.startTransaction("align Column"),at===void 0&&(at=0),at=parseFloat(at);var Ft=new Array;Mt.selection.each(function(Er){Er instanceof go.Link||Ft.push(Er)});for(var kn=0;kn<Ft.length-1;kn++){var dn=Ft[kn],Ln=dn.actualBounds.y+dn.actualBounds.height+at,Xr=Ft[kn+1];Xr.move(new go.Point(dn.actualBounds.x,Ln))}Mt.commitTransaction("align Column")},Qt.prototype.alignRow=function(at){at===void 0&&(at=0),at=parseFloat(at);var Mt=this.diagram;Mt.startTransaction("align Row");var Ft=new Array;Mt.selection.each(function(Er){Er instanceof go.Link||Ft.push(Er)});for(var kn=0;kn<Ft.length-1;kn++){var dn=Ft[kn],Ln=dn.actualBounds.x+dn.actualBounds.width+at,Xr=Ft[kn+1];Xr.move(new go.Point(Ln,dn.actualBounds.y))}Mt.commitTransaction("align Row")},Qt.prototype.canRotate=function(at){var Mt=this.diagram;return!(Mt===null||Mt.isReadOnly||Mt.isModelReadOnly||Mt.selection.count<1)},Qt.prototype.rotate=function(at){at===void 0&&(at=90);var Mt=this.diagram;Mt.startTransaction("rotate "+at.toString());var Mt=this.diagram;Mt.selection.each(function(Ft){Ft instanceof go.Link||Ft instanceof go.Group||(Ft.angle+=at)}),Mt.commitTransaction("rotate "+at.toString())},Qt.prototype.pullToFront=function(){var at=this.diagram;at.startTransaction("pullToFront");var Mt=new go.Map;at.selection.each(function(Ft){Mt.set(Ft.layer,0)}),Mt.iteratorKeys.each(function(Ft){var kn=0;Ft.parts.each(function(dn){if(!dn.isSelected){var Ln=dn.zOrder;isNaN(Ln)?dn.zOrder=0:kn=Math.max(kn,Ln)}}),Mt.set(Ft,kn)}),at.selection.each(function(Ft){Qt._assignZOrder(Ft,Mt.get(Ft.layer)+1)}),at.commitTransaction("pullToFront")},Qt.prototype.pushToBack=function(){var at=this.diagram;at.startTransaction("pushToBack");var Mt=new go.Map;at.selection.each(function(Ft){Mt.set(Ft.layer,0)}),Mt.iteratorKeys.each(function(Ft){var kn=0;Ft.parts.each(function(dn){if(!dn.isSelected){var Ln=dn.zOrder;isNaN(Ln)?dn.zOrder=0:kn=Math.min(kn,Ln)}}),Mt.set(Ft,kn)}),at.selection.each(function(Ft){Qt._assignZOrder(Ft,Mt.get(Ft.layer)-1-Qt._findGroupDepth(Ft))}),at.commitTransaction("pushToBack")},Qt._assignZOrder=function(at,Mt,Ft){Ft===void 0&&(Ft=at),at.layer===Ft.layer&&(at.zOrder=Mt),at instanceof go.Group&&at.memberParts.each(function(kn){Qt._assignZOrder(kn,Mt+1,Ft)})},Qt._findGroupDepth=function(at){if(at instanceof go.Group){var Mt=0;return at.memberParts.each(function(Ft){Mt=Math.max(Mt,Qt._findGroupDepth(Ft))}),Mt+1}else return 0},Qt.prototype.doKeyDown=function(){var at=this.diagram;if(at!==null){var Mt=at.lastInput;if(Mt.key==="Up"||Mt.key==="Down"||Mt.key==="Left"||Mt.key==="Right"){var Ft=this.arrowKeyBehavior;if(Ft==="none")return;if(Ft==="select"){this._arrowKeySelect();return}else if(Ft==="move"){this._arrowKeyMove();return}else if(Ft==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},Qt.prototype._getAllParts=function(){var at=new Array;return this.diagram.nodes.each(function(Mt){at.push(Mt)}),this.diagram.parts.each(function(Mt){at.push(Mt)}),at},Qt.prototype._arrowKeyMove=function(){var at=this.diagram,Mt=at.lastInput,Ft=0,kn=0;if(Mt.control||Mt.meta)Ft=1,kn=1;else if(at.grid!==null){var dn=at.grid.gridCellSize;kn=dn.width,Ft=dn.height}at.startTransaction("arrowKeyMove"),at.selection.each(function(Ln){Mt.key==="Up"?Ln.move(new go.Point(Ln.actualBounds.x,Ln.actualBounds.y-Ft)):Mt.key==="Down"?Ln.move(new go.Point(Ln.actualBounds.x,Ln.actualBounds.y+Ft)):Mt.key==="Left"?Ln.move(new go.Point(Ln.actualBounds.x-kn,Ln.actualBounds.y)):Mt.key==="Right"&&Ln.move(new go.Point(Ln.actualBounds.x+kn,Ln.actualBounds.y))}),at.commitTransaction("arrowKeyMove")},Qt.prototype._arrowKeySelect=function(){var at=this.diagram,Mt=at.lastInput,Ft=null;Mt.key==="Up"?Ft=this._findNearestPartTowards(270):Mt.key==="Down"?Ft=this._findNearestPartTowards(90):Mt.key==="Left"?Ft=this._findNearestPartTowards(180):Mt.key==="Right"&&(Ft=this._findNearestPartTowards(0)),Ft!==null&&(Mt.shift?Ft.isSelected=!0:Mt.control||Mt.meta?Ft.isSelected=!Ft.isSelected:at.select(Ft))},Qt.prototype._findNearestPartTowards=function(at){var Mt=this.diagram.selection.first();if(Mt===null)return null;for(var Ft=Mt.actualBounds.center,kn=this._getAllParts(),dn=1/0,Ln=Mt,Xr=0;Xr<kn.length;Xr++){var Er=kn[Xr];if(Er!==Mt&&Er.canSelect()){var Kr=Er.actualBounds.center,oo=Ft.directionPoint(Kr),Xa=this._angleCloseness(oo,at);if(Xa<=45){var Nn=Ft.distanceSquaredPoint(Kr);Nn*=1+Math.sin(Xa*Math.PI/180),Nn<dn&&(dn=Nn,Ln=Er)}}}return Ln},Qt.prototype._angleCloseness=function(at,Mt){return Math.min(Math.abs(Mt-at),Math.min(Math.abs(Mt+360-at),Math.abs(Mt-360-at)))},Qt.prototype._arrowKeyTree=function(){var at=this.diagram,Mt=at.selection.first();if(Mt instanceof go.Node){var Ft=at.lastInput;if(Ft.key==="Right"){if(!Mt.isTreeLeaf)if(!Mt.isTreeExpanded)at.commandHandler.canExpandTree(Mt)&&at.commandHandler.expandTree(Mt);else{var kn=this._sortTreeChildrenByY(Mt).first();kn!==null&&at.select(kn)}}else if(Ft.key==="Left")if(!Mt.isTreeLeaf&&Mt.isTreeExpanded)at.commandHandler.canCollapseTree(Mt)&&at.commandHandler.collapseTree(Mt);else{var dn=Mt.findTreeParentNode();dn!==null&&at.select(dn)}else if(Ft.key==="Up"){var dn=Mt.findTreeParentNode();if(dn!==null){var Ln=this._sortTreeChildrenByY(dn),Xr=Ln.indexOf(Mt);if(Xr>0){for(var Er=Ln.elt(Xr-1);Er!==null&&Er.isTreeExpanded&&!Er.isTreeLeaf;){var Kr=this._sortTreeChildrenByY(Er);Er=Kr.last()}Er!==null&&at.select(Er)}else at.select(dn)}}else if(Ft.key==="Down")if(Mt.isTreeExpanded&&!Mt.isTreeLeaf){var kn=this._sortTreeChildrenByY(Mt).first();kn!==null&&at.select(kn)}else for(;Mt!==null;){var dn=Mt.findTreeParentNode();if(dn===null)break;var Ln=this._sortTreeChildrenByY(dn),Xr=Ln.indexOf(Mt);if(Xr<Ln.length-1){at.select(Ln.elt(Xr+1));break}else Mt=dn}var oo=at.selection.first();oo!==null&&at.scrollToRect(oo.actualBounds)}},Qt.prototype._sortTreeChildrenByY=function(at){var Mt=new go.List().addAll(at.findTreeChildrenNodes());return Mt.sort(function(Ft,kn){var dn=Ft.location,Ln=kn.location;return dn.y<Ln.y?-1:dn.y>Ln.y?1:dn.x<Ln.x?-1:dn.x>Ln.x?1:0}),Mt},Qt.prototype.copyToClipboard=function(at){go.CommandHandler.prototype.copyToClipboard.call(this,at),this._lastPasteOffset.set(this.pasteOffset)},Qt.prototype.pasteFromClipboard=function(){var at=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(at,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),at},Object.defineProperty(Qt.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(at){if(at!=="move"&&at!=="select"&&at!=="scroll"&&at!=="tree"&&at!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+at);this._arrowKeyBehavior=at}}),Object.defineProperty(Qt.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(at){if(!(at instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+at);this._pasteOffset.set(at)}});var Gt=Qt,Hn=te(64242),Jn=te(43604),Re=te(23789),qe={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},tt=te(59301),Le=(at,Mt,Ft)=>new Promise((kn,dn)=>{var Ln=Kr=>{try{Er(Ft.next(Kr))}catch(oo){dn(oo)}},Xr=Kr=>{try{Er(Ft.throw(Kr))}catch(oo){dn(oo)}},Er=Kr=>Kr.done?kn(Kr.value):Promise.resolve(Kr.value).then(Ln,Xr);Er((Ft=Ft.apply(at,Mt)).next())});function ft({onCancel:at,callback:Mt}){let Ft=(0,z.useRef)(),kn=(0,z.useRef)(),dn=(0,z.useRef)(),Ln=(0,z.useRef)(!1);const Xr=(0,z.useRef)(!1),[Er,Kr]=(0,z.useState)(0);function oo(){const Nn=Fe.bx.make,ur={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"};Ft.current=new Fe.S0(kn.current,{padding:20,grid:Nn(Fe.s_,"Grid",Nn(Fe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Nn(Fe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:ea=>{var Aa=ea.diagram.commandHandler.addTopLevelParts(ea.diagram.selection,!0);Aa||ea.diagram.currentTool.doCancel()},commandHandler:Nn(Gt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:ea=>{var Aa=ea.subject;Aa.location=Aa.location.copy().snapToGridPoint(ea.diagram.grid.gridOrigin,ea.diagram.grid.gridCellSize),setTimeout(()=>{ea.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:ea=>{var Aa=ea.subject;setTimeout(()=>{ea.diagram.commandHandler.editTextBlock()})},LinkRelinked:ea=>{var Aa=ea.parameter.part;Aa.invalidateConnectedLinks();var dr=ea.subject;ea.diagram.toolManager.linkingTool.isForwards?dr.toNode.invalidateConnectedLinks():dr.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Ft.current.nodeTemplate=Nn(Fe.NB,"Auto",{locationSpot:Fe.z6.Center,locationObjectName:"SHAPE",desiredSize:new Fe.$u(120,60),minSize:new Fe.$u(40,40),resizable:!0,resizeCellSize:new Fe.$u(10,10),rotatable:!0},new Fe.KX("location","loc",Fe.E9.parse).makeTwoWay(Fe.E9.stringify),new Fe.KX("desiredSize","size",Fe.$u.parse).makeTwoWay(Fe.$u.stringify),Nn(Fe.bn,{name:"SHAPE",fill:ur.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Fe.z6.AllSides,toSpot:Fe.z6.AllSides},new Fe.KX("figure"),new Fe.KX("fill"),new Fe.KX("stroke","borderColor"),new Fe.KX("strokeWidth","thickness"),new Fe.KX("strokeDashArray","dash")),Nn(Fe.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Nn(Fe.al,{margin:1,textAlign:"center",overflow:Fe.al.OverflowEllipsis,editable:!0},new Fe.KX("text").makeTwoWay(),new Fe.KX("stroke","color"))),Ft.current.nodeTemplate.toolTip=Nn("ToolTip",Nn(Fe.s_,"Vertical",{maxSize:new Fe.$u(200,NaN)},Nn(Fe.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Fe.KX("text")),Nn(Fe.al,{font:"10pt sans-serif",textAlign:"center"},new Fe.KX("text","details"))));function nr(ea,Aa){var dr=(pa,jr)=>{pa.handled=!0,pa.diagram.model.commit(Ir=>{var br=jr.part.adornedPart,po=new Fe.E9().setRectSpot(br.actualBounds,ea);po.subtract(br.location),po.scale(2,2),po.x+=Math.sign(po.x)*130,po.y+=Math.sign(po.y)*130,po.add(br.location),po.snapToGridPoint(pa.diagram.grid.gridOrigin,pa.diagram.grid.gridCellSize);var Lo=Ir.copyNodeData(br.data);Ir.setGroupKeyForNodeData(Lo,Ir.getGroupKeyForNodeData(br.data)),Ir.addNodeData(Lo);var Oi={from:br.key,to:Ir.getKeyForNodeData(Lo)};Ir.addLinkData(Oi);var vi=pa.diagram.findNodeForData(Lo);vi.location=po,pa.diagram.select(vi),setTimeout(()=>{pa.diagram.commandHandler.editTextBlock()},20)})};return Nn(Fe.bn,{figure:Aa,alignment:ea,alignmentFocus:ea.opposite(),width:ea.equals(Fe.z6.Top)||ea.equals(Fe.z6.Bottom)?25:18,height:ea.equals(Fe.z6.Top)||ea.equals(Fe.z6.Bottom)?18:25,fill:"orange",stroke:ur.white,strokeWidth:4,mouseEnter:(pa,jr)=>jr.fill="dodgerblue",mouseLeave:(pa,jr)=>jr.fill="orange",isActionable:!0,click:dr,contextClick:dr})}function sr(ea){return Nn(Fe.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:(Aa,dr)=>dr.fill="dodgerblue",mouseLeave:(Aa,dr)=>dr.fill="orange",click:(Aa,dr)=>{Aa.diagram.commandHandler.showContextMenu(dr.part.adornedPart)}},ea||{})}Ft.current.nodeTemplate.selectionAdornmentTemplate=Nn(Fe.uz,"Spot",Nn(Fe.Vm,{padding:10}),nr(Fe.z6.Top,"TriangleUp"),nr(Fe.z6.Left,"TriangleLeft"),nr(Fe.z6.Right,"TriangleRight"),nr(Fe.z6.Bottom,"TriangleDown"),sr({alignment:new Fe.z6(.75,0)}));function er(ea,Aa){return(dr,pa)=>{dr.handled=!0,dr.diagram.model.commit(jr=>{jr.set(pa.part.adornedPart.data,ea,Aa)})}}function ht(ea,Aa){return Aa||(Aa="color"),Nn(Fe.bn,{width:16,height:16,stroke:"lightgray",fill:ea,margin:1,background:"transparent",mouseEnter:(dr,pa)=>pa.stroke="dodgerblue",mouseLeave:(dr,pa)=>pa.stroke="lightgray",click:er(Aa,ea),contextClick:er(Aa,ea)})}function qt(){return[Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",ht(ur.white,"fill"),ht(ur.beige,"fill"),ht(ur.extralightblue,"fill"),ht(ur.extralightred,"fill"))),Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",ht(ur.lightgray,"fill"),ht(ur.lightgreen,"fill"),ht(ur.lightblue,"fill"),ht(ur.lightred,"fill")))]}function tn(){return[Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",ht(ur.black),ht(ur.green),ht(ur.blue),ht(ur.red))),Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",ht(ur.white),ht(ur.magenta),ht(ur.purple),ht(ur.orange)))]}function Pn(ea,Aa){return Aa||(Aa="thickness"),Nn(Fe.bn,"LineH",{width:16,height:16,strokeWidth:ea,margin:1,background:"transparent",mouseEnter:(dr,pa)=>pa.background="dodgerblue",mouseLeave:(dr,pa)=>pa.background="transparent",click:er(Aa,ea),contextClick:er(Aa,ea)})}function Rn(ea,Aa){return Aa||(Aa="dash"),Nn(Fe.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:ea,margin:1,background:"transparent",mouseEnter:(dr,pa)=>pa.background="dodgerblue",mouseLeave:(dr,pa)=>pa.background="transparent",click:er(Aa,ea),contextClick:er(Aa,ea)})}function gn(){return[Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",Pn(1),Pn(2),Pn(3),Pn(4))),Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",Rn(null),Rn([2,4]),Rn([4,4])))]}function On(ea,Aa){return Aa||(Aa="figure"),Nn(Fe.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:ea,margin:1,background:"transparent",mouseEnter:(dr,pa)=>pa.fill="dodgerblue",mouseLeave:(dr,pa)=>pa.fill="lightgray",click:er(Aa,ea),contextClick:er(Aa,ea)})}Ft.current.nodeTemplate.contextMenu=Nn("ContextMenu",Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",On("Rectangle"),On("RoundedRectangle"),On("Ellipse"),On("Diamond"))),Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",On("Parallelogram2"),On("ManualOperation"),On("Procedure"),On("Cylinder1"))),Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",On("Terminator"),On("CreateRequest"),On("Document"),On("TriangleDown"))),qt(),tn(),gn()),Ft.current.groupTemplate=Nn(Fe.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Fe.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(ea,Aa)=>{var dr=Aa.addMembers(Aa.diagram.selection,!0);dr||Aa.diagram.currentTool.doCancel()},avoidable:!1},new Fe.KX("location","loc",Fe.E9.parse).makeTwoWay(Fe.E9.stringify),Nn(Fe.s_,"Auto",{name:"BODY"},Nn(Fe.bn,{parameter1:10,fill:ur.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Fe.z6.AllSides,toSpot:Fe.z6.AllSides},new Fe.KX("fill"),new Fe.KX("stroke","color"),new Fe.KX("strokeWidth","thickness"),new Fe.KX("strokeDashArray","dash")),Nn(Fe.Vm,{background:"transparent",margin:20})),Nn(Fe.al,{alignment:Fe.z6.Top,alignmentFocus:Fe.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Fe.KX("text"),new Fe.KX("stroke","color"))),Ft.current.groupTemplate.selectionAdornmentTemplate=Nn(Fe.uz,"Spot",Nn(Fe.s_,"Auto",Nn(Fe.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Nn(Fe.Vm,{margin:1.5})),sr({alignment:Fe.z6.TopRight,alignmentFocus:Fe.z6.BottomRight})),Ft.current.groupTemplate.contextMenu=Nn("ContextMenu",qt(),tn(),gn()),Ft.current.linkTemplate=Nn(Fe.rU,{layerName:"Foreground",routing:Fe.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Fe.KX("fromSpot","fromSpot",Fe.z6.parse),new Fe.KX("toSpot","toSpot",Fe.z6.parse),new Fe.KX("fromShortLength","dir",ea=>ea>=1?10:0),new Fe.KX("toShortLength","dir",ea=>ea>=1?10:0),new Fe.KX("points").makeTwoWay(),Nn(Fe.bn,{strokeWidth:2},new Fe.KX("stroke","color"),new Fe.KX("strokeWidth","thickness"),new Fe.KX("strokeDashArray","dash")),Nn(Fe.bn,{segmentIndex:0,segmentOffset:new Fe.E9(15,0),segmentOrientation:Fe.rU.OrientAlong,alignmentFocus:Fe.z6.Right,figure:"circle",width:10,strokeWidth:0},new Fe.KX("fill","color"),new Fe.KX("visible","dir",ea=>ea===1)),Nn(Fe.bn,{segmentIndex:-1,segmentOffset:new Fe.E9(-10,6),segmentOrientation:Fe.rU.OrientPlus90,alignmentFocus:Fe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Fe.KX("fill","color"),new Fe.KX("visible","dir",ea=>ea>=1),new Fe.KX("width","thickness",ea=>7+3*ea),new Fe.KX("height","thickness",ea=>7+3*ea),new Fe.KX("segmentOffset","thickness",ea=>new Fe.E9(-15,4+1.5*ea))),Nn(Fe.bn,{segmentIndex:0,segmentOffset:new Fe.E9(15,-6),segmentOrientation:Fe.rU.OrientMinus90,alignmentFocus:Fe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Fe.KX("fill","color"),new Fe.KX("visible","dir",ea=>ea===2),new Fe.KX("width","thickness",ea=>7+3*ea),new Fe.KX("height","thickness",ea=>7+3*ea),new Fe.KX("segmentOffset","thickness",ea=>new Fe.E9(-15,4+1.5*ea))),Nn(Fe.al,{alignmentFocus:new Fe.z6(0,1,-4,0),editable:!0},new Fe.KX("text").makeTwoWay(),new Fe.KX("stroke","color"))),Ft.current.linkTemplate.selectionAdornmentTemplate=Nn(Fe.uz,Nn(Fe.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:yn(2)},new Fe.KX("pathPattern","thickness",yn)),sr({alignmentFocus:new Fe.z6(0,0,-6,-4)}));function yn(ea){return Nn(Fe.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(ea+4).toString()+" H3"})}function ar(ea){var Aa="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return ea===0?Aa="M0 0 M16 16 M0 8 L16 8":ea===2&&(Aa="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Nn(Fe.bn,{geometryString:Aa,margin:2,background:"transparent",mouseEnter:(dr,pa)=>pa.background="dodgerblue",mouseLeave:(dr,pa)=>pa.background="transparent",click:er("dir",ea),contextClick:er("dir",ea)})}function Ra(ea){var Aa=(dr,pa)=>{dr.handled=!0,dr.diagram.model.commit(jr=>{var Ir=pa.part.adornedPart;jr.set(Ir.data,ea?"toSpot":"fromSpot",Fe.z6.stringify(Fe.z6.AllSides)),(ea?Ir.toNode:Ir.fromNode).invalidateConnectedLinks()})};return Nn(Fe.bn,{width:12,height:12,fill:"transparent",mouseEnter:(dr,pa)=>pa.background="dodgerblue",mouseLeave:(dr,pa)=>pa.background="transparent",click:Aa,contextClick:Aa})}function cn(ea,Aa){var dr=0,pa=Fe.z6.RightSide;ea.equals(Fe.z6.Top)?(dr=270,pa=Fe.z6.TopSide):ea.equals(Fe.z6.Left)?(dr=180,pa=Fe.z6.LeftSide):ea.equals(Fe.z6.Bottom)&&(dr=90,pa=Fe.z6.BottomSide),Aa||(dr-=180);var jr=(Ir,br)=>{Ir.handled=!0,Ir.diagram.model.commit(po=>{var Lo=br.part.adornedPart;po.set(Lo.data,Aa?"toSpot":"fromSpot",Fe.z6.stringify(pa)),(Aa?Lo.toNode:Lo.fromNode).invalidateConnectedLinks()})};return Nn(Fe.bn,{alignment:ea,alignmentFocus:ea.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:dr,background:"transparent",mouseEnter:(Ir,br)=>br.background="dodgerblue",mouseLeave:(Ir,br)=>br.background="transparent",click:jr,contextClick:jr})}Ft.current.linkTemplate.contextMenu=Nn("ContextMenu",tn(),gn(),Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",ar(0),ar(1),ar(2))),Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",Nn(Fe.s_,"Spot",Ra(!1),cn(Fe.z6.Top,!1),cn(Fe.z6.Left,!1),cn(Fe.z6.Right,!1),cn(Fe.z6.Bottom,!1)),Nn(Fe.s_,"Spot",{margin:new Fe.Zt(0,0,0,2)},Ra(!0),cn(Fe.z6.Top,!0),cn(Fe.z6.Left,!0),cn(Fe.z6.Right,!0),cn(Fe.z6.Bottom,!0)))));const io=`{ "class": "GraphLinksModel",
"nodeDataArray": [
{"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3},
{"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"},
{"text":"What do our users want?","key":-11,"loc":"105 -334.305","group":-20,"figure":"Ellipse","fill":"#ffffff","color":"black"},
{"text":"Meetings","key":-12,"loc":"-65 -444.305","group":-16,"figure":"TriangleDown","fill":"#ffffff"},
{"text":"Reviews","key":-13,"loc":"105 -454.305","group":-20,"figure":"TriangleDown","fill":"#ffffff","color":"black"},
{"text":"Can we solve it?","key":-14,"loc":"190 -140","color":"#7d33ff","fill":"#ffffff","figure":"Diamond","size":"140 80","thickness":3},
{"isGroup":true,"text":"Internal","key":-16,"loc":"-65 -384.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22},
{"isGroup":true,"text":"External","key":-20,"loc":"105 -394.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22},
{"isGroup":true,"text":"Sources","key":-22,"loc":"20 -400","fill":"#a5d2fa","dash":[4,4],"color":"#3358ff"}
],
"linkDataArray": [
{"from":-12,"to":-10,"points":[-65,-414.305,-65,-404.305,-65,-384.305,-65,-384.305,-65,-364.305,-65,-354.305],"dash":null,"dir":1},
{"from":-13,"to":-11,"points":[105,-424.305,105,-414.305,105,-394.305,105,-394.305,105,-374.305,105,-364.305],"dash":null,"color":"#000000","dir":1},
{"from":-10,"to":-9,"points":[-65,-294.305,-65,-284.305,-65,-232.1525,-40,-232.1525,-40,-180,-40,-170],"dir":2,"dash":[4,4]},
{"from":-11,"to":-9,"points":[105,-304.305,105,-294.305,105,-237.1525,0,-237.1525,0,-180,0,-170],"dash":[4,4],"dir":2},
{"from":-9,"to":-14,"points":[40,-150,58,-150,80,-150,80,-153.33333333333331,102,-153.33333333333331,120,-153.33333333333331],"dir":1,"color":"#3358ff"},
{"from":-14,"to":-9,"points":[190,-100,190,-90,-20,-90,-20,-95,-20,-100,-20,-110],"fromSpot":"BottomSide","toSpot":"BottomSide","text":"No","color":"#ff3333","thickness":2,"dir":1},
{"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]}
]}`;var to=["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 no(ea){return console.log("shapeName:",ea),to.indexOf(ea)>=0}var Mo=new Fe.YI(dn.current,{maxSelectionCount:1,linkTemplate:Nn(Fe.rU,{locationSpot:Fe.z6.Center,selectionAdornmentTemplate:Nn(Fe.uz,"Link",{locationSpot:Fe.z6.Center},Nn(Fe.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Nn(Fe.bn,{toArrow:"Standard",stroke:null}))},{routing:Fe.rU.AvoidsNodes,curve:Fe.rU.JumpOver,corner:5,toShortLength:4},new Fe.KX("points"),Nn(Fe.bn,{isPanelMain:!0,strokeWidth:2}),Nn(Fe.bn,{toArrow:"Standard",stroke:null})),model:new Fe.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Fe.bn.getFigureGenerators().toArray().map(ea=>({text:"\u672A\u547D\u540D",size:"100 100",figure:ea.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Ft.current.addDiagramListener("TextEdited",function(ea){var Aa;const dr=ea.subject.part;var pa=(Aa=document.activeElement)==null?void 0:Aa.value;typeof pa=="string"&&pa.trim()===""&&Ft.current.model.commit(function(jr){jr.set(dr.data,"text","\u672A\u547D\u540D"),Ft.current.commandHandler.stopCommand()},"increment")}),Mo.nodeTemplate=Nn(Fe.NB,"Auto",{locationSpot:Fe.z6.Center},new Fe.KX("location","location",Fe.E9.parse).makeTwoWay(Fe.E9.stringify),Nn(Fe.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 Fe.KX("stroke").makeTwoWay(),new Fe.KX("fill").makeTwoWay(),new Fe.KX("figure")),Nn(Fe.al,{margin:new Fe.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Fe.$u(16,16),maxSize:new Fe.$u(10,NaN),textAlign:"center",editable:!0},new Fe.KX("key").makeTwoWay())),setTimeout(()=>{Ft.current.grid=Nn(Fe.s_,"Grid",Nn(Fe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Nn(Fe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Ft.current.grid.visible=!0,Ft.current.grid.gridCellStroke="darkgray",Ft.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Ft.current,Ft.current}const Xa=()=>Le(this,null,function*(){var Nn=Ft.current.makeImage();const ur=yield(0,Re.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Nn.src}});Mt({src:ur.url})});return(0,z.useEffect)(()=>(setTimeout(()=>{oo()},500),Kr(Er+1),()=>{Ft.current=null}),[]),tt.createElement("div",{ref:Xr,className:Ln.current?`${qe.maxH60} body-overflow-initial`:"body-overflow-initial"},tt.createElement(st.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Er,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:tt.createElement(At.Z,null,tt.createElement(Jn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),tt.createElement(Jn.Z,{onClick:()=>{var Nn,ur,nr=Ft.current.selection.first();if(Ln.current=!Ln.current,document.activeElement&&nr){let sr=(ur=(Nn=document.activeElement)==null?void 0:Nn.value)==null?void 0:ur.trim();typeof sr=="string"&&Ft.current.model.commit(function(er){er.set(nr.data,"text",sr||"\u672A\u547D\u540D"),Ft.current.commandHandler.stopCommand()},"increment")}Kr(Er+1)}},tt.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:at},tt.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:qe.flowChartWrp},tt.createElement("div",{style:{display:"flex",height:"100%"}},tt.createElement("div",{style:{width:"300px",height:"100%"}},tt.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),tt.createElement("div",{style:{height:"calc(100% - 50px)"},className:qe.myPaletteDiv,ref:dn})),tt.createElement("div",{style:{flex:1,position:"relative"}},tt.createElement("div",{ref:kn,style:{height:"80vh"}}))),tt.createElement("div",{className:"tr"},tt.createElement(Ee.ZP,{size:"large",onClick:Xa,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var gt=ft,Oe=te(5112),ve=te(5871);const Ge=Oe.ZP.Group,We={margin:"0 8px"};var we=({callback:at,onCancel:Mt})=>{function Ft(kn){at(kn)}return z.createElement(Pe.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Ft},z.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},z.createElement("span",{style:We},"\u5355\u5143\u683C\u6570\uFF1A"),z.createElement("span",{style:We},"\u884C\u6570"),z.createElement(Pe.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},z.createElement(ve.Z,null)),z.createElement("span",{style:We},"\u5217\u6570"),z.createElement(Pe.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},z.createElement(ve.Z,null))),z.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},z.createElement("span",{style:We},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),z.createElement(Pe.default.Item,{name:"align"},z.createElement(Ge,null,z.createElement(Oe.ZP,{value:"default"},z.createElement("i",{className:"fa fa-align-justify"})),z.createElement(Oe.ZP,{value:"left"},z.createElement("i",{className:"fa fa-align-left"})),z.createElement(Oe.ZP,{value:"center"},z.createElement("i",{className:"fa fa-align-center"})),z.createElement(Oe.ZP,{value:"right"},z.createElement("i",{className:"fa fa-align-right"}))))),z.createElement("div",{className:"flex-container flex-end"},z.createElement(Ee.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),z.createElement(Ee.ZP,{type:"ghost",onClick:Mt},"\u53D6\u6D88")))},mt=te(78673),et=te(13547),Ht=te.n(et),ut=(0,z.forwardRef)(({use3d:at,width:Mt,height:Ft,callback:kn,showSaveButton:dn},Ln)=>{const Xr=(0,z.useRef)(),Er=(0,z.useRef)(),[Kr,oo]=(0,z.useState)(!1),Xa=(0,z.useRef)({id:Xr,appName:"graphing",width:Mt||1e3,height:Ft||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,z.useEffect)(()=>{Er.current=new(Ht())(Xa.current,!0),window.onload=function(){Er.current.inject("applet_container")}},[]);const Nn=()=>{var ur=window.ggbApplet.getPNGBase64(1,!0,72);return kn&&kn(ur),ur};return(0,z.useEffect)(()=>{Xa.current.appName=Kr?"3D":"graphing",Er.current.inject("applet_container")},[Kr]),(0,z.useEffect)(()=>{oo(at)},[at]),(0,z.useImperativeHandle)(Ln,()=>({getImgData:Nn})),z.createElement(z.Fragment,null,z.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Xr}),z.createElement(At.Z,{align:"middle"},z.createElement(Jn.Z,{flex:1},z.createElement(mt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Kr,onChange:ur=>oo(ur)})),z.createElement(Jn.Z,null,z.createElement(Ee.ZP,{size:"large",onClick:Nn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),xt=te(29386),Ae=te(1012),He=te(8591);const ct="link",wt="upload-image",Zt="add-flowchart",mn="draw-image",dt="add-flowchart",Dt="code-block",yt="add-table",en="------------",Wt={default:en,left:`:${en}`,center:`:${en}:`,right:`${en}:`};var un=te(34500),Vn=(at,Mt,Ft)=>new Promise((kn,dn)=>{var Ln=Kr=>{try{Er(Ft.next(Kr))}catch(oo){dn(oo)}},Xr=Kr=>{try{Er(Ft.throw(Kr))}catch(oo){dn(oo)}},Er=Kr=>Kr.done?kn(Kr.value):Promise.resolve(Kr.value).then(Ln,Xr);Er((Ft=Ft.apply(at,Mt)).next())});function fn(){}let an=0;const Un=1e4,zt="\u2581",Tt="@\u2581\u2581@",Xt="@\u2581@",Ea=`
**\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`,qn=["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 Mn(at){return/^\d+$/.test(at)?`${at}px`:at}const La=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Ar={[La+"-B"]:"bold",[La+"-I"]:"italic"},Cr={[ct]:"\u6DFB\u52A0\u94FE\u63A5",[Dt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[wt]:"\u6DFB\u52A0\u56FE\u7247",[mn]:"\u6DFB\u52A0\u753B\u56FE",[Zt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[yt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Qa=({defaultValue:at="",onChange:Mt,width:Ft="100%",height:kn=400,miniToolbar:dn=!1,isFocus:Ln=!1,watch:Xr,insertTemp:Er,mode:Kr="markdown",id:oo="markdown-editor-id",showResizeBar:Xa=!1,noStorage:Nn=!1,showNullButton:ur=!1,showNullProgramButton:nr=!1,hidetoolBar:sr=!1,fullScreen:er=!1,onBlur:ht,onCMBeforeChange:qt,onFullScreen:tn,className:Pn="",disablePaste:Rn=!1,disabled:gn=!1,disabledFill:On=!1,placeholder:yn="",values:ar="",extraUse:Ra})=>{const[cn,io]=(0,z.useState)(null),[to,no]=(0,z.useState)(at),[Mo,ea]=(0,z.useState)(Xr),[Aa,dr]=(0,z.useState)(er),[pa,jr]=(0,z.useState)(""),[Ir,br]=(0,z.useState)(0),[po,Lo]=(0,z.useState)(kn),[Oi,vi]=(0,z.useState)(!1),Ei=(0,z.useRef)((0,Ae.Z)()),$i=(0,z.useRef)(!1),zn=(0,z.useRef)(),[Ia,co]=(0,z.useState)(0),[xo,wo]=(0,z.useState)(0),ui=(0,z.useRef)(),Bi=(0,z.useRef)(),Yi=(0,z.useRef)(),Mi=(0,z.useRef)(),Ce=()=>Vn(void 0,null,function*(){var la;const $n=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Ei.current}});(la=$n==null?void 0:$n.attachments)!=null&&la.length&&(console.log("cm:",cn,ui),$n.attachments.map(oa=>{oa.content_type.indexOf("image")>-1?cn.replaceSelection(`![,](/api/attachments/${oa.id}?type=${oa.content_type})`):oa.content_type.indexOf("video")>-1?cn.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):oa.content_type.indexOf("pdf")>-1?cn.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${oa.id}?type=${oa.content_type}&disposition=inline" target="_blank">${oa.name}</a>`):cn.replaceSelection(`[${oa.name}](${ENV.API_SERVER}/api/attachments/${oa.id}?type=${oa.content_type})`)}))});(0,z.useEffect)(()=>{const la=window.scrollY||window.pageYOffset;no(ar),cn==null||cn.setValue(ar),window.scrollTo(0,la)},[ar]),(0,z.useEffect)(()=>{tn==null||tn(Aa)},[Aa]),(0,z.useEffect)(()=>{if(ui.current){let la=function(oa,ra){var Nr;if(Rn){ra.preventDefault();return}const Zr=ra.clipboardData;if(Zr){const hr=Zr.types.toString(),xr=Zr.items;if(hr==="Files"||Zr.types.indexOf("Files")>-1){if(ra.preventDefault(),Kr=="stex")return;try{let kr=xr[1];((Nr=xr[0])==null?void 0:Nr.kind)==="file"&&(kr=xr[0]);const ho=kr.getAsFile(),ti=ho.name.split(".").pop();(0,Je.I)(ho,yo=>{var Rr,ro,Fo;yo.id?((Rr=ho==null?void 0:ho.type)==null?void 0:Rr.indexOf("image"))>-1?$n.replaceSelection(`<img width="100%" src="/api/attachments/${yo.id}?type=${yo.content_type})" alt="" />`):((ro=ho==null?void 0:ho.type)==null?void 0:ro.indexOf("video"))>-1?$n.replaceSelection(`<video width="100%" controls src="/api/attachments/${yo.id}"></video>`):((Fo=ho==null?void 0:ho.type)==null?void 0:Fo.indexOf("pdf"))>-1?$n.replaceSelection(`<a href="/api/attachments/${yo.id}?type=${ho.type}&disposition=inline" target="_blank">${ho.name}</a>`):qn.includes(ti)?$n.replaceSelection(`<a href="/api/attachments/${yo.id}?type=office&disposition=inline" target="_blank">${ho.name}</a>`):$n.replaceSelection(`[${ho.name}](/api/attachments/${yo.id}?type=${yo.content_type})`):(yo==null?void 0:yo.status)===401&&(He.ZP.warning((yo==null?void 0:yo.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(kr){He.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const $n=he().fromTextArea(ui.current,{mode:Kr,lineNumbers:!dn,lineWrapping:!0,value:at,autoCloseTags:!nr,autoCloseBrackets:!0});return $n.on("keyup",function(oa,ra){ra.keyCode===8&&(oa.getValue()==""?$n.setOption("placeholder",yn):$n.setOption("placeholder",null))}),$n.on("keydown",function(oa,ra){if(ra.keyCode===8){var Nr=Qe(oa);Nr&&ra.preventDefault()}}),Ln&&$n.focus(),$n.on("paste",la),$n.on("dragleave",function(oa,ra){Bi.current.classList.remove("mouse-hover-md")}),gn&&$n.on("beforeChange",function(oa,ra){(ra.origin==="paste"||ra.origin==="+input")&&ra.cancel()}),io($n),()=>{$n.off("paste",la)}}},[]);const Te=(0,z.useCallback)(()=>{if(Bi.current)try{}catch(la){console.log(la,"---- to set md editor body height")}},[po,Bi,Aa]);(0,z.useEffect)(()=>{function la(){let $n=new Ie.Z(oa=>{for(let ra of oa)(ra.target.offsetHeight>0||ra.target.offsetWidth>0)&&(Te(),cn.setSize("100%","100%"),cn.refresh())});return $n.observe(ui.current.parentElement),$n}if(cn){const $n=la();return()=>{var oa,ra;(oa=ui.current)!=null&&oa.parentElement&&$n.unobserve((ra=ui.current)==null?void 0:ra.parentElement)}}},[cn,Te]),(0,z.useEffect)(()=>{if(cn){let la=[];for(const[$n,oa]of Object.entries(Ar)){let ra={[$n]:()=>{Et(oa)}};la.push(ra),cn.addKeyMap(ra)}return zn.current=setInterval(()=>{$i.current&&Ce()},4e3),()=>{clearInterval(zn.current);for(let $n of la)cn.removeKeyMap($n)}}},[cn]),(0,z.useEffect)(()=>{er!==Aa&&dr(er)},[er]),(0,un.Z)(()=>{if(!Nn&&Ir>0){let la=new Date().getTime(),$n=window.sessionStorage.getItem(oo);la>=Ir+Un&&(!$n||$n!==to)&&(window.sessionStorage.setItem(oo,to),vi(!0))}},Un),(0,z.useEffect)(()=>{ea(Xr)},[cn,Xr]),(0,z.useEffect)(()=>{cn&&Ln&&cn.focus()},[cn,Ln]),(0,z.useEffect)(()=>{if(Mo&&cn){let la=function(oa){let ra=oa.target;if(Mi.current){let Nr=ra.scrollTop/ra.scrollHeight;Mi.current.scrollTop=Mi.current.scrollHeight*Nr}};const $n=cn.getScrollerElement();return $n.addEventListener("scroll",la),()=>{$n.removeEventListener("scroll",la)}}},[cn,Mo]),(0,z.useEffect)(()=>{if(cn&&qt){let la=function($n,oa){qt($n,oa)};return cn.on("beforeChange",la),()=>{cn.off("beforeChange",la)}}},[cn,qt]),(0,z.useEffect)(()=>{if(cn&&ht){let la=function(){ht(cn.getValue())};return cn.on("blur",la),()=>{cn.off("blur",la)}}},[cn,ht]);function Qe(la,$n){var oa=la.getDoc(),ra=oa.getCursor(),Nr=oa.getLine(ra.line),Zr=Nr.charAt(ra.ch-1),hr=Nr.lastIndexOf("@\u2581@",ra.ch),xr=Nr.lastIndexOf("@\u2581\u2581@",ra.ch),kr=hr>xr?hr:xr,ho=hr>xr?3:4;if(Tt.indexOf(Zr)===-1)return null;if(console.log("change1:",$n,la,Nr,ra,kr,hr,xr,Zr),kr>=0&&ra.ch-kr<5){var ti=kr+ho;return oa.replaceRange("",{line:ra.line,ch:kr},{line:ra.line,ch:ti}),{line:ra.line,ch:ti}}return null}(0,z.useEffect)(()=>{if(cn){let la=function($n,oa){const ra=$n.getValue();no(ra),br(new Date().getTime()),$n.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Mt&&(nr?Mt(ra,ga(ra)):Mt(ra))};return cn.on("change",la),()=>{cn.off("change",la)}}},[cn,Mt]),(0,z.useEffect)(()=>{if(cn)if(at==null)cn.setValue(""),no("");else{const la=window.scrollY||window.pageYOffset;at!==cn.getValue()&&(cn.setValue(at),no(at),cn.setCursor(gn?1:cn.lineCount(),0),window.scrollTo(0,la))}},[cn,at]);const Et=(0,z.useCallback)(la=>{const $n=cn.getCursor(),oa=cn.getSelection();let ra=oa.split(`
`);switch(la){case"bold":return cn.replaceSelection("**"+oa+"**"),oa===""&&cn.setCursor($n.line,$n.ch+2),cn.focus();case"italic":return cn.replaceSelection("*"+oa+"*"),oa===""&&cn.setCursor($n.line,$n.ch+1),cn.focus();case"code":return cn.replaceSelection("`"+oa+"`"),oa===""&&cn.setCursor($n.line,$n.ch+1),cn.focus();case"inline-latex":return jr("inline-latex"),cn.focus();case"latex":return cn.replaceSelection("```latex\n"+oa+"\n```"),cn.setCursor($n.line+1,oa.length+1),cn.focus();case"line-break":return cn.replaceSelection(`<br/>
`),cn.focus();case"list-ul":return oa===""?cn.replaceSelection("- "+oa):cn.replaceSelection(ra.map(Nr=>Nr===""?"":`- ${Nr}`).join(`
`)),cn.focus();case"list-ol":return oa===""?cn.replaceSelection("1. "+oa):cn.replaceSelection(ra.map((Nr,Zr)=>Nr===""?"":`${Zr+1}. ${Nr}`).join(`
`)),cn.focus();case"add-null-ch":return oa===""&&cn.setCursor($n.line,$n.ch),cn.replaceSelection(zt),cn.focus();case"add-signal":return oa===""&&cn.setCursor($n.line,$n.ch),cn.replaceSelection(Xt),cn.focus();case"add-multiple":return oa===""&&cn.setCursor($n.line,$n.ch),cn.replaceSelection(Tt),cn.focus();case"inster-template-1":return oa===""&&cn.setCursor($n.line,$n.ch),cn.replaceSelection(Ea),cn.focus();case"eraser":return cn.setValue(""),cn.focus();case"trigger-watch":return ea(!Mo),cn.focus();case"trigger-full-screen":return dr(!Aa),cn.focus();case ct:jr(ct);return;case Dt:jr(Dt);return;case wt:jr(wt);return;case mn:jr(mn);return;case"maths-latex":jr("maths-latex");return;case Zt:jr(Zt);return;case yt:jr(yt);return;default:throw new Error}},[cn,Mo,Aa]),Yt=(0,z.useCallback)((la,$n)=>{var oa,ra,Nr,Zr,hr,xr;switch(jr(""),pa){case ct:const{title:Rr,link:ro}=la;return cn.replaceSelection(`[${Rr}](${ro})`),cn.focus();case Dt:const{language:Fo,content:vo}=la;return cn.replaceSelection(["```"+Fo,vo,"```"].join(`
`)),cn.focus();case"maths-latex":for(var kr=atob(la),ho=new Uint8Array(kr.length),ti=0;ti<kr.length;ti++)ho[ti]=kr.charCodeAt(ti);var yo=new Blob([ho],{type:"image/png"});(0,Je.I)(yo,Fi=>{Fi.id?cn.replaceSelection(`![,](/api/attachments/${Fi.id}?type=${Fi.content_type})`):(Fi==null?void 0:Fi.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":cn.replaceSelection("`$$"+la+"$$`");break;case wt:case mn:case dt:const{src:Eo,alt:sa}=la,jo=$n,wi=(Nr=(ra=(oa=jo==null?void 0:jo.name)==null?void 0:oa.split("."))==null?void 0:ra.pop)==null?void 0:Nr.call(ra);return((Zr=jo==null?void 0:jo.type)==null?void 0:Zr.indexOf("image"))>-1||!(jo!=null&&jo.type)?jo.align||jo.width?cn.replaceSelection(`<p style="text-align:${jo.align||"initial"}"><img width="${jo.width?jo.width+"%":"initial"}" src="${Eo}" alt="${sa||""}" /></p>`):cn.replaceSelection(`<img width="100%" src="${Eo}" alt="${sa||""}" />`):((hr=jo==null?void 0:jo.type)==null?void 0:hr.indexOf("video"))>-1?cn.replaceSelection(`<video width="100%" controls src="${Eo}"></video>`):((xr=jo==null?void 0:jo.type)==null?void 0:xr.indexOf("pdf"))>-1?cn.replaceSelection(`<a href="${Eo}?type=${jo.type}&disposition=inline" target="_blank">${jo.name}</a>`):qn.includes(wi)?cn.replaceSelection(`<a href="${Eo}?type=office&disposition=inline" target="_blank">${jo.name}</a>`):cn.replaceSelection(`[${jo.name}](${Eo})`),cn.focus();case yt:const{row:Zi,col:nl,align:Xi}=la;let zi=`
`;for(let Fi=0;Fi<Zi;Fi++){let ul=[],_i=[];for(let rl=0;rl<nl;rl++)Fi===1&&_i.push(Wt[Xi]),ul.push(" ");Fi===1&&(zi+=`| ${_i.join(" | ")} |
`),zi+=`| ${ul.join(nl===1?"":" | ")} |
`}return cn.replaceSelection(zi+`
`),cn.focus();default:throw new Error}},[cn,pa]),Jt=(0,z.useMemo)(()=>{switch(pa){case ct:return z.createElement(Rt,{callback:Yt,onCancel:bn});case Dt:return z.createElement($t.Z,{callback:Yt,onCancel:bn});case wt:return z.createElement(Je.Z,{callback:Yt,onCancel:bn});case Zt:return z.createElement(gt,{callback:Yt,onCancel:bn});case yt:return z.createElement(we,{callback:Yt,onCancel:bn});case"maths-latex":return z.createElement(ut,{showSaveButton:!0,callback:Yt});case"inline-latex":return z.createElement(xt.Z,{showSaveButton:!0,callback:Yt});default:return null}},[pa]);function bn(){jr("")}(0,z.useEffect)(()=>{if(Yi.current){let la=function(hr){Nr=!0,Zr=hr.pageY},$n=function(){Nr=!1},oa=function(hr){if(Nr){let xr=hr.pageY-Zr;xr<0&&(xr=0),xr>300&&(xr=300);let kr=kn+xr+"px";Lo(kr)}},ra=Yi.current,Nr=!1,Zr=0;return ra.addEventListener("mousedown",la),document.addEventListener("mousemove",oa),document.addEventListener("mouseup",$n),()=>{ra.removeEventListener("mousedown",la),document.removeEventListener("mousemove",oa),document.removeEventListener("mouseup",$n)}}},[cn,Yi]),(0,z.useEffect)(()=>{Lo(kn)},[kn]);const Fn=Mn(Ft),Yn=Mn(po),Pa={width:Fn,height:Yn},Ca=(0,z.useMemo)(()=>{if(Ir){let la=new Date(Ir),$n=la.getHours(),oa=la.getMinutes(),ra=la.getSeconds();return $n=$n<10?"0"+$n:$n,oa=oa<10?"0"+oa:oa,ra=ra<10?"0"+ra:ra,`${$n}:${oa}:${ra}`}return 0},[Ir]),ga=la=>{const $n=[];if(nr){let oa=-1;la=la.replace(/(@▁▁@|@▁@)/g,function(ra,Nr,Zr){$n.push({multiLine:ra!==Xt})})}return $n};function Or(){window.sessionStorage.removeItem(oo),vi(!1),br(0)}function Mr(){vi(!1),br(0),cn.setValue(window.sessionStorage.getItem(oo))}(0,z.useEffect)(()=>{Cr[pa]&&pa!==mn&&pa!==Zt&&setTimeout(()=>{const la=document.getElementsByClassName("markdown-popup-form")[0],$n=window.innerWidth/2-la.offsetWidth/2,oa=window.innerHeight/2-la.offsetHeight/2;co($n),wo(oa)},0)},[pa]);const Ro=la=>{la.preventDefault();const $n=la.clientX-Ia,oa=la.clientY-xo;document.body.onmousemove=ra=>{let Nr=ra.clientX-$n,Zr=ra.clientY-oa;const hr=document.getElementsByClassName("markdown-popup-form")[0],xr=window.innerWidth-hr.offsetWidth,kr=window.innerHeight-hr.offsetHeight;Nr=Math.max(0,Math.min(Nr,xr)),Zr=Math.max(0,Math.min(Zr,kr)),Ur(ra.clientX,ra.clientY,$n,oa)&&(co(Nr),wo(Zr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ur=(la,$n,oa,ra)=>{const Nr=document.body.clientHeight,Zr=document.body.clientWidth;return la<20&&oa>la||la>Zr-20&&oa<la||$n<20&&ra>$n||$n>Nr-20&&ra<$n?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return z.createElement(z.Fragment,null,z.createElement("div",{className:"markdown-editor-wrapper",ref:Bi},z.createElement("div",{className:`markdown-editor-container ${Pn} ${Mo?"on-preview":""} ${dn?"mini":""} ${Aa?"full-screen":""}`,style:Pa},z.createElement(me,{insertTemp:Er,watch:Mo,fullScreen:Aa,showNullButton:ur,showNullProgramButton:nr,onActionCallback:Et,hidetoolBar:sr,extraUse:Ra}),z.createElement("div",{className:"markdown-editor-body"},z.createElement("div",{className:"codemirror-container"},z.createElement("textarea",{ref:ui,placeholder:yn})),Mo?z.createElement("div",{ref:Mi,className:"preview-container"},Kr==="stex"&&z.createElement(Me,{value:to}),Kr!=="stex"&&z.createElement(ze.Z,{disabledFill:On,showProgramFill:nr,value:to})):null))),Xa?z.createElement("a",{ref:Yi,className:"editor-resize"}):null,pa===mn&&z.createElement(sn,{callback:Yt,onCancel:bn}),pa===Zt&&z.createElement(gt,{callback:Yt,onCancel:bn}),z.createElement(fe.Z,null,Cr[pa]&&pa!==mn&&pa!==Zt?z.createElement(st.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Ia,top:xo},title:z.createElement("div",{style:{cursor:"move"},onMouseDown:Ro},Cr[pa]),open:!0,onCancel:bn,footer:null,destroyOnClose:!0,width:pa===Zt?"1200px":null,height:pa===Zt?"80vh":null,className:"markdown-popup-form"},Jt):null))}},30315:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return ue},I:function(){return fe}});var z=te(78241),se=te(8591),he=te(92832),Ie=te(81327),be=te(5871),Ne=te(5112),ie=te(3113),nt=te(5862),je=te(59301),Ze=te(35219),ze=te(59301),Me=Object.defineProperty,ye=Object.defineProperties,re=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(Pe,xe,Ee)=>xe in Pe?Me(Pe,xe,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):Pe[xe]=Ee,x=(Pe,xe)=>{for(var Ee in xe||(xe={}))y.call(xe,Ee)&&E(Pe,Ee,xe[Ee]);if(a)for(var Ee of a(xe))b.call(xe,Ee)&&E(Pe,Ee,xe[Ee]);return Pe},ee=(Pe,xe)=>ye(Pe,re(xe));const{useForm:ne}=z.default,oe={width:280,marginRight:10},ae={labelCol:{span:5},wrapperCol:{span:19}};var ue=({callback:Pe,onCancel:xe})=>{const[Ee]=ne();let De=(0,je.useRef)();function _e($e){De.current.width=Ee.getFieldValue("width"),De.current.align=Ee.getFieldValue("align"),Pe($e,De.current)}function pt($e,Ke){if($e.status===-1){se.ZP.error($e.message);return}Ee.setFieldsValue({src:`/api/attachments/${$e.id}`,type:Ke.type})}function Be($e){let Ke=$e.target.files[0];De.current=Ke,fe(Ke,pt)}return ze.createElement(z.default,ee(x({form:Ee},ae),{className:"upload-image-panel",onFinish:_e,style:{width:470,overflow:"hidden"}}),ze.createElement(z.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ze.createElement("div",{className:"flex-container"},ze.createElement(z.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ze.createElement(he.default,{style:oe})),ze.createElement(me,{onFileChange:Be}))),ze.createElement(z.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ze.createElement(he.default,{style:{width:264}})),ze.createElement(z.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ze.createElement(Ie.Z,null,ze.createElement(z.default.Item,{name:"width",style:{margin:0}},ze.createElement(be.Z,{style:{width:264}})),ze.createElement("span",{className:"ml8"},"%"))),ze.createElement(z.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ze.createElement(Ne.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"}]})),ze.createElement("aside",null,ze.createElement(z.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ze.createElement(ie.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ze.createElement(ie.ZP,{type:"default",onClick:xe},"\u53D6\u6D88"))))};function me({onFileChange:Pe}){return ze.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ze.createElement("input",{type:"file",onChange:Pe}))}function fe(Pe,xe){if(!Pe)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Ze.bg)())throw se.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Ee=new FormData;Ee.append("editormd-image-file",Pe),Ee.append("file_param_name","editormd-image-file"),Ee.append("byxhr","true");var De=new window.XMLHttpRequest;De.withCredentials=!0,De.addEventListener("load",function(_e){xe(JSON.parse(_e.target.responseText),Pe)},!1),De.addEventListener("error",function(_e){console.error(_e)},!1),De.open("POST",`${nt.KI}/api/attachments.json`),De.send(Ee)}},23252:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return he}});var z=te(59301),se=te(4676);class he extends z.Component{constructor(be){super(be);const Ne=window.document;this.node=Ne.createElement("div"),Ne.body.appendChild(this.node)}render(){const{children:be}=this.props;return(0,se.createPortal)(be,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},34500:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return se}});var z=te(59301);function se(he,Ie){const be=(0,z.useRef)();(0,z.useEffect)(()=>{be.current=he}),(0,z.useEffect)(()=>{function Ne(){be.current()}if(Ie!==null){let ie=setInterval(Ne,Ie);return()=>clearInterval(ie)}},[Ie])}},14255:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return Ke}});var z=te(59301),se=te(5112),he=te(3113),Ie=te(8591),be=te(43418),Ne=te(5871),ie=te(95237),nt=te(43604),je=te(28103),Ze=te(7441),ze={flex_box_center:"flex_box_center___eijRq",flex_space_between:"flex_space_between___R4Vev",flex_box_vertical_center:"flex_box_vertical_center___j8R6g",flex_box_center_end:"flex_box_center_end___eB0cz",flex_box_column:"flex_box_column___b9VdU",md:"md___tcpb2",title:"title___dVHM9"},Me=te(35219),ye=te(24334),re=te(23789),a=te(6075),y=te(28900),b=te(23827),E=te(87169),x=te(26227),ee=te(59301),ne=Object.defineProperty,oe=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,Pe=(Ve,it,rt)=>it in Ve?ne(Ve,it,{enumerable:!0,configurable:!0,writable:!0,value:rt}):Ve[it]=rt,xe=(Ve,it)=>{for(var rt in it||(it={}))me.call(it,rt)&&Pe(Ve,rt,it[rt]);if(ue)for(var rt of ue(it))fe.call(it,rt)&&Pe(Ve,rt,it[rt]);return Ve},Ee=(Ve,it)=>oe(Ve,ae(it)),De=(Ve,it,rt)=>new Promise((vt,Rt)=>{var $t=At=>{try{st(rt.next(At))}catch(Nt){Rt(Nt)}},Je=At=>{try{st(rt.throw(At))}catch(Nt){Rt(Nt)}},st=At=>At.done?vt(At.value):Promise.resolve(At.value).then($t,Je);st((rt=rt.apply(Ve,it)).next())});const _e={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var pt=(Ve=>(Ve[Ve.SET_PATH=0]="SET_PATH",Ve[Ve.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Ve))(pt||{});function Be(Ve,it){switch(it.type){case 0:return Ee(xe({},Ve),{selectedPath:it.payload});case 1:return Ee(xe({},Ve),{passedContent:it.payload});default:throw new Error}}var Ke=({language:Ve,dispatch:it,shixunWorkReport:rt,v:vt,languages:Rt,classroomList:$t,autoHeight:Je,diff_code_count:st,data:At})=>{const[Nt,St]=(0,z.useState)(Rt==null?void 0:Rt[0]),sn=(0,a.useParams)();return(0,z.useEffect)(()=>{St(Rt==null?void 0:Rt[0])},[]),(0,z.useEffect)(()=>{var Fe;St((Fe=Rt==null?void 0:Rt.filter(Qt=>Qt.language===(Nt==null?void 0:Nt.language)))==null?void 0:Fe[0])},[Rt]),ee.createElement(ee.Fragment,null,ee.createElement("h2",null," ",ee.createElement("span",null,vt.is_finish?ee.createElement("span",null,"\u6700\u540E\u901A\u5173\u4EE3\u7801",ee.createElement("span",{className:"ml5 font12 c-grey-999"},"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801")):ee.createElement("span",null,"\u6700\u65B0\u4EE3\u7801",ee.createElement("span",{className:"ml5 font12 c-grey-999"},"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5")),(Rt==null?void 0:Rt.length)>1&&ee.createElement(se.ZP.Group,{defaultValue:Ve,style:{marginLeft:10},onChange:Fe=>{var Qt;vt.language=Fe.target.value,St((Qt=Rt==null?void 0:Rt.filter(Gt=>Gt.language===Fe.target.value))==null?void 0:Qt[0])}},Rt==null?void 0:Rt.map(Fe=>ee.createElement(se.ZP,{value:Fe==null?void 0:Fe.language},Fe==null?void 0:Fe.language)))),(0,Me.GJ)()&&rt!="shixunWorkReport"&&ee.createElement("span",null,ee.createElement("span",null,"\u5F97\u5206 ",Nt==null?void 0:Nt.score,"/",Nt==null?void 0:Nt.total_score),ee.createElement(he.ZP,{style:{margin:"0px 10px"},onClick:()=>{var Fe,Qt;if(!((Qt=(Fe=$t.AssistantObject)==null?void 0:Fe.hack)!=null&&Qt.can_appraise)&&(0,Me.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}let Gt=Nt==null?void 0:Nt.score;be.default.confirm({title:"\u8C03\u5206",content:ee.createElement("div",null,ee.createElement("p",null,"\u5F97\u5206\uFF1A",Nt==null?void 0:Nt.score,"/",Nt==null?void 0:Nt.total_score),ee.createElement("p",null,"\u8C03\u5206\uFF1A",ee.createElement(Ne.Z,{min:0,max:Nt==null?void 0:Nt.total_score,defaultValue:Nt==null?void 0:Nt.score,onChange:Hn=>{Gt=Hn}}))),okText:"\u786E\u8BA4",onOk:()=>De(void 0,null,function*(){(yield(0,re.ZP)(`/api/courses/${sn==null?void 0:sn.coursesId}/homework_commons/update_hack_score`,{method:"put",body:{course_id:sn==null?void 0:sn.coursesId,hack_user_code_id:Nt==null?void 0:Nt.hack_user_id,score:Gt}})).status===0&&(Ie.ZP.success("\u8C03\u5206\u6210\u529F"),it({type:"shixunHomeworks/setActionTabs",payload:{}}),it({type:"shixunHomeworks/getShixunWorkReports",payload:xe({},sn)}))}),cancelText:"\u53D6\u6D88"})},type:"primary"},"\u8C03\u5206"),(0,Me.GJ)()&&rt!="shixunWorkReport"&&ee.createElement(he.ZP,{onClick:()=>{var Fe;if(!((Fe=$t.AssistantObject.hack)!=null&&Fe.can_appraise)&&(0,Me.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}it({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:rt.user_id,type:"1",language:Nt==null?void 0:Nt.language,v:vt,data:xe({},rt)}}})}},"\u70B9\u8BC4\u4EE3\u7801"))),ee.createElement(Ze.ZP,{height:300,language:Nt==null?void 0:Nt.language,value:Nt!=null&&Nt.code?ye.Base64.decode(Nt==null?void 0:Nt.code):"",autoHeight:Je,theme:"default",options:_e}),((Nt==null?void 0:Nt.comment)||(Nt==null?void 0:Nt.hidden_comment))&&ee.createElement("div",null,ee.createElement(ie.Z,{align:"middle",style:{borderTop:"1px solid #eee"}},ee.createElement(nt.Z,{flex:1},ee.createElement("h1",{className:ze.title},"\u70B9\u8BC4\u5185\u5BB9")),ee.createElement(nt.Z,{className:"pr30"},(0,Me.GJ)()&&ee.createElement(he.ZP,{onClick:()=>De(void 0,null,function*(){be.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:ee.createElement(E.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return De(this,null,function*(){(yield(0,b.gZ)({comment_id:Nt==null?void 0:Nt.comment_id,homeworkId:sn.homeworkId,type:"hack"})).status===0&&(Ie.ZP.success("\u5220\u9664\u6210\u529F"),it({type:"shixunHomeworks/getShixunWorkReports",payload:xe({},sn)}))})}})})},ee.createElement(x.Z,null),"\u5220\u9664"))),ee.createElement(je.Z,{style:{margin:0}}),(Nt==null?void 0:Nt.comment)&&ee.createElement("aside",{className:"pl30 pr30 mt20"},ee.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ee.createElement("br",null),ee.createElement(y.Z,{value:Nt==null?void 0:Nt.comment})),(Nt==null?void 0:Nt.hidden_comment)&&ee.createElement("aside",{className:"pl30 pr30 mt20"},ee.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ee.createElement("br",null),ee.createElement(y.Z,{value:Nt==null?void 0:Nt.hidden_comment}))))}},65168:function(Ct,Pt,te){"use strict";te.r(Pt),te.d(Pt,{default:function(){return xe}});var z=te(59301),se=te(6075),he=te(99313),Ie=te(3113),be=te(58421),Ne=te(35219),ie=te(23789),nt=te(41625),je=te(55858),Ze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAWCAYAAAAvg9c4AAAAAXNSR0IArs4c6QAABPdJREFUSEullWloHGUYx//vzO7sHDuzm93sZpM2l/SgRyK7xSYxrfYgbdUq6JcixXqAUrxItGAVMT1A+kH7Re1WWppa6afiAYJIi7ZB07vkIARzVJqYbJMmu90zszOzM6/MVEXQotR3mPky8/7e//N7ZuYl+J+jt7fX7/f7i/X19cU/UORemZRSZnBwsKNQKLztdrtHOI57sqGhYcbm3ROUUsoOD4++Mz9f2CtJItE0DaVSqTMWi+27Jyil1DM0NLTfsm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w2pqkqy2SzcbjdcnAiOczuJIxUhVIRCu5qbV39Ivj19+oBSvfytyz/1HG5trLs4NU+O3xge6npj53Mv/PUHPj09HR4bG9s+NzfXnkymatSiCoEX4C8rA+fh4eE4GioPrI1Goz3k1Fdf7KlcEuvsu3z1mN9jjY3fSr/vgX5oV/trr/zTrtDf379wYmIinkqlHrMsi8iyDFnxQRCFsdrq6tW1tbW3yXt79z77y42J44KL5FPJOeJiXUb0/oYdu9/t/OZuW42tpa+v75iqqtvy+RwqwiEIvPjJw+vXv+q8011dXXx/f/9WWZaVQCBwE0Bfe3v7NCHE/rDuOmzw+Pj4p4lEYruLZWeqa2o2xmKxIXvCb487Tm3fsdeDAAAAAElFTkSuQmCC",ze=te(28103),Me=te(28900),ye=te(41510),re=(Ee,De,_e)=>new Promise((pt,Be)=>{var $e=it=>{try{Ve(_e.next(it))}catch(rt){Be(rt)}},Ke=it=>{try{Ve(_e.throw(it))}catch(rt){Be(rt)}},Ve=it=>it.done?pt(it.value):Promise.resolve(it.value).then($e,Ke);Ve((_e=_e.apply(Ee,De)).next())});const a=({user:Ee,item:De,getdata:_e,params:pt})=>{var Be;const $e=(0,z.useRef)(),[Ke,Ve]=(0,z.useState)(),[it,rt]=(0,z.useState)(!0);return(0,z.useEffect)(()=>{if(!$e.current)return;function vt(){var $t;let Je=new ResizeObserver(st=>{for(let At of st)console.log("----",At,st),Ve(At.target.offsetHeight>=52)});return Je.observe(($t=$e.current)==null?void 0:$t.firstElementChild),Je}const Rt=vt();return()=>{var $t,Je;($t=$e.current)!=null&&$t.firstElementChild&&Rt.unobserve((Je=$e.current)==null?void 0:Je.firstElementChild)}},[$e.current]),z.createElement("div",{onClick:()=>{se.history.push(`/classrooms/${pt.coursesId}/program_homework/${pt.categoryId}/answer/${De.id}/detail`)},style:{padding:"0px 20px",cursor:"pointer"}},z.createElement("div",{className:je.Z.titles,style:{fontWeight:600,fontSize:18,color:"#000000"}},De.name),z.createElement("div",{style:{display:"flex",marginTop:10}},z.createElement("div",{style:{flex:1,display:"flex",alignItems:"center",color:"#5F6368"}},z.createElement("img",{style:{width:24,borderRadius:50},src:`${ye.Z.IMG_SERVER}/images/${De.author.image_url}`}),z.createElement("span",{style:{margin:"0px 12px 0px 8px"}},(Be=De==null?void 0:De.author)==null?void 0:Be.name),z.createElement("span",null,"\u53D1\u8868\u4E8E",De.created_at)),z.createElement("div",null,z.createElement("span",{style:{color:"#5F6368",cursor:"pointer"},onClick:()=>{}},"\u56DE\u590D\uFF08",(De==null?void 0:De.descendants_count)||0,"\uFF09"),(0,Ne.eB)()&&z.createElement("span",{onClick:vt=>re(void 0,null,function*(){vt.stopPropagation(),(yield(0,ie.ZP)(`/api/hack_messages/${De.id}/update_public`,{method:"post"})).status===0&&_e()}),style:{color:"#44D7B6",cursor:"pointer",marginLeft:20}},De.is_public?"\u53D6\u6D88\u516C\u5F00":"\u516C\u5F00"))),z.createElement("div",{ref:$e,style:{margin:"15px 0px",maxHeight:it?52:"",overflow:"hidden"}},z.createElement(Me.Z,{style:{color:"#434D6C",fontSize:14},value:De.content})),(De==null?void 0:De.hack_identifier)&&z.createElement("span",{onClick:vt=>re(void 0,null,function*(){var Rt;if(vt.stopPropagation(),(0,Ne.dE)())return;let $t=yield(0,ie.ZP)(`/api/problems/${De==null?void 0:De.hack_identifier}/start.json`,{method:"get",params:{hack_user_id:(Rt=De==null?void 0:De.author)==null?void 0:Rt.id}});$t&&(window.open(`/myproblems/${$t==null?void 0:$t.identifier}?type=1`),localStorage.setItem("program_homework",[pt.coursesId,pt.categoryId]))}),className:je.Z.tips},De==null?void 0:De.hack_name),Ke&&z.createElement("div",{onClick:vt=>{vt.stopPropagation(),rt(!it)}},z.createElement(ze.Z,{dashed:!1,className:"",style:{cursor:"pointer"}},z.createElement("a",{className:`font14 ${je.Z.color999}`},it?"\u9605\u8BFB\u5168\u6587 ":"\u6536\u8D77\u5168\u6587 ",z.createElement("i",{className:`iconfont font14 ${it?"icon-jiantou9":"icon-changyongtubiao-xianxingdaochu-zhuanqu-"}`})))))};var y=(0,se.connect)(({user:Ee})=>({user:Ee}))(a),b=Object.defineProperty,E=Object.defineProperties,x=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,ae=(Ee,De,_e)=>De in Ee?b(Ee,De,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Ee[De]=_e,ue=(Ee,De)=>{for(var _e in De||(De={}))ne.call(De,_e)&&ae(Ee,_e,De[_e]);if(ee)for(var _e of ee(De))oe.call(De,_e)&&ae(Ee,_e,De[_e]);return Ee},me=(Ee,De)=>E(Ee,x(De)),fe=(Ee,De,_e)=>new Promise((pt,Be)=>{var $e=it=>{try{Ve(_e.next(it))}catch(rt){Be(rt)}},Ke=it=>{try{Ve(_e.throw(it))}catch(rt){Be(rt)}},Ve=it=>it.done?pt(it.value):Promise.resolve(it.value).then($e,Ke);Ve((_e=_e.apply(Ee,De)).next())});const Pe=({user:Ee})=>{var De,_e,pt,Be;let[$e,Ke]=(0,z.useState)(me(ue({},(0,se.useParams)()),{page:1,per_page:10,type:1,sort_by:"",course_group:(0,Ne.dE)()?[Ee.userInfo.course.course_group_id]:[]}));const[Ve,it]=(0,z.useState)([]);(0,z.useEffect)(()=>{rt()},[]);function rt(){return fe(this,null,function*(){let vt=yield(0,ie.ZP)(`/api/homework_commons/${$e.categoryId}/hack_messages`,{method:"get",params:me(ue({},$e),{type:1})});it(vt)})}return z.createElement("div",{style:{width:1200,margin:"0px auto"}},z.createElement("div",{style:{marginTop:10,display:"flex"}},z.createElement("div",{style:{flex:1,marginRight:30,background:"#fff"}},z.createElement(he.default,{tabBarStyle:{padding:"0px 10px"},style:{width:"850px"},tabBarExtraContent:(0,Ne.dE)()&&z.createElement(Ie.ZP,{type:"primary",style:{width:88},onClick:()=>{se.history.push(`/classrooms/${$e.coursesId}/program_homework/${$e.categoryId}/answer/add`)}},"\u53D1\u8868\u7B54\u7591 "),onChange:vt=>{vt==="1"?$e.sort_by="":$e.sort_by="created_at",Ke(ue({},$e)),rt()}},z.createElement(he.default.TabPane,{key:"1",tab:"\u6700\u65B0\u56DE\u590D"}),z.createElement(he.default.TabPane,{key:"2",tab:"\u6700\u65B0\u53D1\u8868"})),((De=Ve==null?void 0:Ve.data)==null?void 0:De.length)<=0&&z.createElement(nt.Z,{customText:"\u6682\u65E0\u8BA8\u8BBA"}),(_e=Ve==null?void 0:Ve.data)==null?void 0:_e.map(vt=>z.createElement(y,{item:vt,params:$e,getdata:rt})),z.createElement("div",{style:{width:"100%",textAlign:"center",marginTop:10}},z.createElement(be.Z,{current:$e.page,pageSize:$e.per_page,total:Ve==null?void 0:Ve.count,hideOnSinglePage:!0,onChange:(vt,Rt)=>{$e.page=vt,$e.per_page=Rt,Ke(ue({},$e)),rt()}}))),z.createElement("div",{className:je.Z.right,style:{width:300,height:"100%"}},z.createElement("div",{style:{display:"flex"}},z.createElement("div",{style:{flex:1,display:"flex",alignItems:"center"}},z.createElement("span",{style:{marginRight:3,fontSize:20,fontWeight:600,color:"#000"}},"\u5E7F\u64AD"),z.createElement("img",{width:21,src:Ze})," "),(0,Ne.GJ)()&&z.createElement(Ie.ZP,{type:"primary",onClick:()=>{se.history.push(`/classrooms/${$e.coursesId}/program_homework/${$e.categoryId}/answer/add`)}},"\u53D1\u5E03\u5E7F\u64AD")),((pt=Ve==null?void 0:Ve.radio_messages)==null?void 0:pt.length)<=0&&z.createElement(nt.Z,null),(Be=Ve==null?void 0:Ve.radio_messages)==null?void 0:Be.map(vt=>z.createElement("div",{onClick:()=>{se.history.push(`/classrooms/${$e.coursesId}/program_homework/${$e.categoryId}/answer/${vt.id}/detail`)},style:{marginTop:30,cursor:"pointer"}},z.createElement("div",{className:je.Z.title,style:{fontSize:"16px",fontWeight:600}},z.createElement("span",{style:{color:(vt==null?void 0:vt.message_type)===2?"#4C7BE6":"#E17E7E"}},(vt==null?void 0:vt.message_type)===2?"\u3010\u9898\u89E3\u3011":"\u3010\u901A\u77E5\u3011"),z.createElement("span",{title:vt.name},vt.name)),z.createElement("div",{style:{marginTop:15,color:"#5F6368"}},"\u53D1\u8868\u4E8E",vt.created_at))))))};var xe=(0,se.connect)(({user:Ee})=>({user:Ee}))(Pe)},72011:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return me}});var z=te(59301),se={anchorNavigation:"anchorNavigation___qD4R0",tabs:"tabs___hVMvA",box:"box___Qz1lW",head:"head___WZZdl"},he=Object.defineProperty,Ie=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,ie=(fe,Pe,xe)=>Pe in fe?he(fe,Pe,{enumerable:!0,configurable:!0,writable:!0,value:xe}):fe[Pe]=xe,nt=(fe,Pe)=>{for(var xe in Pe||(Pe={}))be.call(Pe,xe)&&ie(fe,xe,Pe[xe]);if(Ie)for(var xe of Ie(Pe))Ne.call(Pe,xe)&&ie(fe,xe,Pe[xe]);return fe};const je=fe=>React.createElement("svg",nt({width:17,height:18,xmlns:"http://www.w3.org/2000/svg"},fe),React.createElement("title",null,"\u88C5\u9970\u70B9"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"100%",y1:"50%",x2:"0%",y2:"50%",id:"dot_svg__a"},React.createElement("stop",{stopColor:"#5EC7EA",offset:"0%"}),React.createElement("stop",{stopColor:"#3055D0",offset:"100%"}))),React.createElement("g",{transform:"translate(0 -1)",fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"m4.342 2.005 11.896 7.138a1 1 0 0 1 0 1.714L4.342 17.995a1 1 0 0 1-1.378-1.362L6.834 10l-3.87-6.633a1 1 0 0 1 1.378-1.362Z",fill:"url(#dot_svg__a)"}),React.createElement("circle",{fill:"#3061D0",cx:2,cy:10,r:2})));var Ze="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIxMDAlIiB5MT0iNTAlIiB4Mj0iMCUiIHkyPSI1MCUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjNUVDN0VBIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMwNTVEMCIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtMSkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZD0ibTQuMzQyIDIuMDA1IDExLjg5NiA3LjEzOGExIDEgMCAwIDEgMCAxLjcxNEw0LjM0MiAxNy45OTVhMSAxIDAgMCAxLTEuMzc4LTEuMzYyTDYuODM0IDEwbC0zLjg3LTYuNjMzYTEgMSAwIDAgMSAxLjM3OC0xLjM2MloiIGZpbGw9InVybCgjYSkiLz48Y2lyY2xlIGZpbGw9IiMzMDYxRDAiIGN4PSIyIiBjeT0iMTAiIHI9IjIiLz48L2c+PC9zdmc+",ze=te(99313),Me=te(92310),ye=te.n(Me),re=te(59301),a=Object.defineProperty,y=Object.defineProperties,b=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,ne=(fe,Pe,xe)=>Pe in fe?a(fe,Pe,{enumerable:!0,configurable:!0,writable:!0,value:xe}):fe[Pe]=xe,oe=(fe,Pe)=>{for(var xe in Pe||(Pe={}))x.call(Pe,xe)&&ne(fe,xe,Pe[xe]);if(E)for(var xe of E(Pe))ee.call(Pe,xe)&&ne(fe,xe,Pe[xe]);return fe},ae=(fe,Pe)=>y(fe,b(Pe)),me=({dataSource:fe,className:Pe,style:xe})=>{const[Ee,De]=(0,z.useState)([]),[_e,pt]=(0,z.useState)(""),Be=(0,z.useRef)("");(0,z.useEffect)(()=>{if(fe!=null&&fe.length){const Ve=String(Math.random()).slice(-6),it=fe.map(rt=>ae(oe({},rt),{key:`${Ve}-${rt.key}`}));De(it),pt(it[0].key)}},[fe.length]);const $e=Ve=>{pt(Ve),Be.current=Ve;const it=document.getElementById(Ve);if(it){const rt=it.getBoundingClientRect().top+window.scrollY-50;window.scrollTo({top:rt,behavior:"smooth"})}},Ke=()=>{const Ve=Ee.map(rt=>document.getElementById(rt.key)),it=window.innerHeight/2;for(const rt of Ve)if(rt){const vt=rt.getBoundingClientRect();if(vt.top>=0&&vt.top<it){if(Be.current===rt.id){Be.current="";return}if(Be.current)return;pt(rt.id);break}}};return(0,z.useEffect)(()=>(window.addEventListener("scroll",Ke),()=>{window.removeEventListener("scroll",Ke)}),[Ee]),re.createElement("div",{className:ye()(se.anchorNavigation,Pe),style:xe},re.createElement(ze.default,{items:Ee,tabBarGutter:60,className:se.tabs,activeKey:_e,onChange:$e}),Ee.map(Ve=>re.createElement("div",{key:Ve.key,id:Ve.key,className:se.box},re.createElement("div",{className:se.head},re.createElement("img",{className:"mr10",src:Ze,alt:"Dot"}),Ve.label),re.createElement("div",{className:se.element},Ve.element))))}},27909:function(Ct,Pt,te){"use strict";var z=te(59301),se=te(43418),he=te(8591),Ie=te(23789),be=te(6075),Ne=Object.defineProperty,ie=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,Ze=(a,y,b)=>y in a?Ne(a,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):a[y]=b,ze=(a,y)=>{for(var b in y||(y={}))nt.call(y,b)&&Ze(a,b,y[b]);if(ie)for(var b of ie(y))je.call(y,b)&&Ze(a,b,y[b]);return a},Me=(a,y)=>{var b={};for(var E in a)nt.call(a,E)&&y.indexOf(E)<0&&(b[E]=a[E]);if(a!=null&&ie)for(var E of ie(a))y.indexOf(E)<0&&je.call(a,E)&&(b[E]=a[E]);return b},ye=(a,y,b)=>new Promise((E,x)=>{var ee=ae=>{try{oe(b.next(ae))}catch(ue){x(ue)}},ne=ae=>{try{oe(b.throw(ae))}catch(ue){x(ue)}},oe=ae=>ae.done?E(ae.value):Promise.resolve(ae.value).then(ee,ne);oe((b=b.apply(a,y)).next())});const re=a=>{var y=a,{shixunHomeworks:b,dispatch:E}=y,x=Me(y,["shixunHomeworks","dispatch"]);const ee=(0,be.useParams)();return z.createElement(se.default,{centered:!0,title:"\u63D0\u793A",open:b.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ye(void 0,null,function*(){(yield(0,Ie.ZP)(`/api/myshixuns/${b.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:ee.coursesId}})).shixun_identifier&&(he.ZP.success("\u64CD\u4F5C\u6210\u529F"),E({type:"shixunHomeworks/setActionTabs",payload:{}}),E({type:"shixunHomeworks/getWorkList",payload:ze({},b.actionTabs.params)}))}),onCancel:()=>{E({type:"shixunHomeworks/setActionTabs",payload:{}})}},z.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),z.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Pt.Z=(0,be.connect)(({shixunHomeworks:a})=>({shixunHomeworks:a}))(re)},58130:function(Ct,Pt,te){"use strict";te.d(Pt,{n:function(){return wt},Z:function(){return mn}});var z=te(59301),se=te(78241),he=te(8591),Ie=te(6848),be=te(43418),Ne=te(20834),ie=te(24905),nt=te(95237),je=te(43604),Ze=te(92832),ze=te(3113),Me=te(38854),ye=te(1710),re=te(5112),a=te(5871),y=te(58421),b=te(84105),E=te(87395),x=te(67921),ee=te(89489),ne=te(41625),oe=te(21331),ae=te(27909),ue=te(96512),me=te(23789),fe=te(6075),Pe=Object.defineProperty,xe=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,_e=(dt,Dt,yt)=>Dt in dt?Pe(dt,Dt,{enumerable:!0,configurable:!0,writable:!0,value:yt}):dt[Dt]=yt,pt=(dt,Dt)=>{for(var yt in Dt||(Dt={}))Ee.call(Dt,yt)&&_e(dt,yt,Dt[yt]);if(xe)for(var yt of xe(Dt))De.call(Dt,yt)&&_e(dt,yt,Dt[yt]);return dt},Be=(dt,Dt)=>{var yt={};for(var en in dt)Ee.call(dt,en)&&Dt.indexOf(en)<0&&(yt[en]=dt[en]);if(dt!=null&&xe)for(var en of xe(dt))Dt.indexOf(en)<0&&De.call(dt,en)&&(yt[en]=dt[en]);return yt},$e=(dt,Dt,yt)=>new Promise((en,Wt)=>{var un=an=>{try{fn(yt.next(an))}catch(Un){Wt(Un)}},Vn=an=>{try{fn(yt.throw(an))}catch(Un){Wt(Un)}},fn=an=>an.done?en(an.value):Promise.resolve(an.value).then(un,Vn);fn((yt=yt.apply(dt,Dt)).next())});const Ke=dt=>{var Dt=dt,{shixunHomeworks:yt,dispatch:en}=Dt,Wt=Be(Dt,["shixunHomeworks","dispatch"]);const un=(0,fe.useParams)(),[Vn,fn]=(0,z.useState)(!0),[an,Un]=(0,z.useState)(!1),[zt]=se.default.useForm(),Tt=()=>$e(void 0,null,function*(){const Xt=zt.getFieldValue();(yield(0,me.ZP)(`/api/homework_commons/${un.categoryId}/batch_comment.json`,{method:"post",body:{student_work_ids:[...yt.actionTabs.selectArrs],cover_all:Vn,hidden_comment:Xt.hidden_comment,comment:Xt.comment}})).status===0&&(he.ZP.success("\u8BC4\u9605\u6210\u529F"),zt.resetFields(),en({type:"shixunHomeworks/setActionTabs",payload:{}}),en({type:"shixunHomeworks/getWorkList",payload:pt({},yt.actionTabs.params)}))});return z.createElement(z.Fragment,null,z.createElement(be.default,{centered:!0,title:"\u4E00\u952E\u70B9\u8BC4",open:yt.actionTabs.key==="\u4E00\u952E\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>$e(void 0,null,function*(){const Xt=zt.getFieldValue();JSON.stringify(Xt)==="{}"||Xt.hidden_comment===""&&Xt.comment===""?Un(!0):yt.workList.partial_comment?en({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4E00\u952E\u70B9\u8BC4\u786E\u8BA4",selectArrs:yt.actionTabs.selectArrs,params:yt.actionTabs.params}}):Tt()}),onCancel:()=>{en({type:"shixunHomeworks/setActionTabs",payload:{}})}},z.createElement(se.default,{form:zt,onChange:()=>{an&&Un(!1)}},z.createElement("p",null,"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),z.createElement(se.default.Item,{name:"comment"},z.createElement(Ze.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8})),z.createElement("p",null,"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),z.createElement(se.default.Item,{name:"hidden_comment"},z.createElement(Ze.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8}))),an&&z.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A")),z.createElement(be.default,{centered:!0,title:z.createElement("span",null,z.createElement(ue.Z,{className:"c-orange mr20"}),"\u63D0\u793A"),open:yt.actionTabs.key==="\u4E00\u952E\u70B9\u8BC4\u786E\u8BA4",okText:"\u786E\u5B9A\u70B9\u8BC4",cancelText:"\u653E\u5F03\u70B9\u8BC4",onOk:()=>{Tt()},onCancel:()=>{en({type:"shixunHomeworks/setActionTabs",payload:{}})},width:400},z.createElement("div",{className:"tc"},z.createElement("p",null,"\u90E8\u5206\u5B66\u751F\u5DF2\u6709\u70B9\u8BC4\u5185\u5BB9\uFF0C\u662F\u5426\u8986\u76D6\u5DF2\u6709\u70B9\u8BC4\u5185\u5BB9\uFF1F"),z.createElement("p",null,z.createElement(re.ZP.Group,{onChange:Xt=>{fn(Xt.target.value)},value:Vn},z.createElement(re.ZP,{value:!0},"\u8986\u76D6\u5DF2\u6709\u70B9\u8BC4"),z.createElement(re.ZP,{value:!1},"\u8DF3\u8FC7\u5DF2\u6709\u70B9\u8BC4"))))))};var Ve=(0,fe.connect)(({shixunHomeworks:dt})=>({shixunHomeworks:dt}))(Ke),it=te(23827),rt=te(35219),vt={wrap:"wrap___altfw",maxWidth70:"maxWidth70___Q4NoO",maxWidth80:"maxWidth80___lwsmt",maxWidth100:"maxWidth100___Wnsw8",maxWidth110:"maxWidth110___zQh0P",maxWidth120:"maxWidth120___gjwfa",reviewStatusTooltip:"reviewStatusTooltip___um7Rt",color32C:"color32C___GIjgW",MdEditor:"MdEditor___OuyKH",tr1:"tr1___nwwbX",TableDom:"TableDom___pl59W"},Rt=Object.getOwnPropertySymbols,$t=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,st=(dt,Dt)=>{var yt={};for(var en in dt)$t.call(dt,en)&&Dt.indexOf(en)<0&&(yt[en]=dt[en]);if(dt!=null&&Rt)for(var en of Rt(dt))Dt.indexOf(en)<0&&Je.call(dt,en)&&(yt[en]=dt[en]);return yt},At=(dt,Dt,yt)=>new Promise((en,Wt)=>{var un=an=>{try{fn(yt.next(an))}catch(Un){Wt(Un)}},Vn=an=>{try{fn(yt.throw(an))}catch(Un){Wt(Un)}},fn=an=>an.done?en(an.value):Promise.resolve(an.value).then(un,Vn);fn((yt=yt.apply(dt,Dt)).next())});const Nt=dt=>{var Dt=dt,{shixunHomeworks:yt,dispatch:en}=Dt,Wt=st(Dt,["shixunHomeworks","dispatch"]),un,Vn,fn,an;const Un=(0,fe.useParams)(),[zt,Tt]=(0,z.useState)(!1),[Xt,Ea]=(0,z.useState)((Vn=(un=yt.actionTabs.selectArrs)==null?void 0:un.data)==null?void 0:Vn.name),[qn]=se.default.useForm();(0,z.useEffect)(()=>{var Ga,La,Ar,Cr,Qa,at;yt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&qn.setFieldsValue({comment:(La=(Ga=yt.actionTabs.selectArrs)==null?void 0:Ga.data)==null?void 0:La.work_comment,hidden_comment:(Cr=(Ar=yt.actionTabs.selectArrs)==null?void 0:Ar.data)==null?void 0:Cr.work_comment_hidden}),Ea((at=(Qa=yt.actionTabs.selectArrs)==null?void 0:Qa.data)==null?void 0:at.name)},[yt.actionTabs.key]);const Mn=()=>At(void 0,null,function*(){var Ga,La;const Ar=qn.getFieldValue();if((yield(0,me.ZP)(`/api/student_works/${(La=(Ga=yt.actionTabs.selectArrs)==null?void 0:Ga.data)==null?void 0:La.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:Ar.hidden_comment,comment:Ar.comment}})).status===0)return he.ZP.success("\u8BC4\u9605\u6210\u529F"),qn.resetFields(),en({type:"shixunHomeworks/setActionTabs",payload:{}}),en({type:"shixunHomeworks/getWorkList",payload:Un})});return z.createElement(z.Fragment,null,z.createElement(be.default,{centered:!0,title:(an=(fn=yt.actionTabs.selectArrs)==null?void 0:fn.data)!=null&&an.work_comment_hidden?"\u66F4\u6539"+Xt+"\u70B9\u8BC4":Xt+"\u70B9\u8BC4",open:yt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>At(void 0,null,function*(){const Ga=qn.getFieldValue();JSON.stringify(Ga)==="{}"||Ga.hidden_comment===""&&Ga.comment===""?Tt(!0):Mn()}),onCancel:()=>{en({type:"shixunHomeworks/setActionTabs",payload:{}})}},z.createElement(se.default,{form:qn,onChange:()=>{zt&&Tt(!1)}},z.createElement("p",null,"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),z.createElement(se.default.Item,{name:"comment"},z.createElement(Ze.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8})),z.createElement("p",null,"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),z.createElement(se.default.Item,{name:"hidden_comment"},z.createElement(Ze.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8}))),zt&&z.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A")))};var St=(0,fe.connect)(({shixunHomeworks:dt})=>({shixunHomeworks:dt}))(Nt),sn=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,Qt=Object.prototype.propertyIsEnumerable,Gt=(dt,Dt)=>{var yt={};for(var en in dt)Fe.call(dt,en)&&Dt.indexOf(en)<0&&(yt[en]=dt[en]);if(dt!=null&&sn)for(var en of sn(dt))Dt.indexOf(en)<0&&Qt.call(dt,en)&&(yt[en]=dt[en]);return yt},Hn=(dt,Dt,yt)=>new Promise((en,Wt)=>{var un=an=>{try{fn(yt.next(an))}catch(Un){Wt(Un)}},Vn=an=>{try{fn(yt.throw(an))}catch(Un){Wt(Un)}},fn=an=>an.done?en(an.value):Promise.resolve(an.value).then(un,Vn);fn((yt=yt.apply(dt,Dt)).next())});const Jn=dt=>{var Dt=dt,{shixunHomeworks:yt,dispatch:en}=Dt,Wt=Gt(Dt,["shixunHomeworks","dispatch"]);const un=(0,fe.useParams)(),[Vn,fn]=(0,z.useState)([]),[an,Un]=(0,z.useState)([]);(0,z.useEffect)(()=>{yt.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B"&&zt()},[yt.actionTabs.key]);function zt(){return Hn(this,null,function*(){const Xt=yield(0,me.ZP)(`/api/homework_commons/${un.categoryId}/code_quality_analyses/group_list.json`,{method:"GET",params:{page:1,limit:200}});fn(Xt)})}const Tt=[{title:"\u5206\u73ED\u60C5\u51B5",dataIndex:"name"},{title:"\u6709\u6548\u4F5C\u54C1\u6570",dataIndex:"works_count"},{title:"\u68C0\u6D4B\u8FDB\u5EA6",dataIndex:"status"},{title:"\u4E0A\u6B21\u8BC4\u5206\u65F6\u95F4",dataIndex:"last_analysis_time"}];return z.createElement(z.Fragment,null,z.createElement(be.default,{centered:!0,title:"\u4EE3\u7801\u8D28\u91CF\u8BC4\u5206",open:yt.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B",width:700,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Hn(void 0,null,function*(){const Xt=yield(0,me.ZP)(`/api/homework_commons/${un.categoryId}/code_quality_analyses.json`,{method:"POST",body:{group_ids:an}});(Xt==null?void 0:Xt.status)===0&&(fe.history.replace(`/classrooms/${un.coursesId}/shixun_homework/${un.categoryId}/detail?tabs=4`),window.location.reload(),en({type:"shixunHomeworks/setActionTabs",payload:{}}),Un([]))}),onCancel:()=>{Un([]),en({type:"shixunHomeworks/setActionTabs",payload:{}})}},z.createElement(ye.default,{rowSelection:{type:"checkbox",onChange:(Xt,Ea)=>{Un([...Xt])},selectedRowKeys:an,getCheckboxProps:Xt=>({disabled:Xt.status==="\u8FDB\u884C\u4E2D"||Xt.works_count===0})},rowKey:Xt=>Xt.key||Xt.id,scroll:{y:300},pagination:!1,columns:Tt,dataSource:Vn==null?void 0:Vn.group_list})))};var Re=(0,fe.connect)(({shixunHomeworks:dt})=>({shixunHomeworks:dt}))(Jn),qe=te(37962),tt=te(40253),Le=Object.defineProperty,ft=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,ve=(dt,Dt,yt)=>Dt in dt?Le(dt,Dt,{enumerable:!0,configurable:!0,writable:!0,value:yt}):dt[Dt]=yt,Ge=(dt,Dt)=>{for(var yt in Dt||(Dt={}))gt.call(Dt,yt)&&ve(dt,yt,Dt[yt]);if(ft)for(var yt of ft(Dt))Oe.call(Dt,yt)&&ve(dt,yt,Dt[yt]);return dt},We=(dt,Dt,yt)=>new Promise((en,Wt)=>{var un=an=>{try{fn(yt.next(an))}catch(Un){Wt(Un)}},Vn=an=>{try{fn(yt.throw(an))}catch(Un){Wt(Un)}},fn=an=>an.done?en(an.value):Promise.resolve(an.value).then(un,Vn);fn((yt=yt.apply(dt,Dt)).next())});const we=({shixunHomeworks:dt,dispatch:Dt,isShow:yt,setIsShow:en,item:Wt,coursesId:un,categoryId:Vn})=>{const[fn,an]=(0,z.useState)({page:1,limit:10}),[Un,zt]=(0,z.useState)([]),[Tt,Xt]=(0,z.useState)(!1);(0,z.useEffect)(()=>{yt&&Ea()},[yt]);function Ea(){return We(this,null,function*(){Xt(!0);const Mn=yield(0,me.ZP)(`/api/student_works/${Wt.id}/game_details.json`,{method:"get",params:Ge({},fn)});Xt(!1),Mn.status===0&&zt(Mn==null?void 0:Mn.data)})}const qn=[{title:"\u5E8F\u53F7",dataIndex:"number",width:50,fixed:"left",ellipsis:!0,render:(Mn,Ga,La)=>z.createElement("span",{style:{color:"#000"}},fn.limit*(fn.page-1)+La+1)},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",ellipsis:!0,render:(Mn,Ga,La)=>z.createElement("span",{style:{color:"#000"}},Mn)},{title:"\u901A\u5173\u8BE6\u60C5",dataIndex:"complete_status",key:"complete_status",ellipsis:!0,width:100,render:(Mn,Ga,La)=>z.createElement("span",null,Mn==0?"\u672A\u901A\u5173":Mn==4?"\u622A\u6B62\u540E\u901A\u5173":"\u5DF2\u901A\u5173")},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",key:"evaluate_count",width:100,ellipsis:!0,render:(Mn,Ga,La)=>z.createElement("span",{style:{color:"#333"}},Mn)},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming",key:"time_consuming",width:120,ellipsis:!0,render:(Mn,Ga,La)=>z.createElement("span",{style:{color:"#333"}},Mn)}];return z.createElement(z.Fragment,null,z.createElement(be.default,{centered:!0,title:"\u901A\u5173\u60C5\u51B5",open:yt,width:700,footer:null,maskClosable:!1,onCancel:()=>{fn.page=1,fn.limit=10,an(Ge({},fn)),en(!1)}},z.createElement("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",marginBottom:"20px"}},z.createElement("div",{style:{maxWidth:"200px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},z.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u5B66\u751F\u59D3\u540D"),z.createElement("span",{title:Wt==null?void 0:Wt.user_name,style:{color:"#232B40"}},Wt==null?void 0:Wt.user_name)),z.createElement("div",{style:{marginLeft:"50px",marginRight:"50px",maxWidth:"180px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},z.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u5B66\u53F7"),z.createElement("span",{title:Wt==null?void 0:Wt.student_id,style:{color:"#232B40"}},(Wt==null?void 0:Wt.student_id)||"--")),z.createElement("div",{style:{maxWidth:"200px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},z.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u73ED\u7EA7"),z.createElement("span",{title:Wt==null?void 0:Wt.group_name,style:{color:"#232B40"}},(Wt==null?void 0:Wt.group_name)||"--"))),z.createElement(ye.default,{scroll:{y:380},columns:qn,loading:Tt,style:{marginBottom:fn.limit>(Un==null?void 0:Un.count)?"16px":"0"},dataSource:Un.games,pagination:{size:"default",showQuickJumper:!0,showSizeChanger:!0,pageSizeOptions:["10","15","50","100","200"],hideOnSinglePage:!0,pageSize:fn.limit,current:fn.page,position:["bottomRight"],onChange:(Mn,Ga)=>{fn.page=Mn,fn.limit=Ga,an(Ge({},fn)),Ea()},total:Un==null?void 0:Un.count,showTotal:(Mn,Ga)=>z.createElement("span",null,"\u5171",z.createElement("span",{style:{color:"#165DFF"}}," ",Mn," "),"\u6761\u6570\u636E")}})))};var mt=(0,fe.connect)(({shixunHomeworks:dt})=>({shixunHomeworks:dt}))(we),et=te(59301),Ht=Object.defineProperty,Se=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,xt=Object.prototype.propertyIsEnumerable,Ae=(dt,Dt,yt)=>Dt in dt?Ht(dt,Dt,{enumerable:!0,configurable:!0,writable:!0,value:yt}):dt[Dt]=yt,He=(dt,Dt)=>{for(var yt in Dt||(Dt={}))ut.call(Dt,yt)&&Ae(dt,yt,Dt[yt]);if(Se)for(var yt of Se(Dt))xt.call(Dt,yt)&&Ae(dt,yt,Dt[yt]);return dt},ct=(dt,Dt,yt)=>new Promise((en,Wt)=>{var un=an=>{try{fn(yt.next(an))}catch(Un){Wt(Un)}},Vn=an=>{try{fn(yt.throw(an))}catch(Un){Wt(Un)}},fn=an=>an.done?en(an.value):Promise.resolve(an.value).then(un,Vn);fn((yt=yt.apply(dt,Dt)).next())});const wt=({value:dt,placeholder:Dt=""})=>{if(dt==null||dt==="")return et.createElement("span",null,Dt);{const yt=Number(dt);if(yt>=80)return et.createElement("span",{style:{color:"#009C0F"}},yt);if(yt<80&&yt>=60)return et.createElement("span",{style:{color:"#FA6400"}},yt);if(yt<60)return et.createElement("span",{style:{color:"#E30000"}},yt)}},Zt=({shixunHomeworks:dt,classroomList:Dt,globalSetting:yt,loading:en,dispatch:Wt,setExportParams:un,user:Vn})=>{var fn,an,Un,zt,Tt,Xt,Ea,qn,Mn,Ga,La,Ar,Cr;const Qa=(0,fe.useParams)(),[at,Mt]=(0,z.useState)(He(He({},{page:1,limit:20,order:"work_score",b_order:"desc"}),Qa)),[Ft]=se.default.useForm(),[kn,dn]=(0,z.useState)(),[Ln,Xr]=(0,z.useState)({}),[Er,Kr]=(0,z.useState)([]),[oo,Xa]=(0,z.useState)(!1),[Nn,ur]=(0,z.useState)([]),[nr,sr]=(0,z.useState)(!1),[er,ht]=(0,z.useState)(),[qt,tn]=(0,z.useState)(1),[Pn,Rn]=(0,z.useState)(),[gn,On]=(0,z.useState)(),[yn,ar]=(0,z.useState)(),[Ra,cn]=(0,z.useState)(),[io,to]=(0,z.useState)(),[no,Mo]=(0,z.useState)(!1),[ea,Aa]=(0,z.useState)(!1),[dr,pa]=(0,z.useState)(),jr=(0,fe.useLocation)();(0,z.useEffect)(()=>(Ir(),()=>{Xr([]),Kr([])}),[at.coursesId]),(0,z.useEffect)(()=>{var zn;const Ia=JSON.parse(JSON.stringify(dt.workList));!((zn=Ia==null?void 0:Ia.student_works)!=null&&zn.length)&&(Ia!=null&&Ia.id)?(Ia.student_works=[He({},Ia)],Xr(Ia)):(Ia!=null&&Ia.id&&Kr([He(He({},Ia),{number:"\u6211"})]),Xr(He({},Ia)))},[dt.workList]);const Ir=zn=>(un(He({},at)),Wt({type:"shixunHomeworks/getWorkList",payload:at}));(0,z.useEffect)(()=>{Wt({type:"user/getUserInfo",payload:{course_id:at.coursesId}})},[]);const br=()=>ct(void 0,null,function*(){const zn=yield(0,it.Uc)({categoryId:Qa.categoryId});dn(zn==null?void 0:zn.update_score)}),po=()=>ct(void 0,null,function*(){Wt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6210\u7EE9\u8BA1\u7B97\u4E2D\uFF0C\u8BF7\u7A0D\u5019..."}});const zn=yield(0,it.Vs)({categoryId:Qa.categoryId});Wt({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(zn==null?void 0:zn.status)===0&&(he.ZP.success(zn==null?void 0:zn.message),Ir())}),Lo=()=>{at.page=1;const zn=Object.assign({},Ft.getFieldsValue());delete at.course_group,delete at.teacher_comment,Object.keys(zn).map(function(Ia){var co;switch(Ia){case"task_status":zn[Ia].includes("all")||!zn[Ia].length?(delete at.work_status,Ft.setFieldsValue({task_status:"all"})):(at.work_status=zn[Ia],Ft.setFieldsValue({task_status:at.work_status}));break;case"course_group_info":zn[Ia].includes("all")||!zn[Ia].length?(delete at.course_group,Ft.setFieldsValue({course_group_info:"all"})):(at.course_group=zn[Ia],Ft.setFieldsValue({course_group_info:at.course_group}));break;case"teacher_comment":zn[Ia].includes("all")||!zn[Ia].length?(delete at.teacher_comment,Ft.setFieldsValue({teacher_comment:"all"})):(at.teacher_comment=((co=zn[Ia])==null?void 0:co.length)===1?Number(zn[Ia][0]):"",Ft.setFieldsValue({teacher_comment:zn[Ia]}));break}}),Ir()};(0,z.useEffect)(()=>{document.getElementById("divhe")&&document.getElementById("divhe").scrollHeight>47&&(to(47),Mo(!0))},[document.getElementById("divhe")]);const Oi=(zn,Ia)=>{at.page=zn,at.limit=20,Ir()};function vi(){tn(1),Rn(""),On(""),ar(""),cn(""),ur([])}const Ei=[{title:"\u5E8F\u53F7",dataIndex:"number",align:"center",width:50,fixed:"left",ellipsis:!0,render:(zn,Ia,co)=>at.limit*(at.page-1)+co+1},{title:"\u59D3\u540D",dataIndex:"user_name",align:"center",width:110,fixed:"left",ellipsis:!0,render:zn=>et.createElement(Ie.Z,{placement:"bottomLeft",title:zn},et.createElement("span",{className:"current"},zn))},!(0,rt.Jd)()&&{title:"\u5B66\u53F7",dataIndex:"student_id",align:"center",sorter:!0,fixed:"left",width:100,ellipsis:!0,showSorterTooltip:!1,sortOrder:at.order==="student_id"?at.b_order==="desc"?"descend":"ascend":null,render:zn=>et.createElement(Ie.Z,{placement:"bottomLeft",title:zn||"--"},et.createElement("span",{className:"current"},zn||"--"))},{title:"\u5206\u73ED",dataIndex:"group_name",align:"center",width:100,fixed:"left",ellipsis:!0,render:(zn,Ia)=>zn?et.createElement(Ie.Z,{placement:"bottom",title:zn},et.createElement("span",{className:"current"},zn)):"--"},{title:"\u4F5C\u4E1A\u72B6\u6001",dataIndex:"work_status",align:"center",width:94,ellipsis:!0,fixed:"left",sorter:!0,showSorterTooltip:!1,sortOrder:at.order==="work_status"?at.b_order==="desc"?"descend":"ascend":null,render:zn=>et.createElement(oe.lC,{status:zn})},{title:"\u5B8C\u6210\u65F6\u95F4",align:"center",dataIndex:"achieve_time",ellipsis:!0,sorter:!0,sortOrder:at.order==="achieve_time"?at.b_order==="desc"?"descend":"ascend":null,render:(zn,Ia)=>et.createElement(Ie.Z,{placement:"bottomLeft",title:zn},et.createElement("span",{className:"current"},zn))},{title:"\u901A\u8FC7\u60C5\u51B5",align:"center",dataIndex:"achieve_info",ellipsis:!0,render:(zn,Ia)=>et.createElement("span",{onClick:co=>{var xo;co.stopPropagation(),(xo=Ln.homework_status)!=null&&xo.includes("\u5BFC\u5165")&&(pa(Ia),Aa(!0))}},zn||"- -")},{title:"\u6700\u7EC8\u6210\u7EE9",align:"center",dataIndex:"score",ellipsis:!0,sorter:!0,sortOrder:at.order==="work_score"?at.b_order==="desc"?"descend":"ascend":null,render:(zn,Ia)=>et.createElement(Ie.Z,{title:et.createElement(et.Fragment,null,et.createElement("div",null,"\u8BD5\u9898\u5F97\u5206\uFF1A",(Ia==null?void 0:Ia.late_final_score)||0),et.createElement("div",null,"\u8865\u4EA4\u6263\u5206\uFF1A",(Ia==null?void 0:Ia.late_penalty)||0),et.createElement("div",null,"\u6700\u7EC8\u6210\u7EE9\uFF1A",(Ia==null?void 0:Ia.score)||0))},wt({value:zn,placeholder:"- -"}))},{title:"\u5B8C\u6210\u65F6\u957F",dataIndex:"achieve_time_long",align:"center",sorter:!0,ellipsis:!0,sortOrder:at.order==="achieve_time_long"?at.b_order==="desc"?"descend":"ascend":null,render:(zn,Ia)=>zn&&zn!="--"?et.createElement(Ie.Z,{placement:"bottom",title:zn},et.createElement("span",{className:"current"},zn)):"--"},((fn=Ln.homework_status)==null?void 0:fn.includes("\u5BFC\u5165"))&&{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"sum_evaluate_count",align:"center"},!((an=Ln.homework_status)!=null&&an.includes("\u5BFC\u5165"))&&{title:et.createElement("span",null,"\u8BC4\u9605\u72B6\u6001"),align:"center",dataIndex:"has_comment",fixed:"right",ellipsis:!0,render:zn=>zn?"\u5DF2\u8BC4\u9605":"\u672A\u8BC4\u9605"},{title:"\u64CD\u4F5C",dataInex:"action",align:"center",fixed:"right",ellipsis:!0,className:"workListTable",render:(zn,Ia)=>{var co;return(co=Ln.homework_status)!=null&&co.includes("\u5BFC\u5165")?(0,rt.GJ)()?et.createElement("a",{onClick:xo=>{xo.stopPropagation(),Wt({type:"classroomList/setActionTabs",payload:{key:"\u4FEE\u6539\u6210\u7EE9",id:Ia==null?void 0:Ia.id,type:"normal"}})}},"\u4FEE\u6539\u6210\u7EE9"):et.createElement("a",{onClick:xo=>{xo.stopPropagation(),pa(Ia),Aa(!0)}},"\u67E5\u770B"):(0,rt.dE)()?et.createElement("div",null,(0,oe.JL)(Ia==null?void 0:Ia.work_status)==="\u672A\u5F00\u542F"?et.createElement("span",null,"--"):et.createElement("a",{onClick:xo=>{var wo;if(xo.stopPropagation(),(0,rt.Rm)()&&!((wo=Dt.AssistantObject.hack)!=null&&wo.can_view)){he.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}window.open(`/classrooms/${at.coursesId}/program_homework/${at.categoryId}/${Ia.id}/${Ia.user_id}/comment`,"_blank")}},"\u67E5\u770B")):et.createElement("a",{target:"_blank",onClick:xo=>{var wo,ui;if(xo.stopPropagation(),(0,rt.Rm)()&&!((wo=Dt.AssistantObject.hack)!=null&&wo.can_view)){he.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if((ui=Vn.userInfo)!=null&&ui.professional_certification)window.open(`/classrooms/${at.coursesId}/program_homework/${at.categoryId}/${Ia.id}/${Ia.user_id}/comment`,"_blank");else return be.default.confirm({title:"\u63D0\u793A",centered:!0,content:et.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,oe.xg)("/account/certification")}}),!1}},"\u67E5\u770B\u4F5C\u4E1A")}}].filter(zn=>!!zn),$i=()=>{var zn,Ia;return et.createElement(Ne.default,null,et.createElement(Ne.default.Item,{onClick:()=>{var co;if((0,rt.Rm)()&&!((co=Dt.AssistantObject.hack)!=null&&co.can_download)){he.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Wt({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u5B66\u751F\u6210\u7EE9",course_groups:Ln==null?void 0:Ln.course_group_info,fn:()=>{(0,tt.Iy)(JSON.parse(sessionStorage.all_student_works_params),"hack_work_list")}}})},key:"1"},"\u5B66\u751F\u6210\u7EE9"),(0,rt.GJ)()&&((zn=Ln==null?void 0:Ln.student_works)==null?void 0:zn.length)>0&&!((Ia=Ln==null?void 0:Ln.homework_status)!=null&&Ia.includes("\u5BFC\u5165"))&&et.createElement(Ne.default.Item,{key:"3",onClick:()=>{var co;if((0,rt.Rm)()&&!((co=Dt.AssistantObject.hack)!=null&&co.can_download)){he.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Wt({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A",course_groups:Ln==null?void 0:Ln.course_group_info,fn:()=>{var xo,wo,ui,Bi;Wt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A",type:2}}),localStorage.setItem("dowolders","1"),fe.history.push(`/classrooms/${at==null?void 0:at.coursesId}/program_homework/${at.categoryId}/${(wo=(xo=Ln==null?void 0:Ln.student_works)==null?void 0:xo[0])==null?void 0:wo.id}/${(Bi=(ui=Ln==null?void 0:Ln.student_works)==null?void 0:ui[0])==null?void 0:Bi.user_id}/comment`)}}})}},"\u7F16\u7A0B\u62A5\u544A"),et.createElement(Ne.default.Item,{key:"2",onClick:()=>{var co;if((0,rt.Rm)()&&!((co=Dt.AssistantObject.hack)!=null&&co.can_download)){he.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}fe.history.push(`/classrooms/${at.coursesId}/exportlist/hack_work_list`)}},"\u5386\u53F2\u5BFC\u51FA"))};return et.createElement(et.Fragment,null,et.createElement("section",{className:`${vt.wrap} minH500 bg-white pl30 pr30 pt30`},((Un=Ln.homework_status)==null?void 0:Un.includes("\u672A\u53D1\u5E03"))&&et.createElement(ne.Z,null),!((zt=Ln.homework_status)!=null&&zt.includes("\u672A\u53D1\u5E03"))&&et.createElement("aside",null,!(0,rt.GJ)()&&et.createElement("div",{className:"c-light-black font12"},et.createElement("span",null,"\u53D1\u5E03\u65F6\u95F4 ",Ln==null?void 0:Ln.publish_time),et.createElement("span",{className:"ml5"},"\u622A\u6B62\u65F6\u95F4 ",Ln==null?void 0:Ln.end_time),et.createElement("span",{className:"ml5"},"\u8865\u4EA4\u65F6\u95F4 ",(Ln==null?void 0:Ln.late_time)||"- -")),(0,rt.GJ)()&&et.createElement(et.Fragment,null,et.createElement(se.default,{form:Ft,onChange:Lo,initialValues:{task_status:"all",course_group_info:"all",teacher_comment:"all"}},((Tt=Ln.task_status)==null?void 0:Tt.length)>0&&et.createElement(se.default.Item,{name:"task_status"},et.createElement(ie.default.Group,{value:[],style:{width:"100%"}},et.createElement(nt.Z,null,et.createElement(je.Z,{className:"font14",flex:"80px"},"\u4F5C\u4E1A\u72B6\u6001:"),et.createElement(je.Z,{flex:"80px"},et.createElement(ie.default,{value:"all"},"\u5168\u90E8")),et.createElement(je.Z,{flex:"1"},Ln.task_status&&Ln.task_status.map((zn,Ia)=>et.createElement(ie.default,{name:"task_status",value:zn.id},zn.name,"(",zn.count,")")))))),((Xt=Ln.course_group_info)==null?void 0:Xt.length)>0&&et.createElement(se.default.Item,{name:"course_group_info"},et.createElement(ie.default.Group,{style:{width:"100%"}},et.createElement(nt.Z,null,et.createElement(je.Z,{className:"font14",flex:"80px"},"\u5206\u73ED\u60C5\u51B5:"),et.createElement(je.Z,{flex:"80px"},et.createElement(ie.default,{value:"all"},"\u5168\u90E8")),et.createElement(je.Z,{flex:"1",id:"divhe",style:{height:io+"px",overflow:"hidden"}},(Ea=Ln.course_group_info)==null?void 0:Ea.map((zn,Ia)=>et.createElement(ie.default,{value:zn.course_group_id},zn.group_group_name,"(",zn.count,")"))),no&&et.createElement("span",{onClick:()=>{let zn=document.getElementById("divhe").scrollHeight;io>47?to(47):to(zn)},style:{color:"rgb(76, 172, 255)",cursor:"pointer",alignItems:"flex-end",display:"flex"}},io===47?"\u5C55\u5F00":"\u6536\u8D77",io===47?et.createElement(b.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}):et.createElement(E.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}))))),((qn=Ln.teacher_comment)==null?void 0:qn.length)>0&&et.createElement(se.default.Item,{name:"teacher_comment"},et.createElement(ie.default.Group,{style:{width:"100%"}},et.createElement(nt.Z,null,et.createElement(je.Z,{className:"font14",flex:"80px"},"\u8FFD\u52A0\u70B9\u8BC4:"),et.createElement(je.Z,{flex:"80px"},et.createElement(ie.default,{value:"all"},"\u5168\u90E8")),et.createElement(je.Z,{flex:"1"},Ln.teacher_comment&&Ln.teacher_comment.map((zn,Ia)=>et.createElement(ie.default,{value:String(zn.id)},zn.name,"(",zn.count,")"))))))),et.createElement(nt.Z,{align:"middle"},et.createElement(je.Z,{flex:"1"},et.createElement(nt.Z,{align:"middle"},et.createElement(je.Z,null,et.createElement(Ze.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:zn=>{at.search=zn.trim(),at.page=1,Ir()},style:{width:240}})),et.createElement(je.Z,null,et.createElement("span",{className:"ml5"},et.createElement("span",{className:"c-red"},Ln.work_count),"\u4E2A\u68C0\u7D22\u7ED3\u679C\uFF08",Ln.work_count,"\u4E2A\u5B66\u751F\uFF09")))),et.createElement(je.Z,null,(0,rt.GJ)()&&!((Mn=Ln.homework_status)!=null&&Mn.includes("\u5BFC\u5165"))&&!((Ga=yt==null?void 0:yt.setting)!=null&&Ga.hide_code_repeat)&&et.createElement(ze.ZP,{className:"ml10",onClick:()=>{Wt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",selectArrs:Ln.student_works.map(zn=>zn.id),params:at}})}},et.createElement("span",{className:`${vt.tr1} iconfont icon-daimachazhong`}),"\u4EE3\u7801\u67E5\u91CD"),(0,rt.GJ)()&&!((La=Ln.homework_status)!=null&&La.includes("\u5BFC\u5165"))&&et.createElement(ze.ZP,{className:"ml10",onClick:po},et.createElement("i",{className:"iconfont icon-gengxinchengji font14 pr5"}),"\u66F4\u65B0\u6210\u7EE9"),(0,rt.GJ)()&&et.createElement(Me.Z,{dropdownRender:$i,className:"ml10"},et.createElement(ze.ZP,null,et.createElement(x.Z,null),"\u5BFC\u51FA",et.createElement(ee.Z,null)))))),et.createElement(nt.Z,{style:{justifyContent:"end",marginTop:"5px"}},(0,rt.GJ)()&&kn&&et.createElement("span",null,et.createElement("span",{style:{color:"red"}},"*"),"\u5217\u8868\u4E2D\u4F5C\u4E1A\u8BB0\u5F55\u5B58\u5728\u5DEE\u5F02\uFF0C\u8BF7\u70B9\u51FB\u201C\u66F4\u65B0\u6210\u7EE9\u201D\u6309\u94AE")),et.createElement(ye.default,{className:`mt30 ${vt.TableDom}`,loading:en["shixunHomeworks/getWorkList"],pagination:!1,style:{cursor:"pointer"},onRow:zn=>({onClick:Ia=>{var co,xo;if(!((co=Ln.homework_status)!=null&&co.includes("\u5BFC\u5165"))){if((0,rt.Rm)()&&!((xo=Dt.AssistantObject.hack)!=null&&xo.can_view)){he.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}window.open(`/classrooms/${at.coursesId}/program_homework/${at.categoryId}/${zn.id}/${zn.user_id}/comment`,"_blank")}}}),scroll:{x:1200},dataSource:Ln.student_works,columns:Ei,onChange:(zn,Ia,co)=>{co.field&&(at.order=co.field==="score"?"work_score":co.field),co.order||(at.b_order="asc"),co.order==="ascend"&&(at.b_order="asc"),co.order==="descend"&&(at.b_order="desc"),co.order||(at.b_order="asc"),Ir()}}),et.createElement(Ve,null),et.createElement(St,null),et.createElement(ae.Z,null)),et.createElement(be.default,{title:"\u4E00\u952E\u6253\u56DE\u91CD\u505A",open:oo,centered:!0,destroyOnClose:!0,forceRender:!0,width:700,onOk:()=>ct(void 0,null,function*(){if(qt===2){if(Nn.length<=0){he.ZP.info("\u8BF7\u9009\u62E9\u4F5C\u4E1A\u72B6\u6001");return}if(!Ra){he.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let zn=yield(0,me.ZP)(`/api/homework_commons/${at.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:at.categoryId,comment:Ra,status:Nn}});zn.status===0&&(ht(zn),Xa(!1),sr(!0))}else{if(!(yn===0||gn===0)){if(!yn){he.ZP.info("\u6700\u4F4E\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}if(!gn){he.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}}if(yn>gn){he.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u5927\u4E8E\u6700\u4F4E\u5206");return}if(!Ra){he.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let zn=yield(0,me.ZP)(`/api/homework_commons/${at.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:at.categoryId,comment:Ra,min_score:yn,max_score:gn}});zn.status===0&&(ht(zn),Xa(!1),sr(!0))}}),onCancel:()=>{Xa(!1),vi()}},et.createElement("div",{style:{padding:"32px"}},et.createElement("div",null,et.createElement("div",null,et.createElement("span",{style:{width:"80px"}},"\u6253\u56DE\u65B9\u5F0F\uFF1A"),et.createElement(re.ZP.Group,{value:qt,onChange:zn=>{tn(zn.target.value)}},et.createElement(re.ZP,{value:1},"\u6309\u6210\u7EE9\u6253\u56DE"),et.createElement(re.ZP,{value:2},"\u6309\u4F5C\u4E1A\u72B6\u6001\u6253\u56DE"))),qt===1&&et.createElement("div",{style:{display:"flex",marginTop:"20px"}},et.createElement("span",{style:{width:"70px",textAlign:"end"}},et.createElement("span",{style:{color:"red"}},"*"),"\u6700\u4F4E\u5206\uFF1A"),et.createElement(a.Z,{min:0,max:100,value:yn,onChange:zn=>ar(zn),style:{width:"100px"}}),et.createElement("span",{style:{width:"80px",textAlign:"end"}},et.createElement("span",{style:{color:"red"}},"*"),"\u6700\u9AD8\u5206\uFF1A"),et.createElement(a.Z,{min:0,max:100,value:gn,onChange:zn=>On(zn),style:{width:"100px"}})),qt===2&&et.createElement("div",{style:{display:"flex",marginTop:"20px"}},et.createElement("span",{style:{width:"80px"}},"\u4F5C\u4E1A\u72B6\u6001\uFF1A"),et.createElement(ie.default.Group,{onChange:zn=>{ur([...zn])},style:{width:"100%"}},(Ar=Ln.task_status)==null?void 0:Ar.map((zn,Ia)=>et.createElement(ie.default,{name:"task_status",value:zn.id},zn.name,"(",zn.count,")")))),et.createElement("div",{style:{display:"flex",marginTop:"20px"}},et.createElement("span",{style:{width:"70px",textAlign:"end"}},et.createElement("span",{style:{color:"red"}},"*")," \u8BC4\u8BED\uFF1A"),et.createElement(qe.Z,{className:vt.MdEditor,onChange:zn=>cn(zn),placeholder:"\u8BF7\u586B\u5199\u8BC4\u8BED"}))))),et.createElement(be.default,{open:nr,title:"\u6253\u56DE\u786E\u8BA4",onOk:()=>ct(void 0,null,function*(){qt===2?(yield(0,me.ZP)(`/api/homework_commons/${at.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:at.categoryId,comment:Ra,status:Nn}})).status===0&&(he.ZP.info("\u6253\u56DE\u6210\u529F"),vi(),Ir(),sr(!1)):(yield(0,me.ZP)(`/api/homework_commons/${at.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:at.categoryId,comment:Ra,min_score:yn,max_score:gn}})).status===0&&(he.ZP.info("\u6253\u56DE\u6210\u529F"),vi(),Ir(),sr(!1))}),onCancel:()=>{vi(),sr(!1)}},et.createElement("div",{style:{padding:"32px"}},qt===1&&et.createElement("span",null,"\u786E\u8BA4\u5C06\u6210\u7EE9\u5728",yn,"-",gn,"\u7684\u5B66\u751F\u8FDB\u884C\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),qt===2&&et.createElement("span",null,"\u786E\u8BA4\u5C06\u4F5C\u4E1A\u72B6\u6001\u4E3A",((Cr=Ln.task_status)==null?void 0:Cr.filter(zn=>Nn==null?void 0:Nn.includes(zn.id)).map(zn=>zn.name).toString())+",","\u7684\u5B66\u751F\u8FDB\u884C\u4F5C\u4E1A\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),et.createElement("br",null),et.createElement("span",null,"\u8BE5\u6761\u4EF6\u4E0B\u5171\u6709",er==null?void 0:er.count,"\u540D\u5B66\u751F")))),et.createElement(Re,null),et.createElement(mt,{isShow:ea,setIsShow:Aa,item:dr,coursesId:at.coursesId,categoryId:at.categoryId}),et.createElement("aside",{className:"tc mb50 mt30"},et.createElement(y.Z,{showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,onChange:Oi,current:at.page||1,defaultPageSize:20,total:Ln.work_count})))};var mn=(0,fe.connect)(({shixunHomeworks:dt,classroomList:Dt,globalSetting:yt,loading:en,user:Wt})=>({shixunHomeworks:dt,classroomList:Dt,globalSetting:yt,loading:en.effects,user:Wt}))(Zt)},56322:function(Ct,Pt,te){"use strict";te.r(Pt),te.d(Pt,{default:function(){return rl}});var z=te(59301),se=te(23789),he=te(6075),Ie=te(8591),be=te(43418),Ne=te(3113),ie=te(66104),nt=te(6848),je=te(99313),Ze=te(1710),ze=te(27812),Me=te(21331),ye=te(28900),re=Object.defineProperty,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(Vt,_t,kt)=>_t in Vt?re(Vt,_t,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Vt[_t]=kt,x=(Vt,_t)=>{for(var kt in _t||(_t={}))y.call(_t,kt)&&E(Vt,kt,_t[kt]);if(a)for(var kt of a(_t))b.call(_t,kt)&&E(Vt,kt,_t[kt]);return Vt},ee=(Vt,_t,kt)=>new Promise((ba,Va)=>{var Fa=hn=>{try{Ua(kt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(kt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?ba(hn.value):Promise.resolve(hn.value).then(Fa,In);Ua((kt=kt.apply(Vt,_t)).next())});const ne=({shixunHomeworks:Vt,dispatch:_t})=>{const kt=(0,he.useParams)();return z.createElement(be.default,{centered:!0,title:"\u63D0\u793A",open:Vt.actionTabs.key==="\u5220\u9664",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ee(void 0,null,function*(){(yield _t({type:"shixunHomeworks/deleteReply",payload:{object_id:Vt.actionTabs.selectArr.id,object_type:"journals_for_message"}})).status===0&&(Ie.ZP.success("\u5220\u9664\u6210\u529F"),_t({type:"shixunHomeworks/setActionTabs",payload:{}}),_t({type:"shixunHomeworks/getReplyList",payload:x({},Vt.actionTabs.params)}))}),onCancel:()=>{_t({type:"shixunHomeworks/setActionTabs",payload:{}})}},z.createElement("p",null,"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417\uFF1F"))};var oe=(0,he.connect)(({shixunHomeworks:Vt})=>({shixunHomeworks:Vt}))(ne),ae=te(66649),ue=te.n(ae),me=te(41510),fe=te(71418),Pe=te(58421),xe={flex_box_center:"flex_box_center___zN9Rd",flex_space_between:"flex_space_between___OHt3Z",flex_box_vertical_center:"flex_box_vertical_center___xzO8Q",flex_box_center_end:"flex_box_center_end___LuRwh",flex_box_column:"flex_box_column___rEgTS",bg:"bg___F3FV1",top:"top___vNhKr",desc:"desc___IlwMy",deseIconSty:"deseIconSty___gIJAj",liked:"liked___gFxXM",likedActive:"likedActive___bEcK_",reply:"reply___q4nj7",replyList:"replyList___qxCAX",comment:"comment___gIcRF",buttonEdit:"buttonEdit____8SMk",md:"md___cq_mx",maskWrap:"maskWrap___bHoew",desHead:"desHead___Njyrc",mask:"mask___o8p8v",info:"info___V66Uf",upDownSty:"upDownSty___Q_kpi"},Ee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALwAAAAgCAYAAACo7RKTAAAAAXNSR0IArs4c6QAAFaNJREFUeF7tXHl8XHW1/557Z5JM0yTtA9qy6dwktMVaKMncAVo2F0Rk0aeg+FCK+tzg8WRR5qYFCdA2dwou+AR9LCpSZVE+ICIi+ACfpOjcSaAthdImudMFCm0hbfZl7u/Ib5KZznJnSdqnrx97/4HOPb/zO7/zO7/fPcv3hACg+xH/NBoaXMnARwjwMeGvxNSqgFZXzSq36AOxIUk3kYcfulDdI1qPJ4iFDF7EwEJiVABoBZV9a9pFWzsnwu8g7UEN7A8NED9RX72np6cNTNOJcB8Thpl5ITHpDK4gohEA7QRaLUCtXqV89dRPx97Mnpwfqq3p4cGTBHgRMUsjPxGMqSAwAS8yaDUResD8aQCHqh7llKoL3ly/PxZxkMdBDZSqAdr9wIyVzHSZonoXVJ92j4P46E0A10OMxkZ2rt46vP1ZEn1ba8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xUKvrxv479b2A4kGuwTNE3+uI925CvKcjAQF2hmSDDhIYeU91PeTXw3uYDpDnCajq5XT42a7+qdvS1zfPK+sfHsxA5yXpVKa1jWan68GZ7Lj9uWn/CF5rbqg/iuMK58syJaqwu0dz/gaOysQNLR2PykORlDvROaVQ7h9dSluYR8GWyf7dnEL6aWvSThWkZBTJFDhCNsfLcXJ/B0aGMgBrJIQDpWKdW+tjdntWYm7e/uQ8MbD5gvjujo+K/tfnx3vtSqdvM1jEQYonYfRK+SEY2RmBp6oepJYj3tsJdoZkIJNoAPEkD0h1HRTfYTsAegGgVqh4kmadk9Mp848wioNz/vNpwNXgs9XAbz1Rh+He0+PdG86P92890enfOtPZ00FitBdQvfBWyS9AfeIW99TUM9TyV6SPCGA1yjytpbot/3zqP7jiv7cGSjL4nAPQ/ew0DA2e7HSvP1etniv/QI7sI1oNUlejwvcCTf9AsW73v/c6D853UAMJDfwN/F3Fz8TPqaAAAAAASUVORK5CYII=",De=te(35219),_e=te(37962),pt=te(56082),Be=te(87954),$e=te(18257),Ke=te(58130),Ve=te(19719),it=te(35241),rt=te(44589),vt=te(87395),Rt=te(84105),$t=Object.defineProperty,Je=Object.defineProperties,st=Object.getOwnPropertyDescriptors,At=Object.getOwnPropertySymbols,Nt=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,sn=(Vt,_t,kt)=>_t in Vt?$t(Vt,_t,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Vt[_t]=kt,Fe=(Vt,_t)=>{for(var kt in _t||(_t={}))Nt.call(_t,kt)&&sn(Vt,kt,_t[kt]);if(At)for(var kt of At(_t))St.call(_t,kt)&&sn(Vt,kt,_t[kt]);return Vt},Qt=(Vt,_t)=>Je(Vt,st(_t)),Gt=(Vt,_t,kt)=>new Promise((ba,Va)=>{var Fa=hn=>{try{Ua(kt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(kt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?ba(hn.value):Promise.resolve(hn.value).then(Fa,In);Ua((kt=kt.apply(Vt,_t)).next())});ue().locale("ZH-cn");let Hn=["","\u7B80\u5355","\u4E2D\u7B49","\u56F0\u96BE"];const Jn=z.createContext({}),Re=()=>{const{setActivatorNodeRef:Vt,listeners:_t}=(0,z.useContext)(Jn);return z.createElement(Ne.ZP,Fe({type:"text",size:"small",className:xe.upDownSty,icon:z.createElement(nt.Z,{title:"\u53EF\u9F20\u6807\u62D6\u62FD\u8FDB\u884C\u8BD5\u9898\u6392\u5E8F\uFF0C\u5B66\u751F\u7AEF\u5C06\u6309\u7167\u6B64\u6392\u5E8F\u5C55\u793A"},z.createElement(pt.Z,null)),style:{cursor:"move"},ref:Vt},_t))},qe=Vt=>{const{attributes:_t,listeners:kt,setNodeRef:ba,setActivatorNodeRef:Va,transform:Fa,transition:In,isDragging:Ua}=(0,Ve.nB)({id:Vt["data-row-key"]}),hn=Fe(Qt(Fe({},Vt.style),{transform:it.ux.Translate.toString(Fa),transition:In}),Ua?{position:"relative",zIndex:100}:{}),Za=(0,z.useMemo)(()=>({setActivatorNodeRef:Va,listeners:kt}),[Va,kt]);return z.createElement(Jn.Provider,{value:Za},z.createElement("tr",Fe(Qt(Fe({},Vt),{ref:ba,style:hn}),_t)))},tt=({shixunHomeworks:Vt,classroomList:_t,globalSetting:kt,user:ba,loading:Va,dispatch:Fa})=>{var In,Ua,hn,Za;const[Da,Io]=(0,z.useState)(Qt(Fe({},(0,he.useParams)()),{page:1,per_page:10})),[Ma,$o]=(0,z.useState)([]),[Si,Ko]=(0,z.useState)(-1),[Sr,Pr]=(0,z.useState)(""),[Qn,ao]=(0,z.useState)(""),{detailLeftMenus:oi}=_t,ha=(0,he.useLocation)(),[ca,eo]=(0,z.useState)({}),{workDetail:Ai,workList:Tn,workSetting:tr}=Vt,[aa,nn]=(0,z.useState)("1"),[Wn,Cn]=(0,z.useState)(!1),[$r,mr]=(0,z.useState)(!1),[Tr,Jo]=(0,z.useState)(""),[fr,So]=(0,z.useState)(1),Ha=(0,z.useRef)(null),[Yr,mo]=(0,z.useState)(!1);(0,z.useEffect)(()=>{Tn.homework_status&&Do()},[Tn]),(0,z.useEffect)(()=>{Ha.current&&(Ha.current.clientHeight>200?So(2):So(4))},[Ma==null?void 0:Ma.description]);function Do(){return Gt(this,null,function*(){var _n,ya,wr;Cn(!0);let Fr=yield(0,se.ZP)(`/api/courses/${Da.coursesId}/homework_commons/edit_hack_homework.json`,{method:"get",params:Qt(Fe({},Da),{id:Da.categoryId})});if($o(Fr),Cn(!1),Da.defaultExpandedRowKeys=[`${(ya=(_n=Fr==null?void 0:Fr.data)==null?void 0:_n[0])==null?void 0:ya.identifier}`],Fr!=null&&Fr.hide_description)nn("2");else if(aa!="2"){if((wr=Tn.homework_status)!=null&&wr.includes("\u5BFC\u5165"))return;nn(Fr!=null&&Fr.description?"1":"2")}Io(Fe({},Da))})}const vn=()=>{if(fr===1)return{visibility:"hidden"};if(fr===2)return{overflow:"hidden",height:"200px"};if(fr===3)return{overflow:"initial"};if(fr===4)return{overflow:"initial"}},na=_n=>Gt(void 0,[_n],function*({active:ya,over:wr}){if(ya.id!==(wr==null?void 0:wr.id)&&(wr!=null&&wr.id)){$o(Co=>{var qo;const Di=(qo=Co==null?void 0:Co.data)==null?void 0:qo.findIndex(qi=>qi.identifier===ya.id),Hi=Co==null?void 0:Co.data.findIndex(qi=>qi.identifier===(wr==null?void 0:wr.id));return Qt(Fe({},Co),{data:(0,rt.Rp)(Co==null?void 0:Co.data,Di,Hi)})});let Fr=yield(0,se.ZP)(`/api/courses/${Da==null?void 0:Da.coursesId}/homework_commons/change_hack_position.json`,{method:"post",body:{id:Da==null?void 0:Da.categoryId,origin_identifier:ya==null?void 0:ya.id,target_identifier:wr==null?void 0:wr.id}});(Fr==null?void 0:Fr.status)==0&&(Ie.ZP.success("\u6392\u5E8F\u6210\u529F"),Do())}}),Oa=_n=>Gt(void 0,null,function*(){const ya=()=>Gt(void 0,null,function*(){let Fr=yield(0,se.ZP)(`/api/item_banks/${_n}/copy_hack_item.json`,{method:"post"});(Fr==null?void 0:Fr.status)===0&&Ie.ZP.success("\u52A0\u5165\u8BD5\u9898\u5E93\u6210\u529F\uFF01")});mo(!0);let wr=yield(0,se.ZP)(`/api/item_banks/${_n}/check_hack_item.json`,{method:"get"});(wr==null?void 0:wr.status)===-20?be.default.confirm({icon:null,centered:!0,closable:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u52A0\u5165\u8BD5\u9898\u5E93\u63D0\u793A",content:"\u8BE5\u8BD5\u9898\u5728\u8BD5\u9898\u5E93\u4E2D\u5DF2\u5B58\u5728\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u52A0\u5165\u8BD5\u9898\u5E93\uFF1F",onOk:ya}):ya(),mo(!1)});return z.createElement("section",{className:xe.bg},z.createElement(fe.Z,{spinning:Wn},(!(Ma!=null&&Ma.hide_description)||(0,De.GJ)())&&z.createElement("section",{className:" edu-container",style:{padding:"20px 20px 0 20px",background:"#fff",position:"relative"}},!$r&&(0,De.GJ)()&&z.createElement("div",{style:{position:"absolute",zIndex:10,right:34,top:30}},(tr==null?void 0:tr.hack_edit_permission)&&z.createElement("span",{className:xe.deseIconSty,style:{marginLeft:"auto",cursor:"pointer"},onClick:()=>{mr(!0)}},z.createElement(nt.Z,{title:"\u7F16\u8F91\u8BF4\u660E"},z.createElement("i",{className:"iconfont icon-bianji-moren font14"}),z.createElement("span",null,"\u7F16\u8F91\u8BF4\u660E"))),z.createElement("span",{className:xe.deseIconSty,style:{marginLeft:"20px",cursor:"pointer"},onClick:()=>Gt(void 0,null,function*(){if(!(Ma!=null&&Ma.hide_description))be.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u9690\u85CF\u540E\uFF0C\u5B66\u751F\u7AEF\u5C06\u9690\u85CF\u4F5C\u4E1A\u8BF4\u660E\u6A21\u5757",onOk:()=>Gt(void 0,null,function*(){let _n=yield(0,se.ZP)(`/api/homework_commons/${Da==null?void 0:Da.categoryId}/hide_description.json`,{method:"post",body:{status:!0}});(_n==null?void 0:_n.status)==0&&(Ie.ZP.success("\u9690\u85CF\u6210\u529F"),Do())})});else{let _n=yield(0,se.ZP)(`/api/homework_commons/${Da==null?void 0:Da.categoryId}/hide_description.json`,{method:"post",body:{status:!1}});(_n==null?void 0:_n.status)==0&&(Ie.ZP.success("\u516C\u5F00\u6210\u529F"),Do())}})},z.createElement(nt.Z,{title:Ma!=null&&Ma.hide_description?"\u516C\u5F00\u8BF4\u660E":"\u9690\u85CF\u8BF4\u660E"},z.createElement("i",{className:"iconfont icon-xianshiyincang font14"}),z.createElement("span",null,Ma!=null&&Ma.hide_description?"\u516C\u5F00\u8BF4\u660E":"\u9690\u85CF\u8BF4\u660E")))),$r?z.createElement(z.Fragment,null,z.createElement(_e.Z,{defaultValue:Ma==null?void 0:Ma.description,watch:!0,height:155,onChange:_n=>{Jo(_n)}}),z.createElement("div",{style:{display:"flex"}},z.createElement(Ne.ZP,{size:"middle",type:"primary",className:`${xe.buttonEdit} mr20`,style:{marginLeft:"auto"},htmlType:"submit",onClick:()=>Gt(void 0,null,function*(){So(1);let _n=yield(0,se.ZP)(`/api/homework_commons/${Da==null?void 0:Da.categoryId}/update_description.json`,{method:"post",body:{description:Tr}});(_n==null?void 0:_n.status)==0&&(Ie.ZP.success("\u7F16\u8F91\u6210\u529F"),mr(!1),Do())})},"\u63D0\u4EA4"),z.createElement(Ne.ZP,{size:"middle",type:"primary",ghost:!0,className:xe.buttonEdit,onClick:()=>{mr(!1)}},"\u53D6\u6D88"))):!!(Ma!=null&&Ma.description)&&z.createElement("div",{ref:Ha,className:xe.maskWrap,style:vn()},z.createElement("div",{className:xe.desHead},z.createElement("img",{src:Ee,width:94})),z.createElement(ye.Z,{className:xe.md,value:(Ma==null?void 0:Ma.description)||""}),fr===2&&z.createElement("div",{className:xe.mask},z.createElement("div",{onClick:()=>So(3)},"\u5C55\u5F00",z.createElement("i",{className:"iconfont icon-zhankai4"}))),fr===3&&z.createElement("div",{className:xe.mask,style:{position:"relative",height:30,background:"transparent",paddingTop:5}},z.createElement("div",{onClick:()=>So(2)},"\u6536\u8D77",z.createElement("i",{className:"iconfont icon-shouqi5"}))))),(0,De.dE)()&&!!(Ma!=null&&Ma.group_name)&&z.createElement("div",{className:xe.info},z.createElement("img",{src:`${me.Z.IMG_SERVER}/images/${(In=Ma==null?void 0:Ma.user)==null?void 0:In.image_url}`}),z.createElement("div",{className:"ml20",style:{alignItems:"start"}},z.createElement("b",null,(Ma==null?void 0:Ma.name)||""),z.createElement("span",{title:(Ma==null?void 0:Ma.group_name)||"",style:{maxWidth:"130px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",wordBreak:"break-all"}},(Ma==null?void 0:Ma.group_name)||"")),z.createElement(nt.Z,{title:z.createElement(z.Fragment,null,z.createElement("div",null,"\u8BD5\u9898\u5F97\u5206\uFF1A",(Ma==null?void 0:Ma.late_final_score)||0),z.createElement("div",null,"\u8865\u4EA4\u6263\u5206\uFF1A",(Ma==null?void 0:Ma.late_penalty)||0),z.createElement("div",null,"\u6700\u7EC8\u6210\u7EE9\uFF1A",(Ma==null?void 0:Ma.total_score)||0))},z.createElement("div",null,z.createElement("b",null,z.createElement(Ke.n,{value:Ma==null?void 0:Ma.total_score})),z.createElement("span",null,"\u603B\u6210\u7EE9"))),z.createElement("div",null,z.createElement("b",null,(Ma==null?void 0:Ma.total_time)||"-"),z.createElement("span",null,"\u603B\u8017\u65F6")),z.createElement("div",null,z.createElement("b",{style:{color:"#009C0F"}},Ma==null?void 0:Ma.pass_count),z.createElement("span",null,"\u5DF2\u901A\u8FC7\u6570")),z.createElement("div",null,z.createElement("b",{style:{color:"#FA6400"}},Ma==null?void 0:Ma.doing_count),z.createElement("span",null,"\u8FDB\u884C\u4E2D")),z.createElement("div",null,z.createElement("b",{style:{color:"#E30000"}},Ma==null?void 0:Ma.not_pass_count),z.createElement("span",null,"\u672A\u7B54\u9898\u6570"))),!((Ua=Tn.homework_status)!=null&&Ua.includes("\u5BFC\u5165"))&&z.createElement("div",null,z.createElement("section",{className:" edu-container",style:{padding:"20px",background:"#fff"}},(0,De.GJ)()&&z.createElement("div",{style:{marginBottom:"10px",fontSize:"12px"}},"\u53EF\u9F20\u6807\u62D6\u62FD\u201C ",z.createElement(pt.Z,null)," \u201D\u8FDB\u884C\u8BD5\u9898\u6392\u5E8F\uFF0C\u5B66\u751F\u7AEF\u5C06\u6309\u7167\u6B64\u6392\u5E8F\u5C55\u793A"),Da.defaultExpandedRowKeys&&z.createElement(Be.LB,{modifiers:[$e.DL],onDragEnd:na},z.createElement(Ve.Fo,{items:(hn=Ma==null?void 0:Ma.data)==null?void 0:hn.map(_n=>_n==null?void 0:_n.identifier),strategy:Ve.qw},z.createElement(Ze.default,{components:{body:{row:qe}},dataSource:Ma==null?void 0:Ma.data,rowKey:_n=>_n==null?void 0:_n.identifier,pagination:!1,expandable:{expandIcon:({expanded:_n,onExpand:ya,record:wr})=>_n?z.createElement(nt.Z,{title:"\u6536\u8D77"},z.createElement(vt.Z,{className:xe.upDownSty,onClick:Fr=>ya(wr,Fr)})):z.createElement(nt.Z,{title:"\u5C55\u5F00"},z.createElement(Rt.Z,{className:xe.upDownSty,onClick:Fr=>ya(wr,Fr)})),expandedRowRender:_n=>{var ya;return z.createElement("div",{style:{padding:"10px 0px 10px 48px",borderRadius:2}},z.createElement("div",{style:{overflow:"auto",maxHeight:300}},z.createElement("p",null,"\u9898\u76EE\uFF1A",_n==null?void 0:_n.name),z.createElement("p",null,"\u63CF\u8FF0\uFF1A",z.createElement(ye.Z,{value:(_n==null?void 0:_n.description)||""})),!(0,De.dE)()&&z.createElement("p",null,"\u9898\u76EE\u89E3\u6790:",z.createElement(ye.Z,{style:{fontSize:"14px"},value:(_n==null?void 0:_n.analysis)||"\u6682\u65E0\u89E3\u6790"}))),z.createElement("div",{style:{width:"100%",textAlign:"end"}},(tr==null?void 0:tr.hack_edit_permission)&&z.createElement(Ne.ZP,{className:"mt20",type:"primary",ghost:!0,onClick:()=>{window.open(`/problems/newedit/${_n==null?void 0:_n.identifier}?type=1`),localStorage.setItem("program_homework",[Da.coursesId,Da.categoryId])}},"\u7F16\u8F91"),(tr==null?void 0:tr.hack_edit_permission)&&((ya=Ma==null?void 0:Ma.homework_status)==null?void 0:ya.includes("\u672A\u53D1\u5E03"))&&z.createElement(Ne.ZP,{className:"mt20",type:"primary",style:{marginLeft:20},ghost:!0,onClick:()=>{be.default.confirm({title:"\u63D0\u793A",content:"\u662F\u5426\u786E\u8BA4\u5220\u9664",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>Gt(void 0,null,function*(){let wr=yield(0,se.ZP)(`/api/problems/${_n==null?void 0:_n.identifier}.json`,{method:"delete"});(wr==null?void 0:wr.status)===0&&(Ie.ZP.info("\u5220\u9664\u6210\u529F"),Da.page=1,Do())})})}},"\u5220\u9664")))},defaultExpandedRowKeys:Da.defaultExpandedRowKeys},columns:(Za=[(0,De.GJ)()&&{key:"sort",align:"center",width:40,render:()=>z.createElement(Re,null)},{title:"\u5E8F\u53F7",dataIndex:"index",ellipsis:!0,key:"index",width:55,render:(_n,ya,wr)=>`${(Da.page-1)*Da.per_page+wr+1}`},{title:"\u6807\u9898",dataIndex:"name",ellipsis:!0,key:"name"},((0,De.dE)()||(Ma==null?void 0:Ma.show_score))&&{title:"\u5206\u503C",dataIndex:"hack_score",key:"hack_score",width:100},{title:"\u96BE\u5EA6",dataIndex:"difficult",key:"difficult",width:100,ellipsis:!0,render(_n,ya,wr){return z.createElement("div",null,Hn[_n])}},{title:"\u901A\u8FC7\u7387",dataIndex:"pass_rate",key:"pass_rate",width:100,ellipsis:!0},(0,De.dE)()&&{title:"\u5F97\u5206",dataIndex:"score",key:"score",render:_n=>{let ya="",wr=Number(_n);return wr>=0&&wr<=60?ya="c-red":wr>=90?ya="c-green":wr>60?ya="c-orange":ya="",z.createElement("span",{className:ya},_n)}},(0,De.dE)()&&{title:"\u8017\u65F6",dataIndex:"time",key:"time",ellipsis:!0,width:100},{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline",ellipsis:!0,key:"tag_discipline",width:200,render:(_n,ya)=>z.createElement("span",{style:{backgroundColor:"#ECFAF5",color:"#1B8565",overflow:"hidden",textOverflow:"ellipsis",padding:"2px 6px"}},_n||"--")},(0,De.dE)()&&{title:"\u901A\u8FC7\u72B6\u6001",dataIndex:"finish_status",key:"finish_status",render(_n){return z.createElement(z.Fragment,null,_n===0&&z.createElement("span",{style:{color:"#E30000"}},"\u672A\u7B54\u9898"),_n===1&&z.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),_n===2&&z.createElement("span",{style:{color:"#009C0F"}},"\u5DF2\u901A\u8FC7"))}},{title:"\u64CD\u4F5C",dataIndex:"identifier",key:"identifier",width:(0,De.GJ)()?280:146,align:"right",render(_n,ya,wr){return z.createElement("div",null,(0,De.GJ)()&&z.createElement(Ne.ZP,{type:"link",style:{marginRight:"5px"},loading:Yr,onClick:()=>Gt(this,null,function*(){Oa(ya==null?void 0:ya.id)})},"\u52A0\u5165\u8BD5\u9898\u5E93"),z.createElement("a",{onClick:()=>{var Fr;if((0,De.Rm)()&&!((Fr=_t.AssistantObject.hack)!=null&&Fr.can_question_eaderboard)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}window.open(`/classrooms/${Da.coursesId}/program_homework/${Da.categoryId}/${_n}/ranking`)}},"\u6392\u884C"),z.createElement("a",{onClick:()=>Gt(this,null,function*(){let Fr=yield(0,se.ZP)(`/api/problems/${ya==null?void 0:ya.identifier}/start.json`,{method:"get"});Fr&&(window.open(`/myproblems/${Fr==null?void 0:Fr.identifier}?type=1&backUrl=/classrooms/${Da.coursesId}/program_homework/${Da.categoryId}/detail?tabs=1`),localStorage.setItem("program_homework",[Da.coursesId,Da.categoryId]))}),className:"ml20"},(0,De.GJ)()?"\u4F53\u9A8C":"\u8FDB\u5165\u7B54\u9898"),(tr==null?void 0:tr.hack_edit_permission)&&z.createElement("a",{className:"ml20",onClick:()=>Gt(this,null,function*(){window.open(`/problems/newedit/${ya==null?void 0:ya.identifier}?type=1`),localStorage.setItem("program_homework",[Da.coursesId,Da.categoryId])})},"\u7F16\u8F91"))}}])==null?void 0:Za.filter(_n=>!!_n)})))),z.createElement("aside",{style:{padding:"0 20px 20px 20px"}},z.createElement(Pe.Z,{defaultCurrent:1,total:Ma==null?void 0:Ma.count,hideOnSinglePage:!0,showTotal:_n=>z.createElement("span",null,"\u5171",_n,"\u6761"),current:Da.page||1,pageSize:Da.per_page||10,onChange:(_n,ya)=>{Da.page=_n,Da.per_page=ya,Io(Fe({},Da)),Do()}})))),z.createElement(oe,null))};var Le=(0,he.connect)(({shixunHomeworks:Vt,classroomList:_t,loading:kt,user:ba,globalSetting:Va})=>({shixunHomeworks:Vt,globalSetting:Va,classroomList:_t,user:ba,loading:kt.effects}))(tt),ft=te(78241),gt=te(95237),Oe=te(43604),ve=te(92832),Ge=te(24905),We=te(41625),we=te(59301),mt=Object.defineProperty,et=Object.getOwnPropertySymbols,Ht=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,ut=(Vt,_t,kt)=>_t in Vt?mt(Vt,_t,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Vt[_t]=kt,xt=(Vt,_t)=>{for(var kt in _t||(_t={}))Ht.call(_t,kt)&&ut(Vt,kt,_t[kt]);if(et)for(var kt of et(_t))Se.call(_t,kt)&&ut(Vt,kt,_t[kt]);return Vt},Ae=(Vt,_t,kt)=>new Promise((ba,Va)=>{var Fa=hn=>{try{Ua(kt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(kt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?ba(hn.value):Promise.resolve(hn.value).then(Fa,In);Ua((kt=kt.apply(Vt,_t)).next())});const He=({shixunHomeworks:Vt,loading:_t,dispatch:kt,classroomList:ba})=>{var Va;const Fa=(0,he.useParams)(),[In,Ua]=(0,z.useState)(xt(xt({},{page:1,limit:20,group_ids:[]}),Fa)),hn=(0,he.useLocation)(),{codeReview:Za}=Vt,[Da,Io]=(0,z.useState)({}),[Ma]=ft.default.useForm();In.order="code_rate",In.sort="desc",In.category=In.categoryId,(0,z.useEffect)(()=>{$o(),console.log("params",In)},[In]),(0,z.useEffect)(()=>{Vt.actionTabs.key==="\u6267\u884C\u4EE3\u7801\u67E5\u91CD"&&$o()},[Vt.actionTabs.key]);const $o=()=>Ae(void 0,null,function*(){(yield kt({type:"shixunHomeworks/getCodeReview",payload:xt({},In)})).status===-2&&setTimeout(()=>$o(),1500)}),Si=()=>{},Ko=(Pr,Qn)=>{In.page=Pr,In.limit=20,kt({type:"shixunHomeworks/getCodeReview",payload:xt({},In)})},Sr=[{title:"\u5E8F\u53F7",dataIndex:"number",render:(Pr,Qn,ao)=>In.limit*(In.page-1)+ao+1},{title:"\u59D3\u540D",dataIndex:"username"},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u76F8\u4F3C\u5EA6",dataIndex:"code_rate",render:Pr=>we.createElement("span",{className:"c-orange"},Pr)},{title:"\u64CD\u4F5C",dataInex:"action",render:(Pr,Qn)=>we.createElement("div",null,we.createElement("a",{onClick:()=>{var ao;if((0,De.Rm)()&&!((ao=ba.AssistantObject.hack)!=null&&ao.can_view)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}window.open(`/classrooms/${In.coursesId}/program_homework/${In.categoryId}/review_detail/${Qn.user_id}`)}},"\u67E5\u770B"),we.createElement("br",null))}];return we.createElement("section",{className:"minH500 bg-white pl30 pr30 pt10"},(Za==null?void 0:Za.status)===-2&&we.createElement(We.Z,{customText:"\u6B63\u5728\u8FDB\u884C\u4EE3\u7801\u67E5\u91CD\uFF0C\u8BF7\u7A0D\u5019\u3002\u67E5\u91CD\u7ED3\u675F\u540E\uFF0C\u9875\u9762\u5C06\u81EA\u52A8\u66F4\u65B0\u663E\u793A\u7ED3\u679C"}),(Za==null?void 0:Za.status)!==-2&&we.createElement("div",null,we.createElement(gt.Z,null,we.createElement(Oe.Z,{flex:"1"},we.createElement("p",{className:"mt10"},"\u67E5\u91CD\u65F6\u95F4\uFF1A",Za.last_review_time,we.createElement(Ne.ZP,{ghost:!0,danger:!0,style:{color:"#29BD8B",borderColor:"#29BD8B",marginLeft:10},onClick:()=>{kt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",params:In}})}},"\u4EE3\u7801\u67E5\u91CD"))),we.createElement(Oe.Z,null,we.createElement(ve.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:Pr=>{In.search=Pr,kt({type:"shixunHomeworks/getCodeReview",payload:In})},style:{width:200}}),we.createElement("span",{className:"ml5 c-red"}))),((Va=Za.group_info)==null?void 0:Va.length)>0&&we.createElement(we.Fragment,null,we.createElement(gt.Z,null,we.createElement(Oe.Z,{flex:"80px",className:"font14"},"\u5206\u73ED\u60C5\u51B5:"),we.createElement(Oe.Z,{flex:"80px"},we.createElement(Ge.default,{checked:In.group_ids=="",value:"all",onChange:Pr=>{delete In.group_ids,In.group_ids=[],In.page=1,Ua(xt({},In))}},"\u5168\u90E8")),we.createElement(Oe.Z,{flex:"1"},Za.group_info&&Za.group_info.map((Pr,Qn)=>we.createElement(Ge.default,{style:{marginLeft:0},value:Pr.id,checked:In.group_ids.includes(Pr.id),onChange:ao=>{ao.target.checked?In.group_ids.push(Pr.id):In.group_ids.splice(In.group_ids.indexOf(Pr.id),1),In.page=1,Ua(xt({},In))}},Pr.name,"(",Pr.members_count,")")))),we.createElement(gt.Z,{className:"font14 c-red mt5"},we.createElement(Oe.Z,null,"\u672C\u9875\u4EC5\u663E\u793A\u5168\u90E8\u5DF2\u67E5\u91CD\u5206\u73ED"))),we.createElement("p",{className:"mt10"},we.createElement("span",{className:"c-red"},Za.copy_reviews_count),"\u4E2A\u7591\u4F3C\u6284\u88AD\u4F5C\u54C1\uFF08",Za.all_reviews_count,"\u4F5C\u54C1\uFF09"),we.createElement(Ze.default,{className:"mt30",loading:_t["shixunHomeworks/getCodeReview"],pagination:!1,dataSource:Za.users_reviews,columns:Sr,onChange:(Pr,Qn,ao)=>{ao.order==="ascend"&&(In.b_order="asc"),ao.order==="descend"&&(In.b_order="desc"),ao.order||delete In.b_order,kt({type:"shixunHomeworks/getCodeReview",payload:xt({},In)})}}),we.createElement("aside",{className:"tc mb50 mt30"},we.createElement(Pe.Z,{showSizeChanger:!1,onChange:Ko,defaultCurrent:In.page||1,current:In.page||1,defaultPageSize:20,hideOnSinglePage:!0,total:Za.copy_reviews_count}))))};var ct=(0,he.connect)(({shixunHomeworks:Vt,classroomList:_t,loading:kt})=>({shixunHomeworks:Vt,classroomList:_t,loading:kt.effects}))(He),wt=te(72011),Zt=te(5083),mn=te(57809),dt=te(5112),Dt=te(5871),yt=te(32134),en=te(12893),Wt=te(78267),un={flex_box_center:"flex_box_center___pegyD",flex_space_between:"flex_space_between___OEf74",flex_box_vertical_center:"flex_box_vertical_center___Gg0ks",flex_box_center_end:"flex_box_center_end___ZDNgp",flex_box_column:"flex_box_column___kUnuF",form:"form___dWO2F",title:"title___tyrHF",content:"content____AOnH",pubColSty:"pubColSty___jjxFz",selectSty:"selectSty___RPIyk",borderSty:"borderSty___NbRdH",delSty:"delSty___Yap2B",delBorder:"delBorder___iWzM8",copHover:"copHover___DYJF8"},Vn=te(11835),fn=te(16286),an=te(78752),Un=te(99206),zt=te(59301),Tt=Object.defineProperty,Xt=Object.defineProperties,Ea=Object.getOwnPropertyDescriptors,qn=Object.getOwnPropertySymbols,Mn=Object.prototype.hasOwnProperty,Ga=Object.prototype.propertyIsEnumerable,La=(Vt,_t,kt)=>_t in Vt?Tt(Vt,_t,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Vt[_t]=kt,Ar=(Vt,_t)=>{for(var kt in _t||(_t={}))Mn.call(_t,kt)&&La(Vt,kt,_t[kt]);if(qn)for(var kt of qn(_t))Ga.call(_t,kt)&&La(Vt,kt,_t[kt]);return Vt},Cr=(Vt,_t)=>Xt(Vt,Ea(_t)),Qa=(Vt,_t,kt)=>new Promise((ba,Va)=>{var Fa=hn=>{try{Ua(kt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(kt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?ba(hn.value):Promise.resolve(hn.value).then(Fa,In);Ua((kt=kt.apply(Vt,_t)).next())});const{RangePicker:at}=Zt.default,{Option:Mt}=mn.default,Ft=({shixunHomeworks:Vt,user:_t,loading:kt,classroomList:ba,dispatch:Va})=>{var Fa,In,Ua,hn,Za,Da,Io,Ma,$o,Si,Ko,Sr;const Pr=(0,he.useParams)(),{workSetting:Qn,workList:ao,changeData:oi}=Vt,[ha,ca]=(0,z.useState)(!0),[eo,Ai]=(0,z.useState)(!1);let[Tn,tr]=(0,z.useState)([]),[aa,nn]=(0,z.useState)([]);const Wn=(0,z.useRef)(!0);let[Cn,$r]=(0,z.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_minus_score:0,penalty_type:Vn.Q.Percent,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,comment_public:!0,total_score:"",eff_score:0,send_type:void 0,difficult_count:[],difficult_settings:[],late_penalty:0});(0,z.useEffect)(()=>(mr(),()=>{tr([])}),[]);const mr=()=>{Va({type:"shixunHomeworks/getWorkSetting",payload:Ar({},Pr)})};(0,z.useEffect)(()=>{var vn,na;((0,De.G5)()||(0,De.Rm)()&&((vn=ba.AssistantObject.hack)!=null&&vn.can_late||(na=ba.AssistantObject.hack)!=null&&na.can_publish))&&ca(!1)},[_t,ba]),(0,z.useEffect)(()=>{if(!(Qn!=null&&Qn.course_id)||!Wn.current)return;Wn.current=!1,Object.keys(Cn).map(function(na){Cn[na]=Qn[na]}),(!Cn.allow_late||!Cn.unified_late)&&(Cn.late_minus_score=20,Cn.penalty_type=Vn.Q.Percent),Cn.unified_setting||(Cn.unified_late=!1,Cn.unified_anonymous_comment=!1,Cn.unified_anonymous_appeal=!1),Tn=JSON.parse(JSON.stringify(Qn.group_settings.map(na=>Cr(Ar({},na),{group_name:[na.group_name]})).filter(na=>na.publish_time!==null))),aa=JSON.parse(JSON.stringify(Qn.allow_late_settings.map(na=>Cr(Ar({},na),{group_name:[na.group_name]})).filter(na=>na.late_time!==null))),Cn.difficult_settings.length===0&&(Cn.difficult_settings=[0,0,0]),$r(Ar({},Cn));const vn=(0,Me.QE)((Tn==null?void 0:Tn.length)>0?Tn:[]);tr([...vn]),(aa==null?void 0:aa.length)<=0?nn([{late_minus_score:20}]):nn([...aa])},[Qn]);const Tr=()=>{var vn;if(((vn=_t==null?void 0:_t.userInfo)==null?void 0:vn.user_status)===2){(0,an.Rd)();return}const na=JSON.parse(JSON.stringify(Cn));if(na.categoryId=Pr.categoryId,Cn.unified_setting||(Tn=Tn==null?void 0:Tn.map(Oa=>{var _n;if(!Oa.publish_time||!Oa.end_time)throw Ie.ZP.error("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Oa.group_name)throw Ie.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Oa.group_name=typeof(Oa==null?void 0:Oa.group_name)=="string"?[Oa==null?void 0:Oa.group_name]:Oa==null?void 0:Oa.group_name,Oa.group_id=(_n=Qn.group_settings)==null?void 0:_n.filter(ya=>{var wr;return(wr=Oa==null?void 0:Oa.group_name)==null?void 0:wr.includes(ya.group_name)}).map(ya=>ya.group_id||ya.id).toString().split(","),Oa})),na.group_settings=Tn,Cn.allow_late)if(Cn.unified_late){if(Cn.late_minus_score===null||Cn.late_minus_score===void 0||Cn.late_minus_score<0||Cn.late_minus_score>100)throw Ie.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Cn.late_time)throw Ie.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574")}else aa=aa==null?void 0:aa.map(Oa=>{var _n,ya;if(Oa.late_minus_score===null||Oa.late_minus_score===void 0||Oa.late_minus_score<0||Oa.late_minus_score>100)throw Ie.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Oa.late_time)throw Ie.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Oa.group_name)throw Ie.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Oa.group_name=typeof(Oa==null?void 0:Oa.group_name)=="string"?[Oa==null?void 0:Oa.group_name]:Oa==null?void 0:Oa.group_name,Oa.group_id=(ya=(_n=Oa==null?void 0:Oa.group_name)==null?void 0:_n.map(wr=>{var Fr,Co;let qo=(Co=(Fr=Qn.group_settings)==null?void 0:Fr.filter(Di=>(Di==null?void 0:Di.group_name)===wr))==null?void 0:Co[0];return qo==null?void 0:qo.group_id}))==null?void 0:ya.toString().split(","),Oa}),na.allow_late_settings=aa;na.send_type===1&&(na.difficult_settings=na.difficult_settings.map(Oa=>Oa||0)),Jo(na)},Jo=vn=>{var na;if(vn.total_score===null){Ie.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(vn!=null&&vn.work_efficiency&&vn.eff_score===null){Ie.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const Oa={shixun_evaluation:vn.shixun_evaluation,challenge_settings:vn.challenge_settings},_n=()=>Qa(void 0,null,function*(){Ai(!0),(yield(0,se.ZP)(`/api/homework_commons/${Pr.categoryId}/publish_setting.json`,{method:"post",body:Ar({},vn)})).status===0&&(Ie.ZP.success("\u66F4\u65B0\u6210\u529F"),mr(),Va({type:"shixunHomeworks/getWorkList",payload:Ar({},Pr)})),Ai(!1)});!(0,Wt.isEqual)(oi,Oa)&&!((na=ao==null?void 0:ao.homework_status)!=null&&na.includes("\u672A\u53D1\u5E03"))?be.default.confirm({title:"\u66F4\u65B0\u6210\u7EE9",content:"\u60A8\u6539\u52A8\u4E86\u672C\u6B21\u4F5C\u4E1A\u7684\u5173\u5361\u5F97\u5206\u8BBE\u7F6E\uFF0C\u8FD9\u53EF\u80FD\u5BFC\u81F4\u5DF2\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\u7684\u6210\u7EE9\u4EA7\u751F\u9519\u8BEF\u3002\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u5C06\u4FDD\u5B58\u6700\u65B0\u8BBE\u7F6E\u5E76\u6309\u6700\u65B0\u8BBE\u7F6E\u66F4\u65B0\u5168\u73ED\u6210\u7EE9\u3002",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:_n}):_n()},fr=(vn,na,Oa="group_id")=>{var _n;return na?na.find(ya=>ya[Oa]===vn):(_n=Qn==null?void 0:Qn.group_settings)==null?void 0:_n.find(ya=>ya.group_id[0]===vn)},So=(Qn==null?void 0:Qn.allow_late)||(Qn==null?void 0:Qn.anonymous_comment),Ha=vn=>{var na,Oa;const _n=fr(vn,Qn==null?void 0:Qn.allow_late_settings,"id"),ya=fr(vn,Qn==null?void 0:Qn.anonymous_comment_settings),wr=fr(vn);return(Qn==null?void 0:Qn.allow_late)&&_n&&ue()(_n==null?void 0:_n.late_time)<=ue()()||(Qn==null?void 0:Qn.anonymous_comment)&&ya&&(ya==null?void 0:ya.evaluation_start)!==null||((Oa=(ue()(wr==null?void 0:wr.end_time)<=ue()()&&((na=Qn==null?void 0:Qn.allow_late_settings)==null?void 0:na.filter(Fr=>Fr.group_id.includes(vn))))[0])==null?void 0:Oa.late_time)!=null},Yr=Qn==null?void 0:Qn.anonymous_comment,mo=vn=>{if(!vn)return!1;const na=fr(vn,Qn==null?void 0:Qn.anonymous_comment_settings);return(Qn==null?void 0:Qn.anonymous_comment)&&na&&(na==null?void 0:na.evaluation_start)!==null},Do=(vn,na)=>{var Oa,_n,ya;Va({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:vn,index:na,rangePickerDisabled:ha||(ue()()<=ue()((_n=fr((Oa=vn==null?void 0:vn.group_id)==null?void 0:Oa[0]))==null?void 0:_n.publish_time)?!1:[!0,Ha((ya=vn==null?void 0:vn.group_id)==null?void 0:ya[0])]),disabledDate:Qn==null?void 0:Qn.course_end_date}})};return zt.createElement("section",{className:un.form},zt.createElement("div",{className:un.title},"\u8BD5\u9898\u53D1\u5E03",zt.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u4F5C\u4E1A\u4E00\u65E6\u53D1\u5E03\u540E\u4E0D\u53EF\u53D8\u66F4\u8BD5\u9898\u53D1\u5E03\u6A21\u5F0F\uFF09")),zt.createElement("div",{className:un.content},zt.createElement(dt.ZP.Group,{disabled:ha||!((Fa=ao==null?void 0:ao.homework_status)!=null&&Fa.includes("\u672A\u53D1\u5E03"))||!((In=ba.AssistantObject.hack)!=null&&In.can_publish)&&(0,De.Rm)(),value:Cn.send_type,onChange:vn=>{Cn.send_type=vn.target.value,$r(Object.assign({},Cn))}},zt.createElement(dt.ZP,{value:0,style:{color:"#333333"}},"\u56FA\u5B9A\u8BD5\u9898\u6A21\u5F0F"),zt.createElement(dt.ZP,{style:{marginLeft:40,color:"#333333"},value:1},"\u968F\u673A\u62BD\u9898\u6A21\u5F0F"))),Cn.send_type===1&&zt.createElement("div",{className:un.content,style:{borderTop:"1px solid #fff"}},zt.createElement(gt.Z,{style:{marginLeft:"165px"}},zt.createElement(Oe.Z,{style:{color:"#333333"}},"\u7B80\u5355\u9898\u6570",zt.createElement(Dt.Z,{size:"large",precision:0,disabled:ha||!((Ua=ao==null?void 0:ao.homework_status)!=null&&Ua.includes("\u672A\u53D1\u5E03")),placeholder:`\u6700\u5927${Cn.difficult_count[0]||0}`,min:0,max:Cn.difficult_count[0]||0,value:Cn.difficult_settings[0],onChange:vn=>{Cn.difficult_settings[0]=vn,$r(Object.assign({},Cn))},className:"ml10 mr20",style:{width:120}})),zt.createElement(Oe.Z,{style:{color:"#333333"}},"\u9002\u4E2D\u9898\u6570",zt.createElement(Dt.Z,{size:"large",precision:0,disabled:ha||!((hn=ao==null?void 0:ao.homework_status)!=null&&hn.includes("\u672A\u53D1\u5E03")),placeholder:`\u6700\u5927${Cn.difficult_count[1]||0}`,min:0,max:Cn.difficult_count[1]||0,value:Cn.difficult_settings[1],onChange:vn=>{Cn.difficult_settings[1]=vn,$r(Object.assign({},Cn))},className:"ml10 mr20",style:{width:120}})),zt.createElement(Oe.Z,{style:{color:"#333333"}},"\u56F0\u96BE\u9898\u6570",zt.createElement(Dt.Z,{size:"large",precision:0,disabled:ha||!((Za=ao==null?void 0:ao.homework_status)!=null&&Za.includes("\u672A\u53D1\u5E03")),placeholder:`\u6700\u5927${Cn.difficult_count[2]||0}`,min:0,max:Cn.difficult_count[2]||0,value:Cn.difficult_settings[2],onChange:vn=>{Cn.difficult_settings[2]=vn,$r(Object.assign({},Cn))},className:"ml10 mr20",style:{width:120}})))),zt.createElement("div",{className:`${un.title} mt30`},"\u4F5C\u4E1A\u53D1\u5E03",zt.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u4F5C\u4E1A\u4E00\u65E6\u53D1\u5E03\u540E\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u53D1\u5E03\u65B9\u5F0F\uFF09")),zt.createElement("div",{className:un.content},zt.createElement(dt.ZP.Group,{disabled:ha||!((Da=ao==null?void 0:ao.homework_status)!=null&&Da.includes("\u672A\u53D1\u5E03"))||!((Io=ba.AssistantObject.hack)!=null&&Io.can_publish)&&(0,De.Rm)(),value:Cn.unified_setting,onChange:vn=>{var na;if(!((na=ao==null?void 0:ao.homework_status)!=null&&na.includes("\u672A\u53D1\u5E03"))){Ie.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(Cn.unified_setting=!Cn.unified_setting,Cn.unified_setting||(Cn.unified_late=!1),$r(Object.assign({},Cn)),Cn.unified_setting===!1&&Tn==""){tr(Tn.concat({}));return}Cn.unified_setting&&(tr([]),nn([{late_minus_score:5}]))}},zt.createElement(dt.ZP,{value:!0,disabled:!(Qn!=null&&Qn.manage_all_group),style:{color:"#333333"}},"\u7EDF\u4E00\u53D1\u5E03"),zt.createElement(dt.ZP,{style:{marginLeft:70,color:"#333333"},disabled:((Ma=Qn==null?void 0:Qn.group_settings)==null?void 0:Ma.length)===0,value:!1},"\u5206\u73ED\u53D1\u5E03")),(($o=Qn==null?void 0:Qn.group_settings)==null?void 0:$o.length)===0&&zt.createElement("p",{style:{marginLeft:"14px",color:"rgba(0, 0, 0, 0.25)"}},"\uFF08\u672C\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03\u201C\uFF09")),zt.createElement("div",{className:un.content,style:{borderTop:"1px solid #fff"}},Cn.unified_setting&&zt.createElement(gt.Z,{align:"middle",className:"ml25"},zt.createElement(gt.Z,{align:"middle"},zt.createElement(Oe.Z,{className:"c-grey-333"},"\u53D1\u5E03\u65F6\u95F4"),zt.createElement(Oe.Z,{className:"ml10"},zt.createElement(Zt.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},allowClear:!1,size:"large",format:"YYYY-MM-DD HH:mm",disabledDate:vn=>(0,fn.Q8)(vn,Qn==null?void 0:Qn.course_end_date),disabledTime:vn=>(0,fn.d0)(vn),disabled:ha||ue()()>=ue()(Qn==null?void 0:Qn.publish_time)||!((Si=ba.AssistantObject.hack)!=null&&Si.can_publish)&&(0,De.Rm)(),value:Cn.publish_time?ue()(Cn.publish_time):"",onChange:(vn,na)=>{Cn.publish_time=na,(Cn.end_time==""||!Cn.end_time)&&Cn.unified_setting&&(Cn.end_time=ue()(vn).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),$r(Object.assign({},Cn))}}))),zt.createElement(gt.Z,{align:"middle",style:{marginLeft:40}},zt.createElement(Oe.Z,{className:"c-grey-333"},"\u622A\u6B62\u65F6\u95F4"),zt.createElement(Oe.Z,{className:"ml10"},zt.createElement(Zt.default,{style:{width:170},allowClear:!1,size:"large",placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ue()((0,Me.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(Qn==null?void 0:Qn.allow_late)&&(Qn==null?void 0:Qn.homework_status.includes("\u5DF2\u622A\u6B62"))||ha||(Qn==null?void 0:Qn.allow_late)&&ue()()>=ue()(Qn==null?void 0:Qn.end_time)||!((Ko=ba.AssistantObject.hack)!=null&&Ko.can_publish)&&(0,De.Rm)(),disabledDate:vn=>(0,fn.Q8)(vn,Qn==null?void 0:Qn.course_end_date,Cn.publish_time),disabledTime:vn=>(0,fn.d0)(vn,Cn.publish_time),value:Cn.end_time?ue()(Cn.end_time):"",onChange:(vn,na)=>{Cn.end_time=na,$r(Object.assign({},Cn))}})))),!Cn.unified_setting&&(Tn==null?void 0:Tn.length)>0&&zt.createElement(gt.Z,{className:"ml25"},Tn&&Tn.map(function(vn,na){var Oa,_n,ya,wr;return zt.createElement(Oe.Z,{className:na!==0&&"mt20",span:24,key:na},zt.createElement(gt.Z,{gutter:[0,16]},zt.createElement(Oe.Z,{span:8},zt.createElement(gt.Z,{gutter:[8,16],align:"middle"},zt.createElement(Oe.Z,{style:{minWidth:85},className:"c-grey-333"},"\u53D1\u5E03\u89C4\u5219 ",na+1),zt.createElement(Oe.Z,{flex:"1",style:{maxWidth:300}},zt.createElement(mn.default,{size:"large",disabled:ha||((Oa=Qn==null?void 0:Qn.homework_status)!=null&&Oa.includes("\u672A\u53D1\u5E03")&&vn.id||ue()()<ue()(vn==null?void 0:vn.publish_time)?!1:!!(vn!=null&&vn.publish_time)),mode:"multiple",className:`${un.selectSty}`,style:{width:250},value:vn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Fr=>{var Co;if(!((Co=ba.AssistantObject.hack)!=null&&Co.can_publish)&&(0,De.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Tn[na].group_name=Fr,Tn[na].group_id=vn.group_id;const qo=(0,Wt.flattenDeep)(Tn.map(Hi=>Hi.group_name)),Di=aa.map(Hi=>{let qi=(Hi==null?void 0:Hi.group_name)||[];return Cr(Ar({},Hi),{group_name:(0,Wt.remove)(qi,wl=>qo.includes(wl))})});nn(Di),tr(Tn.slice())},maxTagCount:4,maxTagPlaceholder:Fr=>zt.createElement("div",{style:{cursor:"pointer"},onClick:()=>Do(vn,na)},"+",Fr==null?void 0:Fr.length)},Qn.group_settings&&Qn.group_settings.map(function(Fr){if(!Tn.map(Co=>Co.group_name).toString().split(",").includes(String(Fr.group_name)))return zt.createElement(Mt,{value:Fr.group_name,key:Fr.id},Fr.group_name)}))))),zt.createElement(Oe.Z,{span:14,style:{display:"flex",alignItems:"center"}},zt.createElement(at,{size:"large",allowClear:!1,ranges:{\u6B64\u523B:[vn.publish_time?ue()(vn.publish_time):ue()(),ue()()]},disabled:ha||(ue()()<=ue()((_n=fr(vn.id))==null?void 0:_n.publish_time)?!1:[!0,Ha(vn.id)]),style:{width:605,marginLeft:10},placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:Fr=>(0,fn.Q8)(Fr,Qn==null?void 0:Qn.course_end_date),disabledTime:Fr=>(0,fn.d0)(Fr),showTime:{format:"HH:mm",defaultValue:[ue()((0,Me.U6)(),"HH:mm"),ue()((0,Me.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:vn.publish_time&&[ue()(vn.publish_time),vn.end_time?ue()(vn.end_time):void 0],onChange:(Fr,Co)=>{var qo;if(!((qo=ba.AssistantObject.hack)!=null&&qo.can_publish)&&(0,De.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Tn[na].publish_time=Co[0],!vn.end_time&&Co[0]?Tn[na].end_time=ue()(Co[0]).add(7,"days"):Tn[na].end_time=Co[1],tr([...Tn])},onCalendarChange:(Fr,Co,qo)=>{if(Co!=null&&Co[0]&&!Co[1]){const Di=ue()(Co[0]).add(7,"days");Tn[na].publish_time=Co[0],Tn[na].end_time=Di,tr([...Tn])}}})),!ha&&zt.createElement(Oe.Z,{span:2,style:{display:"flex",alignItems:"center"}},((ya=vn==null?void 0:vn.group_id)==null?void 0:ya.length)>1&&zt.createElement(nt.Z,{title:"\u89C4\u5219\u62C6\u5206"},zt.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0",fontSize:14},onClick:()=>Do(vn,na)})),Tn.length<((wr=Qn==null?void 0:Qn.group_settings)==null?void 0:wr.length)&&zt.createElement(yt.Z,{className:"c-green ml10 mr10",onClick:()=>{tr(Tn.concat({}))}}),((vn==null?void 0:vn.publish_time)&&ue()()<ue()(vn==null?void 0:vn.publish_time)||!(vn!=null&&vn.publish_time))&&na!=0&&zt.createElement(en.Z,{style:{color:"#E30000"},onClick:()=>{var Fr;if(!((Fr=ba.AssistantObject.hack)!=null&&Fr.can_publish)&&(0,De.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Co=(0,Wt.cloneDeep)(aa);Co.forEach((qo,Di)=>{qo.group_name&&(qo.group_name=qo.group_name.filter(Hi=>{var qi;return!((qi=Tn[na].group_name)!=null&&qi.includes(Hi))}))}),nn(Co),Tn=Tn.filter((qo,Di)=>na!==Di),tr(Tn.slice()),setTimeout(()=>tr(Tn.slice()),10)}}))))}))),zt.createElement("div",{className:`${un.title} mt30`},"\u8865\u4EA4\u8BBE\u7F6E",zt.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u53EF\u5BF9\u5728\u4F5C\u4E1A\u53D1\u5E03\u65F6\u95F4\u8303\u56F4\u5185\u672A\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\uFF0C\u5EF6\u957F\u65F6\u95F4\u8FDB\u884C\u8865\u4EA4\uFF09")),zt.createElement("div",{className:un.content},zt.createElement(gt.Z,null,zt.createElement(Ge.default,{checked:Cn.allow_late,disabled:ha||(Qn==null?void 0:Qn.allow_late),onChange:vn=>{var na;if(!((na=ba.AssistantObject.hack)!=null&&na.can_late)&&(0,De.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}vn.target.checked&&be.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",width:480,centered:!0,content:zt.createElement("div",{style:{padding:10,background:"#f5f6f9"}},zt.createElement("div",null,"1.\u5F00\u542F\u8865\u4EA4\u540E\u4E0D\u53EF\u5173\u95ED\uFF0C\u8865\u4EA4\u65B9\u5F0F\u63D0\u4EA4\u4FDD\u5B58\u540E\u4E0D\u53EF\u4FEE\u6539\uFF1B"),zt.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),zt.createElement("div",null,"3.\u73ED\u7EA7\u9636\u6BB5\u8FDB\u5165\u201C\u8865\u4EA4\u4E2D\u201D\u5219\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3002"))}),Cn.allow_late=!Cn.allow_late,aa==""&&nn([{late_minus_score:5}]),$r(Object.assign({},Cn))}},zt.createElement("span",{style:{fontSize:"14px"}},"\u5F00\u542F\u8865\u4EA4")))),(Cn==null?void 0:Cn.allow_late)&&zt.createElement("div",{className:un.content,style:{borderTop:"1px solid #fff",paddingLeft:54}},zt.createElement("div",null,zt.createElement("span",{style:{color:"#333333",marginRight:12}},"\u8865\u4EA4\u65B9\u5F0F\uFF1A"),zt.createElement(dt.ZP.Group,{disabled:ha||(Qn==null?void 0:Qn.anonymous_comment)||(Qn==null?void 0:Qn.allow_late),value:Cn.unified_late,onChange:vn=>{var na;if((0,De.Rm)()&&!((na=ba.AssistantObject.hack)!=null&&na.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Cn.unified_late=vn.target.value,aa==""&&!vn.target.value&&nn([{late_minus_score:5}]),$r(Ar({},Cn))}},(Cn==null?void 0:Cn.unified_setting)&&zt.createElement(dt.ZP,{value:!0,style:{color:"#333333"},disabled:!(Qn!=null&&Qn.manage_all_group)}," \u7EDF\u4E00\u8865\u4EA4 "),((Sr=Qn==null?void 0:Qn.group_settings)==null?void 0:Sr.length)&&zt.createElement(dt.ZP,{value:!1,style:{color:"#333333"}}," \u5206\u73ED\u8865\u4EA4 "))),Cn!=null&&Cn.unified_late?zt.createElement(zt.Fragment,null,zt.createElement(gt.Z,{align:"middle",className:"mt25"},zt.createElement(Oe.Z,{style:{color:"#333333"}},"\u8865\u4EA4\u6263\u5206:"),zt.createElement(Oe.Z,{className:"ml5"},zt.createElement(Vn.Z,{disabled:ha||Yr,value:{type:Cn.penalty_type,inputValue:Cn.late_minus_score},onChange:vn=>{var na;if((0,De.Rm)()&&!((na=ba.AssistantObject.hack)!=null&&na.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}$r(Cr(Ar({},Cn),{late_minus_score:vn.inputValue,penalty_type:vn.type}))}})),zt.createElement(Oe.Z,{flex:"1",className:"ml5"},zt.createElement("span",{className:"c-grey-c ml10"},Cn.penalty_type===Vn.Q.Number?"(\u8865\u4EA4\u65F6\u6309\u7167\u5B66\u751F\u603B\u6210\u7EE9\u6263\u5206)":"(\u5B66\u751F\u6700\u7EC8\u5F97\u5206=\u8865\u4EA4\u524D\u5F97\u5206+\u8865\u4EA4\u9636\u6BB5\u589E\u52A0\u7684\u5206\u503C*\uFF08100%-\u767E\u5206\u6BD4%\uFF09)"))),zt.createElement(gt.Z,{align:"middle",className:"mt25"},zt.createElement(Oe.Z,{style:{color:"#333333"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4:"),zt.createElement(Oe.Z,{className:"ml5"},zt.createElement(Zt.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ue()((0,Me.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:ha||Yr,value:Cn.late_time?ue()(Cn.late_time):"",disabledDate:vn=>(0,fn.Q8)(vn,Qn==null?void 0:Qn.course_end_date),disabledTime:vn=>(0,fn.d0)(vn),onChange:(vn,na)=>{var Oa;if((0,De.Rm)()&&!((Oa=ba.AssistantObject.hack)!=null&&Oa.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Cn.late_time=na,$r(Object.assign({},Cn))}})),zt.createElement(Oe.Z,null,zt.createElement("span",{className:"c-grey-c ml10"},"(\u5B66\u751F\u201C\u5EF6\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9)")))):aa.map(function(vn,na){var Oa;return zt.createElement(Oe.Z,{span:24,key:na},zt.createElement(gt.Z,{className:"mt25",align:"middle"},zt.createElement(Oe.Z,null,zt.createElement("span",{style:{minWidth:85,display:"inline-block",color:"#333333"}},"\u8865\u4EA4\u89C4\u5219",na+1,"\uFF1A"),zt.createElement(mn.default,{size:"large",disabled:ha||!((Oa=ao==null?void 0:ao.homework_status)!=null&&Oa.includes("\u672A\u53D1\u5E03"))&&vn.id||(Qn==null?void 0:Qn.anonymous_comment),mode:"multiple",className:`${un.selectSty}`,style:{width:200},value:typeof vn.group_name=="string"?[vn.group_name]:vn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:_n=>{var ya;if((0,De.Rm)()&&!((ya=ba.AssistantObject.hack)!=null&&ya.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}aa[na].group_name=_n,aa[na].group_id=vn.group_id,nn(aa.slice())}},Qn.group_settings&&Qn.group_settings.map(function(_n){if(Cn!=null&&Cn.unified_setting&&!aa.map(ya=>ya.group_name).toString().split(",").includes(String(_n.group_name)))return zt.createElement(Mt,{value:_n.group_name,key:_n.id},_n.group_name);if(Tn.map(ya=>ya.group_name).toString().split(",").includes(String(_n.group_name))&&!aa.map(ya=>ya.group_name).toString().split(",").includes(String(_n.group_name)))return zt.createElement(Mt,{value:_n.group_name,key:_n.id},_n.group_name)}))),zt.createElement(Oe.Z,{className:"ml20",style:{display:"flex",alignItems:"center"}},zt.createElement("div",{style:{color:"#333333"}},"\u8865\u4EA4\u6263\u5206\uFF1A"),zt.createElement(Vn.Z,{disabled:ha||mo(vn.id),value:{type:vn.penalty_type,inputValue:vn.late_minus_score},onChange:_n=>{var ya;if((0,De.Rm)()&&!((ya=ba.AssistantObject.hack)!=null&&ya.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}aa[na].late_minus_score=_n.inputValue,aa[na].penalty_type=_n.type,nn([...aa])}})),zt.createElement(Oe.Z,{className:"ml20"},zt.createElement("span",{style:{color:"#333333"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\uFF1A"),zt.createElement(Zt.default,{size:"large",disabled:ha||mo(vn.id),style:{width:200},showTime:{format:"HH:mm",defaultValue:ue()((0,Me.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:_n=>(0,fn.Q8)(_n,Qn==null?void 0:Qn.course_end_date),disabledTime:_n=>(0,fn.d0)(_n),format:"YYYY-MM-DD HH:mm",value:vn!=null&&vn.late_time?ue()(vn.late_time):void 0,onChange:(_n,ya)=>{var wr;if((0,De.Rm)()&&!((wr=ba.AssistantObject.hack)!=null&&wr.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}aa[na].late_time=ya,nn([...aa])}})),!ha&&zt.createElement(Oe.Z,{style:{marginLeft:10}},na>0&&!vn.id&&zt.createElement(en.Z,{className:"mr10",style:{color:"#E30000"},onClick:()=>{aa=aa.filter((_n,ya)=>na!==ya),nn(aa.slice()),setTimeout(()=>nn(aa.slice()),10)}}),zt.createElement(yt.Z,{className:"c-green",onClick:()=>{var _n;if((0,De.Rm)()&&!((_n=ba.AssistantObject.hack)!=null&&_n.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}nn(aa.concat({penalty_type:Vn.Q.Percent,late_minus_score:20}))}}))))})),!ha&&zt.createElement(Ne.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:eo,onClick:()=>Tr()},"\u4FDD\u5B58"),zt.createElement(Un.Z,{onConfirm:(vn,na)=>{Tn.splice(vn,0,...na),Tn.splice(vn+na.length,1);const Oa=(0,Me.QE)([...Tn]);tr([...Oa])}}))};var kn=(0,he.connect)(({shixunHomeworks:Vt,classroomList:_t,user:kt,loading:ba})=>({shixunHomeworks:Vt,loading:ba.effects,user:kt,classroomList:_t}))(Ft),dn=te(59301),Ln=Object.defineProperty,Xr=Object.defineProperties,Er=Object.getOwnPropertyDescriptors,Kr=Object.getOwnPropertySymbols,oo=Object.prototype.hasOwnProperty,Xa=Object.prototype.propertyIsEnumerable,Nn=(Vt,_t,kt)=>_t in Vt?Ln(Vt,_t,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Vt[_t]=kt,ur=(Vt,_t)=>{for(var kt in _t||(_t={}))oo.call(_t,kt)&&Nn(Vt,kt,_t[kt]);if(Kr)for(var kt of Kr(_t))Xa.call(_t,kt)&&Nn(Vt,kt,_t[kt]);return Vt},nr=(Vt,_t)=>Xr(Vt,Er(_t)),sr=(Vt,_t,kt)=>new Promise((ba,Va)=>{var Fa=hn=>{try{Ua(kt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(kt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?ba(hn.value):Promise.resolve(hn.value).then(Fa,In);Ua((kt=kt.apply(Vt,_t)).next())});function er(Vt,_t){const kt=[];for(let ba=Vt;ba<_t;ba++)kt.push(ba);return kt}const ht=Vt=>{let _t=new Date;const kt=ue()(Vt).format("HH");if(ue()(Vt).isSame(ue()(_t),"day")){const ba=ue()(_t).format("HH"),Va=ue()(_t).format("mm");return{disabledHours:()=>er(0,24).splice(1,ba*1-1),disabledMinutes:()=>(console.log("\u7981\u6B62\u65F6\u95F4\uFF1A",kt,ba),ue()(Vt).isSame(ue()(_t),"hour")&&kt<=ba?er(0,60).splice(0,Va):er(60,60))}}else if(ue()(Vt).isSame(ue()(),"day")){const ba=ue()().format("HH"),Va=ue()().format("mm");return{disabledHours:()=>er(0,24).splice(0,ba),disabledMinutes:()=>kt<=ba?er(0,Va):er(60,60)}}else return},{RangePicker:qt}=Zt.default,{Option:tn}=mn.default,Pn=({shixunHomeworks:Vt,loading:_t,dispatch:kt})=>{const ba=(0,he.useParams)(),Va=(0,he.useLocation)(),{workSetting:Fa,workList:In,changeData:Ua}=Vt,[hn,Za]=(0,z.useState)(!0),[Da,Io]=(0,z.useState)({}),[Ma,$o]=(0,z.useState)(!1),[Si]=ft.default.useForm();let[Ko,Sr]=(0,z.useState)([]),[Pr,Qn]=(0,z.useState)([]);const[ao,oi]=(0,z.useState)([]),ha=(0,z.useRef)(!0);let[ca,eo]=(0,z.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,open_code:!1,rank_forbidden:!1,hack_analysis:!1,hack_answer:!1,open_code_type:void 0,hack_analysis_type:2,hack_answer_type:1,comment_public:!0,total_score:"",eff_score:0,rank_forbidden_start:"",rank_forbidden_end:"",show_late_code:!0});(0,z.useEffect)(()=>()=>{Sr([])},[]),(0,z.useEffect)(()=>{Fa!=null&&Fa.can_edit&&Za(!1)},[Fa]);const Ai=()=>{kt({type:"shixunHomeworks/getWorkSetting",payload:ur({},ba)})},Tn=nn=>nn&&nn<ue()().startOf("day");(0,z.useEffect)(()=>{Fa!=null&&Fa.course_id&&ha.current&&(ha.current=!1,Object.keys(ca).map(function(nn){Fa[nn]!==void 0&&(ca[nn]=Fa[nn])}),(!ca.allow_late||!ca.unified_late)&&(ca.late_penalty=5),Ko=JSON.parse(JSON.stringify(Fa.group_settings.map(nn=>nr(ur({},nn),{group_name:[nn.group_name]})).filter(nn=>nn.publish_time!==null))),Pr=JSON.parse(JSON.stringify(Fa.allow_late_settings.map(nn=>nr(ur({},nn),{group_name:[nn.group_name]})).filter(nn=>nn.rank_forbidden_start!==null))),eo(ur({},ca)),console.log(ca,Fa,"data"),Sr([...Ko]),(Pr==null?void 0:Pr.length)<=0?Qn([{}]):Qn([...Pr]))},[Fa]);const tr=()=>{const nn=JSON.parse(JSON.stringify(ca));if(nn.categoryId=ba.categoryId,ca.unified_setting||(Ko=Ko==null?void 0:Ko.map(Wn=>{var Cn;if(!Wn.publish_time||!Wn.end_time)throw Ie.ZP.error("\u8BF7\u628A\u5F00\u59CB\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u5F00\u59CB\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Wn.group_name)throw Ie.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Wn.group_name=typeof(Wn==null?void 0:Wn.group_name)=="string"?[Wn==null?void 0:Wn.group_name]:Wn==null?void 0:Wn.group_name,Wn.group_id=(Cn=Fa.group_settings)==null?void 0:Cn.filter($r=>{var mr;return(mr=Wn==null?void 0:Wn.group_name)==null?void 0:mr.includes($r.group_name)}).map($r=>$r.group_id||$r.id).toString().split(","),Wn})),nn.group_settings=Ko,ca.rank_forbidden)if(ca.unified_setting){if(!ca.rank_forbidden_start)throw Ie.ZP.error("\u8BF7\u628A\u5F00\u59CB\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u5F00\u59CB\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!ca.rank_forbidden_end)throw Ie.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(ue()(ca.rank_forbidden_end)<ue()(ca.rank_forbidden_start))throw Ie.ZP.error("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u65E9\u4E8E\u5F00\u59CB\u65F6\u95F4"),new String("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u65E9\u4E8E\u5F00\u59CB\u65F6\u95F4")}else Pr=Pr==null?void 0:Pr.map(Wn=>{var Cn,$r;if(!Wn.rank_forbidden_start)throw Ie.ZP.error("\u8BF7\u628A\u5F00\u59CB\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u5F00\u59CB\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Wn.rank_forbidden_end)throw Ie.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Wn.group_name)throw Ie.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Wn.group_name=typeof(Wn==null?void 0:Wn.group_name)=="string"?[Wn==null?void 0:Wn.group_name]:Wn==null?void 0:Wn.group_name,Wn.group_id=($r=(Cn=Wn==null?void 0:Wn.group_name)==null?void 0:Cn.map(mr=>{var Tr,Jo;let fr=(Jo=(Tr=Fa.group_settings)==null?void 0:Tr.filter(So=>(So==null?void 0:So.group_name)===mr))==null?void 0:Jo[0];return fr==null?void 0:fr.group_id}))==null?void 0:$r.toString().split(","),Wn}),nn.group_settingss=Pr;aa(nn)},aa=nn=>{if(console.log(nn.total_score,nn.eff_score),nn.total_score===null){Ie.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(nn!=null&&nn.work_efficiency&&nn.eff_score===null){Ie.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const Wn={shixun_evaluation:nn.shixun_evaluation};sr(void 0,null,function*(){$o(!0),(yield(0,se.ZP)(`/api/homework_commons/${ba.categoryId}/public_setting.json`,{method:"post",body:ur({},nn)})).status===0&&(Ie.ZP.success("\u66F4\u65B0\u6210\u529F"),Ai(),kt({type:"shixunHomeworks/getWorkList",payload:ur({},ba)})),$o(!1)})};return dn.createElement("section",{className:un.form},dn.createElement("div",{className:un.title},"\u516C\u5F00\u8BBE\u7F6E"),dn.createElement("div",{className:un.content,style:{padding:0}},dn.createElement(gt.Z,null,dn.createElement(Oe.Z,{span:24,className:un.pubColSty},dn.createElement(Ge.default,{checked:ca.score_open,disabled:hn,onChange:nn=>{ca.score_open=nn.target.checked,eo(Object.assign({},ca))}},dn.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u6210\u7EE9")),dn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u52FE\u9009\u540E\u5B66\u751F\u5728\u4F5C\u4E1A\u622A\u6B62/\u8865\u4EA4\u7ED3\u675F\u540E\uFF0C\u53EF\u67E5\u770B\u5176\u4ED6\u5B66\u751F\u7684\u6210\u7EE9\uFF09")),dn.createElement(Oe.Z,{span:24,className:un.pubColSty,style:{borderBottom:ca.open_code?"none":"1px solid #fff"}},dn.createElement(Ge.default,{checked:ca.open_code,disabled:hn,onChange:nn=>{ca.open_code=nn.target.checked,nn.target.checked&&(ca.open_code_type=1),eo(Object.assign({},ca))}},dn.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u4EE3\u7801")),dn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u53EF\u5728\u6392\u884C\u699C\u4E2D\u67E5\u770B\u4ED6\u4EBA\u8BD5\u9898\u901A\u8FC7\u4EE3\u7801\u8BE6\u60C5\uFF09")),!!ca.open_code&&dn.createElement(Oe.Z,{span:24,className:un.pubColSty},dn.createElement(dt.ZP.Group,{style:{marginLeft:"24px"},disabled:hn,value:ca.open_code_type,onChange:nn=>{ca.open_code_type=nn.target.value,eo(Object.assign({},ca))}},dn.createElement(dt.ZP,{value:1,style:{color:"#333333"}},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),dn.createElement(dt.ZP,{value:0,style:{marginLeft:60,color:"#333333"}},"\u4EFB\u610F\u65F6\u95F4"))),dn.createElement(Oe.Z,{span:24,className:un.pubColSty,style:{borderBottom:ca.rank_forbidden&&ca.unified_setting||!ca.unified_setting&&(Ko==null?void 0:Ko.length)>0&&ca.rank_forbidden?"none":"1px solid #fff"}},dn.createElement(Ge.default,{checked:ca.rank_forbidden,disabled:hn,onChange:nn=>{ca.rank_forbidden=nn.target.checked,eo(Object.assign({},ca))}},dn.createElement("span",{className:"font14"},"\u5F00\u542F\u5C01\u699C")),dn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u4E0D\u53EF\u67E5\u770B\u6392\u884C\u699C\u4FE1\u606F\u7684\u65F6\u95F4\u6BB5\uFF09")),!!ca.rank_forbidden&&ca.unified_setting&&dn.createElement(Oe.Z,{span:24,className:un.pubColSty,style:{height:"50px",lineHeight:"50px"}},dn.createElement("div",{style:{marginLeft:"24px"}},dn.createElement(gt.Z,{align:"middle"},dn.createElement(Oe.Z,null,"\u5F00\u59CB\u65F6\u95F4"),dn.createElement(Oe.Z,{className:"ml10"},dn.createElement(Zt.default,{size:"large",style:{width:370},placeholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4\uFF08\u5B66\u751F\u770B\u4E0D\u5230\u6392\u884C\u699C\u7684\u5F00\u59CB\u65F6\u95F4\uFF09",showTime:{format:"HH:mm"},allowClear:!1,format:"YYYY-MM-DD HH:mm",disabledDate:Tn,disabledTime:ht,disabled:hn||ue()()>ue()(Fa.rank_forbidden_start),value:ca.rank_forbidden_start?ue()(ca.rank_forbidden_start):"",onChange:(nn,Wn)=>{ca.rank_forbidden_start=Wn,(ca.end_time==""||!ca.end_time)&&ca.unified_setting&&(ca.end_time=ue()(nn).add(1,"month").format("YYYY-MM-DD HH:mm:ss")),eo(Object.assign({},ca))}})),dn.createElement(Oe.Z,{className:"ml20"},"\u622A\u6B62\u65F6\u95F4"),dn.createElement(Oe.Z,{className:"ml10"},dn.createElement(Zt.default,{size:"large",style:{width:370},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u770B\u4E0D\u5230\u6392\u884C\u699C\u7684\u7ED3\u675F\u65F6\u95F4\uFF09",showTime:{format:"HH:mm",defaultValue:ue()((0,Me.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:hn,disabledDate:Tn,value:ca.rank_forbidden_end?ue()(ca.rank_forbidden_end):"",onChange:(nn,Wn)=>{ca.rank_forbidden_end=Wn,eo(Object.assign({},ca))}}))))),!ca.unified_setting&&(Ko==null?void 0:Ko.length)>0&&!!ca.rank_forbidden&&dn.createElement(gt.Z,{align:"middle",style:{borderBottom:"1px solid #fff",paddingBottom:"5px",width:"100%"}},Pr.map(function(nn,Wn){var Cn,$r,mr,Tr,Jo,fr,So;return dn.createElement(Oe.Z,{span:24,key:Wn,style:{marginLeft:"24px"}},dn.createElement(gt.Z,{className:"mt10 ml30",align:"middle"},dn.createElement(Oe.Z,null,dn.createElement("span",{style:{color:"#666"}},"\u5C01\u699C\u89C4\u5219",Wn+1,"\uFF1A"),dn.createElement(mn.default,{size:"large",disabled:hn||!((Cn=In==null?void 0:In.homework_status)!=null&&Cn.includes("\u672A\u53D1\u5E03"))&&nn.id,mode:"multiple",className:un.selectSty,style:{width:250},value:typeof nn.group_name=="string"?[nn.group_name]:nn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Ha=>{Pr[Wn].group_name=Ha,Pr[Wn].group_id=nn.group_id,Qn(Pr.slice())}},Fa.group_settings&&Fa.group_settings.map(function(Ha){if(ca!=null&&ca.unified_setting&&!Pr.map(Yr=>Yr.group_name).toString().split(",").includes(String(Ha.group_name)))return dn.createElement(tn,{value:Ha.group_name,key:Ha.id},Ha.group_name);if(Ko.map(Yr=>Yr.group_name).toString().split(",").includes(String(Ha.group_name))&&!Pr.map(Yr=>Yr.group_name).toString().split(",").includes(String(Ha.group_name)))return dn.createElement(tn,{value:Ha.group_name,key:Ha.id},Ha.group_name)}))),dn.createElement(Oe.Z,{span:15},dn.createElement("div",{className:"ml20"},dn.createElement(qt,{size:"large",allowClear:!1,disabled:hn||((Tr=(mr=($r=Fa==null?void 0:Fa.group_settings)==null?void 0:$r.filter(Ha=>Ha.id===nn.id))==null?void 0:mr[0])!=null&&Tr.rank_forbidden_start?ue()()<ue()((So=(fr=(Jo=Fa==null?void 0:Fa.group_settings)==null?void 0:Jo.filter(Ha=>Ha.id===nn.id))==null?void 0:fr[0])==null?void 0:So.rank_forbidden_start)?!1:[!0,!1]:!1),style:{width:635},placeholder:["\u5F00\u59CB\u65F6\u95F4\uFF08\u5B66\u751F\u770B\u4E0D\u5230\u6392\u884C\u699C\u7684\u5F00\u59CB\u65F6\u95F4\uFF09","\u7ED3\u675F\u65F6\u95F4\uFF08\u5B66\u751F\u770B\u4E0D\u5230\u6392\u884C\u699C\u7684\u7ED3\u675F\u65F6\u95F4\uFF09"],disabledDate:Tn,disabledTime:ht,showTime:{format:"HH:mm",defaultValue:[ue()((0,Me.U6)(),"HH:mm"),ue()((0,Me.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:nn.rank_forbidden_start&&[ue()(nn.rank_forbidden_start),nn.rank_forbidden_end?ue()(nn.rank_forbidden_end):void 0],onChange:(Ha,Yr)=>{Pr[Wn].rank_forbidden_start=Yr[0],Pr[Wn].rank_forbidden_end=Yr[1],Qn([...Pr])}}))),!hn&&dn.createElement(Oe.Z,null,dn.createElement(yt.Z,{className:"c-green",onClick:()=>{Qn(Pr.concat({}))}}),Wn>0&&!nn.id&&dn.createElement(en.Z,{className:"c-red ml10",onClick:()=>{Pr=Pr.filter((Ha,Yr)=>Wn!==Yr),Qn(Pr.slice()),setTimeout(()=>Qn(Pr.slice()),10)}}))))})),dn.createElement(Oe.Z,{span:24,className:un.pubColSty,style:{borderBottom:ca.hack_analysis?"none":"1px solid #fff"}},dn.createElement(Ge.default,{checked:ca.hack_analysis,disabled:hn,onChange:nn=>{ca.hack_analysis=nn.target.checked,nn.target.checked&&(ca.hack_analysis_type=2),eo(Object.assign({},ca))}},dn.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u89E3\u6790")),dn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u89E3\u6790\uFF09")),!!ca.hack_analysis&&dn.createElement(Oe.Z,{span:24,className:un.pubColSty},dn.createElement(dt.ZP.Group,{style:{marginLeft:"24px"},disabled:hn,value:ca.hack_analysis_type,onChange:nn=>{ca.hack_analysis_type=nn.target.value,eo(Object.assign({},ca))}},dn.createElement(dt.ZP,{value:2,style:{color:"#333333"}},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),dn.createElement(dt.ZP,{style:{marginLeft:60,color:"#333333"},value:0},"\u4EFB\u610F\u65F6\u95F4"),dn.createElement(dt.ZP,{style:{marginLeft:60,color:"#333333"},value:1},"\u5B66\u751F\u901A\u8FC7\u7B54\u9898\u540E/\u672A\u901A\u8FC7\u7684\u5B66\u751F\u4F5C\u4E1A\u622A\u6B62\u540E"))),dn.createElement(Oe.Z,{span:24,className:un.pubColSty,style:{borderBottom:ca.hack_answer?"none":"1px solid #fff"}},dn.createElement(Ge.default,{checked:ca.hack_answer,disabled:hn,onChange:nn=>{ca.hack_answer=nn.target.checked,nn.target.checked&&(ca.hack_answer_type=1),eo(Object.assign({},ca))}},dn.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u7B54\u6848")),dn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u7B54\u6848\uFF09")),!!ca.hack_answer&&dn.createElement(Oe.Z,{span:24,className:un.pubColSty},dn.createElement(dt.ZP.Group,{style:{marginLeft:"24px"},disabled:hn,value:ca.hack_answer_type,onChange:nn=>{ca.hack_answer_type=nn.target.value,eo(Object.assign({},ca))}},dn.createElement(dt.ZP,{value:1,style:{color:"#333333"}},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),dn.createElement(dt.ZP,{value:0,style:{marginLeft:60,color:"#333333"}},"\u4EFB\u610F\u65F6\u95F4"))))),dn.createElement("div",{className:`${un.title} mt30`},"\u5B66\u751F\u5B9E\u9A8C\u62A5\u544A\u4EE3\u7801\u5C55\u793A\u8BBE\u7F6E"),dn.createElement("div",{className:un.content},dn.createElement(Ge.default,{disabled:hn,checked:ca.show_late_code,onChange:()=>{ca.show_late_code=!ca.show_late_code,eo(Object.assign({},ca))}},dn.createElement("span",{className:"c-black"},"\u5C55\u793A\u6240\u6709\u8BC4\u6D4B\u4EE3\u7801"),dn.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u52FE\u9009\u540E\uFF0C\u5C55\u793A\u6240\u6709\u8BC4\u6D4B\u4EE3\u7801\uFF0C\u5426\u5219\u53EA\u5C55\u793A\u5728\u4F5C\u4E1A\u65F6\u95F4\u8303\u56F4\u5185\u63D0\u4EA4\u7684\u4EE3\u7801\uFF09"))),!hn&&dn.createElement(Ne.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:Ma,onClick:()=>tr()},"\u4FDD\u5B58"))};var Rn=(0,he.connect)(({shixunHomeworks:Vt,loading:_t})=>({shixunHomeworks:Vt,loading:_t.effects}))(Pn),gn=te(59301),On=Object.defineProperty,yn=Object.defineProperties,ar=Object.getOwnPropertyDescriptors,Ra=Object.getOwnPropertySymbols,cn=Object.prototype.hasOwnProperty,io=Object.prototype.propertyIsEnumerable,to=(Vt,_t,kt)=>_t in Vt?On(Vt,_t,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Vt[_t]=kt,no=(Vt,_t)=>{for(var kt in _t||(_t={}))cn.call(_t,kt)&&to(Vt,kt,_t[kt]);if(Ra)for(var kt of Ra(_t))io.call(_t,kt)&&to(Vt,kt,_t[kt]);return Vt},Mo=(Vt,_t)=>yn(Vt,ar(_t)),ea=(Vt,_t,kt)=>new Promise((ba,Va)=>{var Fa=hn=>{try{Ua(kt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(kt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?ba(hn.value):Promise.resolve(hn.value).then(Fa,In);Ua((kt=kt.apply(Vt,_t)).next())});const Aa=({shixunHomeworks:Vt,loading:_t,dispatch:kt})=>{var ba;const Va=(0,he.useParams)(),{workSetting:Fa,workList:In,changeData:Ua}=Vt,[hn,Za]=(0,z.useState)(!0),[Da,Io]=(0,z.useState)(!1),[Ma,$o]=(0,z.useState)(!1),[Si]=ft.default.useForm();let[Ko,Sr]=(0,z.useState)([]),[Pr,Qn]=(0,z.useState)([]);const ao=!((ba=In==null?void 0:In.homework_status)!=null&&ba.includes("\u672A\u53D1\u5E03")),oi=(0,z.useRef)(!0);let[ha,ca]=(0,z.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,comment_public:!0,total_score:"",eff_score:0,is_onpage_time:!0,training_time_rules:1,hack_settings:[],punish_time:void 0,hack_score_settings:void 0,hack_rank_rule:0});(0,z.useEffect)(()=>()=>{Sr([])},[]),(0,z.useEffect)(()=>{Fa!=null&&Fa.can_edit&&Za(!1)},[Fa]);const eo=()=>{kt({type:"shixunHomeworks/getWorkSetting",payload:no({},Va)})};(0,z.useEffect)(()=>{Fa!=null&&Fa.course_id&&oi.current&&(oi.current=!1,Object.keys(ha).map(function(nn){ha[nn]=Fa[nn]}),(!ha.allow_late||!ha.unified_late)&&(ha.late_penalty=5),Ko=JSON.parse(JSON.stringify(Fa.group_settings.map(nn=>Mo(no({},nn),{group_name:[nn.group_name]})).filter(nn=>nn.publish_time!==null))),Pr=JSON.parse(JSON.stringify(Fa.allow_late_settings.map(nn=>Mo(no({},nn),{group_name:[nn.group_name]})).filter(nn=>nn.late_time!==null))),tr(),ca(no({},ha)),Sr([...Ko]),Qn([...Pr]))},[Fa]);const Ai=()=>{const nn=JSON.parse(JSON.stringify(ha));Tn(nn)},Tn=nn=>{if(console.log(nn.total_score,nn.eff_score),nn.total_score===null){Ie.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}const Wn=()=>ea(void 0,null,function*(){Io(!0),(yield(0,se.ZP)(`/api/homework_commons/${Va.categoryId}/hack_score_setting.json`,{method:"post",body:no({},nn)})).status===0&&(Ie.ZP.success("\u66F4\u65B0\u6210\u529F"),eo(),kt({type:"shixunHomeworks/getWorkList",payload:no({},Va)})),Io(!1)});(ha==null?void 0:ha.hack_score_settings)!==(Fa==null?void 0:Fa.hack_score_settings)&&ao?be.default.confirm({title:"\u66F4\u65B0\u6210\u7EE9",content:"\u60A8\u6539\u52A8\u4E86\u672C\u6B21\u4F5C\u4E1A\u7684\u5F97\u5206\u8BBE\u7F6E\uFF0C\u8FD9\u53EF\u80FD\u5BFC\u81F4\u5DF2\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\u7684\u6210\u7EE9\u4EA7\u751F\u9519\u8BEF\u3002\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u5C06\u4FDD\u5B58\u6700\u65B0\u8BBE\u7F6E\u5E76\u6309\u6700\u65B0\u8BBE\u7F6E\u66F4\u65B0\u5168\u73ED\u6210\u7EE9\u3002",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:Wn}):Wn()},tr=()=>{var nn;const{total_score:Wn}=ha,Cn=(nn=ha.hack_settings)==null?void 0:nn.length;if(!Cn)return;let $r=0,mr;switch(ha.hack_score_settings){case 0:const Tr=(Wn/Cn).toFixed(2);ha.hack_settings.map((vn,na)=>{$r=na,vn.hack_score=Tr>0?Tr:0}),mr=(Wn-Tr*(Cn-1)).toFixed(2),ha.hack_settings[$r].hack_score=mr>0?mr:0;break;case 1:const Jo=[0,1,3,6];let fr=0;const So=ha.hack_settings.filter(vn=>vn.difficult===1).length*Jo[1],Ha=ha.hack_settings.filter(vn=>vn.difficult===2).length*Jo[2],Yr=ha.hack_settings.filter(vn=>vn.difficult===3).length*Jo[3],mo=Wn/(So+Ha+Yr);console.log(mo,2222),ha.hack_settings.map((vn,na)=>{$r=na,vn.hack_score=(Jo[vn.difficult]*mo).toFixed(2),fr=fr+Number(vn.hack_score)});let Do=ha.hack_settings[$r].hack_score;mr=(Wn-fr+Number(Do)).toFixed(2),ha.hack_settings[$r].hack_score=mr>0?mr:0;break}},aa=(Fa==null?void 0:Fa.send_type)===0||(Fa==null?void 0:Fa.send_type)===1&&(ha==null?void 0:ha.hack_score_settings)===2;return gn.createElement("section",{className:un.form},gn.createElement("div",{className:un.title},"\u5206\u503C\u8BBE\u7F6E"),gn.createElement("div",{className:`${un.content} mb30`},gn.createElement(gt.Z,{align:"middle"},gn.createElement(gt.Z,{align:"middle"},gn.createElement("span",{className:"c-grey-333"},"\u603B\u5206\u503C"),gn.createElement(Dt.Z,{min:0,className:"ml20",style:{width:220},size:"large",value:ha.total_score,disabled:hn,onChange:nn=>{ha.total_score=nn,ca(Object.assign({},ha)),tr()},addonAfter:"\u5206"})),gn.createElement(gt.Z,{align:"middle",style:{marginLeft:60}},gn.createElement("span",{className:"c-grey-333"},"\u6D4B\u8BC4\u5355\u6B21\u62A5\u9519\u589E\u52A0\u65F6\u957F"),gn.createElement(Dt.Z,{className:"ml20",style:{width:220},size:"large",min:0,value:ha.punish_time,precision:0,disabled:hn,onChange:nn=>{ha.punish_time=nn,ca(Object.assign({},ha)),tr()},addonAfter:"\u5206\u949F"})))),gn.createElement("div",{className:un.title},"\u6392\u884C\u699C\u65F6\u95F4\u540D\u6B21\u89C4\u5219"),gn.createElement("div",{className:`${un.content} mb30`},gn.createElement(dt.ZP.Group,{disabled:hn,value:ha.hack_rank_rule,onChange:nn=>{ha.hack_rank_rule=nn.target.value,ca(Object.assign({},ha))}},gn.createElement(dt.ZP,{value:0},gn.createElement("span",{className:"c-black"},"\u8017\u65F6\u65F6\u957F\u4F18\u5148"),gn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u8017\u65F6\u8D8A\u77ED\u540D\u6B21\u8D8A\u524D\uFF09")),gn.createElement(dt.ZP,{style:{marginLeft:40},value:1},gn.createElement("span",{className:"c-black"},"\u5B8C\u6210\u65F6\u95F4\u70B9\u4F18\u5148"),gn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u5B8C\u6210\u65F6\u95F4\u8D8A\u65E9\u540D\u6B21\u8D8A\u524D\uFF09")))),gn.createElement("div",{className:un.title},"\u8BD5\u9898\u5206\u503C"),gn.createElement("div",{className:un.content},gn.createElement(dt.ZP.Group,{value:ha.hack_score_settings,onChange:nn=>{ha.hack_score_settings=nn.target.value,ca(Object.assign({},ha)),tr()}},gn.createElement(dt.ZP,{value:0},"\u5747\u5206\u6BD4\u4F8B"),gn.createElement(dt.ZP,{style:{margin:"0 40px"},value:1},"\u96BE\u6613\u5EA6"),gn.createElement(dt.ZP,{value:2},"\u81EA\u5B9A\u4E49\u5206\u503C"))),gn.createElement("div",{className:un.content,style:{borderTop:"1px solid #fff"}},gn.createElement("div",{style:{padding:"0px 20px 20px 20px"}},ha.hack_settings&&ha.hack_settings.map(function(nn,Wn){return gn.createElement(gt.Z,{key:Wn,align:"middle",style:{marginTop:20}},gn.createElement(Oe.Z,{flex:"1",className:"pr10"},gn.createElement("span",{style:{color:"#333333"}},nn.hack_name)),gn.createElement(Oe.Z,{flex:"150px"},gn.createElement(Dt.Z,{min:0,step:.1,style:{visibility:aa?"visible":"hidden"},value:nn.hack_score,disabled:ha.hack_score_settings!==2,onChange:Cn=>{ha.hack_settings[Wn].hack_score=Cn;const $r=ha.hack_settings.reduce((mr,Tr)=>mr+Number(Tr.hack_score),0);ha.total_score=$r.toFixed(2),ca(no({},ha))},size:"large",addonAfter:"\u5206"})),gn.createElement(Oe.Z,{className:"ml20",style:{lineHeight:"20px"}},nn.difficult===1&&gn.createElement("span",{className:"tag-style-border-small bg-green c-white mr10"},"\u7B80\u5355"),nn.difficult===2&&gn.createElement("span",{className:"tag-style-border-small bg-blue c-white mr10"},"\u9002\u4E2D"),nn.difficult===3&&gn.createElement("span",{className:"tag-style-border-small bg-orange c-white mr10"},"\u56F0\u96BE")))}))),!hn&&gn.createElement(Ne.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:Da,onClick:()=>Ai()},"\u4FDD\u5B58"))};var dr=(0,he.connect)(({shixunHomeworks:Vt,loading:_t})=>({shixunHomeworks:Vt,loading:_t.effects}))(Aa),pa=te(59301),jr=(Vt,_t,kt)=>new Promise((ba,Va)=>{var Fa=hn=>{try{Ua(kt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(kt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?ba(hn.value):Promise.resolve(hn.value).then(Fa,In);Ua((kt=kt.apply(Vt,_t)).next())});const Ir=({shixunHomeworks:Vt,loading:_t,dispatch:kt})=>{var ba,Va;const[Fa,In]=(0,z.useState)(!0),[Ua,hn]=(0,z.useState)(!1),[Za,Da]=(0,z.useState)([]),[Io,Ma]=(0,z.useState)([]),[$o,Si]=(0,z.useState)([]),[Ko,Sr]=(0,z.useState)([]),[Pr,Qn]=(0,z.useState)(!1),[ao,oi]=(0,z.useState)(""),ha=(0,he.useParams)();function ca(){return jr(this,null,function*(){let Tn=yield(0,se.ZP)(`/api/homework_commons/${ha.categoryId}/homework_common_collaborators.json`,{method:"get"});Ma(Tn)})}function eo(){return jr(this,null,function*(){var Tn;let tr=yield(0,se.ZP)(`/api/courses/${ha==null?void 0:ha.coursesId}/teachers`,{method:"get",params:{homework_id:ha.categoryId,limit:1e3}});(Tn=tr==null?void 0:tr.teacher_list)==null||Tn.map(aa=>{aa.key=aa.user_id}),Si(tr==null?void 0:tr.teacher_list),Sr(tr==null?void 0:tr.teacher_list)})}(0,z.useEffect)(()=>{ca(),eo()},[ha]);const Ai=()=>{};return pa.createElement("section",{className:un.form},pa.createElement(gt.Z,{className:un.content,style:{padding:"20px 30px",gap:20}},(ba=Io==null?void 0:Io.data)==null?void 0:ba.map(Tn=>pa.createElement(gt.Z,{align:"middle",className:`${un.borderSty} ${ao===(Tn==null?void 0:Tn.id)?un.delBorder:""}`,style:{height:"38px",borderRadius:"2px",padding:"0 12px",color:"#333333",background:"#fff"}},pa.createElement("span",{className:"c-grey-333"},Tn==null?void 0:Tn.real_name),(Io==null?void 0:Io.can_edit)&&pa.createElement("span",{style:{cursor:"pointer",marginLeft:"20px"},className:`iconfont icon-guanbi11 ${un.delSty}`,onMouseEnter:()=>{oi(Tn.id)},onMouseLeave:()=>{oi("")},onClick:()=>jr(void 0,null,function*(){(yield(0,se.ZP)(`/api/homework_commons/${ha.categoryId}/homework_common_collaborators/delete.json`,{method:"delete",body:{user_id:Tn.id}})).status===0&&(Ie.ZP.info("\u5220\u9664\u6210\u529F"),ca(),eo())})}))),!(Io!=null&&Io.can_edit)&&!((Va=Io==null?void 0:Io.data)!=null&&Va.length)&&pa.createElement("span",{className:"c-grey-666"},"\u6682\u672A\u6DFB\u52A0\u534F\u4F5C\u8005"),(Io==null?void 0:Io.can_edit)&&pa.createElement(Ne.ZP,{className:un.copHover,style:{height:38,padding:"6px 15px",backgroundColor:"#fff"},type:"primary",ghost:!0,onClick:()=>hn(!0)},"\u6DFB\u52A0\u534F\u4F5C\u8005")),pa.createElement(be.default,{title:"\u6DFB\u52A0\u534F\u4F5C\u8005",open:Ua,confirmLoading:Pr,onCancel:()=>hn(!1),onOk:()=>jr(void 0,null,function*(){if(Za.length===0){Ie.ZP.info("\u8BF7\u9009\u62E9\u534F\u4F5C\u8001\u5E08");return}Qn(!0),(yield(0,se.ZP)(`/api/homework_commons/${ha.categoryId}/homework_common_collaborators.json`,{method:"post",body:{user_ids:Za}})).status===0&&(Ie.ZP.info("\u6DFB\u52A0\u6210\u529F"),Da([]),ca(),eo(),hn(!1)),Qn(!1)})},pa.createElement("div",null,pa.createElement("div",{style:{display:"flex"}},pa.createElement("label",{style:{width:"50px"}},"\u59D3\u540D\uFF1A")," ",pa.createElement(ve.default.Search,{onChange:Tn=>{Si(Ko.filter(tr=>tr.name.indexOf(Tn.target.value)>-1))}})),pa.createElement(Ze.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},rowSelection:{type:"checkbox",onChange:(Tn,tr)=>{Da(Tn)},selectedRowKeys:Za,getCheckboxProps:Tn=>({disabled:Tn.is_collaborator})},pagination:!1,dataSource:$o,columns:[{title:"\u59D3\u540D",dataIndex:"name",key:"name"},{title:"\u89D2\u8272",dataIndex:"role",key:"role"}]}))))};var br=(0,he.connect)(({shixunHomeworks:Vt,loading:_t})=>({shixunHomeworks:Vt,loading:_t.effects}))(Ir),po=te(59301);const Lo=[{key:"1",label:"\u53D1\u5E03\u8BBE\u7F6E",element:po.createElement(kn,null)},{key:"2",label:"\u8BC4\u5206\u8BBE\u7F6E",element:po.createElement(dr,null)},{key:"3",label:"\u5C55\u793A\u8BBE\u7F6E",element:po.createElement(Rn,null)},{key:"4",label:"\u534F\u4F5C\u8BBE\u7F6E",element:po.createElement(br,null)}];var vi=()=>po.createElement(wt.Z,{dataSource:Lo,style:{marginBottom:52}}),Ei=te(26724),$i=te.n(Ei),zn=te(23827),Ia=te(59301),co=Object.defineProperty,xo=Object.defineProperties,wo=Object.getOwnPropertyDescriptors,ui=Object.getOwnPropertySymbols,Bi=Object.prototype.hasOwnProperty,Yi=Object.prototype.propertyIsEnumerable,Mi=(Vt,_t,kt)=>_t in Vt?co(Vt,_t,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Vt[_t]=kt,Ce=(Vt,_t)=>{for(var kt in _t||(_t={}))Bi.call(_t,kt)&&Mi(Vt,kt,_t[kt]);if(ui)for(var kt of ui(_t))Yi.call(_t,kt)&&Mi(Vt,kt,_t[kt]);return Vt},Te=(Vt,_t)=>xo(Vt,wo(_t)),Qe=(Vt,_t,kt)=>new Promise((ba,Va)=>{var Fa=hn=>{try{Ua(kt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(kt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?ba(hn.value):Promise.resolve(hn.value).then(Fa,In);Ua((kt=kt.apply(Vt,_t)).next())});const Et=({shixunHomeworks:Vt,loading:_t,dispatch:kt})=>{const ba=(0,he.useParams)(),Va=(0,he.useLocation)(),[Fa,In]=(0,z.useState)([]),[Ua,hn]=(0,z.useState)([]),[Za,Da]=(0,z.useState)(!0),[Io,Ma]=(0,z.useState)(!1),[$o,Si]=(0,z.useState)(1),[Ko,Sr]=(0,z.useState)([]),[Pr,Qn]=(0,z.useState)(!1),[ao,oi]=(0,z.useState)(!1),[ha,ca]=(0,z.useState)(!1);(0,z.useEffect)(()=>{Vt.actionTabs.key==="\u4EE3\u7801\u67E5\u91CD"?(eo.resetFields(),In([]),Qn(!0),Tn()):Qn(!1)},[Vt.actionTabs.key]);const[eo]=ft.default.useForm();let Ai=[];const Tn=()=>Qe(void 0,null,function*(){var nn;if(Za&&!Io){Ma(!0),Si($o+1);const Wn=yield(0,zn.JG)(Te(Ce({},ba),{page:$o})),Cn=[...Wn.group_list];Wn!=null&&Wn.ungroup_list&&Cn.push({id:Wn==null?void 0:Wn.ungroup_list.id,name:Wn==null?void 0:Wn.ungroup_list.name,works_count:Wn==null?void 0:Wn.ungroup_list.work_count,last_review_time:Wn==null?void 0:Wn.ungroup_list.last_review_time}),In([...Fa,...Cn]),Ma(!1),((nn=Wn.group_list)==null?void 0:nn.length)<10&&Da(!1)}}),tr=()=>{kt({type:"shixunHomeworks/setActionTabs",payload:{}}),oi(!1),Da(!0),Ma(!1),Si(1),In([]),eo.resetFields()},aa=[{title:"",dataIndex:"id",width:280,render:(nn,Wn)=>Ia.createElement(Ge.default,{disabled:!(Wn.works_count>1),value:String(Wn.id)},Wn.name)},{title:"\u6709\u6548\u4F5C\u54C1\u6570",dataIndex:"works_count"},{title:"\u4E0A\u6B21\u67E5\u91CD\u65F6\u95F4",dataIndex:"last_review_time",width:130}];return Ia.createElement(be.default,{centered:!0,title:"\u4EE3\u7801\u67E5\u91CD",keyboard:!1,maskClosable:!1,open:Pr,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:820,bodyStyle:{minHeight:200},onOk:()=>Qe(void 0,null,function*(){const nn=eo.getFieldValue();ca(!0);const Wn=yield(0,se.ZP)(`/api/homework_commons/${ba.categoryId}/hack_homework_code_repeat.json`,{method:"post",body:{group_ids:[...nn.group_ids]}});ca(!1),Wn.status===0&&(tr(),yield kt({type:"shixunHomeworks/getWorkList",payload:Vt.actionTabs.params}),he.history.push(`/classrooms/${ba.coursesId}/program_homework/${ba.categoryId}/detail?tabs=2`),kt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6267\u884C\u4EE3\u7801\u67E5\u91CD"}}))}),okButtonProps:{loading:ha},onCancel:tr},Ia.createElement("div",null,"\u8BF7\u6CE8\u610F\uFF1A\u5728\u6267\u884C\u4EE3\u7801\u67E5\u91CD\u64CD\u4F5C\u540E\uFF0C\u82E5\u5B66\u751F\u63D0\u4EA4\u65B0\u7684\u4F5C\u54C1\u4EE3\u7801\uFF0C\u65B0\u4F5C\u54C1\u4EE3\u7801\u4E0D\u8BA1\u5165\u672C\u6B21\u67E5\u91CD\u7ED3\u679C\u3002"),Vt.codeReviewCourse&&Ia.createElement(ft.default,{form:eo,onChange:nn=>{Sr(Ce({},eo.getFieldValue()))},initialValues:{group_ids:Ai,end_time:ue()(ue()().add(7,"days").format("YYYY-MM-DD HH:mm"))}},Ia.createElement("div",{className:"flexd-table-header mt20"},Ia.createElement(Ze.default,{pagination:!1,dataSource:[],columns:aa})),Ia.createElement(ft.default.Item,{name:"group_ids"},Ia.createElement(Ge.default.Group,{className:"w100"},Ia.createElement("div",{style:{width:"100%",maxHeight:260,overflow:"auto"}},Ia.createElement($i(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:nn=>{Tn()},hasMore:Za,useWindow:!1},Ia.createElement(Ze.default,{loading:_t.effects["shixunHomeworks/getCodeReviewCourse"],showHeader:!1,columns:aa,dataSource:Fa,pagination:!1})))))),Ia.createElement(gt.Z,null,Ia.createElement(Oe.Z,{className:"ml10"},Ia.createElement(Ge.default,{checked:ao,onChange:nn=>{oi(nn.target.checked);let Wn=[];nn.target.checked&&(Wn=Fa.filter(Cn=>Cn.works_count>1).map(Cn=>Cn.id+"")),eo.setFieldsValue({group_ids:Wn})}},"\u5168\u9009"))))};var Yt=(0,he.connect)(({shixunHomeworks:Vt,loading:_t})=>({shixunHomeworks:Vt,loading:_t}))(Et),Jt=te(7080),bn=te(67520),Fn=te(4237),Yn=te(95382),Pa=te(40253),Ca=te(11801),ga=te(55162),Or=te(83322),Mr=te(14255),Ro=te(36973),Ur=Object.defineProperty,la=Object.defineProperties,$n=Object.getOwnPropertyDescriptors,oa=Object.getOwnPropertySymbols,ra=Object.prototype.hasOwnProperty,Nr=Object.prototype.propertyIsEnumerable,Zr=(Vt,_t,kt)=>_t in Vt?Ur(Vt,_t,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Vt[_t]=kt,hr=(Vt,_t)=>{for(var kt in _t||(_t={}))ra.call(_t,kt)&&Zr(Vt,kt,_t[kt]);if(oa)for(var kt of oa(_t))Nr.call(_t,kt)&&Zr(Vt,kt,_t[kt]);return Vt},xr=(Vt,_t)=>la(Vt,$n(_t)),kr=(Vt,_t,kt)=>new Promise((ba,Va)=>{var Fa=hn=>{try{Ua(kt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(kt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?ba(hn.value):Promise.resolve(hn.value).then(Fa,In);Ua((kt=kt.apply(Vt,_t)).next())});let ho=[Ca.Z,ga.Z,Or.Z];const ti=({user:Vt,classroomList:_t,shixunHomeworks:kt})=>{var ba,Va,Fa;let[In,Ua]=(0,z.useState)(hr(xr(hr({},(0,he.useParams)()),{page:1,per_page:20,rank_type:2,search:"",course_group:(0,De.dE)()?[Vt.userInfo.course.course_group_id]:[]}),(0,he.useParams)()));const[hn,Za]=(0,z.useState)([]),[Da,Io]=(0,z.useState)([]),[Ma,$o]=(0,z.useState)([]),[Si,Ko]=(0,z.useState)(!1),[Sr,Pr]=(0,z.useState)(!1);let[Qn,ao]=(0,z.useState)([{title:"\u6392\u884C",dataIndex:"rank",width:70,fixed:"left",ellipsis:!0,sorter:(Tn,tr)=>Tn.rank-tr.rank,render:(Tn,tr,aa)=>Tn<4?z.createElement("img",{src:ho[Tn-1]}):Tn},{title:"\u59D3\u540D",dataIndex:"user_name",width:80,fixed:"left",ellipsis:!0,key:"user_name",render:(Tn,tr,aa)=>z.createElement("span",null,tr.is_me&&z.createElement("span",{style:{display:"inline-block",fontSize:12,color:"#CA7720",background:"rgba(255, 181, 56, 0.36)",borderRadius:2,width:16,height:16,textAlign:"center",lineHeight:"16px",transform:"translateY(-1px)"}},"\u6211"),Tn)},{title:"\u5B66\u53F7",dataIndex:"student_id",key:"student_id",width:80,ellipsis:!0,fixed:"left",render:Tn=>Tn||"- -"},{title:"\u73ED\u7EA7",dataIndex:"course_group",key:"course_group",ellipsis:!0,width:70,fixed:"left"},{title:"\u901A\u8FC7",dataIndex:"passed_count",width:60,fixed:"left",ellipsis:!0,key:"passed_count",render:Tn=>z.createElement("span",null,Tn," ",Tn!="-"&&"\u9898")},{title:"\u5F97\u5206",dataIndex:"score",width:50,ellipsis:!0,fixed:"left",key:"score"}]);const[oi,ha]=(0,z.useState)(null),ca=()=>{var Tn,tr;const aa=((Tn=document.getElementById("filterWarp"))==null?void 0:Tn.clientHeight)||0,nn=((tr=document.getElementById("pagination"))==null?void 0:tr.clientHeight)||0;return window.innerHeight-aa-nn-110};(0,z.useEffect)(()=>{const Tn=()=>{ha(ca())};return window.addEventListener("resize",Tn),()=>{window.removeEventListener("resize",Tn)}},[]),(0,z.useEffect)(()=>{var Tn,tr,aa,nn,Wn;Qn.splice(7);for(let Cn=0;Cn<((Tn=hn==null?void 0:hn.question_data)==null?void 0:Tn.length);Cn++){let $r={};$r.title=hn!=null&&hn.sent_type?z.createElement("span",null,"\u9898\u76EE"+(Cn+1)+`\uFF08${(aa=(tr=hn==null?void 0:hn.question_data)==null?void 0:tr[Cn])==null?void 0:aa.question_score}\uFF09`):z.createElement("a",{onClick:()=>kr(void 0,null,function*(){var mr,Tr;let Jo=yield(0,se.ZP)(`/api/problems/${(Tr=(mr=hn==null?void 0:hn.question_data)==null?void 0:mr[Cn])==null?void 0:Tr.identifier}/start.json`,{method:"get"});Jo&&(window.open(`/myproblems/${Jo==null?void 0:Jo.identifier}?type=1`),localStorage.setItem("program_homework",[In.coursesId,In.categoryId]))})},"\u9898\u76EE"+(Cn+1)+`\uFF08${(Wn=(nn=hn==null?void 0:hn.question_data)==null?void 0:nn[Cn])==null?void 0:Wn.question_score}\uFF09`),$r.dataIndex="question_data",$r.width=140,$r.render=(mr,Tr)=>{var Jo,fr,So,Ha,Yr;return z.createElement("div",null,((Jo=mr==null?void 0:mr[Cn])==null?void 0:Jo.answer_question_time)&&z.createElement("div",null,z.createElement("span",{style:{cursor:"pointer"},className:"iconfont icon-shixun4 c-blue",onClick:()=>kr(void 0,null,function*(){var mo,Do,vn,na,Oa,_n,ya,wr;if((0,De.Rm)()&&!((mo=_t.AssistantObject.hack)!=null&&mo.can_appraise)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if(!((Do=mr==null?void 0:mr[Cn])!=null&&Do.open_code)){Ie.ZP.info("\u6682\u4E0D\u5141\u8BB8\u67E5\u770B\u4EE3\u7801");return}let Fr=yield(0,se.ZP)("/api/courses/view_code.json",{method:"get",params:xr(hr({},In),{id:In.coursesId,homework_common_id:In.categoryId,hack_user_code_id:(vn=mr==null?void 0:mr[Cn])==null?void 0:vn.hack_user_code_id})});be.default.warning({icon:null,width:800,title:z.createElement("div",null,z.createElement("span",null,"\u4EE3\u7801"),z.createElement("span",null,"\u4F7F\u7528\u8BED\u8A00\uFF1A",(na=mr==null?void 0:mr[Cn])==null?void 0:na.current_language),z.createElement("span",null,"\u8FD0\u884C\u5185\u5B58\uFF1A",(Oa=mr==null?void 0:mr[Cn])==null?void 0:Oa.memory,"\uFF08KB\uFF09"),z.createElement("span",null,"\u8FD0\u884C\u65F6\u957F\uFF1A",(_n=mr==null?void 0:mr[Cn])==null?void 0:_n.run_time,"\uFF08ms\uFF09"),z.createElement("span",null,"\u5F97\u5206\uFF1A",(ya=mr==null?void 0:mr[Cn])==null?void 0:ya.score)),content:z.createElement(Mr.Z,{classroomList:_t,user:Vt,languages:[{language:(wr=mr==null?void 0:mr[Cn])==null?void 0:wr.language,code:Fr==null?void 0:Fr.code}],v:mr,shixunWorkReport:"shixunWorkReport",dispatch:"dispatch",autoHeight:!1,language:mr.language,game_id:mr.id,diff_code_count:mr.diff_code_count})})})}),z.createElement("span",{style:{margin:"0px 10px"}},((fr=mr==null?void 0:mr[Cn])==null?void 0:fr.answer_question_time)||"- -"),(So=mr==null?void 0:mr[Cn])!=null&&So.submit_count?z.createElement(nt.Z,{title:`${((Ha=mr==null?void 0:mr[Cn])==null?void 0:Ha.submit_count)||0}\u6B21\u5C1D\u8BD5\u51FA\u9519`},z.createElement("span",{style:{color:"red",marginRight:5},className:"iconfont icon-Bug"}),((Yr=mr==null?void 0:mr[Cn])==null?void 0:Yr.submit_count)||0):null))},Qn.push($r)}ao([...Qn])},[hn==null?void 0:hn.question_data]),(0,z.useEffect)(()=>{var Tn;(Tn=Vt==null?void 0:Vt.userInfo)!=null&&Tn.course&&((0,De.dE)()&&(In.course_group=(0,De.dE)()?[Vt.userInfo.course.course_group_id]:[],Ua(hr({},In))),eo(1))},[Vt==null?void 0:Vt.userInfo]);function eo(Tn){return kr(this,null,function*(){var tr,aa,nn,Wn,Cn,$r,mr;Ko(!0);let Tr=yield(0,se.ZP)("/api/courses/rank_list.json",{method:"get",params:xr(hr({},In),{id:In.coursesId,rank_type:2,homework_common_id:In.categoryId})});if(Za(Tr),Ko(!1),Tr.status!=-1&&((0,De.dE)()?(Tn===1&&Io([(aa=(tr=Tr==null?void 0:Tr.course_group)==null?void 0:tr[0])==null?void 0:aa.id]),Tr!=null&&Tr.my_rank?$o([hr({is_me:!0},Tr==null?void 0:Tr.my_rank),...Tr==null?void 0:Tr.rank_list]):$o([...Tr==null?void 0:Tr.rank_list])):$o([...Tr==null?void 0:Tr.rank_list]),Tn===1)){let Jo={title:(Tr==null?void 0:Tr.hack_rank_rule)===0?z.createElement(nt.Z,{title:`\u603B\u8017\u65F6\u65F6\u4E3A\u505A\u9898\u901A\u8FC7\u65F6\u957F\u548C\u7F5A\u65F6\u65F6\u957F\u7684\u603B\u548C\uFF0C
\u7F5A\u65F6\u65F6\u957F=\u8BC4\u6D4B\u51FA\u9519\u6B21\u6570X\u8BBE\u7F6E\u7684\u7F5A\u65F6\uFF08\u5F53\u524D\u4E3A${Tr==null?void 0:Tr.punish_time}\u5206\uFF09`},z.createElement("span",{style:{marginRight:3}},"\u603B\u8017\u65F6")," ",z.createElement("span",{style:{fontSize:"14px"},className:"iconfont icon-tishixiaowenhao c-blue"})):"\u5B8C\u6210\u65F6\u95F4",dataIndex:(Tr==null?void 0:Tr.hack_rank_rule)===0?"finish_time":"finish_at",width:(Tr==null?void 0:Tr.hack_rank_rule)===0?80:150,ellipsis:!0,fixed:"left",key:"finish_time"};Qn.push(Jo);for(let fr=0;fr<((nn=Tr==null?void 0:Tr.question_data)==null?void 0:nn.length);fr++){let So={};So.title=Tr!=null&&Tr.sent_type?z.createElement("span",null,"\u9898\u76EE"+(fr+1)+`\uFF08${(Cn=(Wn=Tr==null?void 0:Tr.question_data)==null?void 0:Wn[fr])==null?void 0:Cn.question_score}\uFF09`):z.createElement("a",{onClick:()=>kr(this,null,function*(){var Ha,Yr;let mo=yield(0,se.ZP)(`/api/problems/${(Yr=(Ha=Tr==null?void 0:Tr.question_data)==null?void 0:Ha[fr])==null?void 0:Yr.identifier}/start.json`,{method:"get"});mo&&(window.open(`/myproblems/${mo==null?void 0:mo.identifier}?type=1`),localStorage.setItem("program_homework",[In.coursesId,In.categoryId]))})},"\u9898\u76EE"+(fr+1)+`\uFF08${(mr=($r=Tr==null?void 0:Tr.question_data)==null?void 0:$r[fr])==null?void 0:mr.question_score}\uFF09`),So.dataIndex="question_data",So.width=140,So.render=(Ha,Yr)=>{var mo,Do,vn,na,Oa;return z.createElement("div",null,((mo=Ha==null?void 0:Ha[fr])==null?void 0:mo.answer_question_time)&&z.createElement("div",null,z.createElement("span",{style:{cursor:"pointer"},className:"iconfont icon-shixun4 c-blue",onClick:()=>kr(this,null,function*(){var _n,ya,wr,Fr,Co,qo,Di,Hi;if((0,De.Rm)()&&!((_n=_t.AssistantObject.hack)!=null&&_n.can_view)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if(!((ya=Ha==null?void 0:Ha[fr])!=null&&ya.open_code)){Ie.ZP.info("\u6682\u4E0D\u5141\u8BB8\u67E5\u770B\u4EE3\u7801");return}let qi=yield(0,se.ZP)("/api/courses/view_code.json",{method:"get",params:xr(hr({},In),{id:In.coursesId,homework_common_id:In.categoryId,hack_user_code_id:(wr=Ha==null?void 0:Ha[fr])==null?void 0:wr.hack_user_code_id})});be.default.warning({icon:null,width:800,title:z.createElement("div",null,z.createElement("span",null,"\u4EE3\u7801"),z.createElement("span",null,"\u4F7F\u7528\u8BED\u8A00\uFF1A",(Fr=Ha==null?void 0:Ha[fr])==null?void 0:Fr.current_language),z.createElement("span",null,"\u8FD0\u884C\u5185\u5B58\uFF1A",(Co=Ha==null?void 0:Ha[fr])==null?void 0:Co.memory,"\uFF08KB\uFF09"),z.createElement("span",null,"\u8FD0\u884C\u65F6\u957F\uFF1A",(qo=Ha==null?void 0:Ha[fr])==null?void 0:qo.run_time,"\uFF08ms\uFF09"),z.createElement("span",null,"\u5F97\u5206\uFF1A",(Di=Ha==null?void 0:Ha[fr])==null?void 0:Di.score)),content:z.createElement(Mr.Z,{classroomList:_t,user:Vt,languages:[{language:(Hi=Ha==null?void 0:Ha[fr])==null?void 0:Hi.language,code:qi==null?void 0:qi.code}],v:Ha,shixunWorkReport:"shixunWorkReport",dispatch:"dispatch",autoHeight:!1,language:Ha.language,game_id:Ha.id,diff_code_count:Ha.diff_code_count})})})}),z.createElement("span",{style:{margin:"0px 10px"}},((Do=Ha==null?void 0:Ha[fr])==null?void 0:Do.answer_question_time)||"- -"),(vn=Ha==null?void 0:Ha[fr])!=null&&vn.submit_count?z.createElement(nt.Z,{title:`${((na=Ha==null?void 0:Ha[fr])==null?void 0:na.submit_count)||0}\u6B21\u5C1D\u8BD5\u51FA\u9519`},z.createElement("span",{style:{color:"red",marginRight:5},className:"iconfont icon-Bug"}),((Oa=Ha==null?void 0:Ha[fr])==null?void 0:Oa.submit_count)||0):null))},Qn.push(So)}ao([...Qn])}})}console.log("----",kt,Qn);const Ai=(ba=kt==null?void 0:kt.workSetting)==null?void 0:ba.hack_rank_rule;return z.createElement("div",{style:{width:1200,margin:"0px auto",minHeight:Sr?"100vh":""},id:"rankingInfo"},(hn==null?void 0:hn.message)==="\u5C01\u699C\u4E2D"?z.createElement(We.Z,{customText:"\u7B54\u9898\u65F6\u95F4\u8FDB\u5165\u5012\u8BA1\u65F6\uFF0C\u6682\u65F6\u5C01\u699C\uFF0C\u8BF7\u52A0\u901F\u7ADE\u6280\u901A\u5173\u7B54\u9898"}):z.createElement("div",{style:{background:"#fff",padding:20,height:"100%",overflow:"auto"}},z.createElement("div",{id:"filterWarp"},z.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},z.createElement("div",{style:{display:"flex",width:"90%"}},z.createElement("label",null,"\u5206\u73ED\u60C5\u51B5\uFF1A"),(0,De.GJ)()&&z.createElement("div",{style:{flex:1}},z.createElement(Ge.default.Group,{className:Fn.Z.checkboxgroup,value:Da,onChange:Tn=>{var tr;In.type===1?(Io([]),In.course_group=[],In.page=1,Ua(hr({},In)),eo()):In.type===2?(Io(["\u5168\u90E8"]),In.course_group=(tr=hn==null?void 0:hn.course_group)==null?void 0:tr.map(aa=>aa.id),In.page=1,Ua(hr({},In)),eo()):(Io([...Tn.filter(aa=>aa!="\u5168\u90E8")]),In.course_group=Tn.filter(aa=>aa!="\u5168\u90E8"),In.page=1,Ua(hr({},In)),eo())}},z.createElement(Ge.default,{value:"\u5168\u90E8",style:{marginBottom:10},onChange:Tn=>{Tn.target.checked?In.type=2:In.type=1}},"\u5168\u90E8\u5206\u73ED"),(Va=hn==null?void 0:hn.course_group)==null?void 0:Va.map((Tn,tr)=>z.createElement(Ge.default,{style:{marginBottom:10},onChange:aa=>{In.type=3},value:Tn.id},Tn==null?void 0:Tn.name)))),(0,De.dE)()&&z.createElement(dt.ZP.Group,{style:{marginBottom:10},onChange:Tn=>{Tn.target.value==="\u5168\u90E8"?(In.course_group=[],In.page=1,Ua(hr({},In)),eo()):(In.course_group=[Tn.target.value],In.page=1,Ua(hr({},In)),eo())},defaultValue:Vt.userInfo.course.course_group_id},z.createElement(dt.ZP,{value:"\u5168\u90E8",style:{marginBottom:10}},"\u5168\u90E8\u5206\u73ED"),(Fa=hn==null?void 0:hn.course_group)==null?void 0:Fa.map((Tn,tr)=>z.createElement(dt.ZP,{style:{marginBottom:10},value:Tn.id},Tn.name)))),z.createElement("div",{style:{color:"#3061D0",cursor:"pointer"},onClick:()=>{Sr?(0,Ro.BU)():(0,Ro.Dj)(document.getElementById("rankingInfo")),Pr(!Sr)}},z.createElement("i",{style:{fontSize:12},className:`mr10 iconfont ${Sr?"icon-tuichuquanping2":"icon-quanping2"}`}),z.createElement("span",null,Sr?"\u9000\u51FA\u5168\u5C4F":"\u5168\u5C4F\u5C55\u793A"))),z.createElement("div",{style:{width:"100%",display:"flex",justifyContent:"space-between",marginTop:10}},z.createElement("span",{style:{fontSize:14,color:"#B1BACD"}},"\u6392\u884C\u89C4\u5219\uFF1A",Ai===0?"\u4F5C\u4E1A\u65F6\u95F4\u6BB5\u4E4B\u5916\u7684\u63D0\u4EA4\u4E0D\u8BA1\u5165\u6392\u884C\u3002\u5F53\u524D\u6309\u5B9E\u9645\u5B9E\u9A8C\u65F6\u957F\u4F18\u5148\uFF0C\u540C\u901A\u8FC7\u9898\u6570\u4E0B\u65F6\u957F\u77ED\u540D\u6B21\u9760\u524D\u3002":"\u4F5C\u4E1A\u65F6\u95F4\u6BB5\u4E4B\u5916\u7684\u63D0\u4EA4\u4E0D\u8BA1\u5165\u6392\u884C\u3002\u5F53\u524D\u6309\u5B8C\u6210\u65F6\u95F4\u5148\u540E\u4F18\u5148\uFF0C\u540C\u901A\u8FC7\u9898\u6570\u4E0B\u5B8C\u6210\u65F6\u95F4\u8D8A\u65E9\u540D\u6B21\u9760\u524D\u3002"," ",z.createElement("a",{onClick:()=>{be.default.warning({title:"\u8BA1\u5206\u89C4\u5219",width:500,content:z.createElement("div",null,Ai===0&&z.createElement("p",null,"\u6392\u540D\u89C4\u5219\uFF1A\u7ECF\u5178ACM\u89C4\u5219"),z.createElement("p",null,"AC\uFF08\u901A\u8FC7\u9898\u76EE\uFF09\u8D8A\u591A\uFF0C\u6392\u540D\u8D8A\u9760\u524D\u3002"),z.createElement("p",null,"AC\u76F8\u540C\uFF0C\u603B\u7528\u65F6\u8D8A\u5C11\uFF0C\u6392\u540D\u8D8A\u9760\u524D\u3002"),Ai==0&&z.createElement(z.Fragment,null,z.createElement("p",null,"\u603B\u7528\u65F6=\u2211\uFF08\u6BCF\u4E00\u4E2A\u9898\u76EE\u7684\u7528\u65F6\uFF09"),z.createElement("p",null,"\u6BCF\u4E00\u4E2A\u9898\u76EE\u7684\u7528\u65F6=\u6BD4\u8D5B\u5F00\u59CB\u5230\u63D0\u4EA4\u88AB\u901A\u8FC7\u7684\u65F6\u95F4+\u7F5A\u65F6"),z.createElement("p",null,"\u7F5A\u65F6=\uFF08\u901A\u8FC7\u524D\uFF09\u9519\u8BEF\u4EE3\u7801\u63D0\u4EA4\u6B21\u6570*\u6BCF\u6B21\u7F5A\u65F6"),z.createElement("p",null,"\u4E0D\u7B97\u7F5A\u65F6\u7684\u60C5\u51B5\uFF1A\u6CA1\u6709\u901A\u8FC7\u7684\u9898\u76EE\u3001\uFF08\u7CFB\u7EDF\uFF09\u5185\u90E8\u9519\u8BEF\u3001\u7F16\u8BD1\u9519\u8BEF")))})}},"\u70B9\u51FB\u67E5\u770B\u8BA1\u5206\u89C4\u5219")),(0,De.GJ)()&&z.createElement(z.Fragment,null,z.createElement(ve.default.Search,{className:"mr20",onSearch:Tn=>{In.page=1,In.search=Tn,Ua(hr({},In)),eo()},placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D/\u5B66\u53F7\u8FDB\u884C\u641C\u7D22",style:{width:250,marginLeft:"auto"}}),z.createElement(Ne.ZP,{onClick:()=>{(0,Pa.VY)(xr(hr({},In),{id:In.coursesId,rank_type:2,homework_common_id:In.categoryId}))}},"\u5BFC\u51FA")))),z.createElement(fe.Z,{spinning:Si},z.createElement(Ze.default,{style:{marginTop:10},pagination:!1,scroll:{x:1200,y:Sr?oi:null},rowClassName:(Tn,tr)=>tr===0&&(0,De.dE)()&&Fn.Z.tables,dataSource:Ma,columns:Qn})),z.createElement("div",{id:"pagination",style:{width:"100%",textAlign:"center",marginTop:10}},z.createElement(Pe.Z,{current:In.page,pageSize:In.per_page,total:hn==null?void 0:hn.count,showSizeChanger:!0,onChange:(Tn,tr)=>{In.page=Tn,In.per_page=tr,Ua(hr({},In)),eo()}}))))};var yo=(0,he.connect)(({shixunHomeworks:Vt,user:_t,classroomList:kt})=>({user:_t,shixunHomeworks:Vt,classroomList:kt}))(ti),Rr=te(27523),ro=te(68001),Fo=te(76435),vo=te(20809),Eo=te(65168),sa=te(59301),jo=Object.defineProperty,wi=Object.getOwnPropertySymbols,Zi=Object.prototype.hasOwnProperty,nl=Object.prototype.propertyIsEnumerable,Xi=(Vt,_t,kt)=>_t in Vt?jo(Vt,_t,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Vt[_t]=kt,zi=(Vt,_t)=>{for(var kt in _t||(_t={}))Zi.call(_t,kt)&&Xi(Vt,kt,_t[kt]);if(wi)for(var kt of wi(_t))nl.call(_t,kt)&&Xi(Vt,kt,_t[kt]);return Vt},Fi=(Vt,_t,kt)=>new Promise((ba,Va)=>{var Fa=hn=>{try{Ua(kt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(kt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?ba(hn.value):Promise.resolve(hn.value).then(Fa,In);Ua((kt=kt.apply(Vt,_t)).next())});let ul=[{live:"A",gz:"0\u4E2A\u9519\u8BEF",ld:"0\u4E2A\u6F0F\u6D1E",gf:"0 - 5%"},{live:"B",gz:"\u81F3\u5C111\u4E2A\u6B21\u8981\u9519\u8BEF",ld:"\u81F3\u5C111\u4E2A\u6B21\u8981\u6F0F\u6D1E",gf:"6% - 10%"},{live:"C",gz:"\u81F3\u5C111\u4E2A\u4E3B\u8981\u9519\u8BEF",ld:"\u81F3\u5C111\u4E2A\u4E3B\u8981\u6F0F\u6D1E",gf:"11% - 20%"},{live:"D",gz:"\u81F3\u5C111\u4E2A\u4E25\u91CD\u9519\u8BEF",ld:"\u81F3\u5C111\u4E2A\u4E25\u91CD\u6F0F\u6D1E",gf:"21% - 50%"},{live:"E",gz:"\u81F3\u5C111\u4E2A\u5D29\u6E83\u9519\u8BEF",ld:"\u81F3\u5C111\u4E2A\u5D29\u6E83\u6F0F\u6D1E",gf:"\u8D85\u8FC750%"}];const _i=({shixunHomeworks:Vt,classroomList:_t,globalSetting:kt,user:ba,loading:Va,dispatch:Fa})=>{var In,Ua,hn,Za;const Da=(0,he.useParams)(),[Io]=(0,he.useSearchParams)(),[Ma,$o]=(0,z.useState)(Io.get("tabs")||"0"),[Si,Ko]=(0,z.useState)({}),{workList:Sr,workSetting:Pr}=Vt,[Qn,ao]=(0,z.useState)(!1);Da.category=Io.get("category_id"),Da.order="work_score",Da.b_order="desc",(0,z.useEffect)(()=>{(0,De.Rm)()&&Fa({type:"classroomList/getAssistantPermissions",payload:{course_id:Da.coursesId}})},[(In=ba==null?void 0:ba.userInfo)==null?void 0:In.login]);const oi=aa=>{var nn;if(aa==="3"&&Fa({type:"shixunHomeworks/getWorkSetting",payload:zi({},Da)}),aa==="5"&&!((nn=_t.AssistantObject.hack)!=null&&nn.can_exam_leaderboard)&&(0,De.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}$o(aa),aa==="0"&&Fa({type:"shixunHomeworks/getWorkList",payload:Da})},ha=()=>{be.default.confirm({centered:!0,width:530,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:sa.createElement("div",{className:"tc font16"},"\u4F60\u5728\u8BE5\u5B9E\u8BAD\u7684\u5B66\u4E60\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A\uFF0C\u65E0\u6CD5\u6062\u590D",sa.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u91CD\u505A\uFF1F"),onOk:()=>Fi(void 0,null,function*(){var aa;const nn=(aa=Vt.workList)==null?void 0:aa.myshixun_identifier;(yield(0,zn.Fr)({id:nn}))&&(Ie.ZP.info(`\u5DF2\u6E05\u7A7A\u672C\u5B9E\u8BAD\u7684\u5B66\u4E60\u8BB0\u5F55
\u8BF7\u70B9\u51FB\u201C\u5F00\u542F\u6311\u6218\u201D\u91CD\u505A\u8BFE\u7A0B\u5B9E\u9A8C`),Fa({type:"shixunHomeworks/getWorkList",payload:Si}))})})},ca=aa=>{aa=aa!=null&&aa.includes(".json")?aa:`${aa}.json`,be.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:sa.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>Fi(void 0,null,function*(){const nn=yield(0,Yn.$Q)({url:aa});if(!nn)return;Ie.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Wn=yield(0,Yn.Ir)({id:nn.shixun_identifier});if(Wn!=null&&Wn.game_identifier){(0,Me.xg)(`/tasks/${Wn.game_identifier}?coursesId=${Da.coursesId}`);return}(Wn==null?void 0:Wn.status)===2?ca(Wn==null?void 0:Wn.message):(Wn==null?void 0:Wn.status)===3&&eo(Wn==null?void 0:Wn.message)})})},eo=aa=>{be.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:sa.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",aa,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},Ai=aa=>Fi(void 0,null,function*(){aa=aa!=null&&aa.includes(".json")?aa:`${aa}.json`;const nn=yield(0,Yn.$Q)({url:aa});if(console.log(nn,"execRes"),nn!=null&&nn.game_identifier){(0,Me.xg)(`/tasks/${nn.game_identifier}?coursesId=${Da.coursesId}`);return}(nn==null?void 0:nn.status)===-3?(0,Me.eF)():(nn==null?void 0:nn.status)===2?ca(nn==null?void 0:nn.message):(nn==null?void 0:nn.status)===3&&eo(nn==null?void 0:nn.message)}),Tn=[(0,De.dE)()&&{name:"\u9898\u76EE",id:"1",compontent:sa.createElement(Le,null)},{name:(0,De.GJ)()?"\u5B66\u751F\u5217\u8868":"\u4F5C\u4E1A\u60C5\u51B5",id:"0",compontent:sa.createElement(Ke.Z,{setExportParams:Ko}),forceRender:!0},!(0,De.dE)()&&{name:"\u9898\u76EE",id:"1",compontent:sa.createElement(Le,null),hidden:!1},{name:"\u6392\u540D",id:"5",compontent:sa.createElement(yo,null),hidden:!1},{name:"\u4EE3\u7801\u67E5\u91CD",id:"2",compontent:sa.createElement(ct,null),hidden:(Ua=kt==null?void 0:kt.setting)==null?void 0:Ua.hide_code_repeat},{name:"\u91CD\u505A\u8BB0\u5F55",id:"9",compontent:sa.createElement(vo.Z,null)},{name:"\u8BBE\u7F6E",id:"3",compontent:(hn=Sr.homework_status)!=null&&hn.includes("\u5BFC\u5165")?sa.createElement(Fo.Z,null):sa.createElement(vi,null),forceRender:!0},{name:"\u89E3\u7B54&\u8BA8\u8BBA",id:"6",compontent:sa.createElement(Eo.default,null)}].filter(aa=>!!aa).filter(aa=>{var nn,Wn;return(0,De.dE)()?aa.name!=="\u4EE3\u7801\u67E5\u91CD"&&aa.name!=="\u8BBE\u7F6E":(0,De.dE)()||((nn=Sr==null?void 0:Sr.homework_status)==null?void 0:nn[0])!=="\u5DF2\u622A\u6B62"?aa.name!=="\u8D28\u91CF\u68C0\u6D4B":!Sr.code_review&&((Wn=Sr==null?void 0:Sr.homework_status)==null?void 0:Wn[0])!=="\u672A\u53D1\u5E03"?!0:aa.name!=="\u4EE3\u7801\u67E5\u91CD"}).filter(aa=>Sr.open_code_quality_analysis?!0:aa.name!=="\u8D28\u91CF\u68C0\u6D4B").filter(aa=>{var nn;return(nn=Sr.homework_status)!=null&&nn.includes("\u5BFC\u5165")?(0,De.dE)()?["0","1"].includes(aa.id):["0","1","3"].includes(aa.id):!0}).filter(aa=>!(aa!=null&&aa.hidden)),tr=()=>{var aa,nn,Wn,Cn,$r,mr,Tr,Jo,fr,So,Ha;return sa.createElement("aside",{className:Fn.Z.workListTabButton},(0,De.dE)()&&!((aa=Sr.homework_status)!=null&&aa.includes("\u5BFC\u5165"))&&sa.createElement("span",{style:{fontWeight:800,color:"#0152d9",textAlign:"end",flex:1,cursor:"pointer"}},sa.createElement(Ne.ZP,{onClick:()=>Fi(void 0,null,function*(){var Yr;let mo=yield(0,se.ZP)(`/api/problems/${(Yr=Vt.workList)==null?void 0:Yr.start_identifier}/start.json`,{method:"get"});mo&&(window.open(`/myproblems/${mo==null?void 0:mo.identifier}?type=1&backUrl=/classrooms/${Da.coursesId}/program_homework/${Da.categoryId}/detail?tabs=1`),localStorage.setItem("program_homework",[Da==null?void 0:Da.coursesId,Da==null?void 0:Da.categoryId]))}),type:"primary"},(nn=Sr.homework_status)!=null&&nn.includes("\u5DF2\u622A\u6B62")?"\u67E5\u770B\u4F5C\u4E1A":"\u8FDB\u5165\u7EC3\u4E60"," ")),(0,De.dE)()&&((Wn=Vt.workList)==null?void 0:Wn.redo_work)&&sa.createElement(Ne.ZP,{onClick:ha,type:"primary",icon:sa.createElement("i",{className:"iconfont icon-dahuizhongzuo3x"})},"\u91CD\u505A"),((Cn=Vt.workList)==null?void 0:Cn.shixun_status)>1&&(($r=Vt.workList)==null?void 0:$r.time_status)<5&&(0,De.dE)()&&sa.createElement(Ne.ZP,{type:"primary",icon:sa.createElement("i",{className:"iconfont icon-kaiqizhong"}),onClick:()=>{var Yr,mo,Do,vn,na,Oa,_n;(0,an.tJ)(Fa,!0)&&((Do=(mo=(Yr=Vt.workList)==null?void 0:Yr.task_operation)==null?void 0:mo[1])!=null&&Do.includes("/")?Ai((na=(vn=Vt.workList)==null?void 0:vn.task_operation)==null?void 0:na[1]):(0,Me.xg)(`/tasks/${(_n=(Oa=Vt.workList)==null?void 0:Oa.task_operation)==null?void 0:_n[1]}`))}},(Tr=(mr=Vt.workList)==null?void 0:mr.task_operation)==null?void 0:Tr[0]),((Jo=Vt.workList)==null?void 0:Jo.commit_des)&&((fr=Vt.workList)==null?void 0:fr.commit_des)&&sa.createElement(Ne.ZP,{type:"primary",icon:sa.createElement("i",{className:"iconfont icon-tijiaozongjie"}),onClick:()=>{var Yr;(0,Me.xg)(`/classrooms/${Da.coursesId}/shixun_homework/${Da.categoryId}/${(Yr=Vt.workList)==null?void 0:Yr.id}/commitsummary`)}},(So=Vt.workList)==null?void 0:So.commit_des),(Pr==null?void 0:Pr.hack_edit_permission)&&((Ha=Sr==null?void 0:Sr.homework_status)==null?void 0:Ha[0])==="\u672A\u53D1\u5E03"&&sa.createElement(Ne.ZP,{type:"primary",icon:sa.createElement("i",{className:"iconfont icon-bianji2"}),onClick:()=>{var Yr;if(!((Yr=_t.AssistantObject.hack)!=null&&Yr.can_create)&&(0,De.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}he.history.push(`/classrooms/${Da.coursesId}/program_homework/${Da.categoryId}/edit`)}},"\u7F16\u8F91\u4F5C\u4E1A"),(0,De.GJ)()&&Sr.publish_immediately&&sa.createElement(Ne.ZP,{type:"primary",icon:sa.createElement("i",{className:"iconfont icon-yishezhifabushijian1"}),onClick:()=>{var Yr,mo;if(!((Yr=_t.AssistantObject.hack)!=null&&Yr.can_publish)&&(0,De.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if(((mo=ba==null?void 0:ba.userInfo)==null?void 0:mo.user_status)===2){(0,an.Rd)();return}Fa({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u53D1\u5E03",selectArrs:[Da.categoryId],selectArrsAll:[Sr],params:Da,detail:!0,type:2,manage_all_group:Pr==null?void 0:Pr.manage_all_group}})}},"\u7ACB\u5373\u53D1\u5E03"),(0,De.GJ)()&&Sr.end_immediately&&sa.createElement(Ne.ZP,{style:{background:"#0152d9",color:"#fff"},type:"primary",icon:sa.createElement("i",{className:"iconfont icon-jiezhishiyan"}),onClick:()=>{var Yr;if(!((Yr=_t.AssistantObject.hack)!=null&&Yr.can_stop)&&(0,De.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Fa({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u622A\u6B62",params:Da,type:2,detail:!0,selectArrs:[Da.categoryId]}})}},"\u7ACB\u5373\u622A\u6B62"))};return sa.createElement("section",null,sa.createElement("div",{className:"edu-container"},Sr.homework_name&&sa.createElement("section",{className:"animated fadeIn"},sa.createElement("aside",{className:"mt10"},Sr.category&&sa.createElement(ie.Z,{separator:">"},sa.createElement(ie.Z.Item,null,sa.createElement(he.Link,{to:`/classrooms/${Da==null?void 0:Da.coursesId}/program_homework`},Sr.course_name)),sa.createElement(ie.Z.Item,null,sa.createElement(he.Link,{to:`/classrooms/${Da==null?void 0:Da.coursesId}/program_homework/${Sr.category.main?"":Sr.category.category_id}`},Sr.category.category_name)),sa.createElement(ie.Z.Item,null,"\u4F5C\u4E1A\u8BE6\u60C5"))),sa.createElement("aside",{className:[Fn.Z.title,"mt20"].join(" ")},sa.createElement(he.Link,{to:`/classrooms/${Sr.course_id}/program_homework/${Sr.category.main?"":Sr.category.category_id}`},sa.createElement(ze.Z,{className:"font16 c-black"})),sa.createElement(nt.Z,{title:Sr.homework_name,placement:"bottom"},sa.createElement("strong",{className:"font20 ml5"},Sr.homework_name)),sa.createElement(Me.VV,{temporary:!0,status:Sr.homework_status}))),sa.createElement("aside",{className:`mt30 relative ${Fn.Z.workListTabWrap}`},sa.createElement(je.default,{type:"card",defaultActiveKey:Ma,activeKey:Ma,tabBarExtraContent:(Za=Sr.homework_status)!=null&&Za.includes("\u5BFC\u5165")&&(0,De.GJ)()?sa.createElement(Ne.ZP,{icon:sa.createElement("span",{className:"iconfont icon-shixun3 translateY1"}),onClick:()=>{Fa({type:"classroomList/setActionTabs",payload:{key:"\u8865\u5145\u6210\u7EE9",name:Sr==null?void 0:Sr.homework_name,id:Sr==null?void 0:Sr.homework_id,type:"hack"}})},type:"primary"},"\u8865\u5145\u6210\u7EE9"):tr(),onChange:oi},Tn.map((aa,nn)=>sa.createElement(je.default.TabPane,{tab:aa.name,key:aa.id,forceRender:aa.forceRender},aa.compontent))))),sa.createElement(Yt,null),sa.createElement(Jt.Z,{courseEndTime:Sr==null?void 0:Sr.course_end_date,successCallback:()=>{Fa({type:"shixunHomeworks/getWorkList",payload:zi({},Da)})},visible:_t.actionTabs.key==="\u7ACB\u5373\u622A\u6B62",homeworkIds:[Da.categoryId],courseId:Da.coursesId,isBatch:!1}),sa.createElement(bn.Z,{courseEndTime:Sr==null?void 0:Sr.course_end_date}),sa.createElement(Rr.Z,{onOk:()=>{Fa({type:"shixunHomeworks/getWorkList",payload:zi({},Da)})}}),sa.createElement(ro.Z,{onOk:()=>{Fa({type:"shixunHomeworks/getWorkList",payload:zi({},Da)})}}),sa.createElement(be.default,{open:Qn,title:"\u89C4\u5219\u8BF4\u660E",width:800,footer:null,onCancel:()=>{ao(!1)}},sa.createElement("p",null,"\u4E00\u3001\u7B49\u7EA7\u89C4\u5219"),sa.createElement("p",{style:{marginLeft:"10px"}},"1. \u7F3A\u9677\u7B49\u7EA7"),sa.createElement("p",{style:{marginLeft:"10px"}},sa.createElement(Ze.default,{dataSource:ul,columns:[{title:"\u7B49\u7EA7",dataIndex:"live"},{title:"\u7F3A\u9677\u8BC4\u4F30\u89C4\u5219",dataIndex:"gz"},{title:"\u6F0F\u6D1E\u8BC4\u4F30\u89C4\u5219",dataIndex:"ld"},{title:"\u4EE3\u7801\u89C4\u8303\u8BC4\u4F30\u89C4\u5219",dataIndex:"gf"}],pagination:!1})),sa.createElement("p",{style:{marginLeft:"10px"}},"\u6CE8\uFF1A\u4EE3\u7801\u89C4\u8303\u8BC4\u4F30\u89C4\u5219\u4E2D\u6570\u503C\u6765\u6E90\u4E3A\u8BA1\u7B97\u6280\u672F\u503A\u52A1\u65F6\u95F4\u5360\u5F00\u53D1\u6240\u6709\u4EE3\u7801\u6240\u9700\u8981\u7684\u65F6\u95F4\u7684\u6BD4\u4F8B\uFF08Technical Debt Ratio\uFF09"),sa.createElement("p",{style:{marginLeft:"20px"}},"Technical Debt Ratio = \u6280\u672F\u503A\u52A1\u65F6\u95F4 / \u5F00\u53D1\u65F6\u95F4"),sa.createElement("p",{style:{marginLeft:"20px"}},"\u6280\u672F\u503A\u52A1\u65F6\u95F4\u4E3A\u4FEE\u590D\u6240\u6709\u95EE\u9898\u6240\u9700\u8981\u7684\u65F6\u95F4\u3002"),sa.createElement("p",null,"\u4E8C\u3001\u590D\u6742\u5EA6\u89C4\u5219"),sa.createElement("p",{style:{marginLeft:"10px"}},"\u6839\u636E\u4EE3\u7801\u8DEF\u5F84\u6570\u8BA1\u7B97\u7684\u6570\u503C\uFF0C\u6BCF\u5F53\u4E00\u4E2A\u51FD\u6570\u7684\u63A7\u5236\u6D41\u5206\u53C9\u65F6\uFF0C\u590D\u6742\u5EA6\u8BA1\u6570\u5668\u5C31\u4F1A\u81EA\u589E\u4E00\u3002"),sa.createElement("p",{style:{marginLeft:"10px"}},"\u6BCF\u4E2A\u7A0B\u5E8F\u8BED\u8A00\u7684\u5173\u952E\u5B57\u5BF9\u5E94\u7684\u590D\u6742\u5EA6\u6570\u636E\u4E0D\u540C\uFF0C\u4F46\u6BCF\u4E2A\u51FD\u6570\u7684\u6700\u5C0F\u590D\u6742\u5EA6\u4E3A1\u3002\uFF08\u7279\u5B9A\u8BED\u8A00\u7684\u8BE6\u7EC6\u6570\u636E\u7565\uFF09"),sa.createElement("p",null,"\u4E09\u3001\u4EE3\u7801\u8D28\u91CF\u5206\u89C4\u5219"),sa.createElement("p",{style:{marginLeft:"10px"}},"\u4EE3\u7801\u8D28\u91CF\u5206 = 0.5*\u7F3A\u9677\u5206\u6570 + 0.3*\u6F0F\u6D1E\u5206\u6570 + 0.2*\u4EE3\u7801\u89C4\u8303\u6027\u5206\u6570"),sa.createElement("p",{style:{marginLeft:"10px"}},"\u5176\u4E2D\uFF1A"),sa.createElement("p",{style:{marginLeft:"10px"}},"\u7F3A\u9677/\u6F0F\u6D1E/\u4EE3\u7801\u89C4\u8303\u6027\u5206\u6570\u8BA1\u7B97\u89C4\u5219\u4E3A\uFF1A100 - 100 *((100*\u5D29\u6E83\u6570 + 5*\u4E25\u91CD\u6570 + 3*\u4E3B\u8981\u6570 + 1*\u6B21\u6570\uFF09/ \u4EE3\u7801\u884C\u6570\uFF09"),sa.createElement("p",{style:{marginLeft:"10px"}},"\u6CE8\uFF1A\u5206\u6570\u4E3A\u7A7A\u7684\u4EE3\u8868\u4E0D\u652F\u6301\u7684\u6587\u4EF6\u683C\u5F0F\u3002")))};var rl=(0,he.connect)(({shixunHomeworks:Vt,classroomList:_t,loading:kt,user:ba,globalSetting:Va})=>({classroomList:_t,shixunHomeworks:Vt,globalSetting:Va,user:ba,loading:kt.effects}))(_i)},67520:function(Ct,Pt,te){"use strict";var z=te(59301),se=te(78241),he=te(8591),Ie=te(43418),be=te(95237),Ne=te(5112),ie=te(5871),nt=te(43604),je=te(5083),Ze=te(24905),ze=te(66649),Me=te.n(ze),ye=te(23789),re=te(35219),a=te(21331),y=te(6075),b=te(44470),E=te(24779),x=te(16286),ee=te(59301),ne=Object.defineProperty,oe=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,Pe=(Be,$e,Ke)=>$e in Be?ne(Be,$e,{enumerable:!0,configurable:!0,writable:!0,value:Ke}):Be[$e]=Ke,xe=(Be,$e)=>{for(var Ke in $e||($e={}))me.call($e,Ke)&&Pe(Be,Ke,$e[Ke]);if(ue)for(var Ke of ue($e))fe.call($e,Ke)&&Pe(Be,Ke,$e[Ke]);return Be},Ee=(Be,$e)=>oe(Be,ae($e)),De=(Be,$e)=>{var Ke={};for(var Ve in Be)me.call(Be,Ve)&&$e.indexOf(Ve)<0&&(Ke[Ve]=Be[Ve]);if(Be!=null&&ue)for(var Ve of ue(Be))$e.indexOf(Ve)<0&&fe.call(Be,Ve)&&(Ke[Ve]=Be[Ve]);return Ke},_e=(Be,$e,Ke)=>new Promise((Ve,it)=>{var rt=$t=>{try{Rt(Ke.next($t))}catch(Je){it(Je)}},vt=$t=>{try{Rt(Ke.throw($t))}catch(Je){it(Je)}},Rt=$t=>$t.done?Ve($t.value):Promise.resolve($t.value).then(rt,vt);Rt((Ke=Ke.apply(Be,$e)).next())});const pt=Be=>{var $e=Be,{classroomList:Ke,dispatch:Ve,courseEndTime:it,onWindowBack:rt}=$e,vt=De($e,["classroomList","dispatch","courseEndTime","onWindowBack"]),Rt,$t,Je,st,At,Nt,St,sn,Fe,Qt,Gt,Hn,Jn,Re,qe,tt,Le,ft,gt,Oe,ve,Ge,We,we,mt,et,Ht,Se,ut,xt,Ae,He,ct,wt,Zt,mn,dt,Dt,yt;const en=(0,y.useParams)(),[Wt]=se.default.useForm(),[un,Vn]=(0,z.useState)(1),[fn,an]=(0,z.useState)([]),[Un,zt]=(0,z.useState)(0),[Tt,Xt]=(0,z.useState)(2e3),[Ea,qn]=(0,z.useState)(!0),[Mn,Ga]=(0,z.useState)(!1),[La,Ar]=(0,z.useState)(!1),[Cr,Qa]=(0,z.useState)([]),[at,Mt]=(0,z.useState)(!0),[Ft,kn]=(0,z.useState)(!((Je=($t=(Rt=Ke.actionTabs)==null?void 0:Rt.selectArrsAll)==null?void 0:$t[0])!=null&&Je.send_type));let[dn,Ln]=(0,z.useState)([0,0,0]);(0,z.useEffect)(()=>{var nr,sr,er,ht,qt,tn,Pn,Rn,gn,On,yn,ar,Ra;if(Ke.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03")if(oo(),(er=(sr=(nr=Ke.actionTabs)==null?void 0:nr.selectArrsAll)==null?void 0:sr[0])!=null&&er.can_publish?Ln([...(gn=(Rn=(Pn=Ke.actionTabs)==null?void 0:Pn.selectArrsAll)==null?void 0:Rn[0])==null?void 0:gn.difficult_count]):Ln([...(tn=(qt=(ht=Ke.actionTabs)==null?void 0:ht.selectArrsAll)==null?void 0:qt[0])==null?void 0:tn.difficult_settings]),kn(!((ar=(yn=(On=Ke.actionTabs)==null?void 0:On.selectArrsAll)==null?void 0:yn[0])!=null&&ar.send_type)),Xr(),Ke.actionTabs.type===2){const cn=(Ra=Ke.actionTabs.selectArrsAll)==null?void 0:Ra[0];Mt(cn.unified_setting)}else Mt(!1)},[Ke.actionTabs]),(0,z.useEffect)(()=>{if(Mn){if(La)return;Ve({type:"classroomList/setActionTabs",payload:{}}),(0,re.GJ)()?(Ve({type:"classroomList/getClassroomTeacherCommonList",payload:Ee(xe({},Ke.actionTabs.params),{type:1})}),Ve({type:"shixunHomeworks/getWorkList",payload:xe({},en)})):Ve({type:"classroomList/getClassroomCommonList",payload:xe({},Ke.actionTabs.params)})}},[Mn]);const Xr=nr=>_e(void 0,null,function*(){qn(!0);const sr=yield(0,E.c_)(Ee(xe({},en),{page:nr||un,limit:2e4,homework_id:Ke.actionTabs.type===1?"":Ke.actionTabs.selectArrs[0]}));sr==null||sr.course_groups.map((er,ht)=>{er.key=er.id,er.title=er.name,er.disabled=er.is_published}),sr&&(an([...sr==null?void 0:sr.course_groups]),zt(sr==null?void 0:sr.course_groups_count),qn(!1),nr||Wt.setFieldsValue({publish_time:Me()(Me()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:Me()(Me()(new Date).add(7,"days").format("YYYY-MM-DD HH:mm"))}))}),Er=()=>{(0,re.GJ)()?Ke.actionTabs.detail?(Ve({type:"shixunHomeworks/setActionTabs",payload:{}}),Ve({type:"shixunHomeworks/getWorkList",payload:xe({},en)}),Ve({type:"shixunHomeworks/getWorkSetting",payload:xe({},en)})):Ve({type:"classroomList/getClassroomTeacherCommonList",payload:Ee(xe({},Ke.actionTabs.params),{type:5,category:Ke.actionTabs.params.categoryId})}):Ve({type:"classroomList/getClassroomCommonList",payload:xe({},Ke.actionTabs.params)})},Kr=()=>_e(void 0,null,function*(){var nr,sr;if((0,re.Rm)()&&!((nr=Ke.AssistantObject.hack)!=null&&nr.can_publish)){he.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),ur(!1);return}const er=xe({},Wt.getFieldsValue());if(er.end_time<=er.publish_time){he.ZP.info("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u5927\u4E8E\u6216\u7B49\u4E8E\u53D1\u5E03\u65F6\u95F4"),ur(!1);return}if((Cr==null?void 0:Cr.length)<=0&&!at&&fn.length>0){he.ZP.info("\u53D1\u5E03\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A"),ur(!1);return}if(dn.reduce((tn,Pn)=>tn+Pn)===0&&!Ft){he.ZP.info("\u7B80\u5355\u9002\u4E2D\u56F0\u96BE\u9898\u6570\u76F8\u52A0\u4E0D\u80FD\u4E3A0"),ur(!1);return}let ht={homework_ids:[...Ke.actionTabs.selectArrs],group_ids:Cr.length>0?Cr.map(tn=>tn.id):(sr=Ke.detailCommonHomeworksList)==null?void 0:sr.course_groups,end_time:Me()(er.end_time).format("YYYY-MM-DD HH:mm"),publish_time:Me()(er.publish_time).format("YYYY-MM-DD HH:mm"),difficult_settings:dn==null?void 0:dn.map(tn=>tn),send_type:Ft?"0":"1",unified_setting:!Cr.length};if(ur(!0),(yield(0,ye.ZP)(`/api/courses/${en.coursesId}/homework_commons/publish_with_homework_list_position.json`,{method:"post",body:xe({},ht)})).status===0){if(ur(!1),(0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u56FE\u6587\u4F5C\u4E1A","\u7ACB\u5373\u53D1\u5E03"]),he.ZP.success("\u53D1\u5E03\u6210\u529F"),Ve({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}),rt){rt();return}vt.onCallback&&vt.onCallback(),Er(),localStorage.getItem("Noviceguide")==="0"||Ve({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:13,text:ee.createElement("div",null,"\u6700\u540E\uFF0C\u54B1\u4EEC\u7ED9\u6559\u5B66\u8BFE\u5802\u6DFB\u52A0\u4E00\u540D\u5B66\u751F~\u70B9\u51FB\u201C\u6DFB\u52A0\u5B66\u751F\u201D\uFF0C\u5728\u5F39\u7A97\u9875\u9762\u4E2D\u8F93\u5165\u5E76\u641C\u7D22\u5B66\u751F\u59D3\u540D\uFF0C\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u5C31\u53EF\u4EE5\u4E3A\u60A8\u7684\u8BFE\u5802\u6DFB\u52A0\u7B2C\u4E00\u4F4D\u5B66\u751F\u5566~")}})}else ur(!1)}),oo=()=>{Vn(1),an([]),Qa([])},Xa=Un>un*Tt,[Nn,ur]=(0,z.useState)(!1);return ee.createElement(Ie.default,{width:600,confirmLoading:Nn,centered:!0,title:"\u53D1\u5E03\u4F5C\u4E1A",open:Ke.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03",okText:"\u53D1\u5E03\u4F5C\u4E1A",cancelText:"\u6682\u4E0D\u53D1\u5E03",onOk:Kr,onCancel:()=>{if(oo(),Ve({type:"classroomList/setActionTabs",payload:{}}),rt){rt();return}Er()}},ee.createElement("p",{className:"tc"},"\u5B66\u751F\u5C06\u7ACB\u5373\u6536\u5230\u4F5C\u4E1A",ee.createElement("br",null),'\u672C\u64CD\u4F5C\u53EA\u5BF9"\u672A\u53D1\u5E03"\u7684\u4F5C\u4E1A\u6709\u6548'),fn&&ee.createElement(se.default,{form:Wt},ee.createElement("div",{style:{paddingLeft:0}},Ke.actionTabs.type===2&&ee.createElement(be.Z,{style:{marginBottom:"10px"}},ee.createElement("span",{className:"mr5"},"\u8BD5\u9898\u53D1\u9001:"),ee.createElement(Ne.ZP.Group,{value:Ft,disabled:!((Nt=(At=(st=Ke.actionTabs)==null?void 0:st.selectArrsAll)==null?void 0:At[0])!=null&&Nt.can_publish),onChange:nr=>{kn(nr.target.value)}},ee.createElement(Ne.ZP,{value:!0},"\u5168\u90E8\u56FA\u5B9A\u8BD5\u9898"),ee.createElement(Ne.ZP,{className:"ml20",value:!1},"\u968F\u673A\u62BD\u53D6"))),!Ft&&ee.createElement(be.Z,{style:{marginBottom:"10px"}},ee.createElement("span",{style:{marginRight:65}}),ee.createElement("span",null,"\u7B80\u5355\u9898\u6570 ",ee.createElement(ie.Z,{value:dn[0],onChange:nr=>{dn[0]=nr,Ln([...dn])},min:0,disabled:!((Fe=(sn=(St=Ke.actionTabs)==null?void 0:St.selectArrsAll)==null?void 0:sn[0])!=null&&Fe.can_publish),placeholder:`\u6700\u5927${(Jn=(Hn=(Gt=(Qt=Ke.actionTabs)==null?void 0:Qt.selectArrsAll)==null?void 0:Gt[0])==null?void 0:Hn.difficult_count)==null?void 0:Jn[0]}`,max:(Le=(tt=(qe=(Re=Ke.actionTabs)==null?void 0:Re.selectArrsAll)==null?void 0:qe[0])==null?void 0:tt.difficult_count)==null?void 0:Le[0],style:{width:60}})),ee.createElement("span",{style:{margin:"0px 40px"}},"\u9002\u4E2D\u9898\u6570 ",ee.createElement(ie.Z,{value:dn[1],onChange:nr=>{dn[1]=nr,Ln([...dn])},min:0,disabled:!((Oe=(gt=(ft=Ke.actionTabs)==null?void 0:ft.selectArrsAll)==null?void 0:gt[0])!=null&&Oe.can_publish),max:(we=(We=(Ge=(ve=Ke.actionTabs)==null?void 0:ve.selectArrsAll)==null?void 0:Ge[0])==null?void 0:We.difficult_count)==null?void 0:we[1],placeholder:`\u6700\u5927${(Se=(Ht=(et=(mt=Ke.actionTabs)==null?void 0:mt.selectArrsAll)==null?void 0:et[0])==null?void 0:Ht.difficult_count)==null?void 0:Se[1]}`,style:{width:60}})),ee.createElement("span",null,"\u56F0\u96BE\u9898\u6570 ",ee.createElement(ie.Z,{value:dn[2],onChange:nr=>{dn[2]=nr,Ln([...dn])},min:0,disabled:!((Ae=(xt=(ut=Ke.actionTabs)==null?void 0:ut.selectArrsAll)==null?void 0:xt[0])!=null&&Ae.can_publish),placeholder:`\u6700\u5927${(Zt=(wt=(ct=(He=Ke.actionTabs)==null?void 0:He.selectArrsAll)==null?void 0:ct[0])==null?void 0:wt.difficult_count)==null?void 0:Zt[2]}`,max:(yt=(Dt=(dt=(mn=Ke.actionTabs)==null?void 0:mn.selectArrsAll)==null?void 0:dt[0])==null?void 0:Dt.difficult_count)==null?void 0:yt[2],style:{width:60}}))),ee.createElement(be.Z,{className:"mt30",align:"middle"},ee.createElement(nt.Z,null,ee.createElement(se.default.Item,{name:"publish_time",label:"\u53D1\u5E03\u65F6\u95F4"},ee.createElement(je.default,{style:{width:170,marginRight:"25px"},disabledDate:nr=>(0,x.Q8)(nr,it),disabledTime:nr=>(0,x.d0)(nr),placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Me()((0,a.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),ee.createElement(nt.Z,{className:"ml20"},ee.createElement(se.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},ee.createElement(je.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Me()((0,a.U6)(),"HH:mm")},disabledDate:nr=>(0,x.Q8)(nr,it,Wt.getFieldValue("publish_time")),disabledTime:nr=>(0,x.d0)(nr,Wt.getFieldValue("publish_time")),format:"YYYY-MM-DD HH:mm",allowClear:!1})))),Ke.actionTabs.type===2&&ee.createElement(be.Z,{style:{marginBottom:"10px"}},ee.createElement("span",{className:"mr5"},"\u53D1\u5E03\u8BBE\u7F6E:"),ee.createElement(Ne.ZP.Group,{value:at,onChange:nr=>{Mt(nr.target.value),Qa([])}},ee.createElement(Ne.ZP,{value:!0,disabled:!Ke.actionTabs.manage_all_group},"\u7EDF\u4E00\u53D1\u5E03"),ee.createElement(Ne.ZP,{className:"ml20",disabled:fn.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),fn.length<=0&&Ke.actionTabs.type===2&&ee.createElement("span",{style:{marginLeft:"65px",color:"rgba(0, 0, 0, 0.25)"}},'\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03"')),(Ke.actionTabs.type===1||!at)&&fn.length>0&&ee.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},ee.createElement("span",{style:{flex:1}},ee.createElement(Ze.default,{checked:Cr.length===fn.length,onChange:nr=>{Cr.length===fn.length?Qa([]):Qa(fn.filter(sr=>!sr.is_published))}},"\u5168\u9009")," "),ee.createElement("span",{style:{width:16}}),ee.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",Cr.length||0,"\u4E2A\u5206\u73ED")),(Ke.actionTabs.type===1||!at)&&fn.length>0&&ee.createElement(b.Z,{data:fn,selectedRowKeys:Cr,setSelectedRowKeys:Qa})))};Pt.Z=(0,y.connect)(({classroomList:Be})=>({classroomList:Be}))(pt)},16286:function(Ct,Pt,te){"use strict";te.d(Pt,{Q8:function(){return rt},d0:function(){return vt},w6:function(){return it}});var z=te(59301),se=te(5083),he=te(57809),Ie=te(8591),be=te(43418),Ne=te(5112),ie=te(95237),nt=te(43604),je=te(6848),Ze=te(24905),ze=te(3113),Me=te(66649),ye=te.n(Me),re=te(35219),a=te(23789),y=te(78267),b=te.n(y),E=te(21331),x=te(12750),ee=te(6075),ne=te(11835),oe=te(78752),ae=te(99206),ue=te(40886),me=te(95382),fe=te(59301),Pe=Object.defineProperty,xe=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,Be=(st,At,Nt)=>At in st?Pe(st,At,{enumerable:!0,configurable:!0,writable:!0,value:Nt}):st[At]=Nt,$e=(st,At)=>{for(var Nt in At||(At={}))_e.call(At,Nt)&&Be(st,Nt,At[Nt]);if(De)for(var Nt of De(At))pt.call(At,Nt)&&Be(st,Nt,At[Nt]);return st},Ke=(st,At)=>xe(st,Ee(At)),Ve=(st,At,Nt)=>new Promise((St,sn)=>{var Fe=Hn=>{try{Gt(Nt.next(Hn))}catch(Jn){sn(Jn)}},Qt=Hn=>{try{Gt(Nt.throw(Hn))}catch(Jn){sn(Jn)}},Gt=Hn=>Hn.done?St(Hn.value):Promise.resolve(Hn.value).then(Fe,Qt);Gt((Nt=Nt.apply(st,At)).next())});function it(st,At){const Nt=[];for(let St=st;St<At;St++)Nt.push(St);return Nt}const rt=(st,At,Nt)=>{const St=st<ye()().startOf("day"),sn=st>ye()(At).endOf("day"),Fe=st<ye()(Nt).startOf("day");return At?Nt?ye()()<=ye()(Nt)?Fe||sn:St||sn:st&&St||sn:Nt&&ye()()<=ye()(Nt)?Fe:St},vt=(st,At)=>{const Nt=parseInt(ye()(st).format("HH")),St=parseInt(ye()().format("HH")),sn=parseInt(ye()().format("mm"));if(!st)return{disabledHours:()=>it(0,St),disabledMinutes:()=>it(0,sn)};if(At){const Fe=parseInt(ye()(At).format("HH")),Qt=parseInt(ye()(At).format("mm"));return ye()(st).isSame(ye()(At),"day")?{disabledHours:()=>it(0,Fe),disabledMinutes:()=>Nt<=Fe?it(0,Qt):[]}:void 0}if(ye()(st).isSame(ye()(),"day"))return{disabledHours:()=>it(0,St),disabledMinutes:()=>ye()(st).isSame(ye()(),"hour")&&Nt<=St?it(0,sn):[]}},{RangePicker:Rt}=se.default,{Option:$t}=he.default,Je=({shixunHomeworks:st,loading:At,dispatch:Nt,classroomList:St,user:sn})=>{var Fe,Qt,Gt,Hn,Jn,Re,qe,tt,Le;const ft=(0,ee.useParams)(),{workSetting:gt,workList:Oe,shixunWorkList:ve,headerInfo:Ge,changeData:We}=st,[we,mt]=(0,z.useState)(!1),[et,Ht]=(0,z.useState)(!1);let[Se,ut]=(0,z.useState)([]),[xt,Ae]=(0,z.useState)([]),[He,ct]=(0,z.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:ne.Q.Percent,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,comment_public:!0,total_score:"",eff_score:0,action_analysis:!1,work_end_forbid_evaluate:!1});const[wt,Zt]=(0,z.useState)({}),[mn,dt]=(0,z.useState)({});(0,z.useEffect)(()=>()=>{ut([])},[]),(0,z.useEffect)(()=>{mt(!(0,re.GJ)())},[(0,re.GJ)()]);const Dt=()=>{Nt({type:"shixunHomeworks/getWorkSetting",payload:$e({},ft)})};(0,z.useEffect)(()=>{if(!(gt!=null&&gt.course_id))return;Object.keys(He).map(function(Xt){He[Xt]=gt[Xt]}),(!He.allow_late||!He.unified_late)&&(He.late_penalty=20,He.penalty_type=ne.Q.Percent),He.unified_setting||(He.unified_late=!1,He.unified_anonymous_comment=!1,He.unified_anonymous_appeal=!1),Se=JSON.parse(JSON.stringify(gt.group_settings.map(Xt=>Ke($e({},Xt),{group_name:[Xt.group_name]})).filter(Xt=>Xt.publish_time!==null))),xt=JSON.parse(JSON.stringify(gt.allow_late_settings.map(Xt=>Ke($e({},Xt),{group_name:[Xt.group_name]})).filter(Xt=>Xt.late_time!==null))),ct($e({},He));const Tt=(0,E.QE)((Se==null?void 0:Se.length)>0?Se:[]);ut([...Tt]),(xt==null?void 0:xt.length)<=0?Ae([{penalty_type:ne.Q.Percent,late_penalty:20}]):Ae([...xt])},[gt]);const yt=()=>Ve(void 0,null,function*(){var Tt,Xt;if(((Tt=sn==null?void 0:sn.userInfo)==null?void 0:Tt.user_status)===2){(0,oe.Rd)();return}const Ea=JSON.parse(JSON.stringify(He));if(Ea.challenge_settings.filter(Mn=>!Mn.hide),Ea.categoryId=ft.categoryId,(Xt=Ea.challenge_settings)!=null&&Xt.every(Mn=>!Mn.checked)){Ie.ZP.warning("\u5173\u5361\u4E0D\u80FD\u5168\u90E8\u8BBE\u7F6E\u4E3A\u53EF\u4E0D\u505A");return}if(console.log(Se),!He.unified_setting)Se=Se==null?void 0:Se.map(Mn=>{var Ga;if(!Mn.publish_time||!Mn.end_time)throw Ie.ZP.error("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Mn.group_name)throw Ie.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Mn.group_name=typeof(Mn==null?void 0:Mn.group_name)=="string"?[Mn==null?void 0:Mn.group_name]:Mn==null?void 0:Mn.group_name,Mn.group_id=(Ga=gt.group_settings)==null?void 0:Ga.filter(La=>{var Ar;return(Ar=Mn==null?void 0:Mn.group_name)==null?void 0:Ar.includes(La.group_name)}).map(La=>La.group_id||La.id).toString().split(","),Mn});else if(!He.publish_time||!He.end_time)throw Ie.ZP.error("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(Ea.group_settings=Se,He.allow_late)if(He.unified_late){if(He.late_penalty===null||He.late_penalty===void 0||He.late_penalty<0||He.late_penalty>100)throw Ie.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!He.late_time)throw Ie.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574")}else xt=xt==null?void 0:xt.map(Mn=>{var Ga,La;if(Mn.late_penalty===null||Mn.late_penalty===void 0||Mn.late_penalty<0||Mn.late_penalty>100)throw Ie.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Mn.late_time)throw Ie.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Mn.group_name)throw Ie.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Mn.group_name=typeof(Mn==null?void 0:Mn.group_name)=="string"?[Mn==null?void 0:Mn.group_name]:Mn==null?void 0:Mn.group_name,Mn.group_id=(La=(Ga=Mn==null?void 0:Mn.group_name)==null?void 0:Ga.map(Ar=>{var Cr,Qa;let at=(Qa=(Cr=gt.group_settings)==null?void 0:Cr.filter(Mt=>(Mt==null?void 0:Mt.group_name)===Ar))==null?void 0:Qa[0];return at==null?void 0:at.group_id}))==null?void 0:La.toString().split(","),Mn}),Ea.allow_late_settings=xt;let qn=yield(0,me.Tr)({homework_common_ids:[parseInt(ft.categoryId)],course_id:ft.coursesId,type:"homework_common"});(qn==null?void 0:qn.student_count)===0?en(Ea):(dt(Ea),Zt(qn))}),en=Tt=>{var Xt;if(Tt.total_score===null){Ie.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(Tt!=null&&Tt.work_efficiency&&Tt.eff_score===null){Ie.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const Ea=Tt.challenge_settings.reduce((Ga,La)=>Ga+Number(La.challenge_score),0);if((Ea==null?void 0:Ea.toFixed(10))!==((Xt=Tt.total_score-Tt.eff_score)==null?void 0:Xt.toFixed(10))){Ie.ZP.warning(`\u6548\u7387\u5206\u52A0\u5173\u5361\u4EFB\u52A1\u603B\u5206\u5FC5\u987B\u7B49\u4E8E\u603B\u5206\u503C\uFF1A${Tt.total_score}\u5206`);return}const qn={shixun_evaluation:Tt.shixun_evaluation,challenge_settings:Tt.challenge_settings};let Mn=()=>{var Ga;const La=()=>Ve(void 0,null,function*(){Ht(!0),(yield(0,a.ZP)(`/api/homework_commons/${ft.categoryId}/publish_setting.json`,{method:"post",body:$e({},Tt)})).status===0&&(Ie.ZP.success("\u66F4\u65B0\u6210\u529F"),Dt(),Nt({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:$e({},ft)})),Ht(!1)});!(0,y.isEqual)(We,qn)&&!((Ga=Ge==null?void 0:Ge.homework_status)!=null&&Ga.includes("\u672A\u53D1\u5E03"))?be.default.confirm({title:"\u66F4\u65B0\u6210\u7EE9",content:"\u60A8\u6539\u52A8\u4E86\u672C\u6B21\u4F5C\u4E1A\u7684\u5173\u5361\u5F97\u5206\u8BBE\u7F6E\uFF0C\u8FD9\u53EF\u80FD\u5BFC\u81F4\u5DF2\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\u7684\u6210\u7EE9\u4EA7\u751F\u9519\u8BEF\u3002\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u5C06\u4FDD\u5B58\u6700\u65B0\u8BBE\u7F6E\u5E76\u6309\u6700\u65B0\u8BBE\u7F6E\u66F4\u65B0\u5168\u73ED\u6210\u7EE9\u3002",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:La}):La()};gt!=null&&gt.high_resources_consume&&!(gt!=null&&gt.high_resources_consume_permission)?Nt({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:ft.coursesId,type:"shixun",type_id:ft.categoryId,name:gt.homework_name,fn:()=>{Mn()}}}):Mn()},Wt=(Tt,Xt,Ea="group_id")=>{var qn;return Xt?Xt.find(Mn=>Mn[Ea]===Tt):(qn=gt==null?void 0:gt.group_settings)==null?void 0:qn.find(Mn=>Mn.group_id[0]===Tt)},un=(gt==null?void 0:gt.allow_late)||(gt==null?void 0:gt.anonymous_comment),Vn=Tt=>{var Xt,Ea;const qn=Wt(Tt,gt==null?void 0:gt.allow_late_settings,"id"),Mn=Wt(Tt,gt==null?void 0:gt.anonymous_comment_settings),Ga=Wt(Tt);return(gt==null?void 0:gt.allow_late)&&qn&&ye()(qn==null?void 0:qn.late_time)<=ye()()||(gt==null?void 0:gt.anonymous_comment)&&Mn&&(Mn==null?void 0:Mn.evaluation_start)!==null||((Ea=(ye()(Ga==null?void 0:Ga.end_time)<=ye()()&&((Xt=gt==null?void 0:gt.allow_late_settings)==null?void 0:Xt.filter(La=>La.group_id.includes(Tt))))[0])==null?void 0:Ea.late_time)!=null},fn=(0,z.useMemo)(()=>(gt==null?void 0:gt.allow_late)||(gt==null?void 0:gt.all_group_late),[gt,Ge]),an=gt==null?void 0:gt.anonymous_comment,Un=Tt=>{if(!Tt)return!1;const Xt=Wt(Tt,gt==null?void 0:gt.anonymous_comment_settings);return(gt==null?void 0:gt.anonymous_comment)&&Xt&&(Xt==null?void 0:Xt.evaluation_start)!==null},zt=(Tt,Xt)=>{var Ea,qn,Mn;Nt({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:Tt,index:Xt,rangePickerDisabled:we||(ye()()<=ye()((qn=Wt((Ea=Tt==null?void 0:Tt.group_id)==null?void 0:Ea[0]))==null?void 0:qn.publish_time)?!1:[!0,Vn((Mn=Tt==null?void 0:Tt.group_id)==null?void 0:Mn[0])]),disabledDate:gt==null?void 0:gt.course_end_date}})};return fe.createElement("section",{className:x.Z.form},fe.createElement("div",{className:x.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",fe.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u4F5C\u4E1A\u4E00\u65E6\u53D1\u5E03\u540E\u4E0D\u53EF\u53D8\u66F4\u8BD5\u9898\u53D1\u5E03\u6A21\u5F0F\uFF09")),fe.createElement("div",null,fe.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},fe.createElement(Ne.ZP.Group,{disabled:we||!((Fe=Ge==null?void 0:Ge.homework_status)!=null&&Fe.includes("\u672A\u53D1\u5E03"))||(0,re.Rm)()&&!((Qt=St.AssistantObject.practice)!=null&&Qt.can_publish),value:He.unified_setting,onChange:Tt=>{var Xt;if(!((Xt=Ge==null?void 0:Ge.homework_status)!=null&&Xt.includes("\u672A\u53D1\u5E03"))){Ie.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(He.unified_setting=!He.unified_setting,He.unified_setting||(He.unified_late=!1,Ae([{late_penalty:5}])),ct(Object.assign({},He)),He.unified_setting===!1&&Se==""){ut(Se.concat({}));return}He.unified_setting&&(ut([]),Ae([{late_penalty:5}]))}},fe.createElement(Ne.ZP,{value:!0,disabled:we||!(gt!=null&&gt.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),fe.createElement(Ne.ZP,{disabled:we||!((Gt=gt==null?void 0:gt.group_settings)!=null&&Gt.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((Hn=gt==null?void 0:gt.group_settings)==null?void 0:Hn.length)===0&&fe.createElement("div",{style:{color:"rgba(0, 0, 0, 0.25)",height:"22px"}},"\uFF08\u672C\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03\u201C\uFF09")),He.unified_setting&&fe.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},fe.createElement(ie.Z,{align:"middle"},fe.createElement(nt.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),fe.createElement(nt.Z,{className:"ml10"},fe.createElement(se.default,{size:"large",disabled:we||!((Jn=Ge==null?void 0:Ge.homework_status)!=null&&Jn.includes("\u672A\u53D1\u5E03")||(Re=Ge==null?void 0:Ge.homework_status)!=null&&Re.includes("\u672A\u5F00\u59CB"))||(0,re.Rm)()&&!((qe=St.AssistantObject.practice)!=null&&qe.can_publish),style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},allowClear:!1,format:"YYYY-MM-DD HH:mm",disabledDate:Tt=>rt(Tt,gt==null?void 0:gt.course_end_date),disabledTime:Tt=>vt(Tt),value:He.publish_time?ye()(He.publish_time):"",onChange:(Tt,Xt)=>{He.publish_time=Xt,(He.end_time==""||!He.end_time)&&He.unified_setting&&(He.end_time=ye()(Tt).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),ct(Object.assign({},He))}}))),fe.createElement(ie.Z,{align:"middle",className:"pl30"},fe.createElement(nt.Z,null,"\u622A\u6B62\u65F6\u95F4"),fe.createElement(nt.Z,{className:"ml10"},fe.createElement(se.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ye()((0,E.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(gt==null?void 0:gt.allow_late)&&(gt==null?void 0:gt.homework_status.includes("\u5DF2\u622A\u6B62"))||we||(gt==null?void 0:gt.allow_late)&&ye()()>=ye()(gt==null?void 0:gt.end_time)||(0,re.Rm)()&&!((tt=St.AssistantObject.practice)!=null&&tt.can_publish),disabledDate:Tt=>rt(Tt,gt==null?void 0:gt.course_end_date,He.publish_time),disabledTime:Tt=>vt(Tt,He.publish_time),value:He.end_time?ye()(He.end_time):"",onChange:(Tt,Xt)=>{He.end_time=Xt,ct(Object.assign({},He))}})))),!He.unified_setting&&(Se==null?void 0:Se.length)>0&&fe.createElement(ie.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},Se&&Se.map(function(Tt,Xt){var Ea,qn,Mn,Ga,La,Ar,Cr;return fe.createElement(nt.Z,{span:24,key:Xt},fe.createElement(ie.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Xt==(Se==null?void 0:Se.length)-1?"0px":"10px"}},fe.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",Xt+1),fe.createElement(he.default,{disabled:we||((Ea=Ge==null?void 0:Ge.homework_status)!=null&&Ea.includes("\u672A\u53D1\u5E03")&&Tt.id||ye()()<ye()(Tt==null?void 0:Tt.publish_time)?!1:!!(Tt!=null&&Tt.publish_time))||(0,re.Rm)()&&!((qn=St.AssistantObject.practice)!=null&&qn.can_publish),mode:"multiple",className:x.Z.multiple_select,style:{width:"250px"},value:Tt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Qa=>{var at;if((0,re.Rm)()&&!((at=St.AssistantObject.practice)!=null&&at.can_publish)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Se[Xt].group_name=Qa,Se[Xt].group_id=Tt.group_id;const Mt=(0,y.flattenDeep)(Se.map(kn=>kn.group_name)),Ft=xt.map(kn=>{let dn=(kn==null?void 0:kn.group_name)||[];return Ke($e({},kn),{group_name:(0,y.remove)(dn,Ln=>Mt.includes(Ln))})});Ae(Ft),ut(Se.slice())},maxTagCount:4,maxTagPlaceholder:Qa=>fe.createElement("div",{style:{cursor:"pointer"},onClick:()=>zt(Tt,Xt)},"+",Qa==null?void 0:Qa.length)},gt.group_settings&&gt.group_settings.map(function(Qa){if(!Se.map(Mt=>Mt.group_name).flat().includes(Qa.group_name))return fe.createElement($t,{value:Qa.group_name,key:Qa.id},Qa.group_name)})),fe.createElement("div",{className:"ml20"},fe.createElement(Rt,{size:"large",ranges:{\u6B64\u523B:[Tt.publish_time?ye()(Tt.publish_time):ye()(),ye()()]},allowClear:!1,disabled:we||(ye()()<=ye()((Ga=Wt((Mn=Tt==null?void 0:Tt.group_id)==null?void 0:Mn[0]))==null?void 0:Ga.publish_time)?!1:[!0,Vn((La=Tt==null?void 0:Tt.group_id)==null?void 0:La[0])]),style:{width:605},placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:Qa=>rt(Qa,gt==null?void 0:gt.course_end_date),disabledTime:Qa=>vt(Qa),showTime:{showNow:!0,format:"HH:mm",defaultValue:[ye()((0,E.U6)(),"HH:mm"),ye()((0,E.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:Tt.publish_time&&[ye()(Tt.publish_time),Tt.end_time?ye()(Tt.end_time):void 0],onChange:(Qa,at)=>{var Mt;if((0,re.Rm)()&&!((Mt=St.AssistantObject.practice)!=null&&Mt.can_publish)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Se[Xt].publish_time=at[0],!Tt.end_time&&at[0]?Se[Xt].end_time=ye()(at[0]).add(7,"days"):Se[Xt].end_time=at[1],ut([...Se])},onCalendarChange:(Qa,at,Mt)=>{if(at!=null&&at[0]&&!at[1]){const Ft=ye()(at[0]).add(7,"days");Se[Xt].publish_time=at[0],Se[Xt].end_time=Ft,ut([...Se])}}})),!we&&fe.createElement("div",{style:{display:"flex",width:"50px"}},((Ar=Tt==null?void 0:Tt.group_id)==null?void 0:Ar.length)>1&&fe.createElement(je.Z,{title:"\u89C4\u5219\u62C6\u5206"},fe.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>zt(Tt,Xt)})),(Se==null?void 0:Se.length)<((Cr=gt==null?void 0:gt.group_settings)==null?void 0:Cr.length)&&fe.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var Qa;if((0,re.Rm)()&&!((Qa=St.AssistantObject.practice)!=null&&Qa.can_publish)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ut(Se.concat({}))}}),((Tt==null?void 0:Tt.publish_time)&&ye()()<ye()(Tt==null?void 0:Tt.publish_time)||!(Tt!=null&&Tt.publish_time))&&Xt!=0&&fe.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const Qa=(0,y.cloneDeep)(xt);Qa.forEach((at,Mt)=>{at.group_name&&(at.group_name=at.group_name.filter(Ft=>{var kn;return!((kn=Se[Xt].group_name)!=null&&kn.includes(Ft))}))}),Se=Se.filter((at,Mt)=>Xt!==Mt),Ae(Qa),ut(Se.slice()),setTimeout(()=>ut(Se.slice()),10)}}))))}))),fe.createElement(ie.Z,null,fe.createElement(nt.Z,null,fe.createElement("div",{className:x.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",fe.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u53EF\u5BF9\u5728\u4F5C\u4E1A\u53D1\u5E03\u65F6\u95F4\u8303\u56F4\u5185\u672A\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\uFF0C\u5EF6\u957F\u65F6\u95F4\u8FDB\u884C\u8865\u4EA4\uFF09"))),fe.createElement(nt.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},fe.createElement(Ze.default,{checked:He.allow_late,disabled:we||fn,onChange:Tt=>{var Xt;if((0,re.Rm)()&&!((Xt=St.AssistantObject.practice)!=null&&Xt.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Tt.target.checked&&be.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:fe.createElement("div",{style:{padding:10,background:"#f5f6f9"}},fe.createElement("div",null,"1.\u5F00\u542F\u8865\u4EA4\u540E\u4E0D\u53EF\u5173\u95ED\uFF0C\u8865\u4EA4\u65B9\u5F0F\u63D0\u4EA4\u4FDD\u5B58\u540E\u4E0D\u53EF\u4FEE\u6539\uFF1B"),fe.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),fe.createElement("div",null,"3.\u73ED\u7EA7\u9636\u6BB5\u8FDB\u5165\u201C\u8865\u4EA4\u4E2D\u201D\u5219\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3002"))}),He.allow_late=!He.allow_late,xt==""&&Ae([{late_penalty:5}]),ct(Object.assign({},He))}},fe.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(He==null?void 0:He.allow_late)&&fe.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},fe.createElement("div",{style:{display:"flex"}},fe.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),fe.createElement(Ne.ZP.Group,{style:{marginLeft:"20px"},disabled:we||(gt==null?void 0:gt.anonymous_comment)||(gt==null?void 0:gt.allow_late),value:He.unified_late,onChange:Tt=>{var Xt;if((0,re.Rm)()&&!((Xt=St.AssistantObject.practice)!=null&&Xt.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}He.unified_late=Tt.target.value,xt==""&&!Tt.target.value&&Ae([{penalty_type:ne.Q.Percent,late_penalty:20}]),ct($e({},He))}},(He==null?void 0:He.unified_setting)&&fe.createElement(Ne.ZP,{value:!0,disabled:!(gt!=null&&gt.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((Le=gt==null?void 0:gt.group_settings)==null?void 0:Le.length)>0&&fe.createElement(Ne.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),He!=null&&He.unified_late?fe.createElement(fe.Fragment,null,fe.createElement(ie.Z,{align:"middle",style:{marginTop:"10px"}},fe.createElement(nt.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),fe.createElement(nt.Z,{className:"ml20"},fe.createElement(ne.Z,{disabled:we||an,value:{type:He.penalty_type,inputValue:He.late_penalty},onChange:Tt=>{var Xt;if((0,re.Rm)()&&!((Xt=St.AssistantObject.practice)!=null&&Xt.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ct(Ke($e({},He),{late_penalty:Tt.inputValue,penalty_type:Tt.type}))}})),fe.createElement(nt.Z,{flex:"1",className:"ml5"},fe.createElement("span",{className:"c-grey-c ml10"},He.penalty_type===ne.Q.Number?"(\u8865\u4EA4\u65F6\u6309\u7167\u5B66\u751F\u603B\u6210\u7EE9\u6263\u5206)":"(\u5B66\u751F\u6700\u7EC8\u5F97\u5206=\u8865\u4EA4\u524D\u5F97\u5206+\u8865\u4EA4\u9636\u6BB5\u589E\u52A0\u7684\u5206\u503C*\uFF08100%-\u767E\u5206\u6BD4%\uFF09)"))),fe.createElement(ie.Z,{align:"middle",style:{marginTop:"15px"}},fe.createElement(nt.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),fe.createElement(nt.Z,{className:"ml20"},fe.createElement(se.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ye()((0,E.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:we||an,value:He.late_time?ye()(He.late_time):"",disabledDate:Tt=>rt(Tt,gt==null?void 0:gt.course_end_date),onChange:(Tt,Xt)=>{var Ea;if((0,re.Rm)()&&!((Ea=St.AssistantObject.practice)!=null&&Ea.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}He.late_time=Xt,ct(Object.assign({},He))}})))):xt.map(function(Tt,Xt){var Ea;return fe.createElement(nt.Z,{span:24,key:Xt},fe.createElement(ie.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},fe.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",Xt+1),fe.createElement(he.default,{disabled:we||!((Ea=Ge==null?void 0:Ge.homework_status)!=null&&Ea.includes("\u672A\u53D1\u5E03"))&&Tt.id||(gt==null?void 0:gt.anonymous_comment),mode:"multiple",className:x.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof Tt.group_name=="string"?[Tt.group_name]:Tt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:qn=>{var Mn;if((0,re.Rm)()&&!((Mn=St.AssistantObject.practice)!=null&&Mn.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}xt[Xt].group_name=qn,xt[Xt].group_id=Tt.group_id,Ae(xt.slice())}},gt.group_settings&&gt.group_settings.map(function(qn){const Mn=xt.map(La=>La.group_name).flat(),Ga=Se.map(La=>La.group_name).flat();if(He!=null&&He.unified_setting){if(!Mn.includes(qn.group_name))return fe.createElement($t,{value:qn.group_name,key:qn.id},qn.group_name)}else if(Ga.includes(qn.group_name)&&!Mn.includes(qn.group_name))return fe.createElement($t,{value:qn.group_name,key:qn.id},qn.group_name)})),fe.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),fe.createElement(ne.Z,{disabled:we||Un(Tt.id),value:{type:Tt.penalty_type,inputValue:Tt.late_penalty},onChange:qn=>{var Mn;if((0,re.Rm)()&&!((Mn=St.AssistantObject.practice)!=null&&Mn.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}xt[Xt].late_penalty=qn.inputValue,xt[Xt].penalty_type=qn.type,Ae([...xt])}}),fe.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),fe.createElement(se.default,{size:"large",disabled:we||Un(Tt.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:ye()((0,E.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:qn=>rt(qn,gt==null?void 0:gt.course_end_date),format:"YYYY-MM-DD HH:mm",value:Tt!=null&&Tt.late_time?ye()(Tt.late_time):void 0,onChange:(qn,Mn)=>{var Ga;if((0,re.Rm)()&&!((Ga=St.AssistantObject.practice)!=null&&Ga.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}xt[Xt].late_time=Mn,Ae([...xt])}}),!we&&fe.createElement("div",{style:{display:"flex",width:"50px"}},fe.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var qn;if((0,re.Rm)()&&!((qn=St.AssistantObject.practice)!=null&&qn.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ae(xt.concat({penalty_type:ne.Q.Percent,late_penalty:20}))}}),Xt>0&&!Tt.id&&fe.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var qn;if((0,re.Rm)()&&!((qn=St.AssistantObject.practice)!=null&&qn.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}xt=xt.filter((Mn,Ga)=>Xt!==Ga),Ae(xt.slice()),setTimeout(()=>Ae(xt.slice()),10)}}))))})),!we&&fe.createElement(fe.Fragment,null,fe.createElement(ze.ZP,{type:"primary",size:"large",loading:et,style:{width:"138px",marginTop:"30px"},onClick:()=>yt()},"\u4FDD\u5B58")),fe.createElement(ae.Z,{onConfirm:(Tt,Xt)=>{Se.splice(Tt,0,...Xt),Se.splice(Tt+Xt.length,1);const Ea=(0,E.QE)([...Se]);ut([...Ea])}}),fe.createElement(ue.Z,{resdata:wt,type:"shixun",okloading:et,oktext:(wt==null?void 0:wt.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:Tt=>Ve(void 0,null,function*(){Ht(!0);let Xt=yield(0,a.ZP)(`/api/courses/${ft.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(ft.categoryId)]}});Ht(!1),(Xt==null?void 0:Xt.status)===0&&en(mn)})}))};Pt.ZP=(0,ee.connect)(({shixunHomeworks:st,classroomList:At,loading:Nt,user:St})=>({shixunHomeworks:st,classroomList:At,loading:Nt.effects,user:St}))(Je)},27523:function(Ct,Pt,te){"use strict";var z=te(59301),se=te(54580),he=te(78241),Ie=te(43418),be=te(8591),Ne=te(1710),ie=te(6075),nt=te(41510),je=te(56584),Ze=te(23789),ze=te(66649),Me=te.n(ze),ye=te(21331),re=te(59301),a=Object.defineProperty,y=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,x=(ue,me,fe)=>me in ue?a(ue,me,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ue[me]=fe,ee=(ue,me)=>{for(var fe in me||(me={}))b.call(me,fe)&&x(ue,fe,me[fe]);if(y)for(var fe of y(me))E.call(me,fe)&&x(ue,fe,me[fe]);return ue},ne=(ue,me,fe)=>new Promise((Pe,xe)=>{var Ee=pt=>{try{_e(fe.next(pt))}catch(Be){xe(Be)}},De=pt=>{try{_e(fe.throw(pt))}catch(Be){xe(Be)}},_e=pt=>pt.done?Pe(pt.value):Promise.resolve(pt.value).then(Ee,De);_e((fe=fe.apply(ue,me)).next())});const{Dragger:oe}=se.default,ae=({classroomList:ue,dispatch:me,onOk:fe})=>{const Pe=(0,ie.useParams)(),[xe]=he.default.useForm(),[Ee,De]=(0,z.useState)(),[_e,pt]=(0,z.useState)(!1),Be={height:100,onRemove:()=>{De("")},accept:".xls,.xlsx",multiple:!1,maxCount:1,beforeUpload:$e=>ne(void 0,null,function*(){return De($e),!1})};return(0,z.useEffect)(()=>{xe.setFieldsValue({publish_time:Me()(Me()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:Me()(Me()(new Date((0,ye.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),re.createElement(Ie.default,{centered:!0,title:"\u8865\u5145\u6210\u7EE9",open:ue.actionTabs.key==="\u8865\u5145\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:_e},onOk:()=>ne(void 0,null,function*(){xe.submit()}),onCancel:()=>{xe.resetFields(),me({type:"classroomList/setActionTabs",payload:{}})}},re.createElement(he.default,{form:xe,onFinish:$e=>ne(void 0,null,function*(){var Ke,Ve,it;if(!(Ee!=null&&Ee.size)){be.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}pt(!0);let rt=new FormData;rt.append("type",ue.actionTabs.type),rt.append("file",Ee);let vt;window.location.href.indexOf("exercise")>-1?vt=`/api/exercises/${ue.actionTabs.id}/supplement_score.json`:vt=`/api/homework_commons/${ue.actionTabs.id}/supplement_score.json`;let Rt=yield(0,Ze.ZP)(vt,{method:"post",body:rt},!0);pt(!1),(Rt==null?void 0:Rt.status)===0&&(fe(),xe.resetFields(),me({type:"classroomList/setActionTabs",payload:{}}),((Ve=(Ke=Rt==null?void 0:Rt.data)==null?void 0:Ke.fail)==null?void 0:Ve.length)>0&&Ie.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:re.createElement(Ne.default,{pagination:!1,dataSource:(it=Rt==null?void 0:Rt.data)==null?void 0:it.fail,scroll:{y:400},columns:[{title:"\u59D3\u540D",align:"left",dataIndex:"name"},{title:"\u5B66\u53F7/\u624B\u673A\u53F7/\u90AE\u7BB1",align:"left",dataIndex:"student_id"},{title:"\u5BFC\u5165\u5931\u8D25\u539F\u56E0",align:"left",dataIndex:"message"}]}),okText:"\u4E0B\u8F7D\u5BFC\u5165\u5931\u8D25\u6587\u4EF6",cancelText:"\u53D6\u6D88",onOk:()=>{(0,ye.FH)("",nt.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${ue.actionTabs.type}`)}}))})},re.createElement(he.default.Item,{label:"\u4F5C\u4E1A\u540D\u79F0",labelCol:{span:3},name:"name"},ue.actionTabs.name),re.createElement(he.default.Item,{style:{marginBottom:0},label:re.createElement("div",null,re.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),re.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},re.createElement("div",null,re.createElement("a",{download:"\u6A21\u7248.xlsx",className:je.Z.downloadbutton,href:nt.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${ue.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),re.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),re.createElement(he.default.Item,{style:{marginBottom:0}},re.createElement(oe,ee({},Be),re.createElement("a",{className:je.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),re.createElement("br",null),re.createElement("span",{style:{color:"#999999"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u66F3\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xls\u3001.xlsx"))))))};Pt.Z=(0,ie.connect)(({classroomList:ue})=>({classroomList:ue}))(ae)},20809:function(Ct,Pt,te){"use strict";var z=te(59301),se=te(54580),he=te(78241),Ie=te(99313),be=te(1710),Ne=te(58421),ie=te(6075),nt=te(23789),je=te(66649),Ze=te.n(je),ze=te(59301),Me=(a,y,b)=>new Promise((E,x)=>{var ee=ae=>{try{oe(b.next(ae))}catch(ue){x(ue)}},ne=ae=>{try{oe(b.throw(ae))}catch(ue){x(ue)}},oe=ae=>ae.done?E(ae.value):Promise.resolve(ae.value).then(ee,ne);oe((b=b.apply(a,y)).next())});const{Dragger:ye}=se.default,re=({})=>{const a=(0,ie.useParams)(),[y]=he.default.useForm(),[b,E]=(0,z.useState)(!0),[x,ee]=(0,z.useState)(!1);let[ne,oe]=(0,z.useState)({type:window.location.href.indexOf("program_homework")>-1?2:1,limit:10,page:1});const ae=[{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}];function ue(){return Me(this,null,function*(){let fe;ee(!0),window.location.href.indexOf("exercise")>-1?fe=`/api/exercises/${a==null?void 0:a.categoryId}/redo_logs.json`:fe=`/api/homework_commons/${a==null?void 0:a.categoryId}/redo_logs.json`;let Pe=yield(0,nt.ZP)(fe,{method:"get",params:ne});ee(!1),(Pe==null?void 0:Pe.status)===0&&E(Pe==null?void 0:Pe.data)})}(0,z.useEffect)(()=>{ue()},[]);let me=[{title:"\u59D3\u540D",dataIndex:"user_name"},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u73ED\u7EA7",dataIndex:"course_group_name"},window.location.href.indexOf("exercise")>-1&&{title:"\u9898\u578B",dataIndex:"question_type",render:(fe,Pe,xe)=>{var Ee;return(Ee=ae.find(De=>De.question_type===fe))==null?void 0:Ee.name}},window.location.href.indexOf("exercise")>-1&&{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"question_name"},window.location.href.indexOf("exercise")>-1&&{title:"\u5173\u5361\u540D\u79F0",dataIndex:"challenge_name"},window.location.href.indexOf("exercise")<=-1&&{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"task_name",width:"40%"},{title:"\u64CD\u4F5C",dataIndex:"redo_type",render:(fe,Pe,xe)=>{var Ee;return(Ee=[{id:1,name:"\u6253\u56DE\u91CD\u505A"},{id:2,name:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},{id:3,name:"\u91CD\u7F6E\u4EE3\u7801\u4ED3\u5E93"}].find(De=>De.id===fe))==null?void 0:Ee.name}},{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(fe,Pe,xe)=>Ze()(fe).format("YYYY-MM-DD HH:mm:ss")}].filter(fe=>!!fe);return ze.createElement("div",{style:{padding:"0px 30px",background:"#fff",paddingBottom:30}},ze.createElement(Ie.default,{destroyInactiveTabPane:!0,onChange:fe=>{ne.type=fe,ne.page=1,ne.limit=10,oe(ne),ue()},items:[window.location.href.indexOf("program_homework")<=-1&&{key:"1",label:"\u6253\u56DE\u91CD\u505A",children:ze.createElement(be.default,{className:"mt20",loading:x,columns:[{title:"\u59D3\u540D",dataIndex:"user_name"},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u73ED\u7EA7",dataIndex:"course_group_name"},{title:"\u6253\u56DE\u91CD\u505A\u65F6\u95F4",dataIndex:"created_at",render:(fe,Pe,xe)=>Ze()(fe).format("YYYY-MM-DD HH:mm:ss")},{title:"\u64CD\u4F5C\u4EBA",dataIndex:"operator"}],dataSource:b==null?void 0:b.list,pagination:!1})},{key:"2",label:"\u91CD\u7F6E\u4EE3\u7801",children:ze.createElement(be.default,{className:"mt20",loading:x,columns:me,dataSource:b==null?void 0:b.list,pagination:!1})}].filter(fe=>!!fe)}),ze.createElement(Ne.Z,{hideOnSinglePage:!0,showSizeChanger:!1,onChange:(fe,Pe)=>{ne.page=fe,ne.limit=Pe,oe(ne),ue()},current:ne.page,total:b.count,pageSize:ne.limit,style:{marginTop:20}}))};Pt.Z=(0,ie.connect)(({classroomList:a})=>({classroomList:a}))(re)},68001:function(Ct,Pt,te){"use strict";var z=te(59301),se=te(54580),he=te(78241),Ie=te(43418),be=te(5871),Ne=te(6075),ie=te(23789),nt=te(66649),je=te.n(nt),Ze=te(21331),ze=te(59301),Me=Object.defineProperty,ye=Object.defineProperties,re=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(ue,me,fe)=>me in ue?Me(ue,me,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ue[me]=fe,x=(ue,me)=>{for(var fe in me||(me={}))y.call(me,fe)&&E(ue,fe,me[fe]);if(a)for(var fe of a(me))b.call(me,fe)&&E(ue,fe,me[fe]);return ue},ee=(ue,me)=>ye(ue,re(me)),ne=(ue,me,fe)=>new Promise((Pe,xe)=>{var Ee=pt=>{try{_e(fe.next(pt))}catch(Be){xe(Be)}},De=pt=>{try{_e(fe.throw(pt))}catch(Be){xe(Be)}},_e=pt=>pt.done?Pe(pt.value):Promise.resolve(pt.value).then(Ee,De);_e((fe=fe.apply(ue,me)).next())});const{Dragger:oe}=se.default,ae=({classroomList:ue,dispatch:me,onOk:fe})=>{const Pe=(0,Ne.useParams)(),[xe]=he.default.useForm(),[Ee,De]=(0,z.useState)(),[_e,pt]=(0,z.useState)(!1),Be={height:100,onRemove:()=>{De("")},accept:".xls,.xlsx",multiple:!1,beforeUpload:$e=>ne(void 0,null,function*(){return De($e),!1})};return(0,z.useEffect)(()=>{xe.setFieldsValue({publish_time:je()(je()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:je()(je()(new Date((0,Ze.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),ze.createElement(Ie.default,{centered:!0,title:"\u4FEE\u6539\u6210\u7EE9",open:ue.actionTabs.key==="\u4FEE\u6539\u6210\u7EE9",okText:"\u786E\u5B9A",width:600,cancelText:"\u53D6\u6D88",okButtonProps:{loading:_e},onOk:()=>ne(void 0,null,function*(){xe.submit()}),onCancel:()=>{xe.resetFields(),me({type:"classroomList/setActionTabs",payload:{}})}},ze.createElement(he.default,{form:xe,onFinish:$e=>ne(void 0,null,function*(){var Ke,Ve;console.log("---",ue.actionTabs,$e,Pe);let it=((Ke=ue==null?void 0:ue.actionTabs)==null?void 0:Ke.type)==="exercise"?`/api/exercises/${Pe==null?void 0:Pe.category}/exercise_user/edit_score.json`:`/api/student_works/${ue.actionTabs.id}/edit_score.json`;pt(!0);let rt=yield(0,ie.ZP)(it,{method:"post",body:ee(x({},$e),{exercise_user_id:((Ve=ue==null?void 0:ue.actionTabs)==null?void 0:Ve.type)==="exercise"?ue.actionTabs.id:""})});pt(!1),xe.resetFields(),me({type:"classroomList/setActionTabs",payload:{}}),fe()})},ze.createElement(he.default.Item,{label:"\u6700\u7EC8\u6210\u7EE9",style:{marginBottom:0},name:"score",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6700\u7EC8\u6210\u7EE9"}]},ze.createElement(be.Z,{min:0,style:{width:"100%"}}))))};Pt.Z=(0,Ne.connect)(({classroomList:ue})=>({classroomList:ue}))(ae)},76435:function(Ct,Pt,te){"use strict";var z=te(59301),se=te(54580),he=te(78241),Ie=te(3113),be=te(95237),Ne=te(81327),ie=te(5083),nt=te(6075),je=te(66649),Ze=te.n(je),ze=te(16286),Me=te(23789),ye=te(59301),re=(b,E,x)=>new Promise((ee,ne)=>{var oe=me=>{try{ue(x.next(me))}catch(fe){ne(fe)}},ae=me=>{try{ue(x.throw(me))}catch(fe){ne(fe)}},ue=me=>me.done?ee(me.value):Promise.resolve(me.value).then(oe,ae);ue((x=x.apply(b,E)).next())});const{Dragger:a}=se.default,y=({})=>{const b=(0,nt.useParams)(),[E]=he.default.useForm(),[x,ee]=(0,z.useState)(!0),[ne,oe]=(0,z.useState)(!1);console.log("----",b);function ae(){return re(this,null,function*(){var ue,me;let fe;window.location.href.indexOf("exercise")>-1?fe=`/api/exercises/${b==null?void 0:b.categoryId}/get_time_setting.json`:fe=`/api/homework_commons/${b==null?void 0:b.categoryId}/get_time_setting.json`;let Pe=yield(0,Me.ZP)(fe,{method:"get"});(Pe==null?void 0:Pe.status)===0&&E.setFieldsValue({publish_time:Ze()(Ze()((ue=Pe==null?void 0:Pe.data)==null?void 0:ue.publish_time).format("YYYY-MM-DD HH:mm")),end_time:Ze()(Ze()((me=Pe==null?void 0:Pe.data)==null?void 0:me.end_time).format("YYYY-MM-DD HH:mm"))})})}return(0,z.useEffect)(()=>{ae()},[]),ye.createElement("div",{style:{padding:"50px 30px",background:"#fff"}},ye.createElement("div",{style:{textAlign:"end"}},x&&ye.createElement(Ie.ZP,{onClick:()=>{ee(!1)}},"\u7F16\u8F91\u8BBE\u7F6E"),!x&&ye.createElement("div",null,ye.createElement(Ie.ZP,{type:"primary",loading:ne,onClick:()=>{E.submit()}},"\u63D0\u4EA4"),ye.createElement(Ie.ZP,{style:{marginLeft:20},onClick:()=>{ee(!0)}},"\u53D6\u6D88"))),ye.createElement(he.default,{form:E,disabled:x,onFinish:ue=>re(void 0,null,function*(){oe(!0),console.log("---",window.location.href);let me;window.location.href.indexOf("exercise")>-1?me=`/api/exercises/${b==null?void 0:b.categoryId}/time_setting.json`:me=`/api/homework_commons/${b==null?void 0:b.categoryId}/time_setting.json`;let fe=yield(0,Me.ZP)(me,{method:"post",body:{publish_time:Ze()(ue.publish_time).format("YYYY-MM-DD HH:mm"),end_time:Ze()(ue.end_time).format("YYYY-MM-DD HH:mm")}});oe(!1),(fe==null?void 0:fe.status)===0&&ee(!0)})},ye.createElement(be.Z,null,ye.createElement(Ne.Z,null,ye.createElement(he.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"publish_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}]},ye.createElement(ie.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:260},size:"large",disabledDate:ue=>(0,ze.Q8)(ue),disabledTime:ue=>(0,ze.d0)(ue),allowClear:!1,format:"YYYY-MM-DD HH:mm"})),ye.createElement("span",{style:{color:"#999999",fontSize:"14px",height:40,marginBottom:8,display:"block"}},"\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u7684\u65F6\u95F4\uFF09"))),ye.createElement(be.Z,null,ye.createElement(Ne.Z,null,ye.createElement(he.default.Item,{label:"\u7ED3\u675F\u65F6\u95F4",name:"end_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4"}]},ye.createElement(ie.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:260},size:"large",disabledDate:ue=>(0,ze.Q8)(ue,"",E.getFieldValue("publish_time")),disabledTime:ue=>(0,ze.d0)(ue,E.getFieldValue("publish_time")),allowClear:!1,format:"YYYY-MM-DD HH:mm"})),ye.createElement("span",{style:{color:"#999999",fontSize:"14px",height:40,marginBottom:8,display:"block"}},"\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9\uFF09")))))};Pt.Z=(0,nt.connect)(({classroomList:b})=>({classroomList:b}))(y)},44470:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return Ze}});var z=te(59301),se=te(92832),he=te(24905),Ie=te(95237),be={leftdiv:"leftdiv___aBzsX",listClass:"listClass___bxIEW",spantitle:"spantitle___v_Vc4",rightdiv:"rightdiv___xWu4M"},Ne="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",ie=te(41625),nt=(ze,Me,ye)=>new Promise((re,a)=>{var y=x=>{try{E(ye.next(x))}catch(ee){a(ee)}},b=x=>{try{E(ye.throw(x))}catch(ee){a(ee)}},E=x=>x.done?re(x.value):Promise.resolve(x.value).then(y,b);E((ye=ye.apply(ze,Me)).next())}),Ze=({data:ze,value:Me=[],handleChangePage:ye,setSelectedRowKeys:re,selectedRowKeys:a,onChange:y=()=>{}})=>{const[b,E]=(0,z.useState)([]),[x,ee]=(0,z.useState)([]),[ne,oe]=(0,z.useState)([]);let[ae,ue]=(0,z.useState)(1),[me,fe]=(0,z.useState)();return(0,z.useEffect)(()=>{E(ze),ee([]),oe([])},[ze]),(0,z.useEffect)(()=>{re&&(ee(a),oe(a))},[a]),z.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},z.createElement("div",{className:be.leftdiv},z.createElement(se.default.Search,{size:"middle",onChange:Pe=>nt(void 0,null,function*(){E(ze.filter(xe=>{var Ee;return(Ee=xe==null?void 0:xe.name)==null?void 0:Ee.includes(Pe.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),b.length===0&&z.createElement(ie.Z,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),z.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},z.createElement(he.default.Group,{value:x.map(Pe=>`${Pe.id}`),onChange:Pe=>{re(b.filter(xe=>Pe.includes(`${xe.id}`)))},style:{marginTop:"10px",flexDirection:"column"}},b.map((Pe,xe)=>z.createElement(Ie.Z,{key:Pe.id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},z.createElement(he.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:Pe.is_published,value:`${Pe.id}`},z.createElement("div",{className:be.listClass},z.createElement("span",{className:be.spantitle,style:{width:Pe.is_published?"108px":"170px"}},Pe.name),Pe.is_published&&z.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),z.createElement("div",{className:be.rightdiv},z.createElement(se.default.Search,{onChange:Pe=>{oe(x.filter(xe=>xe.name.includes(Pe.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),ne.length===0&&z.createElement(ie.Z,{styles:{margin:"70px auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),ne.length>0&&z.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},z.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},ne.map((Pe,xe)=>z.createElement(Ie.Z,{justify:"space-between",style:{marginTop:"10px"},key:Pe.id},z.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},Pe.name),z.createElement("img",{src:Ne,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{re(x.filter(Ee=>`${Ee.id}`!=`${Pe.id}`))}})))))))}},99206:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return y}});var z=te(59301),se=te(6075),he=te(5083),Ie=te(43418),be=te(92832),Ne=te(95237),ie=te(43604),nt={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},je=te(66649),Ze=te.n(je),ze=te(21331),Me=te(41625),ye=te(59301);const{RangePicker:re}=he.default,a=({dispatch:b,classroomList:E,onConfirm:x})=>{const[ee,ne]=(0,z.useState)([]),[oe,ae]=(0,z.useState)([]),[ue,me]=(0,z.useState)("");(0,z.useEffect)(()=>{var xe;if(E.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){let Ee=E.actionTabs.data;console.log("data",Ee);let De=(xe=Ee==null?void 0:Ee.group_name)==null?void 0:xe.map((_e,pt)=>{var Be;return{group_id:Ee==null?void 0:Ee.group_id[pt],group_name:Ee==null?void 0:Ee.group_name[pt],is_admin:Ee==null?void 0:Ee.is_admin,end_time:Ee==null?void 0:Ee.end_time,publish_time:Array.isArray(Ee==null?void 0:Ee.publish_time)?(Be=Ee==null?void 0:Ee.publish_time)==null?void 0:Be[0]:Ee==null?void 0:Ee.publish_time}});De&&(ne([...De]),ae([...De]))}},[E.actionTabs]);const fe=()=>{b({type:"classroomList/setActionTabs",payload:{}}),me("")},Pe=xe=>{if(xe){const Ee=oe==null?void 0:oe.filter(De=>{var _e,pt;return(pt=(_e=De==null?void 0:De.group_name)==null?void 0:_e.toLowerCase())==null?void 0:pt.includes(xe==null?void 0:xe.toLowerCase())});ne(Ee)}else ne(oe)};return ye.createElement(Ie.default,{width:980,title:ye.createElement("div",{style:{fontWeight:"bold",display:"flex"}},ye.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",ye.createElement("span",{className:nt.title_tooltip},"\uFF08\u5F53\u5206\u73ED\u53D1\u5E03\u65F6\u95F4\u548C\u622A\u6B62\u65F6\u95F4\u4E0D\u76F8\u540C\u65F6\u5019\uFF0C\u73ED\u7EA7\u81EA\u52A8\u62C6\u5206\u51FA\u53BB\u65B0\u8D77\u89C4\u5219\uFF09")),ye.createElement(be.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:ue,onChange:xe=>{me(xe.target.value.trim()),Pe(xe.target.value.trim())}})),centered:!0,maskClosable:!1,open:E.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",onCancel:()=>fe(),onOk:()=>{var xe;x((xe=E.actionTabs)==null?void 0:xe.index,oe),fe()}},ye.createElement("div",{className:nt.modal_con},ye.createElement(Ne.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(ee==null?void 0:ee.length)>0?ee.map(function(xe,Ee){var De,_e;return ye.createElement(ie.Z,{span:24,key:Ee},ye.createElement(Ne.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Ee==(ee==null?void 0:ee.length)-1?"0px":"10px"}},ye.createElement("div",{className:nt.multiple_select,title:xe.group_name},xe.group_name),ye.createElement("div",{className:"ml20"},ye.createElement(re,{size:"large",ranges:{\u6B64\u523B:[xe.publish_time?Ze()(xe.publish_time):Ze()(),Ze()()]},allowClear:!1,disabled:(De=E.actionTabs)==null?void 0:De.rangePickerDisabled,style:{width:600},placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:pt=>{var Be;return(0,ze.Q8)(pt,(Be=E.actionTabs)==null?void 0:Be.disabledDate)},disabledTime:pt=>(0,ze.d0)(pt),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Ze()((0,ze.U6)(),"HH:mm"),Ze()((0,ze.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:xe.publish_time&&[Ze()(xe.publish_time),xe.end_time?Ze()(xe.end_time):void 0],onChange:(pt,Be)=>{ee[Ee].publish_time=Be[0],ee[Ee].end_time=Be[1],ne([...ee]),oe.forEach($e=>{$e.group_id===xe.group_id&&($e.publish_time=Be[0],$e.end_time=Be[1])}),ae([...oe])}})),(_e=E.actionTabs)!=null&&_e.rangePickerDisabled?ye.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):ye.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{ee.splice(Ee,1),ne([...ee]),oe.forEach((pt,Be)=>{pt.group_id===xe.group_id&&oe.splice(Be,1)}),ae([...oe])}})))}):ye.createElement(Me.Z,null))))};var y=(0,se.connect)(({classroomList:b})=>({classroomList:b}))(a)},40253:function(Ct,Pt,te){"use strict";te.d(Pt,{AD:function(){return pt},BA:function(){return Jn},D9:function(){return rt},Hp:function(){return ae},IM:function(){return Rt},Iy:function(){return ue},KM:function(){return Hn},KU:function(){return At},MJ:function(){return me},Ne:function(){return vt},ON:function(){return St},Uj:function(){return Qt},VY:function(){return st},YO:function(){return Fe},YX:function(){return sn},Zn:function(){return a},_g:function(){return ee},_k:function(){return Ve},c6:function(){return De},cr:function(){return y},eV:function(){return _e},fi:function(){return b},gh:function(){return xe},hS:function(){return $t},iA:function(){return E},j6:function(){return ne},jj:function(){return oe},kS:function(){return Nt},o6:function(){return Ee},pO:function(){return Gt},rQ:function(){return Be},sA:function(){return Pe},xm:function(){return it},xo:function(){return Je},y8:function(){return $e},yd:function(){return x}});var z=te(24779),se=te(6075),he=te(21331),Ie=te(8591),be=te(41510),Ne=Object.defineProperty,ie=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,Ze=(Re,qe,tt)=>qe in Re?Ne(Re,qe,{enumerable:!0,configurable:!0,writable:!0,value:tt}):Re[qe]=tt,ze=(Re,qe)=>{for(var tt in qe||(qe={}))nt.call(qe,tt)&&Ze(Re,tt,qe[tt]);if(ie)for(var tt of ie(qe))je.call(qe,tt)&&Ze(Re,tt,qe[tt]);return Re},Me=(Re,qe,tt)=>new Promise((Le,ft)=>{var gt=Ge=>{try{ve(tt.next(Ge))}catch(We){ft(We)}},Oe=Ge=>{try{ve(tt.throw(Ge))}catch(We){ft(We)}},ve=Ge=>Ge.done?Le(Ge.value):Promise.resolve(Ge.value).then(gt,Oe);ve((tt=tt.apply(Re,qe)).next())});const ye=()=>{(0,se.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},re=()=>{(0,se.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},a=Re=>Me(void 0,null,function*(){ye(),(yield(0,z.YR)(ze({},Re))).status===0&&(yield(0,he.QH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/courses/${Re.coursesId}/export_couser_info.json`,query:Re}))),re()}),y=Re=>Me(void 0,null,function*(){const qe=yield(0,z.yS)(ze({},Re));if(qe.status===0)Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_member_act_score`);else{if(qe.status===-2)return qe;qe.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_member_act_score`))}}),b=Re=>Me(void 0,null,function*(){const qe=yield(0,z.W0)(ze({},Re));if(qe.status===0)Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_score`);else{if(qe.status===-4)return qe;qe.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_score`))}}),E=Re=>Me(void 0,null,function*(){const qe=yield(0,z.Nl)(ze({},Re));if(qe.status===0)Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`);else{if(qe.status===-4)return qe;qe.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`))}}),x=Re=>Me(void 0,null,function*(){const qe=yield(0,z.IU)(ze({},Re));if(qe.status===0)Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/export_star_user`);else{if(qe.status===-4)return qe;qe.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/export_star_user`))}}),ee=Re=>Me(void 0,null,function*(){const qe=yield(0,z.td)(ze({},Re));if(qe.status===0)Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`);else{if(qe.status===-2)return qe;if(qe.status===-3)(0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`);else if(qe.status===-4)return qe}}),ne=Re=>Me(void 0,null,function*(){const qe=yield(0,z.QX)(ze({},Re));if(qe.status===0)Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_homework`);else{if(qe.status===-4)return qe;qe.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_homework`))}}),oe=(Re,qe)=>Me(void 0,null,function*(){const tt=yield(0,z.o_)(ze({},Re));tt.status===0?(Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`)):tt.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`))}),ae=(Re,qe)=>Me(void 0,null,function*(){const tt=yield(0,z.ZL)(ze({},Re));tt.status===0?(Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`)):tt.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`))}),ue=(Re,qe)=>Me(void 0,null,function*(){const tt=yield(0,z.aP)(ze({},Re));tt.status===0?(Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`)):tt.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`))}),me=(Re,qe)=>Me(void 0,null,function*(){const tt=yield(0,z.vV)(ze({},Re));tt.status===0?(Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`)):tt.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`))}),fe=Re=>Me(void 0,null,function*(){ye(),(yield exportCourseWorkListAppendix(ze({},Re))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${Re.categoryId}/works_list.zip`,query:Re}))),re()}),Pe=Re=>Me(void 0,null,function*(){ye(),yield(0,he.QH)("",be.Z.API_SERVER+`/api/polls/${Re.categoryId}/commit_result.xlsx`),re()}),xe=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/courses/${Re.coursesId}/attendances/export_xlsx_data.xlsx`,query:Re}))}),Ee=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/courses/${Re.coursesId}/video_study_statics.xlsx`,query:Re}))}),De=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/courses/${Re.coursesId}/export_video_study.xlsx`,query:Re}))}),_e=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/courses/${Re.coursesId}/export_course_students_info.xlsx`,query:Re}))}),pt=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+"/api/school_manages/students.xlsx",query:Re}))}),Be=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+"/api/item_banks/export.xlsx",query:Re}))}),$e=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:Re}))}),Ke=Re=>Me(void 0,null,function*(){const qe=yield exportExerciseStudentScores(ze({},Re));qe.status===0?(message.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),history.push(`/classrooms/${Re.coursesId}/exportlist/exercise_score,export_exercise_users`)):qe.status===-3&&(getDvaApp()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),history.push(`/classrooms/${Re.coursesId}/exportlist/exercise_score,export_exercise_users`))}),Ve=Re=>Me(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/export_records/${Re.id}.xlsx`,query:Re}))}),it=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:Re}))}),rt=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/courses/${Re==null?void 0:Re.coursesId}/${Re.menuKey}_statistic.xlsx?${Re.checkedList.map(qe=>`course_group_id[]=${qe}`).join("&")}`,query:Re}))}),vt=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/ec_years/${Re==null?void 0:Re.ec_year_id}/ec_training_objectives.xlsx`,query:Re}))}),Rt=Re=>Me(void 0,null,function*(){yield(0,he.FH)(Re==null?void 0:Re.name,(0,he.NY)({url:be.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:Re}))}),$t=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/ec_years/${Re==null?void 0:Re.ec_year_id}/ec_courses.xlsx`,query:Re}))}),Je=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/ec_years/${Re==null?void 0:Re.ec_year_id}/ec_graduation_requirements.xlsx`,query:Re}))}),st=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:Re}))}),At=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/exercises/${Re.categoryId}/rank_list.xlsx`,query:Re}))}),Nt=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:Re}))}),St=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/examination_banks/${Re.id}.json`,query:Re}))}),sn=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/exercises/${Re.categoryId}.json`,query:Re}))}),Fe=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/polls/${Re==null?void 0:Re.id}/commit_result.json`,query:Re}))}),Qt=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+"/api/paths/get_task_pass.json",query:Re}))}),Gt=(Re,qe)=>Me(void 0,null,function*(){yield(0,he.FH)(qe||"",(0,he.NY)({url:be.Z.API_SERVER+`/api/exercises/${Re==null?void 0:Re.exercise_id}/consult_exercise.json`,query:Re}))}),Hn=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/competitions/${Re==null?void 0:Re.identifier}/competition_commit_records/member_works.xlsx`,query:Re}))}),Jn=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/courses/${Re==null?void 0:Re.coursesId}/group_homeworks/import_group_template.xlsx`,query:Re}))})},36973:function(Ct,Pt,te){"use strict";te.d(Pt,{BU:function(){return se},Dj:function(){return z},gH:function(){return he},vp:function(){return Ie}});function z(be){try{be.mozRequestFullScreen?be.mozRequestFullScreen():be.webkitRequestFullScreen&&be.webkitRequestFullScreen()}catch(Ne){console.log(Ne,":e")}}function se(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const he=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function Ie(){var be=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,Ne=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",be),window.isFullScreen?window.isFullScreen:be!=null}},78752:function(Ct,Pt,te){"use strict";te.d(Pt,{rX:function(){return ne},pW:function(){return oe},gy:function(){return ae},xY:function(){return ee},O5:function(){return x},tJ:function(){return re},o1:function(){return a},Rd:function(){return E}});var z=te(6075),se=te(43418),he=te(28103),Ie=te(8591),be=te(35219),Ne=te(21331),ie=te(87169),nt=te(25510),je="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgWEd4l2WNsYEwMkIYCQnYkQYhZvQYzUgzPdM908/qet26z/2+k3/ee6u6qrtrpkciOiqr/vvnn3ny5MmTJ0+efPz510ajUSMdukMO3CIcqN8i5TgsxiEHggOHAn0oCLcUBw4F+paqzsPCHAr0oQzcUhw4FOhbqjoPC3Mo0IcycEtx4FCgb6nqPCzMoUAfysAtxYFDgb6lqvOwMIcCfSgDtxQHDgX6lqrOw8IcCvShDNxSHDgU6FuqOg8LcyjQhzJwS3HgUKBvqeo8LMyhQB/KwC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oWS6XnaWoJ9Ao9teh6xFmUwP8BvOeeqRbgzD0AAAAASUVORK5CYII=",Ze=te.p+"static/newqrcode.a8740efb.png",ze=te(32637),Me=te(59301),ye=(ue,me,fe)=>new Promise((Pe,xe)=>{var Ee=pt=>{try{_e(fe.next(pt))}catch(Be){xe(Be)}},De=pt=>{try{_e(fe.throw(pt))}catch(Be){xe(Be)}},_e=pt=>pt.done?Pe(pt.value):Promise.resolve(pt.value).then(Ee,De);_e((fe=fe.apply(ue,me)).next())});const re=(ue,me=!1)=>!!(a(ue)&&y(me)),a=ue=>(0,be.bg)()?!0:(ue({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),y=(ue=!1)=>{var me;const{user:fe}=(0,z.getDvaApp)()._store.getState();return(me=fe.userInfo)!=null&&me.profile_completed?!0:(se.default.confirm({title:"\u63D0\u793A",width:530,centered:!0,content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,Ne.xg)("/account/profile/edit"),b()}}),!1)},b=()=>{se.default.success({title:"\u63D0\u793A",width:430,closable:!0,centered:!0,content:"\u5DF2\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF1F\u8BF7\u5237\u65B0\u9875\u9762",okText:"\u7ACB\u5373\u5237\u65B0",icon:null,onOk:()=>{location.reload()}})},E=()=>{se.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:Me.createElement("div",{style:{textAlign:"center"}},Me.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),Me.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:ze}),Me.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},x=()=>{var ue;const{user:me}=(0,z.getDvaApp)()._store.getState();return(ue=me.userInfo)!=null&&ue.professional_certification?!0:(se.default.confirm({title:"\u63D0\u793A",centered:!0,content:Me.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,Ne.xg)("/account/certification")}}),!1)},ee=()=>(0,be.V9)()?!0:(se.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:Me.createElement("div",{className:"tc",style:{marginLeft:-38}},Me.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),Me.createElement("img",{src:Ze,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),ne=(ue,me)=>ue?!0:(se.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:Me.createElement("div",null,Me.createElement("p",null,me||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),Me.createElement("div",{style:{marginLeft:"110px"}},Me.createElement("img",{src:je,width:200}),Me.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Ne.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),oe=ue=>{se.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:Me.createElement("div",null,Me.createElement("div",null,Me.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),Me.createElement(he.Z,null),Me.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Me.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",Me.createElement("a",null,ue),"\u5929\u3002"),Me.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Me.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),Me.createElement("div",{style:{textAlign:"center",marginTop:30}},Me.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:nt,alt:"\u4E8C\u7EF4\u7801",width:160})))})},ae=(ue,me="")=>{const{shixunsDetail:{detail:fe}}=(0,z.getDvaApp)()._store.getState();if((fe==null?void 0:fe.public)===2||(fe==null?void 0:fe.public)===1||(fe==null?void 0:fe.shixun_status)===3){let Pe="";return(fe==null?void 0:fe.public)===2&&(Pe="\u5DF2\u516C\u5F00"),(fe==null?void 0:fe.public)===1&&(Pe="\u5F85\u5BA1\u6838"),(fe==null?void 0:fe.shixun_status)===3&&(Pe="\u5DF2\u5173\u95ED"),se.default.info({centered:!0,icon:Me.createElement(ie.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:Me.createElement("div",{className:"tc",style:{marginLeft:-38}},Me.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},Me.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",Pe,"\uFF0C",me,"\u3002"),Me.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),Me.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:nt,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(fe==null?void 0:fe.shixun_status)===2?(se.default.confirm({centered:!0,icon:Me.createElement(ie.Z,null),title:"\u63D0\u793A",content:Me.createElement("div",null,Me.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",me,"\u3002"),Me.createElement("br",null),Me.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{se.default.confirm({width:440,centered:!0,icon:Me.createElement(ie.Z,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>ye(void 0,null,function*(){(yield ue({type:"shixunsDetail/cancelRelease",payload:{id:fe==null?void 0:fe.identifier}})).status!==401&&(Ie.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),ue({type:"shixunsDetail/getShixunsDetail",payload:{id:fe==null?void 0:fe.identifier}}),ue({type:"practiceSetting/getCommonData",payload:{id:fe==null?void 0:fe.identifier}}))})})}}),!0):!1}},50371:function(Ct,Pt){"use strict";function te(){const z=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let se=1;se<arguments.length;se++){const he=se<0||arguments.length<=se?void 0:arguments[se];he&&Object.keys(he).forEach(Ie=>{const be=he[Ie];be!==void 0&&(z[Ie]=be)})}return z}Pt.Z=te},13845:function(Ct,Pt,te){"use strict";te.d(Pt,{F:function(){return z},Z:function(){return se}});function z(he){return he!=null&&he===he.window}function se(he,Ie){var be,Ne;if(typeof window=="undefined")return 0;const ie=Ie?"scrollTop":"scrollLeft";let nt=0;return z(he)?nt=he[Ie?"pageYOffset":"pageXOffset"]:he instanceof Document?nt=he.documentElement[ie]:(he instanceof HTMLElement||he)&&(nt=he[ie]),he&&!z(he)&&typeof nt!="number"&&(nt=(Ne=((be=he.ownerDocument)!==null&&be!==void 0?be:he).documentElement)===null||Ne===void 0?void 0:Ne[ie]),nt}},56762:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return se}});var z=te(59301);function se(){const[,he]=z.useReducer(Ie=>Ie+1,0);return he}},68031:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return Ie}});var z=te(16089);function se(be,Ne,ie,nt){const je=ie-Ne;return be/=nt/2,be<1?je/2*be*be*be+Ne:je/2*((be-=2)*be*be+2)+Ne}var he=te(13845);function Ie(be){let Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ie=()=>window,callback:nt,duration:je=450}=Ne,Ze=ie(),ze=(0,he.Z)(Ze,!0),Me=Date.now(),ye=()=>{const a=Date.now()-Me,y=se(a>je?je:a,ze,be,je);(0,he.F)(Ze)?Ze.scrollTo(window.pageXOffset,y):Ze instanceof Document||Ze.constructor.name==="HTMLDocument"?Ze.documentElement.scrollTop=y:Ze.scrollTop=y,a<je?(0,z.Z)(ye):typeof nt=="function"&&nt()};(0,z.Z)(ye)}},66104:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return pt}});var z=te(92310),se=te.n(z),he=te(11592),Ie=te(26112),be=te(59301),Ne=te(92343),ie=te(36355),nt=te(84105),je=te(91857);const Ze=Be=>{let{children:$e}=Be;const{getPrefixCls:Ke}=be.useContext(ie.E_),Ve=Ke("breadcrumb");return be.createElement("li",{className:`${Ve}-separator`,"aria-hidden":"true"},$e===""?$e:$e||"/")};Ze.__ANT_BREADCRUMB_SEPARATOR=!0;var ze=Ze,Me=function(Be,$e){var Ke={};for(var Ve in Be)Object.prototype.hasOwnProperty.call(Be,Ve)&&$e.indexOf(Ve)<0&&(Ke[Ve]=Be[Ve]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,Ve=Object.getOwnPropertySymbols(Be);it<Ve.length;it++)$e.indexOf(Ve[it])<0&&Object.prototype.propertyIsEnumerable.call(Be,Ve[it])&&(Ke[Ve[it]]=Be[Ve[it]]);return Ke};function ye(Be,$e){if(Be.title===void 0||Be.title===null)return null;const Ke=Object.keys($e).join("|");return typeof Be.title=="object"?Be.title:String(Be.title).replace(new RegExp(`:(${Ke})`,"g"),(Ve,it)=>$e[it]||Ve)}function re(Be,$e,Ke,Ve){if(Ke==null)return null;const{className:it,onClick:rt}=$e,vt=Me($e,["className","onClick"]),Rt=Object.assign(Object.assign({},(0,Ie.Z)(vt,{data:!0,aria:!0})),{onClick:rt});return Ve!==void 0?be.createElement("a",Object.assign({},Rt,{className:se()(`${Be}-link`,it),href:Ve}),Ke):be.createElement("span",Object.assign({},Rt,{className:se()(`${Be}-link`,it)}),Ke)}function a(Be,$e){return(Ve,it,rt,vt,Rt)=>{if($e)return $e(Ve,it,rt,vt);const $t=ye(Ve,it);return re(Be,Ve,$t,Rt)}}var y=function(Be,$e){var Ke={};for(var Ve in Be)Object.prototype.hasOwnProperty.call(Be,Ve)&&$e.indexOf(Ve)<0&&(Ke[Ve]=Be[Ve]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,Ve=Object.getOwnPropertySymbols(Be);it<Ve.length;it++)$e.indexOf(Ve[it])<0&&Object.prototype.propertyIsEnumerable.call(Be,Ve[it])&&(Ke[Ve[it]]=Be[Ve[it]]);return Ke};const b=Be=>{const{prefixCls:$e,separator:Ke="/",children:Ve,menu:it,overlay:rt,dropdownProps:vt,href:Rt}=Be,Je=(st=>{if(it||rt){const At=Object.assign({},vt);if(it){const Nt=it||{},{items:St}=Nt,sn=y(Nt,["items"]);At.menu=Object.assign(Object.assign({},sn),{items:St==null?void 0:St.map((Fe,Qt)=>{var{key:Gt,title:Hn,label:Jn,path:Re}=Fe,qe=y(Fe,["key","title","label","path"]);let tt=Jn!=null?Jn:Hn;return Re&&(tt=be.createElement("a",{href:`${Rt}${Re}`},tt)),Object.assign(Object.assign({},qe),{key:Gt!=null?Gt:Qt,label:tt})})})}else rt&&(At.overlay=rt);return be.createElement(je.Z,Object.assign({placement:"bottom"},At),be.createElement("span",{className:`${$e}-overlay-link`},st,be.createElement(nt.Z,null)))}return st})(Ve);return Je!=null?be.createElement(be.Fragment,null,be.createElement("li",null,Je),Ke&&be.createElement(ze,null,Ke)):null},E=Be=>{const{prefixCls:$e,children:Ke,href:Ve}=Be,it=y(Be,["prefixCls","children","href"]),{getPrefixCls:rt}=be.useContext(ie.E_),vt=rt("breadcrumb",$e);return be.createElement(b,Object.assign({},it,{prefixCls:vt}),re(vt,it,Ke,Ve))};E.__ANT_BREADCRUMB_ITEM=!0;var x=E,ee=te(17313),ne=te(83116),oe=te(37613);const ae=Be=>{const{componentCls:$e,iconCls:Ke}=Be;return{[$e]:Object.assign(Object.assign({},(0,ee.Wf)(Be)),{color:Be.itemColor,fontSize:Be.fontSize,[Ke]:{fontSize:Be.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Be.linkColor,transition:`color ${Be.motionDurationMid}`,padding:`0 ${Be.paddingXXS}px`,borderRadius:Be.borderRadiusSM,height:Be.lineHeight*Be.fontSize,display:"inline-block",marginInline:-Be.marginXXS,"&:hover":{color:Be.linkHoverColor,backgroundColor:Be.colorBgTextHover}},(0,ee.Qy)(Be)),"li:last-child":{color:Be.lastItemColor},[`${$e}-separator`]:{marginInline:Be.separatorMargin,color:Be.separatorColor},[`${$e}-link`]:{[`
> ${Ke} + span,
> ${Ke} + a
`]:{marginInlineStart:Be.marginXXS}},[`${$e}-overlay-link`]:{borderRadius:Be.borderRadiusSM,height:Be.lineHeight*Be.fontSize,display:"inline-block",padding:`0 ${Be.paddingXXS}px`,marginInline:-Be.marginXXS,[`> ${Ke}`]:{marginInlineStart:Be.marginXXS,fontSize:Be.fontSizeIcon},"&:hover":{color:Be.linkHoverColor,backgroundColor:Be.colorBgTextHover,a:{color:Be.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Be.componentCls}-rtl`]:{direction:"rtl"}})}};var ue=(0,ne.Z)("Breadcrumb",Be=>{const $e=(0,oe.TS)(Be,{});return[ae($e)]},Be=>({itemColor:Be.colorTextDescription,lastItemColor:Be.colorText,iconFontSize:Be.fontSize,linkColor:Be.colorTextDescription,linkHoverColor:Be.colorText,separatorColor:Be.colorTextDescription,separatorMargin:Be.marginXS})),me=function(Be,$e){var Ke={};for(var Ve in Be)Object.prototype.hasOwnProperty.call(Be,Ve)&&$e.indexOf(Ve)<0&&(Ke[Ve]=Be[Ve]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,Ve=Object.getOwnPropertySymbols(Be);it<Ve.length;it++)$e.indexOf(Ve[it])<0&&Object.prototype.propertyIsEnumerable.call(Be,Ve[it])&&(Ke[Ve[it]]=Be[Ve[it]]);return Ke};function fe(Be){const{breadcrumbName:$e,children:Ke}=Be,Ve=me(Be,["breadcrumbName","children"]),it=Object.assign({title:$e},Ve);return Ke&&(it.menu={items:Ke.map(rt=>{var{breadcrumbName:vt}=rt,Rt=me(rt,["breadcrumbName"]);return Object.assign(Object.assign({},Rt),{title:vt})})}),it}function Pe(Be,$e){return(0,be.useMemo)(()=>Be||($e?$e.map(fe):null),[Be,$e])}var xe=function(Be,$e){var Ke={};for(var Ve in Be)Object.prototype.hasOwnProperty.call(Be,Ve)&&$e.indexOf(Ve)<0&&(Ke[Ve]=Be[Ve]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,Ve=Object.getOwnPropertySymbols(Be);it<Ve.length;it++)$e.indexOf(Ve[it])<0&&Object.prototype.propertyIsEnumerable.call(Be,Ve[it])&&(Ke[Ve[it]]=Be[Ve[it]]);return Ke};const Ee=(Be,$e)=>{if($e===void 0)return $e;let Ke=($e||"").replace(/^\//,"");return Object.keys(Be).forEach(Ve=>{Ke=Ke.replace(`:${Ve}`,Be[Ve])}),Ke},De=Be=>{const{prefixCls:$e,separator:Ke="/",style:Ve,className:it,rootClassName:rt,routes:vt,items:Rt,children:$t,itemRender:Je,params:st={}}=Be,At=xe(Be,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Nt,direction:St,breadcrumb:sn}=be.useContext(ie.E_);let Fe;const Qt=Nt("breadcrumb",$e),[Gt,Hn]=ue(Qt),Jn=Pe(Rt,vt),Re=a(Qt,Je);if(Jn&&Jn.length>0){const Le=[],ft=Rt||vt;Fe=Jn.map((gt,Oe)=>{const{path:ve,key:Ge,type:We,menu:we,overlay:mt,onClick:et,className:Ht,separator:Se,dropdownProps:ut}=gt,xt=Ee(st,ve);xt!==void 0&&Le.push(xt);const Ae=Ge!=null?Ge:Oe;if(We==="separator")return be.createElement(ze,{key:Ae},Se);const He={},ct=Oe===Jn.length-1;we?He.menu=we:mt&&(He.overlay=mt);let{href:wt}=gt;return Le.length&&xt!==void 0&&(wt=`#/${Le.join("/")}`),be.createElement(b,Object.assign({key:Ae},He,(0,Ie.Z)(gt,{data:!0,aria:!0}),{className:Ht,dropdownProps:ut,href:wt,separator:ct?"":Ke,onClick:et,prefixCls:Qt}),Re(gt,st,ft,Le,wt))})}else if($t){const Le=(0,he.Z)($t).length;Fe=(0,he.Z)($t).map((ft,gt)=>{if(!ft)return ft;const Oe=gt===Le-1;return(0,Ne.Tm)(ft,{separator:Oe?"":Ke,key:gt})})}const qe=se()(Qt,sn==null?void 0:sn.className,{[`${Qt}-rtl`]:St==="rtl"},it,rt,Hn),tt=Object.assign(Object.assign({},sn==null?void 0:sn.style),Ve);return Gt(be.createElement("nav",Object.assign({className:qe,style:tt},At),be.createElement("ol",null,Fe)))};De.Item=x,De.Separator=ze;var _e=De,pt=_e},24905:function(Ct,Pt,te){"use strict";te.d(Pt,{default:function(){return ue}});var z=te(92310),se=te.n(z),he=te(5630),Ie=te(59301),be=te(36355),Ne=te(1684),ie=te(32441),je=Ie.createContext(null),Ze=te(98447),ze=te(14088),Me=te(4572),ye=function(me,fe){var Pe={};for(var xe in me)Object.prototype.hasOwnProperty.call(me,xe)&&fe.indexOf(xe)<0&&(Pe[xe]=me[xe]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,xe=Object.getOwnPropertySymbols(me);Ee<xe.length;Ee++)fe.indexOf(xe[Ee])<0&&Object.prototype.propertyIsEnumerable.call(me,xe[Ee])&&(Pe[xe[Ee]]=me[xe[Ee]]);return Pe};const re=(me,fe)=>{var Pe;const{prefixCls:xe,className:Ee,rootClassName:De,children:_e,indeterminate:pt=!1,style:Be,onMouseEnter:$e,onMouseLeave:Ke,skipGroup:Ve=!1,disabled:it}=me,rt=ye(me,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:vt,direction:Rt,checkbox:$t}=Ie.useContext(be.E_),Je=Ie.useContext(je),{isFormItemInput:st}=Ie.useContext(ie.aM),At=Ie.useContext(Ne.Z),Nt=(Pe=(Je==null?void 0:Je.disabled)||it)!==null&&Pe!==void 0?Pe:At,St=Ie.useRef(rt.value);Ie.useEffect(()=>{Je==null||Je.registerValue(rt.value)},[]),Ie.useEffect(()=>{if(!Ve)return rt.value!==St.current&&(Je==null||Je.cancelValue(St.current),Je==null||Je.registerValue(rt.value),St.current=rt.value),()=>Je==null?void 0:Je.cancelValue(rt.value)},[rt.value]);const sn=vt("checkbox",xe),[Fe,Qt]=(0,Ze.ZP)(sn),Gt=Object.assign({},rt);Je&&!Ve&&(Gt.onChange=function(){rt.onChange&&rt.onChange.apply(rt,arguments),Je.toggleOption&&Je.toggleOption({label:_e,value:rt.value})},Gt.name=Je.name,Gt.checked=Je.value.includes(rt.value));const Hn=se()(`${sn}-wrapper`,{[`${sn}-rtl`]:Rt==="rtl",[`${sn}-wrapper-checked`]:Gt.checked,[`${sn}-wrapper-disabled`]:Nt,[`${sn}-wrapper-in-form-item`]:st},$t==null?void 0:$t.className,Ee,De,Qt),Jn=se()({[`${sn}-indeterminate`]:pt},Me.A,Qt),Re=pt?"mixed":void 0;return Fe(Ie.createElement(ze.Z,{component:"Checkbox",disabled:Nt},Ie.createElement("label",{className:Hn,style:Object.assign(Object.assign({},$t==null?void 0:$t.style),Be),onMouseEnter:$e,onMouseLeave:Ke},Ie.createElement(he.Z,Object.assign({"aria-checked":Re},Gt,{prefixCls:sn,className:Jn,disabled:Nt,ref:fe})),_e!==void 0&&Ie.createElement("span",null,_e))))};var y=Ie.forwardRef(re),b=te(77654),E=te(2738),x=function(me,fe){var Pe={};for(var xe in me)Object.prototype.hasOwnProperty.call(me,xe)&&fe.indexOf(xe)<0&&(Pe[xe]=me[xe]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,xe=Object.getOwnPropertySymbols(me);Ee<xe.length;Ee++)fe.indexOf(xe[Ee])<0&&Object.prototype.propertyIsEnumerable.call(me,xe[Ee])&&(Pe[xe[Ee]]=me[xe[Ee]]);return Pe};const ee=(me,fe)=>{const{defaultValue:Pe,children:xe,options:Ee=[],prefixCls:De,className:_e,rootClassName:pt,style:Be,onChange:$e}=me,Ke=x(me,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Ve,direction:it}=Ie.useContext(be.E_),[rt,vt]=Ie.useState(Ke.value||Pe||[]),[Rt,$t]=Ie.useState([]);Ie.useEffect(()=>{"value"in Ke&&vt(Ke.value||[])},[Ke.value]);const Je=Ie.useMemo(()=>Ee.map(qe=>typeof qe=="string"||typeof qe=="number"?{label:qe,value:qe}:qe),[Ee]),st=qe=>{$t(tt=>tt.filter(Le=>Le!==qe))},At=qe=>{$t(tt=>[].concat((0,b.Z)(tt),[qe]))},Nt=qe=>{const tt=rt.indexOf(qe.value),Le=(0,b.Z)(rt);tt===-1?Le.push(qe.value):Le.splice(tt,1),"value"in Ke||vt(Le),$e==null||$e(Le.filter(ft=>Rt.includes(ft)).sort((ft,gt)=>{const Oe=Je.findIndex(Ge=>Ge.value===ft),ve=Je.findIndex(Ge=>Ge.value===gt);return Oe-ve}))},St=Ve("checkbox",De),sn=`${St}-group`,[Fe,Qt]=(0,Ze.ZP)(St),Gt=(0,E.Z)(Ke,["value","disabled"]),Hn=Ee.length?Je.map(qe=>Ie.createElement(y,{prefixCls:St,key:qe.value.toString(),disabled:"disabled"in qe?qe.disabled:Ke.disabled,value:qe.value,checked:rt.includes(qe.value),onChange:qe.onChange,className:`${sn}-item`,style:qe.style,title:qe.title},qe.label)):xe,Jn={toggleOption:Nt,value:rt,disabled:Ke.disabled,name:Ke.name,registerValue:At,cancelValue:st},Re=se()(sn,{[`${sn}-rtl`]:it==="rtl"},_e,pt,Qt);return Fe(Ie.createElement("div",Object.assign({className:Re,style:Be},Gt,{ref:fe}),Ie.createElement(je.Provider,{value:Jn},Hn)))},ne=Ie.forwardRef(ee);var oe=Ie.memo(ne);const ae=y;ae.Group=oe,ae.__ANT_CHECKBOX=!0;var ue=ae},98447:function(Ct,Pt,te){"use strict";te.d(Pt,{C2:function(){return be}});var z=te(17313),se=te(37613),he=te(83116);const Ie=Ne=>{const{checkboxCls:ie}=Ne,nt=`${ie}-wrapper`;return[{[`${ie}-group`]:Object.assign(Object.assign({},(0,z.Wf)(Ne)),{display:"inline-flex",flexWrap:"wrap",columnGap:Ne.marginXS,[`> ${Ne.antCls}-row`]:{flex:1}}),[nt]:Object.assign(Object.assign({},(0,z.Wf)(Ne)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${nt}`]:{marginInlineStart:0},[`&${nt}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ie]:Object.assign(Object.assign({},(0,z.Wf)(Ne)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Ne.borderRadiusSM,alignSelf:"center",[`${ie}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ie}-inner`]:Object.assign({},(0,z.oN)(Ne))},[`${ie}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Ne.checkboxSize,height:Ne.checkboxSize,direction:"ltr",backgroundColor:Ne.colorBgContainer,border:`${Ne.lineWidth}px ${Ne.lineType} ${Ne.colorBorder}`,borderRadius:Ne.borderRadiusSM,borderCollapse:"separate",transition:`all ${Ne.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Ne.checkboxSize/14*5,height:Ne.checkboxSize/14*8,border:`${Ne.lineWidthBold}px solid ${Ne.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Ne.motionDurationFast} ${Ne.motionEaseInBack}, opacity ${Ne.motionDurationFast}`}},"& + span":{paddingInlineStart:Ne.paddingXS,paddingInlineEnd:Ne.paddingXS}})},{[`
${nt}:not(${nt}-disabled),
${ie}:not(${ie}-disabled)
`]:{[`&:hover ${ie}-inner`]:{borderColor:Ne.colorPrimary}},[`${nt}:not(${nt}-disabled)`]:{[`&:hover ${ie}-checked:not(${ie}-disabled) ${ie}-inner`]:{backgroundColor:Ne.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ie}-checked:not(${ie}-disabled):after`]:{borderColor:Ne.colorPrimaryHover}}},{[`${ie}-checked`]:{[`${ie}-inner`]:{backgroundColor:Ne.colorPrimary,borderColor:Ne.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Ne.motionDurationMid} ${Ne.motionEaseOutBack} ${Ne.motionDurationFast}`}}},[`
${nt}-checked:not(${nt}-disabled),
${ie}-checked:not(${ie}-disabled)
`]:{[`&:hover ${ie}-inner`]:{backgroundColor:Ne.colorPrimaryHover,borderColor:"transparent"}}},{[ie]:{"&-indeterminate":{[`${ie}-inner`]:{backgroundColor:Ne.colorBgContainer,borderColor:Ne.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Ne.fontSizeLG/2,height:Ne.fontSizeLG/2,backgroundColor:Ne.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${nt}-disabled`]:{cursor:"not-allowed"},[`${ie}-disabled`]:{[`&, ${ie}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ie}-inner`]:{background:Ne.colorBgContainerDisabled,borderColor:Ne.colorBorder,"&:after":{borderColor:Ne.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Ne.colorTextDisabled},[`&${ie}-indeterminate ${ie}-inner::after`]:{background:Ne.colorTextDisabled}}}]};function be(Ne,ie){const nt=(0,se.TS)(ie,{checkboxCls:`.${Ne}`,checkboxSize:ie.controlInteractiveSize});return[Ie(nt)]}Pt.ZP=(0,he.Z)("Checkbox",(Ne,ie)=>{let{prefixCls:nt}=ie;return[be(nt,Ne)]})},5083:function(Ct,Pt,te){"use strict";te.d(Pt,{default:function(){return su}});var z=te(66649),se=te.n(z),he=te(48736),Ie=te(9007),be=te.n(Ie),Ne=te(50991),ie=te.n(Ne),nt=te(9084),je=te.n(nt),Ze=te(58626),ze=te.n(Ze),Me=te(13477),ye=te.n(Me),re=te(64796),a=te.n(re);se().extend(a()),se().extend(ye()),se().extend(be()),se().extend(ie()),se().extend(je()),se().extend(ze()),se().extend(function(le,de){var ge=de.prototype,Ye=ge.format;ge.format=function(It){var bt=(It||"").replace("Wo","wo");return Ye.bind(this)(bt)}});var y={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"},b=function(de){var ge=y[de];return ge||de.split("_")[0]},E=function(){(0,he.ET)(!1,"Not match any format. Please help to fire a issue about this.")},x={getNow:function(){return se()()},getFixedDate:function(de){return se()(de,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(de){return de.endOf("month")},getWeekDay:function(de){var ge=de.locale("en");return ge.weekday()+ge.localeData().firstDayOfWeek()},getYear:function(de){return de.year()},getMonth:function(de){return de.month()},getDate:function(de){return de.date()},getHour:function(de){return de.hour()},getMinute:function(de){return de.minute()},getSecond:function(de){return de.second()},addYear:function(de,ge){return de.add(ge,"year")},addMonth:function(de,ge){return de.add(ge,"month")},addDate:function(de,ge){return de.add(ge,"day")},setYear:function(de,ge){return de.year(ge)},setMonth:function(de,ge){return de.month(ge)},setDate:function(de,ge){return de.date(ge)},setHour:function(de,ge){return de.hour(ge)},setMinute:function(de,ge){return de.minute(ge)},setSecond:function(de,ge){return de.second(ge)},isAfter:function(de,ge){return de.isAfter(ge)},isValidate:function(de){return de.isValid()},locale:{getWeekFirstDay:function(de){return se()().locale(b(de)).localeData().firstDayOfWeek()},getWeekFirstDate:function(de,ge){return ge.locale(b(de)).weekday(0)},getWeek:function(de,ge){return ge.locale(b(de)).week()},getShortWeekDays:function(de){return se()().locale(b(de)).localeData().weekdaysMin()},getShortMonths:function(de){return se()().locale(b(de)).localeData().monthsShort()},format:function(de,ge,Ye){return ge.locale(b(de)).format(Ye)},parse:function(de,ge,Ye){for(var Xe=b(de),It=0;It<Ye.length;It+=1){var bt=Ye[It],ln=ge;if(bt.includes("wo")||bt.includes("Wo")){for(var rn=ln.split("-")[0],pn=ln.split("-")[1],ia=se()(rn,"YYYY").startOf("year").locale(Xe),Dn=0;Dn<=52;Dn+=1){var An=ia.add(Dn,"week");if(An.format("Wo")===pn)return An}return E(),null}var jn=se()(ln,bt,!0).locale(Xe);if(jn.isValid())return jn}return ge&&E(),null}}},ee=x,ne=te(53487),oe=te(60499),ae=te(59301),ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},me=ue,fe=te(7657),Pe=function(de,ge){return ae.createElement(fe.Z,(0,oe.Z)({},de,{ref:ge,icon:me}))},xe=ae.forwardRef(Pe),Ee=xe,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:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},_e=De,pt=function(de,ge){return ae.createElement(fe.Z,(0,oe.Z)({},de,{ref:ge,icon:_e}))},Be=ae.forwardRef(pt),$e=Be,Ke=te(19248),Ve={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},it=Ve,rt=function(de,ge){return ae.createElement(fe.Z,(0,oe.Z)({},de,{ref:ge,icon:it}))},vt=ae.forwardRef(rt),Rt=vt,$t=te(92310),Je=te.n($t),st=te(38705),At=te(17212),Nt=te(15793),St=te(39153),sn=te(55401),Fe=te(18642),Qt=te(85899),Gt=te(72190),Hn=te(18929),Jn=te(26112),Re=te(80547),qe=te(13697),tt=10,Le=tt*10,ft=7;function gt(le,de){if(!le&&!de)return!0;if(!le||!de)return!1}function Oe(le,de,ge){var Ye=gt(de,ge);if(typeof Ye=="boolean")return Ye;var Xe=Math.floor(le.getYear(de)/10),It=Math.floor(le.getYear(ge)/10);return Xe===It}function ve(le,de,ge){var Ye=gt(de,ge);return typeof Ye=="boolean"?Ye:le.getYear(de)===le.getYear(ge)}function Ge(le,de){var ge=Math.floor(le.getMonth(de)/3);return ge+1}function We(le,de,ge){var Ye=gt(de,ge);return typeof Ye=="boolean"?Ye:ve(le,de,ge)&&Ge(le,de)===Ge(le,ge)}function we(le,de,ge){var Ye=gt(de,ge);return typeof Ye=="boolean"?Ye:ve(le,de,ge)&&le.getMonth(de)===le.getMonth(ge)}function mt(le,de,ge){var Ye=gt(de,ge);return typeof Ye=="boolean"?Ye:le.getYear(de)===le.getYear(ge)&&le.getMonth(de)===le.getMonth(ge)&&le.getDate(de)===le.getDate(ge)}function et(le,de,ge){var Ye=gt(de,ge);return typeof Ye=="boolean"?Ye:le.getHour(de)===le.getHour(ge)&&le.getMinute(de)===le.getMinute(ge)&&le.getSecond(de)===le.getSecond(ge)}function Ht(le,de,ge,Ye){var Xe=gt(ge,Ye);return typeof Xe=="boolean"?Xe:ve(le,ge,Ye)&&le.locale.getWeek(de,ge)===le.locale.getWeek(de,Ye)}function Se(le,de,ge){return mt(le,de,ge)&&et(le,de,ge)}function ut(le,de,ge,Ye){return!de||!ge||!Ye?!1:!mt(le,de,Ye)&&!mt(le,ge,Ye)&&le.isAfter(Ye,de)&&le.isAfter(ge,Ye)}function xt(le,de,ge){var Ye=de.locale.getWeekFirstDay(le),Xe=de.setDate(ge,1),It=de.getWeekDay(Xe),bt=de.addDate(Xe,Ye-It);return de.getMonth(bt)===de.getMonth(ge)&&de.getDate(bt)>1&&(bt=de.addDate(bt,-7)),bt}function Ae(le,de,ge){var Ye=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(de){case"year":return ge.addYear(le,Ye*10);case"quarter":case"month":return ge.addYear(le,Ye);default:return ge.addMonth(le,Ye)}}function He(le,de){var ge=de.generateConfig,Ye=de.locale,Xe=de.format;return typeof Xe=="function"?Xe(le):ge.locale.format(Ye.locale,le,Xe)}function ct(le,de){var ge=de.generateConfig,Ye=de.locale,Xe=de.formatList;return!le||typeof Xe[0]=="function"?null:ge.locale.parse(Ye.locale,le,Xe)}function wt(le){var de=le.cellDate,ge=le.mode,Ye=le.disabledDate,Xe=le.generateConfig;if(!Ye)return!1;var It=function(Gn,on,xn){for(var Xn=on;Xn<=xn;){var Ta=void 0;switch(Gn){case"date":{if(Ta=Xe.setDate(de,Xn),!Ye(Ta))return!1;break}case"month":{if(Ta=Xe.setMonth(de,Xn),!wt({cellDate:Ta,mode:"month",generateConfig:Xe,disabledDate:Ye}))return!1;break}case"year":{if(Ta=Xe.setYear(de,Xn),!wt({cellDate:Ta,mode:"year",generateConfig:Xe,disabledDate:Ye}))return!1;break}}Xn+=1}return!0};switch(ge){case"date":case"week":return Ye(de);case"month":{var bt=1,ln=Xe.getDate(Xe.getEndDate(de));return It("date",bt,ln)}case"quarter":{var rn=Math.floor(Xe.getMonth(de)/3)*3,pn=rn+2;return It("month",rn,pn)}case"year":return It("month",0,11);case"decade":{var ia=Xe.getYear(de),Dn=Math.floor(ia/tt)*tt,An=Dn+tt-1;return It("year",Dn,An)}}}function Zt(le,de){var ge=de.formatList,Ye=de.generateConfig,Xe=de.locale;return(0,Re.Z)(function(){if(!le)return[[""],""];for(var It="",bt=[],ln=0;ln<ge.length;ln+=1){var rn=ge[ln],pn=He(le,{generateConfig:Ye,locale:Xe,format:rn});bt.push(pn),ln===0&&(It=pn)}return[bt,It]},[le,ge,Xe],function(It,bt){return!Se(Ye,It[0],bt[0])||!(0,qe.Z)(It[1],bt[1],!0)||!(0,qe.Z)(It[2],bt[2],!0)})}function mn(le,de){var ge=de.formatList,Ye=de.generateConfig,Xe=de.locale,It=(0,ae.useState)(null),bt=(0,Gt.Z)(It,2),ln=bt[0],rn=bt[1],pn=(0,ae.useRef)(null);function ia(xn){var Xn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(pn.current),Xn){rn(xn);return}pn.current=requestAnimationFrame(function(){rn(xn)})}var Dn=Zt(ln,{formatList:ge,generateConfig:Ye,locale:Xe}),An=(0,Gt.Z)(Dn,2),jn=An[1];function Gn(xn){ia(xn)}function on(){var xn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;ia(null,xn)}return(0,ae.useEffect)(function(){on(!0)},[le]),(0,ae.useEffect)(function(){return function(){return cancelAnimationFrame(pn.current)}},[]),[jn,Gn,on]}var dt=te(10228),Dt=te(16089),yt=te(77654),en=te(29194),Wt=new Map;function un(le,de){var ge;function Ye(){(0,en.Z)(le)?de():ge=(0,Dt.Z)(function(){Ye()})}return Ye(),function(){Dt.Z.cancel(ge)}}function Vn(le,de,ge){if(Wt.get(le)&&cancelAnimationFrame(Wt.get(le)),ge<=0){Wt.set(le,requestAnimationFrame(function(){le.scrollTop=de}));return}var Ye=de-le.scrollTop,Xe=Ye/ge*10;Wt.set(le,requestAnimationFrame(function(){le.scrollTop+=Xe,le.scrollTop!==de&&Vn(le,de,ge-10)}))}function fn(le,de){var ge=de.onLeftRight,Ye=de.onCtrlLeftRight,Xe=de.onUpDown,It=de.onPageUpDown,bt=de.onEnter,ln=le.which,rn=le.ctrlKey,pn=le.metaKey;switch(ln){case dt.Z.LEFT:if(rn||pn){if(Ye)return Ye(-1),!0}else if(ge)return ge(-1),!0;break;case dt.Z.RIGHT:if(rn||pn){if(Ye)return Ye(1),!0}else if(ge)return ge(1),!0;break;case dt.Z.UP:if(Xe)return Xe(-1),!0;break;case dt.Z.DOWN:if(Xe)return Xe(1),!0;break;case dt.Z.PAGE_UP:if(It)return It(-1),!0;break;case dt.Z.PAGE_DOWN:if(It)return It(1),!0;break;case dt.Z.ENTER:if(bt)return bt(),!0;break}return!1}function an(le,de,ge,Ye){var Xe=le;if(!Xe)switch(de){case"time":Xe=Ye?"hh:mm:ss a":"HH:mm:ss";break;case"week":Xe="gggg-wo";break;case"month":Xe="YYYY-MM";break;case"quarter":Xe="YYYY-[Q]Q";break;case"year":Xe="YYYY";break;default:Xe=ge?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Xe}function Un(le,de,ge){var Ye=le==="time"?8:10,Xe=typeof de=="function"?de(ge.getNow()).length:de.length;return Math.max(Ye,Xe)+2}var zt=null,Tt=new Set;function Xt(le){return!zt&&typeof window!="undefined"&&window.addEventListener&&(zt=function(ge){(0,yt.Z)(Tt).forEach(function(Ye){Ye(ge)})},window.addEventListener("mousedown",zt)),Tt.add(le),function(){Tt.delete(le),Tt.size===0&&(window.removeEventListener("mousedown",zt),zt=null)}}function Ea(le){var de=le.target;if(le.composed&&de.shadowRoot){var ge;return((ge=le.composedPath)===null||ge===void 0?void 0:ge.call(le)[0])||de}return de}var qn=function(de){return de==="month"||de==="date"?"year":de},Mn=function(de){return de==="date"?"month":de},Ga=function(de){return de==="month"||de==="date"?"quarter":de},La=function(de){return de==="date"?"week":de},Ar={year:qn,month:Mn,quarter:Ga,week:La,time:null,date:null};function Cr(le,de){return le.some(function(ge){return ge&&ge.contains(de)})}function Qa(le){var de=le.open,ge=le.value,Ye=le.isClickOutside,Xe=le.triggerOpen,It=le.forwardKeyDown,bt=le.onKeyDown,ln=le.blurToCancel,rn=le.onSubmit,pn=le.onCancel,ia=le.onFocus,Dn=le.onBlur,An=le.changeOnBlur,jn=(0,ae.useState)(!1),Gn=(0,Gt.Z)(jn,2),on=Gn[0],xn=Gn[1],Xn=(0,ae.useState)(!1),Ta=(0,Gt.Z)(Xn,2),Ba=Ta[0],za=Ta[1],$a=(0,ae.useRef)(!1),ja=(0,ae.useRef)(!1),xa=(0,ae.useRef)(!1),so={onMouseDown:function(){xn(!0),Xe(!0)},onKeyDown:function(fo){var Oo=function(){xa.current=!0};if(bt(fo,Oo),!xa.current){switch(fo.which){case dt.Z.ENTER:{de?rn()!==!1&&xn(!0):Xe(!0),fo.preventDefault();return}case dt.Z.TAB:{on&&de&&!fo.shiftKey?(xn(!1),fo.preventDefault()):!on&&de&&!It(fo)&&fo.shiftKey&&(xn(!0),fo.preventDefault());return}case dt.Z.ESC:{xn(!0),pn();return}}!de&&![dt.Z.SHIFT].includes(fo.which)?Xe(!0):on||It(fo)}},onFocus:function(fo){xn(!0),za(!0),ia&&ia(fo)},onBlur:function(fo){if($a.current||!Ye(document.activeElement)){$a.current=!1;return}ln?setTimeout(function(){for(var Oo=document,Wo=Oo.activeElement;Wo&&Wo.shadowRoot;)Wo=Wo.shadowRoot.activeElement;Ye(Wo)&&pn()},0):de&&(Xe(!1),ja.current&&rn()),za(!1),Dn==null||Dn(fo)}};return(0,ae.useEffect)(function(){ja.current=!1},[de]),(0,ae.useEffect)(function(){ja.current=!0},[ge]),(0,ae.useEffect)(function(){return Xt(function(Hr){var fo=Ea(Hr),Oo=Ye(fo);de&&(Oo?!An&&(!Ba||Oo)&&Xe(!1):($a.current=!0,(0,Dt.Z)(function(){$a.current=!1})))})}),[so,{focused:Ba,typing:on}]}function at(le,de){return ae.useMemo(function(){return le||(de?((0,he.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(de).map(function(ge){var Ye=(0,Gt.Z)(ge,2),Xe=Ye[0],It=Ye[1];return{label:Xe,value:It}})):[])},[le,de])}var Mt=te(34280);function Ft(le){var de=le.valueTexts,ge=le.onTextChange,Ye=ae.useState(""),Xe=(0,Gt.Z)(Ye,2),It=Xe[0],bt=Xe[1],ln=ae.useRef([]);ln.current=de;function rn(ia){bt(ia),ge(ia)}function pn(){bt(ln.current[0])}return(0,Mt.Z)(function(){de.every(function(ia){return ia!==It})&&pn()},[de.join("||")]),[It,rn,pn]}var kn=ae.createContext({}),dn=kn,Ln=te(43749);function Xr(le){var de=le.cellRender,ge=le.monthCellRender,Ye=le.dateRender,Xe=ae.useMemo(function(){if(de)return de;if(!(!ge&&!Ye))return function(It,bt){var ln=It;return Ye&&bt.type==="date"?Ye(ln,bt.today):ge&&bt.type==="month"?ge(ln,bt.locale):bt.originNode}},[de,ge,Ye]);return Xe}function Er(le,de){for(var ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Ye=String(le);Ye.length<de;)Ye="".concat(ge).concat(le);return Ye}var Kr=function(){for(var de=arguments.length,ge=new Array(de),Ye=0;Ye<de;Ye++)ge[Ye]=arguments[Ye];return ge};function oo(le){return le==null?[]:Array.isArray(le)?le:[le]}function Xa(le,de){return le?le[de]:null}function Nn(le,de,ge){var Ye=[Xa(le,0),Xa(le,1)];return Ye[ge]=typeof de=="function"?de(Ye[ge]):de,!Ye[0]&&!Ye[1]?null:Ye}function ur(le){return typeof le=="function"?le():le}function nr(le){var de=le.cellPrefixCls,ge=le.generateConfig,Ye=le.rangedValue,Xe=le.hoverRangedValue,It=le.isInView,bt=le.isSameCell,ln=le.offsetCell,rn=le.today,pn=le.value;function ia(Dn){var An,jn=ln(Dn,-1),Gn=ln(Dn,1),on=Xa(Ye,0),xn=Xa(Ye,1),Xn=Xa(Xe,0),Ta=Xa(Xe,1),Ba=ut(ge,Xn,Ta,Dn);function za(fo){return bt(on,fo)}function $a(fo){return bt(xn,fo)}var ja=bt(Xn,Dn),xa=bt(Ta,Dn),so=(Ba||xa)&&(!It(jn)||$a(jn)),Hr=(Ba||ja)&&(!It(Gn)||za(Gn));return An={},(0,Fe.Z)(An,"".concat(de,"-in-view"),It(Dn)),(0,Fe.Z)(An,"".concat(de,"-in-range"),ut(ge,on,xn,Dn)),(0,Fe.Z)(An,"".concat(de,"-range-start"),za(Dn)),(0,Fe.Z)(An,"".concat(de,"-range-end"),$a(Dn)),(0,Fe.Z)(An,"".concat(de,"-range-start-single"),za(Dn)&&!xn),(0,Fe.Z)(An,"".concat(de,"-range-end-single"),$a(Dn)&&!on),(0,Fe.Z)(An,"".concat(de,"-range-start-near-hover"),za(Dn)&&(bt(jn,Xn)||ut(ge,Xn,Ta,jn))),(0,Fe.Z)(An,"".concat(de,"-range-end-near-hover"),$a(Dn)&&(bt(Gn,Ta)||ut(ge,Xn,Ta,Gn))),(0,Fe.Z)(An,"".concat(de,"-range-hover"),Ba),(0,Fe.Z)(An,"".concat(de,"-range-hover-start"),ja),(0,Fe.Z)(An,"".concat(de,"-range-hover-end"),xa),(0,Fe.Z)(An,"".concat(de,"-range-hover-edge-start"),so),(0,Fe.Z)(An,"".concat(de,"-range-hover-edge-end"),Hr),(0,Fe.Z)(An,"".concat(de,"-range-hover-edge-start-near-range"),so&&bt(jn,xn)),(0,Fe.Z)(An,"".concat(de,"-range-hover-edge-end-near-range"),Hr&&bt(Gn,on)),(0,Fe.Z)(An,"".concat(de,"-today"),bt(rn,Dn)),(0,Fe.Z)(An,"".concat(de,"-selected"),bt(pn,Dn)),An}return ia}var sr=ae.createContext({}),er=sr;function ht(le,de,ge,Ye,Xe){var It=le.setHour(de,ge);return It=le.setMinute(It,Ye),It=le.setSecond(It,Xe),It}function qt(le,de,ge){if(!ge)return de;var Ye=de;return Ye=le.setHour(Ye,le.getHour(ge)),Ye=le.setMinute(Ye,le.getMinute(ge)),Ye=le.setSecond(Ye,le.getSecond(ge)),Ye}function tn(le,de,ge,Ye,Xe,It){var bt=Math.floor(le/Ye)*Ye;if(bt<le)return[bt,60-Xe,60-It];var ln=Math.floor(de/Xe)*Xe;if(ln<de)return[bt,ln,60-It];var rn=Math.floor(ge/It)*It;return[bt,ln,rn]}function Pn(le,de){var ge=le.getYear(de),Ye=le.getMonth(de)+1,Xe=le.getEndDate(le.getFixedDate("".concat(ge,"-").concat(Ye,"-01"))),It=le.getDate(Xe),bt=Ye<10?"0".concat(Ye):"".concat(Ye);return"".concat(ge,"-").concat(bt,"-").concat(It)}function Rn(le){for(var de=le.prefixCls,ge=le.disabledDate,Ye=le.onSelect,Xe=le.picker,It=le.rowNum,bt=le.colNum,ln=le.prefixColumn,rn=le.rowClassName,pn=le.baseDate,ia=le.getCellClassName,Dn=le.getCellText,An=le.getCellNode,jn=le.getCellDate,Gn=le.generateConfig,on=le.titleCell,xn=le.headerCells,Xn=ae.useContext(dn),Ta=Xn.onDateMouseEnter,Ba=Xn.onDateMouseLeave,za=Xn.mode,$a="".concat(de,"-cell"),ja=[],xa=0;xa<It;xa+=1){for(var so=[],Hr=void 0,fo=function(){var ni,mi=xa*bt+Oo,Go=jn(pn,mi),bo=wt({cellDate:Go,mode:za,disabledDate:ge,generateConfig:Gn});Oo===0&&(Hr=Go,ln&&so.push(ln(Hr)));var Bo=on&&on(Go),Yo=ae.createElement("div",{className:"".concat($a,"-inner")},Dn(Go));so.push(ae.createElement("td",{key:Oo,title:Bo,className:Je()($a,(0,Qt.Z)((ni={},(0,Fe.Z)(ni,"".concat($a,"-disabled"),bo),(0,Fe.Z)(ni,"".concat($a,"-start"),Dn(Go)===1||Xe==="year"&&Number(Bo)%10===0),(0,Fe.Z)(ni,"".concat($a,"-end"),Bo===Pn(Gn,Go)||Xe==="year"&&Number(Bo)%10===9),ni),ia(Go))),onClick:function(){bo||Ye(Go)},onMouseEnter:function(){!bo&&Ta&&Ta(Go)},onMouseLeave:function(){!bo&&Ba&&Ba(Go)}},An?An(Go,Yo):Yo))},Oo=0;Oo<bt;Oo+=1)fo();ja.push(ae.createElement("tr",{key:xa,className:rn&&rn(Hr)},so))}return ae.createElement("div",{className:"".concat(de,"-body")},ae.createElement("table",{className:"".concat(de,"-content")},xn&&ae.createElement("thead",null,ae.createElement("tr",null,xn)),ae.createElement("tbody",null,ja)))}function gn(le){var de=le.prefixCls,ge=le.generateConfig,Ye=le.prefixColumn,Xe=le.locale,It=le.rowCount,bt=le.viewDate,ln=le.value,rn=le.cellRender,pn=le.isSameCell,ia=ae.useContext(er),Dn=ia.rangedValue,An=ia.hoverRangedValue,jn=xt(Xe.locale,ge,bt),Gn="".concat(de,"-cell"),on=ge.locale.getWeekFirstDay(Xe.locale),xn=ge.getNow(),Xn=[],Ta=Xe.shortWeekDays||(ge.locale.getShortWeekDays?ge.locale.getShortWeekDays(Xe.locale):[]);Ye&&Xn.push(ae.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var Ba=0;Ba<ft;Ba+=1)Xn.push(ae.createElement("th",{key:Ba},Ta[(Ba+on)%ft]));var za=nr({cellPrefixCls:Gn,today:xn,value:ln,generateConfig:ge,rangedValue:Ye?null:Dn,hoverRangedValue:Ye?null:An,isSameCell:pn||function(ja,xa){return mt(ge,ja,xa)},isInView:function(xa){return we(ge,xa,bt)},offsetCell:function(xa,so){return ge.addDate(xa,so)}}),$a=rn?function(ja,xa){return rn(ja,{originNode:xa,today:xn,type:"date",locale:Xe})}:void 0;return ae.createElement(Rn,(0,oe.Z)({},le,{rowNum:It,colNum:ft,baseDate:jn,getCellNode:$a,getCellText:ge.getDate,getCellClassName:za,getCellDate:ge.addDate,titleCell:function(xa){return He(xa,{locale:Xe,format:"YYYY-MM-DD",generateConfig:ge})},headerCells:Xn}))}var On=gn,yn={visibility:"hidden"};function ar(le){var de=le.prefixCls,ge=le.prevIcon,Ye=ge===void 0?"\u2039":ge,Xe=le.nextIcon,It=Xe===void 0?"\u203A":Xe,bt=le.superPrevIcon,ln=bt===void 0?"\xAB":bt,rn=le.superNextIcon,pn=rn===void 0?"\xBB":rn,ia=le.onSuperPrev,Dn=le.onSuperNext,An=le.onPrev,jn=le.onNext,Gn=le.children,on=ae.useContext(dn),xn=on.hideNextBtn,Xn=on.hidePrevBtn;return ae.createElement("div",{className:de},ia&&ae.createElement("button",{type:"button",onClick:ia,tabIndex:-1,className:"".concat(de,"-super-prev-btn"),style:Xn?yn:{}},ln),An&&ae.createElement("button",{type:"button",onClick:An,tabIndex:-1,className:"".concat(de,"-prev-btn"),style:Xn?yn:{}},Ye),ae.createElement("div",{className:"".concat(de,"-view")},Gn),jn&&ae.createElement("button",{type:"button",onClick:jn,tabIndex:-1,className:"".concat(de,"-next-btn"),style:xn?yn:{}},It),Dn&&ae.createElement("button",{type:"button",onClick:Dn,tabIndex:-1,className:"".concat(de,"-super-next-btn"),style:xn?yn:{}},pn))}var Ra=ar;function cn(le){var de=le.prefixCls,ge=le.generateConfig,Ye=le.locale,Xe=le.viewDate,It=le.onNextMonth,bt=le.onPrevMonth,ln=le.onNextYear,rn=le.onPrevYear,pn=le.onYearClick,ia=le.onMonthClick,Dn=ae.useContext(dn),An=Dn.hideHeader;if(An)return null;var jn="".concat(de,"-header"),Gn=Ye.shortMonths||(ge.locale.getShortMonths?ge.locale.getShortMonths(Ye.locale):[]),on=ge.getMonth(Xe),xn=ae.createElement("button",{type:"button",key:"year",onClick:pn,tabIndex:-1,className:"".concat(de,"-year-btn")},He(Xe,{locale:Ye,format:Ye.yearFormat,generateConfig:ge})),Xn=ae.createElement("button",{type:"button",key:"month",onClick:ia,tabIndex:-1,className:"".concat(de,"-month-btn")},Ye.monthFormat?He(Xe,{locale:Ye,format:Ye.monthFormat,generateConfig:ge}):Gn[on]),Ta=Ye.monthBeforeYear?[Xn,xn]:[xn,Xn];return ae.createElement(Ra,(0,oe.Z)({},le,{prefixCls:jn,onSuperPrev:rn,onPrev:bt,onNext:It,onSuperNext:ln}),Ta)}var io=cn,to=6;function no(le){var de=le.prefixCls,ge=le.panelName,Ye=ge===void 0?"date":ge,Xe=le.keyboardConfig,It=le.active,bt=le.operationRef,ln=le.generateConfig,rn=le.value,pn=le.viewDate,ia=le.onViewDateChange,Dn=le.onPanelChange,An=le.onSelect,jn="".concat(de,"-").concat(Ye,"-panel");bt.current={onKeyDown:function(Xn){return fn(Xn,(0,Qt.Z)({onLeftRight:function(Ba){An(ln.addDate(rn||pn,Ba),"key")},onCtrlLeftRight:function(Ba){An(ln.addYear(rn||pn,Ba),"key")},onUpDown:function(Ba){An(ln.addDate(rn||pn,Ba*ft),"key")},onPageUpDown:function(Ba){An(ln.addMonth(rn||pn,Ba),"key")}},Xe))}};var Gn=function(Xn){var Ta=ln.addYear(pn,Xn);ia(Ta),Dn(null,Ta)},on=function(Xn){var Ta=ln.addMonth(pn,Xn);ia(Ta),Dn(null,Ta)};return ae.createElement("div",{className:Je()(jn,(0,Fe.Z)({},"".concat(jn,"-active"),It))},ae.createElement(io,(0,oe.Z)({},le,{prefixCls:de,value:rn,viewDate:pn,onPrevYear:function(){Gn(-1)},onNextYear:function(){Gn(1)},onPrevMonth:function(){on(-1)},onNextMonth:function(){on(1)},onMonthClick:function(){Dn("month",pn)},onYearClick:function(){Dn("year",pn)}})),ae.createElement(On,(0,oe.Z)({},le,{onSelect:function(Xn){return An(Xn,"mouse")},prefixCls:de,value:rn,viewDate:pn,rowCount:to})))}var Mo=no;function ea(le){var de=ae.useContext(dn),ge=de.hideHeader;if(ge)return null;var Ye=le.prefixCls,Xe=le.generateConfig,It=le.locale,bt=le.value,ln=le.format,rn="".concat(Ye,"-header");return ae.createElement(Ra,{prefixCls:rn},bt?He(bt,{locale:It,format:ln,generateConfig:Xe}):"\xA0")}var Aa=ea;function dr(le){var de=le.value,ge=le.generateConfig,Ye=le.disabledMinutes,Xe=le.disabledSeconds,It=le.minutes,bt=le.seconds,ln=le.use12Hours,rn=function(ia,Dn,An,jn){var Gn=ge.getNow(),on=de||Gn,xn=Dn<0?ge.getHour(Gn):Dn,Xn=An<0?ge.getMinute(Gn):An,Ta=jn<0?ge.getSecond(Gn):jn,Ba=Ye&&Ye(xn);if(Ba!=null&&Ba.includes(Xn)){var za=It.find(function(xa){return!Ba.includes(xa.value)});if(za)Xn=za.value;else return null}var $a=Xe&&Xe(xn,Xn);if($a!=null&&$a.includes(Ta)){var ja=bt.find(function(xa){return!$a.includes(xa.value)});if(ja)Ta=ja.value;else return null}return on=ht(ge,on,!ln||!ia?xn:xn+12,Xn,Ta),on};return rn}function pa(le){var de=le.prefixCls,ge=le.units,Ye=le.onSelect,Xe=le.value,It=le.active,bt=le.hideDisabledOptions,ln=le.info,rn=le.type,pn="".concat(de,"-cell"),ia=ae.useContext(dn),Dn=ia.open,An=(0,ae.useRef)(null),jn=(0,ae.useRef)(new Map),Gn=(0,ae.useRef)();return(0,ae.useLayoutEffect)(function(){var on=jn.current.get(Xe);on&&Dn!==!1&&Vn(An.current,on.offsetTop,120)},[Xe]),(0,ae.useLayoutEffect)(function(){if(Dn){var on=jn.current.get(Xe);on&&(Gn.current=un(on,function(){Vn(An.current,on.offsetTop,0)}))}return function(){var xn;(xn=Gn.current)===null||xn===void 0||xn.call(Gn)}},[Dn]),ae.createElement("ul",{className:Je()("".concat(de,"-column"),(0,Fe.Z)({},"".concat(de,"-column-active"),It)),ref:An,style:{position:"relative"}},ge.map(function(on){var xn;return bt&&on.disabled?null:ae.createElement("li",{key:on.value,ref:function(Ta){jn.current.set(on.value,Ta)},className:Je()(pn,(xn={},(0,Fe.Z)(xn,"".concat(pn,"-disabled"),on.disabled),(0,Fe.Z)(xn,"".concat(pn,"-selected"),Xe===on.value),xn)),onClick:function(){on.disabled||Ye(on.value)}},ln.cellRender?ln.cellRender(on.value,{today:ln.today,locale:ln.locale,originNode:ae.createElement("div",{className:"".concat(pn,"-inner")},on.label),type:"time",subType:rn}):ae.createElement("div",{className:"".concat(pn,"-inner")},on.label))}))}var jr=pa;function Ir(le,de){if(le.length!==de.length)return!0;for(var ge=0;ge<le.length;ge+=1)if(le[ge].disabled!==de[ge].disabled)return!0;return!1}function br(le,de,ge,Ye){for(var Xe=[],It=ge>=1?ge|0:1,bt=le;bt<=de;bt+=It)Xe.push({label:Er(bt,2),value:bt,disabled:(Ye||[]).includes(bt)});return Xe}function po(le){var de=le.generateConfig,ge=le.prefixCls,Ye=le.operationRef,Xe=le.activeColumnIndex,It=le.value,bt=le.showHour,ln=le.showMinute,rn=le.showSecond,pn=le.use12Hours,ia=le.hourStep,Dn=ia===void 0?1:ia,An=le.minuteStep,jn=An===void 0?1:An,Gn=le.secondStep,on=Gn===void 0?1:Gn,xn=le.disabledHours,Xn=le.disabledMinutes,Ta=le.disabledSeconds,Ba=le.disabledTime,za=le.hideDisabledOptions,$a=le.onSelect,ja=le.cellRender,xa=le.locale,so=[],Hr="".concat(ge,"-content"),fo="".concat(ge,"-time-panel"),Oo,Wo=It?de.getHour(It):-1,ni=Wo,mi=It?de.getMinute(It):-1,Go=It?de.getSecond(It):-1,bo=de.getNow(),Bo=ae.useMemo(function(){if(Ba){var jt=Ba(bo);return[jt.disabledHours,jt.disabledMinutes,jt.disabledSeconds]}return[xn,Xn,Ta]},[xn,Xn,Ta,Ba,bo]),Yo=(0,Gt.Z)(Bo,3),ai=Yo[0],To=Yo[1],_o=Yo[2],Li=br(0,23,Dn,ai&&ai()),Ci=(0,Re.Z)(function(){return Li},Li,Ir);pn&&(Oo=ni>=12,ni%=12);var ce=ae.useMemo(function(){if(!pn)return[!1,!1];var jt=[!0,!0];return Ci.forEach(function(Kt){var En=Kt.disabled,Sn=Kt.value;En||(Sn>=12?jt[1]=!1:jt[0]=!1)}),jt},[pn,Ci]),pe=(0,Gt.Z)(ce,2),ke=pe[0],Ue=pe[1],ot=ae.useMemo(function(){return pn?Ci.filter(Oo?function(jt){return jt.value>=12}:function(jt){return jt.value<12}).map(function(jt){var Kt=jt.value%12,En=Kt===0?"12":Er(Kt,2);return(0,Qt.Z)((0,Qt.Z)({},jt),{},{label:En,value:Kt})}):Ci},[pn,Oo,Ci]),lt=br(0,59,jn,To&&To(Wo)),Ot=br(0,59,on,_o&&_o(Wo,mi)),Lt=dr({value:It,generateConfig:de,disabledMinutes:To,disabledSeconds:_o,minutes:lt,seconds:Ot,use12Hours:pn});Ye.current={onUpDown:function(Kt){var En=so[Xe];if(En)for(var Sn=En.units.findIndex(function(ua){return ua.value===En.value}),wn=En.units.length,Kn=1;Kn<wn;Kn+=1){var Zn=En.units[(Sn+Kt*Kn+wn)%wn];if(Zn.disabled!==!0){En.onSelect(Zn.value);break}}}};function Bt(jt,Kt,En,Sn,wn){jt!==!1&&so.push({node:ae.cloneElement(Kt,{prefixCls:fo,value:En,active:Xe===so.length,onSelect:wn,units:Sn,hideDisabledOptions:za}),onSelect:wn,value:En,units:Sn})}Bt(bt,ae.createElement(jr,{key:"hour",type:"hour",info:{today:bo,locale:xa,cellRender:ja}}),ni,ot,function(jt){$a(Lt(Oo,jt,mi,Go),"mouse")}),Bt(ln,ae.createElement(jr,{key:"minute",type:"minute",info:{today:bo,locale:xa,cellRender:ja}}),mi,lt,function(jt){$a(Lt(Oo,ni,jt,Go),"mouse")}),Bt(rn,ae.createElement(jr,{key:"second",type:"second",info:{today:bo,locale:xa,cellRender:ja}}),Go,Ot,function(jt){$a(Lt(Oo,ni,mi,jt),"mouse")});var Ut=-1;return typeof Oo=="boolean"&&(Ut=Oo?1:0),Bt(pn===!0,ae.createElement(jr,{key:"meridiem",type:"meridiem",info:{today:bo,locale:xa,cellRender:ja}}),Ut,[{label:"AM",value:0,disabled:ke},{label:"PM",value:1,disabled:Ue}],function(jt){$a(Lt(!!jt,ni,mi,Go),"mouse")}),ae.createElement("div",{className:Hr},so.map(function(jt){var Kt=jt.node;return Kt}))}var Lo=po,Oi=function(de){return de.filter(function(ge){return ge!==!1}).length};function vi(le){var de=le.generateConfig,ge=le.format,Ye=ge===void 0?"HH:mm:ss":ge,Xe=le.prefixCls,It=le.active,bt=le.operationRef,ln=le.showHour,rn=le.showMinute,pn=le.showSecond,ia=le.use12Hours,Dn=ia===void 0?!1:ia,An=le.onSelect,jn=le.value,Gn="".concat(Xe,"-time-panel"),on=ae.useRef(),xn=ae.useState(-1),Xn=(0,Gt.Z)(xn,2),Ta=Xn[0],Ba=Xn[1],za=Oi([ln,rn,pn,Dn]);return bt.current={onKeyDown:function(ja){return fn(ja,{onLeftRight:function(so){Ba((Ta+so+za)%za)},onUpDown:function(so){Ta===-1?Ba(0):on.current&&on.current.onUpDown(so)},onEnter:function(){An(jn||de.getNow(),"key"),Ba(-1)}})},onBlur:function(){Ba(-1)}},ae.createElement("div",{className:Je()(Gn,(0,Fe.Z)({},"".concat(Gn,"-active"),It))},ae.createElement(Aa,(0,oe.Z)({},le,{format:Ye,prefixCls:Xe})),ae.createElement(Lo,(0,oe.Z)({},le,{prefixCls:Xe,activeColumnIndex:Ta,operationRef:on})))}var Ei=vi,$i=Kr("date","time");function zn(le){var de=le.prefixCls,ge=le.operationRef,Ye=le.generateConfig,Xe=le.value,It=le.defaultValue,bt=le.disabledTime,ln=le.showTime,rn=le.onSelect,pn=le.cellRender,ia="".concat(de,"-datetime-panel"),Dn=ae.useState(null),An=(0,Gt.Z)(Dn,2),jn=An[0],Gn=An[1],on=ae.useRef({}),xn=ae.useRef({}),Xn=(0,Ln.Z)(ln)==="object"?(0,Qt.Z)({},ln):{};function Ta(ja){var xa=$i.indexOf(jn)+ja,so=$i[xa]||null;return so}var Ba=function(xa){xn.current.onBlur&&xn.current.onBlur(xa),Gn(null)};ge.current={onKeyDown:function(xa){if(xa.which===dt.Z.TAB){var so=Ta(xa.shiftKey?-1:1);return Gn(so),so&&xa.preventDefault(),!0}if(jn){var Hr=jn==="date"?on:xn;return Hr.current&&Hr.current.onKeyDown&&Hr.current.onKeyDown(xa),!0}return[dt.Z.LEFT,dt.Z.RIGHT,dt.Z.UP,dt.Z.DOWN].includes(xa.which)?(Gn("date"),!0):!1},onBlur:Ba,onClose:Ba};var za=function(xa,so){var Hr=xa;so==="date"&&!Xe&&Xn.defaultValue?(Hr=Ye.setHour(Hr,Ye.getHour(Xn.defaultValue)),Hr=Ye.setMinute(Hr,Ye.getMinute(Xn.defaultValue)),Hr=Ye.setSecond(Hr,Ye.getSecond(Xn.defaultValue))):so==="time"&&!Xe&&It&&(Hr=Ye.setYear(Hr,Ye.getYear(It)),Hr=Ye.setMonth(Hr,Ye.getMonth(It)),Hr=Ye.setDate(Hr,Ye.getDate(It))),rn&&rn(Hr,"mouse")},$a=bt?bt(Xe||null):{};return ae.createElement("div",{className:Je()(ia,(0,Fe.Z)({},"".concat(ia,"-active"),jn))},ae.createElement(Mo,(0,oe.Z)({},le,{cellRender:pn,operationRef:on,active:jn==="date",onSelect:function(xa){za(qt(Ye,xa,!Xe&&(0,Ln.Z)(ln)==="object"?ln.defaultValue:null),"date")}})),ae.createElement(Ei,(0,oe.Z)({},le,{cellRender:pn?function(ja,xa){return pn(ja,(0,Qt.Z)((0,Qt.Z)({},xa),{},{type:"time"}))}:void 0,format:void 0},Xn,$a,{disabledTime:null,defaultValue:void 0,operationRef:xn,active:jn==="time",onSelect:function(xa){za(xa,"time")}})))}var Ia=zn;function co(le){var de=le.prefixCls,ge=le.generateConfig,Ye=le.viewDate,Xe=le.onPrevDecades,It=le.onNextDecades,bt=ae.useContext(dn),ln=bt.hideHeader;if(ln)return null;var rn="".concat(de,"-header"),pn=ge.getYear(Ye),ia=Math.floor(pn/Le)*Le,Dn=ia+Le-1;return ae.createElement(Ra,(0,oe.Z)({},le,{prefixCls:rn,onSuperPrev:Xe,onSuperNext:It}),ia,"-",Dn)}var xo=co,wo=3,ui=4;function Bi(le){var de=tt-1,ge=le.prefixCls,Ye=le.viewDate,Xe=le.generateConfig,It=le.cellRender,bt=le.locale,ln="".concat(ge,"-cell"),rn=Xe.getYear(Ye),pn=Math.floor(rn/tt)*tt,ia=Math.floor(rn/Le)*Le,Dn=ia+Le-1,An=Xe.setYear(Ye,ia-Math.ceil((wo*ui*tt-Le)/2)),jn=function(xn){var Xn,Ta=Xe.getYear(xn),Ba=Ta+de;return Xn={},(0,Fe.Z)(Xn,"".concat(ln,"-in-view"),ia<=Ta&&Ba<=Dn),(0,Fe.Z)(Xn,"".concat(ln,"-selected"),Ta===pn),Xn},Gn=It?function(on,xn){return It(on,{originNode:xn,today:Xe.getNow(),type:"decade",locale:bt})}:void 0;return ae.createElement(Rn,(0,oe.Z)({},le,{rowNum:ui,colNum:wo,baseDate:An,getCellNode:Gn,getCellText:function(xn){var Xn=Xe.getYear(xn);return"".concat(Xn,"-").concat(Xn+de)},getCellClassName:jn,getCellDate:function(xn,Xn){return Xe.addYear(xn,Xn*tt)}}))}var Yi=Bi;function Mi(le){var de=le.prefixCls,ge=le.onViewDateChange,Ye=le.generateConfig,Xe=le.viewDate,It=le.operationRef,bt=le.onSelect,ln=le.onPanelChange,rn="".concat(de,"-decade-panel");It.current={onKeyDown:function(An){return fn(An,{onLeftRight:function(Gn){bt(Ye.addYear(Xe,Gn*tt),"key")},onCtrlLeftRight:function(Gn){bt(Ye.addYear(Xe,Gn*Le),"key")},onUpDown:function(Gn){bt(Ye.addYear(Xe,Gn*tt*wo),"key")},onEnter:function(){ln("year",Xe)}})}};var pn=function(An){var jn=Ye.addYear(Xe,An*Le);ge(jn),ln(null,jn)},ia=function(An){bt(An,"mouse"),ln("year",An)};return ae.createElement("div",{className:rn},ae.createElement(xo,(0,oe.Z)({},le,{prefixCls:de,onPrevDecades:function(){pn(-1)},onNextDecades:function(){pn(1)}})),ae.createElement(Yi,(0,oe.Z)({},le,{prefixCls:de,onSelect:ia})))}var Ce=Mi;function Te(le){var de=le.prefixCls,ge=le.generateConfig,Ye=le.locale,Xe=le.viewDate,It=le.onNextYear,bt=le.onPrevYear,ln=le.onYearClick,rn=ae.useContext(dn),pn=rn.hideHeader;if(pn)return null;var ia="".concat(de,"-header");return ae.createElement(Ra,(0,oe.Z)({},le,{prefixCls:ia,onSuperPrev:bt,onSuperNext:It}),ae.createElement("button",{type:"button",onClick:ln,className:"".concat(de,"-year-btn")},He(Xe,{locale:Ye,format:Ye.yearFormat,generateConfig:ge})))}var Qe=Te,Et=3,Yt=4;function Jt(le){var de=le.prefixCls,ge=le.locale,Ye=le.value,Xe=le.viewDate,It=le.generateConfig,bt=le.cellRender,ln=ae.useContext(er),rn=ln.rangedValue,pn=ln.hoverRangedValue,ia="".concat(de,"-cell"),Dn=nr({cellPrefixCls:ia,value:Ye,generateConfig:It,rangedValue:rn,hoverRangedValue:pn,isSameCell:function(xn,Xn){return we(It,xn,Xn)},isInView:function(){return!0},offsetCell:function(xn,Xn){return It.addMonth(xn,Xn)}}),An=ge.shortMonths||(It.locale.getShortMonths?It.locale.getShortMonths(ge.locale):[]),jn=It.setMonth(Xe,0),Gn=bt?function(on,xn){return bt(on,{originNode:xn,locale:ge,today:It.getNow(),type:"month"})}:void 0;return ae.createElement(Rn,(0,oe.Z)({},le,{rowNum:Yt,colNum:Et,baseDate:jn,getCellNode:Gn,getCellText:function(xn){return ge.monthFormat?He(xn,{locale:ge,format:ge.monthFormat,generateConfig:It}):An[It.getMonth(xn)]},getCellClassName:Dn,getCellDate:It.addMonth,titleCell:function(xn){return He(xn,{locale:ge,format:"YYYY-MM",generateConfig:It})}}))}var bn=Jt;function Fn(le){var de=le.prefixCls,ge=le.operationRef,Ye=le.onViewDateChange,Xe=le.generateConfig,It=le.value,bt=le.viewDate,ln=le.onPanelChange,rn=le.onSelect,pn="".concat(de,"-month-panel");ge.current={onKeyDown:function(An){return fn(An,{onLeftRight:function(Gn){rn(Xe.addMonth(It||bt,Gn),"key")},onCtrlLeftRight:function(Gn){rn(Xe.addYear(It||bt,Gn),"key")},onUpDown:function(Gn){rn(Xe.addMonth(It||bt,Gn*Et),"key")},onEnter:function(){ln("date",It||bt)}})}};var ia=function(An){var jn=Xe.addYear(bt,An);Ye(jn),ln(null,jn)};return ae.createElement("div",{className:pn},ae.createElement(Qe,(0,oe.Z)({},le,{prefixCls:de,onPrevYear:function(){ia(-1)},onNextYear:function(){ia(1)},onYearClick:function(){ln("year",bt)}})),ae.createElement(bn,(0,oe.Z)({},le,{prefixCls:de,onSelect:function(An){rn(An,"mouse"),ln("date",An)}})))}var Yn=Fn;function Pa(le){var de=le.prefixCls,ge=le.generateConfig,Ye=le.locale,Xe=le.viewDate,It=le.onNextYear,bt=le.onPrevYear,ln=le.onYearClick,rn=ae.useContext(dn),pn=rn.hideHeader;if(pn)return null;var ia="".concat(de,"-header");return ae.createElement(Ra,(0,oe.Z)({},le,{prefixCls:ia,onSuperPrev:bt,onSuperNext:It}),ae.createElement("button",{type:"button",onClick:ln,className:"".concat(de,"-year-btn")},He(Xe,{locale:Ye,format:Ye.yearFormat,generateConfig:ge})))}var Ca=Pa,ga=4,Or=1;function Mr(le){var de=le.prefixCls,ge=le.locale,Ye=le.value,Xe=le.viewDate,It=le.generateConfig,bt=le.cellRender,ln=ae.useContext(er),rn=ln.rangedValue,pn=ln.hoverRangedValue,ia="".concat(de,"-cell"),Dn=nr({cellPrefixCls:ia,value:Ye,generateConfig:It,rangedValue:rn,hoverRangedValue:pn,isSameCell:function(on,xn){return We(It,on,xn)},isInView:function(){return!0},offsetCell:function(on,xn){return It.addMonth(on,xn*3)}}),An=It.setDate(It.setMonth(Xe,0),1),jn=bt?function(Gn,on){return bt(Gn,{originNode:on,locale:ge,today:It.getNow(),type:"quarter"})}:void 0;return ae.createElement(Rn,(0,oe.Z)({},le,{rowNum:Or,colNum:ga,baseDate:An,getCellNode:jn,getCellText:function(on){return He(on,{locale:ge,format:ge.quarterFormat||"[Q]Q",generateConfig:It})},getCellClassName:Dn,getCellDate:function(on,xn){return It.addMonth(on,xn*3)},titleCell:function(on){return He(on,{locale:ge,format:"YYYY-[Q]Q",generateConfig:It})}}))}var Ro=Mr;function Ur(le){var de=le.prefixCls,ge=le.operationRef,Ye=le.onViewDateChange,Xe=le.generateConfig,It=le.value,bt=le.viewDate,ln=le.onPanelChange,rn=le.onSelect,pn="".concat(de,"-quarter-panel");ge.current={onKeyDown:function(An){return fn(An,{onLeftRight:function(Gn){rn(Xe.addMonth(It||bt,Gn*3),"key")},onCtrlLeftRight:function(Gn){rn(Xe.addYear(It||bt,Gn),"key")},onUpDown:function(Gn){rn(Xe.addYear(It||bt,Gn),"key")}})}};var ia=function(An){var jn=Xe.addYear(bt,An);Ye(jn),ln(null,jn)};return ae.createElement("div",{className:pn},ae.createElement(Ca,(0,oe.Z)({},le,{prefixCls:de,onPrevYear:function(){ia(-1)},onNextYear:function(){ia(1)},onYearClick:function(){ln("year",bt)}})),ae.createElement(Ro,(0,oe.Z)({},le,{prefixCls:de,onSelect:function(An){rn(An,"mouse")}})))}var la=Ur;function $n(le){var de=le.prefixCls,ge=le.generateConfig,Ye=le.locale,Xe=le.value,It=le.disabledDate,bt=le.onSelect,ln=ae.useContext(er),rn=ln.rangedValue,pn=ln.hoverRangedValue,ia=ae.useContext(dn),Dn=ia.onDateMouseEnter,An=ia.onDateMouseLeave,jn=(pn==null?void 0:pn[0])||(rn==null?void 0:rn[0]),Gn=(pn==null?void 0:pn[1])||(rn==null?void 0:rn[1]),on="".concat(de,"-cell"),xn=function(za){var $a=wt({cellDate:za,mode:"week",disabledDate:It,generateConfig:ge});return ae.createElement("td",{key:"week",className:Je()(on,"".concat(on,"-week")),onClick:function(){$a||bt(za,"mouse")},onMouseEnter:function(){!$a&&Dn&&Dn(za)},onMouseLeave:function(){!$a&&An&&An(za)}},ae.createElement("div",{className:"".concat(on,"-inner")},ge.locale.getWeek(Ye.locale,za)))},Xn="".concat(de,"-week-panel-row"),Ta=function(za){var $a,ja=Ht(ge,Ye.locale,jn,za),xa=Ht(ge,Ye.locale,Gn,za);return Je()(Xn,($a={},(0,Fe.Z)($a,"".concat(Xn,"-selected"),!rn&&Ht(ge,Ye.locale,Xe,za)),(0,Fe.Z)($a,"".concat(Xn,"-range-start"),ja),(0,Fe.Z)($a,"".concat(Xn,"-range-end"),xa),(0,Fe.Z)($a,"".concat(Xn,"-range-hover"),!ja&&!xa&&ut(ge,jn,Gn,za)),$a))};return ae.createElement(Mo,(0,oe.Z)({},le,{panelName:"week",prefixColumn:xn,rowClassName:Ta,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var oa=$n,ra=10;function Nr(le){var de=le.prefixCls,ge=le.generateConfig,Ye=le.viewDate,Xe=le.onPrevDecade,It=le.onNextDecade,bt=le.onDecadeClick,ln=ae.useContext(dn),rn=ln.hideHeader;if(rn)return null;var pn="".concat(de,"-header"),ia=ge.getYear(Ye),Dn=Math.floor(ia/ra)*ra,An=Dn+ra-1;return ae.createElement(Ra,(0,oe.Z)({},le,{prefixCls:pn,onSuperPrev:Xe,onSuperNext:It}),ae.createElement("button",{type:"button",onClick:bt,className:"".concat(de,"-decade-btn")},Dn,"-",An))}var Zr=Nr,hr=3,xr=4;function kr(le){var de=le.prefixCls,ge=le.value,Ye=le.viewDate,Xe=le.locale,It=le.generateConfig,bt=le.cellRender,ln=ae.useContext(er),rn=ln.rangedValue,pn=ln.hoverRangedValue,ia="".concat(de,"-cell"),Dn=It.getYear(Ye),An=Math.floor(Dn/ra)*ra,jn=An+ra-1,Gn=It.setYear(Ye,An-Math.ceil((hr*xr-ra)/2)),on=It.getNow(),xn=function(za){var $a=It.getYear(za);return An<=$a&&$a<=jn},Xn=nr({cellPrefixCls:ia,value:ge,generateConfig:It,rangedValue:rn,hoverRangedValue:pn,isSameCell:function(za,$a){return ve(It,za,$a)},isInView:xn,offsetCell:function(za,$a){return It.addYear(za,$a)}}),Ta=bt?function(Ba,za){return bt(Ba,{originNode:za,today:on,type:"year",locale:Xe})}:void 0;return ae.createElement(Rn,(0,oe.Z)({},le,{rowNum:xr,colNum:hr,baseDate:Gn,getCellNode:Ta,getCellText:It.getYear,getCellClassName:Xn,getCellDate:It.addYear,titleCell:function(za){return He(za,{locale:Xe,format:"YYYY",generateConfig:It})}}))}var ho=kr;function ti(le){var de=le.prefixCls,ge=le.operationRef,Ye=le.onViewDateChange,Xe=le.generateConfig,It=le.value,bt=le.viewDate,ln=le.sourceMode,rn=le.onSelect,pn=le.onPanelChange,ia="".concat(de,"-year-panel");ge.current={onKeyDown:function(jn){return fn(jn,{onLeftRight:function(on){rn(Xe.addYear(It||bt,on),"key")},onCtrlLeftRight:function(on){rn(Xe.addYear(It||bt,on*ra),"key")},onUpDown:function(on){rn(Xe.addYear(It||bt,on*hr),"key")},onEnter:function(){pn(ln==="date"?"date":"month",It||bt)}})}};var Dn=function(jn){var Gn=Xe.addYear(bt,jn*10);Ye(Gn),pn(null,Gn)};return ae.createElement("div",{className:ia},ae.createElement(Zr,(0,oe.Z)({},le,{prefixCls:de,onPrevDecade:function(){Dn(-1)},onNextDecade:function(){Dn(1)},onDecadeClick:function(){pn("decade",bt)}})),ae.createElement(ho,(0,oe.Z)({},le,{prefixCls:de,onSelect:function(jn){pn(ln==="date"?"date":"month",jn),rn(jn,"mouse")}})))}var yo=ti;function Rr(le,de,ge){return ge?ae.createElement("div",{className:"".concat(le,"-footer-extra")},ge(de)):null}function ro(le){var de=le.prefixCls,ge=le.components,Ye=ge===void 0?{}:ge,Xe=le.needConfirmButton,It=le.onNow,bt=le.onOk,ln=le.okDisabled,rn=le.showNow,pn=le.locale,ia,Dn;if(Xe){var An=Ye.button||"button";It&&rn!==!1&&(ia=ae.createElement("li",{className:"".concat(de,"-now")},ae.createElement("a",{className:"".concat(de,"-now-btn"),onClick:It},pn.now))),Dn=Xe&&ae.createElement("li",{className:"".concat(de,"-ok")},ae.createElement(An,{disabled:ln,onClick:bt},pn.ok))}return!ia&&!Dn?null:ae.createElement("ul",{className:"".concat(de,"-ranges")},ia,Dn)}var Fo=["date","month"];function vo(le){var de,ge=le,Ye=ge.prefixCls,Xe=Ye===void 0?"rc-picker":Ye,It=ge.className,bt=ge.style,ln=ge.locale,rn=ge.generateConfig,pn=ge.value,ia=ge.defaultValue,Dn=ge.pickerValue,An=ge.defaultPickerValue,jn=ge.disabledDate,Gn=ge.mode,on=ge.picker,xn=on===void 0?"date":on,Xn=ge.tabIndex,Ta=Xn===void 0?0:Xn,Ba=ge.showNow,za=ge.showTime,$a=ge.showToday,ja=ge.renderExtraFooter,xa=ge.hideHeader,so=ge.onSelect,Hr=ge.onChange,fo=ge.onPanelChange,Oo=ge.onMouseDown,Wo=ge.onPickerValueChange,ni=ge.onOk,mi=ge.components,Go=ge.direction,bo=ge.hourStep,Bo=bo===void 0?1:bo,Yo=ge.minuteStep,ai=Yo===void 0?1:Yo,To=ge.secondStep,_o=To===void 0?1:To,Li=ge.dateRender,Ci=ge.monthCellRender,ce=ge.cellRender,pe=xn==="date"&&!!za||xn==="time",ke=24%Bo===0,Ue=60%ai===0,ot=60%_o===0,lt=ae.useContext(dn),Ot=lt.operationRef,Lt=lt.onSelect,Bt=lt.hideRanges,Ut=lt.defaultOpenValue,jt=ae.useContext(er),Kt=jt.inRange,En=jt.panelPosition,Sn=jt.rangedValue,wn=jt.hoverRangedValue,Kn=ae.useRef({}),Zn=ae.useRef(!0),ua=(0,Hn.Z)(null,{value:pn,defaultValue:ia,postState:function(Bn){return!Bn&&Ut&&xn==="time"?Ut:Bn}}),ta=(0,Gt.Z)(ua,2),ma=ta[0],Ya=ta[1],rr=(0,Hn.Z)(null,{value:Dn,defaultValue:An||ma,postState:function(Bn){var va=rn.getNow();if(!Bn)return va;if(!ma&&za){var Br=(0,Ln.Z)(za)==="object"?za.defaultValue:ia;return qt(rn,Array.isArray(Bn)?Bn[0]:Bn,Br||va)}return Array.isArray(Bn)?Bn[0]:Bn}}),ka=(0,Gt.Z)(rr,2),Ja=ka[0],Dr=ka[1],Sa=function(Bn){Dr(Bn),Wo&&Wo(Bn)},_a=function(Bn){var va=Ar[xn];return va?va(Bn):Bn},wa=(0,Hn.Z)(function(){return xn==="time"?"time":_a("date")},{value:Gn}),da=(0,Gt.Z)(wa,2),fa=da[0],qa=da[1];ae.useEffect(function(){qa(xn)},[xn]);var Gr=ae.useState(function(){return fa}),Lr=(0,Gt.Z)(Gr,2),Ka=Lr[0],zr=Lr[1],Wr=function(Bn,va){var Br=_a(Bn||fa);zr(fa),qa(Br),fo&&(fa!==Br||Se(rn,Ja,Ja))&&fo(va,Br)},Jr=function(Bn,va){var Br=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(fa===xn||Br)&&(Ya(Bn),so&&so(Bn),Lt&&Lt(Bn,va),Hr&&!Se(rn,Bn,ma)&&!(jn!=null&&jn(Bn))&&Hr(Bn))},Vr=function(Bn){if(Fo.includes(fa)){var va,Br,Qr=fa==="date";switch(Bn===dt.Z.PAGE_UP||Bn===dt.Z.PAGE_DOWN?Br=Qr?rn.addMonth:rn.addYear:Br=Qr?rn.addDate:rn.addMonth,Bn){case dt.Z.LEFT:case dt.Z.PAGE_UP:va=Br(Ja,-1);break;case dt.Z.RIGHT:case dt.Z.PAGE_DOWN:va=Br(Ja,1);break;case dt.Z.UP:case dt.Z.DOWN:va=Br(Ja,Number("".concat(Bn===dt.Z.UP?"-":"").concat(Qr?ft:Et)));break}if(va)return!(jn!=null&&jn(va))}return!0},Vo=function(Bn){if(Kn.current&&Kn.current.onKeyDown){var va=!0,Br=Bn.which;if([dt.Z.LEFT,dt.Z.RIGHT,dt.Z.UP,dt.Z.DOWN,dt.Z.PAGE_UP,dt.Z.PAGE_DOWN,dt.Z.ENTER].includes(Br)&&(Bn.preventDefault(),Br!==dt.Z.ENTER&&Ta===0&&(va=Vr(Br))),va)return Kn.current.onKeyDown(Bn)}return(0,he.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},lo=function(Bn){Kn.current&&Kn.current.onBlur&&Kn.current.onBlur(Bn)};Ot&&En!=="right"&&(Ot.current={onKeyDown:Vo,onClose:function(){Kn.current&&Kn.current.onClose&&Kn.current.onClose()}}),ae.useEffect(function(){pn&&!Zn.current&&Dr(pn)},[pn]),ae.useEffect(function(){Zn.current=!1},[]);var vr,ei=Xr({cellRender:ce,monthCellRender:Ci,dateRender:Li}),cr=(0,Qt.Z)((0,Qt.Z)({},le),{},{cellRender:ei,operationRef:Kn,prefixCls:Xe,viewDate:Ja,value:ma,onViewDateChange:Sa,sourceMode:Ka,onPanelChange:Wr,disabledDate:jn});switch(delete cr.onChange,delete cr.onSelect,fa){case"decade":vr=ae.createElement(Ce,(0,oe.Z)({},cr,{onSelect:function(Bn,va){Sa(Bn),Jr(Bn,va)}}));break;case"year":vr=ae.createElement(yo,(0,oe.Z)({},cr,{onSelect:function(Bn,va){Sa(Bn),Jr(Bn,va)}}));break;case"month":vr=ae.createElement(Yn,(0,oe.Z)({},cr,{onSelect:function(Bn,va){Sa(Bn),Jr(Bn,va)}}));break;case"quarter":vr=ae.createElement(la,(0,oe.Z)({},cr,{onSelect:function(Bn,va){Sa(Bn),Jr(Bn,va)}}));break;case"week":vr=ae.createElement(oa,(0,oe.Z)({},cr,{onSelect:function(Bn,va){Sa(Bn),Jr(Bn,va)}}));break;case"time":delete cr.showTime,vr=ae.createElement(Ei,(0,oe.Z)({},cr,(0,Ln.Z)(za)==="object"?za:null,{onSelect:function(Bn,va){Sa(Bn),Jr(Bn,va)}}));break;default:za?vr=ae.createElement(Ia,(0,oe.Z)({},cr,{onSelect:function(Bn,va){Sa(Bn),Jr(Bn,va)}})):vr=ae.createElement(Mo,(0,oe.Z)({},cr,{onSelect:function(Bn,va){Sa(Bn),Jr(Bn,va)}}))}var ko,Ao,fi=function(){var Bn=rn.getNow(),va=tn(rn.getHour(Bn),rn.getMinute(Bn),rn.getSecond(Bn),ke?Bo:1,Ue?ai:1,ot?_o:1),Br=ht(rn,Bn,va[0],va[1],va[2]);Jr(Br,"submit")};Bt||(ko=Rr(Xe,fa,ja),za&&fa!=="date"?Ao=null:Ao=ro({prefixCls:Xe,components:mi,needConfirmButton:pe,okDisabled:!ma||jn&&jn(ma),locale:ln,showNow:Ba,onNow:pe&&fi,onOk:function(){ma&&(Jr(ma,"submit",!0),ni&&ni(ma))}}));var gr;if($a&&fa==="date"&&xn==="date"&&!za){var or=rn.getNow(),ir="".concat(Xe,"-today-btn"),Wa=jn&&jn(or);gr=ae.createElement("a",{className:Je()(ir,Wa&&"".concat(ir,"-disabled")),"aria-disabled":Wa,onClick:function(){Wa||Jr(or,"mouse",!0)}},ln.today)}return ae.createElement(dn.Provider,{value:(0,Qt.Z)((0,Qt.Z)({},lt),{},{mode:fa,hideHeader:"hideHeader"in le?xa:lt.hideHeader,hidePrevBtn:Kt&&En==="right",hideNextBtn:Kt&&En==="left"})},ae.createElement("div",{tabIndex:Ta,className:Je()("".concat(Xe,"-panel"),It,(de={},(0,Fe.Z)(de,"".concat(Xe,"-panel-has-range"),Sn&&Sn[0]&&Sn[1]),(0,Fe.Z)(de,"".concat(Xe,"-panel-has-range-hover"),wn&&wn[0]&&wn[1]),(0,Fe.Z)(de,"".concat(Xe,"-panel-rtl"),Go==="rtl"),de)),style:bt,onKeyDown:Vo,onBlur:lo,onMouseDown:Oo},vr,ko||Ao||gr?ae.createElement("div",{className:"".concat(Xe,"-footer")},ko,Ao,gr):null))}var Eo=vo,sa=te(35593),jo={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 wi(le){var de,ge=le.prefixCls,Ye=le.popupElement,Xe=le.popupStyle,It=le.visible,bt=le.dropdownClassName,ln=le.dropdownAlign,rn=le.transitionName,pn=le.getPopupContainer,ia=le.children,Dn=le.range,An=le.popupPlacement,jn=le.direction,Gn="".concat(ge,"-dropdown"),on=function(){return An!==void 0?An:jn==="rtl"?"bottomRight":"bottomLeft"};return ae.createElement(sa.Z,{showAction:[],hideAction:[],popupPlacement:on(),builtinPlacements:jo,prefixCls:Gn,popupTransitionName:rn,popup:Ye,popupAlign:ln,popupVisible:It,popupClassName:Je()(bt,(de={},(0,Fe.Z)(de,"".concat(Gn,"-range"),Dn),(0,Fe.Z)(de,"".concat(Gn,"-rtl"),jn==="rtl"),de)),popupStyle:Xe,getPopupContainer:pn},ia)}var Zi=wi;function nl(le){var de=le.prefixCls,ge=le.presets,Ye=le.onClick,Xe=le.onHover;return ge.length?ae.createElement("div",{className:"".concat(de,"-presets")},ae.createElement("ul",null,ge.map(function(It,bt){var ln=It.label,rn=It.value;return ae.createElement("li",{key:bt,onClick:function(){return Ye==null?void 0:Ye(ur(rn))},onMouseEnter:function(){return Xe==null?void 0:Xe(ur(rn))},onMouseLeave:function(){return Xe==null?void 0:Xe(null)}},ln)}))):null}function Xi(le){var de=le.picker,ge=le.disabledHours,Ye=le.disabledMinutes,Xe=le.disabledSeconds;de==="time"&&(ge||Ye||Xe)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function zi(le,de,ge){var Ye=(0,Ln.Z)(de)==="object"?de.clearIcon:ge;return Ye||ae.createElement("span",{className:"".concat(le,"-clear-btn")})}function Fi(le){var de,ge=le,Ye=ge.prefixCls,Xe=Ye===void 0?"rc-picker":Ye,It=ge.id,bt=ge.name,ln=ge.tabIndex,rn=ge.style,pn=ge.className,ia=ge.dropdownClassName,Dn=ge.dropdownAlign,An=ge.popupStyle,jn=ge.transitionName,Gn=ge.generateConfig,on=ge.locale,xn=ge.inputReadOnly,Xn=ge.allowClear,Ta=ge.autoFocus,Ba=ge.showTime,za=ge.picker,$a=za===void 0?"date":za,ja=ge.format,xa=ge.use12Hours,so=ge.value,Hr=ge.defaultValue,fo=ge.presets,Oo=ge.open,Wo=ge.defaultOpen,ni=ge.defaultOpenValue,mi=ge.suffixIcon,Go=ge.clearIcon,bo=ge.disabled,Bo=ge.disabledDate,Yo=ge.placeholder,ai=ge.getPopupContainer,To=ge.pickerRef,_o=ge.panelRender,Li=ge.onChange,Ci=ge.onOpenChange,ce=ge.onFocus,pe=ge.onBlur,ke=ge.onMouseDown,Ue=ge.onMouseUp,ot=ge.onMouseEnter,lt=ge.onMouseLeave,Ot=ge.onContextMenu,Lt=ge.onClick,Bt=ge.onKeyDown,Ut=ge.onSelect,jt=ge.direction,Kt=ge.autoComplete,En=Kt===void 0?"off":Kt,Sn=ge.inputRender,wn=ge.changeOnBlur,Kn=ae.useRef(null),Zn=$a==="date"&&!!Ba||$a==="time",ua=at(fo),ta=oo(an(ja,$a,Ba,xa)),ma=ae.useRef(null),Ya=ae.useRef(null),rr=ae.useRef(null),ka=(0,Hn.Z)(null,{value:so,defaultValue:Hr}),Ja=(0,Gt.Z)(ka,2),Dr=Ja[0],Sa=Ja[1],_a=ae.useState(Dr),wa=(0,Gt.Z)(_a,2),da=wa[0],fa=wa[1],qa=ae.useRef(null),Gr=(0,Hn.Z)(!1,{value:Oo,defaultValue:Wo,postState:function(pr){return bo?!1:pr},onChange:function(pr){Ci&&Ci(pr),!pr&&qa.current&&qa.current.onClose&&qa.current.onClose()}}),Lr=(0,Gt.Z)(Gr,2),Ka=Lr[0],zr=Lr[1],Wr=Zt(da,{formatList:ta,generateConfig:Gn,locale:on}),Jr=(0,Gt.Z)(Wr,2),Vr=Jr[0],Vo=Jr[1],lo=Ft({valueTexts:Vr,onTextChange:function(pr){var hi=ct(pr,{locale:on,formatList:ta,generateConfig:Gn});hi&&(!Bo||!Bo(hi))&&fa(hi)}}),vr=(0,Gt.Z)(lo,3),ei=vr[0],cr=vr[1],ko=vr[2],Ao=function(pr){fa(pr),Sa(pr),Li&&!Se(Gn,Dr,pr)&&Li(pr,pr?He(pr,{generateConfig:Gn,locale:on,format:ta[0]}):"")},fi=function(pr){bo&&pr||zr(pr)},gr=function(pr){return Ka&&qa.current&&qa.current.onKeyDown?qa.current.onKeyDown(pr):((0,he.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},or=function(){for(var pr=arguments.length,hi=new Array(pr),Ti=0;Ti<pr;Ti++)hi[Ti]=arguments[Ti];Lt==null||Lt.apply(void 0,hi),Kn.current&&(Kn.current.focus(),fi(!0))},ir=function(pr){wn&&Ao(da),pe==null||pe(pr)},Wa=Qa({blurToCancel:Zn,open:Ka,value:ei,triggerOpen:fi,forwardKeyDown:gr,isClickOutside:function(pr){return!Cr([ma.current,Ya.current,rr.current],pr)},onSubmit:function(){return!da||Bo&&Bo(da)?!1:(Ao(da),fi(!1),ko(),!0)},onCancel:function(){fi(!1),fa(Dr),ko()},onKeyDown:function(pr,hi){Bt==null||Bt(pr,hi)},onFocus:ce,onBlur:ir,changeOnBlur:wn}),Na=(0,Gt.Z)(Wa,2),Bn=Na[0],va=Na[1],Br=va.focused,Qr=va.typing;ae.useEffect(function(){Ka||(fa(Dr),!Vr.length||Vr[0]===""?cr(""):Vo!==ei&&ko())},[Ka,Vr]),ae.useEffect(function(){Ka||ko()},[$a]),ae.useEffect(function(){fa(Dr)},[Dr]),To&&(To.current={focus:function(){var pr;(pr=Kn.current)===null||pr===void 0||pr.focus()},blur:function(){var pr;(pr=Kn.current)===null||pr===void 0||pr.blur()}});var Ni=mn(ei,{formatList:ta,generateConfig:Gn,locale:on}),bi=(0,Gt.Z)(Ni,3),Ji=bi[0],si=bi[1],ri=bi[2],lr=(0,Qt.Z)((0,Qt.Z)({},le),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),Ri=ae.createElement("div",{className:"".concat(Xe,"-panel-layout")},ae.createElement(nl,{prefixCls:Xe,presets:ua,onClick:function(pr){Ao(pr),fi(!1)}}),ae.createElement(Eo,(0,oe.Z)({},lr,{generateConfig:Gn,className:Je()((0,Fe.Z)({},"".concat(Xe,"-panel-focused"),!Qr)),value:da,locale:on,tabIndex:-1,onSelect:function(pr){Ut==null||Ut(pr),fa(pr)},direction:jt,onPanelChange:function(pr,hi){var Ti=le.onPanelChange;ri(!0),Ti==null||Ti(pr,hi)}})));_o&&(Ri=_o(Ri));var ji=ae.createElement("div",{className:"".concat(Xe,"-panel-container"),ref:ma,onMouseDown:function(pr){pr.preventDefault()}},Ri),No;mi&&(No=ae.createElement("span",{className:"".concat(Xe,"-suffix"),onMouseDown:function(pr){pr.preventDefault()}},mi));var Zo=zi(Xe,Xn,Go),ii=ae.createElement("span",{onMouseDown:function(pr){pr.preventDefault(),pr.stopPropagation()},onMouseUp:function(pr){pr.preventDefault(),pr.stopPropagation(),Ao(null),fi(!1)},className:"".concat(Xe,"-clear"),role:"button"},Zo),Pi=!!Xn&&Dr&&!bo,pi=(0,Qt.Z)((0,Qt.Z)((0,Qt.Z)({id:It,tabIndex:ln,disabled:bo,readOnly:xn||typeof ta[0]=="function"||!Qr,value:Ji||ei,onChange:function(pr){cr(pr.target.value)},autoFocus:Ta,placeholder:Yo,ref:Kn,title:ei},Bn),{},{size:Un($a,ta[0],Gn),name:bt},(0,Jn.Z)(le,{aria:!0,data:!0})),{},{autoComplete:En}),uo=Sn?Sn(pi):ae.createElement("input",pi),Gi=function(pr,hi){(hi==="submit"||hi!=="key"&&!Zn)&&(Ao(pr),fi(!1))},Ii=jt==="rtl"?"bottomRight":"bottomLeft";return ae.createElement(dn.Provider,{value:{operationRef:qa,hideHeader:$a==="time",onSelect:Gi,open:Ka,defaultOpenValue:ni,onDateMouseEnter:si,onDateMouseLeave:ri}},ae.createElement(Zi,{visible:Ka,popupElement:ji,popupStyle:An,prefixCls:Xe,dropdownClassName:ia,dropdownAlign:Dn,getPopupContainer:ai,transitionName:jn,popupPlacement:Ii,direction:jt},ae.createElement("div",{ref:rr,className:Je()(Xe,pn,(de={},(0,Fe.Z)(de,"".concat(Xe,"-disabled"),bo),(0,Fe.Z)(de,"".concat(Xe,"-focused"),Br),(0,Fe.Z)(de,"".concat(Xe,"-rtl"),jt==="rtl"),de)),style:rn,onMouseDown:ke,onMouseUp:Ue,onMouseEnter:ot,onMouseLeave:lt,onContextMenu:Ot,onClick:or},ae.createElement("div",{className:Je()("".concat(Xe,"-input"),(0,Fe.Z)({},"".concat(Xe,"-input-placeholder"),!!Ji)),ref:Ya},uo,No,Pi&&ii))))}var ul=function(le){(0,St.Z)(ge,le);var de=(0,sn.Z)(ge);function ge(){var Ye;(0,st.Z)(this,ge);for(var Xe=arguments.length,It=new Array(Xe),bt=0;bt<Xe;bt++)It[bt]=arguments[bt];return Ye=de.call.apply(de,[this].concat(It)),(0,Fe.Z)((0,Nt.Z)(Ye),"pickerRef",ae.createRef()),(0,Fe.Z)((0,Nt.Z)(Ye),"focus",function(){Ye.pickerRef.current&&Ye.pickerRef.current.focus()}),(0,Fe.Z)((0,Nt.Z)(Ye),"blur",function(){Ye.pickerRef.current&&Ye.pickerRef.current.blur()}),Ye}return(0,At.Z)(ge,[{key:"render",value:function(){return ae.createElement(Fi,(0,oe.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),ge}(ae.Component),_i=ul;function rl(le,de){var ge=le.picker,Ye=le.locale,Xe=le.selectedValue,It=le.disabledDate,bt=le.disabled,ln=le.generateConfig,rn=Xa(Xe,0),pn=Xa(Xe,1);function ia(on){return ln.locale.getWeekFirstDate(Ye.locale,on)}function Dn(on){var xn=ln.getYear(on),Xn=ln.getMonth(on);return xn*100+Xn}function An(on){var xn=ln.getYear(on),Xn=Ge(ln,on);return xn*10+Xn}var jn=ae.useCallback(function(on){if(bt[0]||It&&It(on))return!0;if(bt[1]&&pn)return!mt(ln,on,pn)&&ln.isAfter(on,pn);if(!de&&pn)switch(ge){case"quarter":return An(on)>An(pn);case"month":return Dn(on)>Dn(pn);case"week":return ia(on)>ia(pn);default:return!mt(ln,on,pn)&&ln.isAfter(on,pn)}return!1},[It,bt[1],pn,de]),Gn=ae.useCallback(function(on){if(bt[1]||It&&It(on))return!0;if(bt[0]&&rn)return!mt(ln,on,pn)&&ln.isAfter(rn,on);if(!de&&rn)switch(ge){case"quarter":return An(on)<An(rn);case"month":return Dn(on)<Dn(rn);case"week":return ia(on)<ia(rn);default:return!mt(ln,on,rn)&&ln.isAfter(rn,on)}return!1},[It,bt[0],rn,de]);return[jn,Gn]}var Vt=te(70425),_t=te(6089);function kt(le,de,ge,Ye,Xe,It,bt,ln,rn,pn){var ia=ae.useState(!1),Dn=(0,Gt.Z)(ia,2),An=Dn[0],jn=Dn[1],Gn=(0,Vt.useMergedState)(le||!1,{value:de}),on=(0,Gt.Z)(Gn,2),xn=on[0],Xn=on[1],Ta=(0,Vt.useMergedState)(le||!1,{value:de,onChange:function(Bo){pn==null||pn(Bo)}}),Ba=(0,Gt.Z)(Ta,2),za=Ba[0],$a=Ba[1],ja=(0,Vt.useMergedState)(0,{value:ge}),xa=(0,Gt.Z)(ja,2),so=xa[0],Hr=xa[1],fo=ae.useState(null),Oo=(0,Gt.Z)(fo,2),Wo=Oo[0],ni=Oo[1];ae.useEffect(function(){za&&jn(!0)},[za]);var mi=function(Bo){return Bo===0?1:0},Go=(0,_t.Z)(function(bo,Bo,Yo){if(Bo===!1)$a(bo);else if(bo){Hr(Bo),$a(bo);var ai=mi(Bo);!za||![bt,ln][ai]?ni(ai):(jn(!1),Wo!==null&&ni(null))}else if(Yo==="confirm"||Yo==="blur"&&Ye){var To=xn?mi(Bo):Wo;To!==null&&(jn(!1),Hr(To)),ni(null),To!==null&&!rn[To]?(0,Dt.Z)(function(){var _o,Li=[Xe,It][To];(_o=Li.current)===null||_o===void 0||_o.focus()}):$a(!1)}else $a(!1),Xn(!1)});return[za,so,An,Go]}function ba(le,de,ge,Ye){var Xe=Ae(le,ge,Ye,1);function It(bt){return bt(le,de)?"same":bt(Xe,de)?"closing":"far"}switch(ge){case"year":return It(function(bt,ln){return Oe(Ye,bt,ln)});case"quarter":case"month":return It(function(bt,ln){return ve(Ye,bt,ln)});default:return It(function(bt,ln){return we(Ye,bt,ln)})}}function Va(le,de,ge,Ye){var Xe=Xa(le,0),It=Xa(le,1);if(de===0)return Xe;if(Xe&&It){var bt=ba(Xe,It,ge,Ye);switch(bt){case"same":return Xe;case"closing":return Xe;default:return Ae(It,ge,Ye,-1)}}return Xe}function Fa(le){var de=le.values,ge=le.picker,Ye=le.defaultDates,Xe=le.generateConfig,It=ae.useState(function(){return[Xa(Ye,0),Xa(Ye,1)]}),bt=(0,Gt.Z)(It,2),ln=bt[0],rn=bt[1],pn=ae.useState(null),ia=(0,Gt.Z)(pn,2),Dn=ia[0],An=ia[1],jn=Xa(de,0),Gn=Xa(de,1);function on(Xn){return ln[Xn]?ln[Xn]:Xa(Dn,Xn)||Va(de,Xn,ge,Xe)||jn||Gn||Xe.getNow()}function xn(Xn,Ta){if(Xn){var Ba=Nn(Dn,Xn,Ta);rn(Nn(ln,null,Ta)||[null,null]);var za=(Ta+1)%2;Xa(de,za)||(Ba=Nn(Ba,Xn,za)),An(Ba)}else(jn||Gn)&&An(null)}return[on,xn]}function In(le,de){return le&&le[0]&&le[1]&&de.isAfter(le[0],le[1])?[le[1],le[0]]:le}function Ua(le,de,ge,Ye){return!!(le||Ye&&Ye[de]||ge[(de+1)%2])}function hn(le){var de,ge,Ye,Xe=le,It=Xe.prefixCls,bt=It===void 0?"rc-picker":It,ln=Xe.id,rn=Xe.style,pn=Xe.className,ia=Xe.popupStyle,Dn=Xe.dropdownClassName,An=Xe.transitionName,jn=Xe.dropdownAlign,Gn=Xe.getPopupContainer,on=Xe.generateConfig,xn=Xe.locale,Xn=Xe.placeholder,Ta=Xe.autoFocus,Ba=Xe.disabled,za=Xe.format,$a=Xe.picker,ja=$a===void 0?"date":$a,xa=Xe.showTime,so=Xe.use12Hours,Hr=Xe.separator,fo=Hr===void 0?"~":Hr,Oo=Xe.value,Wo=Xe.defaultValue,ni=Xe.defaultPickerValue,mi=Xe.open,Go=Xe.defaultOpen,bo=Xe.disabledDate,Bo=Xe.disabledTime,Yo=Xe.dateRender,ai=Xe.monthCellRender,To=Xe.cellRender,_o=Xe.panelRender,Li=Xe.presets,Ci=Xe.ranges,ce=Xe.allowEmpty,pe=Xe.allowClear,ke=Xe.suffixIcon,Ue=Xe.clearIcon,ot=Xe.pickerRef,lt=Xe.inputReadOnly,Ot=Xe.mode,Lt=Xe.renderExtraFooter,Bt=Xe.onChange,Ut=Xe.onOpenChange,jt=Xe.onPanelChange,Kt=Xe.onCalendarChange,En=Xe.onFocus,Sn=Xe.onBlur,wn=Xe.onMouseDown,Kn=Xe.onMouseUp,Zn=Xe.onMouseEnter,ua=Xe.onMouseLeave,ta=Xe.onClick,ma=Xe.onOk,Ya=Xe.onKeyDown,rr=Xe.components,ka=Xe.order,Ja=Xe.direction,Dr=Xe.activePickerIndex,Sa=Xe.autoComplete,_a=Sa===void 0?"off":Sa,wa=Xe.changeOnBlur,da=ja==="date"&&!!xa||ja==="time",fa=(0,ae.useRef)(null),qa=(0,ae.useRef)(null),Gr=(0,ae.useRef)(null),Lr=(0,ae.useRef)(null),Ka=(0,ae.useRef)(null),zr=(0,ae.useRef)(null),Wr=(0,ae.useRef)(null),Jr=(0,ae.useRef)(null),Vr=oo(an(za,ja,xa,so)),Vo=(0,ae.useRef)(null),lo=ae.useMemo(function(){return Array.isArray(Ba)?Ba:[Ba||!1,Ba||!1]},[Ba]),vr=(0,Hn.Z)(null,{value:Oo,defaultValue:Wo,postState:function(yr){return ja==="time"&&!ka?yr:In(yr,on)}}),ei=(0,Gt.Z)(vr,2),cr=ei[0],ko=ei[1],Ao=Fa({values:cr,picker:ja,defaultDates:ni,generateConfig:on}),fi=(0,Gt.Z)(Ao,2),gr=fi[0],or=fi[1],ir=(0,Hn.Z)(cr,{postState:function(yr){var qr=yr;if(lo[0]&&lo[1])return qr;for(var Xo=0;Xo<2;Xo+=1)lo[Xo]&&!qr&&!Xa(qr,Xo)&&!Xa(ce,Xo)&&(qr=Nn(qr,on.getNow(),Xo));return qr}}),Wa=(0,Gt.Z)(ir,2),Na=Wa[0],Bn=Wa[1],va=(0,Hn.Z)([ja,ja],{value:Ot}),Br=(0,Gt.Z)(va,2),Qr=Br[0],Ni=Br[1];(0,ae.useEffect)(function(){Ni([ja,ja])},[ja]);var bi=function(yr,qr){Ni(yr),jt&&jt(qr,yr)},Ji=kt(Go,mi,Dr,wa,zr,Wr,Xa(Na,0),Xa(Na,1),lo,Ut),si=(0,Gt.Z)(Ji,4),ri=si[0],lr=si[1],Ri=si[2],ji=si[3],No=ri&&lr===0,Zo=ri&&lr===1,ii=rl({picker:ja,selectedValue:Na,locale:xn,disabled:lo,disabledDate:bo,generateConfig:on},!ri||Ri),Pi=(0,Gt.Z)(ii,2),pi=Pi[0],uo=Pi[1],Gi=(0,ae.useState)(0),Ii=(0,Gt.Z)(Gi,2),zo=Ii[0],pr=Ii[1];(0,ae.useEffect)(function(){!ri&&fa.current&&pr(fa.current.offsetWidth)},[ri]);function hi(Uo){ji(!0,Uo,"open"),(0,Dt.Z)(function(){var yr,qr=[zr,Wr][Uo];(yr=qr.current)===null||yr===void 0||yr.focus()},0)}function Ti(Uo,yr){var qr=Uo,Xo=Xa(qr,0),xi=Xa(qr,1);Xo&&xi&&on.isAfter(Xo,xi)&&(ja==="week"&&!Ht(on,xn.locale,Xo,xi)||ja==="quarter"&&!We(on,Xo,xi)||ja!=="week"&&ja!=="quarter"&&ja!=="time"&&!mt(on,Xo,xi)?yr===0?(qr=[Xo,null],xi=null):(Xo=null,qr=[null,xi]):(ja!=="time"||ka!==!1)&&(qr=In(qr,on))),Bn(qr);var Ml=qr&&qr[0]?He(qr[0],{generateConfig:on,locale:xn,format:Vr[0]}):"",gl=qr&&qr[1]?He(qr[1],{generateConfig:on,locale:xn,format:Vr[0]}):"";if(Kt){var yl={range:yr===0?"start":"end"};Kt(qr,[Ml,gl],yl)}var El=Ua(Xo,0,lo,ce),Jl=Ua(xi,1,lo,ce),xl=qr===null||El&&Jl;xl&&(ko(qr),Bt&&(!Se(on,Xa(cr,0),Xo)||!Se(on,Xa(cr,1),xi))&&Bt(qr,[Ml,gl]))}var sl=function(yr){return ri&&Vo.current&&Vo.current.onKeyDown?Vo.current.onKeyDown(yr):((0,he.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},el={formatList:Vr,generateConfig:on,locale:xn},Qi=Zt(Xa(Na,0),el),Wi=(0,Gt.Z)(Qi,2),yi=Wi[0],gi=Wi[1],ol=Zt(Xa(Na,1),el),fl=(0,Gt.Z)(ol,2),al=fl[0],il=fl[1],Cl=function(yr,qr){var Xo=ct(yr,{locale:xn,formatList:Vr,generateConfig:on}),xi=qr===0?pi:uo;Xo&&!xi(Xo)&&(Bn(Nn(Na,Xo,qr)),or(Xo,qr))},Rl=Ft({valueTexts:yi,onTextChange:function(yr){return Cl(yr,0)}}),Po=(0,Gt.Z)(Rl,3),Qo=Po[0],ki=Po[1],di=Po[2],Vi=Ft({valueTexts:al,onTextChange:function(yr){return Cl(yr,1)}}),Ui=(0,Gt.Z)(Vi,3),Ki=Ui[0],ll=Ui[1],Tl=Ui[2],du=(0,ae.useState)(null),kl=(0,Gt.Z)(du,2),cu=kl[0],ql=kl[1],Dl=(0,ae.useState)(null),pl=(0,Gt.Z)(Dl,2),hl=pl[0],eu=pl[1],tu=mn(Qo,{formatList:Vr,generateConfig:on,locale:xn}),Zl=(0,Gt.Z)(tu,3),zl=Zl[0],Bl=Zl[1],Al=Zl[2],gu=mn(Ki,{formatList:Vr,generateConfig:on,locale:xn}),Ll=(0,Gt.Z)(gu,3),_l=Ll[0],mu=Ll[1],Hl=Ll[2],fu=function(yr){eu(Nn(Na,yr,lr)),lr===0?Bl(yr):mu(yr)},nu=function(){eu(Nn(Na,null,lr)),lr===0?Al():Hl()},Ol=ae.useState(ri),Nl=(0,Gt.Z)(Ol,2),jl=Nl[0],au=Nl[1];ae.useEffect(function(){au(ri)},[ri]);var ru=function(yr){if(wa&&jl){var qr=Xa(Na,lr);qr&&Ti(Na,lr)}return Sn==null?void 0:Sn(yr)},Gl=function(yr,qr){return{blurToCancel:!wa&&da,forwardKeyDown:sl,onBlur:ru,isClickOutside:function(xi){return!Cr([qa.current,Gr.current,Lr.current,fa.current],xi)},onFocus:function(xi){En&&En(xi)},triggerOpen:function(xi){xi?ji(xi,yr,"open"):ji(xi,Xa(Na,yr)?yr:!1,"blur")},onSubmit:function(){if(!Na||bo&&bo(Na[yr]))return!1;Ti(Na,yr),qr(),ji(!1,lr,"confirm")},onCancel:function(){ji(!1,yr,"cancel"),Bn(cr),qr()}}},Kl={onKeyDown:function(yr,qr){Ya==null||Ya(yr,qr)},changeOnBlur:wa},pu=Qa((0,Qt.Z)((0,Qt.Z)({},Gl(0,di)),{},{open:No,value:Qo},Kl)),Wl=(0,Gt.Z)(pu,2),Vl=Wl[0],Ul=Wl[1],Il=Ul.focused,$l=Ul.typing,hu=Qa((0,Qt.Z)((0,Qt.Z)({},Gl(1,Tl)),{},{open:Zo,value:Ki},Kl)),Ho=(0,Gt.Z)(hu,2),ci=Ho[0],tl=Ho[1],dl=tl.focused,cl=tl.typing,ou=function(yr){ta&&ta(yr),!ri&&!zr.current.contains(yr.target)&&!Wr.current.contains(yr.target)&&(lo[0]?lo[1]||hi(1):hi(0))},Yl=function(yr){wn&&wn(yr),ri&&(Il||dl)&&!zr.current.contains(yr.target)&&!Wr.current.contains(yr.target)&&yr.preventDefault()},Ql=cr&&cr[0]?He(cr[0],{locale:xn,format:"YYYYMMDDHHmmss",generateConfig:on}):"",Xl=cr&&cr[1]?He(cr[1],{locale:xn,format:"YYYYMMDDHHmmss",generateConfig:on}):"";(0,ae.useEffect)(function(){ri||(Bn(cr),!yi.length||yi[0]===""?ki(""):gi!==Qo&&di(),!al.length||al[0]===""?ll(""):il!==Ki&&Tl())},[ri,yi,al]),(0,ae.useEffect)(function(){Bn(cr)},[Ql,Xl]);var bl=Xr({cellRender:To,monthCellRender:ai,dateRender:Yo}),Lu=ae.useMemo(function(){if(bl)return function(Uo,yr){return bl(Uo,(0,Qt.Z)((0,Qt.Z)({},yr),{},{range:lr?"end":"start"}))}},[lr,bl]);ot&&(ot.current={focus:function(){zr.current&&zr.current.focus()},blur:function(){zr.current&&zr.current.blur(),Wr.current&&Wr.current.blur()}});var Ou=at(Li,Ci);function vu(){var Uo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,yr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},qr=null;ri&&hl&&hl[0]&&hl[1]&&on.isAfter(hl[1],hl[0])&&(qr=hl);var Xo=xa;if(xa&&(0,Ln.Z)(xa)==="object"&&xa.defaultValue){var xi=xa.defaultValue;Xo=(0,Qt.Z)((0,Qt.Z)({},xa),{},{defaultValue:Xa(xi,lr)||void 0})}return ae.createElement(er.Provider,{value:{inRange:!0,panelPosition:Uo,rangedValue:cu||Na,hoverRangedValue:qr}},ae.createElement(Eo,(0,oe.Z)({},le,yr,{cellRender:Lu,showTime:Xo,mode:Qr[lr],generateConfig:on,style:void 0,direction:Ja,disabledDate:lr===0?pi:uo,disabledTime:function(gl){return Bo?Bo(gl,lr===0?"start":"end"):!1},className:Je()((0,Fe.Z)({},"".concat(bt,"-panel-focused"),lr===0?!$l:!cl)),value:Xa(Na,lr),locale:xn,tabIndex:-1,onPanelChange:function(gl,yl){lr===0&&Al(!0),lr===1&&Hl(!0),bi(Nn(Qr,yl,lr),Nn(Na,gl,lr));var El=gl;Uo==="right"&&Qr[lr]===yl&&(El=Ae(El,yl,on,-1)),or(El,lr)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:lr===0?Xa(Na,1):Xa(Na,0)})))}var Pl=0,Eu=0;if(lr&&Gr.current&&Ka.current&&qa.current&&Jr.current){Pl=Gr.current.offsetWidth+Ka.current.offsetWidth;var Nu=Jr.current.offsetLeft>Pl?Jr.current.offsetLeft-Pl:Jr.current.offsetLeft,Cu=qa.current.offsetWidth,bu=Jr.current.offsetWidth;Cu&&bu&&Pl>Cu-bu-(Ja==="rtl"?0:Nu)&&(Eu=Pl)}var Iu=Ja==="rtl"?{right:Pl}:{left:Pl};function Mu(){var Uo,yr=Rr(bt,Qr[lr],Lt),qr=ro({prefixCls:bt,components:rr,needConfirmButton:da,okDisabled:!Xa(Na,lr)||bo&&bo(Na[lr]),locale:xn,onOk:function(){var ml=Xa(Na,lr);ml&&(Ti(Na,lr),ma==null||ma(Na),ji(!1,lr,"confirm"))}});if(ja!=="time"&&!xa){var Xo=gr(lr),xi=Ae(Xo,ja,on),Ml=Qr[lr],gl=Ml===ja,yl=vu(gl?"left":!1,{pickerValue:Xo,onPickerValueChange:function(ml){or(ml,lr)}}),El=vu("right",{pickerValue:xi,onPickerValueChange:function(ml){or(Ae(ml,ja,on,-1),lr)}});Ja==="rtl"?Uo=ae.createElement(ae.Fragment,null,El,gl&&yl):Uo=ae.createElement(ae.Fragment,null,yl,gl&&El)}else Uo=vu();var Jl=ae.createElement("div",{className:"".concat(bt,"-panel-layout")},ae.createElement(nl,{prefixCls:bt,presets:Ou,onClick:function(ml){Ti(ml,null),ji(!1,lr,"preset")},onHover:function(ml){ql(ml)}}),ae.createElement("div",null,ae.createElement("div",{className:"".concat(bt,"-panels")},Uo),(yr||qr)&&ae.createElement("div",{className:"".concat(bt,"-footer")},yr,qr)));return _o&&(Jl=_o(Jl)),ae.createElement("div",{className:"".concat(bt,"-panel-container"),style:{marginLeft:Eu},ref:qa,onMouseDown:function(ml){ml.preventDefault()}},Jl)}var Ru=ae.createElement("div",{className:Je()("".concat(bt,"-range-wrapper"),"".concat(bt,"-").concat(ja,"-range-wrapper")),style:{minWidth:zo}},ae.createElement("div",{ref:Jr,className:"".concat(bt,"-range-arrow"),style:Iu}),Mu()),xu;ke&&(xu=ae.createElement("span",{className:"".concat(bt,"-suffix"),onMouseDown:function(yr){yr.preventDefault()}},ke));var Tu=zi(bt,pe,Ue),ku=ae.createElement("span",{onMouseDown:function(yr){yr.preventDefault(),yr.stopPropagation()},onMouseUp:function(yr){yr.preventDefault(),yr.stopPropagation();var qr=cr;lo[0]||(qr=Nn(qr,null,0)),lo[1]||(qr=Nn(qr,null,1)),Ti(qr,null),ji(!1,lr,"clear")},className:"".concat(bt,"-clear"),role:"button"},Tu),Zu=pe&&(Xa(cr,0)&&!lo[0]||Xa(cr,1)&&!lo[1]),wu={size:Un(ja,Vr[0],on)},Su=0,Pu=0;Gr.current&&Lr.current&&Ka.current&&(lr===0?Pu=Gr.current.offsetWidth:(Su=Pl,Pu=Lr.current.offsetWidth));var zu=Ja==="rtl"?{right:Su}:{left:Su},_u=function(yr,qr){var Xo=Nn(Na,yr,lr);if(qr==="submit"||qr!=="key"&&!da){Ti(Xo,lr),lr===0?Al():Hl();var xi=lr===0?1:0;lo[xi]?ji(!1,!1,"confirm"):ji(!1,lr,"confirm")}else Bn(Xo)};return ae.createElement(dn.Provider,{value:{operationRef:Vo,hideHeader:ja==="time",onDateMouseEnter:fu,onDateMouseLeave:nu,hideRanges:!0,onSelect:_u,open:ri}},ae.createElement(Zi,{visible:ri,popupElement:Ru,popupStyle:ia,prefixCls:bt,dropdownClassName:Dn,dropdownAlign:jn,getPopupContainer:Gn,transitionName:An,range:!0,direction:Ja},ae.createElement("div",(0,oe.Z)({ref:fa,className:Je()(bt,"".concat(bt,"-range"),pn,(de={},(0,Fe.Z)(de,"".concat(bt,"-disabled"),lo[0]&&lo[1]),(0,Fe.Z)(de,"".concat(bt,"-focused"),lr===0?Il:dl),(0,Fe.Z)(de,"".concat(bt,"-rtl"),Ja==="rtl"),de)),style:rn,onClick:ou,onMouseEnter:Zn,onMouseLeave:ua,onMouseDown:Yl,onMouseUp:Kn},(0,Jn.Z)(le,{aria:!0,data:!0})),ae.createElement("div",{className:Je()("".concat(bt,"-input"),(ge={},(0,Fe.Z)(ge,"".concat(bt,"-input-active"),lr===0),(0,Fe.Z)(ge,"".concat(bt,"-input-placeholder"),!!zl),ge)),ref:Gr},ae.createElement("input",(0,oe.Z)({id:ln,disabled:lo[0],readOnly:lt||typeof Vr[0]=="function"||!$l,value:zl||Qo,onChange:function(yr){ki(yr.target.value)},autoFocus:Ta,placeholder:Xa(Xn,0)||"",ref:zr},Vl,wu,{autoComplete:_a}))),ae.createElement("div",{className:"".concat(bt,"-range-separator"),ref:Ka},fo),ae.createElement("div",{className:Je()("".concat(bt,"-input"),(Ye={},(0,Fe.Z)(Ye,"".concat(bt,"-input-active"),lr===1),(0,Fe.Z)(Ye,"".concat(bt,"-input-placeholder"),!!_l),Ye)),ref:Lr},ae.createElement("input",(0,oe.Z)({disabled:lo[1],readOnly:lt||typeof Vr[0]=="function"||!cl,value:_l||Ki,onChange:function(yr){ll(yr.target.value)},placeholder:Xa(Xn,1)||"",ref:Wr},ci,wu,{autoComplete:_a}))),ae.createElement("div",{className:"".concat(bt,"-active-bar"),style:(0,Qt.Z)((0,Qt.Z)({},zu),{},{width:Pu,position:"absolute"})}),xu,Zu&&ku)))}var Za=function(le){(0,St.Z)(ge,le);var de=(0,sn.Z)(ge);function ge(){var Ye;(0,st.Z)(this,ge);for(var Xe=arguments.length,It=new Array(Xe),bt=0;bt<Xe;bt++)It[bt]=arguments[bt];return Ye=de.call.apply(de,[this].concat(It)),(0,Fe.Z)((0,Nt.Z)(Ye),"pickerRef",ae.createRef()),(0,Fe.Z)((0,Nt.Z)(Ye),"focus",function(){Ye.pickerRef.current&&Ye.pickerRef.current.focus()}),(0,Fe.Z)((0,Nt.Z)(Ye),"blur",function(){Ye.pickerRef.current&&Ye.pickerRef.current.blur()}),Ye}return(0,At.Z)(ge,[{key:"render",value:function(){return ae.createElement(hn,(0,oe.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),ge}(ae.Component),Da=Za,Io=_i,Ma=te(19080),$o=te(36355),Si=te(1684),Ko=te(19716),Sr=te(32441),Pr=te(9763),Qn=te(33234),ao=te(48183),oi=te(64993),ha=te(9937),ca=te(17313),eo=te(47585),Ai=te(74207),Tn=te(13826),tr=te(92899),aa=te(37613),nn=te(83116);const Wn=(le,de,ge,Ye)=>{const{lineHeight:Xe}=le,It=Math.floor(ge*Xe)+2,bt=Math.max((de-It)/2,0),ln=Math.max(de-It-bt,0);return{padding:`${bt}px ${Ye}px ${ln}px`}},Cn=le=>{const{componentCls:de,pickerCellCls:ge,pickerCellInnerCls:Ye,cellHeight:Xe,motionDurationSlow:It,borderRadiusSM:bt,motionDurationMid:ln,cellHoverBg:rn,lineWidth:pn,lineType:ia,colorPrimary:Dn,cellActiveWithRangeBg:An,colorTextLightSolid:jn,controlHeightSM:Gn,cellRangeBorderColor:on,pickerCellBorderGap:xn,cellHoverWithRangeBg:Xn,cellWidth:Ta,colorTextDisabled:Ba,cellBgDisabled:za}=le;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Xe,transform:"translateY(-50%)",transition:`all ${It}`,content:'""'},[Ye]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Xe,height:Xe,lineHeight:`${Xe}px`,borderRadius:bt,transition:`background ${ln}, border ${ln}`},"&-range-hover-start, &-range-hover-end":{[Ye]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${ge}-in-view),
&:hover:not(${ge}-selected):not(${ge}-range-start):not(${ge}-range-end):not(${ge}-range-hover-start):not(${ge}-range-hover-end)`]:{[Ye]:{background:rn}},[`&-in-view${ge}-today ${Ye}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${pn}px ${ia} ${Dn}`,borderRadius:bt,content:'""'}},[`&-in-view${ge}-in-range`]:{position:"relative","&::before":{background:An}},[`&-in-view${ge}-selected ${Ye},
&-in-view${ge}-range-start ${Ye},
&-in-view${ge}-range-end ${Ye}`]:{color:jn,background:Dn},[`&-in-view${ge}-range-start:not(${ge}-range-start-single),
&-in-view${ge}-range-end:not(${ge}-range-end-single)`]:{"&::before":{background:An}},[`&-in-view${ge}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${ge}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${ge}-range-hover-start:not(${ge}-in-range):not(${ge}-range-start):not(${ge}-range-end),
&-in-view${ge}-range-hover-end:not(${ge}-in-range):not(${ge}-range-start):not(${ge}-range-end),
&-in-view${ge}-range-hover-start${ge}-range-start-single,
&-in-view${ge}-range-hover-start${ge}-range-start${ge}-range-end${ge}-range-end-near-hover,
&-in-view${ge}-range-hover-end${ge}-range-start${ge}-range-end${ge}-range-start-near-hover,
&-in-view${ge}-range-hover-end${ge}-range-end-single,
&-in-view${ge}-range-hover:not(${ge}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:Gn,borderTop:`${pn}px dashed ${on}`,borderBottom:`${pn}px dashed ${on}`,transform:"translateY(-50%)",transition:`all ${It}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:xn},[`&-in-view${ge}-in-range${ge}-range-hover::before,
&-in-view${ge}-in-range${ge}-range-hover-start::before,
&-in-view${ge}-in-range${ge}-range-hover-end::before,
&-in-view${ge}-range-start${ge}-range-hover::before,
&-in-view${ge}-range-end${ge}-range-hover::before,
&-in-view${ge}-range-start:not(${ge}-range-start-single)${ge}-range-hover-start::before,
&-in-view${ge}-range-end:not(${ge}-range-end-single)${ge}-range-hover-end::before,
${de}-panel
> :not(${de}-date-panel)
&-in-view${ge}-in-range${ge}-range-hover-start::before,
${de}-panel
> :not(${de}-date-panel)
&-in-view${ge}-in-range${ge}-range-hover-end::before`]:{background:Xn},[`&-in-view${ge}-range-start:not(${ge}-range-start-single):not(${ge}-range-end) ${Ye}`]:{borderStartStartRadius:bt,borderEndStartRadius:bt,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${ge}-range-end:not(${ge}-range-end-single):not(${ge}-range-start) ${Ye}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:bt,borderEndEndRadius:bt},[`&-range-hover${ge}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${ge}-range-hover:first-child::after,
tr > &-in-view${ge}-range-hover-end:first-child::after,
&-in-view${ge}-start${ge}-range-hover-edge-start${ge}-range-hover-edge-start-near-range::after,
&-in-view${ge}-range-hover-edge-start:not(${ge}-range-hover-edge-start-near-range)::after,
&-in-view${ge}-range-hover-start::after`]:{insetInlineStart:(Ta-Xe)/2,borderInlineStart:`${pn}px dashed ${on}`,borderStartStartRadius:bt,borderEndStartRadius:bt},[`tr > &-in-view${ge}-range-hover:last-child::after,
tr > &-in-view${ge}-range-hover-start:last-child::after,
&-in-view${ge}-end${ge}-range-hover-edge-end${ge}-range-hover-edge-end-near-range::after,
&-in-view${ge}-range-hover-edge-end:not(${ge}-range-hover-edge-end-near-range)::after,
&-in-view${ge}-range-hover-end::after`]:{insetInlineEnd:(Ta-Xe)/2,borderInlineEnd:`${pn}px dashed ${on}`,borderStartEndRadius:bt,borderEndEndRadius:bt},"&-disabled":{color:Ba,pointerEvents:"none",[Ye]:{background:"transparent"},"&::before":{background:za}},[`&-disabled${ge}-today ${Ye}::before`]:{borderColor:Ba}}},$r=le=>{const{componentCls:de,pickerCellCls:ge,pickerCellInnerCls:Ye,pickerYearMonthCellWidth:Xe,pickerControlIconSize:It,cellWidth:bt,paddingSM:ln,paddingXS:rn,paddingXXS:pn,colorBgContainer:ia,lineWidth:Dn,lineType:An,borderRadiusLG:jn,colorPrimary:Gn,colorTextHeading:on,colorSplit:xn,pickerControlIconBorderWidth:Xn,colorIcon:Ta,textHeight:Ba,motionDurationMid:za,colorIconHover:$a,fontWeightStrong:ja,cellHeight:xa,pickerCellPaddingVertical:so,colorTextDisabled:Hr,colorText:fo,fontSize:Oo,cellHoverWithRangeBg:Wo,motionDurationSlow:ni,withoutTimeCellHeight:mi,pickerQuarterPanelContentHeight:Go,colorLink:bo,colorLinkActive:Bo,colorLinkHover:Yo,cellRangeBorderColor:ai,borderRadiusSM:To,colorTextLightSolid:_o,cellHoverBg:Li,timeColumnHeight:Ci,timeColumnWidth:ce,timeCellHeight:pe,controlItemBgActive:ke,marginXXS:Ue,pickerDatePanelPaddingHorizontal:ot}=le,lt=bt*7+ot*2,Ot=(lt-rn*2)/3-Xe-ln,Lt=(lt-rn*2)/4-Xe;return{[de]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:ia,border:`${Dn}px ${An} ${xn}`,borderRadius:jn,outline:"none","&-focused":{borderColor:Gn},"&-rtl":{direction:"rtl",[`${de}-prev-icon,
${de}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${de}-next-icon,
${de}-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:lt},"&-header":{display:"flex",padding:`0 ${rn}px`,color:on,borderBottom:`${Dn}px ${An} ${xn}`,"> *":{flex:"none"},button:{padding:0,color:Ta,lineHeight:`${Ba}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${za}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:Oo,"&:hover":{color:$a}},"&-view":{flex:"auto",fontWeight:ja,lineHeight:`${Ba}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:rn},"&:hover":{color:Gn}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:It,height:It,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:It,height:It,border:"0 solid currentcolor",borderBlockStartWidth:Xn,borderBlockEndWidth:0,borderInlineStartWidth:Xn,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(It/2),insetInlineStart:Math.ceil(It/2),display:"inline-block",width:It,height:It,border:"0 solid currentcolor",borderBlockStartWidth:Xn,borderBlockEndWidth:0,borderInlineStartWidth:Xn,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:xa,fontWeight:"normal"},th:{height:xa+so*2,color:fo,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${so}px 0`,color:Hr,cursor:"pointer","&-in-view":{color:fo}},Cn(le)),[`&-date-panel ${de}-cell-in-view${de}-cell-in-range${de}-cell-range-hover-start ${Ye},
&-date-panel ${de}-cell-in-view${de}-cell-in-range${de}-cell-range-hover-end ${Ye}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:Wo,transition:`all ${ni}`,content:'""'}},[`&-date-panel
${de}-cell-in-view${de}-cell-in-range${de}-cell-range-hover-start
${Ye}::after`]:{insetInlineEnd:-(bt-xa)/2,insetInlineStart:0},[`&-date-panel ${de}-cell-in-view${de}-cell-in-range${de}-cell-range-hover-end ${Ye}::after`]:{insetInlineEnd:0,insetInlineStart:-(bt-xa)/2},[`&-range-hover${de}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${de}-content`]:{height:mi*4},[Ye]:{padding:`0 ${rn}px`}},"&-quarter-panel":{[`${de}-content`]:{height:Go},[`${de}-cell-range-hover-start::after`]:{insetInlineStart:Lt,borderInlineStart:`${Dn}px dashed ${ai}`,[`${de}-panel-rtl &`]:{insetInlineEnd:Lt,borderInlineEnd:`${Dn}px dashed ${ai}`}},[`${de}-cell-range-hover-end::after`]:{insetInlineEnd:Lt,borderInlineEnd:`${Dn}px dashed ${ai}`,[`${de}-panel-rtl &`]:{insetInlineStart:Lt,borderInlineStart:`${Dn}px dashed ${ai}`}}},[`&-panel ${de}-footer`]:{borderTop:`${Dn}px ${An} ${xn}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${Ba-2*Dn}px`,textAlign:"center","&-extra":{padding:`0 ${ln}px`,lineHeight:`${Ba-2*Dn}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${Dn}px ${An} ${xn}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:bo,"&:hover":{color:Yo},"&:active":{color:Bo},[`&${de}-today-btn-disabled`]:{color:Hr,cursor:"not-allowed"}},"&-decade-panel":{[Ye]:{padding:`0 ${rn/2}px`},[`${de}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${de}-body`]:{padding:`0 ${rn}px`},[Ye]:{width:Xe},[`${de}-cell-range-hover-start::after`]:{borderStartStartRadius:To,borderEndStartRadius:To,borderStartEndRadius:0,borderEndEndRadius:0,[`${de}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:To,borderEndEndRadius:To}},[`${de}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:To,borderEndEndRadius:To,[`${de}-panel-rtl &`]:{borderStartStartRadius:To,borderEndStartRadius:To,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${de}-cell-range-hover-start::after`]:{insetInlineStart:Ot,borderInlineStart:`${Dn}px dashed ${ai}`,[`${de}-panel-rtl &`]:{insetInlineEnd:Ot,borderInlineEnd:`${Dn}px dashed ${ai}`}},[`${de}-cell-range-hover-end::after`]:{insetInlineEnd:Ot,borderInlineEnd:`${Dn}px dashed ${ai}`,[`${de}-panel-rtl &`]:{insetInlineStart:Ot,borderInlineStart:`${Dn}px dashed ${ai}`}}},"&-week-panel":{[`${de}-body`]:{padding:`${rn}px ${ln}px`},[`${de}-cell`]:{[`&:hover ${Ye},
&-selected ${Ye},
${Ye}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${za}`},"&:first-child:before":{borderStartStartRadius:To,borderEndStartRadius:To},"&:last-child:before":{borderStartEndRadius:To,borderEndEndRadius:To}},"&:hover td":{"&:before":{background:Li}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${ge}`]:{"&:before":{background:Gn},[`&${de}-cell-week`]:{color:new oi.C(_o).setAlpha(.5).toHexString()},[Ye]:{color:_o}}},"&-range-hover td:before":{background:ke}}},"&-date-panel":{[`${de}-body`]:{padding:`${rn}px ${ot}px`},[`${de}-content`]:{width:bt*7,th:{width:bt,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${de}-time-panel`]:{borderInlineStart:`${Dn}px ${An} ${xn}`},[`${de}-date-panel,
${de}-time-panel`]:{transition:`opacity ${ni}`},"&-active":{[`${de}-date-panel,
${de}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${de}-content`]:{display:"flex",flex:"auto",height:Ci},"&-column":{flex:"1 0 auto",width:ce,margin:`${pn}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${za}`,overflowX:"hidden","&::after":{display:"block",height:Ci-pe,content:'""'},"&:not(:first-child)":{borderInlineStart:`${Dn}px ${An} ${xn}`},"&-active":{background:new oi.C(ke).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${de}-time-panel-cell`]:{marginInline:Ue,[`${de}-time-panel-cell-inner`]:{display:"block",width:ce-2*Ue,height:pe,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(ce-pe)/2,color:fo,lineHeight:`${pe}px`,borderRadius:To,cursor:"pointer",transition:`background ${za}`,"&:hover":{background:Li}},"&-selected":{[`${de}-time-panel-cell-inner`]:{background:ke}},"&-disabled":{[`${de}-time-panel-cell-inner`]:{color:Hr,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${de}-time-panel-column:after`]:{height:Ci-pe+pn*2}}}},mr=le=>{const{componentCls:de,colorBgContainer:ge,colorError:Ye,errorActiveShadow:Xe,colorWarning:It,warningActiveShadow:bt}=le;return{[`${de}:not(${de}-disabled)`]:{[`&${de}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:ge,borderColor:Ye},[`&${de}-focused, &:focus`]:Object.assign({},(0,ha.M1)((0,aa.TS)(le,{activeBorderColor:Ye,activeShadow:Xe}))),[`${de}-active-bar`]:{background:Ye}},[`&${de}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:ge,borderColor:It},[`&${de}-focused, &:focus`]:Object.assign({},(0,ha.M1)((0,aa.TS)(le,{activeBorderColor:It,activeShadow:bt}))),[`${de}-active-bar`]:{background:It}}}}},Tr=le=>{const{componentCls:de,antCls:ge,controlHeight:Ye,fontSize:Xe,paddingInline:It,colorBgContainer:bt,lineWidth:ln,lineType:rn,colorBorder:pn,borderRadius:ia,motionDurationMid:Dn,colorBgContainerDisabled:An,colorTextDisabled:jn,colorTextPlaceholder:Gn,controlHeightLG:on,fontSizeLG:xn,controlHeightSM:Xn,paddingInlineSM:Ta,paddingXS:Ba,marginXS:za,colorTextDescription:$a,lineWidthBold:ja,lineHeight:xa,colorPrimary:so,motionDurationSlow:Hr,zIndexPopup:fo,paddingXXS:Oo,paddingSM:Wo,textHeight:ni,cellActiveWithRangeBg:mi,colorPrimaryBorder:Go,sizePopupArrow:bo,borderRadiusXS:Bo,borderRadiusOuter:Yo,colorBgElevated:ai,borderRadiusLG:To,boxShadowSecondary:_o,borderRadiusSM:Li,colorSplit:Ci,cellHoverBg:ce,presetsWidth:pe,presetsMaxWidth:ke,boxShadowPopoverArrow:Ue,colorTextQuaternary:ot}=le;return[{[de]:Object.assign(Object.assign(Object.assign({},(0,ca.Wf)(le)),Wn(le,Ye,Xe,It)),{position:"relative",display:"inline-flex",alignItems:"center",background:bt,lineHeight:1,border:`${ln}px ${rn} ${pn}`,borderRadius:ia,transition:`border ${Dn}, box-shadow ${Dn}`,"&:hover, &-focused":Object.assign({},(0,ha.pU)(le)),"&-focused":Object.assign({},(0,ha.M1)(le)),[`&${de}-disabled`]:{background:An,borderColor:pn,cursor:"not-allowed",[`${de}-suffix`]:{color:ot}},[`&${de}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${de}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,ha.ik)(le)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${de}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:Gn}}},"&-large":Object.assign(Object.assign({},Wn(le,on,xn,It)),{[`${de}-input > input`]:{fontSize:xn}}),"&-small":Object.assign({},Wn(le,Xn,Xe,Ta)),[`${de}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:Ba/2,color:jn,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:za}}},[`${de}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:jn,lineHeight:1,background:bt,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${Dn}, color ${Dn}`,"> *":{verticalAlign:"top"},"&:hover":{color:$a}},[`${de}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:xn,color:jn,fontSize:xn,verticalAlign:"top",cursor:"default",[`${de}-focused &`]:{color:$a},[`${de}-range-separator &`]:{[`${de}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${de}-clear`]:{insetInlineEnd:It},"&:hover":{[`${de}-clear`]:{opacity:1}},[`${de}-active-bar`]:{bottom:-ln,height:ja,marginInlineStart:It,background:so,opacity:0,transition:`all ${Hr} ease-out`,pointerEvents:"none"},[`&${de}-focused`]:{[`${de}-active-bar`]:{opacity:1}},[`${de}-range-separator`]:{alignItems:"center",padding:`0 ${Ba}px`,lineHeight:1},[`&${de}-small`]:{[`${de}-clear`]:{insetInlineEnd:Ta},[`${de}-active-bar`]:{marginInlineStart:Ta}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,ca.Wf)(le)),$r(le)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:fo,[`&${de}-dropdown-hidden`]:{display:"none"},[`&${de}-dropdown-placement-bottomLeft`]:{[`${de}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${de}-dropdown-placement-topLeft`]:{[`${de}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${ge}-slide-up-enter${ge}-slide-up-enter-active${de}-dropdown-placement-topLeft,
&${ge}-slide-up-enter${ge}-slide-up-enter-active${de}-dropdown-placement-topRight,
&${ge}-slide-up-appear${ge}-slide-up-appear-active${de}-dropdown-placement-topLeft,
&${ge}-slide-up-appear${ge}-slide-up-appear-active${de}-dropdown-placement-topRight`]:{animationName:Tn.Qt},[`&${ge}-slide-up-enter${ge}-slide-up-enter-active${de}-dropdown-placement-bottomLeft,
&${ge}-slide-up-enter${ge}-slide-up-enter-active${de}-dropdown-placement-bottomRight,
&${ge}-slide-up-appear${ge}-slide-up-appear-active${de}-dropdown-placement-bottomLeft,
&${ge}-slide-up-appear${ge}-slide-up-appear-active${de}-dropdown-placement-bottomRight`]:{animationName:Tn.fJ},[`&${ge}-slide-up-leave${ge}-slide-up-leave-active${de}-dropdown-placement-topLeft,
&${ge}-slide-up-leave${ge}-slide-up-leave-active${de}-dropdown-placement-topRight`]:{animationName:Tn.ly},[`&${ge}-slide-up-leave${ge}-slide-up-leave-active${de}-dropdown-placement-bottomLeft,
&${ge}-slide-up-leave${ge}-slide-up-leave-active${de}-dropdown-placement-bottomRight`]:{animationName:Tn.Uw},[`${de}-panel > ${de}-time-panel`]:{paddingTop:Oo},[`${de}-ranges`]:{marginBottom:0,padding:`${Oo}px ${Wo}px`,overflow:"hidden",lineHeight:`${ni-2*ln-Ba/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${de}-preset > ${ge}-tag-blue`]:{color:so,background:mi,borderColor:Go,cursor:"pointer"},[`${de}-ok`]:{marginInlineStart:"auto"}},[`${de}-range-wrapper`]:{display:"flex",position:"relative"},[`${de}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:It*1.5,transition:`left ${Hr} ease-out`},(0,eo.r)(bo,Bo,Yo,ai,Ue)),[`${de}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:ai,borderRadius:To,boxShadow:_o,transition:`margin ${Hr}`,[`${de}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${de}-presets`]:{display:"flex",flexDirection:"column",minWidth:pe,maxWidth:ke,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:Ba,borderInlineEnd:`${ln}px ${rn} ${Ci}`,li:Object.assign(Object.assign({},ca.vS),{borderRadius:Li,paddingInline:Ba,paddingBlock:(Xn-Math.round(Xe*xa))/2,cursor:"pointer",transition:`all ${Hr}`,"+ li":{marginTop:za},"&:hover":{background:ce}})}},[`${de}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${de}-panel`]:{borderWidth:`0 0 ${ln}px`},"&:last-child":{[`${de}-panel`]:{borderWidth:0}}},[`${de}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${de}-content,
table`]:{textAlign:"center"},"&-focused":{borderColor:pn}}}}),"&-dropdown-range":{padding:`${bo*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${de}-separator`]:{transform:"rotate(180deg)"},[`${de}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Tn.oN)(le,"slide-up"),(0,Tn.oN)(le,"slide-down"),(0,tr.Fm)(le,"move-up"),(0,tr.Fm)(le,"move-down")]},Jo=le=>{const{componentCls:de,controlHeightLG:ge,paddingXXS:Ye,padding:Xe}=le;return{pickerCellCls:`${de}-cell`,pickerCellInnerCls:`${de}-cell-inner`,pickerYearMonthCellWidth:ge*1.5,pickerQuarterPanelContentHeight:ge*1.4,pickerCellPaddingVertical:Ye+Ye/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:Xe+Ye/2}},fr=le=>({cellHoverBg:le.controlItemBgHover,cellActiveWithRangeBg:le.controlItemBgActive,cellHoverWithRangeBg:new oi.C(le.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new oi.C(le.colorPrimary).lighten(20).toHexString(),cellBgDisabled:le.colorBgContainerDisabled,timeColumnWidth:le.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:le.controlHeightSM*1.5,cellHeight:le.controlHeightSM,textHeight:le.controlHeightLG,withoutTimeCellHeight:le.controlHeightLG*1.65});var So=(0,nn.Z)("DatePicker",le=>{const de=(0,aa.TS)((0,ha.e5)(le),Jo(le));return[Tr(de),mr(de),(0,Ai.c)(le,{focusElCls:`${le.componentCls}-focused`})]},le=>Object.assign(Object.assign(Object.assign({},(0,ha.TM)(le)),fr(le)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:le.zIndexPopupBase+50}));function Ha(le,de,ge){return ge!==void 0?ge:de==="year"&&le.lang.yearPlaceholder?le.lang.yearPlaceholder:de==="quarter"&&le.lang.quarterPlaceholder?le.lang.quarterPlaceholder:de==="month"&&le.lang.monthPlaceholder?le.lang.monthPlaceholder:de==="week"&&le.lang.weekPlaceholder?le.lang.weekPlaceholder:de==="time"&&le.timePickerLocale.placeholder?le.timePickerLocale.placeholder:le.lang.placeholder}function Yr(le,de,ge){return ge!==void 0?ge:de==="year"&&le.lang.yearPlaceholder?le.lang.rangeYearPlaceholder:de==="quarter"&&le.lang.quarterPlaceholder?le.lang.rangeQuarterPlaceholder:de==="month"&&le.lang.monthPlaceholder?le.lang.rangeMonthPlaceholder:de==="week"&&le.lang.weekPlaceholder?le.lang.rangeWeekPlaceholder:de==="time"&&le.timePickerLocale.placeholder?le.timePickerLocale.rangePlaceholder:le.lang.rangePlaceholder}function mo(le,de){const ge={adjustX:1,adjustY:1};switch(de){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:ge};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:ge};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:ge};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:ge};default:return{points:le==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:ge}}}function Do(le){return le?Array.isArray(le)?le:[le]:[]}function vn(le){const{format:de,picker:ge,showHour:Ye,showMinute:Xe,showSecond:It,use12Hours:bt}=le,ln=Do(de)[0],rn=Object.assign({},le);return de&&Array.isArray(de)&&(rn.format=ln),ln&&typeof ln=="string"&&(!ln.includes("s")&&It===void 0&&(rn.showSecond=!1),!ln.includes("m")&&Xe===void 0&&(rn.showMinute=!1),!ln.includes("H")&&!ln.includes("h")&&!ln.includes("K")&&!ln.includes("k")&&Ye===void 0&&(rn.showHour=!1),(ln.includes("a")||ln.includes("A"))&&bt===void 0&&(rn.use12Hours=!0)),ge==="time"?rn:(typeof ln=="function"&&delete rn.format,{showTime:rn})}function na(le,de,ge){if(le===!1)return!1;const Ye={clearIcon:de!=null?de:ge};return typeof le=="object"?Object.assign(Object.assign({},Ye),le):Ye}var Oa=te(3113);function _n(le){return ae.createElement(Oa.ZP,Object.assign({size:"small",type:"primary"},le))}var wr={button:_n},Fr=function(le,de){var ge={};for(var Ye in le)Object.prototype.hasOwnProperty.call(le,Ye)&&de.indexOf(Ye)<0&&(ge[Ye]=le[Ye]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,Ye=Object.getOwnPropertySymbols(le);Xe<Ye.length;Xe++)de.indexOf(Ye[Xe])<0&&Object.prototype.propertyIsEnumerable.call(le,Ye[Xe])&&(ge[Ye[Xe]]=le[Ye[Xe]]);return ge};function Co(le){return(0,ae.forwardRef)((ge,Ye)=>{const{prefixCls:Xe,getPopupContainer:It,className:bt,placement:ln,size:rn,disabled:pn,bordered:ia=!0,placeholder:Dn,popupClassName:An,dropdownClassName:jn,status:Gn,clearIcon:on,allowClear:xn,rootClassName:Xn}=ge,Ta=Fr(ge,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),Ba=ae.useRef(null),{getPrefixCls:za,direction:$a,getPopupContainer:ja}=(0,ae.useContext)($o.E_),xa=za("picker",Xe),{compactSize:so,compactItemClassnames:Hr}=(0,Qn.ri)(xa,$a),{format:fo,showTime:Oo,picker:Wo}=ge,ni=za(),[mi,Go]=So(xa),bo=Object.assign(Object.assign({},Oo?vn(Object.assign({format:fo,picker:Wo},Oo)):{}),Wo==="time"?vn(Object.assign(Object.assign({format:fo},ge),{picker:Wo})):{}),Bo=(0,Ko.Z)(Ue=>{var ot;return(ot=rn!=null?rn:so)!==null&&ot!==void 0?ot:Ue}),Yo=ae.useContext(Si.Z),ai=pn!=null?pn:Yo,To=(0,ae.useContext)(Sr.aM),{hasFeedback:_o,status:Li,feedbackIcon:Ci}=To,ce=ae.createElement(ae.Fragment,null,Wo==="time"?ae.createElement($e,null):ae.createElement(Ee,null),_o&&Ci);(0,ae.useImperativeHandle)(Ye,()=>({focus:()=>{var Ue;return(Ue=Ba.current)===null||Ue===void 0?void 0:Ue.focus()},blur:()=>{var Ue;return(Ue=Ba.current)===null||Ue===void 0?void 0:Ue.blur()}}));const[pe]=(0,Pr.Z)("Calendar",ao.Z),ke=Object.assign(Object.assign({},pe),ge.locale);return mi(ae.createElement(Da,Object.assign({separator:ae.createElement("span",{"aria-label":"to",className:`${xa}-separator`},ae.createElement(Rt,null)),disabled:ai,ref:Ba,dropdownAlign:mo($a,ln),placeholder:Yr(ke,Wo,Dn),suffixIcon:ce,prevIcon:ae.createElement("span",{className:`${xa}-prev-icon`}),nextIcon:ae.createElement("span",{className:`${xa}-next-icon`}),superPrevIcon:ae.createElement("span",{className:`${xa}-super-prev-icon`}),superNextIcon:ae.createElement("span",{className:`${xa}-super-next-icon`}),transitionName:`${ni}-slide-up`},Ta,bo,{className:Je()({[`${xa}-${Bo}`]:Bo,[`${xa}-borderless`]:!ia},(0,Ma.Z)(xa,(0,Ma.F)(Li,Gn),_o),Go,Hr,bt,Xn),locale:ke.lang,prefixCls:xa,getPopupContainer:It||ja,generateConfig:le,components:wr,direction:$a,dropdownClassName:Je()(Go,An||jn,Xn),allowClear:na(xn,on,ae.createElement(Ke.Z,null))})))})}var qo=function(le,de){var ge={};for(var Ye in le)Object.prototype.hasOwnProperty.call(le,Ye)&&de.indexOf(Ye)<0&&(ge[Ye]=le[Ye]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,Ye=Object.getOwnPropertySymbols(le);Xe<Ye.length;Xe++)de.indexOf(Ye[Xe])<0&&Object.prototype.propertyIsEnumerable.call(le,Ye[Xe])&&(ge[Ye[Xe]]=le[Ye[Xe]]);return ge};function Di(le){function de(rn,pn){const ia=pn==="TimePicker"?"timePicker":"datePicker",Dn=(0,ae.forwardRef)((An,jn)=>{const{prefixCls:Gn,getPopupContainer:on,style:xn,className:Xn,rootClassName:Ta,size:Ba,bordered:za=!0,placement:$a,placeholder:ja,popupClassName:xa,dropdownClassName:so,disabled:Hr,status:fo,clearIcon:Oo,allowClear:Wo}=An,ni=qo(An,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:mi,direction:Go,getPopupContainer:bo,[ia]:Bo}=(0,ae.useContext)($o.E_),Yo=mi("picker",Gn),{compactSize:ai,compactItemClassnames:To}=(0,Qn.ri)(Yo,Go),_o=ae.useRef(null),{format:Li,showTime:Ci}=An,[ce,pe]=So(Yo);(0,ae.useImperativeHandle)(jn,()=>({focus:()=>{var Zn;return(Zn=_o.current)===null||Zn===void 0?void 0:Zn.focus()},blur:()=>{var Zn;return(Zn=_o.current)===null||Zn===void 0?void 0:Zn.blur()}}));const ke={showToday:!0};let Ue={};rn&&(Ue.picker=rn);const ot=rn||An.picker;Ue=Object.assign(Object.assign(Object.assign({},Ue),Ci?vn(Object.assign({format:Li,picker:ot},Ci)):{}),ot==="time"?vn(Object.assign(Object.assign({format:Li},An),{picker:ot})):{});const lt=mi(),Ot=(0,Ko.Z)(Zn=>{var ua;return(ua=Ba!=null?Ba:ai)!==null&&ua!==void 0?ua:Zn}),Lt=ae.useContext(Si.Z),Bt=Hr!=null?Hr:Lt,Ut=(0,ae.useContext)(Sr.aM),{hasFeedback:jt,status:Kt,feedbackIcon:En}=Ut,Sn=ae.createElement(ae.Fragment,null,ot==="time"?ae.createElement($e,null):ae.createElement(Ee,null),jt&&En),[wn]=(0,Pr.Z)("DatePicker",ao.Z),Kn=Object.assign(Object.assign({},wn),An.locale);return ce(ae.createElement(Io,Object.assign({ref:_o,placeholder:Ha(Kn,ot,ja),suffixIcon:Sn,dropdownAlign:mo(Go,$a),prevIcon:ae.createElement("span",{className:`${Yo}-prev-icon`}),nextIcon:ae.createElement("span",{className:`${Yo}-next-icon`}),superPrevIcon:ae.createElement("span",{className:`${Yo}-super-prev-icon`}),superNextIcon:ae.createElement("span",{className:`${Yo}-super-next-icon`}),transitionName:`${lt}-slide-up`},ke,ni,Ue,{locale:Kn.lang,className:Je()({[`${Yo}-${Ot}`]:Ot,[`${Yo}-borderless`]:!za},(0,Ma.Z)(Yo,(0,Ma.F)(Kt,fo),jt),pe,To,Bo==null?void 0:Bo.className,Xn,Ta),style:Object.assign(Object.assign({},Bo==null?void 0:Bo.style),xn),prefixCls:Yo,getPopupContainer:on||bo,generateConfig:le,components:wr,direction:Go,disabled:Bt,dropdownClassName:Je()(pe,Ta,xa||so),allowClear:na(Wo,Oo,ae.createElement(Ke.Z,null))})))});return pn&&(Dn.displayName=pn),Dn}const ge=de(),Ye=de("week","WeekPicker"),Xe=de("month","MonthPicker"),It=de("year","YearPicker"),bt=de("time","TimePicker"),ln=de("quarter","QuarterPicker");return{DatePicker:ge,WeekPicker:Ye,MonthPicker:Xe,YearPicker:It,TimePicker:bt,QuarterPicker:ln}}const Hi=null;function qi(le){const{DatePicker:de,WeekPicker:ge,MonthPicker:Ye,YearPicker:Xe,TimePicker:It,QuarterPicker:bt}=Di(le),ln=Co(le),rn=de;return rn.WeekPicker=ge,rn.MonthPicker=Ye,rn.YearPicker=Xe,rn.RangePicker=ln,rn.TimePicker=It,rn.QuarterPicker=bt,rn}var wl=qi;const vl=wl(ee);function Sl(le){const de=mo(le.direction,le.placement);return de.overflow.adjustY=!1,de.overflow.adjustX=!1,Object.assign(Object.assign({},le),{dropdownAlign:de})}const Fl=(0,ne.Z)(vl,"picker",null,Sl);vl._InternalPanelDoNotUseOrYouWillBeFired=Fl;const uu=(0,ne.Z)(vl.RangePicker,"picker",null,Sl);vl._InternalRangePanelDoNotUseOrYouWillBeFired=uu,vl.generatePicker=wl;var su=vl},28103:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return Me}});var z=te(92310),se=te.n(z),he=te(59301),Ie=te(36355),be=te(17313),Ne=te(83116),ie=te(37613);const nt=ye=>{const{componentCls:re,sizePaddingEdgeHorizontal:a,colorSplit:y,lineWidth:b,textPaddingInline:E,orientationMargin:x,verticalMarginInline:ee}=ye;return{[re]:Object.assign(Object.assign({},(0,be.Wf)(ye)),{borderBlockStart:`${b}px solid ${y}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ee,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${b}px solid ${y}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${ye.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${re}-with-text`]:{display:"flex",alignItems:"center",margin:`${ye.dividerHorizontalWithTextGutterMargin}px 0`,color:ye.colorTextHeading,fontWeight:500,fontSize:ye.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${y}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${b}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${re}-with-text-left`]:{"&::before":{width:`${x*100}%`},"&::after":{width:`${100-x*100}%`}},[`&-horizontal${re}-with-text-right`]:{"&::before":{width:`${100-x*100}%`},"&::after":{width:`${x*100}%`}},[`${re}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:E},"&-dashed":{background:"none",borderColor:y,borderStyle:"dashed",borderWidth:`${b}px 0 0`},[`&-horizontal${re}-with-text${re}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${re}-dashed`]:{borderInlineStartWidth:b,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${re}-with-text`]:{color:ye.colorText,fontWeight:"normal",fontSize:ye.fontSize},[`&-horizontal${re}-with-text-left${re}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${re}-inner-text`]:{paddingInlineStart:a}},[`&-horizontal${re}-with-text-right${re}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${re}-inner-text`]:{paddingInlineEnd:a}}})}};var je=(0,Ne.Z)("Divider",ye=>{const re=(0,ie.TS)(ye,{dividerHorizontalWithTextGutterMargin:ye.margin,dividerHorizontalGutterMargin:ye.marginLG,sizePaddingEdgeHorizontal:0});return[nt(re)]},ye=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:ye.marginXS})),Ze=function(ye,re){var a={};for(var y in ye)Object.prototype.hasOwnProperty.call(ye,y)&&re.indexOf(y)<0&&(a[y]=ye[y]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,y=Object.getOwnPropertySymbols(ye);b<y.length;b++)re.indexOf(y[b])<0&&Object.prototype.propertyIsEnumerable.call(ye,y[b])&&(a[y[b]]=ye[y[b]]);return a},Me=ye=>{const{getPrefixCls:re,direction:a,divider:y}=he.useContext(Ie.E_),{prefixCls:b,type:E="horizontal",orientation:x="center",orientationMargin:ee,className:ne,rootClassName:oe,children:ae,dashed:ue,plain:me,style:fe}=ye,Pe=Ze(ye,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),xe=re("divider",b),[Ee,De]=je(xe),_e=x.length>0?`-${x}`:x,pt=!!ae,Be=x==="left"&&ee!=null,$e=x==="right"&&ee!=null,Ke=se()(xe,y==null?void 0:y.className,De,`${xe}-${E}`,{[`${xe}-with-text`]:pt,[`${xe}-with-text${_e}`]:pt,[`${xe}-dashed`]:!!ue,[`${xe}-plain`]:!!me,[`${xe}-rtl`]:a==="rtl",[`${xe}-no-default-orientation-margin-left`]:Be,[`${xe}-no-default-orientation-margin-right`]:$e},ne,oe),Ve=he.useMemo(()=>typeof ee=="number"?ee:/^\d+$/.test(ee)?Number(ee):ee,[ee]),it=Object.assign(Object.assign({},Be&&{marginLeft:Ve}),$e&&{marginRight:Ve});return Ee(he.createElement("div",Object.assign({className:Ke,style:Object.assign(Object.assign({},y==null?void 0:y.style),fe)},Pe,{role:"separator"}),ae&&E!=="vertical"&&he.createElement("span",{className:`${xe}-inner-text`,style:it},ae)))}},91857:function(Ct,Pt,te){"use strict";var z=te(59301),se=te(38819),he=te(92310),Ie=te.n(he),be=te(31561),Ne=te(70425),ie=te(18929),nt=te(2738),je=te(79676),Ze=te(53487),ze=te(92343),Me=te(36355),ye=te(20834),re=te(40875),a=te(88088),y=te(47211);const b=null,E=oe=>{const{menu:ae,arrow:ue,prefixCls:me,children:fe,trigger:Pe,disabled:xe,dropdownRender:Ee,getPopupContainer:De,overlayClassName:_e,rootClassName:pt,open:Be,onOpenChange:$e,visible:Ke,onVisibleChange:Ve,mouseEnterDelay:it=.15,mouseLeaveDelay:rt=.1,autoAdjustOverflow:vt=!0,placement:Rt="",overlay:$t,transitionName:Je}=oe,{getPopupContainer:st,getPrefixCls:At,direction:Nt}=z.useContext(Me.E_),St=z.useMemo(()=>{const we=At();return Je!==void 0?Je:Rt.includes("top")?`${we}-slide-down`:`${we}-slide-up`},[At,Rt,Je]),sn=z.useMemo(()=>Rt?Rt.includes("Center")?Rt.slice(0,Rt.indexOf("Center")):Rt:Nt==="rtl"?"bottomRight":"bottomLeft",[Rt,Nt]),Fe=At("dropdown",me),[Qt,Gt]=(0,y.Z)(Fe),[,Hn]=(0,a.Z)(),Jn=z.Children.only(fe),Re=(0,ze.Tm)(Jn,{className:Ie()(`${Fe}-trigger`,{[`${Fe}-rtl`]:Nt==="rtl"},Jn.props.className),disabled:xe}),qe=xe?[]:Pe;let tt;qe&&qe.includes("contextMenu")&&(tt=!0);const[Le,ft]=(0,ie.Z)(!1,{value:Be!=null?Be:Ke}),gt=(0,Ne.useEvent)(we=>{$e==null||$e(we),Ve==null||Ve(we),ft(we)}),Oe=Ie()(_e,pt,Gt,{[`${Fe}-rtl`]:Nt==="rtl"}),ve=(0,je.Z)({arrowPointAtCenter:typeof ue=="object"&&ue.pointAtCenter,autoAdjustOverflow:vt,offset:Hn.marginXXS,arrowWidth:ue?Hn.sizePopupArrow:0,borderRadius:Hn.borderRadius}),Ge=z.useCallback(()=>{ft(!1)},[]),We=()=>{let we;return ae!=null&&ae.items?we=z.createElement(ye.default,Object.assign({},ae)):typeof $t=="function"?we=$t():we=$t,Ee&&(we=Ee(we)),we=z.Children.only(typeof we=="string"?z.createElement("span",null,we):we),z.createElement(re.J,{prefixCls:`${Fe}-menu`,expandIcon:z.createElement("span",{className:`${Fe}-menu-submenu-arrow`},z.createElement(se.Z,{className:`${Fe}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Ge,validator:mt=>{let{mode:et}=mt}},we)};return Qt(z.createElement(be.Z,Object.assign({alignPoint:tt},(0,nt.Z)(oe,["rootClassName"]),{mouseEnterDelay:it,mouseLeaveDelay:rt,visible:Le,builtinPlacements:ve,arrow:!!ue,overlayClassName:Oe,prefixCls:Fe,getPopupContainer:De||st,transitionName:St,trigger:qe,overlay:We,placement:sn,onVisibleChange:gt}),Re))};function x(oe){return Object.assign(Object.assign({},oe),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ee=(0,Ze.Z)(E,"dropdown",oe=>oe,x),ne=oe=>z.createElement(ee,Object.assign({},oe),z.createElement("span",null));E._InternalPanelDoNotUseOrYouWillBeFired=ne,Pt.Z=E},38854:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return a}});var z=te(91857),se=te(92310),he=te.n(se),Ie=te(59301),be=te(18785),Ne=te(3113),ie=te(36355),nt=te(81327),je=te(33234),Ze=te(47211),ze=function(y,b){var E={};for(var x in y)Object.prototype.hasOwnProperty.call(y,x)&&b.indexOf(x)<0&&(E[x]=y[x]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,x=Object.getOwnPropertySymbols(y);ee<x.length;ee++)b.indexOf(x[ee])<0&&Object.prototype.propertyIsEnumerable.call(y,x[ee])&&(E[x[ee]]=y[x[ee]]);return E};const Me=y=>{const{getPopupContainer:b,getPrefixCls:E,direction:x}=Ie.useContext(ie.E_),{prefixCls:ee,type:ne="default",danger:oe,disabled:ae,loading:ue,onClick:me,htmlType:fe,children:Pe,className:xe,menu:Ee,arrow:De,autoFocus:_e,overlay:pt,trigger:Be,align:$e,open:Ke,onOpenChange:Ve,placement:it,getPopupContainer:rt,href:vt,icon:Rt=Ie.createElement(be.Z,null),title:$t,buttonsRender:Je=We=>We,mouseEnterDelay:st,mouseLeaveDelay:At,overlayClassName:Nt,overlayStyle:St,destroyPopupOnHide:sn,dropdownRender:Fe}=y,Qt=ze(y,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Gt=E("dropdown",ee),Hn=`${Gt}-button`,[Jn,Re]=(0,Ze.Z)(Gt),qe={menu:Ee,arrow:De,autoFocus:_e,align:$e,disabled:ae,trigger:ae?[]:Be,onOpenChange:Ve,getPopupContainer:rt||b,mouseEnterDelay:st,mouseLeaveDelay:At,overlayClassName:Nt,overlayStyle:St,destroyPopupOnHide:sn,dropdownRender:Fe},{compactSize:tt,compactItemClassnames:Le}=(0,je.ri)(Gt,x),ft=he()(Hn,Le,xe,Re);"overlay"in y&&(qe.overlay=pt),"open"in y&&(qe.open=Ke),"placement"in y?qe.placement=it:qe.placement=x==="rtl"?"bottomLeft":"bottomRight";const gt=Ie.createElement(Ne.ZP,{type:ne,danger:oe,disabled:ae,loading:ue,onClick:me,htmlType:fe,href:vt,title:$t},Pe),Oe=Ie.createElement(Ne.ZP,{type:ne,danger:oe,icon:Rt}),[ve,Ge]=Je([gt,Oe]);return Jn(Ie.createElement(nt.Z.Compact,Object.assign({className:ft,size:tt,block:!0},Qt),ve,Ie.createElement(z.Z,Object.assign({},qe),Ge)))};Me.__ANT_BUTTON=!0;var ye=Me;const re=z.Z;re.Button=ye;var a=re},47211:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return ze}});var z=te(17313),se=te(13826),he=te(92899),Ie=te(29878),be=te(19447),Ne=te(83116),ie=te(37613),je=Me=>{const{componentCls:ye,menuCls:re,colorError:a,colorTextLightSolid:y}=Me,b=`${re}-item`;return{[`${ye}, ${ye}-menu-submenu`]:{[`${re} ${b}`]:{[`&${b}-danger:not(${b}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const Ze=Me=>{const{componentCls:ye,menuCls:re,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:b,antCls:E,iconCls:x,motionDurationMid:ee,dropdownPaddingVertical:ne,fontSize:oe,dropdownEdgeChildPadding:ae,colorTextDisabled:ue,fontSizeIcon:me,controlPaddingHorizontal:fe,colorBgElevated:Pe}=Me;return[{[ye]:Object.assign(Object.assign({},(0,z.Wf)(Me)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:a,display:"block","&::before":{position:"absolute",insetBlock:-y+b/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${E}-btn`]:{[`& > ${x}-down, & > ${E}-btn-icon > ${x}-down`]:{fontSize:me}},[`${ye}-wrap`]:{position:"relative",[`${E}-btn > ${x}-down`]:{fontSize:me},[`${x}-down::before`]:{transition:`transform ${ee}`}},[`${ye}-wrap-open`]:{[`${x}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${E}-slide-down-enter${E}-slide-down-enter-active${ye}-placement-bottomLeft,
&${E}-slide-down-appear${E}-slide-down-appear-active${ye}-placement-bottomLeft,
&${E}-slide-down-enter${E}-slide-down-enter-active${ye}-placement-bottom,
&${E}-slide-down-appear${E}-slide-down-appear-active${ye}-placement-bottom,
&${E}-slide-down-enter${E}-slide-down-enter-active${ye}-placement-bottomRight,
&${E}-slide-down-appear${E}-slide-down-appear-active${ye}-placement-bottomRight`]:{animationName:se.fJ},[`&${E}-slide-up-enter${E}-slide-up-enter-active${ye}-placement-topLeft,
&${E}-slide-up-appear${E}-slide-up-appear-active${ye}-placement-topLeft,
&${E}-slide-up-enter${E}-slide-up-enter-active${ye}-placement-top,
&${E}-slide-up-appear${E}-slide-up-appear-active${ye}-placement-top,
&${E}-slide-up-enter${E}-slide-up-enter-active${ye}-placement-topRight,
&${E}-slide-up-appear${E}-slide-up-appear-active${ye}-placement-topRight`]:{animationName:se.Qt},[`&${E}-slide-down-leave${E}-slide-down-leave-active${ye}-placement-bottomLeft,
&${E}-slide-down-leave${E}-slide-down-leave-active${ye}-placement-bottom,
&${E}-slide-down-leave${E}-slide-down-leave-active${ye}-placement-bottomRight`]:{animationName:se.Uw},[`&${E}-slide-up-leave${E}-slide-up-leave-active${ye}-placement-topLeft,
&${E}-slide-up-leave${E}-slide-up-leave-active${ye}-placement-top,
&${E}-slide-up-leave${E}-slide-up-leave-active${ye}-placement-topRight`]:{animationName:se.ly}})},(0,be.ZP)(Me,{colorBg:Pe,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${ye} ${re}`]:{position:"relative",margin:0},[`${re}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${ye}, ${ye}-menu-submenu`]:{[re]:Object.assign(Object.assign({padding:ae,listStyleType:"none",backgroundColor:Pe,backgroundClip:"padding-box",borderRadius:Me.borderRadiusLG,outline:"none",boxShadow:Me.boxShadowSecondary},(0,z.Qy)(Me)),{[`${re}-item-group-title`]:{padding:`${ne}px ${fe}px`,color:Me.colorTextDescription,transition:`all ${ee}`},[`${re}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${re}-item-icon`]:{minWidth:oe,marginInlineEnd:Me.marginXS,fontSize:Me.fontSizeSM},[`${re}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ee}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${re}-item, ${re}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ne}px ${fe}px`,color:Me.colorText,fontWeight:"normal",fontSize:oe,lineHeight:Me.lineHeight,cursor:"pointer",transition:`all ${ee}`,borderRadius:Me.borderRadiusSM,"&:hover, &-active":{backgroundColor:Me.controlItemBgHover}},(0,z.Qy)(Me)),{"&-selected":{color:Me.colorPrimary,backgroundColor:Me.controlItemBgActive,"&:hover, &-active":{backgroundColor:Me.controlItemBgActiveHover}},"&-disabled":{color:ue,cursor:"not-allowed","&:hover":{color:ue,backgroundColor:Pe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Me.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Me.colorSplit},[`${ye}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Me.paddingXS,[`${ye}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Me.colorTextDescription,fontSize:me,fontStyle:"normal"}}}),[`${re}-item-group-list`]:{margin:`0 ${Me.marginXS}px`,padding:0,listStyle:"none"},[`${re}-submenu-title`]:{paddingInlineEnd:fe+Me.fontSizeSM},[`${re}-submenu-vertical`]:{position:"relative"},[`${re}-submenu${re}-submenu-disabled ${ye}-menu-submenu-title`]:{[`&, ${ye}-menu-submenu-arrow-icon`]:{color:ue,backgroundColor:Pe,cursor:"not-allowed"}},[`${re}-submenu-selected ${ye}-menu-submenu-title`]:{color:Me.colorPrimary}})}},[(0,se.oN)(Me,"slide-up"),(0,se.oN)(Me,"slide-down"),(0,he.Fm)(Me,"move-up"),(0,he.Fm)(Me,"move-down"),(0,Ie._y)(Me,"zoom-big")]]};var ze=(0,Ne.Z)("Dropdown",(Me,ye)=>{let{rootPrefixCls:re}=ye;const{marginXXS:a,sizePopupArrow:y,controlHeight:b,fontSize:E,lineHeight:x,paddingXXS:ee,componentCls:ne,borderRadiusLG:oe}=Me,ae=(b-E*x)/2,{dropdownArrowOffset:ue}=(0,be.fS)({contentRadius:oe}),me=(0,ie.TS)(Me,{menuCls:`${ne}-menu`,rootPrefixCls:re,dropdownArrowDistance:y/2+a,dropdownArrowOffset:ue,dropdownPaddingVertical:ae,dropdownEdgeChildPadding:ee});return[Ze(me),je(me)]},Me=>({zIndexPopup:Me.zIndexPopupBase+50}))},8628:function(Ct,Pt,te){"use strict";var z=te(59301),se=te(34280),he=te(56762),Ie=te(69507);function be(){let Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ie=(0,z.useRef)({}),nt=(0,he.Z)(),je=(0,Ie.ZP)();return(0,se.Z)(()=>{const Ze=je.subscribe(ze=>{ie.current=ze,Ne&&nt()});return()=>je.unsubscribe(Ze)},[]),ie.current}Pt.Z=be},45818:function(Ct,Pt,te){"use strict";te.d(Pt,{D:function(){return ee},Z:function(){return ae}});var z=te(60499),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Ie=he,be=te(7657),Ne=function(me,fe){return se.createElement(be.Z,(0,z.Z)({},me,{ref:fe,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie,je=te(33853),Ze=te(38819),ze=te(92310),Me=te.n(ze),ye=te(2738),a=ue=>!isNaN(parseFloat(ue))&&isFinite(ue),y=te(36355),b=te(84966),E=function(ue,me){var fe={};for(var Pe in ue)Object.prototype.hasOwnProperty.call(ue,Pe)&&me.indexOf(Pe)<0&&(fe[Pe]=ue[Pe]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,Pe=Object.getOwnPropertySymbols(ue);xe<Pe.length;xe++)me.indexOf(Pe[xe])<0&&Object.prototype.propertyIsEnumerable.call(ue,Pe[xe])&&(fe[Pe[xe]]=ue[Pe[xe]]);return fe};const x={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ee=se.createContext({}),ne=(()=>{let ue=0;return function(){let me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ue+=1,`${me}${ue}`}})();var ae=se.forwardRef((ue,me)=>{const{prefixCls:fe,className:Pe,trigger:xe,children:Ee,defaultCollapsed:De=!1,theme:_e="dark",style:pt={},collapsible:Be=!1,reverseArrow:$e=!1,width:Ke=200,collapsedWidth:Ve=80,zeroWidthTriggerStyle:it,breakpoint:rt,onCollapse:vt,onBreakpoint:Rt}=ue,$t=E(ue,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Je}=(0,se.useContext)(b.Gs),[st,At]=(0,se.useState)("collapsed"in ue?ue.collapsed:De),[Nt,St]=(0,se.useState)(!1);(0,se.useEffect)(()=>{"collapsed"in ue&&At(ue.collapsed)},[ue.collapsed]);const sn=(Re,qe)=>{"collapsed"in ue||At(Re),vt==null||vt(Re,qe)},Fe=(0,se.useRef)();Fe.current=Re=>{St(Re.matches),Rt==null||Rt(Re.matches),st!==Re.matches&&sn(Re.matches,"responsive")},(0,se.useEffect)(()=>{function Re(tt){return Fe.current(tt)}let qe;if(typeof window!="undefined"){const{matchMedia:tt}=window;if(tt&&rt&&rt in x){qe=tt(`(max-width: ${x[rt]})`);try{qe.addEventListener("change",Re)}catch(Le){qe.addListener(Re)}Re(qe)}}return()=>{try{qe==null||qe.removeEventListener("change",Re)}catch(tt){qe==null||qe.removeListener(Re)}}},[rt]),(0,se.useEffect)(()=>{const Re=ne("ant-sider-");return Je.addSider(Re),()=>Je.removeSider(Re)},[]);const Qt=()=>{sn(!st,"clickTrigger")},{getPrefixCls:Gt}=(0,se.useContext)(y.E_),Hn=()=>{const Re=Gt("layout-sider",fe),qe=(0,ye.Z)($t,["collapsed"]),tt=st?Ve:Ke,Le=a(tt)?`${tt}px`:String(tt),ft=parseFloat(String(Ve||0))===0?se.createElement("span",{onClick:Qt,className:Me()(`${Re}-zero-width-trigger`,`${Re}-zero-width-trigger-${$e?"right":"left"}`),style:it},xe||se.createElement(nt,null)):null,ve={expanded:$e?se.createElement(Ze.Z,null):se.createElement(je.Z,null),collapsed:$e?se.createElement(je.Z,null):se.createElement(Ze.Z,null)}[st?"collapsed":"expanded"],Ge=xe!==null?ft||se.createElement("div",{className:`${Re}-trigger`,onClick:Qt,style:{width:Le}},xe||ve):null,We=Object.assign(Object.assign({},pt),{flex:`0 0 ${Le}`,maxWidth:Le,minWidth:Le,width:Le}),we=Me()(Re,`${Re}-${_e}`,{[`${Re}-collapsed`]:!!st,[`${Re}-has-trigger`]:Be&&xe!==null&&!ft,[`${Re}-below`]:!!Nt,[`${Re}-zero-width`]:parseFloat(Le)===0},Pe);return se.createElement("aside",Object.assign({className:we},qe,{style:We,ref:me}),se.createElement("div",{className:`${Re}-children`},Ee),Be||Nt&&ft?Ge:null)},Jn=se.useMemo(()=>({siderCollapsed:st}),[st]);return se.createElement(ee.Provider,{value:Jn},Hn())})},84966:function(Ct,Pt,te){"use strict";te.d(Pt,{VY:function(){return ee},$_:function(){return x},h4:function(){return E},Gs:function(){return ye},ZP:function(){return ne}});var z=te(77654),se=te(92310),he=te.n(se),Ie=te(2738),be=te(59301),Ne=te(36355),ie=te(83116),je=oe=>{const{componentCls:ae,bodyBg:ue,lightSiderBg:me,lightTriggerBg:fe,lightTriggerColor:Pe}=oe;return{[`${ae}-sider-light`]:{background:me,[`${ae}-sider-trigger`]:{color:Pe,background:fe},[`${ae}-sider-zero-width-trigger`]:{color:Pe,background:fe,border:`1px solid ${ue}`,borderInlineStart:0}}}};const Ze=oe=>{const{antCls:ae,componentCls:ue,colorText:me,triggerColor:fe,footerBg:Pe,triggerBg:xe,headerHeight:Ee,headerPadding:De,headerColor:_e,footerPadding:pt,triggerHeight:Be,zeroTriggerHeight:$e,zeroTriggerWidth:Ke,motionDurationMid:Ve,motionDurationSlow:it,fontSize:rt,borderRadius:vt,bodyBg:Rt,headerBg:$t,siderBg:Je}=oe;return{[ue]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Rt,"&, *":{boxSizing:"border-box"},[`&${ue}-has-sider`]:{flexDirection:"row",[`> ${ue}, > ${ue}-content`]:{width:0}},[`${ue}-header, &${ue}-footer`]:{flex:"0 0 auto"},[`${ue}-sider`]:{position:"relative",minWidth:0,background:Je,transition:`all ${Ve}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ae}-menu${ae}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Be},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Be,color:fe,lineHeight:`${Be}px`,textAlign:"center",background:xe,cursor:"pointer",transition:`all ${Ve}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Ee,insetInlineEnd:-Ke,zIndex:1,width:Ke,height:$e,color:fe,fontSize:oe.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Je,borderStartStartRadius:0,borderStartEndRadius:vt,borderEndEndRadius:vt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${it} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${it}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Ke,borderStartStartRadius:vt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:vt}}}}},je(oe)),{"&-rtl":{direction:"rtl"}}),[`${ue}-header`]:{height:Ee,padding:De,color:_e,lineHeight:`${Ee}px`,background:$t,[`${ae}-menu`]:{lineHeight:"inherit"}},[`${ue}-footer`]:{padding:pt,color:me,fontSize:rt,background:Pe},[`${ue}-content`]:{flex:"auto",minHeight:0}}};var ze=(0,ie.Z)("Layout",oe=>[Ze(oe)],oe=>{const{colorBgLayout:ae,controlHeight:ue,controlHeightLG:me,colorText:fe,controlHeightSM:Pe,marginXXS:xe,colorTextLightSolid:Ee,colorBgContainer:De}=oe,_e=me*1.25;return{colorBgHeader:"#001529",colorBgBody:ae,colorBgTrigger:"#002140",bodyBg:ae,headerBg:"#001529",headerHeight:ue*2,headerPadding:`0 ${_e}px`,headerColor:fe,footerPadding:`${Pe}px ${_e}px`,footerBg:ae,siderBg:"#001529",triggerHeight:me+xe*2,triggerBg:"#002140",triggerColor:Ee,zeroTriggerWidth:me,zeroTriggerHeight:me,lightSiderBg:De,lightTriggerBg:De,lightTriggerColor:fe}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Me=function(oe,ae){var ue={};for(var me in oe)Object.prototype.hasOwnProperty.call(oe,me)&&ae.indexOf(me)<0&&(ue[me]=oe[me]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,me=Object.getOwnPropertySymbols(oe);fe<me.length;fe++)ae.indexOf(me[fe])<0&&Object.prototype.propertyIsEnumerable.call(oe,me[fe])&&(ue[me[fe]]=oe[me[fe]]);return ue};const ye=be.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function re(oe){let{suffixCls:ae,tagName:ue,displayName:me}=oe;return fe=>be.forwardRef((xe,Ee)=>be.createElement(fe,Object.assign({ref:Ee,suffixCls:ae,tagName:ue},xe)))}const a=be.forwardRef((oe,ae)=>{const{prefixCls:ue,suffixCls:me,className:fe,tagName:Pe}=oe,xe=Me(oe,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Ee}=be.useContext(Ne.E_),De=Ee("layout",ue),[_e,pt]=ze(De),Be=me?`${De}-${me}`:De;return _e(be.createElement(Pe,Object.assign({className:he()(ue||Be,fe,pt),ref:ae},xe)))}),y=be.forwardRef((oe,ae)=>{const{direction:ue}=be.useContext(Ne.E_),[me,fe]=be.useState([]),{prefixCls:Pe,className:xe,rootClassName:Ee,children:De,hasSider:_e,tagName:pt,style:Be}=oe,$e=Me(oe,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Ke=(0,Ie.Z)($e,["suffixCls"]),{getPrefixCls:Ve,layout:it}=be.useContext(Ne.E_),rt=Ve("layout",Pe),[vt,Rt]=ze(rt),$t=he()(rt,{[`${rt}-has-sider`]:typeof _e=="boolean"?_e:me.length>0,[`${rt}-rtl`]:ue==="rtl"},it==null?void 0:it.className,xe,Ee,Rt),Je=be.useMemo(()=>({siderHook:{addSider:st=>{fe(At=>[].concat((0,z.Z)(At),[st]))},removeSider:st=>{fe(At=>At.filter(Nt=>Nt!==st))}}}),[]);return vt(be.createElement(ye.Provider,{value:Je},be.createElement(pt,Object.assign({ref:ae,className:$t,style:Object.assign(Object.assign({},it==null?void 0:it.style),Be)},Ke),De)))}),b=re({tagName:"div",displayName:"Layout"})(y),E=re({suffixCls:"header",tagName:"header",displayName:"Header"})(a),x=re({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),ee=re({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var ne=b},40875:function(Ct,Pt,te){"use strict";te.d(Pt,{J:function(){return Ne}});var z=te(59301),se=te(33234),he=te(70425),Ie=function(ie,nt){var je={};for(var Ze in ie)Object.prototype.hasOwnProperty.call(ie,Ze)&&nt.indexOf(Ze)<0&&(je[Ze]=ie[Ze]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,Ze=Object.getOwnPropertySymbols(ie);ze<Ze.length;ze++)nt.indexOf(Ze[ze])<0&&Object.prototype.propertyIsEnumerable.call(ie,Ze[ze])&&(je[Ze[ze]]=ie[Ze[ze]]);return je};const be=z.createContext(null),Ne=z.forwardRef((ie,nt)=>{const{children:je}=ie,Ze=Ie(ie,["children"]),ze=z.useContext(be),Me=z.useMemo(()=>Object.assign(Object.assign({},ze),Ze),[ze,Ze.prefixCls,Ze.mode,Ze.selectable]);return z.createElement(be.Provider,{value:Me},z.createElement(se.BR,null,(0,he.supportNodeRef)(je)?z.cloneElement(je,{ref:nt}):je))});Pt.Z=be},20834:function(Ct,Pt,te){"use strict";te.d(Pt,{default:function(){return Jn}});var z=te(15285),se=te(59301),he=te(45818),Ie=te(92310),be=te.n(Ie),Ne=te(36355),ie=function(Re,qe){var tt={};for(var Le in Re)Object.prototype.hasOwnProperty.call(Re,Le)&&qe.indexOf(Le)<0&&(tt[Le]=Re[Le]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,Le=Object.getOwnPropertySymbols(Re);ft<Le.length;ft++)qe.indexOf(Le[ft])<0&&Object.prototype.propertyIsEnumerable.call(Re,Le[ft])&&(tt[Le[ft]]=Re[Le[ft]]);return tt},je=Re=>{const{prefixCls:qe,className:tt,dashed:Le}=Re,ft=ie(Re,["prefixCls","className","dashed"]),{getPrefixCls:gt}=se.useContext(Ne.E_),Oe=gt("menu",qe),ve=be()({[`${Oe}-item-divider-dashed`]:!!Le},tt);return se.createElement(z.iz,Object.assign({className:ve},ft))},Ze=te(11592),ze=te(2738),Me=te(6848),ye=te(92343),a=(0,se.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),b=Re=>{var qe;const{className:tt,children:Le,icon:ft,title:gt,danger:Oe}=Re,{prefixCls:ve,firstLevel:Ge,direction:We,disableMenuItemTitleTooltip:we,inlineCollapsed:mt}=se.useContext(a),et=He=>{const ct=se.createElement("span",{className:`${ve}-title-content`},Le);return(!ft||(0,ye.l$)(Le)&&Le.type==="span")&&Le&&He&&Ge&&typeof Le=="string"?se.createElement("div",{className:`${ve}-inline-collapsed-noicon`},Le.charAt(0)):ct},{siderCollapsed:Ht}=se.useContext(he.D);let Se=gt;typeof gt=="undefined"?Se=Ge?Le:"":gt===!1&&(Se="");const ut={title:Se};!Ht&&!mt&&(ut.title=null,ut.open=!1);const xt=(0,Ze.Z)(Le).length;let Ae=se.createElement(z.ck,Object.assign({},(0,ze.Z)(Re,["title","icon","danger"]),{className:be()({[`${ve}-item-danger`]:Oe,[`${ve}-item-only-child`]:(ft?xt+1:xt)===1},tt),title:typeof gt=="string"?gt:void 0}),(0,ye.Tm)(ft,{className:be()((0,ye.l$)(ft)?(qe=ft.props)===null||qe===void 0?void 0:qe.className:"",`${ve}-item-icon`)}),et(mt));return we||(Ae=se.createElement(Me.Z,Object.assign({},ut,{placement:We==="rtl"?"left":"right",overlayClassName:`${ve}-inline-collapsed-tooltip`}),Ae)),Ae},x=Re=>{var qe;const{popupClassName:tt,icon:Le,title:ft,theme:gt}=Re,Oe=se.useContext(a),{prefixCls:ve,inlineCollapsed:Ge,theme:We}=Oe,we=(0,z.Xl)();let mt;if(!Le)mt=Ge&&!we.length&&ft&&typeof ft=="string"?se.createElement("div",{className:`${ve}-inline-collapsed-noicon`},ft.charAt(0)):se.createElement("span",{className:`${ve}-title-content`},ft);else{const Ht=(0,ye.l$)(ft)&&ft.type==="span";mt=se.createElement(se.Fragment,null,(0,ye.Tm)(Le,{className:be()((0,ye.l$)(Le)?(qe=Le.props)===null||qe===void 0?void 0:qe.className:"",`${ve}-item-icon`)}),Ht?ft:se.createElement("span",{className:`${ve}-title-content`},ft))}const et=se.useMemo(()=>Object.assign(Object.assign({},Oe),{firstLevel:!1}),[Oe]);return se.createElement(a.Provider,{value:et},se.createElement(z.Wd,Object.assign({},(0,ze.Z)(Re,["icon"]),{title:mt,popupClassName:be()(ve,tt,`${ve}-${gt||We}`)})))},ee=te(18785),ne=te(70425),oe=te(62892),ae=te(40875),ue=function(Re,qe){var tt={};for(var Le in Re)Object.prototype.hasOwnProperty.call(Re,Le)&&qe.indexOf(Le)<0&&(tt[Le]=Re[Le]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,Le=Object.getOwnPropertySymbols(Re);ft<Le.length;ft++)qe.indexOf(Le[ft])<0&&Object.prototype.propertyIsEnumerable.call(Re,Le[ft])&&(tt[Le[ft]]=Re[Le[ft]]);return tt};function me(Re){return(Re||[]).map((qe,tt)=>{if(qe&&typeof qe=="object"){const Le=qe,{label:ft,children:gt,key:Oe,type:ve}=Le,Ge=ue(Le,["label","children","key","type"]),We=Oe!=null?Oe:`tmp-${tt}`;return gt||ve==="group"?ve==="group"?se.createElement(z.BW,Object.assign({key:We},Ge,{title:ft}),me(gt)):se.createElement(x,Object.assign({key:We},Ge,{title:ft}),me(gt)):ve==="divider"?se.createElement(je,Object.assign({key:We},Ge)):se.createElement(b,Object.assign({key:We},Ge),ft)}return null}).filter(qe=>qe)}function fe(Re){return se.useMemo(()=>Re&&me(Re),[Re])}var Pe=te(64993),xe=te(17313),Ee=te(8378),De=te(13826),_e=te(29878),pt=te(83116),Be=te(37613),Ke=Re=>{const{componentCls:qe,motionDurationSlow:tt,horizontalLineHeight:Le,colorSplit:ft,lineWidth:gt,lineType:Oe,itemPaddingInline:ve}=Re;return{[`${qe}-horizontal`]:{lineHeight:Le,border:0,borderBottom:`${gt}px ${Oe} ${ft}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${qe}-item, ${qe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:ve},[`> ${qe}-item:hover,
> ${qe}-item-active,
> ${qe}-submenu ${qe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${qe}-item, ${qe}-submenu-title`]:{transition:[`border-color ${tt}`,`background ${tt}`].join(",")},[`${qe}-submenu-arrow`]:{display:"none"}}}},it=Re=>{let{componentCls:qe,menuArrowOffset:tt}=Re;return{[`${qe}-rtl`]:{direction:"rtl"},[`${qe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${qe}-rtl${qe}-vertical,
${qe}-submenu-rtl ${qe}-vertical`]:{[`${qe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${tt})`},"&::after":{transform:`rotate(45deg) translateY(${tt})`}}}}};const rt=Re=>Object.assign({},(0,xe.oN)(Re));var Rt=(Re,qe)=>{const{componentCls:tt,itemColor:Le,itemSelectedColor:ft,groupTitleColor:gt,itemBg:Oe,subMenuItemBg:ve,itemSelectedBg:Ge,activeBarHeight:We,activeBarWidth:we,activeBarBorderWidth:mt,motionDurationSlow:et,motionEaseInOut:Ht,motionEaseOut:Se,itemPaddingInline:ut,motionDurationMid:xt,itemHoverColor:Ae,lineType:He,colorSplit:ct,itemDisabledColor:wt,dangerItemColor:Zt,dangerItemHoverColor:mn,dangerItemSelectedColor:dt,dangerItemActiveBg:Dt,dangerItemSelectedBg:yt,itemHoverBg:en,itemActiveBg:Wt,menuSubMenuBg:un,horizontalItemSelectedColor:Vn,horizontalItemSelectedBg:fn,horizontalItemBorderRadius:an,horizontalItemHoverBg:Un,popupBg:zt}=Re;return{[`${tt}-${qe}, ${tt}-${qe} > ${tt}`]:{color:Le,background:Oe,[`&${tt}-root:focus-visible`]:Object.assign({},rt(Re)),[`${tt}-item-group-title`]:{color:gt},[`${tt}-submenu-selected`]:{[`> ${tt}-submenu-title`]:{color:ft}},[`${tt}-item-disabled, ${tt}-submenu-disabled`]:{color:`${wt} !important`},[`${tt}-item:not(${tt}-item-selected):not(${tt}-submenu-selected)`]:{[`&:hover, > ${tt}-submenu-title:hover`]:{color:Ae}},[`&:not(${tt}-horizontal)`]:{[`${tt}-item:not(${tt}-item-selected)`]:{"&:hover":{backgroundColor:en},"&:active":{backgroundColor:Wt}},[`${tt}-submenu-title`]:{"&:hover":{backgroundColor:en},"&:active":{backgroundColor:Wt}}},[`${tt}-item-danger`]:{color:Zt,[`&${tt}-item:hover`]:{[`&:not(${tt}-item-selected):not(${tt}-submenu-selected)`]:{color:mn}},[`&${tt}-item:active`]:{background:Dt}},[`${tt}-item a`]:{"&, &:hover":{color:"inherit"}},[`${tt}-item-selected`]:{color:ft,[`&${tt}-item-danger`]:{color:dt},"a, a:hover":{color:"inherit"}},[`& ${tt}-item-selected`]:{backgroundColor:Ge,[`&${tt}-item-danger`]:{backgroundColor:yt}},[`${tt}-item, ${tt}-submenu-title`]:{[`&:not(${tt}-item-disabled):focus-visible`]:Object.assign({},rt(Re))},[`&${tt}-submenu > ${tt}`]:{backgroundColor:un},[`&${tt}-popup > ${tt}`]:{backgroundColor:zt},[`&${tt}-horizontal`]:Object.assign(Object.assign({},qe==="dark"?{borderBottom:0}:{}),{[`> ${tt}-item, > ${tt}-submenu`]:{top:mt,marginTop:-mt,marginBottom:0,borderRadius:an,"&::after":{position:"absolute",insetInline:ut,bottom:0,borderBottom:`${We}px solid transparent`,transition:`border-color ${et} ${Ht}`,content:'""'},"&:hover, &-active, &-open":{background:Un,"&::after":{borderBottomWidth:We,borderBottomColor:Vn}},"&-selected":{color:Vn,backgroundColor:fn,"&:hover":{backgroundColor:fn},"&::after":{borderBottomWidth:We,borderBottomColor:Vn}}}}),[`&${tt}-root`]:{[`&${tt}-inline, &${tt}-vertical`]:{borderInlineEnd:`${mt}px ${He} ${ct}`}},[`&${tt}-inline`]:{[`${tt}-sub${tt}-inline`]:{background:ve},[`${tt}-item, ${tt}-submenu-title`]:mt&&we?{width:`calc(100% + ${mt}px)`}:{},[`${tt}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${we}px solid ${ft}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${xt} ${Se}`,`opacity ${xt} ${Se}`].join(","),content:'""'},[`&${tt}-item-danger`]:{"&::after":{borderInlineEndColor:dt}}},[`${tt}-selected, ${tt}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${xt} ${Ht}`,`opacity ${xt} ${Ht}`].join(",")}}}}}};const $t=Re=>{const{componentCls:qe,itemHeight:tt,itemMarginInline:Le,padding:ft,menuArrowSize:gt,marginXS:Oe,itemMarginBlock:ve}=Re,Ge=ft+gt+Oe;return{[`${qe}-item`]:{position:"relative",overflow:"hidden"},[`${qe}-item, ${qe}-submenu-title`]:{height:tt,lineHeight:`${tt}px`,paddingInline:ft,overflow:"hidden",textOverflow:"ellipsis",marginInline:Le,marginBlock:ve,width:`calc(100% - ${Le*2}px)`},[`> ${qe}-item,
> ${qe}-submenu > ${qe}-submenu-title`]:{height:tt,lineHeight:`${tt}px`},[`${qe}-item-group-list ${qe}-submenu-title,
${qe}-submenu-title`]:{paddingInlineEnd:Ge}}};var st=Re=>{const{componentCls:qe,iconCls:tt,itemHeight:Le,colorTextLightSolid:ft,dropdownWidth:gt,controlHeightLG:Oe,motionDurationMid:ve,motionEaseOut:Ge,paddingXL:We,itemMarginInline:we,fontSizeLG:mt,motionDurationSlow:et,paddingXS:Ht,boxShadowSecondary:Se,collapsedWidth:ut,collapsedIconSize:xt}=Re,Ae={height:Le,lineHeight:`${Le}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[qe]:{"&-inline, &-vertical":Object.assign({[`&${qe}-root`]:{boxShadow:"none"}},$t(Re))},[`${qe}-submenu-popup`]:{[`${qe}-vertical`]:Object.assign(Object.assign({},$t(Re)),{boxShadow:Se})}},{[`${qe}-submenu-popup ${qe}-vertical${qe}-sub`]:{minWidth:gt,maxHeight:`calc(100vh - ${Oe*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${qe}-inline`]:{width:"100%",[`&${qe}-root`]:{[`${qe}-item, ${qe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${et}`,`background ${et}`,`padding ${ve} ${Ge}`].join(","),[`> ${qe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${qe}-sub${qe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${qe}-submenu > ${qe}-submenu-title`]:Ae,[`& ${qe}-item-group-title`]:{paddingInlineStart:We}},[`${qe}-item`]:Ae}},{[`${qe}-inline-collapsed`]:{width:ut,[`&${qe}-root`]:{[`${qe}-item, ${qe}-submenu ${qe}-submenu-title`]:{[`> ${qe}-inline-collapsed-noicon`]:{fontSize:mt,textAlign:"center"}}},[`> ${qe}-item,
> ${qe}-item-group > ${qe}-item-group-list > ${qe}-item,
> ${qe}-item-group > ${qe}-item-group-list > ${qe}-submenu > ${qe}-submenu-title,
> ${qe}-submenu > ${qe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${mt/2}px - ${we}px)`,textOverflow:"clip",[`
${qe}-submenu-arrow,
${qe}-submenu-expand-icon
`]:{opacity:0},[`${qe}-item-icon, ${tt}`]:{margin:0,fontSize:xt,lineHeight:`${Le}px`,"+ span":{display:"inline-block",opacity:0}}},[`${qe}-item-icon, ${tt}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${qe}-item-icon, ${tt}`]:{display:"none"},"a, a:hover":{color:ft}},[`${qe}-item-group-title`]:Object.assign(Object.assign({},xe.vS),{paddingInline:Ht})}}]};const At=Re=>{const{componentCls:qe,motionDurationSlow:tt,motionDurationMid:Le,motionEaseInOut:ft,motionEaseOut:gt,iconCls:Oe,iconSize:ve,iconMarginInlineEnd:Ge}=Re;return{[`${qe}-item, ${qe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${tt}`,`background ${tt}`,`padding ${tt} ${ft}`].join(","),[`${qe}-item-icon, ${Oe}`]:{minWidth:ve,fontSize:ve,transition:[`font-size ${Le} ${gt}`,`margin ${tt} ${ft}`,`color ${tt}`].join(","),"+ span":{marginInlineStart:Ge,opacity:1,transition:[`opacity ${tt} ${ft}`,`margin ${tt}`,`color ${tt}`].join(",")}},[`${qe}-item-icon`]:Object.assign({},(0,xe.Ro)()),[`&${qe}-item-only-child`]:{[`> ${Oe}, > ${qe}-item-icon`]:{marginInlineEnd:0}}},[`${qe}-item-disabled, ${qe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${qe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Nt=Re=>{const{componentCls:qe,motionDurationSlow:tt,motionEaseInOut:Le,borderRadius:ft,menuArrowSize:gt,menuArrowOffset:Oe}=Re;return{[`${qe}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Re.margin,width:gt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${tt} ${Le}, opacity ${tt}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:gt*.6,height:gt*.15,backgroundColor:"currentcolor",borderRadius:ft,transition:[`background ${tt} ${Le}`,`transform ${tt} ${Le}`,`top ${tt} ${Le}`,`color ${tt} ${Le}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Oe})`},"&::after":{transform:`rotate(-45deg) translateY(${Oe})`}}}}},St=Re=>{const{antCls:qe,componentCls:tt,fontSize:Le,motionDurationSlow:ft,motionDurationMid:gt,motionEaseInOut:Oe,paddingXS:ve,padding:Ge,colorSplit:We,lineWidth:we,zIndexPopup:mt,borderRadiusLG:et,subMenuItemBorderRadius:Ht,menuArrowSize:Se,menuArrowOffset:ut,lineType:xt,menuPanelMaskInset:Ae,groupTitleLineHeight:He,groupTitleFontSize:ct}=Re;return[{"":{[`${tt}`]:Object.assign(Object.assign({},(0,xe.dF)()),{"&-hidden":{display:"none"}})},[`${tt}-submenu-hidden`]:{display:"none"}},{[tt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,xe.Wf)(Re)),(0,xe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Le,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${ft} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${tt}-item`]:{flex:"none"}},[`${tt}-item, ${tt}-submenu, ${tt}-submenu-title`]:{borderRadius:Re.itemBorderRadius},[`${tt}-item-group-title`]:{padding:`${ve}px ${Ge}px`,fontSize:ct,lineHeight:He,transition:`all ${ft}`},[`&-horizontal ${tt}-submenu`]:{transition:[`border-color ${ft} ${Oe}`,`background ${ft} ${Oe}`].join(",")},[`${tt}-submenu, ${tt}-submenu-inline`]:{transition:[`border-color ${ft} ${Oe}`,`background ${ft} ${Oe}`,`padding ${gt} ${Oe}`].join(",")},[`${tt}-submenu ${tt}-sub`]:{cursor:"initial",transition:[`background ${ft} ${Oe}`,`padding ${ft} ${Oe}`].join(",")},[`${tt}-title-content`]:{transition:`color ${ft}`},[`${tt}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${tt}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:We,borderStyle:xt,borderWidth:0,borderTopWidth:we,marginBlock:we,padding:0,"&-dashed":{borderStyle:"dashed"}}}),At(Re)),{[`${tt}-item-group`]:{[`${tt}-item-group-list`]:{margin:0,padding:0,[`${tt}-item, ${tt}-submenu-title`]:{paddingInline:`${Le*2}px ${Ge}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:mt,borderRadius:et,boxShadow:"none",transformOrigin:"0 0",[`&${tt}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Ae}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Ae},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:Re.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Re.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Re.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Re.paddingXS},[`> ${tt}`]:Object.assign(Object.assign(Object.assign({borderRadius:et},At(Re)),Nt(Re)),{[`${tt}-item, ${tt}-submenu > ${tt}-submenu-title`]:{borderRadius:Ht},[`${tt}-submenu-title::after`]:{transition:`transform ${ft} ${Oe}`}})}}),Nt(Re)),{[`&-inline-collapsed ${tt}-submenu-arrow,
&-inline ${tt}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${ut})`},"&::after":{transform:`rotate(45deg) translateX(-${ut})`}},[`${tt}-submenu-open${tt}-submenu-inline > ${tt}-submenu-title > ${tt}-submenu-arrow`]:{transform:`translateY(-${Se*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${ut})`},"&::before":{transform:`rotate(45deg) translateX(${ut})`}}})},{[`${qe}-layout-header`]:{[tt]:{lineHeight:"inherit"}}}]};var sn=(Re,qe)=>(0,pt.Z)("Menu",Le=>{if(qe===!1)return[];const{colorBgElevated:ft,colorPrimary:gt,colorTextLightSolid:Oe,controlHeightLG:ve,fontSize:Ge,darkItemColor:We,darkDangerItemColor:we,darkItemBg:mt,darkSubMenuItemBg:et,darkItemSelectedColor:Ht,darkItemSelectedBg:Se,darkDangerItemSelectedBg:ut,darkItemHoverBg:xt,darkGroupTitleColor:Ae,darkItemHoverColor:He,darkItemDisabledColor:ct,darkDangerItemHoverColor:wt,darkDangerItemSelectedColor:Zt,darkDangerItemActiveBg:mn}=Le,dt=Ge/7*5,Dt=(0,Be.TS)(Le,{menuArrowSize:dt,menuHorizontalHeight:ve*1.15,menuArrowOffset:`${dt*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:ft}),yt=(0,Be.TS)(Dt,{itemColor:We,itemHoverColor:He,groupTitleColor:Ae,itemSelectedColor:Ht,itemBg:mt,popupBg:mt,subMenuItemBg:et,itemActiveBg:"transparent",itemSelectedBg:Se,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:xt,itemDisabledColor:ct,dangerItemColor:we,dangerItemHoverColor:wt,dangerItemSelectedColor:Zt,dangerItemActiveBg:mn,dangerItemSelectedBg:ut,menuSubMenuBg:et,horizontalItemSelectedColor:Oe,horizontalItemSelectedBg:gt});return[St(Dt),Ke(Dt),st(Dt),Rt(Dt,"light"),Rt(yt,"dark"),it(Dt),(0,Ee.Z)(Dt),(0,De.oN)(Dt,"slide-up"),(0,De.oN)(Dt,"slide-down"),(0,_e._y)(Dt,"zoom-big")]},Le=>{const{colorPrimary:ft,colorError:gt,colorTextDisabled:Oe,colorErrorBg:ve,colorText:Ge,colorTextDescription:We,colorBgContainer:we,colorFillAlter:mt,colorFillContent:et,lineWidth:Ht,lineWidthBold:Se,controlItemBgActive:ut,colorBgTextHover:xt,controlHeightLG:Ae,lineHeight:He,colorBgElevated:ct,marginXXS:wt,padding:Zt,fontSize:mn,controlHeightSM:dt,fontSizeLG:Dt,colorTextLightSolid:yt,colorErrorHover:en}=Le,Wt=new Pe.C(yt).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Le.zIndexPopupBase+50,radiusItem:Le.borderRadiusLG,itemBorderRadius:Le.borderRadiusLG,radiusSubMenuItem:Le.borderRadiusSM,subMenuItemBorderRadius:Le.borderRadiusSM,colorItemText:Ge,itemColor:Ge,colorItemTextHover:Ge,itemHoverColor:Ge,colorItemTextHoverHorizontal:ft,horizontalItemHoverColor:ft,colorGroupTitle:We,groupTitleColor:We,colorItemTextSelected:ft,itemSelectedColor:ft,colorItemTextSelectedHorizontal:ft,horizontalItemSelectedColor:ft,colorItemBg:we,itemBg:we,colorItemBgHover:xt,itemHoverBg:xt,colorItemBgActive:et,itemActiveBg:ut,colorSubItemBg:mt,subMenuItemBg:mt,colorItemBgSelected:ut,itemSelectedBg:ut,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Se,activeBarHeight:Se,colorActiveBarBorderSize:Ht,activeBarBorderWidth:Ht,colorItemTextDisabled:Oe,itemDisabledColor:Oe,colorDangerItemText:gt,dangerItemColor:gt,colorDangerItemTextHover:gt,dangerItemHoverColor:gt,colorDangerItemTextSelected:gt,dangerItemSelectedColor:gt,colorDangerItemBgActive:ve,dangerItemActiveBg:ve,colorDangerItemBgSelected:ve,dangerItemSelectedBg:ve,itemMarginInline:Le.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Ae,groupTitleLineHeight:He,collapsedWidth:Ae*2,popupBg:ct,itemMarginBlock:wt,itemPaddingInline:Zt,horizontalLineHeight:`${Ae*1.15}px`,iconSize:mn,iconMarginInlineEnd:dt-mn,collapsedIconSize:Dt,groupTitleFontSize:mn,darkItemDisabledColor:new Pe.C(yt).setAlpha(.25).toRgbString(),darkItemColor:Wt,darkDangerItemColor:gt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:yt,darkItemSelectedBg:ft,darkDangerItemSelectedBg:gt,darkItemHoverBg:"transparent",darkGroupTitleColor:Wt,darkItemHoverColor:yt,darkDangerItemHoverColor:en,darkDangerItemSelectedColor:yt,darkDangerItemActiveBg:gt}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(Re),Fe=function(Re,qe){var tt={};for(var Le in Re)Object.prototype.hasOwnProperty.call(Re,Le)&&qe.indexOf(Le)<0&&(tt[Le]=Re[Le]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,Le=Object.getOwnPropertySymbols(Re);ft<Le.length;ft++)qe.indexOf(Le[ft])<0&&Object.prototype.propertyIsEnumerable.call(Re,Le[ft])&&(tt[Le[ft]]=Re[Le[ft]]);return tt},Gt=(0,se.forwardRef)((Re,qe)=>{var tt,Le;const ft=se.useContext(ae.Z),gt=ft||{},{getPrefixCls:Oe,getPopupContainer:ve,direction:Ge,menu:We}=se.useContext(Ne.E_),we=Oe(),{prefixCls:mt,className:et,style:Ht,theme:Se="light",expandIcon:ut,_internalDisableMenuItemTitleTooltip:xt,inlineCollapsed:Ae,siderCollapsed:He,items:ct,children:wt,rootClassName:Zt,mode:mn,selectable:dt,onClick:Dt,overflowedIndicatorPopupClassName:yt}=Re,en=Fe(Re,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Wt=(0,ze.Z)(en,["collapsedWidth"]),un=fe(ct)||wt;(tt=gt.validator)===null||tt===void 0||tt.call(gt,{mode:mn});const Vn=(0,ne.useEvent)(function(){var La;Dt==null||Dt.apply(void 0,arguments),(La=gt.onClick)===null||La===void 0||La.call(gt)}),fn=gt.mode||mn,an=dt!=null?dt:gt.selectable,Un=se.useMemo(()=>He!==void 0?He:Ae,[Ae,He]),zt={horizontal:{motionName:`${we}-slide-up`},inline:(0,oe.Z)(we),other:{motionName:`${we}-zoom-big`}},Tt=Oe("menu",mt||gt.prefixCls),[Xt,Ea]=sn(Tt,!ft),qn=be()(`${Tt}-${Se}`,We==null?void 0:We.className,et);let Mn;if(typeof ut=="function")Mn=ut;else if(ut===null||ut===!1)Mn=null;else if(gt.expandIcon===null||gt.expandIcon===!1)Mn=null;else{const La=ut!=null?ut:gt.expandIcon;Mn=(0,ye.Tm)(La,{className:be()(`${Tt}-submenu-expand-icon`,(0,ye.l$)(La)?(Le=La.props)===null||Le===void 0?void 0:Le.className:"")})}const Ga=se.useMemo(()=>({prefixCls:Tt,inlineCollapsed:Un||!1,direction:Ge,firstLevel:!0,theme:Se,mode:fn,disableMenuItemTitleTooltip:xt}),[Tt,Un,Ge,xt,Se]);return Xt(se.createElement(ae.Z.Provider,{value:null},se.createElement(a.Provider,{value:Ga},se.createElement(z.ZP,Object.assign({getPopupContainer:ve,overflowedIndicator:se.createElement(ee.Z,null),overflowedIndicatorPopupClassName:be()(Tt,`${Tt}-${Se}`,yt),mode:fn,selectable:an,onClick:Vn},Wt,{inlineCollapsed:Un,style:Object.assign(Object.assign({},We==null?void 0:We.style),Ht),className:qn,prefixCls:Tt,direction:Ge,defaultMotions:zt,expandIcon:Mn,ref:qe,rootClassName:be()(Zt,Ea)}),un))))});const Hn=(0,se.forwardRef)((Re,qe)=>{const tt=(0,se.useRef)(null),Le=se.useContext(he.D);return(0,se.useImperativeHandle)(qe,()=>({menu:tt.current,focus:ft=>{var gt;(gt=tt.current)===null||gt===void 0||gt.focus(ft)}})),se.createElement(Gt,Object.assign({ref:tt},Re,Le))});Hn.Item=b,Hn.SubMenu=x,Hn.Divider=je,Hn.ItemGroup=z.BW;var Jn=Hn},58421:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return gt}});var z=te(60499),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Ie=he,be=te(7657),Ne=function(ve,Ge){return se.createElement(be.Z,(0,z.Z)({},ve,{ref:Ge,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie,je=te(49198),Ze=te(33853),ze=te(38819),Me=te(92310),ye=te.n(Me),re=te(18642),a=te(85899),y=te(38705),b=te(17212),E=te(39153),x=te(55401),ee=te(26112),ne={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},oe=ne,ae=te(91735),ue=function(Oe){(0,E.Z)(Ge,Oe);var ve=(0,x.Z)(Ge);function Ge(){var We;(0,y.Z)(this,Ge);for(var we=arguments.length,mt=new Array(we),et=0;et<we;et++)mt[et]=arguments[et];return We=ve.call.apply(ve,[this].concat(mt)),We.state={goInputText:""},We.getValidValue=function(){var Ht=We.state.goInputText;return!Ht||Number.isNaN(Ht)?void 0:Number(Ht)},We.buildOptionText=function(Ht){return"".concat(Ht," ").concat(We.props.locale.items_per_page)},We.changeSize=function(Ht){We.props.changeSize(Number(Ht))},We.handleChange=function(Ht){We.setState({goInputText:Ht.target.value})},We.handleBlur=function(Ht){var Se=We.props,ut=Se.goButton,xt=Se.quickGo,Ae=Se.rootPrefixCls,He=We.state.goInputText;ut||He===""||(We.setState({goInputText:""}),!(Ht.relatedTarget&&(Ht.relatedTarget.className.indexOf("".concat(Ae,"-item-link"))>=0||Ht.relatedTarget.className.indexOf("".concat(Ae,"-item"))>=0))&&xt(We.getValidValue()))},We.go=function(Ht){var Se=We.state.goInputText;Se!==""&&(Ht.keyCode===oe.ENTER||Ht.type==="click")&&(We.setState({goInputText:""}),We.props.quickGo(We.getValidValue()))},We}return(0,b.Z)(Ge,[{key:"getPageSizeOptions",value:function(){var we=this.props,mt=we.pageSize,et=we.pageSizeOptions;return et.some(function(Ht){return Ht.toString()===mt.toString()})?et:et.concat([mt.toString()]).sort(function(Ht,Se){var ut=Number.isNaN(Number(Ht))?0:Number(Ht),xt=Number.isNaN(Number(Se))?0:Number(Se);return ut-xt})}},{key:"render",value:function(){var we=this,mt=this.props,et=mt.pageSize,Ht=mt.locale,Se=mt.rootPrefixCls,ut=mt.changeSize,xt=mt.quickGo,Ae=mt.goButton,He=mt.selectComponentClass,ct=mt.buildOptionText,wt=mt.selectPrefixCls,Zt=mt.disabled,mn=this.state.goInputText,dt="".concat(Se,"-options"),Dt=He,yt=null,en=null,Wt=null;if(!ut&&!xt)return null;var un=this.getPageSizeOptions();if(ut&&Dt){var Vn=un.map(function(fn,an){return se.createElement(Dt.Option,{key:an,value:fn.toString()},(ct||we.buildOptionText)(fn))});yt=se.createElement(Dt,{disabled:Zt,prefixCls:wt,showSearch:!1,className:"".concat(dt,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(et||un[0]).toString(),onChange:this.changeSize,getPopupContainer:function(an){return an.parentNode},"aria-label":Ht.page_size,defaultOpen:!1},Vn)}return xt&&(Ae&&(Wt=typeof Ae=="boolean"?se.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Zt,className:"".concat(dt,"-quick-jumper-button")},Ht.jump_to_confirm):se.createElement("span",{onClick:this.go,onKeyUp:this.go},Ae)),en=se.createElement("div",{className:"".concat(dt,"-quick-jumper")},Ht.jump_to,se.createElement("input",{disabled:Zt,type:"text",value:mn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Ht.page}),Ht.page,Wt)),se.createElement("li",{className:"".concat(dt)},yt,en)}}]),Ge}(se.Component);ue.defaultProps={pageSizeOptions:["10","20","50","100"]};var me=ue,fe=function(ve){var Ge,We=ve.rootPrefixCls,we=ve.page,mt=ve.active,et=ve.className,Ht=ve.showTitle,Se=ve.onClick,ut=ve.onKeyPress,xt=ve.itemRender,Ae="".concat(We,"-item"),He=ye()(Ae,"".concat(Ae,"-").concat(we),(Ge={},(0,re.Z)(Ge,"".concat(Ae,"-active"),mt),(0,re.Z)(Ge,"".concat(Ae,"-disabled"),!we),(0,re.Z)(Ge,ve.className,et),Ge)),ct=function(){Se(we)},wt=function(dt){ut(dt,Se,we)},Zt=xt(we,"page",se.createElement("a",{rel:"nofollow"},we));return Zt?se.createElement("li",{title:Ht?we.toString():null,className:He,onClick:ct,onKeyPress:wt,tabIndex:0},Zt):null},Pe=fe;function xe(){}function Ee(Oe){var ve=Number(Oe);return typeof ve=="number"&&!Number.isNaN(ve)&&isFinite(ve)&&Math.floor(ve)===ve}var De=function(ve,Ge,We){return We};function _e(Oe,ve,Ge){var We=typeof Oe=="undefined"?ve.pageSize:Oe;return Math.floor((Ge.total-1)/We)+1}var pt=function(Oe){(0,E.Z)(Ge,Oe);var ve=(0,x.Z)(Ge);function Ge(We){var we;(0,y.Z)(this,Ge),we=ve.call(this,We),we.paginationNode=se.createRef(),we.getJumpPrevPage=function(){return Math.max(1,we.state.current-(we.props.showLessItems?3:5))},we.getJumpNextPage=function(){return Math.min(_e(void 0,we.state,we.props),we.state.current+(we.props.showLessItems?3:5))},we.getItemIcon=function(ut,xt){var Ae=we.props.prefixCls,He=ut||se.createElement("button",{type:"button","aria-label":xt,className:"".concat(Ae,"-item-link")});return typeof ut=="function"&&(He=se.createElement(ut,(0,a.Z)({},we.props))),He},we.isValid=function(ut){var xt=we.props.total;return Ee(ut)&&ut!==we.state.current&&Ee(xt)&&xt>0},we.shouldDisplayQuickJumper=function(){var ut=we.props,xt=ut.showQuickJumper,Ae=ut.total,He=we.state.pageSize;return Ae<=He?!1:xt},we.handleKeyDown=function(ut){(ut.keyCode===oe.ARROW_UP||ut.keyCode===oe.ARROW_DOWN)&&ut.preventDefault()},we.handleKeyUp=function(ut){var xt=we.getValidValue(ut),Ae=we.state.currentInputValue;xt!==Ae&&we.setState({currentInputValue:xt}),ut.keyCode===oe.ENTER?we.handleChange(xt):ut.keyCode===oe.ARROW_UP?we.handleChange(xt-1):ut.keyCode===oe.ARROW_DOWN&&we.handleChange(xt+1)},we.handleBlur=function(ut){var xt=we.getValidValue(ut);we.handleChange(xt)},we.changePageSize=function(ut){var xt=we.state.current,Ae=_e(ut,we.state,we.props);xt=xt>Ae?Ae:xt,Ae===0&&(xt=we.state.current),typeof ut=="number"&&("pageSize"in we.props||we.setState({pageSize:ut}),"current"in we.props||we.setState({current:xt,currentInputValue:xt})),we.props.onShowSizeChange(xt,ut),"onChange"in we.props&&we.props.onChange&&we.props.onChange(xt,ut)},we.handleChange=function(ut){var xt=we.props,Ae=xt.disabled,He=xt.onChange,ct=we.state,wt=ct.pageSize,Zt=ct.current,mn=ct.currentInputValue;if(we.isValid(ut)&&!Ae){var dt=_e(void 0,we.state,we.props),Dt=ut;return ut>dt?Dt=dt:ut<1&&(Dt=1),"current"in we.props||we.setState({current:Dt}),Dt!==mn&&we.setState({currentInputValue:Dt}),He(Dt,wt),Dt}return Zt},we.prev=function(){we.hasPrev()&&we.handleChange(we.state.current-1)},we.next=function(){we.hasNext()&&we.handleChange(we.state.current+1)},we.jumpPrev=function(){we.handleChange(we.getJumpPrevPage())},we.jumpNext=function(){we.handleChange(we.getJumpNextPage())},we.hasPrev=function(){return we.state.current>1},we.hasNext=function(){return we.state.current<_e(void 0,we.state,we.props)},we.runIfEnter=function(ut,xt){if(ut.key==="Enter"||ut.charCode===13){for(var Ae=arguments.length,He=new Array(Ae>2?Ae-2:0),ct=2;ct<Ae;ct++)He[ct-2]=arguments[ct];xt.apply(void 0,He)}},we.runIfEnterPrev=function(ut){we.runIfEnter(ut,we.prev)},we.runIfEnterNext=function(ut){we.runIfEnter(ut,we.next)},we.runIfEnterJumpPrev=function(ut){we.runIfEnter(ut,we.jumpPrev)},we.runIfEnterJumpNext=function(ut){we.runIfEnter(ut,we.jumpNext)},we.handleGoTO=function(ut){(ut.keyCode===oe.ENTER||ut.type==="click")&&we.handleChange(we.state.currentInputValue)},we.renderPrev=function(ut){var xt=we.props,Ae=xt.prevIcon,He=xt.itemRender,ct=He(ut,"prev",we.getItemIcon(Ae,"prev page")),wt=!we.hasPrev();return(0,se.isValidElement)(ct)?(0,se.cloneElement)(ct,{disabled:wt}):ct},we.renderNext=function(ut){var xt=we.props,Ae=xt.nextIcon,He=xt.itemRender,ct=He(ut,"next",we.getItemIcon(Ae,"next page")),wt=!we.hasNext();return(0,se.isValidElement)(ct)?(0,se.cloneElement)(ct,{disabled:wt}):ct};var mt=We.onChange!==xe,et="current"in We;et&&!mt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var Ht=We.defaultCurrent;"current"in We&&(Ht=We.current);var Se=We.defaultPageSize;return"pageSize"in We&&(Se=We.pageSize),Ht=Math.min(Ht,_e(Se,void 0,We)),we.state={current:Ht,currentInputValue:Ht,pageSize:Se},we}return(0,b.Z)(Ge,[{key:"componentDidUpdate",value:function(we,mt){var et=this.props.prefixCls;if(mt.current!==this.state.current&&this.paginationNode.current){var Ht=this.paginationNode.current.querySelector(".".concat(et,"-item-").concat(mt.current));if(Ht&&document.activeElement===Ht){var Se;Ht==null||(Se=Ht.blur)===null||Se===void 0||Se.call(Ht)}}}},{key:"getValidValue",value:function(we){var mt=we.target.value,et=_e(void 0,this.state,this.props),Ht=this.state.currentInputValue,Se;return mt===""?Se=mt:Number.isNaN(Number(mt))?Se=Ht:mt>=et?Se=et:Se=Number(mt),Se}},{key:"getShowSizeChanger",value:function(){var we=this.props,mt=we.showSizeChanger,et=we.total,Ht=we.totalBoundaryShowSizeChanger;return typeof mt!="undefined"?mt:et>Ht}},{key:"render",value:function(){var we=this.props,mt=we.prefixCls,et=we.className,Ht=we.style,Se=we.disabled,ut=we.hideOnSinglePage,xt=we.total,Ae=we.locale,He=we.showQuickJumper,ct=we.showLessItems,wt=we.showTitle,Zt=we.showTotal,mn=we.simple,dt=we.itemRender,Dt=we.showPrevNextJumpers,yt=we.jumpPrevIcon,en=we.jumpNextIcon,Wt=we.selectComponentClass,un=we.selectPrefixCls,Vn=we.pageSizeOptions,fn=this.state,an=fn.current,Un=fn.pageSize,zt=fn.currentInputValue;if(ut===!0&&xt<=Un)return null;var Tt=_e(void 0,this.state,this.props),Xt=[],Ea=null,qn=null,Mn=null,Ga=null,La=null,Ar=He&&He.goButton,Cr=ct?1:2,Qa=an-1>0?an-1:0,at=an+1<Tt?an+1:Tt,Mt=(0,ee.Z)(this.props,{aria:!0,data:!0}),Ft=Zt&&se.createElement("li",{className:"".concat(mt,"-total-text")},Zt(xt,[xt===0?0:(an-1)*Un+1,an*Un>xt?xt:an*Un]));if(mn){Ar&&(typeof Ar=="boolean"?La=se.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ae.jump_to_confirm):La=se.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ar),La=se.createElement("li",{title:wt?"".concat(Ae.jump_to).concat(an,"/").concat(Tt):null,className:"".concat(mt,"-simple-pager")},La));var kn=this.renderPrev(Qa);return se.createElement("ul",(0,z.Z)({className:ye()(mt,"".concat(mt,"-simple"),(0,re.Z)({},"".concat(mt,"-disabled"),Se),et),style:Ht,ref:this.paginationNode},Mt),Ft,kn?se.createElement("li",{title:wt?Ae.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:ye()("".concat(mt,"-prev"),(0,re.Z)({},"".concat(mt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},kn):null,se.createElement("li",{title:wt?"".concat(an,"/").concat(Tt):null,className:"".concat(mt,"-simple-pager")},se.createElement("input",{type:"text",value:zt,disabled:Se,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),se.createElement("span",{className:"".concat(mt,"-slash")},"/"),Tt),se.createElement("li",{title:wt?Ae.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:ye()("".concat(mt,"-next"),(0,re.Z)({},"".concat(mt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(at)),La)}if(Tt<=3+Cr*2){var dn={locale:Ae,rootPrefixCls:mt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:wt,itemRender:dt};Tt||Xt.push(se.createElement(Pe,(0,z.Z)({},dn,{key:"noPager",page:1,className:"".concat(mt,"-item-disabled")})));for(var Ln=1;Ln<=Tt;Ln+=1){var Xr=an===Ln;Xt.push(se.createElement(Pe,(0,z.Z)({},dn,{key:Ln,page:Ln,active:Xr})))}}else{var Er=ct?Ae.prev_3:Ae.prev_5,Kr=ct?Ae.next_3:Ae.next_5,oo=dt(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(yt,"prev page")),Xa=dt(this.getJumpNextPage(),"jump-next",this.getItemIcon(en,"next page"));Dt&&(Ea=oo?se.createElement("li",{title:wt?Er:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:ye()("".concat(mt,"-jump-prev"),(0,re.Z)({},"".concat(mt,"-jump-prev-custom-icon"),!!yt))},oo):null,qn=Xa?se.createElement("li",{title:wt?Kr:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:ye()("".concat(mt,"-jump-next"),(0,re.Z)({},"".concat(mt,"-jump-next-custom-icon"),!!en))},Xa):null),Ga=se.createElement(Pe,{locale:Ae,last:!0,rootPrefixCls:mt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Tt,page:Tt,active:!1,showTitle:wt,itemRender:dt}),Mn=se.createElement(Pe,{locale:Ae,rootPrefixCls:mt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:wt,itemRender:dt});var Nn=Math.max(1,an-Cr),ur=Math.min(an+Cr,Tt);an-1<=Cr&&(ur=1+Cr*2),Tt-an<=Cr&&(Nn=Tt-Cr*2);for(var nr=Nn;nr<=ur;nr+=1){var sr=an===nr;Xt.push(se.createElement(Pe,{locale:Ae,rootPrefixCls:mt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:nr,page:nr,active:sr,showTitle:wt,itemRender:dt}))}an-1>=Cr*2&&an!==3&&(Xt[0]=(0,se.cloneElement)(Xt[0],{className:"".concat(mt,"-item-after-jump-prev")}),Xt.unshift(Ea)),Tt-an>=Cr*2&&an!==Tt-2&&(Xt[Xt.length-1]=(0,se.cloneElement)(Xt[Xt.length-1],{className:"".concat(mt,"-item-before-jump-next")}),Xt.push(qn)),Nn!==1&&Xt.unshift(Mn),ur!==Tt&&Xt.push(Ga)}var er=!this.hasPrev()||!Tt,ht=!this.hasNext()||!Tt,qt=this.renderPrev(Qa),tn=this.renderNext(at);return se.createElement("ul",(0,z.Z)({className:ye()(mt,et,(0,re.Z)({},"".concat(mt,"-disabled"),Se)),style:Ht,ref:this.paginationNode},Mt),Ft,qt?se.createElement("li",{title:wt?Ae.prev_page:null,onClick:this.prev,tabIndex:er?null:0,onKeyPress:this.runIfEnterPrev,className:ye()("".concat(mt,"-prev"),(0,re.Z)({},"".concat(mt,"-disabled"),er)),"aria-disabled":er},qt):null,Xt,tn?se.createElement("li",{title:wt?Ae.next_page:null,onClick:this.next,tabIndex:ht?null:0,onKeyPress:this.runIfEnterNext,className:ye()("".concat(mt,"-next"),(0,re.Z)({},"".concat(mt,"-disabled"),ht)),"aria-disabled":ht},tn):null,se.createElement(me,{disabled:Se,locale:Ae,rootPrefixCls:mt,selectComponentClass:Wt,selectPrefixCls:un,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:an,pageSize:Un,pageSizeOptions:Vn,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Ar}))}}],[{key:"getDerivedStateFromProps",value:function(we,mt){var et={};if("current"in we&&(et.current=we.current,we.current!==mt.current&&(et.currentInputValue=et.current)),"pageSize"in we&&we.pageSize!==mt.pageSize){var Ht=mt.current,Se=_e(we.pageSize,mt,we);Ht=Ht>Se?Se:Ht,"current"in we||(et.current=Ht,et.currentInputValue=Ht),et.pageSize=we.pageSize}return et}}]),Ge}(se.Component);pt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:xe,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:xe,locale:ae.Z,style:{},itemRender:De,totalBoundaryShowSizeChanger:50};var Be=pt,$e=te(22075),Ke=te(36355),Ve=te(19716),it=te(8628),rt=te(9763),vt=te(57809);const Rt=Oe=>se.createElement(vt.default,Object.assign({},Oe,{showSearch:!0,size:"small"})),$t=Oe=>se.createElement(vt.default,Object.assign({},Oe,{showSearch:!0,size:"middle"}));Rt.Option=vt.default.Option,$t.Option=vt.default.Option;var Je=te(9937),st=te(17313),At=te(83116),Nt=te(37613);const St=Oe=>{const{componentCls:ve}=Oe;return{[`${ve}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${ve}-item-link`]:{color:Oe.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${ve}-item-link`]:{color:Oe.colorTextDisabled,cursor:"not-allowed"}}},[`&${ve}-disabled`]:{cursor:"not-allowed",[`${ve}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Oe.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Oe.colorBorder,backgroundColor:Oe.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Oe.itemActiveBgDisabled},a:{color:Oe.itemActiveColorDisabled}}},[`${ve}-item-link`]:{color:Oe.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${ve}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${ve}-simple-pager`]:{color:Oe.colorTextDisabled},[`${ve}-jump-prev, ${ve}-jump-next`]:{[`${ve}-item-link-icon`]:{opacity:0},[`${ve}-item-ellipsis`]:{opacity:1}}},[`&${ve}-simple`]:{[`${ve}-prev, ${ve}-next`]:{[`&${ve}-disabled ${ve}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},sn=Oe=>{const{componentCls:ve}=Oe;return{[`&${ve}-mini ${ve}-total-text, &${ve}-mini ${ve}-simple-pager`]:{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`},[`&${ve}-mini ${ve}-item`]:{minWidth:Oe.itemSizeSM,height:Oe.itemSizeSM,margin:0,lineHeight:`${Oe.itemSizeSM-2}px`},[`&${ve}-mini:not(${ve}-disabled) ${ve}-item:not(${ve}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Oe.colorBgTextHover},"&:active":{backgroundColor:Oe.colorBgTextActive}},[`&${ve}-mini ${ve}-prev, &${ve}-mini ${ve}-next`]:{minWidth:Oe.itemSizeSM,height:Oe.itemSizeSM,margin:0,lineHeight:`${Oe.itemSizeSM}px`},[`&${ve}-mini:not(${ve}-disabled)`]:{[`${ve}-prev, ${ve}-next`]:{[`&:hover ${ve}-item-link`]:{backgroundColor:Oe.colorBgTextHover},[`&:active ${ve}-item-link`]:{backgroundColor:Oe.colorBgTextActive},[`&${ve}-disabled:hover ${ve}-item-link`]:{backgroundColor:"transparent"}}},[`
&${ve}-mini ${ve}-prev ${ve}-item-link,
&${ve}-mini ${ve}-next ${ve}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`}},[`&${ve}-mini ${ve}-jump-prev, &${ve}-mini ${ve}-jump-next`]:{height:Oe.itemSizeSM,marginInlineEnd:0,lineHeight:`${Oe.itemSizeSM}px`},[`&${ve}-mini ${ve}-options`]:{marginInlineStart:Oe.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Oe.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Je.x0)(Oe)),{width:Oe.paginationMiniQuickJumperInputWidth,height:Oe.controlHeightSM})}}}},Fe=Oe=>{const{componentCls:ve}=Oe;return{[`
&${ve}-simple ${ve}-prev,
&${ve}-simple ${ve}-next
`]:{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`,verticalAlign:"top",[`${ve}-item-link`]:{height:Oe.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Oe.colorBgTextHover},"&:active":{backgroundColor:Oe.colorBgTextActive},"&::after":{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`}}},[`&${ve}-simple ${ve}-simple-pager`]:{display:"inline-block",height:Oe.itemSizeSM,marginInlineEnd:Oe.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Oe.marginXS,padding:`0 ${Oe.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Oe.itemInputBg,border:`${Oe.lineWidth}px ${Oe.lineType} ${Oe.colorBorder}`,borderRadius:Oe.borderRadius,outline:"none",transition:`border-color ${Oe.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Oe.colorPrimary},"&:focus":{borderColor:Oe.colorPrimaryHover,boxShadow:`${Oe.inputOutlineOffset}px 0 ${Oe.controlOutlineWidth}px ${Oe.controlOutline}`},"&[disabled]":{color:Oe.colorTextDisabled,backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,cursor:"not-allowed"}}}}},Qt=Oe=>{const{componentCls:ve}=Oe;return{[`${ve}-jump-prev, ${ve}-jump-next`]:{outline:0,[`${ve}-item-container`]:{position:"relative",[`${ve}-item-link-icon`]:{color:Oe.colorPrimary,fontSize:Oe.fontSizeSM,opacity:0,transition:`all ${Oe.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${ve}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Oe.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Oe.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Oe.paginationEllipsisTextIndent,opacity:1,transition:`all ${Oe.motionDurationMid}`}},"&:hover":{[`${ve}-item-link-icon`]:{opacity:1},[`${ve}-item-ellipsis`]:{opacity:0}}},[`
${ve}-prev,
${ve}-jump-prev,
${ve}-jump-next
`]:{marginInlineEnd:Oe.marginXS},[`
${ve}-prev,
${ve}-next,
${ve}-jump-prev,
${ve}-jump-next
`]:{display:"inline-block",minWidth:Oe.itemSize,height:Oe.itemSize,color:Oe.colorText,fontFamily:Oe.fontFamily,lineHeight:`${Oe.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Oe.borderRadius,cursor:"pointer",transition:`all ${Oe.motionDurationMid}`},[`${ve}-prev, ${ve}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Oe.colorText,cursor:"pointer",userSelect:"none"},[`${ve}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Oe.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Oe.lineWidth}px ${Oe.lineType} transparent`,borderRadius:Oe.borderRadius,outline:"none",transition:`all ${Oe.motionDurationMid}`},[`&:hover ${ve}-item-link`]:{backgroundColor:Oe.colorBgTextHover},[`&:active ${ve}-item-link`]:{backgroundColor:Oe.colorBgTextActive},[`&${ve}-disabled:hover`]:{[`${ve}-item-link`]:{backgroundColor:"transparent"}}},[`${ve}-slash`]:{marginInlineEnd:Oe.paginationSlashMarginInlineEnd,marginInlineStart:Oe.paginationSlashMarginInlineStart},[`${ve}-options`]:{display:"inline-block",marginInlineStart:Oe.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Oe.controlHeight,marginInlineStart:Oe.marginXS,lineHeight:`${Oe.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Je.ik)(Oe)),{width:Oe.controlHeightLG*1.25,height:Oe.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Oe.marginXS,marginInlineEnd:Oe.marginXS})}}}},Gt=Oe=>{const{componentCls:ve}=Oe;return{[`${ve}-item`]:{display:"inline-block",minWidth:Oe.itemSize,height:Oe.itemSize,marginInlineEnd:Oe.marginXS,fontFamily:Oe.fontFamily,lineHeight:`${Oe.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Oe.lineWidth}px ${Oe.lineType} transparent`,borderRadius:Oe.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Oe.paginationItemPaddingInline}px`,color:Oe.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${ve}-item-active)`]:{"&:hover":{transition:`all ${Oe.motionDurationMid}`,backgroundColor:Oe.colorBgTextHover},"&:active":{backgroundColor:Oe.colorBgTextActive}},"&-active":{fontWeight:Oe.fontWeightStrong,backgroundColor:Oe.itemActiveBg,borderColor:Oe.colorPrimary,a:{color:Oe.colorPrimary},"&:hover":{borderColor:Oe.colorPrimaryHover},"&:hover a":{color:Oe.colorPrimaryHover}}}}},Hn=Oe=>{const{componentCls:ve}=Oe;return{[ve]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,st.Wf)(Oe)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${ve}-total-text`]:{display:"inline-block",height:Oe.itemSize,marginInlineEnd:Oe.marginXS,lineHeight:`${Oe.itemSize-2}px`,verticalAlign:"middle"}}),Gt(Oe)),Qt(Oe)),Fe(Oe)),sn(Oe)),St(Oe)),{[`@media only screen and (max-width: ${Oe.screenLG}px)`]:{[`${ve}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Oe.screenSM}px)`]:{[`${ve}-options`]:{display:"none"}}}),[`&${Oe.componentCls}-rtl`]:{direction:"rtl"}}},Jn=Oe=>{const{componentCls:ve}=Oe;return{[`${ve}${ve}-disabled:not(${ve}-mini)`]:{"&, &:hover":{[`${ve}-item-link`]:{borderColor:Oe.colorBorder}},"&:focus-visible":{[`${ve}-item-link`]:{borderColor:Oe.colorBorder}},[`${ve}-item, ${ve}-item-link`]:{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,[`&:hover:not(${ve}-item-active)`]:{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,a:{color:Oe.colorTextDisabled}},[`&${ve}-item-active`]:{backgroundColor:Oe.itemActiveBgDisabled}},[`${ve}-prev, ${ve}-next`]:{"&:hover button":{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,color:Oe.colorTextDisabled},[`${ve}-item-link`]:{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder}}},[`${ve}:not(${ve}-mini)`]:{[`${ve}-prev, ${ve}-next`]:{"&:hover button":{borderColor:Oe.colorPrimaryHover,backgroundColor:Oe.itemBg},[`${ve}-item-link`]:{backgroundColor:Oe.itemLinkBg,borderColor:Oe.colorBorder},[`&:hover ${ve}-item-link`]:{borderColor:Oe.colorPrimary,backgroundColor:Oe.itemBg,color:Oe.colorPrimary},[`&${ve}-disabled`]:{[`${ve}-item-link`]:{borderColor:Oe.colorBorder,color:Oe.colorTextDisabled}}},[`${ve}-item`]:{backgroundColor:Oe.itemBg,border:`${Oe.lineWidth}px ${Oe.lineType} ${Oe.colorBorder}`,[`&:hover:not(${ve}-item-active)`]:{borderColor:Oe.colorPrimary,backgroundColor:Oe.itemBg,a:{color:Oe.colorPrimary}},"&-active":{borderColor:Oe.colorPrimary}}}}},Re=Oe=>{const{componentCls:ve}=Oe;return{[`${ve}:not(${ve}-disabled)`]:{[`${ve}-item`]:Object.assign({},(0,st.Qy)(Oe)),[`${ve}-jump-prev, ${ve}-jump-next`]:{"&:focus-visible":Object.assign({[`${ve}-item-link-icon`]:{opacity:1},[`${ve}-item-ellipsis`]:{opacity:0}},(0,st.oN)(Oe))},[`${ve}-prev, ${ve}-next`]:{[`&:focus-visible ${ve}-item-link`]:Object.assign({},(0,st.oN)(Oe))}}}};var qe=(0,At.Z)("Pagination",Oe=>{const ve=(0,Nt.TS)(Oe,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Oe.marginXXS/2,paginationMiniQuickJumperInputWidth:Oe.controlHeightLG*1.1,paginationItemPaddingInline:Oe.marginXXS*1.5,paginationEllipsisLetterSpacing:Oe.marginXXS/2,paginationSlashMarginInlineStart:Oe.marginXXS,paginationSlashMarginInlineEnd:Oe.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Je.e5)(Oe),(0,Je.TM)(Oe));return[Hn(ve),Re(ve),Oe.wireframe&&Jn(ve)]},Oe=>({itemBg:Oe.colorBgContainer,itemSize:Oe.controlHeight,itemSizeSM:Oe.controlHeightSM,itemActiveBg:Oe.colorBgContainer,itemLinkBg:Oe.colorBgContainer,itemActiveColorDisabled:Oe.colorTextDisabled,itemActiveBgDisabled:Oe.controlItemBgActiveDisabled,itemInputBg:Oe.colorBgContainer,miniOptionsSizeChangerTop:0})),tt=function(Oe,ve){var Ge={};for(var We in Oe)Object.prototype.hasOwnProperty.call(Oe,We)&&ve.indexOf(We)<0&&(Ge[We]=Oe[We]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,We=Object.getOwnPropertySymbols(Oe);we<We.length;we++)ve.indexOf(We[we])<0&&Object.prototype.propertyIsEnumerable.call(Oe,We[we])&&(Ge[We[we]]=Oe[We[we]]);return Ge},ft=Oe=>{const{prefixCls:ve,selectPrefixCls:Ge,className:We,rootClassName:we,style:mt,size:et,locale:Ht,selectComponentClass:Se,responsive:ut,showSizeChanger:xt}=Oe,Ae=tt(Oe,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:He}=(0,it.Z)(ut),{getPrefixCls:ct,direction:wt,pagination:Zt={}}=se.useContext(Ke.E_),mn=ct("pagination",ve),[dt,Dt]=qe(mn),yt=xt!=null?xt:Zt.showSizeChanger,en=se.useMemo(()=>{const Tt=se.createElement("span",{className:`${mn}-item-ellipsis`},"\u2022\u2022\u2022"),Xt=se.createElement("button",{className:`${mn}-item-link`,type:"button",tabIndex:-1},wt==="rtl"?se.createElement(ze.Z,null):se.createElement(Ze.Z,null)),Ea=se.createElement("button",{className:`${mn}-item-link`,type:"button",tabIndex:-1},wt==="rtl"?se.createElement(Ze.Z,null):se.createElement(ze.Z,null)),qn=se.createElement("a",{className:`${mn}-item-link`},se.createElement("div",{className:`${mn}-item-container`},wt==="rtl"?se.createElement(je.Z,{className:`${mn}-item-link-icon`}):se.createElement(nt,{className:`${mn}-item-link-icon`}),Tt)),Mn=se.createElement("a",{className:`${mn}-item-link`},se.createElement("div",{className:`${mn}-item-container`},wt==="rtl"?se.createElement(nt,{className:`${mn}-item-link-icon`}):se.createElement(je.Z,{className:`${mn}-item-link-icon`}),Tt));return{prevIcon:Xt,nextIcon:Ea,jumpPrevIcon:qn,jumpNextIcon:Mn}},[wt,mn]),[Wt]=(0,rt.Z)("Pagination",$e.Z),un=Object.assign(Object.assign({},Wt),Ht),Vn=(0,Ve.Z)(et),fn=Vn==="small"||!!(He&&!Vn&&ut),an=ct("select",Ge),Un=ye()({[`${mn}-mini`]:fn,[`${mn}-rtl`]:wt==="rtl"},Zt==null?void 0:Zt.className,We,we,Dt),zt=Object.assign(Object.assign({},Zt==null?void 0:Zt.style),mt);return dt(se.createElement(Be,Object.assign({},en,Ae,{style:zt,prefixCls:mn,selectPrefixCls:an,className:Un,selectComponentClass:Se||(fn?Rt:$t),locale:un,showSizeChanger:yt})))},gt=ft},93948:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return xt}});var z=te(59301),se=te(29679),he=te(40001),Ie=te(19248),be=te(99267),Ne=te(92310),ie=te.n(Ne),nt=te(2738),je=te(36355),Ze=te(60499),ze=te(85899),Me=te(42244),ye={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},re=function(){var He=(0,z.useRef)([]),ct=(0,z.useRef)(null);return(0,z.useEffect)(function(){var wt=Date.now(),Zt=!1;He.current.forEach(function(mn){if(mn){Zt=!0;var dt=mn.style;dt.transitionDuration=".3s, .3s, .3s, .06s",ct.current&&wt-ct.current<100&&(dt.transitionDuration="0s, 0s")}}),Zt&&(ct.current=Date.now())}),He.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(He){var ct=(0,ze.Z)((0,ze.Z)({},ye),He),wt=ct.className,Zt=ct.percent,mn=ct.prefixCls,dt=ct.strokeColor,Dt=ct.strokeLinecap,yt=ct.strokeWidth,en=ct.style,Wt=ct.trailColor,un=ct.trailWidth,Vn=ct.transition,fn=(0,Me.Z)(ct,a);delete fn.gapPosition;var an=Array.isArray(Zt)?Zt:[Zt],Un=Array.isArray(dt)?dt:[dt],zt=re(),Tt=yt/2,Xt=100-yt/2,Ea="M ".concat(Dt==="round"?Tt:0,",").concat(Tt,`
L `).concat(Dt==="round"?Xt:100,",").concat(Tt),qn="0 0 100 ".concat(yt),Mn=0;return z.createElement("svg",(0,Ze.Z)({className:ie()("".concat(mn,"-line"),wt),viewBox:qn,preserveAspectRatio:"none",style:en},fn),z.createElement("path",{className:"".concat(mn,"-line-trail"),d:Ea,strokeLinecap:Dt,stroke:Wt,strokeWidth:un||yt,fillOpacity:"0"}),an.map(function(Ga,La){var Ar=1;switch(Dt){case"round":Ar=1-yt/100;break;case"square":Ar=1-yt/2/100;break;default:Ar=1;break}var Cr={strokeDasharray:"".concat(Ga*Ar,"px, 100px"),strokeDashoffset:"-".concat(Mn,"px"),transition:Vn||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Qa=Un[La]||Un[Un.length-1];return Mn+=Ga,z.createElement("path",{key:La,className:"".concat(mn,"-line-path"),d:Ea,strokeLinecap:Dt,stroke:Qa,strokeWidth:yt,fillOpacity:"0",ref:function(Mt){zt[La]=Mt},style:Cr})}))},b=y,E=te(43749),x=te(72190),ee=te(47273),ne=0,oe=(0,ee.Z)();function ae(){var Ae;return oe?(Ae=ne,ne+=1):Ae="TEST_OR_SSR",Ae}var ue=function(Ae){var He=z.useState(),ct=(0,x.Z)(He,2),wt=ct[0],Zt=ct[1];return z.useEffect(function(){Zt("rc_progress_".concat(ae()))},[]),Ae||wt},me=function(He){var ct=He.bg,wt=He.children;return z.createElement("div",{style:{width:"100%",height:"100%",background:ct}},wt)};function fe(Ae,He){return Object.keys(Ae).map(function(ct){var wt=parseFloat(ct),Zt="".concat(Math.floor(wt*He),"%");return"".concat(Ae[ct]," ").concat(Zt)})}var Pe=z.forwardRef(function(Ae,He){var ct=Ae.prefixCls,wt=Ae.color,Zt=Ae.gradientId,mn=Ae.radius,dt=Ae.style,Dt=Ae.ptg,yt=Ae.strokeLinecap,en=Ae.strokeWidth,Wt=Ae.size,un=Ae.gapDegree,Vn=wt&&(0,E.Z)(wt)==="object",fn=Vn?"#FFF":void 0,an=Wt/2,Un=z.createElement("circle",{className:"".concat(ct,"-circle-path"),r:mn,cx:an,cy:an,stroke:fn,strokeLinecap:yt,strokeWidth:en,opacity:Dt===0?0:1,style:dt,ref:He});if(!Vn)return Un;var zt="".concat(Zt,"-conic"),Tt=un?"".concat(180+un/2,"deg"):"0deg",Xt=fe(wt,(360-un)/360),Ea=fe(wt,1),qn="conic-gradient(from ".concat(Tt,", ").concat(Xt.join(", "),")"),Mn="linear-gradient(to ".concat(un?"bottom":"top",", ").concat(Ea.join(", "),")");return z.createElement(z.Fragment,null,z.createElement("mask",{id:zt},Un),z.createElement("foreignObject",{x:0,y:0,width:Wt,height:Wt,mask:"url(#".concat(zt,")")},z.createElement(me,{bg:Mn},z.createElement(me,{bg:qn}))))}),xe=Pe,Ee=100,De=function(He,ct,wt,Zt,mn,dt,Dt,yt,en,Wt){var un=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Vn=wt/100*360*((360-dt)/360),fn=dt===0?0:{bottom:0,top:180,left:90,right:-90}[Dt],an=(100-Zt)/100*ct;en==="round"&&Zt!==100&&(an+=Wt/2,an>=ct&&(an=ct-.01));var Un=Ee/2;return{stroke:typeof yt=="string"?yt:void 0,strokeDasharray:"".concat(ct,"px ").concat(He),strokeDashoffset:an+un,transform:"rotate(".concat(mn+Vn+fn,"deg)"),transformOrigin:"".concat(Un,"px ").concat(Un,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},_e=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function pt(Ae){var He=Ae!=null?Ae:[];return Array.isArray(He)?He:[He]}var Be=function(He){var ct=(0,ze.Z)((0,ze.Z)({},ye),He),wt=ct.id,Zt=ct.prefixCls,mn=ct.steps,dt=ct.strokeWidth,Dt=ct.trailWidth,yt=ct.gapDegree,en=yt===void 0?0:yt,Wt=ct.gapPosition,un=ct.trailColor,Vn=ct.strokeLinecap,fn=ct.style,an=ct.className,Un=ct.strokeColor,zt=ct.percent,Tt=(0,Me.Z)(ct,_e),Xt=Ee/2,Ea=ue(wt),qn="".concat(Ea,"-gradient"),Mn=Xt-dt/2,Ga=Math.PI*2*Mn,La=en>0?90+en/2:-90,Ar=Ga*((360-en)/360),Cr=(0,E.Z)(mn)==="object"?mn:{count:mn,space:2},Qa=Cr.count,at=Cr.space,Mt=pt(zt),Ft=pt(Un),kn=Ft.find(function(Xa){return Xa&&(0,E.Z)(Xa)==="object"}),dn=kn&&(0,E.Z)(kn)==="object",Ln=dn?"butt":Vn,Xr=De(Ga,Ar,0,100,La,en,Wt,un,Ln,dt),Er=re(),Kr=function(){var Nn=0;return Mt.map(function(ur,nr){var sr=Ft[nr]||Ft[Ft.length-1],er=De(Ga,Ar,Nn,ur,La,en,Wt,sr,Ln,dt);return Nn+=ur,z.createElement(xe,{key:nr,color:sr,ptg:ur,radius:Mn,prefixCls:Zt,gradientId:qn,style:er,strokeLinecap:Ln,strokeWidth:dt,gapDegree:en,ref:function(qt){Er[nr]=qt},size:Ee})}).reverse()},oo=function(){var Nn=Math.round(Qa*(Mt[0]/100)),ur=100/Qa,nr=0;return new Array(Qa).fill(null).map(function(sr,er){var ht=er<=Nn-1?Ft[0]:un,qt=ht&&(0,E.Z)(ht)==="object"?"url(#".concat(qn,")"):void 0,tn=De(Ga,Ar,nr,ur,La,en,Wt,ht,"butt",dt,at);return nr+=(Ar-tn.strokeDashoffset+at)*100/Ar,z.createElement("circle",{key:er,className:"".concat(Zt,"-circle-path"),r:Mn,cx:Xt,cy:Xt,stroke:qt,strokeWidth:dt,opacity:1,style:tn,ref:function(Rn){Er[er]=Rn}})})};return z.createElement("svg",(0,Ze.Z)({className:ie()("".concat(Zt,"-circle"),an),viewBox:"0 0 ".concat(Ee," ").concat(Ee),style:fn,id:wt,role:"presentation"},Tt),!Qa&&z.createElement("circle",{className:"".concat(Zt,"-circle-trail"),r:Mn,cx:Xt,cy:Xt,stroke:un,strokeLinecap:Ln,strokeWidth:Dt||dt,style:Xr}),Qa?oo():Kr())},$e=Be,Ke={Line:b,Circle:$e},Ve=te(6848),it=te(30071);function rt(Ae){return!Ae||Ae<0?0:Ae>100?100:Ae}function vt(Ae){let{success:He,successPercent:ct}=Ae,wt=ct;return He&&"progress"in He&&(wt=He.progress),He&&"percent"in He&&(wt=He.percent),wt}const Rt=Ae=>{let{percent:He,success:ct,successPercent:wt}=Ae;const Zt=rt(vt({success:ct,successPercent:wt}));return[Zt,rt(rt(He)-Zt)]},$t=Ae=>{let{success:He={},strokeColor:ct}=Ae;const{strokeColor:wt}=He;return[wt||it.presetPrimaryColors.green,ct||null]},Je=(Ae,He,ct)=>{var wt,Zt,mn,dt;let Dt=-1,yt=-1;if(He==="step"){const en=ct.steps,Wt=ct.strokeWidth;typeof Ae=="string"||typeof Ae=="undefined"?(Dt=Ae==="small"?2:14,yt=Wt!=null?Wt:8):typeof Ae=="number"?[Dt,yt]=[Ae,Ae]:[Dt=14,yt=8]=Ae,Dt*=en}else if(He==="line"){const en=ct==null?void 0:ct.strokeWidth;typeof Ae=="string"||typeof Ae=="undefined"?yt=en||(Ae==="small"?6:8):typeof Ae=="number"?[Dt,yt]=[Ae,Ae]:[Dt=-1,yt=8]=Ae}else(He==="circle"||He==="dashboard")&&(typeof Ae=="string"||typeof Ae=="undefined"?[Dt,yt]=Ae==="small"?[60,60]:[120,120]:typeof Ae=="number"?[Dt,yt]=[Ae,Ae]:(Dt=(Zt=(wt=Ae[0])!==null&&wt!==void 0?wt:Ae[1])!==null&&Zt!==void 0?Zt:120,yt=(dt=(mn=Ae[0])!==null&&mn!==void 0?mn:Ae[1])!==null&&dt!==void 0?dt:120));return[Dt,yt]},st=3,At=Ae=>st/Ae*100;var St=Ae=>{const{prefixCls:He,trailColor:ct=null,strokeLinecap:wt="round",gapPosition:Zt,gapDegree:mn,width:dt=120,type:Dt,children:yt,success:en,size:Wt=dt}=Ae,[un,Vn]=Je(Wt,"circle");let{strokeWidth:fn}=Ae;fn===void 0&&(fn=Math.max(At(un),6));const an={width:un,height:Vn,fontSize:un*.15+6},Un=z.useMemo(()=>{if(mn||mn===0)return mn;if(Dt==="dashboard")return 75},[mn,Dt]),zt=Zt||Dt==="dashboard"&&"bottom"||void 0,Tt=Object.prototype.toString.call(Ae.strokeColor)==="[object Object]",Xt=$t({success:en,strokeColor:Ae.strokeColor}),Ea=ie()(`${He}-inner`,{[`${He}-circle-gradient`]:Tt}),qn=z.createElement($e,{percent:Rt(Ae),strokeWidth:fn,trailWidth:fn,strokeColor:Xt,strokeLinecap:wt,trailColor:ct,prefixCls:He,gapDegree:Un,gapPosition:zt});return z.createElement("div",{className:Ea,style:an},un<=20?z.createElement(Ve.Z,{title:yt},z.createElement("span",null,qn)):z.createElement(z.Fragment,null,qn,yt))},sn=function(Ae,He){var ct={};for(var wt in Ae)Object.prototype.hasOwnProperty.call(Ae,wt)&&He.indexOf(wt)<0&&(ct[wt]=Ae[wt]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Zt=0,wt=Object.getOwnPropertySymbols(Ae);Zt<wt.length;Zt++)He.indexOf(wt[Zt])<0&&Object.prototype.propertyIsEnumerable.call(Ae,wt[Zt])&&(ct[wt[Zt]]=Ae[wt[Zt]]);return ct};const Fe=Ae=>{let He=[];return Object.keys(Ae).forEach(ct=>{const wt=parseFloat(ct.replace(/%/g,""));isNaN(wt)||He.push({key:wt,value:Ae[ct]})}),He=He.sort((ct,wt)=>ct.key-wt.key),He.map(ct=>{let{key:wt,value:Zt}=ct;return`${Zt} ${wt}%`}).join(", ")},Qt=(Ae,He)=>{const{from:ct=it.presetPrimaryColors.blue,to:wt=it.presetPrimaryColors.blue,direction:Zt=He==="rtl"?"to left":"to right"}=Ae,mn=sn(Ae,["from","to","direction"]);if(Object.keys(mn).length!==0){const dt=Fe(mn);return{backgroundImage:`linear-gradient(${Zt}, ${dt})`}}return{backgroundImage:`linear-gradient(${Zt}, ${ct}, ${wt})`}};var Hn=Ae=>{const{prefixCls:He,direction:ct,percent:wt,size:Zt,strokeWidth:mn,strokeColor:dt,strokeLinecap:Dt="round",children:yt,trailColor:en=null,success:Wt}=Ae,un=dt&&typeof dt!="string"?Qt(dt,ct):{backgroundColor:dt},Vn=Dt==="square"||Dt==="butt"?0:void 0,fn={backgroundColor:en||void 0,borderRadius:Vn},an=Zt!=null?Zt:[-1,mn||(Zt==="small"?6:8)],[Un,zt]=Je(an,"line",{strokeWidth:mn}),Tt=Object.assign({width:`${rt(wt)}%`,height:zt,borderRadius:Vn},un),Xt=vt(Ae),Ea={width:`${rt(Xt)}%`,height:zt,borderRadius:Vn,backgroundColor:Wt==null?void 0:Wt.strokeColor},qn={width:Un<0?"100%":Un,height:zt};return z.createElement(z.Fragment,null,z.createElement("div",{className:`${He}-outer`,style:qn},z.createElement("div",{className:`${He}-inner`,style:fn},z.createElement("div",{className:`${He}-bg`,style:Tt}),Xt!==void 0?z.createElement("div",{className:`${He}-success-bg`,style:Ea}):null)),yt)},Re=Ae=>{const{size:He,steps:ct,percent:wt=0,strokeWidth:Zt=8,strokeColor:mn,trailColor:dt=null,prefixCls:Dt,children:yt}=Ae,en=Math.round(ct*(wt/100)),Wt=He==="small"?2:14,un=He!=null?He:[Wt,Zt],[Vn,fn]=Je(un,"step",{steps:ct,strokeWidth:Zt}),an=Vn/ct,Un=new Array(ct);for(let zt=0;zt<ct;zt++){const Tt=Array.isArray(mn)?mn[zt]:mn;Un[zt]=z.createElement("div",{key:zt,className:ie()(`${Dt}-steps-item`,{[`${Dt}-steps-item-active`]:zt<=en-1}),style:{backgroundColor:zt<=en-1?Tt:dt,width:an,height:fn}})}return z.createElement("div",{className:`${Dt}-steps-outer`},Un,yt)},qe=te(36237),tt=te(17313),Le=te(83116),ft=te(37613);const gt=Ae=>{const He=Ae?"100%":"-100%";return new qe.Keyframes(`antProgress${Ae?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${He}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${He}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Oe=Ae=>{const{componentCls:He,iconCls:ct}=Ae;return{[He]:Object.assign(Object.assign({},(0,tt.Wf)(Ae)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Ae.fontSize,marginInlineEnd:Ae.marginXS,marginBottom:Ae.marginXS},[`${He}-outer`]:{display:"inline-block",width:"100%"},[`&${He}-show-info`]:{[`${He}-outer`]:{marginInlineEnd:`calc(-2em - ${Ae.marginXS}px)`,paddingInlineEnd:`calc(2em + ${Ae.paddingXS}px)`}},[`${He}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:Ae.remainingColor,borderRadius:Ae.lineBorderRadius},[`${He}-inner:not(${He}-circle-gradient)`]:{[`${He}-circle-path`]:{stroke:Ae.defaultColor}},[`${He}-success-bg, ${He}-bg`]:{position:"relative",backgroundColor:Ae.defaultColor,borderRadius:Ae.lineBorderRadius,transition:`all ${Ae.motionDurationSlow} ${Ae.motionEaseInOutCirc}`},[`${He}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Ae.colorSuccess},[`${He}-text`]:{display:"inline-block",width:"2em",marginInlineStart:Ae.marginXS,color:Ae.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[ct]:{fontSize:Ae.fontSize}},[`&${He}-status-active`]:{[`${He}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Ae.colorBgContainer,borderRadius:Ae.lineBorderRadius,opacity:0,animationName:gt(),animationDuration:Ae.progressActiveMotionDuration,animationTimingFunction:Ae.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${He}-rtl${He}-status-active`]:{[`${He}-bg::before`]:{animationName:gt(!0)}},[`&${He}-status-exception`]:{[`${He}-bg`]:{backgroundColor:Ae.colorError},[`${He}-text`]:{color:Ae.colorError}},[`&${He}-status-exception ${He}-inner:not(${He}-circle-gradient)`]:{[`${He}-circle-path`]:{stroke:Ae.colorError}},[`&${He}-status-success`]:{[`${He}-bg`]:{backgroundColor:Ae.colorSuccess},[`${He}-text`]:{color:Ae.colorSuccess}},[`&${He}-status-success ${He}-inner:not(${He}-circle-gradient)`]:{[`${He}-circle-path`]:{stroke:Ae.colorSuccess}}})}},ve=Ae=>{const{componentCls:He,iconCls:ct}=Ae;return{[He]:{[`${He}-circle-trail`]:{stroke:Ae.remainingColor},[`&${He}-circle ${He}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${He}-circle ${He}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Ae.circleTextColor,fontSize:Ae.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[ct]:{fontSize:`${Ae.fontSize/Ae.fontSizeSM}em`}},[`${He}-circle&-status-exception`]:{[`${He}-text`]:{color:Ae.colorError}},[`${He}-circle&-status-success`]:{[`${He}-text`]:{color:Ae.colorSuccess}}},[`${He}-inline-circle`]:{lineHeight:1,[`${He}-inner`]:{verticalAlign:"bottom"}}}},Ge=Ae=>{const{componentCls:He}=Ae;return{[He]:{[`${He}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Ae.progressStepMinWidth,marginInlineEnd:Ae.progressStepMarginInlineEnd,backgroundColor:Ae.remainingColor,transition:`all ${Ae.motionDurationSlow}`,"&-active":{backgroundColor:Ae.defaultColor}}}}}},We=Ae=>{const{componentCls:He,iconCls:ct}=Ae;return{[He]:{[`${He}-small&-line, ${He}-small&-line ${He}-text ${ct}`]:{fontSize:Ae.fontSizeSM}}}};var we=(0,Le.Z)("Progress",Ae=>{const He=Ae.marginXXS/2,ct=(0,ft.TS)(Ae,{progressStepMarginInlineEnd:He,progressStepMinWidth:He,progressActiveMotionDuration:"2.4s"});return[Oe(ct),ve(ct),Ge(ct),We(ct)]},Ae=>({circleTextColor:Ae.colorText,defaultColor:Ae.colorInfo,remainingColor:Ae.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),mt=function(Ae,He){var ct={};for(var wt in Ae)Object.prototype.hasOwnProperty.call(Ae,wt)&&He.indexOf(wt)<0&&(ct[wt]=Ae[wt]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Zt=0,wt=Object.getOwnPropertySymbols(Ae);Zt<wt.length;Zt++)He.indexOf(wt[Zt])<0&&Object.prototype.propertyIsEnumerable.call(Ae,wt[Zt])&&(ct[wt[Zt]]=Ae[wt[Zt]]);return ct};const et=null,Ht=["normal","exception","active","success"];var ut=z.forwardRef((Ae,He)=>{const{prefixCls:ct,className:wt,rootClassName:Zt,steps:mn,strokeColor:dt,percent:Dt=0,size:yt="default",showInfo:en=!0,type:Wt="line",status:un,format:Vn,style:fn}=Ae,an=mt(Ae,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Un=z.useMemo(()=>{var Mt,Ft;const kn=vt(Ae);return parseInt(kn!==void 0?(Mt=kn!=null?kn:0)===null||Mt===void 0?void 0:Mt.toString():(Ft=Dt!=null?Dt:0)===null||Ft===void 0?void 0:Ft.toString(),10)},[Dt,Ae.success,Ae.successPercent]),zt=z.useMemo(()=>!Ht.includes(un)&&Un>=100?"success":un||"normal",[un,Un]),{getPrefixCls:Tt,direction:Xt,progress:Ea}=z.useContext(je.E_),qn=Tt("progress",ct),[Mn,Ga]=we(qn),La=z.useMemo(()=>{if(!en)return null;const Mt=vt(Ae);let Ft;const kn=Vn||(Ln=>`${Ln}%`),dn=Wt==="line";return Vn||zt!=="exception"&&zt!=="success"?Ft=kn(rt(Dt),rt(Mt)):zt==="exception"?Ft=dn?z.createElement(Ie.Z,null):z.createElement(be.Z,null):zt==="success"&&(Ft=dn?z.createElement(se.Z,null):z.createElement(he.Z,null)),z.createElement("span",{className:`${qn}-text`,title:typeof Ft=="string"?Ft:void 0},Ft)},[en,Dt,Un,zt,Wt,qn,Vn]),Ar=Array.isArray(dt)?dt[0]:dt,Cr=typeof dt=="string"||Array.isArray(dt)?dt:void 0;let Qa;Wt==="line"?Qa=mn?z.createElement(Re,Object.assign({},Ae,{strokeColor:Cr,prefixCls:qn,steps:mn}),La):z.createElement(Hn,Object.assign({},Ae,{strokeColor:Ar,prefixCls:qn,direction:Xt}),La):(Wt==="circle"||Wt==="dashboard")&&(Qa=z.createElement(St,Object.assign({},Ae,{strokeColor:Ar,prefixCls:qn,progressStatus:zt}),La));const at=ie()(qn,`${qn}-status-${zt}`,`${qn}-${Wt==="dashboard"&&"circle"||mn&&"steps"||Wt}`,{[`${qn}-inline-circle`]:Wt==="circle"&&Je(yt,"circle")[0]<=20,[`${qn}-show-info`]:en,[`${qn}-${yt}`]:typeof yt=="string",[`${qn}-rtl`]:Xt==="rtl"},Ea==null?void 0:Ea.className,wt,Zt,Ga);return Mn(z.createElement("div",Object.assign({ref:He,style:Object.assign(Object.assign({},Ea==null?void 0:Ea.style),fn),className:at,role:"progressbar","aria-valuenow":Un},(0,nt.Z)(an,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Qa))}),xt=ut},15969:function(Ct,Pt,te){"use strict";te.d(Pt,{N:function(){return z}});const z=se=>({color:se.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${se.motionDurationSlow}`,"&:focus, &:hover":{color:se.colorLinkHover},"&:active":{color:se.colorLinkActive}})},1710:function(Ct,Pt,te){"use strict";te.d(Pt,{default:function(){return Ci}});var z={},se="rc-table-internal-hook",he=te(72190),Ie=te(6089),be=te(34280),Ne=te(13697),ie=te(59301),nt=te(4676);function je(ce){var pe=ie.createContext(void 0),ke=function(ot){var lt=ot.value,Ot=ot.children,Lt=ie.useRef(lt);Lt.current=lt;var Bt=ie.useState(function(){return{getValue:function(){return Lt.current},listeners:new Set}}),Ut=(0,he.Z)(Bt,1),jt=Ut[0];return(0,be.Z)(function(){(0,nt.unstable_batchedUpdates)(function(){jt.listeners.forEach(function(Kt){Kt(lt)})})},[lt]),ie.createElement(pe.Provider,{value:jt},Ot)};return{Context:pe,Provider:ke,defaultValue:ce}}function Ze(ce,pe){var ke=(0,Ie.Z)(typeof pe=="function"?pe:function(Kt){if(pe===void 0)return Kt;if(!Array.isArray(pe))return Kt[pe];var En={};return pe.forEach(function(Sn){En[Sn]=Kt[Sn]}),En}),Ue=ie.useContext(ce==null?void 0:ce.Context),ot=Ue||{},lt=ot.listeners,Ot=ot.getValue,Lt=ie.useRef();Lt.current=ke(Ue?Ot():ce==null?void 0:ce.defaultValue);var Bt=ie.useState({}),Ut=(0,he.Z)(Bt,2),jt=Ut[1];return(0,be.Z)(function(){if(!Ue)return;function Kt(En){var Sn=ke(En);(0,Ne.Z)(Lt.current,Sn,!0)||jt({})}return lt.add(Kt),function(){lt.delete(Kt)}},[Ue]),Lt.current}var ze=te(60499),Me=te(8654);function ye(){var ce=ie.createContext(null);function pe(){return ie.useContext(ce)}function ke(ot,lt){var Ot=(0,Me.Yr)(ot),Lt=function(Ut,jt){var Kt=Ot?{ref:jt}:{},En=ie.useRef(0),Sn=ie.useRef(Ut),wn=pe();return wn!==null?ie.createElement(ot,(0,ze.Z)({},Ut,Kt)):((!lt||lt(Sn.current,Ut))&&(En.current+=1),Sn.current=Ut,ie.createElement(ce.Provider,{value:En.current},ie.createElement(ot,(0,ze.Z)({},Ut,Kt))))};return Ot?ie.forwardRef(Lt):Lt}function Ue(ot,lt){var Ot=(0,Me.Yr)(ot),Lt=function(Ut,jt){var Kt=Ot?{ref:jt}:{};return pe(),ie.createElement(ot,(0,ze.Z)({},Ut,Kt))};return Ot?ie.memo(ie.forwardRef(Lt),lt):ie.memo(Lt,lt)}return{makeImmutable:ke,responseImmutable:Ue,useImmutableMark:pe}}var re=ye(),a=re.makeImmutable,y=re.responseImmutable,b=re.useImmutableMark,E=ye(),x=E.makeImmutable,ee=E.responseImmutable,ne=E.useImmutableMark,oe=je(),ae=oe;function ue(ce,pe){var ke=ie.useRef(0);ke.current+=1;var Ue=ie.useRef(ce),ot=[];Object.keys(ce||{}).map(function(Ot){var Lt;(ce==null?void 0:ce[Ot])!==((Lt=Ue.current)===null||Lt===void 0?void 0:Lt[Ot])&&ot.push(Ot)}),Ue.current=ce;var lt=ie.useRef([]);return ot.length&&(lt.current=ot),ie.useDebugValue(ke.current),ie.useDebugValue(lt.current.join(", ")),pe&&console.log("".concat(pe,":"),ke.current,lt.current),ke.current}var me=null,fe=ie.memo(function(){var ce=ue();return ie.createElement("h1",null,"Render Times: ",ce)});fe.displayName="RenderBlock";var Pe=te(43749),xe=te(85899),Ee=te(18642),De=te(92310),_e=te.n(De),pt=te(80547),Be=te(97938),$e=te(48736),Ke=ie.createContext({renderWithProps:!1}),Ve=Ke,it="RC_TABLE_KEY";function rt(ce){return ce==null?[]:Array.isArray(ce)?ce:[ce]}function vt(ce){var pe=[],ke={};return ce.forEach(function(Ue){for(var ot=Ue||{},lt=ot.key,Ot=ot.dataIndex,Lt=lt||rt(Ot).join("-")||it;ke[Lt];)Lt="".concat(Lt,"_next");ke[Lt]=!0,pe.push(Lt)}),pe}function Rt(ce){return ce!=null}function $t(ce){return ce&&(0,Pe.Z)(ce)==="object"&&!Array.isArray(ce)&&!ie.isValidElement(ce)}function Je(ce,pe,ke,Ue,ot,lt){var Ot=ie.useContext(Ve),Lt=ne(),Bt=(0,pt.Z)(function(){if(Rt(Ue))return[Ue];var Ut=pe==null||pe===""?[]:Array.isArray(pe)?pe:[pe],jt=(0,Be.Z)(ce,Ut),Kt=jt,En=void 0;if(ot){var Sn=ot(jt,ce,ke);$t(Sn)?(Kt=Sn.children,En=Sn.props,Ot.renderWithProps=!0):Kt=Sn}return[Kt,En]},[Lt,ce,Ue,pe,ot,ke],function(Ut,jt){if(lt){var Kt=(0,he.Z)(Ut,2),En=Kt[1],Sn=(0,he.Z)(jt,2),wn=Sn[1];return lt(wn,En)}return Ot.renderWithProps?!0:!(0,Ne.Z)(Ut,jt,!0)});return Bt}function st(ce,pe,ke,Ue){var ot=ce+pe-1;return ce<=Ue&&ot>=ke}function At(ce,pe){return Ze(ae,function(ke){var Ue=st(ce,pe||1,ke.hoverStartRow,ke.hoverEndRow);return[Ue,ke.onHover]})}var Nt=function(pe){var ke=pe.ellipsis,Ue=pe.rowType,ot=pe.children,lt,Ot=ke===!0?{showTitle:!0}:ke;return Ot&&(Ot.showTitle||Ue==="header")&&(typeof ot=="string"||typeof ot=="number"?lt=ot.toString():ie.isValidElement(ot)&&typeof ot.props.children=="string"&&(lt=ot.props.children)),lt};function St(ce){var pe,ke,Ue,ot,lt,Ot,Lt,Bt,Ut=ce.component,jt=ce.children,Kt=ce.ellipsis,En=ce.scope,Sn=ce.prefixCls,wn=ce.className,Kn=ce.align,Zn=ce.record,ua=ce.render,ta=ce.dataIndex,ma=ce.renderIndex,Ya=ce.shouldCellUpdate,rr=ce.index,ka=ce.rowType,Ja=ce.colSpan,Dr=ce.rowSpan,Sa=ce.fixLeft,_a=ce.fixRight,wa=ce.firstFixLeft,da=ce.lastFixLeft,fa=ce.firstFixRight,qa=ce.lastFixRight,Gr=ce.appendNode,Lr=ce.additionalProps,Ka=Lr===void 0?{}:Lr,zr=ce.isSticky,Wr="".concat(Sn,"-cell"),Jr=Ze(ae,["supportSticky","allColumnsFixedLeft"]),Vr=Jr.supportSticky,Vo=Jr.allColumnsFixedLeft,lo=Je(Zn,ta,ma,jt,ua,Ya),vr=(0,he.Z)(lo,2),ei=vr[0],cr=vr[1],ko={},Ao=typeof Sa=="number"&&Vr,fi=typeof _a=="number"&&Vr;Ao&&(ko.position="sticky",ko.left=Sa),fi&&(ko.position="sticky",ko.right=_a);var gr=(pe=(ke=(Ue=cr==null?void 0:cr.colSpan)!==null&&Ue!==void 0?Ue:Ka.colSpan)!==null&&ke!==void 0?ke:Ja)!==null&&pe!==void 0?pe:1,or=(ot=(lt=(Ot=cr==null?void 0:cr.rowSpan)!==null&&Ot!==void 0?Ot:Ka.rowSpan)!==null&&lt!==void 0?lt:Dr)!==null&&ot!==void 0?ot:1,ir=At(rr,or),Wa=(0,he.Z)(ir,2),Na=Wa[0],Bn=Wa[1],va=function(lr){var Ri;Zn&&Bn(rr,rr+or-1),Ka==null||(Ri=Ka.onMouseEnter)===null||Ri===void 0||Ri.call(Ka,lr)},Br=function(lr){var Ri;Zn&&Bn(-1,-1),Ka==null||(Ri=Ka.onMouseLeave)===null||Ri===void 0||Ri.call(Ka,lr)};if(gr===0||or===0)return null;var Qr=(Lt=Ka.title)!==null&&Lt!==void 0?Lt:Nt({rowType:ka,ellipsis:Kt,children:ei}),Ni=_e()(Wr,wn,(Bt={},(0,Ee.Z)(Bt,"".concat(Wr,"-fix-left"),Ao&&Vr),(0,Ee.Z)(Bt,"".concat(Wr,"-fix-left-first"),wa&&Vr),(0,Ee.Z)(Bt,"".concat(Wr,"-fix-left-last"),da&&Vr),(0,Ee.Z)(Bt,"".concat(Wr,"-fix-left-all"),da&&Vo&&Vr),(0,Ee.Z)(Bt,"".concat(Wr,"-fix-right"),fi&&Vr),(0,Ee.Z)(Bt,"".concat(Wr,"-fix-right-first"),fa&&Vr),(0,Ee.Z)(Bt,"".concat(Wr,"-fix-right-last"),qa&&Vr),(0,Ee.Z)(Bt,"".concat(Wr,"-ellipsis"),Kt),(0,Ee.Z)(Bt,"".concat(Wr,"-with-append"),Gr),(0,Ee.Z)(Bt,"".concat(Wr,"-fix-sticky"),(Ao||fi)&&zr&&Vr),(0,Ee.Z)(Bt,"".concat(Wr,"-row-hover"),!cr&&Na),Bt),Ka.className,cr==null?void 0:cr.className),bi={};Kn&&(bi.textAlign=Kn);var Ji=(0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)({},ko),Ka.style),bi),cr==null?void 0:cr.style),si=ei;return(0,Pe.Z)(si)==="object"&&!Array.isArray(si)&&!ie.isValidElement(si)&&(si=null),Kt&&(da||fa)&&(si=ie.createElement("span",{className:"".concat(Wr,"-content")},si)),ie.createElement(Ut,(0,ze.Z)({},cr,Ka,{className:Ni,style:Ji,title:Qr,scope:En,onMouseEnter:va,onMouseLeave:Br,colSpan:gr!==1?gr:null,rowSpan:or!==1?or:null}),Gr,si)}var sn=ie.memo(St);function Fe(ce,pe,ke,Ue,ot,lt){var Ot=ke[ce]||{},Lt=ke[pe]||{},Bt,Ut;Ot.fixed==="left"?Bt=Ue.left[ot==="rtl"?pe:ce]:Lt.fixed==="right"&&(Ut=Ue.right[ot==="rtl"?ce:pe]);var jt=!1,Kt=!1,En=!1,Sn=!1,wn=ke[pe+1],Kn=ke[ce-1],Zn=!(lt!=null&&lt.children);if(ot==="rtl"){if(Bt!==void 0){var ua=Kn&&Kn.fixed==="left";Sn=!ua&&Zn}else if(Ut!==void 0){var ta=wn&&wn.fixed==="right";En=!ta&&Zn}}else if(Bt!==void 0){var ma=wn&&wn.fixed==="left";jt=!ma&&Zn}else if(Ut!==void 0){var Ya=Kn&&Kn.fixed==="right";Kt=!Ya&&Zn}return{fixLeft:Bt,fixRight:Ut,lastFixLeft:jt,firstFixRight:Kt,lastFixRight:En,firstFixLeft:Sn,isSticky:Ue.isSticky}}var Qt=ie.createContext({}),Gt=Qt;function Hn(ce){var pe=ce.className,ke=ce.index,Ue=ce.children,ot=ce.colSpan,lt=ot===void 0?1:ot,Ot=ce.rowSpan,Lt=ce.align,Bt=Ze(ae,["prefixCls","direction"]),Ut=Bt.prefixCls,jt=Bt.direction,Kt=ie.useContext(Gt),En=Kt.scrollColumnIndex,Sn=Kt.stickyOffsets,wn=Kt.flattenColumns,Kn=Kt.columns,Zn=ke+lt-1,ua=Zn+1===En?lt+1:lt,ta=Fe(ke,ke+ua-1,wn,Sn,jt,Kn==null?void 0:Kn[ke]);return ie.createElement(sn,(0,ze.Z)({className:pe,index:ke,component:"td",prefixCls:Ut,record:null,dataIndex:null,align:Lt,colSpan:ua,rowSpan:Ot,render:function(){return Ue}},ta))}var Jn=te(42244),Re=["children"];function qe(ce){var pe=ce.children,ke=(0,Jn.Z)(ce,Re);return ie.createElement("tr",ke,pe)}function tt(ce){var pe=ce.children;return pe}tt.Row=qe,tt.Cell=Hn;var Le=tt;function ft(ce){var pe=ce.children,ke=ce.stickyOffsets,Ue=ce.flattenColumns,ot=ce.columns,lt=Ze(ae,"prefixCls"),Ot=Ue.length-1,Lt=Ue[Ot],Bt=ie.useMemo(function(){return{stickyOffsets:ke,flattenColumns:Ue,scrollColumnIndex:Lt!=null&&Lt.scrollbar?Ot:null,columns:ot}},[Lt,Ue,Ot,ke,ot]);return ie.createElement(Gt.Provider,{value:Bt},ie.createElement("tfoot",{className:"".concat(lt,"-summary")},pe))}var gt=ee(ft),Oe=Le,ve=te(70425),Ge=te(29301),We=te(29194),we=te(24514),mt=te(75152),et=te(26112);function Ht(ce,pe,ke,Ue,ot,lt,Ot){ce.push({record:pe,indent:ke,index:Ot});var Lt=lt(pe),Bt=ot==null?void 0:ot.has(Lt);if(pe&&Array.isArray(pe[Ue])&&Bt)for(var Ut=0;Ut<pe[Ue].length;Ut+=1)Ht(ce,pe[Ue][Ut],ke+1,Ue,ot,lt,Ut)}function Se(ce,pe,ke,Ue){var ot=ie.useMemo(function(){if(ke!=null&&ke.size){for(var lt=[],Ot=0;Ot<(ce==null?void 0:ce.length);Ot+=1){var Lt=ce[Ot];Ht(lt,Lt,0,pe,ke,Ue,Ot)}return lt}return ce==null?void 0:ce.map(function(Bt,Ut){return{record:Bt,indent:0,index:Ut}})},[ce,pe,ke,Ue]);return ot}function ut(ce){var pe=ce.prefixCls,ke=ce.children,Ue=ce.component,ot=ce.cellComponent,lt=ce.className,Ot=ce.expanded,Lt=ce.colSpan,Bt=ce.isEmpty,Ut=Ze(ae,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),jt=Ut.scrollbarSize,Kt=Ut.fixHeader,En=Ut.fixColumn,Sn=Ut.componentWidth,wn=Ut.horizonScroll,Kn=ke;return(Bt?wn&&Sn:En)&&(Kn=ie.createElement("div",{style:{width:Sn-(Kt?jt:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(pe,"-expanded-row-fixed")},Kn)),ie.createElement(Ue,{className:lt,style:{display:Ot?null:"none"}},ie.createElement(sn,{component:ot,prefixCls:pe,colSpan:Lt},Kn))}var xt=ut;function Ae(ce,pe,ke,Ue){var ot=Ze(ae,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),lt=ot.flattenColumns,Ot=ot.expandableType,Lt=ot.expandedKeys,Bt=ot.childrenColumnName,Ut=ot.onTriggerExpand,jt=ot.rowExpandable,Kt=ot.onRow,En=ot.expandRowByClick,Sn=ot.rowClassName,wn=Ot==="nest",Kn=Ot==="row"&&(!jt||jt(ce)),Zn=Kn||wn,ua=Lt&&Lt.has(pe),ta=Bt&&ce&&ce[Bt],ma=(0,ve.useEvent)(Ut),Ya=Kt==null?void 0:Kt(ce,ke),rr=Ya==null?void 0:Ya.onClick,ka=function(_a){En&&Zn&&Ut(ce,_a);for(var wa=arguments.length,da=new Array(wa>1?wa-1:0),fa=1;fa<wa;fa++)da[fa-1]=arguments[fa];rr==null||rr.apply(void 0,[_a].concat(da))},Ja;typeof Sn=="string"?Ja=Sn:typeof Sn=="function"&&(Ja=Sn(ce,ke,Ue));var Dr=vt(lt);return(0,xe.Z)((0,xe.Z)({},ot),{},{columnsKey:Dr,nestExpandable:wn,expanded:ua,hasNestChildren:ta,record:ce,onTriggerExpand:ma,rowSupportExpand:Kn,expandable:Zn,rowProps:(0,xe.Z)((0,xe.Z)({},Ya),{},{className:_e()(Ja,Ya==null?void 0:Ya.className),onClick:ka})})}function He(ce,pe,ke,Ue,ot){var lt=ce.record,Ot=ce.prefixCls,Lt=ce.columnsKey,Bt=ce.fixedInfoList,Ut=ce.expandIconColumnIndex,jt=ce.nestExpandable,Kt=ce.indentSize,En=ce.expandIcon,Sn=ce.expanded,wn=ce.hasNestChildren,Kn=ce.onTriggerExpand,Zn=Lt[ke],ua=Bt[ke],ta;ke===(Ut||0)&&jt&&(ta=ie.createElement(ie.Fragment,null,ie.createElement("span",{style:{paddingLeft:"".concat(Kt*Ue,"px")},className:"".concat(Ot,"-row-indent indent-level-").concat(Ue)}),En({prefixCls:Ot,expanded:Sn,expandable:wn,record:lt,onExpand:Kn})));var ma;return pe.onCell&&(ma=pe.onCell(lt,ot)),{key:Zn,fixedInfo:ua,appendCellNode:ta,additionalCellProps:ma||{}}}function ct(ce){var pe=ce.className,ke=ce.style,Ue=ce.record,ot=ce.index,lt=ce.renderIndex,Ot=ce.rowKey,Lt=ce.indent,Bt=Lt===void 0?0:Lt,Ut=ce.rowComponent,jt=ce.cellComponent,Kt=ce.scopeCellComponent,En=Ae(Ue,Ot,ot,Bt),Sn=En.prefixCls,wn=En.flattenColumns,Kn=En.expandedRowClassName,Zn=En.expandedRowRender,ua=En.rowProps,ta=En.expanded,ma=En.rowSupportExpand,Ya=ie.useState(!1),rr=(0,he.Z)(Ya,2),ka=rr[0],Ja=rr[1];ie.useEffect(function(){ta&&Ja(!0)},[ta]);var Dr=ie.createElement(Ut,(0,ze.Z)({},ua,{"data-row-key":Ot,className:_e()(pe,"".concat(Sn,"-row"),"".concat(Sn,"-row-level-").concat(Bt),ua==null?void 0:ua.className),style:(0,xe.Z)((0,xe.Z)({},ke),ua==null?void 0:ua.style)}),wn.map(function(da,fa){var qa=da.render,Gr=da.dataIndex,Lr=da.className,Ka=He(En,da,fa,Bt,ot),zr=Ka.key,Wr=Ka.fixedInfo,Jr=Ka.appendCellNode,Vr=Ka.additionalCellProps;return ie.createElement(sn,(0,ze.Z)({className:Lr,ellipsis:da.ellipsis,align:da.align,scope:da.rowScope,component:da.rowScope?Kt:jt,prefixCls:Sn,key:zr,record:Ue,index:ot,renderIndex:lt,dataIndex:Gr,render:qa,shouldCellUpdate:da.shouldCellUpdate},Wr,{appendNode:Jr,additionalProps:Vr}))})),Sa;if(ma&&(ka||ta)){var _a=Zn(Ue,ot,Bt+1,ta),wa=Kn&&Kn(Ue,ot,Bt);Sa=ie.createElement(xt,{expanded:ta,className:_e()("".concat(Sn,"-expanded-row"),"".concat(Sn,"-expanded-row-level-").concat(Bt+1),wa),prefixCls:Sn,component:Ut,cellComponent:jt,colSpan:wn.length,isEmpty:!1},_a)}return ie.createElement(ie.Fragment,null,Dr,Sa)}ct.displayName="BodyRow";var wt=ee(ct);function Zt(ce){var pe=ce.columnKey,ke=ce.onColumnResize,Ue=ie.useRef();return ie.useEffect(function(){Ue.current&&ke(pe,Ue.current.offsetWidth)},[]),ie.createElement(Ge.Z,{data:pe},ie.createElement("td",{ref:Ue,style:{padding:0,border:0,height:0}},ie.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function mn(ce){var pe=ce.prefixCls,ke=ce.columnsKey,Ue=ce.onColumnResize;return ie.createElement("tr",{"aria-hidden":"true",className:"".concat(pe,"-measure-row"),style:{height:0,fontSize:0}},ie.createElement(Ge.Z.Collection,{onBatchResize:function(lt){lt.forEach(function(Ot){var Lt=Ot.data,Bt=Ot.size;Ue(Lt,Bt.offsetWidth)})}},ke.map(function(ot){return ie.createElement(Zt,{key:ot,columnKey:ot,onColumnResize:Ue})})))}function dt(ce){var pe=ce.data,ke=ce.measureColumnWidth,Ue=Ze(ae,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),ot=Ue.prefixCls,lt=Ue.getComponent,Ot=Ue.onColumnResize,Lt=Ue.flattenColumns,Bt=Ue.getRowKey,Ut=Ue.expandedKeys,jt=Ue.childrenColumnName,Kt=Ue.emptyNode,En=Se(pe,jt,Ut,Bt),Sn=ie.useRef({renderWithProps:!1}),wn=lt(["body","wrapper"],"tbody"),Kn=lt(["body","row"],"tr"),Zn=lt(["body","cell"],"td"),ua=lt(["body","cell"],"th"),ta;pe.length?ta=En.map(function(Ya,rr){var ka=Ya.record,Ja=Ya.indent,Dr=Ya.index,Sa=Bt(ka,rr);return ie.createElement(wt,{key:Sa,rowKey:Sa,record:ka,index:rr,renderIndex:Dr,rowComponent:Kn,cellComponent:Zn,scopeCellComponent:ua,getRowKey:Bt,indent:Ja})}):ta=ie.createElement(xt,{expanded:!0,className:"".concat(ot,"-placeholder"),prefixCls:ot,component:Kn,cellComponent:Zn,colSpan:Lt.length,isEmpty:!0},Kt);var ma=vt(Lt);return ie.createElement(Ve.Provider,{value:Sn.current},ie.createElement(wn,{className:"".concat(ot,"-tbody")},ke&&ie.createElement(mn,{prefixCls:ot,columnsKey:ma,onColumnResize:Ot}),ta))}dt.displayName="Body";var Dt=ee(dt),yt=["expandable"],en="RC_TABLE_INTERNAL_COL_DEFINE";function Wt(ce){var pe=ce.expandable,ke=(0,Jn.Z)(ce,yt),Ue;return"expandable"in ce?Ue=(0,xe.Z)((0,xe.Z)({},ke),pe):Ue=ke,Ue.showExpandColumn===!1&&(Ue.expandIconColumnIndex=-1),Ue}var un=["columnType"];function Vn(ce){for(var pe=ce.colWidths,ke=ce.columns,Ue=ce.columCount,ot=[],lt=Ue||ke.length,Ot=!1,Lt=lt-1;Lt>=0;Lt-=1){var Bt=pe[Lt],Ut=ke&&ke[Lt],jt=Ut&&Ut[en];if(Bt||jt||Ot){var Kt=jt||{},En=Kt.columnType,Sn=(0,Jn.Z)(Kt,un);ot.unshift(ie.createElement("col",(0,ze.Z)({key:Lt,style:{width:Bt}},Sn))),Ot=!0}}return ie.createElement("colgroup",null,ot)}var fn=Vn,an=te(77654),Un=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function zt(ce,pe){return(0,ie.useMemo)(function(){for(var ke=[],Ue=0;Ue<pe;Ue+=1){var ot=ce[Ue];if(ot!==void 0)ke[Ue]=ot;else return null}return ke},[ce.join("_"),pe])}var Tt=ie.forwardRef(function(ce,pe){var ke=ce.className,Ue=ce.noData,ot=ce.columns,lt=ce.flattenColumns,Ot=ce.colWidths,Lt=ce.columCount,Bt=ce.stickyOffsets,Ut=ce.direction,jt=ce.fixHeader,Kt=ce.stickyTopOffset,En=ce.stickyBottomOffset,Sn=ce.stickyClassName,wn=ce.onScroll,Kn=ce.maxContentScroll,Zn=ce.children,ua=(0,Jn.Z)(ce,Un),ta=Ze(ae,["prefixCls","scrollbarSize","isSticky"]),ma=ta.prefixCls,Ya=ta.scrollbarSize,rr=ta.isSticky,ka=rr&&!jt?0:Ya,Ja=ie.useRef(null),Dr=ie.useCallback(function(Lr){(0,Me.mH)(pe,Lr),(0,Me.mH)(Ja,Lr)},[]);ie.useEffect(function(){var Lr;function Ka(zr){var Wr=zr,Jr=Wr.currentTarget,Vr=Wr.deltaX;Vr&&(wn({currentTarget:Jr,scrollLeft:Jr.scrollLeft+Vr}),zr.preventDefault())}return(Lr=Ja.current)===null||Lr===void 0||Lr.addEventListener("wheel",Ka),function(){var zr;(zr=Ja.current)===null||zr===void 0||zr.removeEventListener("wheel",Ka)}},[]);var Sa=ie.useMemo(function(){return lt.every(function(Lr){return Lr.width})},[lt]),_a=lt[lt.length-1],wa={fixed:_a?_a.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(ma,"-cell-scrollbar")}}},da=(0,ie.useMemo)(function(){return ka?[].concat((0,an.Z)(ot),[wa]):ot},[ka,ot]),fa=(0,ie.useMemo)(function(){return ka?[].concat((0,an.Z)(lt),[wa]):lt},[ka,lt]),qa=(0,ie.useMemo)(function(){var Lr=Bt.right,Ka=Bt.left;return(0,xe.Z)((0,xe.Z)({},Bt),{},{left:Ut==="rtl"?[].concat((0,an.Z)(Ka.map(function(zr){return zr+ka})),[0]):Ka,right:Ut==="rtl"?Lr:[].concat((0,an.Z)(Lr.map(function(zr){return zr+ka})),[0]),isSticky:rr})},[ka,Bt,rr]),Gr=zt(Ot,Lt);return ie.createElement("div",{style:(0,xe.Z)({overflow:"hidden"},rr?{top:Kt,bottom:En}:{}),ref:Dr,className:_e()(ke,(0,Ee.Z)({},Sn,!!Sn))},ie.createElement("table",{style:{tableLayout:"fixed",visibility:Ue||Gr?null:"hidden"}},(!Ue||!Kn||Sa)&&ie.createElement(fn,{colWidths:Gr?[].concat((0,an.Z)(Gr),[ka]):[],columCount:Lt+1,columns:fa}),Zn((0,xe.Z)((0,xe.Z)({},ua),{},{stickyOffsets:qa,columns:da,flattenColumns:fa}))))});Tt.displayName="FixedHolder";var Xt=ie.memo(Tt);function Ea(ce){var pe=ce.cells,ke=ce.stickyOffsets,Ue=ce.flattenColumns,ot=ce.rowComponent,lt=ce.cellComponent,Ot=ce.tdCellComponent,Lt=ce.onHeaderRow,Bt=ce.index,Ut=Ze(ae,["prefixCls","direction"]),jt=Ut.prefixCls,Kt=Ut.direction,En;Lt&&(En=Lt(pe.map(function(wn){return wn.column}),Bt));var Sn=vt(pe.map(function(wn){return wn.column}));return ie.createElement(ot,En,pe.map(function(wn,Kn){var Zn=wn.column,ua=Fe(wn.colStart,wn.colEnd,Ue,ke,Kt,Zn),ta;return Zn&&Zn.onHeaderCell&&(ta=wn.column.onHeaderCell(Zn)),ie.createElement(sn,(0,ze.Z)({},wn,{scope:Zn.title?wn.colSpan>1?"colgroup":"col":null,ellipsis:Zn.ellipsis,align:Zn.align,component:Zn.title?lt:Ot,prefixCls:jt,key:Sn[Kn]},ua,{additionalProps:ta,rowType:"header"}))}))}Ea.displayName="HeaderRow";var qn=Ea;function Mn(ce){var pe=[];function ke(Ot,Lt){var Bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;pe[Bt]=pe[Bt]||[];var Ut=Lt,jt=Ot.filter(Boolean).map(function(Kt){var En={key:Kt.key,className:Kt.className||"",children:Kt.title,column:Kt,colStart:Ut},Sn=1,wn=Kt.children;return wn&&wn.length>0&&(Sn=ke(wn,Ut,Bt+1).reduce(function(Kn,Zn){return Kn+Zn},0),En.hasSubColumns=!0),"colSpan"in Kt&&(Sn=Kt.colSpan),"rowSpan"in Kt&&(En.rowSpan=Kt.rowSpan),En.colSpan=Sn,En.colEnd=En.colStart+Sn-1,pe[Bt].push(En),Ut+=Sn,Sn});return jt}ke(ce,0);for(var Ue=pe.length,ot=function(Lt){pe[Lt].forEach(function(Bt){!("rowSpan"in Bt)&&!Bt.hasSubColumns&&(Bt.rowSpan=Ue-Lt)})},lt=0;lt<Ue;lt+=1)ot(lt);return pe}function Ga(ce){var pe=ce.stickyOffsets,ke=ce.columns,Ue=ce.flattenColumns,ot=ce.onHeaderRow,lt=Ze(ae,["prefixCls","getComponent"]),Ot=lt.prefixCls,Lt=lt.getComponent,Bt=ie.useMemo(function(){return Mn(ke)},[ke]),Ut=Lt(["header","wrapper"],"thead"),jt=Lt(["header","row"],"tr"),Kt=Lt(["header","cell"],"th"),En=Lt(["header","cell"],"td");return ie.createElement(Ut,{className:"".concat(Ot,"-thead")},Bt.map(function(Sn,wn){var Kn=ie.createElement(qn,{key:wn,flattenColumns:Ue,cells:Sn,stickyOffsets:pe,rowComponent:jt,cellComponent:Kt,tdCellComponent:En,onHeaderRow:ot,index:wn});return Kn}))}var La=ee(Ga),Ar=te(11592);function Cr(ce){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof pe=="number"?pe:pe.endsWith("%")?ce*parseFloat(pe)/100:null}function Qa(ce,pe){return ie.useMemo(function(){if(pe&&pe>0){var ke=0,Ue=0;ce.forEach(function(Ut){var jt=Cr(pe,Ut.width);jt?ke+=jt:Ue+=1});var ot=pe-ke,lt=Ue,Ot=ot/Ue,Lt=0,Bt=ce.map(function(Ut){var jt=(0,xe.Z)({},Ut),Kt=Cr(pe,jt.width);if(Kt)jt.width=Kt;else{var En=Math.floor(Ot);jt.width=lt===1?ot:En,ot-=En,lt-=1}return Lt+=jt.width,jt});return[Bt,Lt]}return[ce,pe]},[ce,pe])}var at=["children"],Mt=["fixed"];function Ft(ce){return(0,Ar.Z)(ce).filter(function(pe){return ie.isValidElement(pe)}).map(function(pe){var ke=pe.key,Ue=pe.props,ot=Ue.children,lt=(0,Jn.Z)(Ue,at),Ot=(0,xe.Z)({key:ke},lt);return ot&&(Ot.children=Ft(ot)),Ot})}function kn(ce){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ce.filter(function(ke){return ke&&(0,Pe.Z)(ke)==="object"}).reduce(function(ke,Ue,ot){var lt=Ue.fixed,Ot=lt===!0?"left":lt,Lt="".concat(pe,"-").concat(ot),Bt=Ue.children;return Bt&&Bt.length>0?[].concat((0,an.Z)(ke),(0,an.Z)(kn(Bt,Lt).map(function(Ut){return(0,xe.Z)({fixed:Ot},Ut)}))):[].concat((0,an.Z)(ke),[(0,xe.Z)((0,xe.Z)({key:Lt},Ue),{},{fixed:Ot})])},[])}function dn(ce){for(var pe=!0,ke=0;ke<ce.length;ke+=1){var Ue=ce[ke];if(pe&&Ue.fixed!=="left")pe=!1;else if(!pe&&Ue.fixed==="left"){warning(!1,"Index ".concat(ke-1," of `columns` missing `fixed='left'` prop."));break}}for(var ot=!0,lt=ce.length-1;lt>=0;lt-=1){var Ot=ce[lt];if(ot&&Ot.fixed!=="right")ot=!1;else if(!ot&&Ot.fixed==="right"){warning(!1,"Index ".concat(lt+1," of `columns` missing `fixed='right'` prop."));break}}}function Ln(ce){return ce.map(function(pe){var ke=pe.fixed,Ue=(0,Jn.Z)(pe,Mt),ot=ke;return ke==="left"?ot="right":ke==="right"&&(ot="left"),(0,xe.Z)({fixed:ot},Ue)})}function Xr(ce,pe){var ke=ce.prefixCls,Ue=ce.columns,ot=ce.children,lt=ce.expandable,Ot=ce.expandedKeys,Lt=ce.columnTitle,Bt=ce.getRowKey,Ut=ce.onTriggerExpand,jt=ce.expandIcon,Kt=ce.rowExpandable,En=ce.expandIconColumnIndex,Sn=ce.direction,wn=ce.expandRowByClick,Kn=ce.columnWidth,Zn=ce.fixed,ua=ce.scrollWidth,ta=ie.useMemo(function(){return Ue||Ft(ot)},[Ue,ot]),ma=ie.useMemo(function(){if(lt){var _a,wa=ta.slice();if(!wa.includes(z)){var da=En||0;da>=0&&wa.splice(da,0,z)}var fa=wa.indexOf(z);wa=wa.filter(function(Ka,zr){return Ka!==z||zr===fa});var qa=ta[fa],Gr;(Zn==="left"||Zn)&&!En?Gr="left":(Zn==="right"||Zn)&&En===ta.length?Gr="right":Gr=qa?qa.fixed:null;var Lr=(_a={},(0,Ee.Z)(_a,en,{className:"".concat(ke,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Ee.Z)(_a,"title",Lt),(0,Ee.Z)(_a,"fixed",Gr),(0,Ee.Z)(_a,"className","".concat(ke,"-row-expand-icon-cell")),(0,Ee.Z)(_a,"width",Kn),(0,Ee.Z)(_a,"render",function(zr,Wr,Jr){var Vr=Bt(Wr,Jr),Vo=Ot.has(Vr),lo=Kt?Kt(Wr):!0,vr=jt({prefixCls:ke,expanded:Vo,expandable:lo,record:Wr,onExpand:Ut});return wn?ie.createElement("span",{onClick:function(cr){return cr.stopPropagation()}},vr):vr}),_a);return wa.map(function(Ka){return Ka===z?Lr:Ka})}return ta.filter(function(Ka){return Ka!==z})},[lt,ta,Bt,Ot,jt,Sn]),Ya=ie.useMemo(function(){var _a=ma;return pe&&(_a=pe(_a)),_a.length||(_a=[{render:function(){return null}}]),_a},[pe,ma,Sn]),rr=ie.useMemo(function(){return Sn==="rtl"?Ln(kn(Ya)):kn(Ya)},[Ya,Sn,ua]),ka=Qa(rr,ua),Ja=(0,he.Z)(ka,2),Dr=Ja[0],Sa=Ja[1];return[Ya,Dr,Sa]}var Er=Xr;function Kr(ce){var pe,ke=ce.prefixCls,Ue=ce.record,ot=ce.onExpand,lt=ce.expanded,Ot=ce.expandable,Lt="".concat(ke,"-row-expand-icon");if(!Ot)return ie.createElement("span",{className:_e()(Lt,"".concat(ke,"-row-spaced"))});var Bt=function(jt){ot(Ue,jt),jt.stopPropagation()};return ie.createElement("span",{className:_e()(Lt,(pe={},(0,Ee.Z)(pe,"".concat(ke,"-row-expanded"),lt),(0,Ee.Z)(pe,"".concat(ke,"-row-collapsed"),!lt),pe)),onClick:Bt})}function oo(ce,pe,ke){var Ue=[];function ot(lt){(lt||[]).forEach(function(Ot,Lt){Ue.push(pe(Ot,Lt)),ot(Ot[ke])})}return ot(ce),Ue}function Xa(ce,pe,ke){var Ue=Wt(ce),ot=Ue.expandIcon,lt=Ue.expandedRowKeys,Ot=Ue.defaultExpandedRowKeys,Lt=Ue.defaultExpandAllRows,Bt=Ue.expandedRowRender,Ut=Ue.onExpand,jt=Ue.onExpandedRowsChange,Kt=Ue.childrenColumnName,En=ot||Kr,Sn=Kt||"children",wn=ie.useMemo(function(){return Bt?"row":ce.expandable&&ce.internalHooks===se&&ce.expandable.__PARENT_RENDER_ICON__||pe.some(function(rr){return rr&&(0,Pe.Z)(rr)==="object"&&rr[Sn]})?"nest":!1},[!!Bt,pe]),Kn=ie.useState(function(){return Ot||(Lt?oo(pe,ke,Sn):[])}),Zn=(0,he.Z)(Kn,2),ua=Zn[0],ta=Zn[1],ma=ie.useMemo(function(){return new Set(lt||ua||[])},[lt,ua]),Ya=ie.useCallback(function(rr){var ka=ke(rr,pe.indexOf(rr)),Ja,Dr=ma.has(ka);Dr?(ma.delete(ka),Ja=(0,an.Z)(ma)):Ja=[].concat((0,an.Z)(ma),[ka]),ta(Ja),Ut&&Ut(!Dr,rr),jt&&jt(Ja)},[ke,ma,pe,Ut,jt]);return[Ue,wn,ma,En,Sn,Ya]}function Nn(ce,pe,ke,Ue){var ot=ce.map(function(lt,Ot){return Fe(Ot,Ot,ce,pe,ke,Ue==null?void 0:Ue[Ot])});return(0,pt.Z)(function(){return ot},[ot],function(lt,Ot){return!(0,Ne.Z)(lt,Ot)})}function ur(ce){var pe=(0,ie.useRef)(ce),ke=(0,ie.useState)({}),Ue=(0,he.Z)(ke,2),ot=Ue[1],lt=(0,ie.useRef)(null),Ot=(0,ie.useRef)([]);function Lt(Bt){Ot.current.push(Bt);var Ut=Promise.resolve();lt.current=Ut,Ut.then(function(){if(lt.current===Ut){var jt=Ot.current,Kt=pe.current;Ot.current=[],jt.forEach(function(En){pe.current=En(pe.current)}),lt.current=null,Kt!==pe.current&&ot({})}})}return(0,ie.useEffect)(function(){return function(){lt.current=null}},[]),[pe.current,Lt]}function nr(ce){var pe=(0,ie.useRef)(ce||null),ke=(0,ie.useRef)();function Ue(){window.clearTimeout(ke.current)}function ot(Ot){pe.current=Ot,Ue(),ke.current=window.setTimeout(function(){pe.current=null,ke.current=void 0},100)}function lt(){return pe.current}return(0,ie.useEffect)(function(){return Ue},[]),[ot,lt]}function sr(){var ce=ie.useState(-1),pe=(0,he.Z)(ce,2),ke=pe[0],Ue=pe[1],ot=ie.useState(-1),lt=(0,he.Z)(ot,2),Ot=lt[0],Lt=lt[1],Bt=ie.useCallback(function(Ut,jt){Ue(Ut),Lt(jt)},[]);return[ke,Ot,Bt]}var er=te(47273),ht=(0,er.Z)()?window:null;function qt(ce,pe){var ke=(0,Pe.Z)(ce)==="object"?ce:{},Ue=ke.offsetHeader,ot=Ue===void 0?0:Ue,lt=ke.offsetSummary,Ot=lt===void 0?0:lt,Lt=ke.offsetScroll,Bt=Lt===void 0?0:Lt,Ut=ke.getContainer,jt=Ut===void 0?function(){return ht}:Ut,Kt=jt()||ht;return ie.useMemo(function(){var En=!!ce;return{isSticky:En,stickyClassName:En?"".concat(pe,"-sticky-holder"):"",offsetHeader:ot,offsetSummary:Ot,offsetScroll:Bt,container:Kt}},[Bt,ot,Ot,pe,Kt])}function tn(ce,pe,ke){var Ue=(0,ie.useMemo)(function(){for(var ot=[],lt=[],Ot=0,Lt=0,Bt=0;Bt<pe;Bt+=1)if(ke==="rtl"){lt[Bt]=Lt,Lt+=ce[Bt]||0;var Ut=pe-Bt-1;ot[Ut]=Ot,Ot+=ce[Ut]||0}else{ot[Bt]=Ot,Ot+=ce[Bt]||0;var jt=pe-Bt-1;lt[jt]=Lt,Lt+=ce[jt]||0}return{left:ot,right:lt}},[ce,pe,ke]);return Ue}var Pn=tn;function Rn(ce){var pe=ce.className,ke=ce.children;return ie.createElement("div",{className:pe},ke)}var gn=Rn,On=te(8224),yn=te(55468),ar=function(pe,ke){var Ue,ot,lt=pe.scrollBodyRef,Ot=pe.onScroll,Lt=pe.offsetScroll,Bt=pe.container,Ut=Ze(ae,"prefixCls"),jt=((Ue=lt.current)===null||Ue===void 0?void 0:Ue.scrollWidth)||0,Kt=((ot=lt.current)===null||ot===void 0?void 0:ot.clientWidth)||0,En=jt&&Kt*(Kt/jt),Sn=ie.useRef(),wn=ur({scrollLeft:0,isHiddenScrollBar:!1}),Kn=(0,he.Z)(wn,2),Zn=Kn[0],ua=Kn[1],ta=ie.useRef({delta:0,x:0}),ma=ie.useState(!1),Ya=(0,he.Z)(ma,2),rr=Ya[0],ka=Ya[1],Ja=function(){ka(!1)},Dr=function(fa){fa.persist(),ta.current.delta=fa.pageX-Zn.scrollLeft,ta.current.x=0,ka(!0),fa.preventDefault()},Sa=function(fa){var qa,Gr=fa||((qa=window)===null||qa===void 0?void 0:qa.event),Lr=Gr.buttons;if(!rr||Lr===0){rr&&ka(!1);return}var Ka=ta.current.x+fa.pageX-ta.current.x-ta.current.delta;Ka<=0&&(Ka=0),Ka+En>=Kt&&(Ka=Kt-En),Ot({scrollLeft:Ka/Kt*(jt+2)}),ta.current.x=fa.pageX},_a=function(){if(lt.current){var fa=(0,yn.os)(lt.current).top,qa=fa+lt.current.offsetHeight,Gr=Bt===window?document.documentElement.scrollTop+window.innerHeight:(0,yn.os)(Bt).top+Bt.clientHeight;qa-(0,mt.Z)()<=Gr||fa>=Gr-Lt?ua(function(Lr){return(0,xe.Z)((0,xe.Z)({},Lr),{},{isHiddenScrollBar:!0})}):ua(function(Lr){return(0,xe.Z)((0,xe.Z)({},Lr),{},{isHiddenScrollBar:!1})})}},wa=function(fa){ua(function(qa){return(0,xe.Z)((0,xe.Z)({},qa),{},{scrollLeft:fa/jt*Kt||0})})};return ie.useImperativeHandle(ke,function(){return{setScrollLeft:wa}}),ie.useEffect(function(){var da=(0,On.Z)(document.body,"mouseup",Ja,!1),fa=(0,On.Z)(document.body,"mousemove",Sa,!1);return _a(),function(){da.remove(),fa.remove()}},[En,rr]),ie.useEffect(function(){var da=(0,On.Z)(Bt,"scroll",_a,!1),fa=(0,On.Z)(window,"resize",_a,!1);return function(){da.remove(),fa.remove()}},[Bt]),ie.useEffect(function(){Zn.isHiddenScrollBar||ua(function(da){var fa=lt.current;return fa?(0,xe.Z)((0,xe.Z)({},da),{},{scrollLeft:fa.scrollLeft/fa.scrollWidth*fa.clientWidth}):da})},[Zn.isHiddenScrollBar]),jt<=Kt||!En||Zn.isHiddenScrollBar?null:ie.createElement("div",{style:{height:(0,mt.Z)(),width:Kt,bottom:Lt},className:"".concat(Ut,"-sticky-scroll")},ie.createElement("div",{onMouseDown:Dr,ref:Sn,className:_e()("".concat(Ut,"-sticky-scroll-bar"),(0,Ee.Z)({},"".concat(Ut,"-sticky-scroll-bar-active"),rr)),style:{width:"".concat(En,"px"),transform:"translate3d(".concat(Zn.scrollLeft,"px, 0, 0)")}}))},Ra=ie.forwardRef(ar);function cn(ce){return null}var io=cn;function to(ce){return null}var no=to,Mo="rc-table",ea=[],Aa={};function dr(){return"No Data"}function pa(ce){var pe,ke=(0,xe.Z)({rowKey:"key",prefixCls:Mo,emptyText:dr},ce),Ue=ke.prefixCls,ot=ke.className,lt=ke.rowClassName,Ot=ke.style,Lt=ke.data,Bt=ke.rowKey,Ut=ke.scroll,jt=ke.tableLayout,Kt=ke.direction,En=ke.title,Sn=ke.footer,wn=ke.summary,Kn=ke.caption,Zn=ke.id,ua=ke.showHeader,ta=ke.components,ma=ke.emptyText,Ya=ke.onRow,rr=ke.onHeaderRow,ka=ke.internalHooks,Ja=ke.transformColumns,Dr=ke.internalRefs,Sa=ke.tailor,_a=ke.sticky,wa=Lt||ea,da=!!wa.length,fa=ka===se,qa=ie.useCallback(function(Ho,ci){return(0,Be.Z)(ta,Ho)||ci},[ta]),Gr=ie.useMemo(function(){return typeof Bt=="function"?Bt:function(Ho){var ci=Ho&&Ho[Bt];return ci}},[Bt]),Lr=qa(["body"]),Ka=sr(),zr=(0,he.Z)(Ka,3),Wr=zr[0],Jr=zr[1],Vr=zr[2],Vo=Xa(ke,wa,Gr),lo=(0,he.Z)(Vo,6),vr=lo[0],ei=lo[1],cr=lo[2],ko=lo[3],Ao=lo[4],fi=lo[5],gr=Ut==null?void 0:Ut.x,or=ie.useState(0),ir=(0,he.Z)(or,2),Wa=ir[0],Na=ir[1],Bn=Er((0,xe.Z)((0,xe.Z)((0,xe.Z)({},ke),vr),{},{expandable:!!vr.expandedRowRender,columnTitle:vr.columnTitle,expandedKeys:cr,getRowKey:Gr,onTriggerExpand:fi,expandIcon:ko,expandIconColumnIndex:vr.expandIconColumnIndex,direction:Kt,scrollWidth:fa&&Sa&&typeof gr=="number"?gr:null}),fa?Ja:null),va=(0,he.Z)(Bn,3),Br=va[0],Qr=va[1],Ni=va[2],bi=Ni!=null?Ni:gr,Ji=ie.useMemo(function(){return{columns:Br,flattenColumns:Qr}},[Br,Qr]),si=ie.useRef(),ri=ie.useRef(),lr=ie.useRef(),Ri=ie.useRef(),ji=ie.useRef(),No=ie.useState(!1),Zo=(0,he.Z)(No,2),ii=Zo[0],Pi=Zo[1],pi=ie.useState(!1),uo=(0,he.Z)(pi,2),Gi=uo[0],Ii=uo[1],zo=ur(new Map),pr=(0,he.Z)(zo,2),hi=pr[0],Ti=pr[1],sl=vt(Qr),el=sl.map(function(Ho){return hi.get(Ho)}),Qi=ie.useMemo(function(){return el},[el.join("_")]),Wi=Pn(Qi,Qr.length,Kt),yi=Ut&&Rt(Ut.y),gi=Ut&&Rt(bi)||!!vr.fixed,ol=gi&&Qr.some(function(Ho){var ci=Ho.fixed;return ci}),fl=ie.useRef(),al=qt(_a,Ue),il=al.isSticky,Cl=al.offsetHeader,Rl=al.offsetSummary,Po=al.offsetScroll,Qo=al.stickyClassName,ki=al.container,di=ie.useMemo(function(){return wn==null?void 0:wn(wa)},[wn,wa]),Vi=(yi||il)&&ie.isValidElement(di)&&di.type===Le&&di.props.fixed,Ui,Ki,ll;yi&&(Ki={overflowY:"scroll",maxHeight:Ut.y}),gi&&(Ui={overflowX:"auto"},yi||(Ki={overflowY:"hidden"}),ll={width:bi===!0?"auto":bi,minWidth:"100%"});var Tl=ie.useCallback(function(Ho,ci){(0,We.Z)(si.current)&&Ti(function(tl){if(tl.get(Ho)!==ci){var dl=new Map(tl);return dl.set(Ho,ci),dl}return tl})},[]),du=nr(null),kl=(0,he.Z)(du,2),cu=kl[0],ql=kl[1];function Dl(Ho,ci){ci&&(typeof ci=="function"?ci(Ho):ci.scrollLeft!==Ho&&(ci.scrollLeft=Ho,ci.scrollLeft!==Ho&&setTimeout(function(){ci.scrollLeft=Ho},0)))}var pl=(0,Ie.Z)(function(Ho){var ci=Ho.currentTarget,tl=Ho.scrollLeft,dl=Kt==="rtl",cl=typeof tl=="number"?tl:ci.scrollLeft,ou=ci||Aa;if(!ql()||ql()===ou){var Yl;cu(ou),Dl(cl,ri.current),Dl(cl,lr.current),Dl(cl,ji.current),Dl(cl,(Yl=fl.current)===null||Yl===void 0?void 0:Yl.setScrollLeft)}var Ql=ci||ri.current;if(Ql){var Xl=Ql.scrollWidth,bl=Ql.clientWidth;if(Xl===bl){Pi(!1),Ii(!1);return}dl?(Pi(-cl<Xl-bl),Ii(-cl>0)):(Pi(cl>0),Ii(cl<Xl-bl))}}),hl=function(){gi&&lr.current?pl({currentTarget:lr.current}):(Pi(!1),Ii(!1))},eu=function(ci){var tl=ci.width;tl!==Wa&&(hl(),Na(si.current?si.current.offsetWidth:tl))},tu=ie.useRef(!1);ie.useEffect(function(){tu.current&&hl()},[gi,Lt,Br.length]),ie.useEffect(function(){tu.current=!0},[]);var Zl=ie.useState(0),zl=(0,he.Z)(Zl,2),Bl=zl[0],Al=zl[1],gu=ie.useState(!0),Ll=(0,he.Z)(gu,2),_l=Ll[0],mu=Ll[1];ie.useEffect(function(){(!Sa||!fa)&&(lr.current instanceof Element?Al((0,mt.o)(lr.current).width):Al((0,mt.o)(Ri.current).width)),mu((0,we.G)("position","sticky"))},[]),ie.useEffect(function(){fa&&Dr&&(Dr.body.current=lr.current)});var Hl=ie.useCallback(function(Ho){return ie.createElement(ie.Fragment,null,ie.createElement(La,Ho),Vi==="top"&&ie.createElement(gt,Ho,di))},[Vi,di]),fu=ie.useCallback(function(Ho){return ie.createElement(gt,Ho,di)},[di]),nu=qa(["table"],"table"),Ol=ie.useMemo(function(){return jt||(ol?bi==="max-content"?"auto":"fixed":yi||il||Qr.some(function(Ho){var ci=Ho.ellipsis;return ci})?"fixed":"auto")},[yi,ol,Qr,jt,il]),Nl,jl={colWidths:Qi,columCount:Qr.length,stickyOffsets:Wi,onHeaderRow:rr,fixHeader:yi,scroll:Ut},au=ie.useMemo(function(){return da?null:typeof ma=="function"?ma():ma},[da,ma]),ru=ie.createElement(Dt,{data:wa,measureColumnWidth:yi||gi||il}),Gl=ie.createElement(fn,{colWidths:Qr.map(function(Ho){var ci=Ho.width;return ci}),columns:Qr}),Kl=Kn!=null?ie.createElement("caption",{className:"".concat(Ue,"-caption")},Kn):void 0,pu=(0,et.Z)(ke,{data:!0}),Wl=(0,et.Z)(ke,{aria:!0});if(yi||il){var Vl;typeof Lr=="function"?(Vl=Lr(wa,{scrollbarSize:Bl,ref:lr,onScroll:pl}),jl.colWidths=Qr.map(function(Ho,ci){var tl=Ho.width,dl=ci===Qr.length-1?tl-Bl:tl;return typeof dl=="number"&&!Number.isNaN(dl)?dl:0})):Vl=ie.createElement("div",{style:(0,xe.Z)((0,xe.Z)({},Ui),Ki),onScroll:pl,ref:lr,className:_e()("".concat(Ue,"-body"))},ie.createElement(nu,(0,ze.Z)({style:(0,xe.Z)((0,xe.Z)({},ll),{},{tableLayout:Ol})},Wl),Kl,Gl,ru,!Vi&&di&&ie.createElement(gt,{stickyOffsets:Wi,flattenColumns:Qr,columns:Br},di)));var Ul=(0,xe.Z)((0,xe.Z)((0,xe.Z)({noData:!wa.length,maxContentScroll:gi&&bi==="max-content"},jl),Ji),{},{direction:Kt,stickyClassName:Qo,onScroll:pl});Nl=ie.createElement(ie.Fragment,null,ua!==!1&&ie.createElement(Xt,(0,ze.Z)({},Ul,{stickyTopOffset:Cl,className:"".concat(Ue,"-header"),ref:ri}),Hl),Vl,Vi&&Vi!=="top"&&ie.createElement(Xt,(0,ze.Z)({},Ul,{stickyBottomOffset:Rl,className:"".concat(Ue,"-summary"),ref:ji}),fu),il&&ie.createElement(Ra,{ref:fl,offsetScroll:Po,scrollBodyRef:lr,onScroll:pl,container:ki}))}else Nl=ie.createElement("div",{style:(0,xe.Z)((0,xe.Z)({},Ui),Ki),className:_e()("".concat(Ue,"-content")),onScroll:pl,ref:lr},ie.createElement(nu,(0,ze.Z)({style:(0,xe.Z)((0,xe.Z)({},ll),{},{tableLayout:Ol})},Wl),Kl,Gl,ua!==!1&&ie.createElement(La,(0,ze.Z)({},jl,Ji)),ru,di&&ie.createElement(gt,{stickyOffsets:Wi,flattenColumns:Qr,columns:Br},di)));var Il=ie.createElement("div",(0,ze.Z)({className:_e()(Ue,ot,(pe={},(0,Ee.Z)(pe,"".concat(Ue,"-rtl"),Kt==="rtl"),(0,Ee.Z)(pe,"".concat(Ue,"-ping-left"),ii),(0,Ee.Z)(pe,"".concat(Ue,"-ping-right"),Gi),(0,Ee.Z)(pe,"".concat(Ue,"-layout-fixed"),jt==="fixed"),(0,Ee.Z)(pe,"".concat(Ue,"-fixed-header"),yi),(0,Ee.Z)(pe,"".concat(Ue,"-fixed-column"),ol),(0,Ee.Z)(pe,"".concat(Ue,"-scroll-horizontal"),gi),(0,Ee.Z)(pe,"".concat(Ue,"-has-fix-left"),Qr[0]&&Qr[0].fixed),(0,Ee.Z)(pe,"".concat(Ue,"-has-fix-right"),Qr[Qr.length-1]&&Qr[Qr.length-1].fixed==="right"),pe)),style:Ot,id:Zn,ref:si},pu),En&&ie.createElement(gn,{className:"".concat(Ue,"-title")},En(wa)),ie.createElement("div",{ref:Ri,className:"".concat(Ue,"-container")},Nl),Sn&&ie.createElement(gn,{className:"".concat(Ue,"-footer")},Sn(wa)));gi&&(Il=ie.createElement(Ge.Z,{onResize:eu},Il));var $l=Nn(Qr,Wi,Kt,Br),hu=ie.useMemo(function(){return{scrollX:bi,prefixCls:Ue,getComponent:qa,scrollbarSize:Bl,direction:Kt,fixedInfoList:$l,isSticky:il,supportSticky:_l,componentWidth:Wa,fixHeader:yi,fixColumn:ol,horizonScroll:gi,tableLayout:Ol,rowClassName:lt,expandedRowClassName:vr.expandedRowClassName,expandIcon:ko,expandableType:ei,expandRowByClick:vr.expandRowByClick,expandedRowRender:vr.expandedRowRender,onTriggerExpand:fi,expandIconColumnIndex:vr.expandIconColumnIndex,indentSize:vr.indentSize,allColumnsFixedLeft:Qr.every(function(Ho){return Ho.fixed==="left"}),emptyNode:au,columns:Br,flattenColumns:Qr,onColumnResize:Tl,hoverStartRow:Wr,hoverEndRow:Jr,onHover:Vr,rowExpandable:vr.rowExpandable,onRow:Ya,getRowKey:Gr,expandedKeys:cr,childrenColumnName:Ao}},[bi,Ue,qa,Bl,Kt,$l,il,_l,Wa,yi,ol,gi,Ol,lt,vr.expandedRowClassName,ko,ei,vr.expandRowByClick,vr.expandedRowRender,fi,vr.expandIconColumnIndex,vr.indentSize,au,Br,Qr,Tl,Wr,Jr,Vr,vr.rowExpandable,Ya,Gr,cr,Ao]);return ie.createElement(ae.Provider,{value:hu},Il)}function jr(ce){return x(pa,ce)}var Ir=jr();Ir.EXPAND_COLUMN=z,Ir.INTERNAL_HOOKS=se,Ir.Column=io,Ir.ColumnGroup=no,Ir.Summary=Oe;var br=Ir,po=te(48911),Lo=je(null),Oi=je(null);function vi(ce,pe,ke){var Ue=pe||1;return ke[ce+Ue]-(ke[ce]||0)}function Ei(ce){var pe=ce.rowInfo,ke=ce.column,Ue=ce.colIndex,ot=ce.indent,lt=ce.index,Ot=ce.renderIndex,Lt=ce.record,Bt=ce.style,Ut=ce.className,jt=ce.inverse,Kt=ce.getHeight,En=ke.render,Sn=ke.dataIndex,wn=ke.className,Kn=ke.width,Zn=Ze(Oi,["columnsOffset"]),ua=Zn.columnsOffset,ta=He(pe,ke,Ue,ot,lt),ma=ta.key,Ya=ta.fixedInfo,rr=ta.appendCellNode,ka=ta.additionalCellProps,Ja=ka.style,Dr=ka.colSpan,Sa=Dr===void 0?1:Dr,_a=ka.rowSpan,wa=_a===void 0?1:_a,da=Ue-1,fa=vi(da,Sa,ua),qa=Sa>1?Kn-fa:0,Gr=(0,xe.Z)((0,xe.Z)((0,xe.Z)({},Ja),Bt),{},{flex:"0 0 ".concat(fa,"px"),width:"".concat(fa,"px"),marginRight:qa,pointerEvents:"auto"}),Lr=ie.useMemo(function(){return jt?wa<=1:Sa===0||wa===0||wa>1},[wa,Sa,jt]);Lr?Gr.visibility="hidden":jt&&(Gr.height=Kt==null?void 0:Kt(wa));var Ka=Lr?function(){return null}:En,zr={};return(wa===0||Sa===0)&&(zr.rowSpan=1,zr.colSpan=1),ie.createElement(sn,(0,ze.Z)({className:_e()(wn,Ut),ellipsis:ke.ellipsis,align:ke.align,scope:ke.rowScope,component:"div",prefixCls:pe.prefixCls,key:ma,record:Lt,index:lt,renderIndex:Ot,dataIndex:Sn,render:Ka,shouldCellUpdate:ke.shouldCellUpdate},Ya,{appendNode:rr,additionalProps:(0,xe.Z)((0,xe.Z)({},ka),{},{style:Gr},zr)}))}var $i=Ei,zn=["data","index","className","rowKey","style","extra","getHeight"],Ia=ie.forwardRef(function(ce,pe){var ke=ce.data,Ue=ce.index,ot=ce.className,lt=ce.rowKey,Ot=ce.style,Lt=ce.extra,Bt=ce.getHeight,Ut=(0,Jn.Z)(ce,zn),jt=ke.record,Kt=ke.indent,En=ke.index,Sn=Ze(ae,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),wn=Sn.scrollX,Kn=Sn.flattenColumns,Zn=Sn.prefixCls,ua=Sn.fixColumn,ta=Sn.componentWidth,ma=Ae(jt,lt,Ue,Kt),Ya=ma.rowSupportExpand,rr=ma.expanded,ka=ma.rowProps,Ja=ma.expandedRowRender,Dr=ma.expandedRowClassName,Sa;if(Ya&&rr){var _a=Ja(jt,Ue,Kt+1,rr),wa=Dr==null?void 0:Dr(jt,Ue,Kt),da={};ua&&(da={style:(0,Ee.Z)({},"--virtual-width","".concat(ta,"px"))});var fa="".concat(Zn,"-expanded-row-cell");Sa=ie.createElement("div",{className:_e()("".concat(Zn,"-expanded-row"),"".concat(Zn,"-expanded-row-level-").concat(Kt+1),wa)},ie.createElement(sn,{component:"div",prefixCls:Zn,className:_e()(fa,(0,Ee.Z)({},"".concat(fa,"-fixed"),ua)),additionalProps:da},_a))}var qa=(0,xe.Z)((0,xe.Z)({},Ot),{},{width:wn});Lt&&(qa.position="absolute",qa.pointerEvents="none");var Gr=ie.createElement("div",(0,ze.Z)({},ka,Ut,{ref:Ya?null:pe,className:_e()(ot,"".concat(Zn,"-row"),ka==null?void 0:ka.className,(0,Ee.Z)({},"".concat(Zn,"-row-extra"),Lt)),style:(0,xe.Z)((0,xe.Z)({},qa),ka==null?void 0:ka.style)}),Kn.map(function(Lr,Ka){return ie.createElement($i,{key:Ka,rowInfo:ma,column:Lr,colIndex:Ka,indent:Kt,index:Ue,renderIndex:En,record:jt,inverse:Lt,getHeight:Bt})}));return Ya?ie.createElement("div",{ref:pe},Gr,Sa):Gr}),co=ee(Ia),xo=co,wo=ie.forwardRef(function(ce,pe){var ke=ce.data,Ue=ce.onScroll,ot=Ze(ae,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),lt=ot.flattenColumns,Ot=ot.onColumnResize,Lt=ot.getRowKey,Bt=ot.expandedKeys,Ut=ot.prefixCls,jt=ot.childrenColumnName,Kt=ot.emptyNode,En=ot.scrollX,Sn=Ze(Lo),wn=Sn.scrollY,Kn=Sn.listItemHeight,Zn=ie.useRef(),ua=Se(ke,jt,Bt,Lt),ta=ie.useMemo(function(){var Sa=0;return lt.map(function(_a){var wa=_a.width,da=_a.key;return Sa+=wa,[da,wa,Sa]})},[lt]),ma=ie.useMemo(function(){return ta.map(function(Sa){return Sa[2]})},[ta]);ie.useEffect(function(){ta.forEach(function(Sa){var _a=(0,he.Z)(Sa,2),wa=_a[0],da=_a[1];Ot(wa,da)})},[ta]),ie.useImperativeHandle(pe,function(){var Sa={};return Object.defineProperty(Sa,"scrollLeft",{get:function(){var wa;return((wa=Zn.current)===null||wa===void 0?void 0:wa.getScrollInfo().x)||0},set:function(wa){var da;(da=Zn.current)===null||da===void 0||da.scrollTo({left:wa})}}),Sa});var Ya=function(_a,wa){var da,fa=(da=ua[wa])===null||da===void 0?void 0:da.record,qa=_a.onCell;if(qa){var Gr,Lr=qa(fa,wa);return(Gr=Lr==null?void 0:Lr.rowSpan)!==null&&Gr!==void 0?Gr:1}return 1},rr=function(_a){var wa=_a.start,da=_a.end,fa=_a.getSize,qa=_a.offsetY;if(da<0)return null;for(var Gr=lt.filter(function(gr){return Ya(gr,wa)===0}),Lr=wa,Ka=function(or){if(Gr=Gr.filter(function(ir){return Ya(ir,or)===0}),!Gr.length)return Lr=or,"break"},zr=wa;zr>=0;zr-=1){var Wr=Ka(zr);if(Wr==="break")break}for(var Jr=lt.filter(function(gr){return Ya(gr,da)!==1}),Vr=da,Vo=function(or){if(Jr=Jr.filter(function(ir){return Ya(ir,or)!==1}),!Jr.length)return Vr=Math.max(or-1,da),"break"},lo=da;lo<ua.length;lo+=1){var vr=Vo(lo);if(vr==="break")break}for(var ei=[],cr=function(or){var ir=ua[or];if(!ir)return"continue";lt.some(function(Wa){return Ya(Wa,or)>1})&&ei.push(or)},ko=Lr;ko<=Vr;ko+=1)var Ao=cr(ko);var fi=ei.map(function(gr){var or=ua[gr],ir=Lt(or.record,gr),Wa=function(va){var Br=gr+va-1,Qr=Lt(ua[Br].record,Br),Ni=fa(ir,Qr);return Ni.bottom-Ni.top},Na=fa(ir);return ie.createElement(xo,{key:gr,data:or,rowKey:ir,index:gr,style:{top:-qa+Na.top},extra:!0,getHeight:Wa})});return fi},ka=ie.useMemo(function(){return{columnsOffset:ma}},[ma]),Ja="".concat(Ut,"-tbody"),Dr;return ua.length?Dr=ie.createElement(po.Z,{fullHeight:!1,ref:Zn,className:_e()(Ja,"".concat(Ja,"-virtual")),height:wn,itemHeight:Kn||24,data:ua,itemKey:function(_a){return Lt(_a.record)},scrollWidth:En,onVirtualScroll:function(_a){var wa=_a.x;Ue({scrollLeft:wa})},extraRender:rr},function(Sa,_a,wa){var da=Lt(Sa.record,_a);return ie.createElement(xo,(0,ze.Z)({data:Sa,rowKey:da,index:_a},wa))}):Dr=ie.createElement("div",{className:_e()("".concat(Ut,"-placeholder"))},ie.createElement(sn,{component:"div",prefixCls:Ut},Kt)),ie.createElement(Oi.Provider,{value:ka},Dr)}),ui=ee(wo),Bi=ui,Yi=function(pe,ke){var Ue=ke.ref,ot=ke.onScroll;return ie.createElement(Bi,{ref:Ue,data:pe,onScroll:ot})},Mi=100;function Ce(ce){var pe=ce.columns,ke=ce.scroll,Ue=ce.prefixCls,ot=Ue===void 0?Mo:Ue,lt=ce.className,Ot=ce.listItemHeight,Lt=ke||{},Bt=Lt.x,Ut=Lt.y;typeof Bt!="number"&&(Bt=((pe||[]).length+1)*Mi),typeof Ut!="number"&&(Ut=500);var jt=ie.useMemo(function(){return{scrollY:Ut,listItemHeight:Ot}},[Ut,Ot]);return ie.createElement(Lo.Provider,{value:jt},ie.createElement(br,(0,ze.Z)({},ce,{className:_e()(lt,"".concat(ot,"-virtual")),scroll:(0,xe.Z)((0,xe.Z)({},ke),{},{x:Bt}),components:{body:Yi},columns:pe,internalHooks:se,tailor:!0})))}function Te(ce){return x(Ce,ce)}var Qe=Te(),Et=null;function Yt(ce){return null}var Jt=Yt;function bn(ce){return null}var Fn=bn,Yn=te(2738),Pa=te(68031),Ca=te(36355),ga=te(93891),Or=te(19716),Mr=te(8628),Ro=te(31724),Ur=te(58421),la=te(71418),$n=te(88088);function oa(ce){return function(ke){let{prefixCls:Ue,onExpand:ot,record:lt,expanded:Ot,expandable:Lt}=ke;const Bt=`${Ue}-row-expand-icon`;return ie.createElement("button",{type:"button",onClick:Ut=>{ot(lt,Ut),Ut.stopPropagation()},className:_e()(Bt,{[`${Bt}-spaced`]:!Lt,[`${Bt}-expanded`]:Lt&&Ot,[`${Bt}-collapsed`]:Lt&&!Ot}),"aria-label":Ot?ce.collapse:ce.expand,"aria-expanded":Ot})}}var ra=oa;function Nr(ce,pe){return"key"in ce&&ce.key!==void 0&&ce.key!==null?ce.key:ce.dataIndex?Array.isArray(ce.dataIndex)?ce.dataIndex.join("."):ce.dataIndex:pe}function Zr(ce,pe){return pe?`${pe}-${ce}`:`${ce}`}function hr(ce,pe){return typeof ce=="function"?ce(pe):ce}function xr(ce,pe){const ke=hr(ce,pe);return Object.prototype.toString.call(ke)==="[object Object]"?"":ke}var kr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},ho=kr,ti=te(7657),yo=function(pe,ke){return ie.createElement(ti.Z,(0,ze.Z)({},pe,{ref:ke,icon:ho}))},Rr=ie.forwardRef(yo),ro=Rr,Fo=te(56762);function vo(ce){const pe=ie.useRef(ce),ke=(0,Fo.Z)();return[()=>pe.current,Ue=>{pe.current=Ue,ke()}]}var Eo=te(3113),sa=te(24905),jo=te(38854),wi=te(64165),Zi=te(20834),nl=te(40875),Xi=te(5112),zi=te(17574),Fi=te(47472),ul=te(92832);function _i(ce){let{value:pe,onChange:ke,filterSearch:Ue,tablePrefixCls:ot,locale:lt}=ce;return Ue?ie.createElement("div",{className:`${ot}-filter-dropdown-search`},ie.createElement(ul.default,{prefix:ie.createElement(Fi.Z,null),placeholder:lt.filterSearchPlaceholder,onChange:ke,value:pe,htmlSize:1,className:`${ot}-filter-dropdown-search-input`})):null}var rl=_i,Vt=te(10228);const _t=ce=>{const{keyCode:pe}=ce;pe===Vt.Z.ENTER&&ce.stopPropagation()};var ba=ie.forwardRef((ce,pe)=>ie.createElement("div",{className:ce.className,onClick:ke=>ke.stopPropagation(),onKeyDown:_t,ref:pe},ce.children));function Va(ce){let pe=[];return(ce||[]).forEach(ke=>{let{value:Ue,children:ot}=ke;pe.push(Ue),ot&&(pe=[].concat((0,an.Z)(pe),(0,an.Z)(Va(ot))))}),pe}function Fa(ce){return ce.some(pe=>{let{children:ke}=pe;return ke})}function In(ce,pe){return typeof pe=="string"||typeof pe=="number"?pe==null?void 0:pe.toString().toLowerCase().includes(ce.trim().toLowerCase()):!1}function Ua(ce){let{filters:pe,prefixCls:ke,filteredKeys:Ue,filterMultiple:ot,searchValue:lt,filterSearch:Ot}=ce;return pe.map((Lt,Bt)=>{const Ut=String(Lt.value);if(Lt.children)return{key:Ut||Bt,label:Lt.text,popupClassName:`${ke}-dropdown-submenu`,children:Ua({filters:Lt.children,prefixCls:ke,filteredKeys:Ue,filterMultiple:ot,searchValue:lt,filterSearch:Ot})};const jt=ot?sa.default:Xi.ZP,Kt={key:Lt.value!==void 0?Ut:Bt,label:ie.createElement(ie.Fragment,null,ie.createElement(jt,{checked:Ue.includes(Ut)}),ie.createElement("span",null,Lt.text))};return lt.trim()?typeof Ot=="function"?Ot(lt,Lt)?Kt:null:In(lt,Lt.text)?Kt:null:Kt})}function hn(ce){var pe,ke;const{tablePrefixCls:Ue,prefixCls:ot,column:lt,dropdownPrefixCls:Ot,columnKey:Lt,filterMultiple:Bt,filterMode:Ut="menu",filterSearch:jt=!1,filterState:Kt,triggerFilter:En,locale:Sn,children:wn,getPopupContainer:Kn}=ce,{filterDropdownOpen:Zn,onFilterDropdownOpenChange:ua,filterResetToDefaultFilteredValue:ta,defaultFilteredValue:ma,filterDropdownVisible:Ya,onFilterDropdownVisibleChange:rr}=lt,[ka,Ja]=ie.useState(!1),Dr=!!(Kt&&(!((pe=Kt.filteredKeys)===null||pe===void 0)&&pe.length||Kt.forceFiltered)),Sa=Bn=>{Ja(Bn),ua==null||ua(Bn),rr==null||rr(Bn)},_a=(ke=Zn!=null?Zn:Ya)!==null&&ke!==void 0?ke:ka,wa=Kt==null?void 0:Kt.filteredKeys,[da,fa]=vo(wa||[]),qa=Bn=>{let{selectedKeys:va}=Bn;fa(va)},Gr=(Bn,va)=>{let{node:Br,checked:Qr}=va;qa(Bt?{selectedKeys:Bn}:{selectedKeys:Qr&&Br.key?[Br.key]:[]})};ie.useEffect(()=>{ka&&qa({selectedKeys:wa||[]})},[wa]);const[Lr,Ka]=ie.useState([]),zr=Bn=>{Ka(Bn)},[Wr,Jr]=ie.useState(""),Vr=Bn=>{const{value:va}=Bn.target;Jr(va)};ie.useEffect(()=>{ka||Jr("")},[ka]);const Vo=Bn=>{const va=Bn&&Bn.length?Bn:null;if(va===null&&(!Kt||!Kt.filteredKeys)||(0,Ne.Z)(va,Kt==null?void 0:Kt.filteredKeys,!0))return null;En({column:lt,key:Lt,filteredKeys:va})},lo=()=>{Sa(!1),Vo(da())},vr=function(){let{confirm:Bn,closeDropdown:va}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Bn&&Vo([]),va&&Sa(!1),Jr(""),fa(ta?(ma||[]).map(Br=>String(Br)):[])},ei=function(){let{closeDropdown:Bn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Bn&&Sa(!1),Vo(da())},cr=Bn=>{Bn&&wa!==void 0&&fa(wa||[]),Sa(Bn),!Bn&&!lt.filterDropdown&&lo()},ko=_e()({[`${Ot}-menu-without-submenu`]:!Fa(lt.filters||[])}),Ao=Bn=>{if(Bn.target.checked){const va=Va(lt==null?void 0:lt.filters).map(Br=>String(Br));fa(va)}else fa([])},fi=Bn=>{let{filters:va}=Bn;return(va||[]).map((Br,Qr)=>{const Ni=String(Br.value),bi={title:Br.text,key:Br.value!==void 0?Ni:Qr};return Br.children&&(bi.children=fi({filters:Br.children})),bi})},gr=Bn=>{var va;return Object.assign(Object.assign({},Bn),{text:Bn.title,value:Bn.key,children:((va=Bn.children)===null||va===void 0?void 0:va.map(Br=>gr(Br)))||[]})};let or;if(typeof lt.filterDropdown=="function")or=lt.filterDropdown({prefixCls:`${Ot}-custom`,setSelectedKeys:Bn=>qa({selectedKeys:Bn}),selectedKeys:da(),confirm:ei,clearFilters:vr,filters:lt.filters,visible:_a,close:()=>{Sa(!1)}});else if(lt.filterDropdown)or=lt.filterDropdown;else{const Bn=da()||[],va=()=>(lt.filters||[]).length===0?ie.createElement(wi.Z,{image:wi.Z.PRESENTED_IMAGE_SIMPLE,description:Sn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Ut==="tree"?ie.createElement(ie.Fragment,null,ie.createElement(rl,{filterSearch:jt,value:Wr,onChange:Vr,tablePrefixCls:Ue,locale:Sn}),ie.createElement("div",{className:`${Ue}-filter-dropdown-tree`},Bt?ie.createElement(sa.default,{checked:Bn.length===Va(lt.filters).length,indeterminate:Bn.length>0&&Bn.length<Va(lt.filters).length,className:`${Ue}-filter-dropdown-checkall`,onChange:Ao},Sn.filterCheckall):null,ie.createElement(zi.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Bt,checkStrictly:!Bt,className:`${Ot}-menu`,onCheck:Gr,checkedKeys:Bn,selectedKeys:Bn,showIcon:!1,treeData:fi({filters:lt.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Wr.trim()?Qr=>typeof jt=="function"?jt(Wr,gr(Qr)):In(Wr,Qr.title):void 0}))):ie.createElement(ie.Fragment,null,ie.createElement(rl,{filterSearch:jt,value:Wr,onChange:Vr,tablePrefixCls:Ue,locale:Sn}),ie.createElement(Zi.default,{selectable:!0,multiple:Bt,prefixCls:`${Ot}-menu`,className:ko,onSelect:qa,onDeselect:qa,selectedKeys:Bn,getPopupContainer:Kn,openKeys:Lr,onOpenChange:zr,items:Ua({filters:lt.filters||[],filterSearch:jt,prefixCls:ot,filteredKeys:da(),filterMultiple:Bt,searchValue:Wr})})),Br=()=>ta?(0,Ne.Z)((ma||[]).map(Qr=>String(Qr)),Bn,!0):Bn.length===0;or=ie.createElement(ie.Fragment,null,va(),ie.createElement("div",{className:`${ot}-dropdown-btns`},ie.createElement(Eo.ZP,{type:"link",size:"small",disabled:Br(),onClick:()=>vr()},Sn.filterReset),ie.createElement(Eo.ZP,{type:"primary",size:"small",onClick:lo},Sn.filterConfirm)))}lt.filterDropdown&&(or=ie.createElement(nl.J,{selectable:void 0},or));const ir=()=>ie.createElement(ba,{className:`${ot}-dropdown`},or);let Wa;typeof lt.filterIcon=="function"?Wa=lt.filterIcon(Dr):lt.filterIcon?Wa=lt.filterIcon:Wa=ie.createElement(ro,null);const{direction:Na}=ie.useContext(Ca.E_);return ie.createElement("div",{className:`${ot}-column`},ie.createElement("span",{className:`${Ue}-column-title`},wn),ie.createElement(jo.Z,{dropdownRender:ir,trigger:["click"],open:_a,onOpenChange:cr,getPopupContainer:Kn,placement:Na==="rtl"?"bottomLeft":"bottomRight"},ie.createElement("span",{role:"button",tabIndex:-1,className:_e()(`${ot}-trigger`,{active:Dr}),onClick:Bn=>{Bn.stopPropagation()}},Wa)))}var Za=hn;function Da(ce,pe,ke){let Ue=[];return(ce||[]).forEach((ot,lt)=>{var Ot;const Lt=Zr(lt,ke);if(ot.filters||"filterDropdown"in ot||"onFilter"in ot)if("filteredValue"in ot){let Bt=ot.filteredValue;"filterDropdown"in ot||(Bt=(Ot=Bt==null?void 0:Bt.map(String))!==null&&Ot!==void 0?Ot:Bt),Ue.push({column:ot,key:Nr(ot,Lt),filteredKeys:Bt,forceFiltered:ot.filtered})}else Ue.push({column:ot,key:Nr(ot,Lt),filteredKeys:pe&&ot.defaultFilteredValue?ot.defaultFilteredValue:void 0,forceFiltered:ot.filtered});"children"in ot&&(Ue=[].concat((0,an.Z)(Ue),(0,an.Z)(Da(ot.children,pe,Lt))))}),Ue}function Io(ce,pe,ke,Ue,ot,lt,Ot,Lt){return ke.map((Bt,Ut)=>{const jt=Zr(Ut,Lt),{filterMultiple:Kt=!0,filterMode:En,filterSearch:Sn}=Bt;let wn=Bt;if(wn.filters||wn.filterDropdown){const Kn=Nr(wn,jt),Zn=Ue.find(ua=>{let{key:ta}=ua;return Kn===ta});wn=Object.assign(Object.assign({},wn),{title:ua=>ie.createElement(Za,{tablePrefixCls:ce,prefixCls:`${ce}-filter`,dropdownPrefixCls:pe,column:wn,columnKey:Kn,filterState:Zn,filterMultiple:Kt,filterMode:En,filterSearch:Sn,triggerFilter:lt,locale:ot,getPopupContainer:Ot},hr(Bt.title,ua))})}return"children"in wn&&(wn=Object.assign(Object.assign({},wn),{children:Io(ce,pe,wn.children,Ue,ot,lt,Ot,jt)})),wn})}function Ma(ce){const pe={};return ce.forEach(ke=>{let{key:Ue,filteredKeys:ot,column:lt}=ke;const{filters:Ot,filterDropdown:Lt}=lt;if(Lt)pe[Ue]=ot||null;else if(Array.isArray(ot)){const Bt=Va(Ot);pe[Ue]=Bt.filter(Ut=>ot.includes(String(Ut)))}else pe[Ue]=null}),pe}function $o(ce,pe){return pe.reduce((ke,Ue)=>{const{column:{onFilter:ot,filters:lt},filteredKeys:Ot}=Ue;return ot&&Ot&&Ot.length?ke.filter(Lt=>Ot.some(Bt=>{const Ut=Va(lt),jt=Ut.findIndex(En=>String(En)===String(Bt)),Kt=jt!==-1?Ut[jt]:Bt;return ot(Kt,Lt)})):ke},ce)}const Si=ce=>ce.flatMap(pe=>"children"in pe?[pe].concat((0,an.Z)(Si(pe.children||[]))):[pe]);function Ko(ce){let{prefixCls:pe,dropdownPrefixCls:ke,mergedColumns:Ue,onFilterChange:ot,getPopupContainer:lt,locale:Ot}=ce;const Lt=ie.useMemo(()=>Si(Ue||[]),[Ue]),[Bt,Ut]=ie.useState(()=>Da(Lt,!0)),jt=ie.useMemo(()=>{const wn=Da(Lt,!1);if(wn.length===0)return wn;let Kn=!0,Zn=!0;if(wn.forEach(ua=>{let{filteredKeys:ta}=ua;ta!==void 0?Kn=!1:Zn=!1}),Kn){const ua=(Lt||[]).map((ta,ma)=>Nr(ta,Zr(ma)));return Bt.filter(ta=>{let{key:ma}=ta;return ua.includes(ma)}).map(ta=>{const ma=Lt[ua.findIndex(Ya=>Ya===ta.key)];return Object.assign(Object.assign({},ta),{column:Object.assign(Object.assign({},ta.column),ma),forceFiltered:ma.filtered})})}return wn},[Lt,Bt]),Kt=ie.useMemo(()=>Ma(jt),[jt]),En=wn=>{const Kn=jt.filter(Zn=>{let{key:ua}=Zn;return ua!==wn.key});Kn.push(wn),Ut(Kn),ot(Ma(Kn),Kn)};return[wn=>Io(pe,ke,wn,jt,Ot,En,lt),jt,Kt]}var Sr=Ko;function Pr(ce,pe,ke){const Ue=ie.useRef({});function ot(lt){if(!Ue.current||Ue.current.data!==ce||Ue.current.childrenColumnName!==pe||Ue.current.getRowKey!==ke){let Lt=function(Bt){Bt.forEach((Ut,jt)=>{const Kt=ke(Ut,jt);Ot.set(Kt,Ut),Ut&&typeof Ut=="object"&&pe in Ut&&Lt(Ut[pe]||[])})};const Ot=new Map;Lt(ce),Ue.current={data:ce,childrenColumnName:pe,kvMap:Ot,getRowKey:ke}}return Ue.current.kvMap.get(lt)}return[ot]}var Qn=te(50371),ao=function(ce,pe){var ke={};for(var Ue in ce)Object.prototype.hasOwnProperty.call(ce,Ue)&&pe.indexOf(Ue)<0&&(ke[Ue]=ce[Ue]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Ue=Object.getOwnPropertySymbols(ce);ot<Ue.length;ot++)pe.indexOf(Ue[ot])<0&&Object.prototype.propertyIsEnumerable.call(ce,Ue[ot])&&(ke[Ue[ot]]=ce[Ue[ot]]);return ke};const oi=10;function ha(ce,pe){const ke={current:ce.current,pageSize:ce.pageSize};return Object.keys(pe&&typeof pe=="object"?pe:{}).forEach(ot=>{const lt=ce[ot];typeof lt!="function"&&(ke[ot]=lt)}),ke}function ca(ce,pe,ke){const Ue=ke&&typeof ke=="object"?ke:{},{total:ot=0}=Ue,lt=ao(Ue,["total"]),[Ot,Lt]=(0,ie.useState)(()=>({current:"defaultCurrent"in lt?lt.defaultCurrent:1,pageSize:"defaultPageSize"in lt?lt.defaultPageSize:oi})),Bt=(0,Qn.Z)(Ot,lt,{total:ot>0?ot:ce}),Ut=Math.ceil((ot||ce)/Bt.pageSize);Bt.current>Ut&&(Bt.current=Ut||1);const jt=(En,Sn)=>{Lt({current:En!=null?En:1,pageSize:Sn||Bt.pageSize})},Kt=(En,Sn)=>{var wn;ke&&((wn=ke.onChange)===null||wn===void 0||wn.call(ke,En,Sn)),jt(En,Sn),pe(En,Sn||(Bt==null?void 0:Bt.pageSize))};return ke===!1?[{},()=>{}]:[Object.assign(Object.assign({},Bt),{onChange:Kt}),jt]}var eo=ca,Ai=te(84105),Tn=te(35654),tr=te(90782),aa=te(71430),nn=te(18929);const Wn={},Cn="SELECT_ALL",$r="SELECT_INVERT",mr="SELECT_NONE",Tr=[],Jo=(ce,pe)=>{let ke=[];return(pe||[]).forEach(Ue=>{ke.push(Ue),Ue&&typeof Ue=="object"&&ce in Ue&&(ke=[].concat((0,an.Z)(ke),(0,an.Z)(Jo(ce,Ue[ce]))))}),ke};var So=(ce,pe)=>{const{preserveSelectedRowKeys:ke,selectedRowKeys:Ue,defaultSelectedRowKeys:ot,getCheckboxProps:lt,onChange:Ot,onSelect:Lt,onSelectAll:Bt,onSelectInvert:Ut,onSelectNone:jt,onSelectMultiple:Kt,columnWidth:En,type:Sn,selections:wn,fixed:Kn,renderCell:Zn,hideSelectAll:ua,checkStrictly:ta=!0}=pe||{},{prefixCls:ma,data:Ya,pageData:rr,getRecordByKey:ka,getRowKey:Ja,expandType:Dr,childrenColumnName:Sa,locale:_a,getPopupContainer:wa}=ce,[da,fa]=(0,nn.Z)(Ue||ot||Tr,{value:Ue}),qa=ie.useRef(new Map),Gr=(0,ie.useCallback)(gr=>{if(ke){const or=new Map;gr.forEach(ir=>{let Wa=ka(ir);!Wa&&qa.current.has(ir)&&(Wa=qa.current.get(ir)),or.set(ir,Wa)}),qa.current=or}},[ka,ke]);ie.useEffect(()=>{Gr(da)},[da]);const{keyEntities:Lr}=(0,ie.useMemo)(()=>{if(ta)return{keyEntities:null};let gr=Ya;if(ke){const or=new Set(Ya.map((Wa,Na)=>Ja(Wa,Na))),ir=Array.from(qa.current).reduce((Wa,Na)=>{let[Bn,va]=Na;return or.has(Bn)?Wa:Wa.concat(va)},[]);gr=[].concat((0,an.Z)(gr),(0,an.Z)(ir))}return(0,aa.I8)(gr,{externalGetKey:Ja,childrenPropName:Sa})},[Ya,Ja,ta,Sa,ke]),Ka=(0,ie.useMemo)(()=>Jo(Sa,rr),[Sa,rr]),zr=(0,ie.useMemo)(()=>{const gr=new Map;return Ka.forEach((or,ir)=>{const Wa=Ja(or,ir),Na=(lt?lt(or):null)||{};gr.set(Wa,Na)}),gr},[Ka,Ja,lt]),Wr=(0,ie.useCallback)(gr=>{var or;return!!(!((or=zr.get(Ja(gr)))===null||or===void 0)&&or.disabled)},[zr,Ja]),[Jr,Vr]=(0,ie.useMemo)(()=>{if(ta)return[da||[],[]];const{checkedKeys:gr,halfCheckedKeys:or}=(0,tr.S)(da,!0,Lr,Wr);return[gr||[],or]},[da,ta,Lr,Wr]),Vo=(0,ie.useMemo)(()=>{const gr=Sn==="radio"?Jr.slice(0,1):Jr;return new Set(gr)},[Jr,Sn]),lo=(0,ie.useMemo)(()=>Sn==="radio"?new Set:new Set(Vr),[Vr,Sn]),[vr,ei]=(0,ie.useState)(null);ie.useEffect(()=>{pe||fa(Tr)},[!!pe]);const cr=(0,ie.useCallback)((gr,or)=>{let ir,Wa;Gr(gr),ke?(ir=gr,Wa=gr.map(Na=>qa.current.get(Na))):(ir=[],Wa=[],gr.forEach(Na=>{const Bn=ka(Na);Bn!==void 0&&(ir.push(Na),Wa.push(Bn))})),fa(ir),Ot==null||Ot(ir,Wa,{type:or})},[fa,ka,Ot,ke]),ko=(0,ie.useCallback)((gr,or,ir,Wa)=>{if(Lt){const Na=ir.map(Bn=>ka(Bn));Lt(ka(gr),or,Na,Wa)}cr(ir,"single")},[Lt,ka,cr]),Ao=(0,ie.useMemo)(()=>!wn||ua?null:(wn===!0?[Cn,$r,mr]:wn).map(or=>or===Cn?{key:"all",text:_a.selectionAll,onSelect(){cr(Ya.map((ir,Wa)=>Ja(ir,Wa)).filter(ir=>{const Wa=zr.get(ir);return!(Wa!=null&&Wa.disabled)||Vo.has(ir)}),"all")}}:or===$r?{key:"invert",text:_a.selectInvert,onSelect(){const ir=new Set(Vo);rr.forEach((Na,Bn)=>{const va=Ja(Na,Bn),Br=zr.get(va);Br!=null&&Br.disabled||(ir.has(va)?ir.delete(va):ir.add(va))});const Wa=Array.from(ir);Ut&&Ut(Wa),cr(Wa,"invert")}}:or===mr?{key:"none",text:_a.selectNone,onSelect(){jt==null||jt(),cr(Array.from(Vo).filter(ir=>{const Wa=zr.get(ir);return Wa==null?void 0:Wa.disabled}),"none")}}:or).map(or=>Object.assign(Object.assign({},or),{onSelect:function(){for(var ir,Wa,Na=arguments.length,Bn=new Array(Na),va=0;va<Na;va++)Bn[va]=arguments[va];(Wa=or.onSelect)===null||Wa===void 0||(ir=Wa).call.apply(ir,[or].concat(Bn)),ei(null)}})),[wn,Vo,rr,Ja,Ut,cr]);return[(0,ie.useCallback)(gr=>{var or;if(!pe)return gr.filter(No=>No!==Wn);let ir=(0,an.Z)(gr);const Wa=new Set(Vo),Na=Ka.map(Ja).filter(No=>!zr.get(No).disabled),Bn=Na.every(No=>Wa.has(No)),va=Na.some(No=>Wa.has(No)),Br=()=>{const No=[];Bn?Na.forEach(ii=>{Wa.delete(ii),No.push(ii)}):Na.forEach(ii=>{Wa.has(ii)||(Wa.add(ii),No.push(ii))});const Zo=Array.from(Wa);Bt==null||Bt(!Bn,Zo.map(ii=>ka(ii)),No.map(ii=>ka(ii))),cr(Zo,"all"),ei(null)};let Qr;if(Sn!=="radio"){let No;if(Ao){const uo={getPopupContainer:wa,items:Ao.map((Gi,Ii)=>{const{key:zo,text:pr,onSelect:hi}=Gi;return{key:zo!=null?zo:Ii,onClick:()=>{hi==null||hi(Na)},label:pr}})};No=ie.createElement("div",{className:`${ma}-selection-extra`},ie.createElement(jo.Z,{menu:uo,getPopupContainer:wa},ie.createElement("span",null,ie.createElement(Ai.Z,null))))}const Zo=Ka.map((uo,Gi)=>{const Ii=Ja(uo,Gi),zo=zr.get(Ii)||{};return Object.assign({checked:Wa.has(Ii)},zo)}).filter(uo=>{let{disabled:Gi}=uo;return Gi}),ii=!!Zo.length&&Zo.length===Ka.length,Pi=ii&&Zo.every(uo=>{let{checked:Gi}=uo;return Gi}),pi=ii&&Zo.some(uo=>{let{checked:Gi}=uo;return Gi});Qr=!ua&&ie.createElement("div",{className:`${ma}-selection`},ie.createElement(sa.default,{checked:ii?Pi:!!Ka.length&&Bn,indeterminate:ii?!Pi&&pi:!Bn&&va,onChange:Br,disabled:Ka.length===0||ii,"aria-label":No?"Custom selection":"Select all",skipGroup:!0}),No)}let Ni;Sn==="radio"?Ni=(No,Zo,ii)=>{const Pi=Ja(Zo,ii),pi=Wa.has(Pi);return{node:ie.createElement(Xi.ZP,Object.assign({},zr.get(Pi),{checked:pi,onClick:uo=>uo.stopPropagation(),onChange:uo=>{Wa.has(Pi)||ko(Pi,!0,[Pi],uo.nativeEvent)}})),checked:pi}}:Ni=(No,Zo,ii)=>{var Pi;const pi=Ja(Zo,ii),uo=Wa.has(pi),Gi=lo.has(pi),Ii=zr.get(pi);let zo;return Dr==="nest"?zo=Gi:zo=(Pi=Ii==null?void 0:Ii.indeterminate)!==null&&Pi!==void 0?Pi:Gi,{node:ie.createElement(sa.default,Object.assign({},Ii,{indeterminate:zo,checked:uo,skipGroup:!0,onClick:pr=>pr.stopPropagation(),onChange:pr=>{let{nativeEvent:hi}=pr;const{shiftKey:Ti}=hi;let sl=-1,el=-1;if(Ti&&ta){const Qi=new Set([vr,pi]);Na.some((Wi,yi)=>{if(Qi.has(Wi))if(sl===-1)sl=yi;else return el=yi,!0;return!1})}if(el!==-1&&sl!==el&&ta){const Qi=Na.slice(sl,el+1),Wi=[];uo?Qi.forEach(gi=>{Wa.has(gi)&&(Wi.push(gi),Wa.delete(gi))}):Qi.forEach(gi=>{Wa.has(gi)||(Wi.push(gi),Wa.add(gi))});const yi=Array.from(Wa);Kt==null||Kt(!uo,yi.map(gi=>ka(gi)),Wi.map(gi=>ka(gi))),cr(yi,"multiple")}else{const Qi=Jr;if(ta){const Wi=uo?(0,Tn._5)(Qi,pi):(0,Tn.L0)(Qi,pi);ko(pi,!uo,Wi,hi)}else{const Wi=(0,tr.S)([].concat((0,an.Z)(Qi),[pi]),!0,Lr,Wr),{checkedKeys:yi,halfCheckedKeys:gi}=Wi;let ol=yi;if(uo){const fl=new Set(yi);fl.delete(pi),ol=(0,tr.S)(Array.from(fl),{checked:!1,halfCheckedKeys:gi},Lr,Wr).checkedKeys}ko(pi,!uo,ol,hi)}}ei(uo?null:pi)}})),checked:uo}};const bi=(No,Zo,ii)=>{const{node:Pi,checked:pi}=Ni(No,Zo,ii);return Zn?Zn(pi,Zo,ii,Pi):Pi};if(!ir.includes(Wn))if(ir.findIndex(No=>{var Zo;return((Zo=No[en])===null||Zo===void 0?void 0:Zo.columnType)==="EXPAND_COLUMN"})===0){const[No,...Zo]=ir;ir=[No,Wn].concat((0,an.Z)(Zo))}else ir=[Wn].concat((0,an.Z)(ir));const Ji=ir.indexOf(Wn);ir=ir.filter((No,Zo)=>No!==Wn||Zo===Ji);const si=ir[Ji-1],ri=ir[Ji+1];let lr=Kn;lr===void 0&&((ri==null?void 0:ri.fixed)!==void 0?lr=ri.fixed:(si==null?void 0:si.fixed)!==void 0&&(lr=si.fixed)),lr&&si&&((or=si[en])===null||or===void 0?void 0:or.columnType)==="EXPAND_COLUMN"&&si.fixed===void 0&&(si.fixed=lr);const Ri=_e()(`${ma}-selection-col`,{[`${ma}-selection-col-with-dropdown`]:wn&&Sn==="checkbox"}),ji={fixed:lr,width:En,className:`${ma}-selection-column`,title:pe.columnTitle||Qr,render:bi,onCell:pe.onCell,[en]:{className:Ri}};return ir.map(No=>No===Wn?ji:No)},[Ja,Ka,pe,Jr,Vo,lo,En,Ao,Dr,vr,zr,Kt,ko,Wr]),Vo]},Ha=te(89489),Yr=te(59477),mo=te(6848);const Do="ascend",vn="descend";function na(ce){return typeof ce.sorter=="object"&&typeof ce.sorter.multiple=="number"?ce.sorter.multiple:!1}function Oa(ce){return typeof ce=="function"?ce:ce&&typeof ce=="object"&&ce.compare?ce.compare:!1}function _n(ce,pe){return pe?ce[ce.indexOf(pe)+1]:ce[0]}function ya(ce,pe,ke){let Ue=[];function ot(lt,Ot){Ue.push({column:lt,key:Nr(lt,Ot),multiplePriority:na(lt),sortOrder:lt.sortOrder})}return(ce||[]).forEach((lt,Ot)=>{const Lt=Zr(Ot,ke);lt.children?("sortOrder"in lt&&ot(lt,Lt),Ue=[].concat((0,an.Z)(Ue),(0,an.Z)(ya(lt.children,pe,Lt)))):lt.sorter&&("sortOrder"in lt?ot(lt,Lt):pe&&lt.defaultSortOrder&&Ue.push({column:lt,key:Nr(lt,Lt),multiplePriority:na(lt),sortOrder:lt.defaultSortOrder}))}),Ue}function wr(ce,pe,ke,Ue,ot,lt,Ot,Lt){return(pe||[]).map((Bt,Ut)=>{const jt=Zr(Ut,Lt);let Kt=Bt;if(Kt.sorter){const En=Kt.sortDirections||ot,Sn=Kt.showSorterTooltip===void 0?Ot:Kt.showSorterTooltip,wn=Nr(Kt,jt),Kn=ke.find(Dr=>{let{key:Sa}=Dr;return Sa===wn}),Zn=Kn?Kn.sortOrder:null,ua=_n(En,Zn);let ta;if(Bt.sortIcon)ta=Bt.sortIcon({sortOrder:Zn});else{const Dr=En.includes(Do)&&ie.createElement(Yr.Z,{className:_e()(`${ce}-column-sorter-up`,{active:Zn===Do})}),Sa=En.includes(vn)&&ie.createElement(Ha.Z,{className:_e()(`${ce}-column-sorter-down`,{active:Zn===vn})});ta=ie.createElement("span",{className:_e()(`${ce}-column-sorter`,{[`${ce}-column-sorter-full`]:!!(Dr&&Sa)})},ie.createElement("span",{className:`${ce}-column-sorter-inner`,"aria-hidden":"true"},Dr,Sa))}const{cancelSort:ma,triggerAsc:Ya,triggerDesc:rr}=lt||{};let ka=ma;ua===vn?ka=rr:ua===Do&&(ka=Ya);const Ja=typeof Sn=="object"?Sn:{title:ka};Kt=Object.assign(Object.assign({},Kt),{className:_e()(Kt.className,{[`${ce}-column-sort`]:Zn}),title:Dr=>{const Sa=ie.createElement("div",{className:`${ce}-column-sorters`},ie.createElement("span",{className:`${ce}-column-title`},hr(Bt.title,Dr)),ta);return Sn?ie.createElement(mo.Z,Object.assign({},Ja),Sa):Sa},onHeaderCell:Dr=>{const Sa=Bt.onHeaderCell&&Bt.onHeaderCell(Dr)||{},_a=Sa.onClick,wa=Sa.onKeyDown;Sa.onClick=qa=>{Ue({column:Bt,key:wn,sortOrder:ua,multiplePriority:na(Bt)}),_a==null||_a(qa)},Sa.onKeyDown=qa=>{qa.keyCode===Vt.Z.ENTER&&(Ue({column:Bt,key:wn,sortOrder:ua,multiplePriority:na(Bt)}),wa==null||wa(qa))};const da=xr(Bt.title,{}),fa=da==null?void 0:da.toString();return Zn?Sa["aria-sort"]=Zn==="ascend"?"ascending":"descending":Sa["aria-label"]=fa||"",Sa.className=_e()(Sa.className,`${ce}-column-has-sorters`),Sa.tabIndex=0,Bt.ellipsis&&(Sa.title=(da!=null?da:"").toString()),Sa}})}return"children"in Kt&&(Kt=Object.assign(Object.assign({},Kt),{children:wr(ce,Kt.children,ke,Ue,ot,lt,Ot,jt)})),Kt})}function Fr(ce){const{column:pe,sortOrder:ke}=ce;return{column:pe,order:ke,field:pe.dataIndex,columnKey:pe.key}}function Co(ce){const pe=ce.filter(ke=>{let{sortOrder:Ue}=ke;return Ue}).map(Fr);return pe.length===0&&ce.length?Object.assign(Object.assign({},Fr(ce[ce.length-1])),{column:void 0}):pe.length<=1?pe[0]||{}:pe}function qo(ce,pe,ke){const Ue=pe.slice().sort((Ot,Lt)=>Lt.multiplePriority-Ot.multiplePriority),ot=ce.slice(),lt=Ue.filter(Ot=>{let{column:{sorter:Lt},sortOrder:Bt}=Ot;return Oa(Lt)&&Bt});return lt.length?ot.sort((Ot,Lt)=>{for(let Bt=0;Bt<lt.length;Bt+=1){const Ut=lt[Bt],{column:{sorter:jt},sortOrder:Kt}=Ut,En=Oa(jt);if(En&&Kt){const Sn=En(Ot,Lt,Kt);if(Sn!==0)return Kt===Do?Sn:-Sn}}return 0}).map(Ot=>{const Lt=Ot[ke];return Lt?Object.assign(Object.assign({},Ot),{[ke]:qo(Lt,pe,ke)}):Ot}):ot}function Di(ce){let{prefixCls:pe,mergedColumns:ke,onSorterChange:Ue,sortDirections:ot,tableLocale:lt,showSorterTooltip:Ot}=ce;const[Lt,Bt]=ie.useState(ya(ke,!0)),Ut=ie.useMemo(()=>{let wn=!0;const Kn=ya(ke,!1);if(!Kn.length)return Lt;const Zn=[];function ua(ma){wn?Zn.push(ma):Zn.push(Object.assign(Object.assign({},ma),{sortOrder:null}))}let ta=null;return Kn.forEach(ma=>{ta===null?(ua(ma),ma.sortOrder&&(ma.multiplePriority===!1?wn=!1:ta=!0)):(ta&&ma.multiplePriority!==!1||(wn=!1),ua(ma))}),Zn},[ke,Lt]),jt=ie.useMemo(()=>{const wn=Ut.map(Kn=>{let{column:Zn,sortOrder:ua}=Kn;return{column:Zn,order:ua}});return{sortColumns:wn,sortColumn:wn[0]&&wn[0].column,sortOrder:wn[0]&&wn[0].order}},[Ut]);function Kt(wn){let Kn;wn.multiplePriority===!1||!Ut.length||Ut[0].multiplePriority===!1?Kn=[wn]:Kn=[].concat((0,an.Z)(Ut.filter(Zn=>{let{key:ua}=Zn;return ua!==wn.key})),[wn]),Bt(Kn),Ue(Co(Kn),Kn)}return[wn=>wr(pe,wn,Ut,Kt,ot,lt,Ot),Ut,jt,()=>Co(Ut)]}function Hi(ce,pe){return ce.map(ke=>{const Ue=Object.assign({},ke);return Ue.title=hr(ke.title,pe),"children"in Ue&&(Ue.children=Hi(Ue.children,pe)),Ue})}function qi(ce){return[ie.useCallback(ke=>Hi(ke,ce),[ce])]}var wl=jr((ce,pe)=>{const{_renderTimes:ke}=ce,{_renderTimes:Ue}=pe;return ke!==Ue}),vl=Te((ce,pe)=>{const{_renderTimes:ke}=ce,{_renderTimes:Ue}=pe;return ke!==Ue}),Sl=te(64993),Fl=te(17313),uu=te(83116),su=te(37613),de=ce=>{const{componentCls:pe}=ce,ke=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`,Ue=(ot,lt,Ot)=>({[`&${pe}-${ot}`]:{[`> ${pe}-container`]:{[`> ${pe}-content, > ${pe}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${pe}-expanded-row-fixed`]:{margin:`-${lt}px -${Ot+ce.lineWidth}px`}}}}}});return{[`${pe}-wrapper`]:{[`${pe}${pe}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${pe}-title`]:{border:ke,borderBottom:0},[`> ${pe}-container`]:{borderInlineStart:ke,borderTop:ke,[`
> ${pe}-content,
> ${pe}-header,
> ${pe}-body,
> ${pe}-summary
`]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:ke},"> thead":{"> tr:not(:last-child) > th":{borderBottom:ke},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${pe}-cell-fix-right-first::after`]:{borderInlineEnd:ke}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${pe}-expanded-row-fixed`]:{margin:`-${ce.tablePaddingVertical}px -${ce.tablePaddingHorizontal+ce.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:ce.lineWidth,bottom:0,borderInlineEnd:ke,content:'""'}}}}}},[`&${pe}-scroll-horizontal`]:{[`> ${pe}-container > ${pe}-body`]:{"> table > tbody":{[`
> tr${pe}-expanded-row,
> tr${pe}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},Ue("middle",ce.tablePaddingVerticalMiddle,ce.tablePaddingHorizontalMiddle)),Ue("small",ce.tablePaddingVerticalSmall,ce.tablePaddingHorizontalSmall)),{[`> ${pe}-footer`]:{border:ke,borderTop:0}}),[`${pe}-cell`]:{[`${pe}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${ce.lineWidth}px 0 ${ce.lineWidth}px ${ce.tableHeaderBg}`}},[`${pe}-bordered ${pe}-cell-scrollbar`]:{borderInlineEnd:ke}}}},Ye=ce=>{const{componentCls:pe}=ce;return{[`${pe}-wrapper`]:{[`${pe}-cell-ellipsis`]:Object.assign(Object.assign({},Fl.vS),{wordBreak:"keep-all",[`
&${pe}-cell-fix-left-last,
&${pe}-cell-fix-right-first
`]:{overflow:"visible",[`${pe}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${pe}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},It=ce=>{const{componentCls:pe}=ce;return{[`${pe}-wrapper`]:{[`${pe}-tbody > tr${pe}-placeholder`]:{textAlign:"center",color:ce.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:ce.colorBgContainer}}}}},bt=te(15969),rn=ce=>{const{componentCls:pe,antCls:ke,controlInteractiveSize:Ue,motionDurationSlow:ot,lineWidth:lt,paddingXS:Ot,lineType:Lt,tableBorderColor:Bt,tableExpandIconBg:Ut,tableExpandColumnWidth:jt,borderRadius:Kt,fontSize:En,fontSizeSM:Sn,lineHeight:wn,tablePaddingVertical:Kn,tablePaddingHorizontal:Zn,tableExpandedRowBg:ua,paddingXXS:ta}=ce,ma=Ue/2-lt,Ya=ma*2+lt*3,rr=`${lt}px ${Lt} ${Bt}`,ka=ta-lt;return{[`${pe}-wrapper`]:{[`${pe}-expand-icon-col`]:{width:jt},[`${pe}-row-expand-icon-cell`]:{textAlign:"center",[`${pe}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${pe}-row-indent`]:{height:1,float:"left"},[`${pe}-row-expand-icon`]:Object.assign(Object.assign({},(0,bt.N)(ce)),{position:"relative",float:"left",boxSizing:"border-box",width:Ya,height:Ya,padding:0,color:"inherit",lineHeight:`${Ya}px`,background:Ut,border:rr,borderRadius:Kt,transform:`scale(${Ue/Ya})`,transition:`all ${ot}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${ot} ease-out`,content:'""'},"&::before":{top:ma,insetInlineEnd:ka,insetInlineStart:ka,height:lt},"&::after":{top:ka,bottom:ka,insetInlineStart:ma,width:lt,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${pe}-row-indent + ${pe}-row-expand-icon`]:{marginTop:(En*wn-lt*3)/2-Math.ceil((Sn*1.4-lt*3)/2),marginInlineEnd:Ot},[`tr${pe}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:ua}},[`${ke}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${pe}-expanded-row-fixed`]:{position:"relative",margin:`-${Kn}px -${Zn}px`,padding:`${Kn}px ${Zn}px`}}}},ia=ce=>{const{componentCls:pe,antCls:ke,iconCls:Ue,tableFilterDropdownWidth:ot,tableFilterDropdownSearchWidth:lt,paddingXXS:Ot,paddingXS:Lt,colorText:Bt,lineWidth:Ut,lineType:jt,tableBorderColor:Kt,tableHeaderIconColor:En,fontSizeSM:Sn,tablePaddingHorizontal:wn,borderRadius:Kn,motionDurationSlow:Zn,colorTextDescription:ua,colorPrimary:ta,tableHeaderFilterActiveBg:ma,colorTextDisabled:Ya,tableFilterDropdownBg:rr,tableFilterDropdownHeight:ka,controlItemBgHover:Ja,controlItemBgActive:Dr,boxShadowSecondary:Sa,filterDropdownMenuBg:_a}=ce,wa=`${ke}-dropdown`,da=`${pe}-filter-dropdown`,fa=`${ke}-tree`,qa=`${Ut}px ${jt} ${Kt}`;return[{[`${pe}-wrapper`]:{[`${pe}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${pe}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Ot,marginInline:`${Ot}px ${-wn/2}px`,padding:`0 ${Ot}px`,color:En,fontSize:Sn,borderRadius:Kn,cursor:"pointer",transition:`all ${Zn}`,"&:hover":{color:ua,background:ma},"&.active":{color:ta}}}},{[`${ke}-dropdown`]:{[da]:Object.assign(Object.assign({},(0,Fl.Wf)(ce)),{minWidth:ot,backgroundColor:rr,borderRadius:Kn,boxShadow:Sa,overflow:"hidden",[`${wa}-menu`]:{maxHeight:ka,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:_a,"&:empty::after":{display:"block",padding:`${Lt}px 0`,color:Ya,fontSize:Sn,textAlign:"center",content:'"Not Found"'}},[`${da}-tree`]:{paddingBlock:`${Lt}px 0`,paddingInline:Lt,[fa]:{padding:0},[`${fa}-treenode ${fa}-node-content-wrapper:hover`]:{backgroundColor:Ja},[`${fa}-treenode-checkbox-checked ${fa}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Dr}}},[`${da}-search`]:{padding:Lt,borderBottom:qa,"&-input":{input:{minWidth:lt},[Ue]:{color:Ya}}},[`${da}-checkall`]:{width:"100%",marginBottom:Ot,marginInlineStart:Ot},[`${da}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Lt-Ut}px ${Lt}px`,overflow:"hidden",borderTop:qa}})}},{[`${ke}-dropdown ${da}, ${da}-submenu`]:{[`${ke}-checkbox-wrapper + span`]:{paddingInlineStart:Lt,color:Bt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},An=ce=>{const{componentCls:pe,lineWidth:ke,colorSplit:Ue,motionDurationSlow:ot,zIndexTableFixed:lt,tableBg:Ot,zIndexTableSticky:Lt}=ce,Bt=Ue;return{[`${pe}-wrapper`]:{[`
${pe}-cell-fix-left,
${pe}-cell-fix-right
`]:{position:"sticky !important",zIndex:lt,background:Ot},[`
${pe}-cell-fix-left-first::after,
${pe}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-ke,width:30,transform:"translateX(100%)",transition:`box-shadow ${ot}`,content:'""',pointerEvents:"none"},[`${pe}-cell-fix-left-all::after`]:{display:"none"},[`
${pe}-cell-fix-right-first::after,
${pe}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:-ke,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${ot}`,content:'""',pointerEvents:"none"},[`${pe}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Lt+1,width:30,transition:`box-shadow ${ot}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${pe}-ping-left`]:{[`&:not(${pe}-has-fix-left) ${pe}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Bt}`}},[`
${pe}-cell-fix-left-first::after,
${pe}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${Bt}`},[`${pe}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${pe}-ping-right`]:{[`&:not(${pe}-has-fix-right) ${pe}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Bt}`}},[`
${pe}-cell-fix-right-first::after,
${pe}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${Bt}`}}}}},Gn=ce=>{const{componentCls:pe,antCls:ke}=ce;return{[`${pe}-wrapper`]:{[`${pe}-pagination${ke}-pagination`]:{margin:`${ce.margin}px 0`},[`${pe}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ce.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},xn=ce=>{const{componentCls:pe,tableRadius:ke}=ce;return{[`${pe}-wrapper`]:{[pe]:{[`${pe}-title, ${pe}-header`]:{borderRadius:`${ke}px ${ke}px 0 0`},[`${pe}-title + ${pe}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${pe}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:ke,borderStartEndRadius:ke,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:ke},"> *:last-child":{borderStartEndRadius:ke}}},"&-footer":{borderRadius:`0 0 ${ke}px ${ke}px`}}}}},Ta=ce=>{const{componentCls:pe}=ce;return{[`${pe}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${pe}-pagination-left`]:{justifyContent:"flex-end"},[`${pe}-pagination-right`]:{justifyContent:"flex-start"},[`${pe}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${pe}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${pe}-row-indent`]:{float:"right"}}}}},za=ce=>{const{componentCls:pe,antCls:ke,iconCls:Ue,fontSizeIcon:ot,padding:lt,paddingXS:Ot,tableHeaderIconColor:Lt,tableHeaderIconColorHover:Bt,tableSelectionColumnWidth:Ut}=ce;return{[`${pe}-wrapper`]:{[`${pe}-selection-col`]:{width:Ut,[`&${pe}-selection-col-with-dropdown`]:{width:Ut+ot+lt/4}},[`${pe}-bordered ${pe}-selection-col`]:{width:Ut+Ot*2,[`&${pe}-selection-col-with-dropdown`]:{width:Ut+ot+lt/4+Ot*2}},[`
table tr th${pe}-selection-column,
table tr td${pe}-selection-column
`]:{paddingInlineEnd:ce.paddingXS,paddingInlineStart:ce.paddingXS,textAlign:"center",[`${ke}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${pe}-selection-column${pe}-cell-fix-left`]:{zIndex:ce.zIndexTableFixed+1},[`table tr th${pe}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${pe}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${pe}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${ce.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${ce.tablePaddingHorizontal/4}px`,[Ue]:{color:Lt,fontSize:ot,verticalAlign:"baseline","&:hover":{color:Bt}}}}}},ja=ce=>{const{componentCls:pe}=ce,ke=(Ue,ot,lt,Ot)=>({[`${pe}${pe}-${Ue}`]:{fontSize:Ot,[`
${pe}-title,
${pe}-footer,
${pe}-cell,
${pe}-thead > tr > th,
${pe}-tbody > tr > th,
${pe}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${ot}px ${lt}px`},[`${pe}-filter-trigger`]:{marginInlineEnd:`-${lt/2}px`},[`${pe}-expanded-row-fixed`]:{margin:`-${ot}px -${lt}px`},[`${pe}-tbody`]:{[`${pe}-wrapper:only-child ${pe}`]:{marginBlock:`-${ot}px`,marginInline:`${ce.tableExpandColumnWidth-lt}px -${lt}px`}},[`${pe}-selection-column`]:{paddingInlineStart:`${lt/4}px`}}});return{[`${pe}-wrapper`]:Object.assign(Object.assign({},ke("middle",ce.tablePaddingVerticalMiddle,ce.tablePaddingHorizontalMiddle,ce.tableFontSizeMiddle)),ke("small",ce.tablePaddingVerticalSmall,ce.tablePaddingHorizontalSmall,ce.tableFontSizeSmall))}},so=ce=>{const{componentCls:pe,marginXXS:ke,fontSizeIcon:Ue,tableHeaderIconColor:ot,tableHeaderIconColorHover:lt}=ce;return{[`${pe}-wrapper`]:{[`${pe}-thead th${pe}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${ce.motionDurationSlow}`,"&:hover":{background:ce.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:ce.colorPrimary},[`
&${pe}-cell-fix-left:hover,
&${pe}-cell-fix-right:hover
`]:{background:ce.tableFixedHeaderSortActiveBg}},[`${pe}-thead th${pe}-column-sort`]:{background:ce.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${pe}-column-sort`]:{background:ce.tableBodySortBg},[`${pe}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${pe}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${pe}-column-sorter`]:{marginInlineStart:ke,color:ot,fontSize:0,transition:`color ${ce.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Ue,"&.active":{color:ce.colorPrimary}},[`${pe}-column-sorter-up + ${pe}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${pe}-column-sorters:hover ${pe}-column-sorter`]:{color:lt}}}},fo=ce=>{const{componentCls:pe,opacityLoading:ke,tableScrollThumbBg:Ue,tableScrollThumbBgHover:ot,tableScrollThumbSize:lt,tableScrollBg:Ot,zIndexTableSticky:Lt,stickyScrollBarBorderRadius:Bt}=ce,Ut=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`;return{[`${pe}-wrapper`]:{[`${pe}-sticky`]:{"&-holder":{position:"sticky",zIndex:Lt,background:ce.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${lt}px !important`,zIndex:Lt,display:"flex",alignItems:"center",background:Ot,borderTop:Ut,opacity:ke,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:lt,backgroundColor:Ue,borderRadius:Bt,transition:`all ${ce.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:ot}}}}}}},Wo=ce=>{const{componentCls:pe,lineWidth:ke,tableBorderColor:Ue}=ce,ot=`${ke}px ${ce.lineType} ${Ue}`;return{[`${pe}-wrapper`]:{[`${pe}-summary`]:{position:"relative",zIndex:ce.zIndexTableFixed,background:ce.tableBg,"> tr":{"> th, > td":{borderBottom:ot}}},[`div${pe}-summary`]:{boxShadow:`0 -${ke}px 0 ${Ue}`}}}},mi=ce=>{const{componentCls:pe}=ce,ke=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`,Ue=`${pe}-expanded-row-cell`;return{[`${pe}-wrapper`]:{[`${pe}-tbody-virtual`]:{[`${pe}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${pe}-cell`]:{borderBottom:ke},[`${pe}-expanded-row`]:{[`${Ue}${Ue}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${ce.lineWidth}px)`,borderInlineEnd:"none"}}},[`${pe}-bordered`]:{[`${pe}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:ke,position:"absolute"},[`${pe}-cell`]:{borderInlineEnd:ke,[`&${pe}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-ce.lineWidth,borderInlineStart:ke}}}}}}};const Go=ce=>{const{componentCls:pe,fontWeightStrong:ke,tablePaddingVertical:Ue,tablePaddingHorizontal:ot,lineWidth:lt,lineType:Ot,tableBorderColor:Lt,tableFontSize:Bt,tableBg:Ut,tableRadius:jt,tableHeaderTextColor:Kt,motionDurationMid:En,tableHeaderBg:Sn,tableHeaderCellSplitColor:wn,tableRowHoverBg:Kn,tableSelectedRowBg:Zn,tableSelectedRowHoverBg:ua,tableFooterTextColor:ta,tableFooterBg:ma,paddingContentVerticalLG:Ya}=ce,rr=`${lt}px ${Ot} ${Lt}`;return{[`${pe}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Fl.dF)()),{[pe]:Object.assign(Object.assign({},(0,Fl.Wf)(ce)),{fontSize:Bt,background:Ut,borderRadius:`${jt}px ${jt}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${jt}px ${jt}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${pe}-cell,
${pe}-thead > tr > th,
${pe}-tbody > tr > th,
${pe}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${Ya}px ${ot}px`,overflowWrap:"break-word"},[`${pe}-title`]:{padding:`${Ue}px ${ot}px`},[`${pe}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Kt,fontWeight:ke,textAlign:"start",background:Sn,borderBottom:rr,transition:`background ${En} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${pe}-selection-column):not(${pe}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:wn,transform:"translateY(-50%)",transition:`background-color ${En}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${pe}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${En}, border-color ${En}`,borderBottom:rr,[`
> ${pe}-wrapper:only-child,
> ${pe}-expanded-row-fixed > ${pe}-wrapper:only-child
`]:{[pe]:{marginBlock:`-${Ue}px`,marginInline:`${ce.tableExpandColumnWidth-ot}px -${ot}px`,[`${pe}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Kt,fontWeight:ke,textAlign:"start",background:Sn,borderBottom:rr,transition:`background ${En} ease`},[`
&${pe}-row:hover > th,
&${pe}-row:hover > td,
> th${pe}-cell-row-hover,
> td${pe}-cell-row-hover
`]:{background:Kn},[`&${pe}-row-selected`]:{"> th, > td":{background:Zn},"&:hover > th, &:hover > td":{background:ua}}}},[`${pe}-footer`]:{padding:`${Ue}px ${ot}px`,color:ta,background:ma}})}};var bo=(0,uu.Z)("Table",ce=>{const{colorTextHeading:pe,colorSplit:ke,colorIcon:Ue,colorIconHover:ot,opacityLoading:lt,colorBgContainer:Ot,controlInteractiveSize:Lt,headerBg:Bt,headerColor:Ut,headerSortActiveBg:jt,headerSortHoverBg:Kt,bodySortBg:En,rowHoverBg:Sn,rowSelectedBg:wn,rowSelectedHoverBg:Kn,rowExpandedBg:Zn,cellPaddingBlock:ua,cellPaddingInline:ta,cellPaddingBlockMD:ma,cellPaddingInlineMD:Ya,cellPaddingBlockSM:rr,cellPaddingInlineSM:ka,borderColor:Ja,footerBg:Dr,footerColor:Sa,headerBorderRadius:_a,cellFontSize:wa,cellFontSizeMD:da,cellFontSizeSM:fa,headerSplitColor:qa,fixedHeaderSortActiveBg:Gr,headerFilterHoverBg:Lr,filterDropdownBg:Ka,expandIconBg:zr,selectionColumnWidth:Wr,stickyScrollBarBg:Jr}=ce,Vr=new Sl.C(Ue),Vo=new Sl.C(ot),lo=2,vr=(0,su.TS)(ce,{tableFontSize:wa,tableBg:Ot,tableRadius:_a,tablePaddingVertical:ua,tablePaddingHorizontal:ta,tablePaddingVerticalMiddle:ma,tablePaddingHorizontalMiddle:Ya,tablePaddingVerticalSmall:rr,tablePaddingHorizontalSmall:ka,tableBorderColor:Ja,tableHeaderTextColor:Ut,tableHeaderBg:Bt,tableFooterTextColor:Sa,tableFooterBg:Dr,tableHeaderCellSplitColor:qa,tableHeaderSortBg:jt,tableHeaderSortHoverBg:Kt,tableHeaderIconColor:Vr.clone().setAlpha(Vr.getAlpha()*lt).toRgbString(),tableHeaderIconColorHover:Vo.clone().setAlpha(Vo.getAlpha()*lt).toRgbString(),tableBodySortBg:En,tableFixedHeaderSortActiveBg:Gr,tableHeaderFilterActiveBg:Lr,tableFilterDropdownBg:Ka,tableRowHoverBg:Sn,tableSelectedRowBg:wn,tableSelectedRowHoverBg:Kn,zIndexTableFixed:lo,zIndexTableSticky:lo+1,tableFontSizeMiddle:da,tableFontSizeSmall:fa,tableSelectionColumnWidth:Wr,tableExpandIconBg:zr,tableExpandColumnWidth:Lt+2*ce.padding,tableExpandedRowBg:Zn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Jr,tableScrollThumbBgHover:pe,tableScrollBg:ke});return[Go(vr),Gn(vr),Wo(vr),so(vr),ia(vr),de(vr),xn(vr),rn(vr),Wo(vr),It(vr),za(vr),An(vr),fo(vr),Ye(vr),ja(vr),Ta(vr),mi(vr)]},ce=>{const{colorFillAlter:pe,colorBgContainer:ke,colorTextHeading:Ue,colorFillSecondary:ot,colorFillContent:lt,controlItemBgActive:Ot,controlItemBgActiveHover:Lt,padding:Bt,paddingSM:Ut,paddingXS:jt,colorBorderSecondary:Kt,borderRadiusLG:En,fontSize:Sn,controlHeight:wn,colorTextPlaceholder:Kn}=ce,Zn=new Sl.C(ot).onBackground(ke).toHexShortString(),ua=new Sl.C(lt).onBackground(ke).toHexShortString(),ta=new Sl.C(pe).onBackground(ke).toHexShortString();return{headerBg:ta,headerColor:Ue,headerSortActiveBg:Zn,headerSortHoverBg:ua,bodySortBg:ta,rowHoverBg:ta,rowSelectedBg:Ot,rowSelectedHoverBg:Lt,rowExpandedBg:pe,cellPaddingBlock:Bt,cellPaddingInline:Bt,cellPaddingBlockMD:Ut,cellPaddingInlineMD:jt,cellPaddingBlockSM:jt,cellPaddingInlineSM:jt,borderColor:Kt,headerBorderRadius:En,footerBg:ta,footerColor:Ue,cellFontSize:Sn,cellFontSizeMD:Sn,cellFontSizeSM:Sn,headerSplitColor:Kt,fixedHeaderSortActiveBg:Zn,headerFilterHoverBg:lt,filterDropdownMenuBg:ke,filterDropdownBg:ke,expandIconBg:ke,selectionColumnWidth:wn,stickyScrollBarBg:Kn,stickyScrollBarBorderRadius:100}});const Bo=[],Yo=(ce,pe)=>{const{prefixCls:ke,className:Ue,rootClassName:ot,style:lt,size:Ot,bordered:Lt,dropdownPrefixCls:Bt,dataSource:Ut,pagination:jt,rowSelection:Kt,rowKey:En="key",rowClassName:Sn,columns:wn,children:Kn,childrenColumnName:Zn,onChange:ua,getPopupContainer:ta,loading:ma,expandIcon:Ya,expandable:rr,expandedRowRender:ka,expandIconColumnIndex:Ja,indentSize:Dr,scroll:Sa,sortDirections:_a,locale:wa,showSorterTooltip:da=!0,virtual:fa}=ce,qa=ie.useMemo(()=>wn||Ft(Kn),[wn,Kn]),Gr=ie.useMemo(()=>qa.some(Po=>Po.responsive),[qa]),Lr=(0,Mr.Z)(Gr),Ka=ie.useMemo(()=>{const Po=new Set(Object.keys(Lr).filter(Qo=>Lr[Qo]));return qa.filter(Qo=>!Qo.responsive||Qo.responsive.some(ki=>Po.has(ki)))},[qa,Lr]),zr=(0,Yn.Z)(ce,["className","style","columns"]),{locale:Wr=Ro.Z,direction:Jr,table:Vr,renderEmpty:Vo,getPrefixCls:lo,getPopupContainer:vr}=ie.useContext(Ca.E_),ei=(0,Or.Z)(Ot),cr=Object.assign(Object.assign({},Wr.Table),wa),ko=Ut||Bo,Ao=lo("table",ke),fi=lo("dropdown",Bt),gr=Object.assign({childrenColumnName:Zn,expandIconColumnIndex:Ja},rr),{childrenColumnName:or="children"}=gr,ir=ie.useMemo(()=>ko.some(Po=>Po==null?void 0:Po[or])?"nest":ka||rr&&rr.expandedRowRender?"row":null,[ko]),Wa={body:ie.useRef()},Na=ie.useMemo(()=>typeof En=="function"?En:Po=>Po==null?void 0:Po[En],[En]),[Bn]=Pr(ko,or,Na),va={},Br=function(Po,Qo){let ki=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var di,Vi,Ui;const Ki=Object.assign(Object.assign({},va),Po);ki&&((di=va.resetPagination)===null||di===void 0||di.call(va),!((Vi=Ki.pagination)===null||Vi===void 0)&&Vi.current&&(Ki.pagination.current=1),jt&&jt.onChange&&jt.onChange(1,(Ui=Ki.pagination)===null||Ui===void 0?void 0:Ui.pageSize)),Sa&&Sa.scrollToFirstRowOnChange!==!1&&Wa.body.current&&(0,Pa.Z)(0,{getContainer:()=>Wa.body.current}),ua==null||ua(Ki.pagination,Ki.filters,Ki.sorter,{currentDataSource:$o(qo(ko,Ki.sorterStates,or),Ki.filterStates),action:Qo})},Qr=(Po,Qo)=>{Br({sorter:Po,sorterStates:Qo},"sort",!1)},[Ni,bi,Ji,si]=Di({prefixCls:Ao,mergedColumns:Ka,onSorterChange:Qr,sortDirections:_a||["ascend","descend"],tableLocale:cr,showSorterTooltip:da}),ri=ie.useMemo(()=>qo(ko,bi,or),[ko,bi]);va.sorter=si(),va.sorterStates=bi;const lr=(Po,Qo)=>{Br({filters:Po,filterStates:Qo},"filter",!0)},[Ri,ji,No]=Sr({prefixCls:Ao,locale:cr,dropdownPrefixCls:fi,mergedColumns:Ka,onFilterChange:lr,getPopupContainer:ta||vr}),Zo=$o(ri,ji);va.filters=No,va.filterStates=ji;const ii=ie.useMemo(()=>{const Po={};return Object.keys(No).forEach(Qo=>{No[Qo]!==null&&(Po[Qo]=No[Qo])}),Object.assign(Object.assign({},Ji),{filters:Po})},[Ji,No]),[Pi]=qi(ii),pi=(Po,Qo)=>{Br({pagination:Object.assign(Object.assign({},va.pagination),{current:Po,pageSize:Qo})},"paginate")},[uo,Gi]=eo(Zo.length,pi,jt);va.pagination=jt===!1?{}:ha(uo,jt),va.resetPagination=Gi;const Ii=ie.useMemo(()=>{if(jt===!1||!uo.pageSize)return Zo;const{current:Po=1,total:Qo,pageSize:ki=oi}=uo;return Zo.length<Qo?Zo.length>ki?Zo.slice((Po-1)*ki,Po*ki):Zo:Zo.slice((Po-1)*ki,Po*ki)},[!!jt,Zo,uo&&uo.current,uo&&uo.pageSize,uo&&uo.total]),[zo,pr]=So({prefixCls:Ao,data:Zo,pageData:Ii,getRowKey:Na,getRecordByKey:Bn,expandType:ir,childrenColumnName:or,locale:cr,getPopupContainer:ta||vr},Kt),hi=(Po,Qo,ki)=>{let di;return typeof Sn=="function"?di=_e()(Sn(Po,Qo,ki)):di=_e()(Sn),_e()({[`${Ao}-row-selected`]:pr.has(Na(Po,Qo))},di)};gr.__PARENT_RENDER_ICON__=gr.expandIcon,gr.expandIcon=gr.expandIcon||Ya||ra(cr),ir==="nest"&&gr.expandIconColumnIndex===void 0?gr.expandIconColumnIndex=Kt?1:0:gr.expandIconColumnIndex>0&&Kt&&(gr.expandIconColumnIndex-=1),typeof gr.indentSize!="number"&&(gr.indentSize=typeof Dr=="number"?Dr:15);const Ti=ie.useCallback(Po=>Pi(zo(Ri(Ni(Po)))),[Ni,Ri,zo]);let sl,el;if(jt!==!1&&(uo!=null&&uo.total)){let Po;uo.size?Po=uo.size:Po=ei==="small"||ei==="middle"?"small":void 0;const Qo=Vi=>ie.createElement(Ur.Z,Object.assign({},uo,{className:_e()(`${Ao}-pagination ${Ao}-pagination-${Vi}`,uo.className),size:Po})),ki=Jr==="rtl"?"left":"right",{position:di}=uo;if(di!==null&&Array.isArray(di)){const Vi=di.find(ll=>ll.includes("top")),Ui=di.find(ll=>ll.includes("bottom")),Ki=di.every(ll=>`${ll}`=="none");!Vi&&!Ui&&!Ki&&(el=Qo(ki)),Vi&&(sl=Qo(Vi.toLowerCase().replace("top",""))),Ui&&(el=Qo(Ui.toLowerCase().replace("bottom","")))}else el=Qo(ki)}let Qi;typeof ma=="boolean"?Qi={spinning:ma}:typeof ma=="object"&&(Qi=Object.assign({spinning:!0},ma));const[Wi,yi]=bo(Ao),[,gi]=(0,$n.Z)(),ol=_e()(`${Ao}-wrapper`,Vr==null?void 0:Vr.className,{[`${Ao}-wrapper-rtl`]:Jr==="rtl"},Ue,ot,yi),fl=Object.assign(Object.assign({},Vr==null?void 0:Vr.style),lt),al=wa&&wa.emptyText||(Vo==null?void 0:Vo("Table"))||ie.createElement(ga.Z,{componentName:"Table"}),il=fa?vl:wl,Cl={},Rl=ie.useMemo(()=>{const{fontSize:Po,lineHeight:Qo,padding:ki,paddingXS:di,paddingSM:Vi}=gi,Ui=Math.floor(Po*Qo);switch(ei){case"large":return ki*2+Ui;case"small":return di*2+Ui;default:return Vi*2+Ui}},[gi,ei]);return fa&&(Cl.listItemHeight=Rl),Wi(ie.createElement("div",{ref:pe,className:ol,style:fl},ie.createElement(la.Z,Object.assign({spinning:!1},Qi),sl,ie.createElement(il,Object.assign({},Cl,zr,{columns:Ka,direction:Jr,expandable:gr,prefixCls:Ao,className:_e()({[`${Ao}-middle`]:ei==="middle",[`${Ao}-small`]:ei==="small",[`${Ao}-bordered`]:Lt,[`${Ao}-empty`]:ko.length===0}),data:Ii,rowKey:Na,rowClassName:hi,emptyText:al,internalHooks:se,internalRefs:Wa,transformColumns:Ti})),el)))};var ai=ie.forwardRef(Yo);const To=(ce,pe)=>{const ke=ie.useRef(0);return ke.current+=1,ie.createElement(ai,Object.assign({},ce,{ref:pe,_renderTimes:ke.current}))},_o=ie.forwardRef(To);_o.SELECTION_COLUMN=Wn,_o.EXPAND_COLUMN=z,_o.SELECTION_ALL=Cn,_o.SELECTION_INVERT=$r,_o.SELECTION_NONE=mr,_o.Column=Jt,_o.ColumnGroup=Fn,_o.Summary=Oe;var Li=_o,Ci=Li},17574:function(Ct,Pt,te){"use strict";te.d(Pt,{default:function(){return it}});var z=te(38028),se=te(77654),he=te(52671),Ie=te(8657),be=te(60499),Ne=te(59301),ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},nt=ie,je=te(7657),Ze=function(vt,Rt){return Ne.createElement(je.Z,(0,be.Z)({},vt,{ref:Rt,icon:nt}))},ze=Ne.forwardRef(Ze),Me=ze,ye=te(92310),re=te.n(ye),a=te(35654),y=te(71430),b=te(36355),E=te(56082),x=te(62892),ee=te(20648);const ne=4;function oe(rt){const{dropPosition:vt,dropLevelOffset:Rt,prefixCls:$t,indent:Je,direction:st="ltr"}=rt,At=st==="ltr"?"left":"right",Nt=st==="ltr"?"right":"left",St={[At]:-Rt*Je+ne,[Nt]:0};switch(vt){case-1:St.top=-3;break;case 1:St.bottom=-3;break;default:St.bottom=-3,St[At]=Je+ne;break}return Ne.createElement("div",{style:St,className:`${$t}-drop-indicator`})}var ae=te(71997),me=Ne.forwardRef((rt,vt)=>{const{getPrefixCls:Rt,direction:$t,virtual:Je,tree:st}=Ne.useContext(b.E_),{prefixCls:At,className:Nt,showIcon:St=!1,showLine:sn,switcherIcon:Fe,blockNode:Qt=!1,children:Gt,checkable:Hn=!1,selectable:Jn=!0,draggable:Re,motion:qe,style:tt}=rt,Le=Rt("tree",At),ft=Rt(),gt=qe!=null?qe:Object.assign(Object.assign({},(0,x.Z)(ft)),{motionAppear:!1}),Oe=Object.assign(Object.assign({},rt),{checkable:Hn,selectable:Jn,showIcon:St,motion:gt,blockNode:Qt,showLine:!!sn,dropIndicatorRender:oe}),[ve,Ge]=(0,ee.ZP)(Le),We=Ne.useMemo(()=>{if(!Re)return!1;let mt={};switch(typeof Re){case"function":mt.nodeDraggable=Re;break;case"object":mt=Object.assign({},Re);break;default:break}return mt.icon!==!1&&(mt.icon=mt.icon||Ne.createElement(E.Z,null)),mt},[Re]),we=mt=>Ne.createElement(ae.Z,{prefixCls:Le,switcherIcon:Fe,treeNodeProps:mt,showLine:sn});return ve(Ne.createElement(z.Z,Object.assign({itemHeight:20,ref:vt,virtual:Je},Oe,{style:Object.assign(Object.assign({},st==null?void 0:st.style),tt),prefixCls:Le,className:re()({[`${Le}-icon-hide`]:!St,[`${Le}-block-node`]:Qt,[`${Le}-unselectable`]:!Jn,[`${Le}-rtl`]:$t==="rtl"},st==null?void 0:st.className,Nt,Ge),direction:$t,checkable:Hn&&Ne.createElement("span",{className:`${Le}-checkbox-inner`}),selectable:Jn,switcherIcon:we,draggable:We}),Gt))}),fe;(function(rt){rt[rt.None=0]="None",rt[rt.Start=1]="Start",rt[rt.End=2]="End"})(fe||(fe={}));function Pe(rt,vt){function Rt($t){const{key:Je,children:st}=$t;vt(Je,$t)!==!1&&Pe(st||[],vt)}rt.forEach(Rt)}function xe(rt){let{treeData:vt,expandedKeys:Rt,startKey:$t,endKey:Je}=rt;const st=[];let At=fe.None;if($t&&$t===Je)return[$t];if(!$t||!Je)return[];function Nt(St){return St===$t||St===Je}return Pe(vt,St=>{if(At===fe.End)return!1;if(Nt(St)){if(st.push(St),At===fe.None)At=fe.Start;else if(At===fe.Start)return At=fe.End,!1}else At===fe.Start&&st.push(St);return Rt.includes(St)}),st}function Ee(rt,vt){const Rt=(0,se.Z)(vt),$t=[];return Pe(rt,(Je,st)=>{const At=Rt.indexOf(Je);return At!==-1&&($t.push(st),Rt.splice(At,1)),!!Rt.length}),$t}var De=function(rt,vt){var Rt={};for(var $t in rt)Object.prototype.hasOwnProperty.call(rt,$t)&&vt.indexOf($t)<0&&(Rt[$t]=rt[$t]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,$t=Object.getOwnPropertySymbols(rt);Je<$t.length;Je++)vt.indexOf($t[Je])<0&&Object.prototype.propertyIsEnumerable.call(rt,$t[Je])&&(Rt[$t[Je]]=rt[$t[Je]]);return Rt};function _e(rt){const{isLeaf:vt,expanded:Rt}=rt;return vt?Ne.createElement(he.Z,null):Rt?Ne.createElement(Ie.Z,null):Ne.createElement(Me,null)}function pt(rt){let{treeData:vt,children:Rt}=rt;return vt||(0,y.zn)(Rt)}const Be=(rt,vt)=>{var{defaultExpandAll:Rt,defaultExpandParent:$t,defaultExpandedKeys:Je}=rt,st=De(rt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const At=Ne.useRef(),Nt=Ne.useRef(),St=()=>{const{keyEntities:We}=(0,y.I8)(pt(st));let we;return Rt?we=Object.keys(We):$t?we=(0,a.r7)(st.expandedKeys||Je||[],We):we=st.expandedKeys||Je,we},[sn,Fe]=Ne.useState(st.selectedKeys||st.defaultSelectedKeys||[]),[Qt,Gt]=Ne.useState(()=>St());Ne.useEffect(()=>{"selectedKeys"in st&&Fe(st.selectedKeys)},[st.selectedKeys]),Ne.useEffect(()=>{"expandedKeys"in st&&Gt(st.expandedKeys)},[st.expandedKeys]);const Hn=(We,we)=>{var mt;return"expandedKeys"in st||Gt(We),(mt=st.onExpand)===null||mt===void 0?void 0:mt.call(st,We,we)},Jn=(We,we)=>{var mt;const{multiple:et}=st,{node:Ht,nativeEvent:Se}=we,{key:ut=""}=Ht,xt=pt(st),Ae=Object.assign(Object.assign({},we),{selected:!0}),He=(Se==null?void 0:Se.ctrlKey)||(Se==null?void 0:Se.metaKey),ct=Se==null?void 0:Se.shiftKey;let wt;et&&He?(wt=We,At.current=ut,Nt.current=wt,Ae.selectedNodes=Ee(xt,wt)):et&&ct?(wt=Array.from(new Set([].concat((0,se.Z)(Nt.current||[]),(0,se.Z)(xe({treeData:xt,expandedKeys:Qt,startKey:ut,endKey:At.current}))))),Ae.selectedNodes=Ee(xt,wt)):(wt=[ut],At.current=ut,Nt.current=wt,Ae.selectedNodes=Ee(xt,wt)),(mt=st.onSelect)===null||mt===void 0||mt.call(st,wt,Ae),"selectedKeys"in st||Fe(wt)},{getPrefixCls:Re,direction:qe}=Ne.useContext(b.E_),{prefixCls:tt,className:Le,showIcon:ft=!0,expandAction:gt="click"}=st,Oe=De(st,["prefixCls","className","showIcon","expandAction"]),ve=Re("tree",tt),Ge=re()(`${ve}-directory`,{[`${ve}-directory-rtl`]:qe==="rtl"},Le);return Ne.createElement(me,Object.assign({icon:_e,ref:vt,blockNode:!0},Oe,{showIcon:ft,expandAction:gt,prefixCls:ve,className:Ge,expandedKeys:Qt,selectedKeys:sn,onSelect:Jn,onExpand:Hn}))};var Ke=Ne.forwardRef(Be);const Ve=me;Ve.DirectoryTree=Ke,Ve.TreeNode=z.O;var it=Ve},20648:function(Ct,Pt,te){"use strict";te.d(Pt,{TM:function(){return ye},Yk:function(){return Me}});var z=te(36237),se=te(98447),he=te(17313),Ie=te(8378),be=te(37613),Ne=te(83116);const ie=new z.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),nt=(re,a)=>({[`.${re}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${a.motionDurationSlow}`}}}),je=(re,a)=>({[`.${re}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:a.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${a.lineWidthBold}px solid ${a.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Ze=(re,a)=>{const{treeCls:y,treeNodeCls:b,treeNodePadding:E,titleHeight:x,nodeSelectedBg:ee,nodeHoverBg:ne}=a,oe=a.paddingXS;return{[y]:Object.assign(Object.assign({},(0,he.Wf)(a)),{background:a.colorBgContainer,borderRadius:a.borderRadius,transition:`background-color ${a.motionDurationSlow}`,[`&${y}-rtl`]:{[`${y}-switcher`]:{"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${y}-active-focused)`]:Object.assign({},(0,he.oN)(a)),[`${y}-list-holder-inner`]:{alignItems:"flex-start"},[`&${y}-block-node`]:{[`${y}-list-holder-inner`]:{alignItems:"stretch",[`${y}-node-content-wrapper`]:{flex:"auto"},[`${b}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:E,insetInlineStart:0,border:`1px solid ${a.colorPrimary}`,opacity:0,animationName:ie,animationDuration:a.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${b}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${E}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${y}-node-content-wrapper`]:{color:a.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${y}-node-content-wrapper`]:Object.assign({},(0,he.oN)(a)),[`&:not(${b}-disabled).filter-node ${y}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${y}-draggable-icon`]:{flexShrink:0,width:x,lineHeight:`${x}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${a.motionDurationSlow}`,[`${b}:hover &`]:{opacity:.45}},[`&${b}-disabled`]:{[`${y}-draggable-icon`]:{visibility:"hidden"}}}},[`${y}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:x}},[`${y}-draggable-icon`]:{visibility:"hidden"},[`${y}-switcher`]:Object.assign(Object.assign({},nt(re,a)),{position:"relative",flex:"none",alignSelf:"stretch",width:x,margin:0,lineHeight:`${x}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:a.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:x/2,bottom:-E,marginInlineStart:-1,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:x/2*.8,height:x/2,borderBottom:`1px solid ${a.colorBorder}`,content:'""'}}}),[`${y}-checkbox`]:{top:"initial",marginInlineEnd:oe},[`${y}-node-content-wrapper, ${y}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:x,margin:0,padding:`0 ${a.paddingXS/2}px`,color:"inherit",lineHeight:`${x}px`,background:"transparent",borderRadius:a.borderRadius,cursor:"pointer",transition:`all ${a.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:ne},[`&${y}-node-selected`]:{backgroundColor:ee},[`${y}-iconEle`]:{display:"inline-block",width:x,height:x,lineHeight:`${x}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${y}-unselectable ${y}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${y}-node-content-wrapper`]:Object.assign({lineHeight:`${x}px`,userSelect:"none"},je(re,a)),[`${b}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${a.colorPrimary}`}},"&-show-line":{[`${y}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:x/2,bottom:-E,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${y}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${b}-leaf-last`]:{[`${y}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${x/2}px !important`}}}}})}},ze=re=>{const{treeCls:a,treeNodeCls:y,treeNodePadding:b,directoryNodeSelectedBg:E,directoryNodeSelectedColor:x}=re;return{[`${a}${a}-directory`]:{[y]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,transition:`background-color ${re.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:re.controlItemBgHover}},"> *":{zIndex:1},[`${a}-switcher`]:{transition:`color ${re.motionDurationMid}`},[`${a}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${a}-node-selected`]:{color:x,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:E},[`${a}-switcher`]:{color:x},[`${a}-node-content-wrapper`]:{color:x,background:"transparent"}}}}}},Me=(re,a)=>{const y=`.${re}`,b=`${y}-treenode`,E=a.paddingXS/2,x=(0,be.TS)(a,{treeCls:y,treeNodeCls:b,treeNodePadding:E});return[Ze(re,x),ze(x)]},ye=re=>{const{controlHeightSM:a}=re;return{titleHeight:a,nodeHoverBg:re.controlItemBgHover,nodeSelectedBg:re.controlItemBgActive}};Pt.ZP=(0,Ne.Z)("Tree",(re,a)=>{let{prefixCls:y}=a;return[{[re.componentCls]:(0,se.C2)(`${y}-checkbox`,re)},Me(y,re),(0,Ie.Z)(re)]},re=>{const{colorTextLightSolid:a,colorPrimary:y}=re;return Object.assign(Object.assign({},ye(re)),{directoryNodeSelectedColor:a,directoryNodeSelectedBg:y})})},71997:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return b}});var z=te(60499),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Ie=he,be=te(7657),Ne=function(x,ee){return se.createElement(be.Z,(0,z.Z)({},x,{ref:ee,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie,je=te(52671),Ze=te(58617),ze=te(15075),Me=te(43531),ye=te(92310),re=te.n(ye),a=te(92343),b=E=>{const{prefixCls:x,switcherIcon:ee,treeNodeProps:ne,showLine:oe}=E,{isLeaf:ae,expanded:ue,loading:me}=ne;if(me)return se.createElement(Ze.Z,{className:`${x}-switcher-loading-icon`});let fe;if(oe&&typeof oe=="object"&&(fe=oe.showLeafIcon),ae){if(!oe)return null;if(typeof fe!="boolean"&&fe){const Ee=typeof fe=="function"?fe(ne):fe,De=`${x}-switcher-line-custom-icon`;return(0,a.l$)(Ee)?(0,a.Tm)(Ee,{className:re()(Ee.props.className||"",De)}):Ee}return fe?se.createElement(je.Z,{className:`${x}-switcher-line-icon`}):se.createElement("span",{className:`${x}-switcher-leaf-line`})}const Pe=`${x}-switcher-icon`,xe=typeof ee=="function"?ee(ne):ee;return(0,a.l$)(xe)?(0,a.Tm)(xe,{className:re()(xe.props.className||"",Pe)}):xe!==void 0?xe:oe?ue?se.createElement(ze.Z,{className:`${x}-switcher-line-icon`}):se.createElement(Me.Z,{className:`${x}-switcher-line-icon`}):se.createElement(nt,{className:Pe})}},54580:function(Ct,Pt,te){"use strict";te.d(Pt,{default:function(){return er}});var z=te(59301),se=te(77654),he=te(92310),Ie=te.n(he),be=te(60499),Ne=te(38705),ie=te(17212),nt=te(39153),je=te(55401),Ze=te(18642),ze=te(42244),Me=te(73001),ye=te(43749),re=te(11576),a=te(26112);function y(ht,qt){var tn="cannot ".concat(ht.method," ").concat(ht.action," ").concat(qt.status,"'"),Pn=new Error(tn);return Pn.status=qt.status,Pn.method=ht.method,Pn.url=ht.action,Pn}function b(ht){var qt=ht.responseText||ht.response;if(!qt)return qt;try{return JSON.parse(qt)}catch(tn){return qt}}function E(ht){var qt=new XMLHttpRequest;ht.onProgress&&qt.upload&&(qt.upload.onprogress=function(gn){gn.total>0&&(gn.percent=gn.loaded/gn.total*100),ht.onProgress(gn)});var tn=new FormData;ht.data&&Object.keys(ht.data).forEach(function(Rn){var gn=ht.data[Rn];if(Array.isArray(gn)){gn.forEach(function(On){tn.append("".concat(Rn,"[]"),On)});return}tn.append(Rn,gn)}),ht.file instanceof Blob?tn.append(ht.filename,ht.file,ht.file.name):tn.append(ht.filename,ht.file),qt.onerror=function(gn){ht.onError(gn)},qt.onload=function(){return qt.status<200||qt.status>=300?ht.onError(y(ht,qt),b(qt)):ht.onSuccess(b(qt),qt)},qt.open(ht.method,ht.action,!0),ht.withCredentials&&"withCredentials"in qt&&(qt.withCredentials=!0);var Pn=ht.headers||{};return Pn["X-Requested-With"]!==null&&qt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Pn).forEach(function(Rn){Pn[Rn]!==null&&qt.setRequestHeader(Rn,Pn[Rn])}),qt.send(tn),{abort:function(){qt.abort()}}}var x=+new Date,ee=0;function ne(){return"rc-upload-".concat(x,"-").concat(++ee)}var oe=te(48736),ae=function(ht,qt){if(ht&&qt){var tn=Array.isArray(qt)?qt:qt.split(","),Pn=ht.name||"",Rn=ht.type||"",gn=Rn.replace(/\/.*$/,"");return tn.some(function(On){var yn=On.trim();if(/^\*(\/\*)?$/.test(On))return!0;if(yn.charAt(0)==="."){var ar=Pn.toLowerCase(),Ra=yn.toLowerCase(),cn=[Ra];return(Ra===".jpg"||Ra===".jpeg")&&(cn=[".jpg",".jpeg"]),cn.some(function(io){return ar.endsWith(io)})}return/\/\*$/.test(yn)?gn===yn.replace(/\/.*$/,""):Rn===yn?!0:/^\w+$/.test(yn)?((0,oe.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(yn,"'.Skip for check.")),!0):!1})}return!0};function ue(ht,qt){var tn=ht.createReader(),Pn=[];function Rn(){tn.readEntries(function(gn){var On=Array.prototype.slice.apply(gn);Pn=Pn.concat(On);var yn=!On.length;yn?qt(Pn):Rn()})}Rn()}var me=function(qt,tn,Pn){var Rn=function gn(On,yn){On&&(On.path=yn||"",On.isFile?On.file(function(ar){Pn(ar)&&(On.fullPath&&!ar.webkitRelativePath&&(Object.defineProperties(ar,{webkitRelativePath:{writable:!0}}),ar.webkitRelativePath=On.fullPath.replace(/^\//,""),Object.defineProperties(ar,{webkitRelativePath:{writable:!1}})),tn([ar]))}):On.isDirectory&&ue(On,function(ar){ar.forEach(function(Ra){gn(Ra,"".concat(yn).concat(On.name,"/"))})}))};qt.forEach(function(gn){Rn(gn.webkitGetAsEntry())})},fe=me,Pe=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],xe=function(ht){(0,nt.Z)(tn,ht);var qt=(0,je.Z)(tn);function tn(){var Pn;(0,Ne.Z)(this,tn);for(var Rn=arguments.length,gn=new Array(Rn),On=0;On<Rn;On++)gn[On]=arguments[On];return Pn=qt.call.apply(qt,[this].concat(gn)),Pn.state={uid:ne()},Pn.reqs={},Pn.fileInput=void 0,Pn._isMounted=void 0,Pn.onChange=function(yn){var ar=Pn.props,Ra=ar.accept,cn=ar.directory,io=yn.target.files,to=(0,se.Z)(io).filter(function(no){return!cn||ae(no,Ra)});Pn.uploadFiles(to),Pn.reset()},Pn.onClick=function(yn){var ar=Pn.fileInput;if(ar){var Ra=yn.target,cn=Pn.props.onClick;if(Ra&&Ra.tagName==="BUTTON"){var io=ar.parentNode;io.focus(),Ra.blur()}ar.click(),cn&&cn(yn)}},Pn.onKeyDown=function(yn){yn.key==="Enter"&&Pn.onClick(yn)},Pn.onFileDrop=function(yn){var ar=Pn.props.multiple;if(yn.preventDefault(),yn.type!=="dragover")if(Pn.props.directory)fe(Array.prototype.slice.call(yn.dataTransfer.items),Pn.uploadFiles,function(cn){return ae(cn,Pn.props.accept)});else{var Ra=(0,se.Z)(yn.dataTransfer.files).filter(function(cn){return ae(cn,Pn.props.accept)});ar===!1&&(Ra=Ra.slice(0,1)),Pn.uploadFiles(Ra)}},Pn.uploadFiles=function(yn){var ar=(0,se.Z)(yn),Ra=ar.map(function(cn){return cn.uid=ne(),Pn.processFile(cn,ar)});Promise.all(Ra).then(function(cn){var io=Pn.props.onBatchStart;io==null||io(cn.map(function(to){var no=to.origin,Mo=to.parsedFile;return{file:no,parsedFile:Mo}})),cn.filter(function(to){return to.parsedFile!==null}).forEach(function(to){Pn.post(to)})})},Pn.processFile=function(){var yn=(0,re.Z)((0,Me.Z)().mark(function ar(Ra,cn){var io,to,no,Mo,ea,Aa,dr,pa,jr;return(0,Me.Z)().wrap(function(br){for(;;)switch(br.prev=br.next){case 0:if(io=Pn.props.beforeUpload,to=Ra,!io){br.next=14;break}return br.prev=3,br.next=6,io(Ra,cn);case 6:to=br.sent,br.next=12;break;case 9:br.prev=9,br.t0=br.catch(3),to=!1;case 12:if(to!==!1){br.next=14;break}return br.abrupt("return",{origin:Ra,parsedFile:null,action:null,data:null});case 14:if(no=Pn.props.action,typeof no!="function"){br.next=21;break}return br.next=18,no(Ra);case 18:Mo=br.sent,br.next=22;break;case 21:Mo=no;case 22:if(ea=Pn.props.data,typeof ea!="function"){br.next=29;break}return br.next=26,ea(Ra);case 26:Aa=br.sent,br.next=30;break;case 29:Aa=ea;case 30:return dr=((0,ye.Z)(to)==="object"||typeof to=="string")&&to?to:Ra,dr instanceof File?pa=dr:pa=new File([dr],Ra.name,{type:Ra.type}),jr=pa,jr.uid=Ra.uid,br.abrupt("return",{origin:Ra,data:Aa,parsedFile:jr,action:Mo});case 35:case"end":return br.stop()}},ar,null,[[3,9]])}));return function(ar,Ra){return yn.apply(this,arguments)}}(),Pn.saveFileInput=function(yn){Pn.fileInput=yn},Pn}return(0,ie.Z)(tn,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(Rn){var gn=this,On=Rn.data,yn=Rn.origin,ar=Rn.action,Ra=Rn.parsedFile;if(this._isMounted){var cn=this.props,io=cn.onStart,to=cn.customRequest,no=cn.name,Mo=cn.headers,ea=cn.withCredentials,Aa=cn.method,dr=yn.uid,pa=to||E,jr={action:ar,filename:no,data:On,file:Ra,headers:Mo,withCredentials:ea,method:Aa||"post",onProgress:function(br){var po=gn.props.onProgress;po==null||po(br,Ra)},onSuccess:function(br,po){var Lo=gn.props.onSuccess;Lo==null||Lo(br,Ra,po),delete gn.reqs[dr]},onError:function(br,po){var Lo=gn.props.onError;Lo==null||Lo(br,po,Ra),delete gn.reqs[dr]}};io(yn),this.reqs[dr]=pa(jr)}}},{key:"reset",value:function(){this.setState({uid:ne()})}},{key:"abort",value:function(Rn){var gn=this.reqs;if(Rn){var On=Rn.uid?Rn.uid:Rn;gn[On]&&gn[On].abort&&gn[On].abort(),delete gn[On]}else Object.keys(gn).forEach(function(yn){gn[yn]&&gn[yn].abort&&gn[yn].abort(),delete gn[yn]})}},{key:"render",value:function(){var Rn=this.props,gn=Rn.component,On=Rn.prefixCls,yn=Rn.className,ar=Rn.disabled,Ra=Rn.id,cn=Rn.style,io=Rn.multiple,to=Rn.accept,no=Rn.capture,Mo=Rn.children,ea=Rn.directory,Aa=Rn.openFileDialogOnClick,dr=Rn.onMouseEnter,pa=Rn.onMouseLeave,jr=(0,ze.Z)(Rn,Pe),Ir=Ie()((0,Ze.Z)((0,Ze.Z)((0,Ze.Z)({},On,!0),"".concat(On,"-disabled"),ar),yn,yn)),br=ea?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},po=ar?{}:{onClick:Aa?this.onClick:function(){},onKeyDown:Aa?this.onKeyDown:function(){},onMouseEnter:dr,onMouseLeave:pa,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return z.createElement(gn,(0,be.Z)({},po,{className:Ir,role:"button",style:cn}),z.createElement("input",(0,be.Z)({},(0,a.Z)(jr,{aria:!0,data:!0}),{id:Ra,disabled:ar,type:"file",ref:this.saveFileInput,onClick:function(Oi){return Oi.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:to},br,{multiple:io,onChange:this.onChange},no!=null?{capture:no}:{})),Mo)}}]),tn}(z.Component),Ee=xe;function De(){}var _e=function(ht){(0,nt.Z)(tn,ht);var qt=(0,je.Z)(tn);function tn(){var Pn;(0,Ne.Z)(this,tn);for(var Rn=arguments.length,gn=new Array(Rn),On=0;On<Rn;On++)gn[On]=arguments[On];return Pn=qt.call.apply(qt,[this].concat(gn)),Pn.uploader=void 0,Pn.saveUploader=function(yn){Pn.uploader=yn},Pn}return(0,ie.Z)(tn,[{key:"abort",value:function(Rn){this.uploader.abort(Rn)}},{key:"render",value:function(){return z.createElement(Ee,(0,be.Z)({},this.props,{ref:this.saveUploader}))}}]),tn}(z.Component);_e.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:De,onError:De,onSuccess:De,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var pt=_e,Be=pt,$e=te(18929),Ke=te(4676),Ve=te(36355),it=te(1684),rt=te(9763),vt=te(31724),Rt={icon:function(qt,tn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:tn}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:qt}}]}},name:"file",theme:"twotone"},$t=Rt,Je=te(7657),st=function(qt,tn){return z.createElement(Je.Z,(0,be.Z)({},qt,{ref:tn,icon:$t}))},At=z.forwardRef(st),Nt=At,St=te(58617),sn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},Fe=sn,Qt=function(qt,tn){return z.createElement(Je.Z,(0,be.Z)({},qt,{ref:tn,icon:Fe}))},Gt=z.forwardRef(Qt),Hn=Gt,Jn={icon:function(qt,tn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:qt}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:tn}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:tn}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:tn}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:qt}}]}},name:"picture",theme:"twotone"},Re=Jn,qe=function(qt,tn){return z.createElement(Je.Z,(0,be.Z)({},qt,{ref:tn,icon:Re}))},tt=z.forwardRef(qe),Le=tt,ft=te(77900),gt=te(56762),Oe=te(62892),ve=te(92343),Ge=te(3113);function We(ht){return Object.assign(Object.assign({},ht),{lastModified:ht.lastModified,lastModifiedDate:ht.lastModifiedDate,name:ht.name,size:ht.size,type:ht.type,uid:ht.uid,percent:0,originFileObj:ht})}function we(ht,qt){const tn=(0,se.Z)(qt),Pn=tn.findIndex(Rn=>{let{uid:gn}=Rn;return gn===ht.uid});return Pn===-1?tn.push(ht):tn[Pn]=ht,tn}function mt(ht,qt){const tn=ht.uid!==void 0?"uid":"name";return qt.filter(Pn=>Pn[tn]===ht[tn])[0]}function et(ht,qt){const tn=ht.uid!==void 0?"uid":"name",Pn=qt.filter(Rn=>Rn[tn]!==ht[tn]);return Pn.length===qt.length?null:Pn}const Ht=function(){const qt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Pn=qt[qt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Pn)||[""])[0]},Se=ht=>ht.indexOf("image/")===0,ut=ht=>{if(ht.type&&!ht.thumbUrl)return Se(ht.type);const qt=ht.thumbUrl||ht.url||"",tn=Ht(qt);return/^data:image\//.test(qt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(tn)?!0:!(/^data:/.test(qt)||tn)},xt=200;function Ae(ht){return new Promise(qt=>{if(!ht.type||!Se(ht.type)){qt("");return}const tn=document.createElement("canvas");tn.width=xt,tn.height=xt,tn.style.cssText=`position: fixed; left: 0; top: 0; width: ${xt}px; height: ${xt}px; z-index: 9999; display: none;`,document.body.appendChild(tn);const Pn=tn.getContext("2d"),Rn=new Image;if(Rn.onload=()=>{const{width:gn,height:On}=Rn;let yn=xt,ar=xt,Ra=0,cn=0;gn>On?(ar=On*(xt/gn),cn=-(ar-yn)/2):(yn=gn*(xt/On),Ra=-(yn-ar)/2),Pn.drawImage(Rn,Ra,cn,yn,ar);const io=tn.toDataURL();document.body.removeChild(tn),window.URL.revokeObjectURL(Rn.src),qt(io)},Rn.crossOrigin="anonymous",ht.type.startsWith("image/svg+xml")){const gn=new FileReader;gn.onload=()=>{gn.result&&(Rn.src=gn.result)},gn.readAsDataURL(ht)}else if(ht.type.startsWith("image/gif")){const gn=new FileReader;gn.onload=()=>{gn.result&&qt(gn.result)},gn.readAsDataURL(ht)}else Rn.src=window.URL.createObjectURL(ht)})}var He=te(26227),ct=te(41464),wt=te(15277),Zt=te(93948),mn=te(6848),Dt=z.forwardRef((ht,qt)=>{let{prefixCls:tn,className:Pn,style:Rn,locale:gn,listType:On,file:yn,items:ar,progress:Ra,iconRender:cn,actionIconRender:io,itemRender:to,isImgUrl:no,showPreviewIcon:Mo,showRemoveIcon:ea,showDownloadIcon:Aa,previewIcon:dr,removeIcon:pa,downloadIcon:jr,onPreview:Ir,onDownload:br,onClose:po}=ht;var Lo,Oi;const{status:vi}=yn,[Ei,$i]=z.useState(vi);z.useEffect(()=>{vi!=="removed"&&$i(vi)},[vi]);const[zn,Ia]=z.useState(!1);z.useEffect(()=>{const Ca=setTimeout(()=>{Ia(!0)},300);return()=>{clearTimeout(Ca)}},[]);const co=cn(yn);let xo=z.createElement("div",{className:`${tn}-icon`},co);if(On==="picture"||On==="picture-card"||On==="picture-circle")if(Ei==="uploading"||!yn.thumbUrl&&!yn.url){const Ca=Ie()(`${tn}-list-item-thumbnail`,{[`${tn}-list-item-file`]:Ei!=="uploading"});xo=z.createElement("div",{className:Ca},co)}else{const Ca=no!=null&&no(yn)?z.createElement("img",{src:yn.thumbUrl||yn.url,alt:yn.name,className:`${tn}-list-item-image`,crossOrigin:yn.crossOrigin}):co,ga=Ie()(`${tn}-list-item-thumbnail`,{[`${tn}-list-item-file`]:no&&!no(yn)});xo=z.createElement("a",{className:ga,onClick:Or=>Ir(yn,Or),href:yn.url||yn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ca)}const wo=Ie()(`${tn}-list-item`,`${tn}-list-item-${Ei}`),ui=typeof yn.linkProps=="string"?JSON.parse(yn.linkProps):yn.linkProps,Bi=ea?io((typeof pa=="function"?pa(yn):pa)||z.createElement(He.Z,null),()=>po(yn),tn,gn.removeFile):null,Yi=Aa&&Ei==="done"?io((typeof jr=="function"?jr(yn):jr)||z.createElement(ct.Z,null),()=>br(yn),tn,gn.downloadFile):null,Mi=On!=="picture-card"&&On!=="picture-circle"&&z.createElement("span",{key:"download-delete",className:Ie()(`${tn}-list-item-actions`,{picture:On==="picture"})},Yi,Bi),Ce=Ie()(`${tn}-list-item-name`),Te=yn.url?[z.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Ce,title:yn.name},ui,{href:yn.url,onClick:Ca=>Ir(yn,Ca)}),yn.name),Mi]:[z.createElement("span",{key:"view",className:Ce,onClick:Ca=>Ir(yn,Ca),title:yn.name},yn.name),Mi],Qe={pointerEvents:"none",opacity:.5},Et=Mo?z.createElement("a",{href:yn.url||yn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:yn.url||yn.thumbUrl?void 0:Qe,onClick:Ca=>Ir(yn,Ca),title:gn.previewFile},typeof dr=="function"?dr(yn):dr||z.createElement(wt.Z,null)):null,Yt=(On==="picture-card"||On==="picture-circle")&&Ei!=="uploading"&&z.createElement("span",{className:`${tn}-list-item-actions`},Et,Ei==="done"&&Yi,Bi),{getPrefixCls:Jt}=z.useContext(Ve.E_),bn=Jt(),Fn=z.createElement("div",{className:wo},xo,Te,Yt,zn&&z.createElement(ft.default,{motionName:`${bn}-fade`,visible:Ei==="uploading",motionDeadline:2e3},Ca=>{let{className:ga}=Ca;const Or="percent"in yn?z.createElement(Zt.Z,Object.assign({},Ra,{type:"line",percent:yn.percent,"aria-label":yn["aria-label"],"aria-labelledby":yn["aria-labelledby"]})):null;return z.createElement("div",{className:Ie()(`${tn}-list-item-progress`,ga)},Or)})),Yn=yn.response&&typeof yn.response=="string"?yn.response:((Lo=yn.error)===null||Lo===void 0?void 0:Lo.statusText)||((Oi=yn.error)===null||Oi===void 0?void 0:Oi.message)||gn.uploadError,Pa=Ei==="error"?z.createElement(mn.Z,{title:Yn,getPopupContainer:Ca=>Ca.parentNode},Fn):Fn;return z.createElement("div",{className:Ie()(`${tn}-list-item-container`,Pn),style:Rn,ref:qt},to?to(Pa,yn,ar,{download:br.bind(null,yn),preview:Ir.bind(null,yn),remove:po.bind(null,yn)}):Pa)});const yt=(ht,qt)=>{const{listType:tn="text",previewFile:Pn=Ae,onPreview:Rn,onDownload:gn,onRemove:On,locale:yn,iconRender:ar,isImageUrl:Ra=ut,prefixCls:cn,items:io=[],showPreviewIcon:to=!0,showRemoveIcon:no=!0,showDownloadIcon:Mo=!1,removeIcon:ea,previewIcon:Aa,downloadIcon:dr,progress:pa={size:[-1,2],showInfo:!1},appendAction:jr,appendActionVisible:Ir=!0,itemRender:br,disabled:po}=ht,Lo=(0,gt.Z)(),[Oi,vi]=z.useState(!1);z.useEffect(()=>{tn!=="picture"&&tn!=="picture-card"&&tn!=="picture-circle"||(io||[]).forEach(Qe=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Qe.originFileObj instanceof File||Qe.originFileObj instanceof Blob)||Qe.thumbUrl!==void 0||(Qe.thumbUrl="",Pn&&Pn(Qe.originFileObj).then(Et=>{Qe.thumbUrl=Et||"",Lo()}))})},[tn,io,Pn]),z.useEffect(()=>{vi(!0)},[]);const Ei=(Qe,Et)=>{if(Rn)return Et==null||Et.preventDefault(),Rn(Qe)},$i=Qe=>{typeof gn=="function"?gn(Qe):Qe.url&&window.open(Qe.url)},zn=Qe=>{On==null||On(Qe)},Ia=Qe=>{if(ar)return ar(Qe,tn);const Et=Qe.status==="uploading",Yt=Ra&&Ra(Qe)?z.createElement(Le,null):z.createElement(Nt,null);let Jt=Et?z.createElement(St.Z,null):z.createElement(Hn,null);return tn==="picture"?Jt=Et?z.createElement(St.Z,null):Yt:(tn==="picture-card"||tn==="picture-circle")&&(Jt=Et?yn.uploading:Yt),Jt},co=(Qe,Et,Yt,Jt)=>{const bn={type:"text",size:"small",title:Jt,onClick:Fn=>{Et(),(0,ve.l$)(Qe)&&Qe.props.onClick&&Qe.props.onClick(Fn)},className:`${Yt}-list-item-action`,disabled:po};if((0,ve.l$)(Qe)){const Fn=(0,ve.Tm)(Qe,Object.assign(Object.assign({},Qe.props),{onClick:()=>{}}));return z.createElement(Ge.ZP,Object.assign({},bn,{icon:Fn}))}return z.createElement(Ge.ZP,Object.assign({},bn),z.createElement("span",null,Qe))};z.useImperativeHandle(qt,()=>({handlePreview:Ei,handleDownload:$i}));const{getPrefixCls:xo}=z.useContext(Ve.E_),wo=xo("upload",cn),ui=xo(),Bi=Ie()(`${wo}-list`,`${wo}-list-${tn}`),Yi=(0,se.Z)(io.map(Qe=>({key:Qe.uid,file:Qe})));let Ce={motionDeadline:2e3,motionName:`${wo}-${tn==="picture-card"||tn==="picture-circle"?"animate-inline":"animate"}`,keys:Yi,motionAppear:Oi};const Te=z.useMemo(()=>{const Qe=Object.assign({},(0,Oe.Z)(ui));return delete Qe.onAppearEnd,delete Qe.onEnterEnd,delete Qe.onLeaveEnd,Qe},[ui]);return tn!=="picture-card"&&tn!=="picture-circle"&&(Ce=Object.assign(Object.assign({},Te),Ce)),z.createElement("div",{className:Bi},z.createElement(ft.CSSMotionList,Object.assign({},Ce,{component:!1}),Qe=>{let{key:Et,file:Yt,className:Jt,style:bn}=Qe;return z.createElement(Dt,{key:Et,locale:yn,prefixCls:wo,className:Jt,style:bn,file:Yt,items:io,progress:pa,listType:tn,isImgUrl:Ra,showPreviewIcon:to,showRemoveIcon:no,showDownloadIcon:Mo,removeIcon:ea,previewIcon:Aa,downloadIcon:dr,iconRender:Ia,actionIconRender:co,itemRender:br,onPreview:Ei,onDownload:$i,onClose:zn})}),jr&&z.createElement(ft.default,Object.assign({},Ce,{visible:Ir,forceRender:!0}),Qe=>{let{className:Et,style:Yt}=Qe;return(0,ve.Tm)(jr,Jt=>({className:Ie()(Jt.className,Et),style:Object.assign(Object.assign(Object.assign({},Yt),{pointerEvents:Et?"none":void 0}),Jt.style)}))}))};var Wt=z.forwardRef(yt),un=te(17313),Vn=te(8378),fn=te(83116),an=te(37613),zt=ht=>{const{componentCls:qt,iconCls:tn}=ht;return{[`${qt}-wrapper`]:{[`${qt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:ht.colorFillAlter,border:`${ht.lineWidth}px dashed ${ht.colorBorder}`,borderRadius:ht.borderRadiusLG,cursor:"pointer",transition:`border-color ${ht.motionDurationSlow}`,[qt]:{padding:`${ht.padding}px 0`},[`${qt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${qt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${qt}-disabled):hover`]:{borderColor:ht.colorPrimaryHover},[`p${qt}-drag-icon`]:{marginBottom:ht.margin,[tn]:{color:ht.colorPrimary,fontSize:ht.uploadThumbnailSize}},[`p${qt}-text`]:{margin:`0 0 ${ht.marginXXS}px`,color:ht.colorTextHeading,fontSize:ht.fontSizeLG},[`p${qt}-hint`]:{color:ht.colorTextDescription,fontSize:ht.fontSize},[`&${qt}-disabled`]:{cursor:"not-allowed",[`p${qt}-drag-icon ${tn},
p${qt}-text,
p${qt}-hint
`]:{color:ht.colorTextDisabled}}}}}},Xt=ht=>{const{componentCls:qt,antCls:tn,iconCls:Pn,fontSize:Rn,lineHeight:gn}=ht,On=`${qt}-list-item`,yn=`${On}-actions`,ar=`${On}-action`,Ra=Math.round(Rn*gn);return{[`${qt}-wrapper`]:{[`${qt}-list`]:Object.assign(Object.assign({},(0,un.dF)()),{lineHeight:ht.lineHeight,[On]:{position:"relative",height:ht.lineHeight*Rn,marginTop:ht.marginXS,fontSize:Rn,display:"flex",alignItems:"center",transition:`background-color ${ht.motionDurationSlow}`,"&:hover":{backgroundColor:ht.controlItemBgHover},[`${On}-name`]:Object.assign(Object.assign({},un.vS),{padding:`0 ${ht.paddingXS}px`,lineHeight:gn,flex:"auto",transition:`all ${ht.motionDurationSlow}`}),[yn]:{[ar]:{opacity:0},[`${ar}${tn}-btn-sm`]:{height:Ra,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
${ar}:focus-visible,
&.picture ${ar}
`]:{opacity:1},[Pn]:{color:ht.actionsColor,transition:`all ${ht.motionDurationSlow}`},[`&:hover ${Pn}`]:{color:ht.colorText}},[`${qt}-icon ${Pn}`]:{color:ht.colorTextDescription,fontSize:Rn},[`${On}-progress`]:{position:"absolute",bottom:-ht.uploadProgressOffset,width:"100%",paddingInlineStart:Rn+ht.paddingXS,fontSize:Rn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${On}:hover ${ar}`]:{opacity:1,color:ht.colorText},[`${On}-error`]:{color:ht.colorError,[`${On}-name, ${qt}-icon ${Pn}`]:{color:ht.colorError},[yn]:{[`${Pn}, ${Pn}:hover`]:{color:ht.colorError},[ar]:{opacity:1}}},[`${qt}-list-item-container`]:{transition:`opacity ${ht.motionDurationSlow}, height ${ht.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Ea=te(36237),qn=te(1950);const Mn=new Ea.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),Ga=new Ea.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Ar=ht=>{const{componentCls:qt}=ht,tn=`${qt}-animate-inline`;return[{[`${qt}-wrapper`]:{[`${tn}-appear, ${tn}-enter, ${tn}-leave`]:{animationDuration:ht.motionDurationSlow,animationTimingFunction:ht.motionEaseInOutCirc,animationFillMode:"forwards"},[`${tn}-appear, ${tn}-enter`]:{animationName:Mn},[`${tn}-leave`]:{animationName:Ga}}},{[`${qt}-wrapper`]:(0,qn.J$)(ht)},Mn,Ga]},Cr=te(30071),Qa=te(64993);const at=ht=>{const{componentCls:qt,iconCls:tn,uploadThumbnailSize:Pn,uploadProgressOffset:Rn}=ht,gn=`${qt}-list`,On=`${gn}-item`;return{[`${qt}-wrapper`]:{[`
${gn}${gn}-picture,
${gn}${gn}-picture-card,
${gn}${gn}-picture-circle
`]:{[On]:{position:"relative",height:Pn+ht.lineWidth*2+ht.paddingXS*2,padding:ht.paddingXS,border:`${ht.lineWidth}px ${ht.lineType} ${ht.colorBorder}`,borderRadius:ht.borderRadiusLG,"&:hover":{background:"transparent"},[`${On}-thumbnail`]:Object.assign(Object.assign({},un.vS),{width:Pn,height:Pn,lineHeight:`${Pn+ht.paddingSM}px`,textAlign:"center",flex:"none",[tn]:{fontSize:ht.fontSizeHeading2,color:ht.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${On}-progress`]:{bottom:Rn,width:`calc(100% - ${ht.paddingSM*2}px)`,marginTop:0,paddingInlineStart:Pn+ht.paddingXS}},[`${On}-error`]:{borderColor:ht.colorError,[`${On}-thumbnail ${tn}`]:{[`svg path[fill='${Cr.blue[0]}']`]:{fill:ht.colorErrorBg},[`svg path[fill='${Cr.blue.primary}']`]:{fill:ht.colorError}}},[`${On}-uploading`]:{borderStyle:"dashed",[`${On}-name`]:{marginBottom:Rn}}},[`${gn}${gn}-picture-circle ${On}`]:{[`&, &::before, ${On}-thumbnail`]:{borderRadius:"50%"}}}}},Mt=ht=>{const{componentCls:qt,iconCls:tn,fontSizeLG:Pn,colorTextLightSolid:Rn}=ht,gn=`${qt}-list`,On=`${gn}-item`,yn=ht.uploadPicCardSize;return{[`
${qt}-wrapper${qt}-picture-card-wrapper,
${qt}-wrapper${qt}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,un.dF)()),{display:"inline-block",width:"100%",[`${qt}${qt}-select`]:{width:yn,height:yn,marginInlineEnd:ht.marginXS,marginBottom:ht.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:ht.colorFillAlter,border:`${ht.lineWidth}px dashed ${ht.colorBorder}`,borderRadius:ht.borderRadiusLG,cursor:"pointer",transition:`border-color ${ht.motionDurationSlow}`,[`> ${qt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${qt}-disabled):hover`]:{borderColor:ht.colorPrimary}},[`${gn}${gn}-picture-card, ${gn}${gn}-picture-circle`]:{[`${gn}-item-container`]:{display:"inline-block",width:yn,height:yn,marginBlock:`0 ${ht.marginXS}px`,marginInline:`0 ${ht.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[On]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${ht.paddingXS*2}px)`,height:`calc(100% - ${ht.paddingXS*2}px)`,backgroundColor:ht.colorBgMask,opacity:0,transition:`all ${ht.motionDurationSlow}`,content:'" "'}},[`${On}:hover`]:{[`&::before, ${On}-actions`]:{opacity:1}},[`${On}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${ht.motionDurationSlow}`,[`${tn}-eye, ${tn}-download, ${tn}-delete`]:{zIndex:10,width:Pn,margin:`0 ${ht.marginXXS}px`,fontSize:Pn,cursor:"pointer",transition:`all ${ht.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${On}-actions, ${On}-actions:hover`]:{[`${tn}-eye, ${tn}-download, ${tn}-delete`]:{color:new Qa.C(Rn).setAlpha(.65).toRgbString(),"&:hover":{color:Rn}}},[`${On}-thumbnail, ${On}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${On}-name`]:{display:"none",textAlign:"center"},[`${On}-file + ${On}-name`]:{position:"absolute",bottom:ht.margin,display:"block",width:`calc(100% - ${ht.paddingXS*2}px)`},[`${On}-uploading`]:{[`&${On}`]:{backgroundColor:ht.colorFillAlter},[`&::before, ${tn}-eye, ${tn}-download, ${tn}-delete`]:{display:"none"}},[`${On}-progress`]:{bottom:ht.marginXL,width:`calc(100% - ${ht.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${qt}-wrapper${qt}-picture-circle-wrapper`]:{[`${qt}${qt}-select`]:{borderRadius:"50%"}}}};var kn=ht=>{const{componentCls:qt}=ht;return{[`${qt}-rtl`]:{direction:"rtl"}}};const dn=ht=>{const{componentCls:qt,colorTextDisabled:tn}=ht;return{[`${qt}-wrapper`]:Object.assign(Object.assign({},(0,un.Wf)(ht)),{[qt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${qt}-select`]:{display:"inline-block"},[`${qt}-disabled`]:{color:tn,cursor:"not-allowed"}})}};var Ln=(0,fn.Z)("Upload",ht=>{const{fontSizeHeading3:qt,fontSize:tn,lineHeight:Pn,lineWidth:Rn,controlHeightLG:gn}=ht,On=Math.round(tn*Pn),yn=(0,an.TS)(ht,{uploadThumbnailSize:qt*2,uploadProgressOffset:On/2+Rn,uploadPicCardSize:gn*2.55});return[dn(yn),zt(yn),at(yn),Mt(yn),Xt(yn),Ar(yn),kn(yn),(0,Vn.Z)(yn)]},ht=>({actionsColor:ht.colorTextDescription})),Xr=function(ht,qt,tn,Pn){function Rn(gn){return gn instanceof tn?gn:new tn(function(On){On(gn)})}return new(tn||(tn=Promise))(function(gn,On){function yn(cn){try{Ra(Pn.next(cn))}catch(io){On(io)}}function ar(cn){try{Ra(Pn.throw(cn))}catch(io){On(io)}}function Ra(cn){cn.done?gn(cn.value):Rn(cn.value).then(yn,ar)}Ra((Pn=Pn.apply(ht,qt||[])).next())})};const Er=`__LIST_IGNORE_${Date.now()}__`,Kr=(ht,qt)=>{const{fileList:tn,defaultFileList:Pn,onRemove:Rn,showUploadList:gn=!0,listType:On="text",onPreview:yn,onDownload:ar,onChange:Ra,onDrop:cn,previewFile:io,disabled:to,locale:no,iconRender:Mo,isImageUrl:ea,progress:Aa,prefixCls:dr,className:pa,type:jr="select",children:Ir,style:br,itemRender:po,maxCount:Lo,data:Oi={},multiple:vi=!1,action:Ei="",accept:$i="",supportServerRender:zn=!0,rootClassName:Ia}=ht,co=z.useContext(it.Z),xo=to!=null?to:co,[wo,ui]=(0,$e.Z)(Pn||[],{value:tn,postState:Rr=>Rr!=null?Rr:[]}),[Bi,Yi]=z.useState("drop"),Mi=z.useRef(null);z.useMemo(()=>{const Rr=Date.now();(tn||[]).forEach((ro,Fo)=>{!ro.uid&&!Object.isFrozen(ro)&&(ro.uid=`__AUTO__${Rr}_${Fo}__`)})},[tn]);const Ce=(Rr,ro,Fo)=>{let vo=(0,se.Z)(ro),Eo=!1;Lo===1?vo=vo.slice(-1):Lo&&(Eo=vo.length>Lo,vo=vo.slice(0,Lo)),(0,Ke.flushSync)(()=>{ui(vo)});const sa={file:Rr,fileList:vo};Fo&&(sa.event=Fo),(!Eo||vo.some(jo=>jo.uid===Rr.uid))&&(0,Ke.flushSync)(()=>{Ra==null||Ra(sa)})},Te=(Rr,ro)=>Xr(void 0,void 0,void 0,function*(){const{beforeUpload:Fo,transformFile:vo}=ht;let Eo=Rr;if(Fo){const sa=yield Fo(Rr,ro);if(sa===!1)return!1;if(delete Rr[Er],sa===Er)return Object.defineProperty(Rr,Er,{value:!0,configurable:!0}),!1;typeof sa=="object"&&sa&&(Eo=sa)}return vo&&(Eo=yield vo(Eo)),Eo}),Qe=Rr=>{const ro=Rr.filter(Eo=>!Eo.file[Er]);if(!ro.length)return;const Fo=ro.map(Eo=>We(Eo.file));let vo=(0,se.Z)(wo);Fo.forEach(Eo=>{vo=we(Eo,vo)}),Fo.forEach((Eo,sa)=>{let jo=Eo;if(ro[sa].parsedFile)Eo.status="uploading";else{const{originFileObj:wi}=Eo;let Zi;try{Zi=new File([wi],wi.name,{type:wi.type})}catch(nl){Zi=new Blob([wi],{type:wi.type}),Zi.name=wi.name,Zi.lastModifiedDate=new Date,Zi.lastModified=new Date().getTime()}Zi.uid=Eo.uid,jo=Zi}Ce(jo,vo)})},Et=(Rr,ro,Fo)=>{try{typeof Rr=="string"&&(Rr=JSON.parse(Rr))}catch(sa){}if(!mt(ro,wo))return;const vo=We(ro);vo.status="done",vo.percent=100,vo.response=Rr,vo.xhr=Fo;const Eo=we(vo,wo);Ce(vo,Eo)},Yt=(Rr,ro)=>{if(!mt(ro,wo))return;const Fo=We(ro);Fo.status="uploading",Fo.percent=Rr.percent;const vo=we(Fo,wo);Ce(Fo,vo,Rr)},Jt=(Rr,ro,Fo)=>{if(!mt(Fo,wo))return;const vo=We(Fo);vo.error=Rr,vo.response=ro,vo.status="error";const Eo=we(vo,wo);Ce(vo,Eo)},bn=Rr=>{let ro;Promise.resolve(typeof Rn=="function"?Rn(Rr):Rn).then(Fo=>{var vo;if(Fo===!1)return;const Eo=et(Rr,wo);Eo&&(ro=Object.assign(Object.assign({},Rr),{status:"removed"}),wo==null||wo.forEach(sa=>{const jo=ro.uid!==void 0?"uid":"name";sa[jo]===ro[jo]&&!Object.isFrozen(sa)&&(sa.status="removed")}),(vo=Mi.current)===null||vo===void 0||vo.abort(ro),Ce(ro,Eo))})},Fn=Rr=>{Yi(Rr.type),Rr.type==="drop"&&(cn==null||cn(Rr))};z.useImperativeHandle(qt,()=>({onBatchStart:Qe,onSuccess:Et,onProgress:Yt,onError:Jt,fileList:wo,upload:Mi.current}));const{getPrefixCls:Yn,direction:Pa,upload:Ca}=z.useContext(Ve.E_),ga=Yn("upload",dr),Or=Object.assign(Object.assign({onBatchStart:Qe,onError:Jt,onProgress:Yt,onSuccess:Et},ht),{data:Oi,multiple:vi,action:Ei,accept:$i,supportServerRender:zn,prefixCls:ga,disabled:xo,beforeUpload:Te,onChange:void 0});delete Or.className,delete Or.style,(!Ir||xo)&&delete Or.id;const[Mr,Ro]=Ln(ga),[Ur]=(0,rt.Z)("Upload",vt.Z.Upload),{showRemoveIcon:la,showPreviewIcon:$n,showDownloadIcon:oa,removeIcon:ra,previewIcon:Nr,downloadIcon:Zr}=typeof gn=="boolean"?{}:gn,hr=(Rr,ro)=>gn?z.createElement(Wt,{prefixCls:ga,listType:On,items:wo,previewFile:io,onPreview:yn,onDownload:ar,onRemove:bn,showRemoveIcon:!xo&&la,showPreviewIcon:$n,showDownloadIcon:oa,removeIcon:ra,previewIcon:Nr,downloadIcon:Zr,iconRender:Mo,locale:Object.assign(Object.assign({},Ur),no),isImageUrl:ea,progress:Aa,appendAction:Rr,appendActionVisible:ro,itemRender:po,disabled:xo}):Rr,xr=Ie()(`${ga}-wrapper`,pa,Ia,Ro,Ca==null?void 0:Ca.className,{[`${ga}-rtl`]:Pa==="rtl",[`${ga}-picture-card-wrapper`]:On==="picture-card",[`${ga}-picture-circle-wrapper`]:On==="picture-circle"}),kr=Object.assign(Object.assign({},Ca==null?void 0:Ca.style),br);if(jr==="drag"){const Rr=Ie()(Ro,ga,`${ga}-drag`,{[`${ga}-drag-uploading`]:wo.some(ro=>ro.status==="uploading"),[`${ga}-drag-hover`]:Bi==="dragover",[`${ga}-disabled`]:xo,[`${ga}-rtl`]:Pa==="rtl"});return Mr(z.createElement("span",{className:xr},z.createElement("div",{className:Rr,style:kr,onDrop:Fn,onDragOver:Fn,onDragLeave:Fn},z.createElement(Be,Object.assign({},Or,{ref:Mi,className:`${ga}-btn`}),z.createElement("div",{className:`${ga}-drag-container`},Ir))),hr()))}const ho=Ie()(ga,`${ga}-select`,{[`${ga}-disabled`]:xo}),yo=(Rr=>z.createElement("div",{className:ho,style:Rr},z.createElement(Be,Object.assign({},Or,{ref:Mi}))))(Ir?void 0:{display:"none"});return Mr(On==="picture-card"||On==="picture-circle"?z.createElement("span",{className:xr},hr(yo,!!Ir)):z.createElement("span",{className:xr},yo,hr()))};var Xa=z.forwardRef(Kr),Nn=function(ht,qt){var tn={};for(var Pn in ht)Object.prototype.hasOwnProperty.call(ht,Pn)&&qt.indexOf(Pn)<0&&(tn[Pn]=ht[Pn]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rn=0,Pn=Object.getOwnPropertySymbols(ht);Rn<Pn.length;Rn++)qt.indexOf(Pn[Rn])<0&&Object.prototype.propertyIsEnumerable.call(ht,Pn[Rn])&&(tn[Pn[Rn]]=ht[Pn[Rn]]);return tn},nr=z.forwardRef((ht,qt)=>{var{style:tn,height:Pn}=ht,Rn=Nn(ht,["style","height"]);return z.createElement(Xa,Object.assign({ref:qt},Rn,{type:"drag",style:Object.assign(Object.assign({},tn),{height:Pn})}))});const sr=Xa;sr.Dragger=nr,sr.LIST_IGNORE=Er;var er=sr},24334:function(Ct,Pt,te){var z,se;(function(he,Ie){Ct.exports=Ie(he)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof te.g!="undefined"?te.g:this,function(he){"use strict";he=he||{};var Ie=he.Base64,be="2.6.4",Ne="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ie=function(_e){for(var pt={},Be=0,$e=_e.length;Be<$e;Be++)pt[_e.charAt(Be)]=Be;return pt}(Ne),nt=String.fromCharCode,je=function(_e){if(_e.length<2){var pt=_e.charCodeAt(0);return pt<128?_e:pt<2048?nt(192|pt>>>6)+nt(128|pt&63):nt(224|pt>>>12&15)+nt(128|pt>>>6&63)+nt(128|pt&63)}else{var pt=65536+(_e.charCodeAt(0)-55296)*1024+(_e.charCodeAt(1)-56320);return nt(240|pt>>>18&7)+nt(128|pt>>>12&63)+nt(128|pt>>>6&63)+nt(128|pt&63)}},Ze=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ze=function(_e){return _e.replace(Ze,je)},Me=function(_e){var pt=[0,2,1][_e.length%3],Be=_e.charCodeAt(0)<<16|(_e.length>1?_e.charCodeAt(1):0)<<8|(_e.length>2?_e.charCodeAt(2):0),$e=[Ne.charAt(Be>>>18),Ne.charAt(Be>>>12&63),pt>=2?"=":Ne.charAt(Be>>>6&63),pt>=1?"=":Ne.charAt(Be&63)];return $e.join("")},ye=he.btoa&&typeof he.btoa=="function"?function(_e){return he.btoa(_e)}:function(_e){if(_e.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return _e.replace(/[\s\S]{1,3}/g,Me)},re=function(_e){return ye(ze(String(_e)))},a=function(_e){return _e.replace(/[+\/]/g,function(pt){return pt=="+"?"-":"_"}).replace(/=/g,"")},y=function(_e,pt){return pt?a(re(_e)):re(_e)},b=function(_e){return y(_e,!0)},E;he.Uint8Array&&(E=function(_e,pt){for(var Be="",$e=0,Ke=_e.length;$e<Ke;$e+=3){var Ve=_e[$e],it=_e[$e+1],rt=_e[$e+2],vt=Ve<<16|it<<8|rt;Be+=Ne.charAt(vt>>>18)+Ne.charAt(vt>>>12&63)+(typeof it!="undefined"?Ne.charAt(vt>>>6&63):"=")+(typeof rt!="undefined"?Ne.charAt(vt&63):"=")}return pt?a(Be):Be});var x=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ee=function(_e){switch(_e.length){case 4:var pt=(7&_e.charCodeAt(0))<<18|(63&_e.charCodeAt(1))<<12|(63&_e.charCodeAt(2))<<6|63&_e.charCodeAt(3),Be=pt-65536;return nt((Be>>>10)+55296)+nt((Be&1023)+56320);case 3:return nt((15&_e.charCodeAt(0))<<12|(63&_e.charCodeAt(1))<<6|63&_e.charCodeAt(2));default:return nt((31&_e.charCodeAt(0))<<6|63&_e.charCodeAt(1))}},ne=function(_e){return _e.replace(x,ee)},oe=function(_e){var pt=_e.length,Be=pt%4,$e=(pt>0?ie[_e.charAt(0)]<<18:0)|(pt>1?ie[_e.charAt(1)]<<12:0)|(pt>2?ie[_e.charAt(2)]<<6:0)|(pt>3?ie[_e.charAt(3)]:0),Ke=[nt($e>>>16),nt($e>>>8&255),nt($e&255)];return Ke.length-=[0,0,2,1][Be],Ke.join("")},ae=he.atob&&typeof he.atob=="function"?function(_e){return he.atob(_e)}:function(_e){return _e.replace(/\S{1,4}/g,oe)},ue=function(_e){return ae(String(_e).replace(/[^A-Za-z0-9\+\/]/g,""))},me=function(_e){return ne(ae(_e))},fe=function(_e){return String(_e).replace(/[-_]/g,function(pt){return pt=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Pe=function(_e){return me(fe(_e))},xe;he.Uint8Array&&(xe=function(_e){return Uint8Array.from(ue(fe(_e)),function(pt){return pt.charCodeAt(0)})});var Ee=function(){var _e=he.Base64;return he.Base64=Ie,_e};if(he.Base64={VERSION:be,atob:ue,btoa:ye,fromBase64:Pe,toBase64:y,utob:ze,encode:y,encodeURI:b,btou:ne,decode:Pe,noConflict:Ee,fromUint8Array:E,toUint8Array:xe},typeof Object.defineProperty=="function"){var De=function(_e){return{value:_e,enumerable:!1,writable:!0,configurable:!0}};he.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",De(function(){return Pe(this)})),Object.defineProperty(String.prototype,"toBase64",De(function(_e){return y(this,_e)})),Object.defineProperty(String.prototype,"toBase64URI",De(function(){return y(this,!0)}))}}return he.Meteor&&(Base64=he.Base64),Ct.exports?Ct.exports.Base64=he.Base64:(z=[],se=function(){return he.Base64}.apply(Pt,z),se!==void 0&&(Ct.exports=se)),{Base64:he.Base64}})},39417:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return me}});var z=te(60499),se=te(18642),he=te(42244),Ie=te(85899),be=te(38705),Ne=te(17212),ie=te(15793),nt=te(39153),je=te(55401),Ze=te(92310),ze=te.n(Ze),Me=te(26112),ye=te(59301),re=te(39378),a=function(Pe){for(var xe=Pe.prefixCls,Ee=Pe.level,De=Pe.isStart,_e=Pe.isEnd,pt="".concat(xe,"-indent-unit"),Be=[],$e=0;$e<Ee;$e+=1){var Ke;Be.push(ye.createElement("span",{key:$e,className:ze()(pt,(Ke={},(0,se.Z)(Ke,"".concat(pt,"-start"),De[$e]),(0,se.Z)(Ke,"".concat(pt,"-end"),_e[$e]),Ke))}))}return ye.createElement("span",{"aria-hidden":"true",className:"".concat(xe,"-indent")},Be)},y=ye.memo(a),b=te(67841),E=te(71430),x=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ee="open",ne="close",oe="---",ae=function(fe){(0,nt.Z)(xe,fe);var Pe=(0,je.Z)(xe);function xe(){var Ee;(0,be.Z)(this,xe);for(var De=arguments.length,_e=new Array(De),pt=0;pt<De;pt++)_e[pt]=arguments[pt];return Ee=Pe.call.apply(Pe,[this].concat(_e)),Ee.state={dragNodeHighlight:!1},Ee.selectHandle=void 0,Ee.cacheIndent=void 0,Ee.onSelectorClick=function(Be){var $e=Ee.props.context.onNodeClick;$e(Be,(0,E.F)(Ee.props)),Ee.isSelectable()?Ee.onSelect(Be):Ee.onCheck(Be)},Ee.onSelectorDoubleClick=function(Be){var $e=Ee.props.context.onNodeDoubleClick;$e(Be,(0,E.F)(Ee.props))},Ee.onSelect=function(Be){if(!Ee.isDisabled()){var $e=Ee.props.context.onNodeSelect;$e(Be,(0,E.F)(Ee.props))}},Ee.onCheck=function(Be){if(!Ee.isDisabled()){var $e=Ee.props,Ke=$e.disableCheckbox,Ve=$e.checked,it=Ee.props.context.onNodeCheck;if(!(!Ee.isCheckable()||Ke)){var rt=!Ve;it(Be,(0,E.F)(Ee.props),rt)}}},Ee.onMouseEnter=function(Be){var $e=Ee.props.context.onNodeMouseEnter;$e(Be,(0,E.F)(Ee.props))},Ee.onMouseLeave=function(Be){var $e=Ee.props.context.onNodeMouseLeave;$e(Be,(0,E.F)(Ee.props))},Ee.onContextMenu=function(Be){var $e=Ee.props.context.onNodeContextMenu;$e(Be,(0,E.F)(Ee.props))},Ee.onDragStart=function(Be){var $e=Ee.props.context.onNodeDragStart;Be.stopPropagation(),Ee.setState({dragNodeHighlight:!0}),$e(Be,(0,ie.Z)(Ee));try{Be.dataTransfer.setData("text/plain","")}catch(Ke){}},Ee.onDragEnter=function(Be){var $e=Ee.props.context.onNodeDragEnter;Be.preventDefault(),Be.stopPropagation(),$e(Be,(0,ie.Z)(Ee))},Ee.onDragOver=function(Be){var $e=Ee.props.context.onNodeDragOver;Be.preventDefault(),Be.stopPropagation(),$e(Be,(0,ie.Z)(Ee))},Ee.onDragLeave=function(Be){var $e=Ee.props.context.onNodeDragLeave;Be.stopPropagation(),$e(Be,(0,ie.Z)(Ee))},Ee.onDragEnd=function(Be){var $e=Ee.props.context.onNodeDragEnd;Be.stopPropagation(),Ee.setState({dragNodeHighlight:!1}),$e(Be,(0,ie.Z)(Ee))},Ee.onDrop=function(Be){var $e=Ee.props.context.onNodeDrop;Be.preventDefault(),Be.stopPropagation(),Ee.setState({dragNodeHighlight:!1}),$e(Be,(0,ie.Z)(Ee))},Ee.onExpand=function(Be){var $e=Ee.props,Ke=$e.loading,Ve=$e.context.onNodeExpand;Ke||Ve(Be,(0,E.F)(Ee.props))},Ee.setSelectHandle=function(Be){Ee.selectHandle=Be},Ee.getNodeState=function(){var Be=Ee.props.expanded;return Ee.isLeaf()?null:Be?ee:ne},Ee.hasChildren=function(){var Be=Ee.props.eventKey,$e=Ee.props.context.keyEntities,Ke=(0,b.Z)($e,Be)||{},Ve=Ke.children;return!!(Ve||[]).length},Ee.isLeaf=function(){var Be=Ee.props,$e=Be.isLeaf,Ke=Be.loaded,Ve=Ee.props.context.loadData,it=Ee.hasChildren();return $e===!1?!1:$e||!Ve&&!it||Ve&&Ke&&!it},Ee.isDisabled=function(){var Be=Ee.props.disabled,$e=Ee.props.context.disabled;return!!($e||Be)},Ee.isCheckable=function(){var Be=Ee.props.checkable,$e=Ee.props.context.checkable;return!$e||Be===!1?!1:$e},Ee.syncLoadData=function(Be){var $e=Be.expanded,Ke=Be.loading,Ve=Be.loaded,it=Ee.props.context,rt=it.loadData,vt=it.onNodeLoad;Ke||rt&&$e&&!Ee.isLeaf()&&!Ee.hasChildren()&&!Ve&&vt((0,E.F)(Ee.props))},Ee.isDraggable=function(){var Be=Ee.props,$e=Be.data,Ke=Be.context.draggable;return!!(Ke&&(!Ke.nodeDraggable||Ke.nodeDraggable($e)))},Ee.renderDragHandler=function(){var Be=Ee.props.context,$e=Be.draggable,Ke=Be.prefixCls;return $e!=null&&$e.icon?ye.createElement("span",{className:"".concat(Ke,"-draggable-icon")},$e.icon):null},Ee.renderSwitcherIconDom=function(Be){var $e=Ee.props.switcherIcon,Ke=Ee.props.context.switcherIcon,Ve=$e||Ke;return typeof Ve=="function"?Ve((0,Ie.Z)((0,Ie.Z)({},Ee.props),{},{isLeaf:Be})):Ve},Ee.renderSwitcher=function(){var Be=Ee.props.expanded,$e=Ee.props.context.prefixCls;if(Ee.isLeaf()){var Ke=Ee.renderSwitcherIconDom(!0);return Ke!==!1?ye.createElement("span",{className:ze()("".concat($e,"-switcher"),"".concat($e,"-switcher-noop"))},Ke):null}var Ve=ze()("".concat($e,"-switcher"),"".concat($e,"-switcher_").concat(Be?ee:ne)),it=Ee.renderSwitcherIconDom(!1);return it!==!1?ye.createElement("span",{onClick:Ee.onExpand,className:Ve},it):null},Ee.renderCheckbox=function(){var Be=Ee.props,$e=Be.checked,Ke=Be.halfChecked,Ve=Be.disableCheckbox,it=Ee.props.context.prefixCls,rt=Ee.isDisabled(),vt=Ee.isCheckable();if(!vt)return null;var Rt=typeof vt!="boolean"?vt:null;return ye.createElement("span",{className:ze()("".concat(it,"-checkbox"),$e&&"".concat(it,"-checkbox-checked"),!$e&&Ke&&"".concat(it,"-checkbox-indeterminate"),(rt||Ve)&&"".concat(it,"-checkbox-disabled")),onClick:Ee.onCheck},Rt)},Ee.renderIcon=function(){var Be=Ee.props.loading,$e=Ee.props.context.prefixCls;return ye.createElement("span",{className:ze()("".concat($e,"-iconEle"),"".concat($e,"-icon__").concat(Ee.getNodeState()||"docu"),Be&&"".concat($e,"-icon_loading"))})},Ee.renderSelector=function(){var Be=Ee.state.dragNodeHighlight,$e=Ee.props,Ke=$e.title,Ve=Ke===void 0?oe:Ke,it=$e.selected,rt=$e.icon,vt=$e.loading,Rt=$e.data,$t=Ee.props.context,Je=$t.prefixCls,st=$t.showIcon,At=$t.icon,Nt=$t.loadData,St=$t.titleRender,sn=Ee.isDisabled(),Fe="".concat(Je,"-node-content-wrapper"),Qt;if(st){var Gt=rt||At;Qt=Gt?ye.createElement("span",{className:ze()("".concat(Je,"-iconEle"),"".concat(Je,"-icon__customize"))},typeof Gt=="function"?Gt(Ee.props):Gt):Ee.renderIcon()}else Nt&&vt&&(Qt=Ee.renderIcon());var Hn;typeof Ve=="function"?Hn=Ve(Rt):St?Hn=St(Rt):Hn=Ve;var Jn=ye.createElement("span",{className:"".concat(Je,"-title")},Hn);return ye.createElement("span",{ref:Ee.setSelectHandle,title:typeof Ve=="string"?Ve:"",className:ze()("".concat(Fe),"".concat(Fe,"-").concat(Ee.getNodeState()||"normal"),!sn&&(it||Be)&&"".concat(Je,"-node-selected")),onMouseEnter:Ee.onMouseEnter,onMouseLeave:Ee.onMouseLeave,onContextMenu:Ee.onContextMenu,onClick:Ee.onSelectorClick,onDoubleClick:Ee.onSelectorDoubleClick},Qt,Jn,Ee.renderDropIndicator())},Ee.renderDropIndicator=function(){var Be=Ee.props,$e=Be.disabled,Ke=Be.eventKey,Ve=Ee.props.context,it=Ve.draggable,rt=Ve.dropLevelOffset,vt=Ve.dropPosition,Rt=Ve.prefixCls,$t=Ve.indent,Je=Ve.dropIndicatorRender,st=Ve.dragOverNodeKey,At=Ve.direction,Nt=!!it,St=!$e&&Nt&&st===Ke,sn=$t!=null?$t:Ee.cacheIndent;return Ee.cacheIndent=$t,St?Je({dropPosition:vt,dropLevelOffset:rt,indent:sn,prefixCls:Rt,direction:At}):null},Ee}return(0,Ne.Z)(xe,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var De=this.props.selectable,_e=this.props.context.selectable;return typeof De=="boolean"?De:_e}},{key:"render",value:function(){var De,_e=this.props,pt=_e.eventKey,Be=_e.className,$e=_e.style,Ke=_e.dragOver,Ve=_e.dragOverGapTop,it=_e.dragOverGapBottom,rt=_e.isLeaf,vt=_e.isStart,Rt=_e.isEnd,$t=_e.expanded,Je=_e.selected,st=_e.checked,At=_e.halfChecked,Nt=_e.loading,St=_e.domRef,sn=_e.active,Fe=_e.data,Qt=_e.onMouseMove,Gt=_e.selectable,Hn=(0,he.Z)(_e,x),Jn=this.props.context,Re=Jn.prefixCls,qe=Jn.filterTreeNode,tt=Jn.keyEntities,Le=Jn.dropContainerKey,ft=Jn.dropTargetKey,gt=Jn.draggingNodeKey,Oe=this.isDisabled(),ve=(0,Me.Z)(Hn,{aria:!0,data:!0}),Ge=(0,b.Z)(tt,pt)||{},We=Ge.level,we=Rt[Rt.length-1],mt=this.isDraggable(),et=!Oe&&mt,Ht=gt===pt,Se=Gt!==void 0?{"aria-selected":!!Gt}:void 0;return ye.createElement("div",(0,z.Z)({ref:St,className:ze()(Be,"".concat(Re,"-treenode"),(De={},(0,se.Z)(De,"".concat(Re,"-treenode-disabled"),Oe),(0,se.Z)(De,"".concat(Re,"-treenode-switcher-").concat($t?"open":"close"),!rt),(0,se.Z)(De,"".concat(Re,"-treenode-checkbox-checked"),st),(0,se.Z)(De,"".concat(Re,"-treenode-checkbox-indeterminate"),At),(0,se.Z)(De,"".concat(Re,"-treenode-selected"),Je),(0,se.Z)(De,"".concat(Re,"-treenode-loading"),Nt),(0,se.Z)(De,"".concat(Re,"-treenode-active"),sn),(0,se.Z)(De,"".concat(Re,"-treenode-leaf-last"),we),(0,se.Z)(De,"".concat(Re,"-treenode-draggable"),mt),(0,se.Z)(De,"dragging",Ht),(0,se.Z)(De,"drop-target",ft===pt),(0,se.Z)(De,"drop-container",Le===pt),(0,se.Z)(De,"drag-over",!Oe&&Ke),(0,se.Z)(De,"drag-over-gap-top",!Oe&&Ve),(0,se.Z)(De,"drag-over-gap-bottom",!Oe&&it),(0,se.Z)(De,"filter-node",qe&&qe((0,E.F)(this.props))),De)),style:$e,draggable:et,"aria-grabbed":Ht,onDragStart:et?this.onDragStart:void 0,onDragEnter:mt?this.onDragEnter:void 0,onDragOver:mt?this.onDragOver:void 0,onDragLeave:mt?this.onDragLeave:void 0,onDrop:mt?this.onDrop:void 0,onDragEnd:mt?this.onDragEnd:void 0,onMouseMove:Qt},Se,ve),ye.createElement(y,{prefixCls:Re,level:We,isStart:vt,isEnd:Rt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),xe}(ye.Component),ue=function(Pe){return ye.createElement(re.k.Consumer,null,function(xe){return ye.createElement(ae,(0,z.Z)({},Pe,{context:xe}))})};ue.displayName="TreeNode",ue.isTreeNode=1;var me=ue},39378:function(Ct,Pt,te){"use strict";te.d(Pt,{k:function(){return se}});var z=te(59301),se=z.createContext(null)},38028:function(Ct,Pt,te){"use strict";te.d(Pt,{O:function(){return me.Z},Z:function(){return Jn}});var z=te(60499),se=te(18642),he=te(43749),Ie=te(85899),be=te(77654),Ne=te(38705),ie=te(17212),nt=te(15793),je=te(39153),Ze=te(55401),ze=te(92310),Me=te.n(ze),ye=te(10228),re=te(26112),a=te(48736),y=te(59301),b=te(39378);function E(Re){var qe=Re.dropPosition,tt=Re.dropLevelOffset,Le=Re.indent,ft={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(qe){case-1:ft.top=0,ft.left=-tt*Le;break;case 1:ft.bottom=0,ft.left=-tt*Le;break;case 0:ft.bottom=0,ft.left=Le;break}return y.createElement("div",{style:ft})}function x(Re){if(Re==null)throw new TypeError("Cannot destructure "+Re)}var ee=te(72190),ne=te(42244),oe=te(34280),ae=te(48911),ue=te(77900),me=te(39417);function fe(Re,qe){var tt=y.useState(!1),Le=(0,ee.Z)(tt,2),ft=Le[0],gt=Le[1];y.useLayoutEffect(function(){if(ft)return Re(),function(){qe()}},[ft]),y.useLayoutEffect(function(){return gt(!0),function(){gt(!1)}},[])}var Pe=te(71430),xe=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Ee=function(qe,tt){var Le=qe.className,ft=qe.style,gt=qe.motion,Oe=qe.motionNodes,ve=qe.motionType,Ge=qe.onMotionStart,We=qe.onMotionEnd,we=qe.active,mt=qe.treeNodeRequiredProps,et=(0,ne.Z)(qe,xe),Ht=y.useState(!0),Se=(0,ee.Z)(Ht,2),ut=Se[0],xt=Se[1],Ae=y.useContext(b.k),He=Ae.prefixCls,ct=Oe&&ve!=="hide";(0,oe.Z)(function(){Oe&&ct!==ut&&xt(ct)},[Oe]);var wt=function(){Oe&&Ge()},Zt=y.useRef(!1),mn=function(){Oe&&!Zt.current&&(Zt.current=!0,We())};fe(wt,mn);var dt=function(yt){ct===yt&&mn()};return Oe?y.createElement(ue.default,(0,z.Z)({ref:tt,visible:ut},gt,{motionAppear:ve==="show",onVisibleChanged:dt}),function(Dt,yt){var en=Dt.className,Wt=Dt.style;return y.createElement("div",{ref:yt,className:Me()("".concat(He,"-treenode-motion"),en),style:Wt},Oe.map(function(un){var Vn=(0,z.Z)({},(x(un.data),un.data)),fn=un.title,an=un.key,Un=un.isStart,zt=un.isEnd;delete Vn.children;var Tt=(0,Pe.H8)(an,mt);return y.createElement(me.Z,(0,z.Z)({},Vn,Tt,{title:fn,active:we,data:un.data,key:an,isStart:Un,isEnd:zt}))}))}):y.createElement(me.Z,(0,z.Z)({domRef:tt,className:Le,style:ft},et,{active:we}))};Ee.displayName="MotionTreeNode";var De=y.forwardRef(Ee),_e=De;function pt(){var Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],tt=Re.length,Le=qe.length;if(Math.abs(tt-Le)!==1)return{add:!1,key:null};function ft(gt,Oe){var ve=new Map;gt.forEach(function(We){ve.set(We,!0)});var Ge=Oe.filter(function(We){return!ve.has(We)});return Ge.length===1?Ge[0]:null}return tt<Le?{add:!0,key:ft(Re,qe)}:{add:!1,key:ft(qe,Re)}}function Be(Re,qe,tt){var Le=Re.findIndex(function(ve){return ve.key===tt}),ft=Re[Le+1],gt=qe.findIndex(function(ve){return ve.key===tt});if(ft){var Oe=qe.findIndex(function(ve){return ve.key===ft.key});return qe.slice(gt+1,Oe)}return qe.slice(gt+1)}var $e=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],Ke={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Ve=function(){},it="RC_TREE_MOTION_".concat(Math.random()),rt={key:it},vt={key:it,level:0,index:0,pos:"0",node:rt,nodes:[rt]},Rt={parent:null,children:[],pos:vt.pos,data:rt,title:null,key:it,isStart:[],isEnd:[]};function $t(Re,qe,tt,Le){return qe===!1||!tt?Re:Re.slice(0,Math.ceil(tt/Le)+1)}function Je(Re){var qe=Re.key,tt=Re.pos;return(0,Pe.km)(qe,tt)}function st(Re){for(var qe=String(Re.data.key),tt=Re;tt.parent;)tt=tt.parent,qe="".concat(tt.data.key," > ").concat(qe);return qe}var At=y.forwardRef(function(Re,qe){var tt=Re.prefixCls,Le=Re.data,ft=Re.selectable,gt=Re.checkable,Oe=Re.expandedKeys,ve=Re.selectedKeys,Ge=Re.checkedKeys,We=Re.loadedKeys,we=Re.loadingKeys,mt=Re.halfCheckedKeys,et=Re.keyEntities,Ht=Re.disabled,Se=Re.dragging,ut=Re.dragOverNodeKey,xt=Re.dropPosition,Ae=Re.motion,He=Re.height,ct=Re.itemHeight,wt=Re.virtual,Zt=Re.focusable,mn=Re.activeItem,dt=Re.focused,Dt=Re.tabIndex,yt=Re.onKeyDown,en=Re.onFocus,Wt=Re.onBlur,un=Re.onActiveChange,Vn=Re.onListChangeStart,fn=Re.onListChangeEnd,an=(0,ne.Z)(Re,$e),Un=y.useRef(null),zt=y.useRef(null);y.useImperativeHandle(qe,function(){return{scrollTo:function(er){Un.current.scrollTo(er)},getIndentWidth:function(){return zt.current.offsetWidth}}});var Tt=y.useState(Oe),Xt=(0,ee.Z)(Tt,2),Ea=Xt[0],qn=Xt[1],Mn=y.useState(Le),Ga=(0,ee.Z)(Mn,2),La=Ga[0],Ar=Ga[1],Cr=y.useState(Le),Qa=(0,ee.Z)(Cr,2),at=Qa[0],Mt=Qa[1],Ft=y.useState([]),kn=(0,ee.Z)(Ft,2),dn=kn[0],Ln=kn[1],Xr=y.useState(null),Er=(0,ee.Z)(Xr,2),Kr=Er[0],oo=Er[1],Xa=y.useRef(Le);Xa.current=Le;function Nn(){var sr=Xa.current;Ar(sr),Mt(sr),Ln([]),oo(null),fn()}(0,oe.Z)(function(){qn(Oe);var sr=pt(Ea,Oe);if(sr.key!==null)if(sr.add){var er=La.findIndex(function(gn){var On=gn.key;return On===sr.key}),ht=$t(Be(La,Le,sr.key),wt,He,ct),qt=La.slice();qt.splice(er+1,0,Rt),Mt(qt),Ln(ht),oo("show")}else{var tn=Le.findIndex(function(gn){var On=gn.key;return On===sr.key}),Pn=$t(Be(Le,La,sr.key),wt,He,ct),Rn=Le.slice();Rn.splice(tn+1,0,Rt),Mt(Rn),Ln(Pn),oo("hide")}else La!==Le&&(Ar(Le),Mt(Le))},[Oe,Le]),y.useEffect(function(){Se||Nn()},[Se]);var ur=Ae?at:Le,nr={expandedKeys:Oe,selectedKeys:ve,loadedKeys:We,loadingKeys:we,checkedKeys:Ge,halfCheckedKeys:mt,dragOverNodeKey:ut,dropPosition:xt,keyEntities:et};return y.createElement(y.Fragment,null,dt&&mn&&y.createElement("span",{style:Ke,"aria-live":"assertive"},st(mn)),y.createElement("div",null,y.createElement("input",{style:Ke,disabled:Zt===!1||Ht,tabIndex:Zt!==!1?Dt:null,onKeyDown:yt,onFocus:en,onBlur:Wt,value:"",onChange:Ve,"aria-label":"for screen reader"})),y.createElement("div",{className:"".concat(tt,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},y.createElement("div",{className:"".concat(tt,"-indent")},y.createElement("div",{ref:zt,className:"".concat(tt,"-indent-unit")}))),y.createElement(ae.Z,(0,z.Z)({},an,{data:ur,itemKey:Je,height:He,fullHeight:!1,virtual:wt,itemHeight:ct,prefixCls:"".concat(tt,"-list"),ref:Un,onVisibleChange:function(er,ht){var qt=new Set(er),tn=ht.filter(function(Pn){return!qt.has(Pn)});tn.some(function(Pn){return Je(Pn)===it})&&Nn()}}),function(sr){var er=sr.pos,ht=(0,z.Z)({},(x(sr.data),sr.data)),qt=sr.title,tn=sr.key,Pn=sr.isStart,Rn=sr.isEnd,gn=(0,Pe.km)(tn,er);delete ht.key,delete ht.children;var On=(0,Pe.H8)(gn,nr);return y.createElement(_e,(0,z.Z)({},ht,On,{title:qt,active:!!mn&&tn===mn.key,pos:er,data:sr.data,isStart:Pn,isEnd:Rn,motion:Ae,motionNodes:tn===it?dn:null,motionType:Kr,onMotionStart:Vn,onMotionEnd:Nn,treeNodeRequiredProps:nr,onMouseMove:function(){un(null)}}))}))});At.displayName="NodeList";var Nt=At,St=te(35654),sn=te(90782),Fe=te(67841),Qt=10,Gt=function(Re){(0,je.Z)(tt,Re);var qe=(0,Ze.Z)(tt);function tt(){var Le;(0,Ne.Z)(this,tt);for(var ft=arguments.length,gt=new Array(ft),Oe=0;Oe<ft;Oe++)gt[Oe]=arguments[Oe];return Le=qe.call.apply(qe,[this].concat(gt)),Le.destroyed=!1,Le.delayedDragEnterLogic=void 0,Le.loadingRetryTimes={},Le.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,Pe.w$)()},Le.dragStartMousePosition=null,Le.dragNode=void 0,Le.currentMouseOverDroppableNodeKey=null,Le.listRef=y.createRef(),Le.onNodeDragStart=function(ve,Ge){var We=Le.state,we=We.expandedKeys,mt=We.keyEntities,et=Le.props.onDragStart,Ht=Ge.props.eventKey;Le.dragNode=Ge,Le.dragStartMousePosition={x:ve.clientX,y:ve.clientY};var Se=(0,St._5)(we,Ht);Le.setState({draggingNodeKey:Ht,dragChildrenKeys:(0,St.wA)(Ht,mt),indent:Le.listRef.current.getIndentWidth()}),Le.setExpandedKeys(Se),window.addEventListener("dragend",Le.onWindowDragEnd),et==null||et({event:ve,node:(0,Pe.F)(Ge.props)})},Le.onNodeDragEnter=function(ve,Ge){var We=Le.state,we=We.expandedKeys,mt=We.keyEntities,et=We.dragChildrenKeys,Ht=We.flattenNodes,Se=We.indent,ut=Le.props,xt=ut.onDragEnter,Ae=ut.onExpand,He=ut.allowDrop,ct=ut.direction,wt=Ge.props,Zt=wt.pos,mn=wt.eventKey,dt=(0,nt.Z)(Le),Dt=dt.dragNode;if(Le.currentMouseOverDroppableNodeKey!==mn&&(Le.currentMouseOverDroppableNodeKey=mn),!Dt){Le.resetDragState();return}var yt=(0,St.OM)(ve,Dt,Ge,Se,Le.dragStartMousePosition,He,Ht,mt,we,ct),en=yt.dropPosition,Wt=yt.dropLevelOffset,un=yt.dropTargetKey,Vn=yt.dropContainerKey,fn=yt.dropTargetPos,an=yt.dropAllowed,Un=yt.dragOverNodeKey;if(et.indexOf(un)!==-1||!an){Le.resetDragState();return}if(Le.delayedDragEnterLogic||(Le.delayedDragEnterLogic={}),Object.keys(Le.delayedDragEnterLogic).forEach(function(zt){clearTimeout(Le.delayedDragEnterLogic[zt])}),Dt.props.eventKey!==Ge.props.eventKey&&(ve.persist(),Le.delayedDragEnterLogic[Zt]=window.setTimeout(function(){if(Le.state.draggingNodeKey!==null){var zt=(0,be.Z)(we),Tt=(0,Fe.Z)(mt,Ge.props.eventKey);Tt&&(Tt.children||[]).length&&(zt=(0,St.L0)(we,Ge.props.eventKey)),"expandedKeys"in Le.props||Le.setExpandedKeys(zt),Ae==null||Ae(zt,{node:(0,Pe.F)(Ge.props),expanded:!0,nativeEvent:ve.nativeEvent})}},800)),Dt.props.eventKey===un&&Wt===0){Le.resetDragState();return}Le.setState({dragOverNodeKey:Un,dropPosition:en,dropLevelOffset:Wt,dropTargetKey:un,dropContainerKey:Vn,dropTargetPos:fn,dropAllowed:an}),xt==null||xt({event:ve,node:(0,Pe.F)(Ge.props),expandedKeys:we})},Le.onNodeDragOver=function(ve,Ge){var We=Le.state,we=We.dragChildrenKeys,mt=We.flattenNodes,et=We.keyEntities,Ht=We.expandedKeys,Se=We.indent,ut=Le.props,xt=ut.onDragOver,Ae=ut.allowDrop,He=ut.direction,ct=(0,nt.Z)(Le),wt=ct.dragNode;if(wt){var Zt=(0,St.OM)(ve,wt,Ge,Se,Le.dragStartMousePosition,Ae,mt,et,Ht,He),mn=Zt.dropPosition,dt=Zt.dropLevelOffset,Dt=Zt.dropTargetKey,yt=Zt.dropContainerKey,en=Zt.dropAllowed,Wt=Zt.dropTargetPos,un=Zt.dragOverNodeKey;we.indexOf(Dt)!==-1||!en||(wt.props.eventKey===Dt&&dt===0?Le.state.dropPosition===null&&Le.state.dropLevelOffset===null&&Le.state.dropTargetKey===null&&Le.state.dropContainerKey===null&&Le.state.dropTargetPos===null&&Le.state.dropAllowed===!1&&Le.state.dragOverNodeKey===null||Le.resetDragState():mn===Le.state.dropPosition&&dt===Le.state.dropLevelOffset&&Dt===Le.state.dropTargetKey&&yt===Le.state.dropContainerKey&&Wt===Le.state.dropTargetPos&&en===Le.state.dropAllowed&&un===Le.state.dragOverNodeKey||Le.setState({dropPosition:mn,dropLevelOffset:dt,dropTargetKey:Dt,dropContainerKey:yt,dropTargetPos:Wt,dropAllowed:en,dragOverNodeKey:un}),xt==null||xt({event:ve,node:(0,Pe.F)(Ge.props)}))}},Le.onNodeDragLeave=function(ve,Ge){Le.currentMouseOverDroppableNodeKey===Ge.props.eventKey&&!ve.currentTarget.contains(ve.relatedTarget)&&(Le.resetDragState(),Le.currentMouseOverDroppableNodeKey=null);var We=Le.props.onDragLeave;We==null||We({event:ve,node:(0,Pe.F)(Ge.props)})},Le.onWindowDragEnd=function(ve){Le.onNodeDragEnd(ve,null,!0),window.removeEventListener("dragend",Le.onWindowDragEnd)},Le.onNodeDragEnd=function(ve,Ge){var We=Le.props.onDragEnd;Le.setState({dragOverNodeKey:null}),Le.cleanDragState(),We==null||We({event:ve,node:(0,Pe.F)(Ge.props)}),Le.dragNode=null,window.removeEventListener("dragend",Le.onWindowDragEnd)},Le.onNodeDrop=function(ve,Ge){var We,we=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,mt=Le.state,et=mt.dragChildrenKeys,Ht=mt.dropPosition,Se=mt.dropTargetKey,ut=mt.dropTargetPos,xt=mt.dropAllowed;if(xt){var Ae=Le.props.onDrop;if(Le.setState({dragOverNodeKey:null}),Le.cleanDragState(),Se!==null){var He=(0,Ie.Z)((0,Ie.Z)({},(0,Pe.H8)(Se,Le.getTreeNodeRequiredProps())),{},{active:((We=Le.getActiveItem())===null||We===void 0?void 0:We.key)===Se,data:(0,Fe.Z)(Le.state.keyEntities,Se).node}),ct=et.indexOf(Se)!==-1;(0,a.ZP)(!ct,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var wt=(0,St.yx)(ut),Zt={event:ve,node:(0,Pe.F)(He),dragNode:Le.dragNode?(0,Pe.F)(Le.dragNode.props):null,dragNodesKeys:[Le.dragNode.props.eventKey].concat(et),dropToGap:Ht!==0,dropPosition:Ht+Number(wt[wt.length-1])};we||Ae==null||Ae(Zt),Le.dragNode=null}}},Le.cleanDragState=function(){var ve=Le.state.draggingNodeKey;ve!==null&&Le.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Le.dragStartMousePosition=null,Le.currentMouseOverDroppableNodeKey=null},Le.triggerExpandActionExpand=function(ve,Ge){var We=Le.state,we=We.expandedKeys,mt=We.flattenNodes,et=Ge.expanded,Ht=Ge.key,Se=Ge.isLeaf;if(!(Se||ve.shiftKey||ve.metaKey||ve.ctrlKey)){var ut=mt.filter(function(Ae){return Ae.key===Ht})[0],xt=(0,Pe.F)((0,Ie.Z)((0,Ie.Z)({},(0,Pe.H8)(Ht,Le.getTreeNodeRequiredProps())),{},{data:ut.data}));Le.setExpandedKeys(et?(0,St._5)(we,Ht):(0,St.L0)(we,Ht)),Le.onNodeExpand(ve,xt)}},Le.onNodeClick=function(ve,Ge){var We=Le.props,we=We.onClick,mt=We.expandAction;mt==="click"&&Le.triggerExpandActionExpand(ve,Ge),we==null||we(ve,Ge)},Le.onNodeDoubleClick=function(ve,Ge){var We=Le.props,we=We.onDoubleClick,mt=We.expandAction;mt==="doubleClick"&&Le.triggerExpandActionExpand(ve,Ge),we==null||we(ve,Ge)},Le.onNodeSelect=function(ve,Ge){var We=Le.state.selectedKeys,we=Le.state,mt=we.keyEntities,et=we.fieldNames,Ht=Le.props,Se=Ht.onSelect,ut=Ht.multiple,xt=Ge.selected,Ae=Ge[et.key],He=!xt;He?ut?We=(0,St.L0)(We,Ae):We=[Ae]:We=(0,St._5)(We,Ae);var ct=We.map(function(wt){var Zt=(0,Fe.Z)(mt,wt);return Zt?Zt.node:null}).filter(function(wt){return wt});Le.setUncontrolledState({selectedKeys:We}),Se==null||Se(We,{event:"select",selected:He,node:Ge,selectedNodes:ct,nativeEvent:ve.nativeEvent})},Le.onNodeCheck=function(ve,Ge,We){var we=Le.state,mt=we.keyEntities,et=we.checkedKeys,Ht=we.halfCheckedKeys,Se=Le.props,ut=Se.checkStrictly,xt=Se.onCheck,Ae=Ge.key,He,ct={event:"check",node:Ge,checked:We,nativeEvent:ve.nativeEvent};if(ut){var wt=We?(0,St.L0)(et,Ae):(0,St._5)(et,Ae),Zt=(0,St._5)(Ht,Ae);He={checked:wt,halfChecked:Zt},ct.checkedNodes=wt.map(function(Wt){return(0,Fe.Z)(mt,Wt)}).filter(function(Wt){return Wt}).map(function(Wt){return Wt.node}),Le.setUncontrolledState({checkedKeys:wt})}else{var mn=(0,sn.S)([].concat((0,be.Z)(et),[Ae]),!0,mt),dt=mn.checkedKeys,Dt=mn.halfCheckedKeys;if(!We){var yt=new Set(dt);yt.delete(Ae);var en=(0,sn.S)(Array.from(yt),{checked:!1,halfCheckedKeys:Dt},mt);dt=en.checkedKeys,Dt=en.halfCheckedKeys}He=dt,ct.checkedNodes=[],ct.checkedNodesPositions=[],ct.halfCheckedKeys=Dt,dt.forEach(function(Wt){var un=(0,Fe.Z)(mt,Wt);if(un){var Vn=un.node,fn=un.pos;ct.checkedNodes.push(Vn),ct.checkedNodesPositions.push({node:Vn,pos:fn})}}),Le.setUncontrolledState({checkedKeys:dt},!1,{halfCheckedKeys:Dt})}xt==null||xt(He,ct)},Le.onNodeLoad=function(ve){var Ge=ve.key,We=new Promise(function(we,mt){Le.setState(function(et){var Ht=et.loadedKeys,Se=Ht===void 0?[]:Ht,ut=et.loadingKeys,xt=ut===void 0?[]:ut,Ae=Le.props,He=Ae.loadData,ct=Ae.onLoad;if(!He||Se.indexOf(Ge)!==-1||xt.indexOf(Ge)!==-1)return null;var wt=He(ve);return wt.then(function(){var Zt=Le.state.loadedKeys,mn=(0,St.L0)(Zt,Ge);ct==null||ct(mn,{event:"load",node:ve}),Le.setUncontrolledState({loadedKeys:mn}),Le.setState(function(dt){return{loadingKeys:(0,St._5)(dt.loadingKeys,Ge)}}),we()}).catch(function(Zt){if(Le.setState(function(dt){return{loadingKeys:(0,St._5)(dt.loadingKeys,Ge)}}),Le.loadingRetryTimes[Ge]=(Le.loadingRetryTimes[Ge]||0)+1,Le.loadingRetryTimes[Ge]>=Qt){var mn=Le.state.loadedKeys;(0,a.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Le.setUncontrolledState({loadedKeys:(0,St.L0)(mn,Ge)}),we()}mt(Zt)}),{loadingKeys:(0,St.L0)(xt,Ge)}})});return We.catch(function(){}),We},Le.onNodeMouseEnter=function(ve,Ge){var We=Le.props.onMouseEnter;We==null||We({event:ve,node:Ge})},Le.onNodeMouseLeave=function(ve,Ge){var We=Le.props.onMouseLeave;We==null||We({event:ve,node:Ge})},Le.onNodeContextMenu=function(ve,Ge){var We=Le.props.onRightClick;We&&(ve.preventDefault(),We({event:ve,node:Ge}))},Le.onFocus=function(){var ve=Le.props.onFocus;Le.setState({focused:!0});for(var Ge=arguments.length,We=new Array(Ge),we=0;we<Ge;we++)We[we]=arguments[we];ve==null||ve.apply(void 0,We)},Le.onBlur=function(){var ve=Le.props.onBlur;Le.setState({focused:!1}),Le.onActiveChange(null);for(var Ge=arguments.length,We=new Array(Ge),we=0;we<Ge;we++)We[we]=arguments[we];ve==null||ve.apply(void 0,We)},Le.getTreeNodeRequiredProps=function(){var ve=Le.state,Ge=ve.expandedKeys,We=ve.selectedKeys,we=ve.loadedKeys,mt=ve.loadingKeys,et=ve.checkedKeys,Ht=ve.halfCheckedKeys,Se=ve.dragOverNodeKey,ut=ve.dropPosition,xt=ve.keyEntities;return{expandedKeys:Ge||[],selectedKeys:We||[],loadedKeys:we||[],loadingKeys:mt||[],checkedKeys:et||[],halfCheckedKeys:Ht||[],dragOverNodeKey:Se,dropPosition:ut,keyEntities:xt}},Le.setExpandedKeys=function(ve){var Ge=Le.state,We=Ge.treeData,we=Ge.fieldNames,mt=(0,Pe.oH)(We,ve,we);Le.setUncontrolledState({expandedKeys:ve,flattenNodes:mt},!0)},Le.onNodeExpand=function(ve,Ge){var We=Le.state.expandedKeys,we=Le.state,mt=we.listChanging,et=we.fieldNames,Ht=Le.props,Se=Ht.onExpand,ut=Ht.loadData,xt=Ge.expanded,Ae=Ge[et.key];if(!mt){var He=We.indexOf(Ae),ct=!xt;if((0,a.ZP)(xt&&He!==-1||!xt&&He===-1,"Expand state not sync with index check"),ct?We=(0,St.L0)(We,Ae):We=(0,St._5)(We,Ae),Le.setExpandedKeys(We),Se==null||Se(We,{node:Ge,expanded:ct,nativeEvent:ve.nativeEvent}),ct&&ut){var wt=Le.onNodeLoad(Ge);wt&&wt.then(function(){var Zt=(0,Pe.oH)(Le.state.treeData,We,et);Le.setUncontrolledState({flattenNodes:Zt})}).catch(function(){var Zt=Le.state.expandedKeys,mn=(0,St._5)(Zt,Ae);Le.setExpandedKeys(mn)})}}},Le.onListChangeStart=function(){Le.setUncontrolledState({listChanging:!0})},Le.onListChangeEnd=function(){setTimeout(function(){Le.setUncontrolledState({listChanging:!1})})},Le.onActiveChange=function(ve){var Ge=Le.state.activeKey,We=Le.props.onActiveChange;Ge!==ve&&(Le.setState({activeKey:ve}),ve!==null&&Le.scrollTo({key:ve}),We==null||We(ve))},Le.getActiveItem=function(){var ve=Le.state,Ge=ve.activeKey,We=ve.flattenNodes;return Ge===null?null:We.find(function(we){var mt=we.key;return mt===Ge})||null},Le.offsetActiveKey=function(ve){var Ge=Le.state,We=Ge.flattenNodes,we=Ge.activeKey,mt=We.findIndex(function(Se){var ut=Se.key;return ut===we});mt===-1&&ve<0&&(mt=We.length),mt=(mt+ve+We.length)%We.length;var et=We[mt];if(et){var Ht=et.key;Le.onActiveChange(Ht)}else Le.onActiveChange(null)},Le.onKeyDown=function(ve){var Ge=Le.state,We=Ge.activeKey,we=Ge.expandedKeys,mt=Ge.checkedKeys,et=Ge.fieldNames,Ht=Le.props,Se=Ht.onKeyDown,ut=Ht.checkable,xt=Ht.selectable;switch(ve.which){case ye.Z.UP:{Le.offsetActiveKey(-1),ve.preventDefault();break}case ye.Z.DOWN:{Le.offsetActiveKey(1),ve.preventDefault();break}}var Ae=Le.getActiveItem();if(Ae&&Ae.data){var He=Le.getTreeNodeRequiredProps(),ct=Ae.data.isLeaf===!1||!!(Ae.data[et.children]||[]).length,wt=(0,Pe.F)((0,Ie.Z)((0,Ie.Z)({},(0,Pe.H8)(We,He)),{},{data:Ae.data,active:!0}));switch(ve.which){case ye.Z.LEFT:{ct&&we.includes(We)?Le.onNodeExpand({},wt):Ae.parent&&Le.onActiveChange(Ae.parent.key),ve.preventDefault();break}case ye.Z.RIGHT:{ct&&!we.includes(We)?Le.onNodeExpand({},wt):Ae.children&&Ae.children.length&&Le.onActiveChange(Ae.children[0].key),ve.preventDefault();break}case ye.Z.ENTER:case ye.Z.SPACE:{ut&&!wt.disabled&&wt.checkable!==!1&&!wt.disableCheckbox?Le.onNodeCheck({},wt,!mt.includes(We)):!ut&&xt&&!wt.disabled&&wt.selectable!==!1&&Le.onNodeSelect({},wt);break}}}Se==null||Se(ve)},Le.setUncontrolledState=function(ve){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,We=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Le.destroyed){var we=!1,mt=!0,et={};Object.keys(ve).forEach(function(Ht){if(Ht in Le.props){mt=!1;return}we=!0,et[Ht]=ve[Ht]}),we&&(!Ge||mt)&&Le.setState((0,Ie.Z)((0,Ie.Z)({},et),We))}},Le.scrollTo=function(ve){Le.listRef.current.scrollTo(ve)},Le}return(0,ie.Z)(tt,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var ft=this.props.activeKey;ft!==void 0&&ft!==this.state.activeKey&&(this.setState({activeKey:ft}),ft!==null&&this.scrollTo({key:ft}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var ft,gt=this.state,Oe=gt.focused,ve=gt.flattenNodes,Ge=gt.keyEntities,We=gt.draggingNodeKey,we=gt.activeKey,mt=gt.dropLevelOffset,et=gt.dropContainerKey,Ht=gt.dropTargetKey,Se=gt.dropPosition,ut=gt.dragOverNodeKey,xt=gt.indent,Ae=this.props,He=Ae.prefixCls,ct=Ae.className,wt=Ae.style,Zt=Ae.showLine,mn=Ae.focusable,dt=Ae.tabIndex,Dt=dt===void 0?0:dt,yt=Ae.selectable,en=Ae.showIcon,Wt=Ae.icon,un=Ae.switcherIcon,Vn=Ae.draggable,fn=Ae.checkable,an=Ae.checkStrictly,Un=Ae.disabled,zt=Ae.motion,Tt=Ae.loadData,Xt=Ae.filterTreeNode,Ea=Ae.height,qn=Ae.itemHeight,Mn=Ae.virtual,Ga=Ae.titleRender,La=Ae.dropIndicatorRender,Ar=Ae.onContextMenu,Cr=Ae.onScroll,Qa=Ae.direction,at=Ae.rootClassName,Mt=Ae.rootStyle,Ft=(0,re.Z)(this.props,{aria:!0,data:!0}),kn;return Vn&&((0,he.Z)(Vn)==="object"?kn=Vn:typeof Vn=="function"?kn={nodeDraggable:Vn}:kn={}),y.createElement(b.k.Provider,{value:{prefixCls:He,selectable:yt,showIcon:en,icon:Wt,switcherIcon:un,draggable:kn,draggingNodeKey:We,checkable:fn,checkStrictly:an,disabled:Un,keyEntities:Ge,dropLevelOffset:mt,dropContainerKey:et,dropTargetKey:Ht,dropPosition:Se,dragOverNodeKey:ut,indent:xt,direction:Qa,dropIndicatorRender:La,loadData:Tt,filterTreeNode:Xt,titleRender:Ga,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},y.createElement("div",{role:"tree",className:Me()(He,ct,at,(ft={},(0,se.Z)(ft,"".concat(He,"-show-line"),Zt),(0,se.Z)(ft,"".concat(He,"-focused"),Oe),(0,se.Z)(ft,"".concat(He,"-active-focused"),we!==null),ft)),style:Mt},y.createElement(Nt,(0,z.Z)({ref:this.listRef,prefixCls:He,style:wt,data:ve,disabled:Un,selectable:yt,checkable:!!fn,motion:zt,dragging:We!==null,height:Ea,itemHeight:qn,virtual:Mn,focusable:mn,focused:Oe,tabIndex:Dt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Ar,onScroll:Cr},this.getTreeNodeRequiredProps(),Ft))))}}],[{key:"getDerivedStateFromProps",value:function(ft,gt){var Oe=gt.prevProps,ve={prevProps:ft};function Ge(mn){return!Oe&&mn in ft||Oe&&Oe[mn]!==ft[mn]}var We,we=gt.fieldNames;if(Ge("fieldNames")&&(we=(0,Pe.w$)(ft.fieldNames),ve.fieldNames=we),Ge("treeData")?We=ft.treeData:Ge("children")&&((0,a.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),We=(0,Pe.zn)(ft.children)),We){ve.treeData=We;var mt=(0,Pe.I8)(We,{fieldNames:we});ve.keyEntities=(0,Ie.Z)((0,se.Z)({},it,vt),mt.keyEntities)}var et=ve.keyEntities||gt.keyEntities;if(Ge("expandedKeys")||Oe&&Ge("autoExpandParent"))ve.expandedKeys=ft.autoExpandParent||!Oe&&ft.defaultExpandParent?(0,St.r7)(ft.expandedKeys,et):ft.expandedKeys;else if(!Oe&&ft.defaultExpandAll){var Ht=(0,Ie.Z)({},et);delete Ht[it],ve.expandedKeys=Object.keys(Ht).map(function(mn){return Ht[mn].key})}else!Oe&&ft.defaultExpandedKeys&&(ve.expandedKeys=ft.autoExpandParent||ft.defaultExpandParent?(0,St.r7)(ft.defaultExpandedKeys,et):ft.defaultExpandedKeys);if(ve.expandedKeys||delete ve.expandedKeys,We||ve.expandedKeys){var Se=(0,Pe.oH)(We||gt.treeData,ve.expandedKeys||gt.expandedKeys,we);ve.flattenNodes=Se}if(ft.selectable&&(Ge("selectedKeys")?ve.selectedKeys=(0,St.BT)(ft.selectedKeys,ft):!Oe&&ft.defaultSelectedKeys&&(ve.selectedKeys=(0,St.BT)(ft.defaultSelectedKeys,ft))),ft.checkable){var ut;if(Ge("checkedKeys")?ut=(0,St.E6)(ft.checkedKeys)||{}:!Oe&&ft.defaultCheckedKeys?ut=(0,St.E6)(ft.defaultCheckedKeys)||{}:We&&(ut=(0,St.E6)(ft.checkedKeys)||{checkedKeys:gt.checkedKeys,halfCheckedKeys:gt.halfCheckedKeys}),ut){var xt=ut,Ae=xt.checkedKeys,He=Ae===void 0?[]:Ae,ct=xt.halfCheckedKeys,wt=ct===void 0?[]:ct;if(!ft.checkStrictly){var Zt=(0,sn.S)(He,!0,et);He=Zt.checkedKeys,wt=Zt.halfCheckedKeys}ve.checkedKeys=He,ve.halfCheckedKeys=wt}}return Ge("loadedKeys")&&(ve.loadedKeys=ft.loadedKeys),ve}}]),tt}(y.Component);Gt.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:E,allowDrop:function(){return!0},expandAction:!1},Gt.TreeNode=me.Z;var Hn=Gt,Jn=Hn},35654:function(Ct,Pt,te){"use strict";te.d(Pt,{BT:function(){return y},E6:function(){return x},L0:function(){return Ze},OM:function(){return a},_5:function(){return je},r7:function(){return ee},wA:function(){return Me},yx:function(){return ze}});var z=te(77654),se=te(43749),he=te(48736),Ie=te(59301),be=te(39417),Ne=te(67841),ie=te(71430),nt=null;function je(ne,oe){if(!ne)return[];var ae=ne.slice(),ue=ae.indexOf(oe);return ue>=0&&ae.splice(ue,1),ae}function Ze(ne,oe){var ae=(ne||[]).slice();return ae.indexOf(oe)===-1&&ae.push(oe),ae}function ze(ne){return ne.split("-")}function Me(ne,oe){var ae=[],ue=(0,Ne.Z)(oe,ne);function me(){var fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];fe.forEach(function(Pe){var xe=Pe.key,Ee=Pe.children;ae.push(xe),me(Ee)})}return me(ue.children),ae}function ye(ne){if(ne.parent){var oe=ze(ne.pos);return Number(oe[oe.length-1])===ne.parent.children.length-1}return!1}function re(ne){var oe=ze(ne.pos);return Number(oe[oe.length-1])===0}function a(ne,oe,ae,ue,me,fe,Pe,xe,Ee,De){var _e,pt=ne.clientX,Be=ne.clientY,$e=ne.target.getBoundingClientRect(),Ke=$e.top,Ve=$e.height,it=(De==="rtl"?-1:1)*(((me==null?void 0:me.x)||0)-pt),rt=(it-12)/ue,vt=(0,Ne.Z)(xe,ae.props.eventKey);if(Be<Ke+Ve/2){var Rt=Pe.findIndex(function(Jn){return Jn.key===vt.key}),$t=Rt<=0?0:Rt-1,Je=Pe[$t].key;vt=(0,Ne.Z)(xe,Je)}var st=vt.key,At=vt,Nt=vt.key,St=0,sn=0;if(!Ee.includes(st))for(var Fe=0;Fe<rt&&ye(vt);Fe+=1)vt=vt.parent,sn+=1;var Qt=oe.props.data,Gt=vt.node,Hn=!0;return re(vt)&&vt.level===0&&Be<Ke+Ve/2&&fe({dragNode:Qt,dropNode:Gt,dropPosition:-1})&&vt.key===ae.props.eventKey?St=-1:(At.children||[]).length&&Ee.includes(Nt)?fe({dragNode:Qt,dropNode:Gt,dropPosition:0})?St=0:Hn=!1:sn===0?rt>-1.5?fe({dragNode:Qt,dropNode:Gt,dropPosition:1})?St=1:Hn=!1:fe({dragNode:Qt,dropNode:Gt,dropPosition:0})?St=0:fe({dragNode:Qt,dropNode:Gt,dropPosition:1})?St=1:Hn=!1:fe({dragNode:Qt,dropNode:Gt,dropPosition:1})?St=1:Hn=!1,{dropPosition:St,dropLevelOffset:sn,dropTargetKey:vt.key,dropTargetPos:vt.pos,dragOverNodeKey:Nt,dropContainerKey:St===0?null:((_e=vt.parent)===null||_e===void 0?void 0:_e.key)||null,dropAllowed:Hn}}function y(ne,oe){if(ne){var ae=oe.multiple;return ae?ne.slice():ne.length?[ne[0]]:ne}}var b=function(oe){return oe};function E(ne,oe){if(!ne)return[];var ae=oe||{},ue=ae.processProps,me=ue===void 0?b:ue,fe=Array.isArray(ne)?ne:[ne];return fe.map(function(Pe){var xe=Pe.children,Ee=_objectWithoutProperties(Pe,nt),De=E(xe,oe);return React.createElement(TreeNode,_extends({key:Ee.key},me(Ee)),De)})}function x(ne){if(!ne)return null;var oe;if(Array.isArray(ne))oe={checkedKeys:ne,halfCheckedKeys:void 0};else if((0,se.Z)(ne)==="object")oe={checkedKeys:ne.checked||void 0,halfCheckedKeys:ne.halfChecked||void 0};else return(0,he.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return oe}function ee(ne,oe){var ae=new Set;function ue(me){if(!ae.has(me)){var fe=(0,Ne.Z)(oe,me);if(fe){ae.add(me);var Pe=fe.parent,xe=fe.node;xe.disabled||Pe&&ue(Pe.key)}}}return(ne||[]).forEach(function(me){ue(me)}),(0,z.Z)(ae)}},90782:function(Ct,Pt,te){"use strict";te.d(Pt,{S:function(){return ie}});var z=te(48736),se=te(67841);function he(nt,je){var Ze=new Set;return nt.forEach(function(ze){je.has(ze)||Ze.add(ze)}),Ze}function Ie(nt){var je=nt||{},Ze=je.disabled,ze=je.disableCheckbox,Me=je.checkable;return!!(Ze||ze)||Me===!1}function be(nt,je,Ze,ze){for(var Me=new Set(nt),ye=new Set,re=0;re<=Ze;re+=1){var a=je.get(re)||new Set;a.forEach(function(x){var ee=x.key,ne=x.node,oe=x.children,ae=oe===void 0?[]:oe;Me.has(ee)&&!ze(ne)&&ae.filter(function(ue){return!ze(ue.node)}).forEach(function(ue){Me.add(ue.key)})})}for(var y=new Set,b=Ze;b>=0;b-=1){var E=je.get(b)||new Set;E.forEach(function(x){var ee=x.parent,ne=x.node;if(!(ze(ne)||!x.parent||y.has(x.parent.key))){if(ze(x.parent.node)){y.add(ee.key);return}var oe=!0,ae=!1;(ee.children||[]).filter(function(ue){return!ze(ue.node)}).forEach(function(ue){var me=ue.key,fe=Me.has(me);oe&&!fe&&(oe=!1),!ae&&(fe||ye.has(me))&&(ae=!0)}),oe&&Me.add(ee.key),ae&&ye.add(ee.key),y.add(ee.key)}})}return{checkedKeys:Array.from(Me),halfCheckedKeys:Array.from(he(ye,Me))}}function Ne(nt,je,Ze,ze,Me){for(var ye=new Set(nt),re=new Set(je),a=0;a<=ze;a+=1){var y=Ze.get(a)||new Set;y.forEach(function(ee){var ne=ee.key,oe=ee.node,ae=ee.children,ue=ae===void 0?[]:ae;!ye.has(ne)&&!re.has(ne)&&!Me(oe)&&ue.filter(function(me){return!Me(me.node)}).forEach(function(me){ye.delete(me.key)})})}re=new Set;for(var b=new Set,E=ze;E>=0;E-=1){var x=Ze.get(E)||new Set;x.forEach(function(ee){var ne=ee.parent,oe=ee.node;if(!(Me(oe)||!ee.parent||b.has(ee.parent.key))){if(Me(ee.parent.node)){b.add(ne.key);return}var ae=!0,ue=!1;(ne.children||[]).filter(function(me){return!Me(me.node)}).forEach(function(me){var fe=me.key,Pe=ye.has(fe);ae&&!Pe&&(ae=!1),!ue&&(Pe||re.has(fe))&&(ue=!0)}),ae||ye.delete(ne.key),ue&&re.add(ne.key),b.add(ne.key)}})}return{checkedKeys:Array.from(ye),halfCheckedKeys:Array.from(he(re,ye))}}function ie(nt,je,Ze,ze){var Me=[],ye;ze?ye=ze:ye=Ie;var re=new Set(nt.filter(function(E){var x=!!(0,se.Z)(Ze,E);return x||Me.push(E),x})),a=new Map,y=0;Object.keys(Ze).forEach(function(E){var x=Ze[E],ee=x.level,ne=a.get(ee);ne||(ne=new Set,a.set(ee,ne)),ne.add(x),y=Math.max(y,ee)}),(0,z.ZP)(!Me.length,"Tree missing follow keys: ".concat(Me.slice(0,100).map(function(E){return"'".concat(E,"'")}).join(", ")));var b;return je===!0?b=be(re,a,y,ye):b=Ne(re,je.halfCheckedKeys,a,y,ye),b}},67841:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return z}});function z(se,he){return se[he]}},71430:function(Ct,Pt,te){"use strict";te.d(Pt,{F:function(){return ee},H8:function(){return x},I8:function(){return E},km:function(){return Me},oH:function(){return y},w$:function(){return ye},zn:function(){return a}});var z=te(43749),se=te(77654),he=te(85899),Ie=te(42244),be=te(11592),Ne=te(2738),ie=te(48736),nt=te(67841),je=["children"];function Ze(ne,oe){return"".concat(ne,"-").concat(oe)}function ze(ne){return ne&&ne.type&&ne.type.isTreeNode}function Me(ne,oe){return ne!=null?ne:oe}function ye(ne){var oe=ne||{},ae=oe.title,ue=oe._title,me=oe.key,fe=oe.children,Pe=ae||"title";return{title:Pe,_title:ue||[Pe],key:me||"key",children:fe||"children"}}function re(ne,oe){var ae=new Map;function ue(me){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(me||[]).forEach(function(Pe){var xe=Pe[oe.key],Ee=Pe[oe.children];warning(xe!=null,"Tree node must have a certain key: [".concat(fe).concat(xe,"]"));var De=String(xe);warning(!ae.has(De)||xe===null||xe===void 0,"Same 'key' exist in the Tree: ".concat(De)),ae.set(De,!0),ue(Ee,"".concat(fe).concat(De," > "))})}ue(ne)}function a(ne){function oe(ae){var ue=(0,be.Z)(ae);return ue.map(function(me){if(!ze(me))return(0,ie.ZP)(!me,"Tree/TreeNode can only accept TreeNode as children."),null;var fe=me.key,Pe=me.props,xe=Pe.children,Ee=(0,Ie.Z)(Pe,je),De=(0,he.Z)({key:fe},Ee),_e=oe(xe);return _e.length&&(De.children=_e),De}).filter(function(me){return me})}return oe(ne)}function y(ne,oe,ae){var ue=ye(ae),me=ue._title,fe=ue.key,Pe=ue.children,xe=new Set(oe===!0?[]:oe),Ee=[];function De(_e){var pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return _e.map(function(Be,$e){for(var Ke=Ze(pt?pt.pos:"0",$e),Ve=Me(Be[fe],Ke),it,rt=0;rt<me.length;rt+=1){var vt=me[rt];if(Be[vt]!==void 0){it=Be[vt];break}}var Rt=(0,he.Z)((0,he.Z)({},(0,Ne.Z)(Be,[].concat((0,se.Z)(me),[fe,Pe]))),{},{title:it,key:Ve,parent:pt,pos:Ke,children:null,data:Be,isStart:[].concat((0,se.Z)(pt?pt.isStart:[]),[$e===0]),isEnd:[].concat((0,se.Z)(pt?pt.isEnd:[]),[$e===_e.length-1])});return Ee.push(Rt),oe===!0||xe.has(Ve)?Rt.children=De(Be[Pe]||[],Rt):Rt.children=[],Rt})}return De(ne),Ee}function b(ne,oe,ae){var ue={};(0,z.Z)(ae)==="object"?ue=ae:ue={externalGetKey:ae},ue=ue||{};var me=ue,fe=me.childrenPropName,Pe=me.externalGetKey,xe=me.fieldNames,Ee=ye(xe),De=Ee.key,_e=Ee.children,pt=fe||_e,Be;Pe?typeof Pe=="string"?Be=function(Ve){return Ve[Pe]}:typeof Pe=="function"&&(Be=function(Ve){return Pe(Ve)}):Be=function(Ve,it){return Me(Ve[De],it)};function $e(Ke,Ve,it,rt){var vt=Ke?Ke[pt]:ne,Rt=Ke?Ze(it.pos,Ve):"0",$t=Ke?[].concat((0,se.Z)(rt),[Ke]):[];if(Ke){var Je=Be(Ke,Rt),st={node:Ke,index:Ve,pos:Rt,key:Je,parentPos:it.node?it.pos:null,level:it.level+1,nodes:$t};oe(st)}vt&&vt.forEach(function(At,Nt){$e(At,Nt,{node:Ke,pos:Rt,level:it?it.level+1:-1},$t)})}$e(null)}function E(ne){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ae=oe.initWrapper,ue=oe.processEntity,me=oe.onProcessFinished,fe=oe.externalGetKey,Pe=oe.childrenPropName,xe=oe.fieldNames,Ee=arguments.length>2?arguments[2]:void 0,De=fe||Ee,_e={},pt={},Be={posEntities:_e,keyEntities:pt};return ae&&(Be=ae(Be)||Be),b(ne,function($e){var Ke=$e.node,Ve=$e.index,it=$e.pos,rt=$e.key,vt=$e.parentPos,Rt=$e.level,$t=$e.nodes,Je={node:Ke,nodes:$t,index:Ve,key:rt,pos:it,level:Rt},st=Me(rt,it);_e[it]=Je,pt[st]=Je,Je.parent=_e[vt],Je.parent&&(Je.parent.children=Je.parent.children||[],Je.parent.children.push(Je)),ue&&ue(Je,Be)},{externalGetKey:De,childrenPropName:Pe,fieldNames:xe}),me&&me(Be),Be}function x(ne,oe){var ae=oe.expandedKeys,ue=oe.selectedKeys,me=oe.loadedKeys,fe=oe.loadingKeys,Pe=oe.checkedKeys,xe=oe.halfCheckedKeys,Ee=oe.dragOverNodeKey,De=oe.dropPosition,_e=oe.keyEntities,pt=(0,nt.Z)(_e,ne),Be={eventKey:ne,expanded:ae.indexOf(ne)!==-1,selected:ue.indexOf(ne)!==-1,loaded:me.indexOf(ne)!==-1,loading:fe.indexOf(ne)!==-1,checked:Pe.indexOf(ne)!==-1,halfChecked:xe.indexOf(ne)!==-1,pos:String(pt?pt.pos:""),dragOver:Ee===ne&&De===0,dragOverGapTop:Ee===ne&&De===-1,dragOverGapBottom:Ee===ne&&De===1};return Be}function ee(ne){var oe=ne.data,ae=ne.expanded,ue=ne.selected,me=ne.checked,fe=ne.loaded,Pe=ne.loading,xe=ne.halfChecked,Ee=ne.dragOver,De=ne.dragOverGapTop,_e=ne.dragOverGapBottom,pt=ne.pos,Be=ne.active,$e=ne.eventKey,Ke=(0,he.Z)((0,he.Z)({},oe),{},{expanded:ae,selected:ue,checked:me,loaded:fe,loading:Pe,halfChecked:xe,dragOver:Ee,dragOverGapTop:De,dragOverGapBottom:_e,pos:pt,active:Be,key:$e});return"props"in Ke||Object.defineProperty(Ke,"props",{get:function(){return(0,ie.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ne}}),Ke}},8224:function(Ct,Pt,te){"use strict";te.d(Pt,{Z:function(){return se}});var z=te(4676);function se(he,Ie,be,Ne){var ie=z.unstable_batchedUpdates?function(je){z.unstable_batchedUpdates(be,je)}:be;return he!=null&&he.addEventListener&&he.addEventListener(Ie,ie,Ne),{remove:function(){he!=null&&he.removeEventListener&&he.removeEventListener(Ie,ie,Ne)}}}},55468:function(Ct,Pt,te){"use strict";te.d(Pt,{g1:function(){return ze},os:function(){return ye}});var z=/margin|padding|width|height|max|min|offset/,se={left:!0,top:!0},he={cssFloat:1,styleFloat:1,float:1};function Ie(re){return re.nodeType===1?re.ownerDocument.defaultView.getComputedStyle(re,null):{}}function be(re,a,y){if(a=a.toLowerCase(),y==="auto"){if(a==="height")return re.offsetHeight;if(a==="width")return re.offsetWidth}return a in se||(se[a]=z.test(a)),se[a]?parseFloat(y)||0:y}function Ne(re,a){var y=arguments.length,b=Ie(re);return a=he[a]?"cssFloat"in re.style?"cssFloat":"styleFloat":a,y===1?b:be(re,a,b[a]||re.style[a])}function ie(re,a,y){var b=arguments.length;if(a=he[a]?"cssFloat"in re.style?"cssFloat":"styleFloat":a,b===3)return typeof y=="number"&&z.test(a)&&(y="".concat(y,"px")),re.style[a]=y,y;for(var E in a)a.hasOwnProperty(E)&&ie(re,E,a[E]);return Ie(re)}function nt(re){return re===document.body?document.documentElement.clientWidth:re.offsetWidth}function je(re){return re===document.body?window.innerHeight||document.documentElement.clientHeight:re.offsetHeight}function Ze(){var re=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:re,height:a}}function ze(){var re=document.documentElement.clientWidth,a=window.innerHeight||document.documentElement.clientHeight;return{width:re,height:a}}function Me(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function ye(re){var a=re.getBoundingClientRect(),y=document.documentElement;return{left:a.left+(window.pageXOffset||y.scrollLeft)-(y.clientLeft||document.body.clientLeft||0),top:a.top+(window.pageYOffset||y.scrollTop)-(y.clientTop||document.body.clientTop||0)}}},24514:function(Ct,Pt,te){"use strict";te.d(Pt,{G:function(){return Ie}});var z=te(47273),se=function(Ne){if((0,z.Z)()&&window.document.documentElement){var ie=Array.isArray(Ne)?Ne:[Ne],nt=window.document.documentElement;return ie.some(function(je){return je in nt.style})}return!1},he=function(Ne,ie){if(!se(Ne))return!1;var nt=document.createElement("div"),je=nt.style[Ne];return nt.style[Ne]=ie,nt.style[Ne]!==je};function Ie(be,Ne){return!Array.isArray(be)&&Ne!==void 0?he(be,Ne):se(be)}},51581:function(Ct,Pt,te){"use strict";Object.defineProperty(Pt,"__esModule",{value:!0});var z=function(){function Me(ye,re){for(var a=0;a<re.length;a++){var y=re[a];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(ye,y.key,y)}}return function(ye,re,a){return re&&Me(ye.prototype,re),a&&Me(ye,a),ye}}(),se=te(59301),he=Ne(se),Ie=te(12708),be=Ne(Ie);function Ne(Me){return Me&&Me.__esModule?Me:{default:Me}}function ie(Me,ye){var re={};for(var a in Me)ye.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(Me,a)&&(re[a]=Me[a]);return re}function nt(Me,ye){if(!(Me instanceof ye))throw new TypeError("Cannot call a class as a function")}function je(Me,ye){if(!Me)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ye&&(typeof ye=="object"||typeof ye=="function")?ye:Me}function Ze(Me,ye){if(typeof ye!="function"&&ye!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ye);Me.prototype=Object.create(ye&&ye.prototype,{constructor:{value:Me,enumerable:!1,writable:!0,configurable:!0}}),ye&&(Object.setPrototypeOf?Object.setPrototypeOf(Me,ye):Me.__proto__=ye)}var ze=function(Me){Ze(ye,Me);function ye(re){nt(this,ye);var a=je(this,(ye.__proto__||Object.getPrototypeOf(ye)).call(this,re));return a.scrollListener=a.scrollListener.bind(a),a.eventListenerOptions=a.eventListenerOptions.bind(a),a.mousewheelListener=a.mousewheelListener.bind(a),a}return z(ye,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var a=this.getParentElement(this.scrollComponent);a.scrollTop=a.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var a=!1,y={get passive(){a=!0}};try{document.addEventListener("test",null,y),document.removeEventListener("test",null,y)}catch(b){}return a}},{key:"eventListenerOptions",value:function(){var a=this.props.useCapture;return this.isPassiveSupported()&&(a={useCapture:this.props.useCapture,passive:!0}),a}},{key:"setDefaultLoader",value:function(a){this.defaultLoader=a}},{key:"detachMousewheelListener",value:function(){var a=window;this.props.useWindow===!1&&(a=this.scrollComponent.parentNode),a.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var a=window;this.props.useWindow===!1&&(a=this.getParentElement(this.scrollComponent)),a.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),a.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(a){var y=this.props.getScrollParent&&this.props.getScrollParent();return y!=null?y:a&&a.parentNode}},{key:"filterProps",value:function(a){return a}},{key:"attachScrollListener",value:function(){var a=this.getParentElement(this.scrollComponent);if(!(!this.props.hasMore||!a)){var y=window;this.props.useWindow===!1&&(y=a),y.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),y.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),y.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(a){a.deltaY===1&&!this.isPassiveSupported()&&a.preventDefault()}},{key:"scrollListener",value:function(){var a=this.scrollComponent,y=window,b=this.getParentElement(a),E=void 0;if(this.props.useWindow){var x=document.documentElement||document.body.parentNode||document.body,ee=y.pageYOffset!==void 0?y.pageYOffset:x.scrollTop;this.props.isReverse?E=ee:E=this.calculateOffset(a,ee)}else this.props.isReverse?E=b.scrollTop:E=a.scrollHeight-b.scrollTop-b.clientHeight;E<Number(this.props.threshold)&&a&&a.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=b.scrollHeight,this.beforeScrollTop=b.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(a,y){return a?this.calculateTopPosition(a)+(a.offsetHeight-y-window.innerHeight):0}},{key:"calculateTopPosition",value:function(a){return a?a.offsetTop+this.calculateTopPosition(a.offsetParent):0}},{key:"render",value:function(){var a=this,y=this.filterProps(this.props),b=y.children,E=y.element,x=y.hasMore,ee=y.initialLoad,ne=y.isReverse,oe=y.loader,ae=y.loadMore,ue=y.pageStart,me=y.ref,fe=y.threshold,Pe=y.useCapture,xe=y.useWindow,Ee=y.getScrollParent,De=ie(y,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);De.ref=function(pt){a.scrollComponent=pt,me&&me(pt)};var _e=[b];return x&&(oe?ne?_e.unshift(oe):_e.push(oe):this.defaultLoader&&(ne?_e.unshift(this.defaultLoader):_e.push(this.defaultLoader))),he.default.createElement(E,De,_e)}}]),ye}(se.Component);ze.propTypes={children:be.default.node.isRequired,element:be.default.node,hasMore:be.default.bool,initialLoad:be.default.bool,isReverse:be.default.bool,loader:be.default.node,loadMore:be.default.func.isRequired,pageStart:be.default.number,ref:be.default.func,getScrollParent:be.default.func,threshold:be.default.number,useCapture:be.default.bool,useWindow:be.default.bool},ze.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},Pt.default=ze,Ct.exports=Pt.default},26724:function(Ct,Pt,te){Ct.exports=te(51581)},44589:function(Ct,Pt,te){"use strict";te.d(Pt,{JN:function(){return Le},Rp:function(){return ee},W8:function(){return Oe}});var z=te(60499),se=te(72190),he=te(53885),Ie=te(38705),be=te(17212),Ne=te(51296),ie=te(38882),nt=te(39153),je=te(15793),Ze=te(18642),ze=te(59301),Me=te(12708),ye=te.n(Me),re=te(4676),a=te(44520),y=te.n(a),b=te(77654),E=function(){function ve(){(0,Ie.Z)(this,ve),(0,Ze.Z)(this,"refs",{})}return(0,be.Z)(ve,[{key:"add",value:function(We,we){this.refs[We]||(this.refs[We]=[]),this.refs[We].push(we)}},{key:"remove",value:function(We,we){var mt=this.getIndex(We,we);mt!==-1&&this.refs[We].splice(mt,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var We=this;return this.refs[this.active.collection].find(function(we){var mt=we.node;return mt.sortableInfo.index==We.active.index})}},{key:"getIndex",value:function(We,we){return this.refs[We].indexOf(we)}},{key:"getOrderedRefs",value:function(){var We=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[We].sort(x)}}]),ve}();function x(ve,Ge){var We=ve.node.sortableInfo.index,we=Ge.node.sortableInfo.index;return We-we}function ee(ve,Ge,We){return ve=ve.slice(),ve.splice(We<0?ve.length+We:We,0,ve.splice(Ge,1)[0]),ve}function ne(ve,Ge){return Object.keys(ve).reduce(function(We,we){return Ge.indexOf(we)===-1&&(We[we]=ve[we]),We},{})}var oe={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},ae=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var ve=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],Ge=(Array.prototype.slice.call(ve).join("").match(/-(moz|webkit|ms)-/)||ve.OLink===""&&["","o"])[1];switch(Ge){case"ms":return"ms";default:return Ge&&Ge.length?Ge[0].toUpperCase()+Ge.substr(1):""}}();function ue(ve,Ge){Object.keys(Ge).forEach(function(We){ve.style[We]=Ge[We]})}function me(ve,Ge){ve.style["".concat(ae,"Transform")]=Ge==null?"":"translate3d(".concat(Ge.x,"px,").concat(Ge.y,"px,0)")}function fe(ve,Ge){ve.style["".concat(ae,"TransitionDuration")]=Ge==null?"":"".concat(Ge,"ms")}function Pe(ve,Ge){for(;ve;){if(Ge(ve))return ve;ve=ve.parentNode}return null}function xe(ve,Ge,We){return Math.max(ve,Math.min(We,Ge))}function Ee(ve){return ve.substr(-2)==="px"?parseFloat(ve):0}function De(ve){var Ge=window.getComputedStyle(ve);return{bottom:Ee(Ge.marginBottom),left:Ee(Ge.marginLeft),right:Ee(Ge.marginRight),top:Ee(Ge.marginTop)}}function _e(ve,Ge){var We=Ge.displayName||Ge.name;return We?"".concat(ve,"(").concat(We,")"):ve}function pt(ve,Ge){var We=ve.getBoundingClientRect();return{top:We.top+Ge.top,left:We.left+Ge.left}}function Be(ve){return ve.touches&&ve.touches.length?{x:ve.touches[0].pageX,y:ve.touches[0].pageY}:ve.changedTouches&&ve.changedTouches.length?{x:ve.changedTouches[0].pageX,y:ve.changedTouches[0].pageY}:{x:ve.pageX,y:ve.pageY}}function $e(ve){return ve.touches&&ve.touches.length||ve.changedTouches&&ve.changedTouches.length}function Ke(ve,Ge){var We=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(ve){var we={left:We.left+ve.offsetLeft,top:We.top+ve.offsetTop};return ve.parentNode===Ge?we:Ke(ve.parentNode,Ge,we)}}function Ve(ve,Ge,We){return ve<We&&ve>Ge?ve-1:ve>We&&ve<Ge?ve+1:ve}function it(ve){var Ge=ve.lockOffset,We=ve.width,we=ve.height,mt=Ge,et=Ge,Ht="px";if(typeof Ge=="string"){var Se=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(Ge);y()(Se!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',Ge),mt=parseFloat(Ge),et=parseFloat(Ge),Ht=Se[1]}return y()(isFinite(mt)&&isFinite(et),"lockOffset value should be a finite. Given %s",Ge),Ht==="%"&&(mt=mt*We/100,et=et*we/100),{x:mt,y:et}}function rt(ve){var Ge=ve.height,We=ve.width,we=ve.lockOffset,mt=Array.isArray(we)?we:[we,we];y()(mt.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",we);var et=(0,se.Z)(mt,2),Ht=et[0],Se=et[1];return[it({height:Ge,lockOffset:Ht,width:We}),it({height:Ge,lockOffset:Se,width:We})]}function vt(ve){var Ge=window.getComputedStyle(ve),We=/(auto|scroll)/,we=["overflow","overflowX","overflowY"];return we.find(function(mt){return We.test(Ge[mt])})}function Rt(ve){return ve instanceof HTMLElement?vt(ve)?ve:Rt(ve.parentNode):null}function $t(ve){var Ge=window.getComputedStyle(ve);return Ge.display==="grid"?{x:Ee(Ge.gridColumnGap),y:Ee(Ge.gridRowGap)}:{x:0,y:0}}var Je={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},st={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function At(ve){var Ge="input, textarea, select, canvas, [contenteditable]",We=ve.querySelectorAll(Ge),we=ve.cloneNode(!0),mt=(0,b.Z)(we.querySelectorAll(Ge));return mt.forEach(function(et,Ht){if(et.type!=="file"&&(et.value=We[Ht].value),et.type==="radio"&&et.name&&(et.name="__sortableClone__".concat(et.name)),et.tagName===st.Canvas&&We[Ht].width>0&&We[Ht].height>0){var Se=et.getContext("2d");Se.drawImage(We[Ht],0,0)}}),we}function Nt(ve){var Ge,We,we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return We=Ge=function(mt){_inherits(et,mt);function et(){return _classCallCheck(this,et),_possibleConstructorReturn(this,_getPrototypeOf(et).apply(this,arguments))}return _createClass(et,[{key:"componentDidMount",value:function(){var Se=findDOMNode(this);Se.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return invariant(we.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Se=we.withRef?"wrappedInstance":null;return createElement(ve,_extends({ref:Se},this.props))}}]),et}(Component),_defineProperty(Ge,"displayName",_e("sortableHandle",ve)),We}function St(ve){return ve.sortableHandle!=null}var sn=function(){function ve(Ge,We){(0,Ie.Z)(this,ve),this.container=Ge,this.onScrollCallback=We}return(0,be.Z)(ve,[{key:"clear",value:function(){this.interval!=null&&(clearInterval(this.interval),this.interval=null)}},{key:"update",value:function(We){var we=this,mt=We.translate,et=We.minTranslate,Ht=We.maxTranslate,Se=We.width,ut=We.height,xt={x:0,y:0},Ae={x:1,y:1},He={x:10,y:10},ct=this.container,wt=ct.scrollTop,Zt=ct.scrollLeft,mn=ct.scrollHeight,dt=ct.scrollWidth,Dt=ct.clientHeight,yt=ct.clientWidth,en=wt===0,Wt=mn-wt-Dt===0,un=Zt===0,Vn=dt-Zt-yt===0;mt.y>=Ht.y-ut/2&&!Wt?(xt.y=1,Ae.y=He.y*Math.abs((Ht.y-ut/2-mt.y)/ut)):mt.x>=Ht.x-Se/2&&!Vn?(xt.x=1,Ae.x=He.x*Math.abs((Ht.x-Se/2-mt.x)/Se)):mt.y<=et.y+ut/2&&!en?(xt.y=-1,Ae.y=He.y*Math.abs((mt.y-ut/2-et.y)/ut)):mt.x<=et.x+Se/2&&!un&&(xt.x=-1,Ae.x=He.x*Math.abs((mt.x-Se/2-et.x)/Se)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(xt.x!==0||xt.y!==0)&&(this.interval=setInterval(function(){we.isAutoScrolling=!0;var fn={left:Ae.x*xt.x,top:Ae.y*xt.y};we.container.scrollTop+=fn.top,we.container.scrollLeft+=fn.left,we.onScrollCallback(fn)},5))}}]),ve}();function Fe(ve){var Ge=ve.node;return{height:Ge.offsetHeight,width:Ge.offsetWidth}}function Qt(ve){var Ge=[st.Input,st.Textarea,st.Select,st.Option,st.Button];return!!(Ge.indexOf(ve.target.tagName)!==-1||Pe(ve.target,function(We){return We.contentEditable==="true"}))}var Gt={axis:ye().oneOf(["x","y","xy"]),contentWindow:ye().any,disableAutoscroll:ye().bool,distance:ye().number,getContainer:ye().func,getHelperDimensions:ye().func,helperClass:ye().string,helperContainer:ye().oneOfType([ye().func,typeof HTMLElement=="undefined"?ye().any:ye().instanceOf(HTMLElement)]),hideSortableGhost:ye().bool,keyboardSortingTransitionDuration:ye().number,lockAxis:ye().string,lockOffset:ye().oneOfType([ye().number,ye().string,ye().arrayOf(ye().oneOfType([ye().number,ye().string]))]),lockToContainerEdges:ye().bool,onSortEnd:ye().func,onSortMove:ye().func,onSortOver:ye().func,onSortStart:ye().func,pressDelay:ye().number,pressThreshold:ye().number,keyCodes:ye().shape({lift:ye().arrayOf(ye().number),drop:ye().arrayOf(ye().number),cancel:ye().arrayOf(ye().number),up:ye().arrayOf(ye().number),down:ye().arrayOf(ye().number)}),shouldCancelStart:ye().func,transitionDuration:ye().number,updateBeforeSortStart:ye().func,useDragHandle:ye().bool,useWindowAsScrollContainer:ye().bool},Hn={lift:[Je.SPACE],drop:[Je.SPACE],cancel:[Je.ESC],up:[Je.UP,Je.LEFT],down:[Je.DOWN,Je.RIGHT]},Jn={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:Fe,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:Hn,shouldCancelStart:Qt,transitionDuration:300,useWindowAsScrollContainer:!1},Re=Object.keys(Gt);function qe(ve){y()(!(ve.distance&&ve.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.")}function tt(ve,Ge){try{var We=ve()}catch(we){return Ge(!0,we)}return We&&We.then?We.then(Ge.bind(null,!1),Ge.bind(null,!0)):Ge(!1,value)}function Le(ve){var Ge,We,we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return We=Ge=function(mt){(0,nt.Z)(et,mt);function et(Ht){var Se;return(0,Ie.Z)(this,et),Se=(0,Ne.Z)(this,(0,ie.Z)(et).call(this,Ht)),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"state",{}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"handleStart",function(ut){var xt=Se.props,Ae=xt.distance,He=xt.shouldCancelStart;if(!(ut.button===2||He(ut))){Se.touched=!0,Se.position=Be(ut);var ct=Pe(ut.target,function(yt){return yt.sortableInfo!=null});if(ct&&ct.sortableInfo&&Se.nodeIsChild(ct)&&!Se.state.sorting){var wt=Se.props.useDragHandle,Zt=ct.sortableInfo,mn=Zt.index,dt=Zt.collection,Dt=Zt.disabled;if(Dt||wt&&!Pe(ut.target,St))return;Se.manager.active={collection:dt,index:mn},!$e(ut)&&ut.target.tagName===st.Anchor&&ut.preventDefault(),Ae||(Se.props.pressDelay===0?Se.handlePress(ut):Se.pressTimer=setTimeout(function(){return Se.handlePress(ut)},Se.props.pressDelay))}}}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"nodeIsChild",function(ut){return ut.sortableInfo.manager===Se.manager}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"handleMove",function(ut){var xt=Se.props,Ae=xt.distance,He=xt.pressThreshold;if(!Se.state.sorting&&Se.touched&&!Se._awaitingUpdateBeforeSortStart){var ct=Be(ut),wt={x:Se.position.x-ct.x,y:Se.position.y-ct.y},Zt=Math.abs(wt.x)+Math.abs(wt.y);Se.delta=wt,!Ae&&(!He||Zt>=He)?(clearTimeout(Se.cancelTimer),Se.cancelTimer=setTimeout(Se.cancel,0)):Ae&&Zt>=Ae&&Se.manager.isActive()&&Se.handlePress(ut)}}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"handleEnd",function(){Se.touched=!1,Se.cancel()}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"cancel",function(){var ut=Se.props.distance,xt=Se.state.sorting;xt||(ut||clearTimeout(Se.pressTimer),Se.manager.active=null)}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"handlePress",function(ut){try{var xt=Se.manager.getActive(),Ae=function(){if(xt){var He=function(){var Un=Wt.sortableInfo.index,zt=De(Wt),Tt=$t(Se.container),Xt=Se.scrollContainer.getBoundingClientRect(),Ea=Zt({index:Un,node:Wt,collection:un});if(Se.node=Wt,Se.margin=zt,Se.gridGap=Tt,Se.width=Ea.width,Se.height=Ea.height,Se.marginOffset={x:Se.margin.left+Se.margin.right+Se.gridGap.x,y:Math.max(Se.margin.top,Se.margin.bottom,Se.gridGap.y)},Se.boundingClientRect=Wt.getBoundingClientRect(),Se.containerBoundingRect=Xt,Se.index=Un,Se.newIndex=Un,Se.axis={x:wt.indexOf("x")>=0,y:wt.indexOf("y")>=0},Se.offsetEdge=Ke(Wt,Se.container),Vn?Se.initialOffset=Be((0,he.Z)({},ut,{pageX:Se.boundingClientRect.left,pageY:Se.boundingClientRect.top})):Se.initialOffset=Be(ut),Se.initialScroll={left:Se.scrollContainer.scrollLeft,top:Se.scrollContainer.scrollTop},Se.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Se.helper=Se.helperContainer.appendChild(At(Wt)),ue(Se.helper,{boxSizing:"border-box",height:"".concat(Se.height,"px"),left:"".concat(Se.boundingClientRect.left-zt.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Se.boundingClientRect.top-zt.top,"px"),width:"".concat(Se.width,"px")}),Vn&&Se.helper.focus(),dt&&(Se.sortableGhost=Wt,ue(Wt,{opacity:0,visibility:"hidden"})),Se.minTranslate={},Se.maxTranslate={},Vn){var qn=en?{top:0,left:0,width:Se.contentWindow.innerWidth,height:Se.contentWindow.innerHeight}:Se.containerBoundingRect,Mn=qn.top,Ga=qn.left,La=qn.width,Ar=qn.height,Cr=Mn+Ar,Qa=Ga+La;Se.axis.x&&(Se.minTranslate.x=Ga-Se.boundingClientRect.left,Se.maxTranslate.x=Qa-(Se.boundingClientRect.left+Se.width)),Se.axis.y&&(Se.minTranslate.y=Mn-Se.boundingClientRect.top,Se.maxTranslate.y=Cr-(Se.boundingClientRect.top+Se.height))}else Se.axis.x&&(Se.minTranslate.x=(en?0:Xt.left)-Se.boundingClientRect.left-Se.width/2,Se.maxTranslate.x=(en?Se.contentWindow.innerWidth:Xt.left+Xt.width)-Se.boundingClientRect.left-Se.width/2),Se.axis.y&&(Se.minTranslate.y=(en?0:Xt.top)-Se.boundingClientRect.top-Se.height/2,Se.maxTranslate.y=(en?Se.contentWindow.innerHeight:Xt.top+Xt.height)-Se.boundingClientRect.top-Se.height/2);mn&&mn.split(" ").forEach(function(at){return Se.helper.classList.add(at)}),Se.listenerNode=ut.touches?Wt:Se.contentWindow,Vn?(Se.listenerNode.addEventListener("wheel",Se.handleKeyEnd,!0),Se.listenerNode.addEventListener("mousedown",Se.handleKeyEnd,!0),Se.listenerNode.addEventListener("keydown",Se.handleKeyDown)):(oe.move.forEach(function(at){return Se.listenerNode.addEventListener(at,Se.handleSortMove,!1)}),oe.end.forEach(function(at){return Se.listenerNode.addEventListener(at,Se.handleSortEnd,!1)})),Se.setState({sorting:!0,sortingIndex:Un}),yt&&yt({node:Wt,index:Un,collection:un,isKeySorting:Vn,nodes:Se.manager.getOrderedRefs(),helper:Se.helper},ut),Vn&&Se.keyMove(0)},ct=Se.props,wt=ct.axis,Zt=ct.getHelperDimensions,mn=ct.helperClass,dt=ct.hideSortableGhost,Dt=ct.updateBeforeSortStart,yt=ct.onSortStart,en=ct.useWindowAsScrollContainer,Wt=xt.node,un=xt.collection,Vn=Se.manager.isKeySorting,fn=function(){if(typeof Dt=="function"){Se._awaitingUpdateBeforeSortStart=!0;var an=tt(function(){var Un=Wt.sortableInfo.index;return Promise.resolve(Dt({collection:un,index:Un,node:Wt,isKeySorting:Vn},ut)).then(function(){})},function(Un,zt){if(Se._awaitingUpdateBeforeSortStart=!1,Un)throw zt;return zt});if(an&&an.then)return an.then(function(){})}}();return fn&&fn.then?fn.then(He):He(fn)}}();return Promise.resolve(Ae&&Ae.then?Ae.then(function(){}):void 0)}catch(He){return Promise.reject(He)}}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"handleSortMove",function(ut){var xt=Se.props.onSortMove;typeof ut.preventDefault=="function"&&ut.preventDefault(),Se.updateHelperPosition(ut),Se.animateNodes(),Se.autoscroll(),xt&&xt(ut)}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"handleSortEnd",function(ut){var xt=Se.props,Ae=xt.hideSortableGhost,He=xt.onSortEnd,ct=Se.manager,wt=ct.active.collection,Zt=ct.isKeySorting,mn=Se.manager.getOrderedRefs();Se.listenerNode&&(Zt?(Se.listenerNode.removeEventListener("wheel",Se.handleKeyEnd,!0),Se.listenerNode.removeEventListener("mousedown",Se.handleKeyEnd,!0),Se.listenerNode.removeEventListener("keydown",Se.handleKeyDown)):(oe.move.forEach(function(Wt){return Se.listenerNode.removeEventListener(Wt,Se.handleSortMove)}),oe.end.forEach(function(Wt){return Se.listenerNode.removeEventListener(Wt,Se.handleSortEnd)}))),Se.helper.parentNode.removeChild(Se.helper),Ae&&Se.sortableGhost&&ue(Se.sortableGhost,{opacity:"",visibility:""});for(var dt=0,Dt=mn.length;dt<Dt;dt++){var yt=mn[dt],en=yt.node;yt.edgeOffset=null,yt.boundingClientRect=null,me(en,null),fe(en,null),yt.translate=null}Se.autoScroller.clear(),Se.manager.active=null,Se.manager.isKeySorting=!1,Se.setState({sorting:!1,sortingIndex:null}),typeof He=="function"&&He({collection:wt,newIndex:Se.newIndex,oldIndex:Se.index,isKeySorting:Zt,nodes:mn},ut),Se.touched=!1}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"autoscroll",function(){var ut=Se.props.disableAutoscroll,xt=Se.manager.isKeySorting;if(ut){Se.autoScroller.clear();return}if(xt){var Ae=(0,he.Z)({},Se.translate),He=0,ct=0;Se.axis.x&&(Ae.x=Math.min(Se.maxTranslate.x,Math.max(Se.minTranslate.x,Se.translate.x)),He=Se.translate.x-Ae.x),Se.axis.y&&(Ae.y=Math.min(Se.maxTranslate.y,Math.max(Se.minTranslate.y,Se.translate.y)),ct=Se.translate.y-Ae.y),Se.translate=Ae,me(Se.helper,Se.translate),Se.scrollContainer.scrollLeft+=He,Se.scrollContainer.scrollTop+=ct;return}Se.autoScroller.update({height:Se.height,maxTranslate:Se.maxTranslate,minTranslate:Se.minTranslate,translate:Se.translate,width:Se.width})}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"onAutoScroll",function(ut){Se.translate.x+=ut.left,Se.translate.y+=ut.top,Se.animateNodes()}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"handleKeyDown",function(ut){var xt=ut.keyCode,Ae=Se.props,He=Ae.shouldCancelStart,ct=Ae.keyCodes,wt=ct===void 0?{}:ct,Zt=(0,he.Z)({},Hn,wt);Se.manager.active&&!Se.manager.isKeySorting||!Se.manager.active&&(!Zt.lift.includes(xt)||He(ut)||!Se.isValidSortingTarget(ut))||(ut.stopPropagation(),ut.preventDefault(),Zt.lift.includes(xt)&&!Se.manager.active?Se.keyLift(ut):Zt.drop.includes(xt)&&Se.manager.active?Se.keyDrop(ut):Zt.cancel.includes(xt)?(Se.newIndex=Se.manager.active.index,Se.keyDrop(ut)):Zt.up.includes(xt)?Se.keyMove(-1):Zt.down.includes(xt)&&Se.keyMove(1))}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"keyLift",function(ut){var xt=ut.target,Ae=Pe(xt,function(Zt){return Zt.sortableInfo!=null}),He=Ae.sortableInfo,ct=He.index,wt=He.collection;Se.initialFocusedNode=xt,Se.manager.isKeySorting=!0,Se.manager.active={index:ct,collection:wt},Se.handlePress(ut)}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"keyMove",function(ut){var xt=Se.manager.getOrderedRefs(),Ae=xt[xt.length-1].node.sortableInfo.index,He=Se.newIndex+ut,ct=Se.newIndex;if(!(He<0||He>Ae)){Se.prevIndex=ct,Se.newIndex=He;var wt=Ve(Se.newIndex,Se.prevIndex,Se.index),Zt=xt.find(function(Vn){var fn=Vn.node;return fn.sortableInfo.index===wt}),mn=Zt.node,dt=Se.containerScrollDelta,Dt=Zt.boundingClientRect||pt(mn,dt),yt=Zt.translate||{x:0,y:0},en={top:Dt.top+yt.y-dt.top,left:Dt.left+yt.x-dt.left},Wt=ct<He,un={x:Wt&&Se.axis.x?mn.offsetWidth-Se.width:0,y:Wt&&Se.axis.y?mn.offsetHeight-Se.height:0};Se.handleSortMove({pageX:en.left+un.x,pageY:en.top+un.y,ignoreTransition:ut===0})}}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"keyDrop",function(ut){Se.handleSortEnd(ut),Se.initialFocusedNode&&Se.initialFocusedNode.focus()}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"handleKeyEnd",function(ut){Se.manager.active&&Se.keyDrop(ut)}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"isValidSortingTarget",function(ut){var xt=Se.props.useDragHandle,Ae=ut.target,He=Pe(Ae,function(ct){return ct.sortableInfo!=null});return He&&He.sortableInfo&&!He.sortableInfo.disabled&&(xt?St(Ae):Ae.sortableInfo)}),qe(Ht),Se.manager=new E,Se.events={end:Se.handleEnd,move:Se.handleMove,start:Se.handleStart},Se}return(0,be.Z)(et,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var Se=this,ut=this.props.useWindowAsScrollContainer,xt=this.getContainer();Promise.resolve(xt).then(function(Ae){Se.container=Ae,Se.document=Se.container.ownerDocument||document;var He=Se.props.contentWindow||Se.document.defaultView||window;Se.contentWindow=typeof He=="function"?He():He,Se.scrollContainer=ut?Se.document.scrollingElement||Se.document.documentElement:Rt(Se.container)||Se.container,Se.autoScroller=new sn(Se.scrollContainer,Se.onAutoScroll),Object.keys(Se.events).forEach(function(ct){return oe[ct].forEach(function(wt){return Se.container.addEventListener(wt,Se.events[ct],!1)})}),Se.container.addEventListener("keydown",Se.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var Se=this;this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),this.container&&(Object.keys(this.events).forEach(function(ut){return oe[ut].forEach(function(xt){return Se.container.removeEventListener(xt,Se.events[ut])})}),this.container.removeEventListener("keydown",this.handleKeyDown))}},{key:"updateHelperPosition",value:function(Se){var ut=this.props,xt=ut.lockAxis,Ae=ut.lockOffset,He=ut.lockToContainerEdges,ct=ut.transitionDuration,wt=ut.keyboardSortingTransitionDuration,Zt=wt===void 0?ct:wt,mn=this.manager.isKeySorting,dt=Se.ignoreTransition,Dt=Be(Se),yt={x:Dt.x-this.initialOffset.x,y:Dt.y-this.initialOffset.y};if(yt.y-=window.pageYOffset-this.initialWindowScroll.top,yt.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=yt,He){var en=rt({height:this.height,lockOffset:Ae,width:this.width}),Wt=(0,se.Z)(en,2),un=Wt[0],Vn=Wt[1],fn={x:this.width/2-un.x,y:this.height/2-un.y},an={x:this.width/2-Vn.x,y:this.height/2-Vn.y};yt.x=xe(this.minTranslate.x+fn.x,this.maxTranslate.x-an.x,yt.x),yt.y=xe(this.minTranslate.y+fn.y,this.maxTranslate.y-an.y,yt.y)}xt==="x"?yt.y=0:xt==="y"&&(yt.x=0),mn&&Zt&&!dt&&fe(this.helper,Zt),me(this.helper,yt)}},{key:"animateNodes",value:function(){var Se=this.props,ut=Se.transitionDuration,xt=Se.hideSortableGhost,Ae=Se.onSortOver,He=this.containerScrollDelta,ct=this.windowScrollDelta,wt=this.manager.getOrderedRefs(),Zt={left:this.offsetEdge.left+this.translate.x+He.left,top:this.offsetEdge.top+this.translate.y+He.top},mn=this.manager.isKeySorting,dt=this.newIndex;this.newIndex=null;for(var Dt=0,yt=wt.length;Dt<yt;Dt++){var en=wt[Dt].node,Wt=en.sortableInfo.index,un=en.offsetWidth,Vn=en.offsetHeight,fn={height:this.height>Vn?Vn/2:this.height/2,width:this.width>un?un/2:this.width/2},an=mn&&Wt>this.index&&Wt<=dt,Un=mn&&Wt<this.index&&Wt>=dt,zt={x:0,y:0},Tt=wt[Dt].edgeOffset;Tt||(Tt=Ke(en,this.container),wt[Dt].edgeOffset=Tt,mn&&(wt[Dt].boundingClientRect=pt(en,He)));var Xt=Dt<wt.length-1&&wt[Dt+1],Ea=Dt>0&&wt[Dt-1];if(Xt&&!Xt.edgeOffset&&(Xt.edgeOffset=Ke(Xt.node,this.container),mn&&(Xt.boundingClientRect=pt(Xt.node,He))),Wt===this.index){xt&&(this.sortableGhost=en,ue(en,{opacity:0,visibility:"hidden"}));continue}ut&&fe(en,ut),this.axis.x?this.axis.y?Un||Wt<this.index&&(Zt.left+ct.left-fn.width<=Tt.left&&Zt.top+ct.top<=Tt.top+fn.height||Zt.top+ct.top+fn.height<=Tt.top)?(zt.x=this.width+this.marginOffset.x,Tt.left+zt.x>this.containerBoundingRect.width-fn.width&&Xt&&(zt.x=Xt.edgeOffset.left-Tt.left,zt.y=Xt.edgeOffset.top-Tt.top),this.newIndex===null&&(this.newIndex=Wt)):(an||Wt>this.index&&(Zt.left+ct.left+fn.width>=Tt.left&&Zt.top+ct.top+fn.height>=Tt.top||Zt.top+ct.top+fn.height>=Tt.top+Vn))&&(zt.x=-(this.width+this.marginOffset.x),Tt.left+zt.x<this.containerBoundingRect.left+fn.width&&Ea&&(zt.x=Ea.edgeOffset.left-Tt.left,zt.y=Ea.edgeOffset.top-Tt.top),this.newIndex=Wt):an||Wt>this.index&&Zt.left+ct.left+fn.width>=Tt.left?(zt.x=-(this.width+this.marginOffset.x),this.newIndex=Wt):(Un||Wt<this.index&&Zt.left+ct.left<=Tt.left+fn.width)&&(zt.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=Wt)):this.axis.y&&(an||Wt>this.index&&Zt.top+ct.top+fn.height>=Tt.top?(zt.y=-(this.height+this.marginOffset.y),this.newIndex=Wt):(Un||Wt<this.index&&Zt.top+ct.top<=Tt.top+fn.height)&&(zt.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=Wt))),me(en,zt),wt[Dt].translate=zt}this.newIndex==null&&(this.newIndex=this.index),mn&&(this.newIndex=dt);var qn=mn?this.prevIndex:dt;Ae&&this.newIndex!==qn&&Ae({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:qn,isKeySorting:mn,nodes:wt,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return y()(we.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.refs.wrappedInstance}},{key:"getContainer",value:function(){var Se=this.props.getContainer;return typeof Se!="function"?(0,re.findDOMNode)(this):Se(we.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var Se=we.withRef?"wrappedInstance":null;return(0,ze.createElement)(ve,(0,z.Z)({ref:Se},ne(this.props,Re)))}},{key:"helperContainer",get:function(){var Se=this.props.helperContainer;return typeof Se=="function"?Se():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var Se=this.props.useWindowAsScrollContainer;return Se?{left:0,top:0}:{left:this.scrollContainer.scrollLeft-this.initialScroll.left,top:this.scrollContainer.scrollTop-this.initialScroll.top}}},{key:"windowScrollDelta",get:function(){return{left:this.contentWindow.pageXOffset-this.initialWindowScroll.left,top:this.contentWindow.pageYOffset-this.initialWindowScroll.top}}}]),et}(ze.Component),(0,Ze.Z)(Ge,"displayName",_e("sortableList",ve)),(0,Ze.Z)(Ge,"defaultProps",Jn),(0,Ze.Z)(Ge,"propTypes",Gt),(0,Ze.Z)(Ge,"childContextTypes",{manager:ye().object.isRequired}),We}var ft={index:ye().number.isRequired,collection:ye().oneOfType([ye().number,ye().string]),disabled:ye().bool},gt=Object.keys(ft);function Oe(ve){var Ge,We,we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return We=Ge=function(mt){(0,nt.Z)(et,mt);function et(){return(0,Ie.Z)(this,et),(0,Ne.Z)(this,(0,ie.Z)(et).apply(this,arguments))}return(0,be.Z)(et,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(Se){this.node&&(Se.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),Se.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),Se.collection!==this.props.collection&&(this.unregister(Se.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var Se=this.props,ut=Se.collection,xt=Se.disabled,Ae=Se.index,He=(0,re.findDOMNode)(this);He.sortableInfo={collection:ut,disabled:xt,index:Ae,manager:this.context.manager},this.node=He,this.ref={node:He},this.context.manager.add(ut,this.ref)}},{key:"unregister",value:function(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(Se,this.ref)}},{key:"getWrappedInstance",value:function(){return y()(we.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Se=we.withRef?"wrappedInstance":null;return(0,ze.createElement)(ve,(0,z.Z)({ref:Se},ne(this.props,gt)))}}]),et}(ze.Component),(0,Ze.Z)(Ge,"displayName",_e("sortableElement",ve)),(0,Ze.Z)(Ge,"contextTypes",{manager:ye().object.isRequired}),(0,Ze.Z)(Ge,"propTypes",ft),(0,Ze.Z)(Ge,"defaultProps",{collection:0}),We}},25510:function(Ct){"use strict";Ct.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgWEd4l2WNsYEwMkIYCQnYkQYhZvQYzUgzPdM908/qet26z/2+k3/ee6u6qrtrpkciOiqr/vvnn3ny5MmTJ0+efPz510ajUSMdukMO3CIcqN8i5TgsxiEHggOHAn0oCLcUBw4F+paqzsPCHAr0oQzcUhw4FOhbqjoPC3Mo0IcycEtx4FCgb6nqPCzMoUAfysAtxYFDgb6lqvOwMIcCfSgDtxQHDgX6lqrOw8IcCvShDNxSHDgU6FuqOg8LcyjQhzJwS3HgUKBvqeo8LMyhQB/KwC3FgUOBvqWq87AwhwJ9KAO3FAcOBfqWqs7DwhwK9KEM3FIcOBToW6o6DwtzKNCHMnBLceBQoG+p6jwszKFAH8rALcWBQ4G+parzsDCHAn0oA7cUB5pf6tJ85PmtRwbL7btGKY3mUj6VbDBIaThItepxTGK9kQDLrkY8h5jxPEiNxs7TzHrdVAvYBnGAR+wYBOR7OPOb4B8DV6mn01RxBoW3O8YmjsXUGNU2t7/w2uPzHx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