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

344 lines
1.2 MiB

!(function(){var us=Object.defineProperty,ss=Object.defineProperties;var ds=Object.getOwnPropertyDescriptors;var Ou=Object.getOwnPropertySymbols;var as=Object.prototype.hasOwnProperty,rs=Object.prototype.propertyIsEnumerable;var Uu=Math.pow,ns=(ft,ut,ee)=>ut in ft?us(ft,ut,{enumerable:!0,configurable:!0,writable:!0,value:ee}):ft[ut]=ee,Zr=(ft,ut)=>{for(var ee in ut||(ut={}))as.call(ut,ee)&&ns(ft,ee,ut[ee]);if(Ou)for(var ee of Ou(ut))rs.call(ut,ee)&&ns(ft,ee,ut[ee]);return ft},si=(ft,ut)=>ss(ft,ds(ut));var Mu=(ft,ut)=>{var ee={};for(var x in ft)as.call(ft,x)&&ut.indexOf(x)<0&&(ee[x]=ft[x]);if(ft!=null&&Ou)for(var x of Ou(ft))ut.indexOf(x)<0&&rs.call(ft,x)&&(ee[x]=ft[x]);return ee};var os=(ft,ut,ee)=>new Promise((x,de)=>{var pe=ke=>{try{we(ee.next(ke))}catch(ie){de(ie)}},De=ke=>{try{we(ee.throw(ke))}catch(ie){de(ie)}},we=ke=>ke.done?x(ke.value):Promise.resolve(ke.value).then(pe,De);we((ee=ee.apply(ft,ut)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[3951],{52310:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},De=pe,we=ee(74643),ke=function(Me,Te){return de.createElement(we.Z,(0,x.Z)({},Me,{ref:Te,icon:De}))},ie=de.forwardRef(ke)},33463:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},De=pe,we=ee(74643),ke=function(Me,Te){return de.createElement(we.Z,(0,x.Z)({},Me,{ref:Te,icon:De}))},ie=de.forwardRef(ke)},28575:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},De=pe,we=ee(74643),ke=function(Me,Te){return de.createElement(we.Z,(0,x.Z)({},Me,{ref:Te,icon:De}))},ie=de.forwardRef(ke)},84249:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},De=pe,we=ee(74643),ke=function(Me,Te){return de.createElement(we.Z,(0,x.Z)({},Me,{ref:Te,icon:De}))},ie=de.forwardRef(ke)},33863:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},De=pe,we=ee(74643),ke=function(Me,Te){return de.createElement(we.Z,(0,x.Z)({},Me,{ref:Te,icon:De}))},ie=de.forwardRef(ke)},81893:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},De=pe,we=ee(74643),ke=function(Me,Te){return de.createElement(we.Z,(0,x.Z)({},Me,{ref:Te,icon:De}))},ie=de.forwardRef(ke)},90674:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},De=pe,we=ee(74643),ke=function(Me,Te){return de.createElement(we.Z,(0,x.Z)({},Me,{ref:Te,icon:De}))},ie=de.forwardRef(ke)},55304:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},De=pe,we=ee(74643),ke=function(Me,Te){return de.createElement(we.Z,(0,x.Z)({},Me,{ref:Te,icon:De}))},ie=de.forwardRef(ke)},73148:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},De=pe,we=ee(74643),ke=function(Me,Te){return de.createElement(we.Z,(0,x.Z)({},Me,{ref:Te,icon:De}))},ie=de.forwardRef(ke)},56747:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},De=pe,we=ee(74643),ke=function(Me,Te){return de.createElement(we.Z,(0,x.Z)({},Me,{ref:Te,icon:De}))},ie=de.forwardRef(ke)},50881:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},De=pe,we=ee(74643),ke=function(Me,Te){return de.createElement(we.Z,(0,x.Z)({},Me,{ref:Te,icon:De}))},ie=de.forwardRef(ke)},22751:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},De=pe,we=ee(74643),ke=function(Me,Te){return de.createElement(we.Z,(0,x.Z)({},Me,{ref:Te,icon:De}))},ie=de.forwardRef(ke)},24018:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},De=pe,we=ee(74643),ke=function(Me,Te){return de.createElement(we.Z,(0,x.Z)({},Me,{ref:Te,icon:De}))},ie=de.forwardRef(ke)},34182:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},De=pe,we=ee(74643),ke=function(Me,Te){return de.createElement(we.Z,(0,x.Z)({},Me,{ref:Te,icon:De}))},ie=de.forwardRef(ke)},40043:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},De=pe,we=ee(74643),ke=function(Me,Te){return de.createElement(we.Z,(0,x.Z)({},Me,{ref:Te,icon:De}))},ie=de.forwardRef(ke)},74664:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},De=pe,we=ee(74643),ke=function(Me,Te){return de.createElement(we.Z,(0,x.Z)({},Me,{ref:Te,icon:De}))},ie=de.forwardRef(ke)},91034:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},De=pe,we=ee(74643),ke=function(Me,Te){return de.createElement(we.Z,(0,x.Z)({},Me,{ref:Te,icon:De}))},ie=de.forwardRef(ke)},60887:function(ft,ut,ee){"use strict";ee.d(ut,{LB:function(){return wo},g4:function(){return je},we:function(){return Nt},pE:function(){return ve},VK:function(){return mt},Cj:function(){return $r},O1:function(){return Yn},Zj:function(){return Fo},VT:function(){return y}});var x=ee(67294),de=ee(73935),pe=ee(24285);const De={display:"none"};function we(ce){let{id:Pe,value:Oe}=ce;return x.createElement("div",{id:Pe,style:De},Oe)}function ke(ce){let{id:Pe,announcement:Oe,ariaLiveType:Se="assertive"}=ce;const Qe={position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return x.createElement("div",{id:Pe,style:Qe,role:"status","aria-live":Se,"aria-atomic":!0},Oe)}function ie(){const[ce,Pe]=(0,x.useState)("");return{announce:(0,x.useCallback)(Se=>{Se!=null&&Pe(Se)},[]),announcement:ce}}const We=(0,x.createContext)(null);function Me(ce){const Pe=(0,x.useContext)(We);(0,x.useEffect)(()=>{if(!Pe)throw new Error("useDndMonitor must be used within a children of <DndContext>");return Pe(ce)},[ce,Pe])}function Te(){const[ce]=(0,x.useState)(()=>new Set),Pe=(0,x.useCallback)(Se=>(ce.add(Se),()=>ce.delete(Se)),[ce]);return[(0,x.useCallback)(Se=>{let{type:Qe,event:ot}=Se;ce.forEach(wt=>{var tt;return(tt=wt[Qe])==null?void 0:tt.call(wt,ot)})},[ce]),Pe]}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.
`},Be={onDragStart(ce){let{active:Pe}=ce;return"Picked up draggable item "+Pe.id+"."},onDragOver(ce){let{active:Pe,over:Oe}=ce;return Oe?"Draggable item "+Pe.id+" was moved over droppable area "+Oe.id+".":"Draggable item "+Pe.id+" is no longer over a droppable area."},onDragEnd(ce){let{active:Pe,over:Oe}=ce;return Oe?"Draggable item "+Pe.id+" was dropped over droppable area "+Oe.id:"Draggable item "+Pe.id+" was dropped."},onDragCancel(ce){let{active:Pe}=ce;return"Dragging was cancelled. Draggable item "+Pe.id+" was dropped."}};function me(ce){let{announcements:Pe=Be,container:Oe,hiddenTextDescribedById:Se,screenReaderInstructions:Qe=ze}=ce;const{announce:ot,announcement:wt}=ie(),tt=(0,pe.Ld)("DndLiveRegion"),[st,ht]=(0,x.useState)(!1);if((0,x.useEffect)(()=>{ht(!0)},[]),Me((0,x.useMemo)(()=>({onDragStart(fn){let{active:Un}=fn;ot(Pe.onDragStart({active:Un}))},onDragMove(fn){let{active:Un,over:Rn}=fn;Pe.onDragMove&&ot(Pe.onDragMove({active:Un,over:Rn}))},onDragOver(fn){let{active:Un,over:Rn}=fn;ot(Pe.onDragOver({active:Un,over:Rn}))},onDragEnd(fn){let{active:Un,over:Rn}=fn;ot(Pe.onDragEnd({active:Un,over:Rn}))},onDragCancel(fn){let{active:Un,over:Rn}=fn;ot(Pe.onDragCancel({active:Un,over:Rn}))}}),[ot,Pe])),!st)return null;const an=x.createElement(x.Fragment,null,x.createElement(we,{id:Se,value:Qe.draggable}),x.createElement(ke,{id:tt,announcement:wt}));return Oe?(0,de.createPortal)(an,Oe):an}var oe;(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"})(oe||(oe={}));function a(){}function y(ce,Pe){return(0,x.useMemo)(()=>({sensor:ce,options:Pe!=null?Pe:{}}),[ce,Pe])}function b(){for(var ce=arguments.length,Pe=new Array(ce),Oe=0;Oe<ce;Oe++)Pe[Oe]=arguments[Oe];return useMemo(()=>[...Pe].filter(Se=>Se!=null),[...Pe])}const E=Object.freeze({x:0,y:0});function z(ce,Pe){return Math.sqrt(Math.pow(ce.x-Pe.x,2)+Math.pow(ce.y-Pe.y,2))}function te(ce,Pe){const Oe=getEventCoordinates(ce);if(!Oe)return"0 0";const Se={x:(Oe.x-Pe.left)/Pe.width*100,y:(Oe.y-Pe.top)/Pe.height*100};return Se.x+"% "+Se.y+"%"}function ne(ce,Pe){let{data:{value:Oe}}=ce,{data:{value:Se}}=Pe;return Oe-Se}function re(ce,Pe){let{data:{value:Oe}}=ce,{data:{value:Se}}=Pe;return Se-Oe}function ae(ce){let{left:Pe,top:Oe,height:Se,width:Qe}=ce;return[{x:Pe,y:Oe},{x:Pe+Qe,y:Oe},{x:Pe,y:Oe+Se},{x:Pe+Qe,y:Oe+Se}]}function le(ce,Pe){if(!ce||ce.length===0)return null;const[Oe]=ce;return Pe?Oe[Pe]:Oe}function he(ce,Pe,Oe){return Pe===void 0&&(Pe=ce.left),Oe===void 0&&(Oe=ce.top),{x:Pe+ce.width*.5,y:Oe+ce.height*.5}}const ve=ce=>{let{collisionRect:Pe,droppableRects:Oe,droppableContainers:Se}=ce;const Qe=he(Pe,Pe.left,Pe.top),ot=[];for(const wt of Se){const{id:tt}=wt,st=Oe.get(tt);if(st){const ht=z(he(st),Qe);ot.push({id:tt,data:{droppableContainer:wt,value:ht}})}}return ot.sort(ne)},Ce=ce=>{let{collisionRect:Pe,droppableRects:Oe,droppableContainers:Se}=ce;const Qe=ae(Pe),ot=[];for(const wt of Se){const{id:tt}=wt,st=Oe.get(tt);if(st){const ht=ae(st),an=Qe.reduce((Un,Rn,Fa)=>Un+z(ht[Fa],Rn),0),fn=Number((an/4).toFixed(4));ot.push({id:tt,data:{droppableContainer:wt,value:fn}})}}return ot.sort(ne)};function be(ce,Pe){const Oe=Math.max(Pe.top,ce.top),Se=Math.max(Pe.left,ce.left),Qe=Math.min(Pe.left+Pe.width,ce.left+ce.width),ot=Math.min(Pe.top+Pe.height,ce.top+ce.height),wt=Qe-Se,tt=ot-Oe;if(Se<Qe&&Oe<ot){const st=Pe.width*Pe.height,ht=ce.width*ce.height,an=wt*tt,fn=an/(st+ht-an);return Number(fn.toFixed(4))}return 0}const ye=ce=>{let{collisionRect:Pe,droppableRects:Oe,droppableContainers:Se}=ce;const Qe=[];for(const ot of Se){const{id:wt}=ot,tt=Oe.get(wt);if(tt){const st=be(tt,Pe);st>0&&Qe.push({id:wt,data:{droppableContainer:ot,value:st}})}}return Qe.sort(re)};function Ae(ce,Pe){const{top:Oe,left:Se,bottom:Qe,right:ot}=Pe;return Oe<=ce.y&&ce.y<=Qe&&Se<=ce.x&&ce.x<=ot}const Ne=ce=>{let{droppableContainers:Pe,droppableRects:Oe,pointerCoordinates:Se}=ce;if(!Se)return[];const Qe=[];for(const ot of Pe){const{id:wt}=ot,tt=Oe.get(wt);if(tt&&Ae(Se,tt)){const ht=ae(tt).reduce((fn,Un)=>fn+z(Se,Un),0),an=Number((ht/4).toFixed(4));Qe.push({id:wt,data:{droppableContainer:ot,value:an}})}}return Qe.sort(ne)};function Xe(ce,Pe,Oe){return si(Zr({},ce),{scaleX:Pe&&Oe?Pe.width/Oe.width:1,scaleY:Pe&&Oe?Pe.height/Oe.height:1})}function Le(ce,Pe){return ce&&Pe?{x:ce.left-Pe.left,y:ce.top-Pe.top}:E}function Ge(ce){return function(Oe){for(var Se=arguments.length,Qe=new Array(Se>1?Se-1:0),ot=1;ot<Se;ot++)Qe[ot-1]=arguments[ot];return Qe.reduce((wt,tt)=>si(Zr({},wt),{top:wt.top+ce*tt.y,bottom:wt.bottom+ce*tt.y,left:wt.left+ce*tt.x,right:wt.right+ce*tt.x}),Zr({},Oe))}}const He=Ge(1);function Ke(ce){if(ce.startsWith("matrix3d(")){const Pe=ce.slice(9,-1).split(/, /);return{x:+Pe[12],y:+Pe[13],scaleX:+Pe[0],scaleY:+Pe[5]}}else if(ce.startsWith("matrix(")){const Pe=ce.slice(7,-1).split(/, /);return{x:+Pe[4],y:+Pe[5],scaleX:+Pe[0],scaleY:+Pe[3]}}return null}function qe(ce,Pe,Oe){const Se=Ke(Pe);if(!Se)return ce;const{scaleX:Qe,scaleY:ot,x:wt,y:tt}=Se,st=ce.left-wt-(1-Qe)*parseFloat(Oe),ht=ce.top-tt-(1-ot)*parseFloat(Oe.slice(Oe.indexOf(" ")+1)),an=Qe?ce.width/Qe:ce.width,fn=ot?ce.height/ot:ce.height;return{width:an,height:fn,top:ht,right:st+an,bottom:ht+fn,left:st}}const it={ignoreTransform:!1};function mt(ce,Pe){Pe===void 0&&(Pe=it);let Oe=ce.getBoundingClientRect();if(Pe.ignoreTransform){const{transform:ht,transformOrigin:an}=(0,pe.Jj)(ce).getComputedStyle(ce);ht&&(Oe=qe(Oe,ht,an))}const{top:Se,left:Qe,width:ot,height:wt,bottom:tt,right:st}=Oe;return{top:Se,left:Qe,width:ot,height:wt,bottom:tt,right:st}}function Yt(ce){return mt(ce,{ignoreTransform:!0})}function cn(ce){const Pe=ce.innerWidth,Oe=ce.innerHeight;return{top:0,left:0,right:Pe,bottom:Oe,width:Pe,height:Oe}}function rt(ce,Pe){return Pe===void 0&&(Pe=(0,pe.Jj)(ce).getComputedStyle(ce)),Pe.position==="fixed"}function Pt(ce,Pe){Pe===void 0&&(Pe=(0,pe.Jj)(ce).getComputedStyle(ce));const Oe=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(Qe=>{const ot=Pe[Qe];return typeof ot=="string"?Oe.test(ot):!1})}function Lt(ce,Pe){const Oe=[];function Se(Qe){if(Pe!=null&&Oe.length>=Pe||!Qe)return Oe;if((0,pe.qk)(Qe)&&Qe.scrollingElement!=null&&!Oe.includes(Qe.scrollingElement))return Oe.push(Qe.scrollingElement),Oe;if(!(0,pe.Re)(Qe)||(0,pe.vZ)(Qe)||Oe.includes(Qe))return Oe;const ot=(0,pe.Jj)(ce).getComputedStyle(Qe);return Qe!==ce&&Pt(Qe,ot)&&Oe.push(Qe),rt(Qe,ot)?Oe:Se(Qe.parentNode)}return ce?Se(ce):Oe}function ct(ce){const[Pe]=Lt(ce,1);return Pe!=null?Pe:null}function Ft(ce){return!pe.Nq||!ce?null:(0,pe.FJ)(ce)?ce:(0,pe.UG)(ce)?(0,pe.qk)(ce)||ce===(0,pe.r3)(ce).scrollingElement?window:(0,pe.Re)(ce)?ce:null:null}function jt(ce){return(0,pe.FJ)(ce)?ce.scrollX:ce.scrollLeft}function _e(ce){return(0,pe.FJ)(ce)?ce.scrollY:ce.scrollTop}function En(ce){return{x:jt(ce),y:_e(ce)}}var Fn;(function(ce){ce[ce.Forward=1]="Forward",ce[ce.Backward=-1]="Backward"})(Fn||(Fn={}));function ha(ce){return!pe.Nq||!ce?!1:ce===document.scrollingElement}function In(ce){const Pe={x:0,y:0},Oe=ha(ce)?{height:window.innerHeight,width:window.innerWidth}:{height:ce.clientHeight,width:ce.clientWidth},Se={x:ce.scrollWidth-Oe.width,y:ce.scrollHeight-Oe.height},Qe=ce.scrollTop<=Pe.y,ot=ce.scrollLeft<=Pe.x,wt=ce.scrollTop>=Se.y,tt=ce.scrollLeft>=Se.x;return{isTop:Qe,isLeft:ot,isBottom:wt,isRight:tt,maxScroll:Se,minScroll:Pe}}const at={x:.2,y:.2};function lt(ce,Pe,Oe,Se,Qe){let{top:ot,left:wt,right:tt,bottom:st}=Oe;Se===void 0&&(Se=10),Qe===void 0&&(Qe=at);const{isTop:ht,isBottom:an,isLeft:fn,isRight:Un}=In(ce),Rn={x:0,y:0},Fa={x:0,y:0},fa={height:Pe.height*Qe.y,width:Pe.width*Qe.x};return!ht&&ot<=Pe.top+fa.height?(Rn.y=Fn.Backward,Fa.y=Se*Math.abs((Pe.top+fa.height-ot)/fa.height)):!an&&st>=Pe.bottom-fa.height&&(Rn.y=Fn.Forward,Fa.y=Se*Math.abs((Pe.bottom-fa.height-st)/fa.height)),!Un&&tt>=Pe.right-fa.width?(Rn.x=Fn.Forward,Fa.x=Se*Math.abs((Pe.right-fa.width-tt)/fa.width)):!fn&&wt<=Pe.left+fa.width&&(Rn.x=Fn.Backward,Fa.x=Se*Math.abs((Pe.left+fa.width-wt)/fa.width)),{direction:Rn,speed:Fa}}function dt(ce){if(ce===document.scrollingElement){const{innerWidth:ot,innerHeight:wt}=window;return{top:0,left:0,right:ot,bottom:wt,width:ot,height:wt}}const{top:Pe,left:Oe,right:Se,bottom:Qe}=ce.getBoundingClientRect();return{top:Pe,left:Oe,right:Se,bottom:Qe,width:ce.clientWidth,height:ce.clientHeight}}function At(ce){return ce.reduce((Pe,Oe)=>(0,pe.IH)(Pe,En(Oe)),E)}function Et(ce){return ce.reduce((Pe,Oe)=>Pe+jt(Oe),0)}function gt(ce){return ce.reduce((Pe,Oe)=>Pe+_e(Oe),0)}function Xt(ce,Pe){if(Pe===void 0&&(Pe=mt),!ce)return;const{top:Oe,left:Se,bottom:Qe,right:ot}=Pe(ce);ct(ce)&&(Qe<=0||ot<=0||Oe>=window.innerHeight||Se>=window.innerWidth)&&ce.scrollIntoView({block:"center",inline:"center"})}const Ot=[["x",["left","right"],Et],["y",["top","bottom"],gt]];class bt{constructor(Pe,Oe){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 Se=Lt(Oe),Qe=At(Se);this.rect=Zr({},Pe),this.width=Pe.width,this.height=Pe.height;for(const[ot,wt,tt]of Ot)for(const st of wt)Object.defineProperty(this,st,{get:()=>{const ht=tt(Se),an=Qe[ot]-ht;return this.rect[st]+an},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class on{constructor(Pe){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(Oe=>{var Se;return(Se=this.target)==null?void 0:Se.removeEventListener(...Oe)})},this.target=Pe}add(Pe,Oe,Se){var Qe;(Qe=this.target)==null||Qe.addEventListener(Pe,Oe,Se),this.listeners.push([Pe,Oe,Se])}}function Jt(ce){const{EventTarget:Pe}=(0,pe.Jj)(ce);return ce instanceof Pe?ce:(0,pe.r3)(ce)}function $e(ce,Pe){const Oe=Math.abs(ce.x),Se=Math.abs(ce.y);return typeof Pe=="number"?Math.sqrt(Uu(Oe,2)+Uu(Se,2))>Pe:"x"in Pe&&"y"in Pe?Oe>Pe.x&&Se>Pe.y:"x"in Pe?Oe>Pe.x:"y"in Pe?Se>Pe.y:!1}var Re;(function(ce){ce.Click="click",ce.DragStart="dragstart",ce.Keydown="keydown",ce.ContextMenu="contextmenu",ce.Resize="resize",ce.SelectionChange="selectionchange",ce.VisibilityChange="visibilitychange"})(Re||(Re={}));function Nn(ce){ce.preventDefault()}function xe(ce){ce.stopPropagation()}var je;(function(ce){ce.Space="Space",ce.Down="ArrowDown",ce.Right="ArrowRight",ce.Left="ArrowLeft",ce.Up="ArrowUp",ce.Esc="Escape",ce.Enter="Enter"})(je||(je={}));const Ht={start:[je.Space,je.Enter],cancel:[je.Esc],end:[je.Space,je.Enter]},et=(ce,Pe)=>{let{currentCoordinates:Oe}=Pe;switch(ce.code){case je.Right:return si(Zr({},Oe),{x:Oe.x+25});case je.Left:return si(Zr({},Oe),{x:Oe.x-25});case je.Down:return si(Zr({},Oe),{y:Oe.y+25});case je.Up:return si(Zr({},Oe),{y:Oe.y-25})}};class Ue{constructor(Pe){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=Pe;const{event:{target:Oe}}=Pe;this.props=Pe,this.listeners=new on((0,pe.r3)(Oe)),this.windowListeners=new on((0,pe.Jj)(Oe)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Re.Resize,this.handleCancel),this.windowListeners.add(Re.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Re.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:Pe,onStart:Oe}=this.props,Se=Pe.node.current;Se&&Xt(Se),Oe(E)}handleKeyDown(Pe){if((0,pe.vd)(Pe)){const{active:Oe,context:Se,options:Qe}=this.props,{keyboardCodes:ot=Ht,coordinateGetter:wt=et,scrollBehavior:tt="smooth"}=Qe,{code:st}=Pe;if(ot.end.includes(st)){this.handleEnd(Pe);return}if(ot.cancel.includes(st)){this.handleCancel(Pe);return}const{collisionRect:ht}=Se.current,an=ht?{x:ht.left,y:ht.top}:E;this.referenceCoordinates||(this.referenceCoordinates=an);const fn=wt(Pe,{active:Oe,context:Se.current,currentCoordinates:an});if(fn){const Un=(0,pe.$X)(fn,an),Rn={x:0,y:0},{scrollableAncestors:Fa}=Se.current;for(const fa of Fa){const hn=Pe.code,{isTop:Gt,isRight:Sn,isLeft:yn,isBottom:pa,maxScroll:Aa,minScroll:xa}=In(fa),za=dt(fa),Na={x:Math.min(hn===je.Right?za.right-za.width/2:za.right,Math.max(hn===je.Right?za.left:za.left+za.width/2,fn.x)),y:Math.min(hn===je.Down?za.bottom-za.height/2:za.bottom,Math.max(hn===je.Down?za.top:za.top+za.height/2,fn.y))},qn=hn===je.Right&&!Sn||hn===je.Left&&!yn,Ba=hn===je.Down&&!pa||hn===je.Up&&!Gt;if(qn&&Na.x!==fn.x){const wa=fa.scrollLeft+Un.x,Ua=hn===je.Right&&wa<=Aa.x||hn===je.Left&&wa>=xa.x;if(Ua&&!Un.y){fa.scrollTo({left:wa,behavior:tt});return}Ua?Rn.x=fa.scrollLeft-wa:Rn.x=hn===je.Right?fa.scrollLeft-Aa.x:fa.scrollLeft-xa.x,Rn.x&&fa.scrollBy({left:-Rn.x,behavior:tt});break}else if(Ba&&Na.y!==fn.y){const wa=fa.scrollTop+Un.y,Ua=hn===je.Down&&wa<=Aa.y||hn===je.Up&&wa>=xa.y;if(Ua&&!Un.x){fa.scrollTo({top:wa,behavior:tt});return}Ua?Rn.y=fa.scrollTop-wa:Rn.y=hn===je.Down?fa.scrollTop-Aa.y:fa.scrollTop-xa.y,Rn.y&&fa.scrollBy({top:-Rn.y,behavior:tt});break}}this.handleMove(Pe,(0,pe.IH)((0,pe.$X)(fn,this.referenceCoordinates),Rn))}}}handleMove(Pe,Oe){const{onMove:Se}=this.props;Pe.preventDefault(),Se(Oe)}handleEnd(Pe){const{onEnd:Oe}=this.props;Pe.preventDefault(),this.detach(),Oe()}handleCancel(Pe){const{onCancel:Oe}=this.props;Pe.preventDefault(),this.detach(),Oe()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}Ue.activators=[{eventName:"onKeyDown",handler:(ce,Pe,Oe)=>{let{keyboardCodes:Se=Ht,onActivation:Qe}=Pe,{active:ot}=Oe;const{code:wt}=ce.nativeEvent;if(Se.start.includes(wt)){const tt=ot.activatorNode.current;return tt&&ce.target!==tt?!1:(ce.preventDefault(),Qe==null||Qe({event:ce.nativeEvent}),!0)}return!1}}];function Ct(ce){return!!(ce&&"distance"in ce)}function yt(ce){return!!(ce&&"delay"in ce)}class kt{constructor(Pe,Oe,Se){var Qe;Se===void 0&&(Se=Jt(Pe.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=Pe,this.events=Oe;const{event:ot}=Pe,{target:wt}=ot;this.props=Pe,this.events=Oe,this.document=(0,pe.r3)(wt),this.documentListeners=new on(this.document),this.listeners=new on(Se),this.windowListeners=new on((0,pe.Jj)(wt)),this.initialCoordinates=(Qe=(0,pe.DC)(ot))!=null?Qe: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:Pe,props:{options:{activationConstraint:Oe,bypassActivationConstraint:Se}}}=this;if(this.listeners.add(Pe.move.name,this.handleMove,{passive:!1}),this.listeners.add(Pe.end.name,this.handleEnd),this.windowListeners.add(Re.Resize,this.handleCancel),this.windowListeners.add(Re.DragStart,Nn),this.windowListeners.add(Re.VisibilityChange,this.handleCancel),this.windowListeners.add(Re.ContextMenu,Nn),this.documentListeners.add(Re.Keydown,this.handleKeydown),Oe){if(Se!=null&&Se({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(yt(Oe)){this.timeoutId=setTimeout(this.handleStart,Oe.delay);return}if(Ct(Oe))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:Pe}=this,{onStart:Oe}=this.props;Pe&&(this.activated=!0,this.documentListeners.add(Re.Click,xe,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Re.SelectionChange,this.removeTextSelection),Oe(Pe))}handleMove(Pe){var Oe;const{activated:Se,initialCoordinates:Qe,props:ot}=this,{onMove:wt,options:{activationConstraint:tt}}=ot;if(!Qe)return;const st=(Oe=(0,pe.DC)(Pe))!=null?Oe:E,ht=(0,pe.$X)(Qe,st);if(!Se&&tt){if(Ct(tt)){if(tt.tolerance!=null&&$e(ht,tt.tolerance))return this.handleCancel();if($e(ht,tt.distance))return this.handleStart()}return yt(tt)&&$e(ht,tt.tolerance)?this.handleCancel():void 0}Pe.cancelable&&Pe.preventDefault(),wt(st)}handleEnd(){const{onEnd:Pe}=this.props;this.detach(),Pe()}handleCancel(){const{onCancel:Pe}=this.props;this.detach(),Pe()}handleKeydown(Pe){Pe.code===je.Esc&&this.handleCancel()}removeTextSelection(){var Pe;(Pe=this.document.getSelection())==null||Pe.removeAllRanges()}}const Pn={move:{name:"pointermove"},end:{name:"pointerup"}};class Nt extends kt{constructor(Pe){const{event:Oe}=Pe,Se=(0,pe.r3)(Oe.target);super(Pe,Pn,Se)}}Nt.activators=[{eventName:"onPointerDown",handler:(ce,Pe)=>{let{nativeEvent:Oe}=ce,{onActivation:Se}=Pe;return!Oe.isPrimary||Oe.button!==0?!1:(Se==null||Se({event:Oe}),!0)}}];const Tt={move:{name:"mousemove"},end:{name:"mouseup"}};var St;(function(ce){ce[ce.RightClick=2]="RightClick"})(St||(St={}));class tn extends kt{constructor(Pe){super(Pe,Tt,(0,pe.r3)(Pe.event.target))}}tn.activators=[{eventName:"onMouseDown",handler:(ce,Pe)=>{let{nativeEvent:Oe}=ce,{onActivation:Se}=Pe;return Oe.button===St.RightClick?!1:(Se==null||Se({event:Oe}),!0)}}];const Kt={move:{name:"touchmove"},end:{name:"touchend"}};class mn extends kt{constructor(Pe){super(Pe,Kt)}static setup(){return window.addEventListener(Kt.move.name,Pe,{capture:!1,passive:!1}),function(){window.removeEventListener(Kt.move.name,Pe)};function Pe(){}}}mn.activators=[{eventName:"onTouchStart",handler:(ce,Pe)=>{let{nativeEvent:Oe}=ce,{onActivation:Se}=Pe;const{touches:Qe}=Oe;return Qe.length>1?!1:(Se==null||Se({event:Oe}),!0)}}];var Qn;(function(ce){ce[ce.Pointer=0]="Pointer",ce[ce.DraggableRect=1]="DraggableRect"})(Qn||(Qn={}));var wn;(function(ce){ce[ce.TreeOrder=0]="TreeOrder",ce[ce.ReversedTreeOrder=1]="ReversedTreeOrder"})(wn||(wn={}));function Wn(ce){let{acceleration:Pe,activator:Oe=Qn.Pointer,canScroll:Se,draggingRect:Qe,enabled:ot,interval:wt=5,order:tt=wn.TreeOrder,pointerCoordinates:st,scrollableAncestors:ht,scrollableAncestorRects:an,delta:fn,threshold:Un}=ce;const Rn=_t({delta:fn,disabled:!ot}),[Fa,fa]=(0,pe.Yz)(),hn=(0,x.useRef)({x:0,y:0}),Gt=(0,x.useRef)({x:0,y:0}),Sn=(0,x.useMemo)(()=>{switch(Oe){case Qn.Pointer:return st?{top:st.y,bottom:st.y,left:st.x,right:st.x}:null;case Qn.DraggableRect:return Qe}},[Oe,Qe,st]),yn=(0,x.useRef)(null),pa=(0,x.useCallback)(()=>{const xa=yn.current;if(!xa)return;const za=hn.current.x*Gt.current.x,Na=hn.current.y*Gt.current.y;xa.scrollBy(za,Na)},[]),Aa=(0,x.useMemo)(()=>tt===wn.TreeOrder?[...ht].reverse():ht,[tt,ht]);(0,x.useEffect)(()=>{if(!ot||!ht.length||!Sn){fa();return}for(const xa of Aa){if((Se==null?void 0:Se(xa))===!1)continue;const za=ht.indexOf(xa),Na=an[za];if(!Na)continue;const{direction:qn,speed:Ba}=lt(xa,Na,Sn,Pe,Un);for(const wa of["x","y"])Rn[wa][qn[wa]]||(Ba[wa]=0,qn[wa]=0);if(Ba.x>0||Ba.y>0){fa(),yn.current=xa,Fa(pa,wt),hn.current=Ba,Gt.current=qn;return}}hn.current={x:0,y:0},Gt.current={x:0,y:0},fa()},[Pe,pa,Se,fa,ot,wt,JSON.stringify(Sn),JSON.stringify(Rn),Fa,ht,Aa,an,JSON.stringify(Un)])}const ma={x:{[Fn.Backward]:!1,[Fn.Forward]:!1},y:{[Fn.Backward]:!1,[Fn.Forward]:!1}};function _t(ce){let{delta:Pe,disabled:Oe}=ce;const Se=(0,pe.D9)(Pe);return(0,pe.Gj)(Qe=>{if(Oe||!Se||!Qe)return ma;const ot={x:Math.sign(Pe.x-Se.x),y:Math.sign(Pe.y-Se.y)};return{x:{[Fn.Backward]:Qe.x[Fn.Backward]||ot.x===-1,[Fn.Forward]:Qe.x[Fn.Forward]||ot.x===1},y:{[Fn.Backward]:Qe.y[Fn.Backward]||ot.y===-1,[Fn.Forward]:Qe.y[Fn.Forward]||ot.y===1}}},[Oe,Pe,Se])}function Vt(ce,Pe){const Oe=Pe!==null?ce.get(Pe):void 0,Se=Oe?Oe.node.current:null;return(0,pe.Gj)(Qe=>{var ot;return Pe===null?null:(ot=Se!=null?Se:Qe)!=null?ot:null},[Se,Pe])}function en(ce,Pe){return(0,x.useMemo)(()=>ce.reduce((Oe,Se)=>{const{sensor:Qe}=Se,ot=Qe.activators.map(wt=>({eventName:wt.eventName,handler:Pe(wt.handler,Se)}));return[...Oe,...ot]},[]),[ce,Pe])}var la;(function(ce){ce[ce.Always=0]="Always",ce[ce.BeforeDragging=1]="BeforeDragging",ce[ce.WhileDragging=2]="WhileDragging"})(la||(la={}));var aa;(function(ce){ce.Optimized="optimized"})(aa||(aa={}));const jn=new Map;function Oa(ce,Pe){let{dragging:Oe,dependencies:Se,config:Qe}=Pe;const[ot,wt]=(0,x.useState)(null),{frequency:tt,measure:st,strategy:ht}=Qe,an=(0,x.useRef)(ce),fn=hn(),Un=(0,pe.Ey)(fn),Rn=(0,x.useCallback)(function(Gt){Gt===void 0&&(Gt=[]),!Un.current&&wt(Sn=>Sn===null?Gt:Sn.concat(Gt.filter(yn=>!Sn.includes(yn))))},[Un]),Fa=(0,x.useRef)(null),fa=(0,pe.Gj)(Gt=>{if(fn&&!Oe)return jn;if(!Gt||Gt===jn||an.current!==ce||ot!=null){const Sn=new Map;for(let yn of ce){if(!yn)continue;if(ot&&ot.length>0&&!ot.includes(yn.id)&&yn.rect.current){Sn.set(yn.id,yn.rect.current);continue}const pa=yn.node.current,Aa=pa?new bt(st(pa),pa):null;yn.rect.current=Aa,Aa&&Sn.set(yn.id,Aa)}return Sn}return Gt},[ce,ot,Oe,fn,st]);return(0,x.useEffect)(()=>{an.current=ce},[ce]),(0,x.useEffect)(()=>{fn||Rn()},[Oe,fn]),(0,x.useEffect)(()=>{ot&&ot.length>0&&wt(null)},[JSON.stringify(ot)]),(0,x.useEffect)(()=>{fn||typeof tt!="number"||Fa.current!==null||(Fa.current=setTimeout(()=>{Rn(),Fa.current=null},tt))},[tt,fn,Rn,...Se]),{droppableRects:fa,measureDroppableContainers:Rn,measuringScheduled:ot!=null};function hn(){switch(ht){case la.Always:return!1;case la.BeforeDragging:return Oe;default:return!Oe}}}function Ia(ce,Pe){return(0,pe.Gj)(Oe=>ce?Oe||(typeof Pe=="function"?Pe(ce):ce):null,[Pe,ce])}function vr(ce,Pe){return Ia(ce,Pe)}function zr(ce){let{callback:Pe,disabled:Oe}=ce;const Se=(0,pe.zX)(Pe),Qe=(0,x.useMemo)(()=>{if(Oe||typeof window=="undefined"||typeof window.MutationObserver=="undefined")return;const{MutationObserver:ot}=window;return new ot(Se)},[Se,Oe]);return(0,x.useEffect)(()=>()=>Qe==null?void 0:Qe.disconnect(),[Qe]),Qe}function La(ce){let{callback:Pe,disabled:Oe}=ce;const Se=(0,pe.zX)(Pe),Qe=(0,x.useMemo)(()=>{if(Oe||typeof window=="undefined"||typeof window.ResizeObserver=="undefined")return;const{ResizeObserver:ot}=window;return new ot(Se)},[Oe]);return(0,x.useEffect)(()=>()=>Qe==null?void 0:Qe.disconnect(),[Qe]),Qe}function Je(ce){return new bt(mt(ce),ce)}function Bt(ce,Pe,Oe){Pe===void 0&&(Pe=Je);const[Se,Qe]=(0,x.useReducer)(tt,null),ot=zr({callback(st){if(ce)for(const ht of st){const{type:an,target:fn}=ht;if(an==="childList"&&fn instanceof HTMLElement&&fn.contains(ce)){Qe();break}}}}),wt=La({callback:Qe});return(0,pe.LI)(()=>{Qe(),ce?(wt==null||wt.observe(ce),ot==null||ot.observe(document.body,{childList:!0,subtree:!0})):(wt==null||wt.disconnect(),ot==null||ot.disconnect())},[ce]),Se;function tt(st){if(!ce)return null;if(ce.isConnected===!1){var ht;return(ht=st!=null?st:Oe)!=null?ht:null}const an=Pe(ce);return JSON.stringify(st)===JSON.stringify(an)?st:an}}function xt(ce){const Pe=Ia(ce);return Le(ce,Pe)}const Tn=[];function pn(ce){const Pe=(0,x.useRef)(ce),Oe=(0,pe.Gj)(Se=>ce?Se&&Se!==Tn&&ce&&Pe.current&&ce.parentNode===Pe.current.parentNode?Se:Lt(ce):Tn,[ce]);return(0,x.useEffect)(()=>{Pe.current=ce},[ce]),Oe}function _n(ce){const[Pe,Oe]=(0,x.useState)(null),Se=(0,x.useRef)(ce),Qe=(0,x.useCallback)(ot=>{const wt=Ft(ot.target);wt&&Oe(tt=>tt?(tt.set(wt,En(wt)),new Map(tt)):null)},[]);return(0,x.useEffect)(()=>{const ot=Se.current;if(ce!==ot){wt(ot);const tt=ce.map(st=>{const ht=Ft(st);return ht?(ht.addEventListener("scroll",Qe,{passive:!0}),[ht,En(ht)]):null}).filter(st=>st!=null);Oe(tt.length?new Map(tt):null),Se.current=ce}return()=>{wt(ce),wt(ot)};function wt(tt){tt.forEach(st=>{const ht=Ft(st);ht==null||ht.removeEventListener("scroll",Qe)})}},[Qe,ce]),(0,x.useMemo)(()=>ce.length?Pe?Array.from(Pe.values()).reduce((ot,wt)=>(0,pe.IH)(ot,wt),E):At(ce):E,[ce,Pe])}function Xr(ce,Pe){Pe===void 0&&(Pe=[]);const Oe=(0,x.useRef)(null);return(0,x.useEffect)(()=>{Oe.current=null},Pe),(0,x.useEffect)(()=>{const Se=ce!==E;Se&&!Oe.current&&(Oe.current=ce),!Se&&Oe.current&&(Oe.current=null)},[ce]),Oe.current?(0,pe.$X)(ce,Oe.current):E}function Ta(ce){(0,x.useEffect)(()=>{if(!pe.Nq)return;const Pe=ce.map(Oe=>{let{sensor:Se}=Oe;return Se.setup==null?void 0:Se.setup()});return()=>{for(const Oe of Pe)Oe==null||Oe()}},ce.map(Pe=>{let{sensor:Oe}=Pe;return Oe}))}function Cr(ce,Pe){return(0,x.useMemo)(()=>ce.reduce((Oe,Se)=>{let{eventName:Qe,handler:ot}=Se;return Oe[Qe]=wt=>{ot(wt,Pe)},Oe},{}),[ce,Pe])}function Yr(ce){return(0,x.useMemo)(()=>ce?cn(ce):null,[ce])}const co=[];function Xn(ce,Pe){Pe===void 0&&(Pe=mt);const[Oe]=ce,Se=Yr(Oe?(0,pe.Jj)(Oe):null),[Qe,ot]=(0,x.useReducer)(tt,co),wt=La({callback:ot});return ce.length>0&&Qe===co&&ot(),(0,pe.LI)(()=>{ce.length?ce.forEach(st=>wt==null?void 0:wt.observe(st)):(wt==null||wt.disconnect(),ot())},[ce]),Qe;function tt(){return ce.length?ce.map(st=>ha(st)?Se:new bt(Pe(st),st)):co}}function ur(ce){if(!ce)return null;if(ce.children.length>1)return ce;const Pe=ce.children[0];return(0,pe.Re)(Pe)?Pe:ce}function pt(ce){let{measure:Pe}=ce;const[Oe,Se]=(0,x.useState)(null),Qe=(0,x.useCallback)(ht=>{for(const{target:an}of ht)if((0,pe.Re)(an)){Se(fn=>{const Un=Pe(an);return fn?si(Zr({},fn),{width:Un.width,height:Un.height}):Un});break}},[Pe]),ot=La({callback:Qe}),wt=(0,x.useCallback)(ht=>{const an=ur(ht);ot==null||ot.disconnect(),an&&(ot==null||ot.observe(an)),Se(an?Pe(an):null)},[Pe,ot]),[tt,st]=(0,pe.wm)(wt);return(0,x.useMemo)(()=>({nodeRef:tt,rect:Oe,setRef:st}),[Oe,tt,st])}const qt=[{sensor:Nt,options:{}},{sensor:Ue,options:{}}],Ut={current:{}},dn={draggable:{measure:Yt},droppable:{measure:Yt,strategy:la.WhileDragging,frequency:aa.Optimized},dragOverlay:{measure:mt}};class Gn extends Map{get(Pe){var Oe;return Pe!=null&&(Oe=super.get(Pe))!=null?Oe:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(Pe=>{let{disabled:Oe}=Pe;return!Oe})}getNodeFor(Pe){var Oe,Se;return(Oe=(Se=this.get(Pe))==null?void 0:Se.node.current)!=null?Oe:void 0}}const nn={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Gn,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:a},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:dn,measureDroppableContainers:a,windowRect:null,measuringScheduled:!1},Vn={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:a,draggableNodes:new Map,over:null,measureDroppableContainers:a},Cn=(0,x.createContext)(Vn),ia=(0,x.createContext)(nn);function Za(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Gn}}}function ir(ce,Pe){switch(Pe.type){case oe.DragStart:return si(Zr({},ce),{draggable:si(Zr({},ce.draggable),{initialCoordinates:Pe.initialCoordinates,active:Pe.active})});case oe.DragMove:return ce.draggable.active?si(Zr({},ce),{draggable:si(Zr({},ce.draggable),{translate:{x:Pe.coordinates.x-ce.draggable.initialCoordinates.x,y:Pe.coordinates.y-ce.draggable.initialCoordinates.y}})}):ce;case oe.DragEnd:case oe.DragCancel:return si(Zr({},ce),{draggable:si(Zr({},ce.draggable),{active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}})});case oe.RegisterDroppable:{const{element:Oe}=Pe,{id:Se}=Oe,Qe=new Gn(ce.droppable.containers);return Qe.set(Se,Oe),si(Zr({},ce),{droppable:si(Zr({},ce.droppable),{containers:Qe})})}case oe.SetDroppableDisabled:{const{id:Oe,key:Se,disabled:Qe}=Pe,ot=ce.droppable.containers.get(Oe);if(!ot||Se!==ot.key)return ce;const wt=new Gn(ce.droppable.containers);return wt.set(Oe,si(Zr({},ot),{disabled:Qe})),si(Zr({},ce),{droppable:si(Zr({},ce.droppable),{containers:wt})})}case oe.UnregisterDroppable:{const{id:Oe,key:Se}=Pe,Qe=ce.droppable.containers.get(Oe);if(!Qe||Se!==Qe.key)return ce;const ot=new Gn(ce.droppable.containers);return ot.delete(Oe),si(Zr({},ce),{droppable:si(Zr({},ce.droppable),{containers:ot})})}default:return ce}}function Nr(ce){let{disabled:Pe}=ce;const{active:Oe,activatorEvent:Se,draggableNodes:Qe}=(0,x.useContext)(Cn),ot=(0,pe.D9)(Se),wt=(0,pe.D9)(Oe==null?void 0:Oe.id);return(0,x.useEffect)(()=>{if(!Pe&&!Se&&ot&&wt!=null){if(!(0,pe.vd)(ot)||document.activeElement===ot.target)return;const tt=Qe.get(wt);if(!tt)return;const{activatorNode:st,node:ht}=tt;if(!st.current&&!ht.current)return;requestAnimationFrame(()=>{for(const an of[st.current,ht.current]){if(!an)continue;const fn=(0,pe.so)(an);if(fn){fn.focus();break}}})}},[Se,Pe,Qe,wt,ot]),null}function Hr(ce,Pe){let Qe=Pe,{transform:Oe}=Qe,Se=Mu(Qe,["transform"]);return ce!=null&&ce.length?ce.reduce((ot,wt)=>wt(Zr({transform:ot},Se)),Oe):Oe}function Ln(ce){return(0,x.useMemo)(()=>({draggable:Zr(Zr({},dn.draggable),ce==null?void 0:ce.draggable),droppable:Zr(Zr({},dn.droppable),ce==null?void 0:ce.droppable),dragOverlay:Zr(Zr({},dn.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 _o(ce){let{activeNode:Pe,measure:Oe,initialRect:Se,config:Qe=!0}=ce;const ot=(0,x.useRef)(!1),{x:wt,y:tt}=typeof Qe=="boolean"?{x:Qe,y:Qe}:Qe;(0,pe.LI)(()=>{if(!wt&&!tt||!Pe){ot.current=!1;return}if(ot.current||!Se)return;const ht=Pe==null?void 0:Pe.node.current;if(!ht||ht.isConnected===!1)return;const an=Oe(ht),fn=Le(an,Se);if(wt||(fn.x=0),tt||(fn.y=0),ot.current=!0,Math.abs(fn.x)>0||Math.abs(fn.y)>0){const Un=ct(ht);Un&&Un.scrollBy({top:fn.y,left:fn.x})}},[Pe,wt,tt,Se,Oe])}const Io=(0,x.createContext)(si(Zr({},E),{scaleX:1,scaleY:1}));var Sr;(function(ce){ce[ce.Uninitialized=0]="Uninitialized",ce[ce.Initializing=1]="Initializing",ce[ce.Initialized=2]="Initialized"})(Sr||(Sr={}));const wo=(0,x.memo)(function(Pe){var Oe,Se,Qe,ot;let Ar=Pe,{id:wt,accessibility:tt,autoScroll:st=!0,children:ht,sensors:an=qt,collisionDetection:fn=ye,measuring:Un,modifiers:Rn}=Ar,Fa=Mu(Ar,["id","accessibility","autoScroll","children","sensors","collisionDetection","measuring","modifiers"]);const fa=(0,x.useReducer)(ir,void 0,Za),[hn,Gt]=fa,[Sn,yn]=Te(),[pa,Aa]=(0,x.useState)(Sr.Uninitialized),xa=pa===Sr.Initialized,{draggable:{active:za,nodes:Na,translate:qn},droppable:{containers:Ba}}=hn,wa=za?Na.get(za):null,Ua=(0,x.useRef)({initial:null,translated:null}),er=(0,x.useMemo)(()=>{var uo;return za!=null?{id:za,data:(uo=wa==null?void 0:wa.data)!=null?uo:Ut,rect:Ua}:null},[za,wa]),Rr=(0,x.useRef)(null),[ao,xo]=(0,x.useState)(null),[ga,Eo]=(0,x.useState)(null),ii=(0,pe.Ey)(Fa,Object.values(Fa)),ki=(0,pe.Ld)("DndDescribedBy",wt),sl=(0,x.useMemo)(()=>Ba.getEnabled(),[Ba]),Zi=Ln(Un),{droppableRects:di,measureDroppableContainers:Uo,measuringScheduled:Xi}=Oa(sl,{dragging:xa,dependencies:[qn.x,qn.y],config:Zi.droppable}),Di=Vt(Na,za),cl=(0,x.useMemo)(()=>ga?(0,pe.DC)(ga):null,[ga]),$t=xr(),Zt=vr(Di,Zi.draggable.measure);_o({activeNode:za?Na.get(za):null,config:$t.layoutShiftCompensation,initialRect:Zt,measure:Zi.draggable.measure});const zt=Bt(Di,Zi.draggable.measure,Zt),Da=Bt(Di?Di.parentElement:null),ar=(0,x.useRef)({activatorEvent:null,active:null,activeNode:Di,collisionRect:null,collisions:null,droppableRects:di,draggableNodes:Na,draggingNode:null,draggingNodeRect:null,droppableContainers:Ba,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Ma=Ba.getNodeFor((Oe=ar.current.over)==null?void 0:Oe.id),Zn=pt({measure:Zi.dragOverlay.measure}),Qa=(Se=Zn.nodeRef.current)!=null?Se:Di,bn=xa?(Qe=Zn.rect)!=null?Qe:zt:null,Ca=!!(Zn.nodeRef.current&&Zn.rect),Sa=xt(Ca?null:zt),Gr=Yr(Qa?(0,pe.Jj)(Qa):null),_a=pn(xa?Ma!=null?Ma:Di:null),jo=Xn(_a),lo=Hr(Rn,{transform:{x:qn.x-Sa.x,y:qn.y-Sa.y,scaleX:1,scaleY:1},activatorEvent:ga,active:er,activeNodeRect:zt,containerNodeRect:Da,draggingNodeRect:bn,over:ar.current.over,overlayNodeRect:Zn.rect,scrollableAncestors:_a,scrollableAncestorRects:jo,windowRect:Gr}),vo=cl?(0,pe.IH)(cl,qn):null,cr=_n(_a),sr=Xr(cr),$n=Xr(cr,[zt]),Mr=(0,pe.IH)(lo,sr),li=bn?He(bn,lo):null,ka=er&&li?fn({active:er,collisionRect:li,droppableRects:di,droppableContainers:sl,pointerCoordinates:vo}):null,Pa=le(ka,"id"),[Qr,Li]=(0,x.useState)(null),Jn=Ca?lo:(0,pe.IH)(lo,$n),fr=Xe(Jn,(ot=Qr==null?void 0:Qr.rect)!=null?ot:null,zt),ya=(0,x.useCallback)((uo,wr)=>{let{sensor:fo,options:lr}=wr;if(Rr.current==null)return;const Br=Na.get(Rr.current);if(!Br)return;const So=uo.nativeEvent,$o=new fo({active:Rr.current,activeNode:Br,event:So,options:lr,context:ar,onStart(ca){const rr=Rr.current;if(rr==null)return;const ta=Na.get(rr);if(!ta)return;const{onDragStart:Wa}=ii.current,Kr={active:{id:rr,data:ta.data,rect:Ua}};(0,de.unstable_batchedUpdates)(()=>{Wa==null||Wa(Kr),Aa(Sr.Initializing),Gt({type:oe.DragStart,initialCoordinates:ca,active:rr}),Sn({type:"onDragStart",event:Kr})})},onMove(ca){Gt({type:oe.DragMove,coordinates:ca})},onEnd:On(oe.DragEnd),onCancel:On(oe.DragCancel)});(0,de.unstable_batchedUpdates)(()=>{xo($o),Eo(uo.nativeEvent)});function On(ca){return function(){return os(this,null,function*(){const{active:ta,collisions:Wa,over:Kr,scrollAdjustedTranslate:Ir}=ar.current;let Lo=null;if(ta&&Ir){const{cancelDrop:hi}=ii.current;Lo={activatorEvent:So,active:ta,collisions:Wa,delta:Ir,over:Kr},ca===oe.DragEnd&&typeof hi=="function"&&(yield Promise.resolve(hi(Lo)))&&(ca=oe.DragCancel)}Rr.current=null,(0,de.unstable_batchedUpdates)(()=>{Gt({type:ca}),Aa(Sr.Uninitialized),Li(null),xo(null),Eo(null);const hi=ca===oe.DragEnd?"onDragEnd":"onDragCancel";if(Lo){const Ki=ii.current[hi];Ki==null||Ki(Lo),Sn({type:hi,event:Lo})}})})}}},[Na]),ln=(0,x.useCallback)((uo,wr)=>(fo,lr)=>{const Br=fo.nativeEvent,So=Na.get(lr);if(Rr.current!==null||!So||Br.dndKit||Br.defaultPrevented)return;const $o={active:So};uo(fo,wr.options,$o)===!0&&(Br.dndKit={capturedBy:wr.sensor},Rr.current=lr,ya(fo,wr))},[Na,ya]),da=en(an,ln);Ta(an),(0,pe.LI)(()=>{zt&&pa===Sr.Initializing&&Aa(Sr.Initialized)},[zt,pa]),(0,x.useEffect)(()=>{const{onDragMove:uo}=ii.current,{active:wr,activatorEvent:fo,collisions:lr,over:Br}=ar.current;if(!wr||!fo)return;const So={active:wr,activatorEvent:fo,collisions:lr,delta:{x:Mr.x,y:Mr.y},over:Br};(0,de.unstable_batchedUpdates)(()=>{uo==null||uo(So),Sn({type:"onDragMove",event:So})})},[Mr.x,Mr.y]),(0,x.useEffect)(()=>{const{active:uo,activatorEvent:wr,collisions:fo,droppableContainers:lr,scrollAdjustedTranslate:Br}=ar.current;if(!uo||Rr.current==null||!wr||!Br)return;const{onDragOver:So}=ii.current,$o=lr.get(Pa),On=$o&&$o.rect.current?{id:$o.id,rect:$o.rect.current,data:$o.data,disabled:$o.disabled}:null,ca={active:uo,activatorEvent:wr,collisions:fo,delta:{x:Br.x,y:Br.y},over:On};(0,de.unstable_batchedUpdates)(()=>{Li(On),So==null||So(ca),Sn({type:"onDragOver",event:ca})})},[Pa]),(0,pe.LI)(()=>{ar.current={activatorEvent:ga,active:er,activeNode:Di,collisionRect:li,collisions:ka,droppableRects:di,draggableNodes:Na,draggingNode:Qa,draggingNodeRect:bn,droppableContainers:Ba,over:Qr,scrollableAncestors:_a,scrollAdjustedTranslate:Mr},Ua.current={initial:bn,translated:li}},[er,Di,ka,li,Na,Qa,bn,di,Ba,Qr,_a,Mr]),Wn(si(Zr({},$t),{delta:qn,draggingRect:li,pointerCoordinates:vo,scrollableAncestors:_a,scrollableAncestorRects:jo}));const Dn=(0,x.useMemo)(()=>({active:er,activeNode:Di,activeNodeRect:zt,activatorEvent:ga,collisions:ka,containerNodeRect:Da,dragOverlay:Zn,draggableNodes:Na,droppableContainers:Ba,droppableRects:di,over:Qr,measureDroppableContainers:Uo,scrollableAncestors:_a,scrollableAncestorRects:jo,measuringConfiguration:Zi,measuringScheduled:Xi,windowRect:Gr}),[er,Di,zt,ga,ka,Da,Zn,Na,Ba,di,Qr,Uo,_a,jo,Zi,Xi,Gr]),Vr=(0,x.useMemo)(()=>({activatorEvent:ga,activators:da,active:er,activeNodeRect:zt,ariaDescribedById:{draggable:ki},dispatch:Gt,draggableNodes:Na,over:Qr,measureDroppableContainers:Uo}),[ga,da,er,zt,Gt,ki,Na,Qr,Uo]);return x.createElement(We.Provider,{value:yn},x.createElement(Cn.Provider,{value:Vr},x.createElement(ia.Provider,{value:Dn},x.createElement(Io.Provider,{value:fr},ht)),x.createElement(Nr,{disabled:(tt==null?void 0:tt.restoreFocus)===!1})),x.createElement(me,si(Zr({},tt),{hiddenTextDescribedById:ki})));function xr(){const uo=(ao==null?void 0:ao.autoScrollEnabled)===!1,wr=typeof st=="object"?st.enabled===!1:st===!1,fo=xa&&!uo&&!wr;return typeof st=="object"?si(Zr({},st),{enabled:fo}):{enabled:fo}}}),ua=(0,x.createContext)(null),Ra="button",mr="Droppable";function Yn(ce){let{id:Pe,data:Oe,disabled:Se=!1,attributes:Qe}=ce;const ot=(0,pe.Ld)(mr),{activators:wt,activatorEvent:tt,active:st,activeNodeRect:ht,ariaDescribedById:an,draggableNodes:fn,over:Un}=(0,x.useContext)(Cn),{role:Rn=Ra,roleDescription:Fa="draggable",tabIndex:fa=0}=Qe!=null?Qe:{},hn=(st==null?void 0:st.id)===Pe,Gt=(0,x.useContext)(hn?Io:ua),[Sn,yn]=(0,pe.wm)(),[pa,Aa]=(0,pe.wm)(),xa=Cr(wt,Pe),za=(0,pe.Ey)(Oe);(0,pe.LI)(()=>(fn.set(Pe,{id:Pe,key:ot,node:Sn,activatorNode:pa,data:za}),()=>{const qn=fn.get(Pe);qn&&qn.key===ot&&fn.delete(Pe)}),[fn,Pe]);const Na=(0,x.useMemo)(()=>({role:Rn,tabIndex:fa,"aria-disabled":Se,"aria-pressed":hn&&Rn===Ra?!0:void 0,"aria-roledescription":Fa,"aria-describedby":an.draggable}),[Se,Rn,fa,hn,Fa,an.draggable]);return{active:st,activatorEvent:tt,activeNodeRect:ht,attributes:Na,isDragging:hn,listeners:Se?void 0:xa,node:Sn,over:Un,setNodeRef:yn,setActivatorNodeRef:Aa,transform:Gt}}function $r(){return(0,x.useContext)(ia)}const Or="Droppable",Wo={timeout:25};function Fo(ce){let{data:Pe,disabled:Oe=!1,id:Se,resizeObserverConfig:Qe}=ce;const ot=(0,pe.Ld)(Or),{active:wt,dispatch:tt,over:st,measureDroppableContainers:ht}=(0,x.useContext)(Cn),an=(0,x.useRef)({disabled:Oe}),fn=(0,x.useRef)(!1),Un=(0,x.useRef)(null),Rn=(0,x.useRef)(null),{disabled:Fa,updateMeasurementsFor:fa,timeout:hn}=Zr(Zr({},Wo),Qe),Gt=(0,pe.Ey)(fa!=null?fa:Se),Sn=(0,x.useCallback)(()=>{if(!fn.current){fn.current=!0;return}Rn.current!=null&&clearTimeout(Rn.current),Rn.current=setTimeout(()=>{ht(Array.isArray(Gt.current)?Gt.current:[Gt.current]),Rn.current=null},hn)},[hn]),yn=La({callback:Sn,disabled:Fa||!wt}),pa=(0,x.useCallback)((Na,qn)=>{yn&&(qn&&(yn.unobserve(qn),fn.current=!1),Na&&yn.observe(Na))},[yn]),[Aa,xa]=(0,pe.wm)(pa),za=(0,pe.Ey)(Pe);return(0,x.useEffect)(()=>{!yn||!Aa.current||(yn.disconnect(),fn.current=!1,yn.observe(Aa.current))},[Aa,yn]),(0,pe.LI)(()=>(tt({type:oe.RegisterDroppable,element:{id:Se,key:ot,disabled:Oe,node:Aa,rect:Un,data:za}}),()=>tt({type:oe.UnregisterDroppable,key:ot,id:Se})),[Se]),(0,x.useEffect)(()=>{Oe!==an.current.disabled&&(tt({type:oe.SetDroppableDisabled,id:Se,key:ot,disabled:Oe}),an.current.disabled=Oe)},[Se,ot,Oe,tt]),{active:wt,rect:Un,isOver:(st==null?void 0:st.id)===Se,node:Aa,over:st,setNodeRef:xa}}function ko(ce){let{animation:Pe,children:Oe}=ce;const[Se,Qe]=useState(null),[ot,wt]=useState(null),tt=usePrevious(Oe);return!Oe&&!Se&&tt&&Qe(tt),useIsomorphicLayoutEffect(()=>{if(!ot)return;const st=Se==null?void 0:Se.key,ht=Se==null?void 0:Se.props.id;if(st==null||ht==null){Qe(null);return}Promise.resolve(Pe(ht,ot)).then(()=>{Qe(null)})},[Pe,Se,ot]),React.createElement(React.Fragment,null,Oe,Se?cloneElement(Se,{ref:wt}):null)}const Gi={x:0,y:0,scaleX:1,scaleY:1};function Jo(ce){let{children:Pe}=ce;return React.createElement(Cn.Provider,{value:Vn},React.createElement(Io.Provider,{value:Gi},Pe))}const nl={position:"fixed",touchAction:"none"},al=ce=>isKeyboardEvent(ce)?"transform 250ms ease":void 0,kn=null,Ho={duration:250,easing:"ease",keyframes:ce=>{let{transform:{initial:Pe,final:Oe}}=ce;return[{transform:pe.ux.Transform.toString(Pe)},{transform:pe.ux.Transform.toString(Oe)}]},sideEffects:(ce=>Pe=>{let{active:Oe,dragOverlay:Se}=Pe;const Qe={},{styles:ot,className:wt}=ce;if(ot!=null&&ot.active)for(const[tt,st]of Object.entries(ot.active))st!==void 0&&(Qe[tt]=Oe.node.style.getPropertyValue(tt),Oe.node.style.setProperty(tt,st));if(ot!=null&&ot.dragOverlay)for(const[tt,st]of Object.entries(ot.dragOverlay))st!==void 0&&Se.node.style.setProperty(tt,st);return wt!=null&&wt.active&&Oe.node.classList.add(wt.active),wt!=null&&wt.dragOverlay&&Se.node.classList.add(wt.dragOverlay),function(){for(const[st,ht]of Object.entries(Qe))Oe.node.style.setProperty(st,ht);wt!=null&&wt.active&&Oe.node.classList.remove(wt.active)}})({styles:{active:{opacity:"0"}}})};function xi(ce){let{config:Pe,draggableNodes:Oe,droppableContainers:Se,measuringConfiguration:Qe}=ce;return useEvent((ot,wt)=>{if(Pe===null)return;const tt=Oe.get(ot);if(!tt)return;const st=tt.node.current;if(!st)return;const ht=ur(wt);if(!ht)return;const{transform:an}=getWindow(wt).getComputedStyle(wt),fn=Ke(an);if(!fn)return;const Un=typeof Pe=="function"?Pe:ri(Pe);return Xt(st,Qe.draggable.measure),Un({active:{id:ot,data:tt.data,node:st,rect:Qe.draggable.measure(st)},draggableNodes:Oe,dragOverlay:{node:wt,rect:Qe.dragOverlay.measure(ht)},droppableContainers:Se,measuringConfiguration:Qe,transform:fn})})}function ri(ce){const{duration:Pe,easing:Oe,sideEffects:Se,keyframes:Qe}=Zr(Zr({},Ho),ce);return ot=>{let Sn=ot,{active:wt,dragOverlay:tt,transform:st}=Sn,ht=Mu(Sn,["active","dragOverlay","transform"]);if(!Pe)return;const an={x:tt.rect.left-wt.rect.left,y:tt.rect.top-wt.rect.top},fn={scaleX:st.scaleX!==1?wt.rect.width*st.scaleX/tt.rect.width:1,scaleY:st.scaleY!==1?wt.rect.height*st.scaleY/tt.rect.height:1},Un=Zr({x:st.x-an.x,y:st.y-an.y},fn),Rn=Qe(si(Zr({},ht),{active:wt,dragOverlay:tt,transform:{initial:st,final:Un}})),[Fa]=Rn,fa=Rn[Rn.length-1];if(JSON.stringify(Fa)===JSON.stringify(fa))return;const hn=Se==null?void 0:Se(Zr({active:wt,dragOverlay:tt},ht)),Gt=tt.node.animate(Rn,{duration:Pe,easing:Oe,fill:"forwards"});return new Promise(yn=>{Gt.onfinish=()=>{hn==null||hn(),yn()}})}}let oi=0;function Qi(ce){return useMemo(()=>{if(ce!=null)return oi++,oi},[ce])}const jr=null},32339:function(ft,ut,ee){"use strict";ee.d(ut,{DL:function(){return ie}});var x=ee(24285);function de(Te){return ze=>{let{transform:Be}=ze;return si(Zr({},Be),{x:Math.ceil(Be.x/Te)*Te,y:Math.ceil(Be.y/Te)*Te})}}const pe=Te=>{let{transform:ze}=Te;return si(Zr({},ze),{y:0})};function De(Te,ze,Be){const me=Zr({},Te);return ze.top+Te.y<=Be.top?me.y=Be.top-ze.top:ze.bottom+Te.y>=Be.top+Be.height&&(me.y=Be.top+Be.height-ze.bottom),ze.left+Te.x<=Be.left?me.x=Be.left-ze.left:ze.right+Te.x>=Be.left+Be.width&&(me.x=Be.left+Be.width-ze.right),me}const we=Te=>{let{containerNodeRect:ze,draggingNodeRect:Be,transform:me}=Te;return!Be||!ze?me:De(me,Be,ze)},ke=Te=>{let{draggingNodeRect:ze,transform:Be,scrollableAncestorRects:me}=Te;const oe=me[0];return!ze||!oe?Be:De(Be,ze,oe)},ie=Te=>{let{transform:ze}=Te;return si(Zr({},ze),{x:0})},We=Te=>{let{transform:ze,draggingNodeRect:Be,windowRect:me}=Te;return!Be||!me?ze:De(ze,Be,me)},Me=Te=>{let{activatorEvent:ze,draggingNodeRect:Be,transform:me}=Te;if(Be&&ze){const oe=getEventCoordinates(ze);if(!oe)return me;const a=oe.x-Be.left,y=oe.y-Be.top;return si(Zr({},me),{x:me.x+a-Be.width/2,y:me.y+y-Be.height/2})}return me}},45587:function(ft,ut,ee){"use strict";ee.d(ut,{Fo:function(){return te},PG:function(){return ze},Rp:function(){return De},nB:function(){return be},qw:function(){return y}});var x=ee(67294),de=ee(60887),pe=ee(24285);function De(He,Ke,qe){const it=He.slice();return it.splice(qe<0?it.length+qe:qe,0,it.splice(Ke,1)[0]),it}function we(He,Ke,qe){const it=He.slice();return it[Ke]=He[qe],it[qe]=He[Ke],it}function ke(He,Ke){return He.reduce((qe,it,mt)=>{const Yt=Ke.get(it);return Yt&&(qe[mt]=Yt),qe},Array(He.length))}function ie(He){return He!==null&&He>=0}function We(He,Ke){if(He===Ke)return!0;if(He.length!==Ke.length)return!1;for(let qe=0;qe<He.length;qe++)if(He[qe]!==Ke[qe])return!1;return!0}function Me(He){return typeof He=="boolean"?{draggable:He,droppable:He}:He}const Te={scaleX:1,scaleY:1},ze=He=>{var Ke;let{rects:qe,activeNodeRect:it,activeIndex:mt,overIndex:Yt,index:cn}=He;const rt=(Ke=qe[mt])!=null?Ke:it;if(!rt)return null;const Pt=Be(qe,cn,mt);if(cn===mt){const Lt=qe[Yt];return Lt?Zr({x:mt<Yt?Lt.left+Lt.width-(rt.left+rt.width):Lt.left-rt.left,y:0},Te):null}return cn>mt&&cn<=Yt?Zr({x:-rt.width-Pt,y:0},Te):cn<mt&&cn>=Yt?Zr({x:rt.width+Pt,y:0},Te):Zr({x:0,y:0},Te)};function Be(He,Ke,qe){const it=He[Ke],mt=He[Ke-1],Yt=He[Ke+1];return!it||!mt&&!Yt?0:qe<Ke?mt?it.left-(mt.left+mt.width):Yt.left-(it.left+it.width):Yt?Yt.left-(it.left+it.width):it.left-(mt.left+mt.width)}const me=He=>{let{rects:Ke,activeIndex:qe,overIndex:it,index:mt}=He;const Yt=De(Ke,it,qe),cn=Ke[mt],rt=Yt[mt];return!rt||!cn?null:{x:rt.left-cn.left,y:rt.top-cn.top,scaleX:rt.width/cn.width,scaleY:rt.height/cn.height}},oe=He=>{let{activeIndex:Ke,index:qe,rects:it,overIndex:mt}=He,Yt,cn;return qe===Ke&&(Yt=it[qe],cn=it[mt]),qe===mt&&(Yt=it[qe],cn=it[Ke]),!cn||!Yt?null:{x:cn.left-Yt.left,y:cn.top-Yt.top,scaleX:cn.width/Yt.width,scaleY:cn.height/Yt.height}},a={scaleX:1,scaleY:1},y=He=>{var Ke;let{activeIndex:qe,activeNodeRect:it,index:mt,rects:Yt,overIndex:cn}=He;const rt=(Ke=Yt[qe])!=null?Ke:it;if(!rt)return null;if(mt===qe){const Lt=Yt[cn];return Lt?Zr({x:0,y:qe<cn?Lt.top+Lt.height-(rt.top+rt.height):Lt.top-rt.top},a):null}const Pt=b(Yt,mt,qe);return mt>qe&&mt<=cn?Zr({x:0,y:-rt.height-Pt},a):mt<qe&&mt>=cn?Zr({x:0,y:rt.height+Pt},a):Zr({x:0,y:0},a)};function b(He,Ke,qe){const it=He[Ke],mt=He[Ke-1],Yt=He[Ke+1];return it?qe<Ke?mt?it.top-(mt.top+mt.height):Yt?Yt.top-(it.top+it.height):0:Yt?Yt.top-(it.top+it.height):mt?it.top-(mt.top+mt.height):0:0}const E="Sortable",z=x.createContext({activeIndex:-1,containerId:E,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:me,disabled:{draggable:!1,droppable:!1}});function te(He){let{children:Ke,id:qe,items:it,strategy:mt=me,disabled:Yt=!1}=He;const{active:cn,dragOverlay:rt,droppableRects:Pt,over:Lt,measureDroppableContainers:ct}=(0,de.Cj)(),Ft=(0,pe.Ld)(E,qe),jt=rt.rect!==null,_e=(0,x.useMemo)(()=>it.map(Et=>typeof Et=="object"&&"id"in Et?Et.id:Et),[it]),En=cn!=null,Fn=cn?_e.indexOf(cn.id):-1,ha=Lt?_e.indexOf(Lt.id):-1,In=(0,x.useRef)(_e),at=!We(_e,In.current),lt=ha!==-1&&Fn===-1||at,dt=Me(Yt);(0,pe.LI)(()=>{at&&En&&ct(_e)},[at,_e,En,ct]),(0,x.useEffect)(()=>{In.current=_e},[_e]);const At=(0,x.useMemo)(()=>({activeIndex:Fn,containerId:Ft,disabled:dt,disableTransforms:lt,items:_e,overIndex:ha,useDragOverlay:jt,sortedRects:ke(_e,Pt),strategy:mt}),[Fn,Ft,dt.draggable,dt.droppable,lt,_e,ha,Pt,jt,mt]);return x.createElement(z.Provider,{value:At},Ke)}const ne=He=>{let{id:Ke,items:qe,activeIndex:it,overIndex:mt}=He;return De(qe,it,mt).indexOf(Ke)},re=He=>{let{containerId:Ke,isSorting:qe,wasDragging:it,index:mt,items:Yt,newIndex:cn,previousItems:rt,previousContainerId:Pt,transition:Lt}=He;return!Lt||!it||rt!==Yt&&mt===cn?!1:qe?!0:cn!==mt&&Ke===Pt},ae={duration:200,easing:"ease"},le="transform",he=pe.ux.Transition.toString({property:le,duration:0,easing:"linear"}),ve={roleDescription:"sortable"};function Ce(He){let{disabled:Ke,index:qe,node:it,rect:mt}=He;const[Yt,cn]=(0,x.useState)(null),rt=(0,x.useRef)(qe);return(0,pe.LI)(()=>{if(!Ke&&qe!==rt.current&&it.current){const Pt=mt.current;if(Pt){const Lt=(0,de.VK)(it.current,{ignoreTransform:!0}),ct={x:Pt.left-Lt.left,y:Pt.top-Lt.top,scaleX:Pt.width/Lt.width,scaleY:Pt.height/Lt.height};(ct.x||ct.y)&&cn(ct)}}qe!==rt.current&&(rt.current=qe)},[Ke,qe,it,mt]),(0,x.useEffect)(()=>{Yt&&cn(null)},[Yt]),Yt}function be(He){let{animateLayoutChanges:Ke=re,attributes:qe,disabled:it,data:mt,getNewIndex:Yt=ne,id:cn,strategy:rt,resizeObserverConfig:Pt,transition:Lt=ae}=He;const{items:ct,containerId:Ft,activeIndex:jt,disabled:_e,disableTransforms:En,sortedRects:Fn,overIndex:ha,useDragOverlay:In,strategy:at}=(0,x.useContext)(z),lt=ye(it,_e),dt=ct.indexOf(cn),At=(0,x.useMemo)(()=>Zr({sortable:{containerId:Ft,index:dt,items:ct}},mt),[Ft,mt,dt,ct]),Et=(0,x.useMemo)(()=>ct.slice(ct.indexOf(cn)),[ct,cn]),{rect:gt,node:Xt,isOver:Ot,setNodeRef:bt}=(0,de.Zj)({id:cn,data:At,disabled:lt.droppable,resizeObserverConfig:Zr({updateMeasurementsFor:Et},Pt)}),{active:on,activatorEvent:Jt,activeNodeRect:$e,attributes:Re,setNodeRef:Nn,listeners:xe,isDragging:je,over:Ht,setActivatorNodeRef:et,transform:Ue}=(0,de.O1)({id:cn,data:At,attributes:Zr(Zr({},ve),qe),disabled:lt.draggable}),Ct=(0,pe.HB)(bt,Nn),yt=!!on,kt=yt&&!En&&ie(jt)&&ie(ha),Pn=!In&&je,Nt=Pn&&kt?Ue:null,Tt=rt!=null?rt:at,St=kt?Nt!=null?Nt:Tt({rects:Fn,activeNodeRect:$e,activeIndex:jt,overIndex:ha,index:dt}):null,tn=ie(jt)&&ie(ha)?Yt({id:cn,items:ct,activeIndex:jt,overIndex:ha}):dt,Kt=on==null?void 0:on.id,mn=(0,x.useRef)({activeId:Kt,items:ct,newIndex:tn,containerId:Ft}),Qn=ct!==mn.current.items,wn=Ke({active:on,containerId:Ft,isDragging:je,isSorting:yt,id:cn,index:dt,items:ct,newIndex:mn.current.newIndex,previousItems:mn.current.items,previousContainerId:mn.current.containerId,transition:Lt,wasDragging:mn.current.activeId!=null}),Wn=Ce({disabled:!wn,index:dt,node:Xt,rect:gt});return(0,x.useEffect)(()=>{yt&&mn.current.newIndex!==tn&&(mn.current.newIndex=tn),Ft!==mn.current.containerId&&(mn.current.containerId=Ft),ct!==mn.current.items&&(mn.current.items=ct)},[yt,tn,Ft,ct]),(0,x.useEffect)(()=>{if(Kt===mn.current.activeId)return;if(Kt&&!mn.current.activeId){mn.current.activeId=Kt;return}const _t=setTimeout(()=>{mn.current.activeId=Kt},50);return()=>clearTimeout(_t)},[Kt]),{active:on,activeIndex:jt,attributes:Re,data:At,rect:gt,index:dt,newIndex:tn,items:ct,isOver:Ot,isSorting:yt,isDragging:je,listeners:xe,node:Xt,overIndex:ha,over:Ht,setNodeRef:Ct,setActivatorNodeRef:et,setDroppableNodeRef:bt,setDraggableNodeRef:Nn,transform:Wn!=null?Wn:St,transition:ma()};function ma(){if(Wn||Qn&&mn.current.newIndex===dt)return he;if(!(Pn&&!(0,pe.vd)(Jt)||!Lt)&&(yt||wn))return pe.ux.Transition.toString(si(Zr({},Lt),{property:le}))}}function ye(He,Ke){var qe,it;return typeof He=="boolean"?{draggable:He,droppable:!1}:{draggable:(qe=He==null?void 0:He.draggable)!=null?qe:Ke.draggable,droppable:(it=He==null?void 0:He.droppable)!=null?it:Ke.droppable}}function Ae(He){if(!He)return!1;const Ke=He.data.current;return!!(Ke&&"sortable"in Ke&&typeof Ke.sortable=="object"&&"containerId"in Ke.sortable&&"items"in Ke.sortable&&"index"in Ke.sortable)}const Ne=[de.g4.Down,de.g4.Right,de.g4.Up,de.g4.Left],Xe=(He,Ke)=>{let{context:{active:qe,collisionRect:it,droppableRects:mt,droppableContainers:Yt,over:cn,scrollableAncestors:rt}}=Ke;if(Ne.includes(He.code)){if(He.preventDefault(),!qe||!it)return;const Pt=[];Yt.getEnabled().forEach(Ft=>{if(!Ft||Ft!=null&&Ft.disabled)return;const jt=mt.get(Ft.id);if(jt)switch(He.code){case KeyboardCode.Down:it.top<jt.top&&Pt.push(Ft);break;case KeyboardCode.Up:it.top>jt.top&&Pt.push(Ft);break;case KeyboardCode.Left:it.left>jt.left&&Pt.push(Ft);break;case KeyboardCode.Right:it.left<jt.left&&Pt.push(Ft);break}});const Lt=closestCorners({active:qe,collisionRect:it,droppableRects:mt,droppableContainers:Pt,pointerCoordinates:null});let ct=getFirstCollision(Lt,"id");if(ct===(cn==null?void 0:cn.id)&&Lt.length>1&&(ct=Lt[1].id),ct!=null){const Ft=Yt.get(qe.id),jt=Yt.get(ct),_e=jt?mt.get(jt.id):null,En=jt==null?void 0:jt.node.current;if(En&&_e&&Ft&&jt){const ha=getScrollableAncestors(En).some((Et,gt)=>rt[gt]!==Et),In=Le(Ft,jt),at=Ge(Ft,jt),lt=ha||!In?{x:0,y:0}:{x:at?it.width-_e.width:0,y:at?it.height-_e.height:0},dt={x:_e.left,y:_e.top};return lt.x&&lt.y?dt:subtract(dt,lt)}}}};function Le(He,Ke){return!Ae(He)||!Ae(Ke)?!1:He.data.current.sortable.containerId===Ke.data.current.sortable.containerId}function Ge(He,Ke){return!Ae(He)||!Ae(Ke)||!Le(He,Ke)?!1:He.data.current.sortable.index<Ke.data.current.sortable.index}},24285:function(ft,ut,ee){"use strict";ee.d(ut,{$X:function(){return re},D9:function(){return b},DC:function(){return ve},Ey:function(){return oe},FJ:function(){return De},Gj:function(){return a},HB:function(){return de},IH:function(){return ne},Jj:function(){return ke},LI:function(){return ze},Ld:function(){return z},Nq:function(){return pe},Re:function(){return We},UG:function(){return we},Yz:function(){return me},qk:function(){return ie},r3:function(){return Te},so:function(){return ye},ux:function(){return Ce},vZ:function(){return Me},vd:function(){return le},wm:function(){return y},zX:function(){return Be}});var x=ee(67294);function de(){for(var Ae=arguments.length,Ne=new Array(Ae),Xe=0;Xe<Ae;Xe++)Ne[Xe]=arguments[Xe];return(0,x.useMemo)(()=>Le=>{Ne.forEach(Ge=>Ge(Le))},Ne)}const pe=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined";function De(Ae){const Ne=Object.prototype.toString.call(Ae);return Ne==="[object Window]"||Ne==="[object global]"}function we(Ae){return"nodeType"in Ae}function ke(Ae){var Ne,Xe;return Ae?De(Ae)?Ae:we(Ae)&&(Ne=(Xe=Ae.ownerDocument)==null?void 0:Xe.defaultView)!=null?Ne:window:window}function ie(Ae){const{Document:Ne}=ke(Ae);return Ae instanceof Ne}function We(Ae){return De(Ae)?!1:Ae instanceof ke(Ae).HTMLElement}function Me(Ae){return Ae instanceof ke(Ae).SVGElement}function Te(Ae){return Ae?De(Ae)?Ae.document:we(Ae)?ie(Ae)?Ae:We(Ae)||Me(Ae)?Ae.ownerDocument:document:document:document}const ze=pe?x.useLayoutEffect:x.useEffect;function Be(Ae){const Ne=(0,x.useRef)(Ae);return ze(()=>{Ne.current=Ae}),(0,x.useCallback)(function(){for(var Xe=arguments.length,Le=new Array(Xe),Ge=0;Ge<Xe;Ge++)Le[Ge]=arguments[Ge];return Ne.current==null?void 0:Ne.current(...Le)},[])}function me(){const Ae=(0,x.useRef)(null),Ne=(0,x.useCallback)((Le,Ge)=>{Ae.current=setInterval(Le,Ge)},[]),Xe=(0,x.useCallback)(()=>{Ae.current!==null&&(clearInterval(Ae.current),Ae.current=null)},[]);return[Ne,Xe]}function oe(Ae,Ne){Ne===void 0&&(Ne=[Ae]);const Xe=(0,x.useRef)(Ae);return ze(()=>{Xe.current!==Ae&&(Xe.current=Ae)},Ne),Xe}function a(Ae,Ne){const Xe=(0,x.useRef)();return(0,x.useMemo)(()=>{const Le=Ae(Xe.current);return Xe.current=Le,Le},[...Ne])}function y(Ae){const Ne=Be(Ae),Xe=(0,x.useRef)(null),Le=(0,x.useCallback)(Ge=>{Ge!==Xe.current&&(Ne==null||Ne(Ge,Xe.current)),Xe.current=Ge},[]);return[Xe,Le]}function b(Ae){const Ne=(0,x.useRef)();return(0,x.useEffect)(()=>{Ne.current=Ae},[Ae]),Ne.current}let E={};function z(Ae,Ne){return(0,x.useMemo)(()=>{if(Ne)return Ne;const Xe=E[Ae]==null?0:E[Ae]+1;return E[Ae]=Xe,Ae+"-"+Xe},[Ae,Ne])}function te(Ae){return function(Ne){for(var Xe=arguments.length,Le=new Array(Xe>1?Xe-1:0),Ge=1;Ge<Xe;Ge++)Le[Ge-1]=arguments[Ge];return Le.reduce((He,Ke)=>{const qe=Object.entries(Ke);for(const[it,mt]of qe){const Yt=He[it];Yt!=null&&(He[it]=Yt+Ae*mt)}return He},Zr({},Ne))}}const ne=te(1),re=te(-1);function ae(Ae){return"clientX"in Ae&&"clientY"in Ae}function le(Ae){if(!Ae)return!1;const{KeyboardEvent:Ne}=ke(Ae.target);return Ne&&Ae instanceof Ne}function he(Ae){if(!Ae)return!1;const{TouchEvent:Ne}=ke(Ae.target);return Ne&&Ae instanceof Ne}function ve(Ae){if(he(Ae)){if(Ae.touches&&Ae.touches.length){const{clientX:Ne,clientY:Xe}=Ae.touches[0];return{x:Ne,y:Xe}}else if(Ae.changedTouches&&Ae.changedTouches.length){const{clientX:Ne,clientY:Xe}=Ae.changedTouches[0];return{x:Ne,y:Xe}}}return ae(Ae)?{x:Ae.clientX,y:Ae.clientY}:null}const Ce=Object.freeze({Translate:{toString(Ae){if(!Ae)return;const{x:Ne,y:Xe}=Ae;return"translate3d("+(Ne?Math.round(Ne):0)+"px, "+(Xe?Math.round(Xe):0)+"px, 0)"}},Scale:{toString(Ae){if(!Ae)return;const{scaleX:Ne,scaleY:Xe}=Ae;return"scaleX("+Ne+") scaleY("+Xe+")"}},Transform:{toString(Ae){if(Ae)return[Ce.Translate.toString(Ae),Ce.Scale.toString(Ae)].join(" ")}},Transition:{toString(Ae){let{property:Ne,duration:Xe,easing:Le}=Ae;return Ne+" "+Xe+"ms "+Le}}}),be="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function ye(Ae){return Ae.matches(be)?Ae:Ae.querySelector(be)}},71736:function(ft,ut){"use strict";ut.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},45160:function(ft,ut){"use strict";ut.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"}},41642:function(ft,ut){"use strict";ut.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"}},39886:function(ft,ut){"use strict";ut.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"}},67795:function(ft,ut){"use strict";ut.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"}},9151:function(ft,ut,ee){"use strict";var x=ee(67294),de=Object.defineProperty,pe=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,ke=(Me,Te,ze)=>Te in Me?de(Me,Te,{enumerable:!0,configurable:!0,writable:!0,value:ze}):Me[Te]=ze,ie=(Me,Te)=>{for(var ze in Te||(Te={}))De.call(Te,ze)&&ke(Me,ze,Te[ze]);if(pe)for(var ze of pe(Te))we.call(Te,ze)&&ke(Me,ze,Te[ze]);return Me};const We=Me=>React.createElement("svg",ie({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},Me),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"}));ut.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI+PHBhdGggZmlsbD0iI0Y3QjUwMCIgZD0iTTcgNGMzLjg5OSAwIDcgMy4xNDEgNyA3cy0zLjEwMSA3LTcgNy03LTMuMTQxLTctNyAzLjEwMS03IDctN1ptMSAzSDYuMzk1YTMuNTAxIDMuNTAxIDAgMCAxLS44NTcgMS4yNDVjLS4zMi4yOTQtLjc1Mi41NTEtMS4yOTcuNzcyTDQgOS4xMDlWMTAuOWMuNDQ4LS4xNTQuODItLjMxNSAxLjExNy0uNDgzLjIyMi0uMTI2LjQ1LS4yODIuNjg1LS40NjZsLjIzNi0uMTk0VjE1SDhWN1pNNC44MTIgMGMuMTc1IDAgLjM1LjE2LjQzOC4zMThsMS4zMTMgMi4zMDlzLTIuOC4xNi00LjQ2MyAxLjY3MkwuMDg4LjcxNkMwIC42MzYgMCAuNTU3IDAgLjQ3OCAwIC4xNTkuMjYzIDAgLjUyNSAwWm04LjY2MyAwYy4yNjMgMCAuNTI1LjIzOS41MjUuNDc4IDAgLjA4IDAgLjE1OS0uMDg4LjIzOEwxMS45IDQuMjJjLTEuNjYyLTEuNDMzLTQuNDYzLTEuNTkyLTQuNDYzLTEuNTkyTDguNzUuMzE4QzguNzUuMTYgOC45MjUgMCA5LjE4OCAwWiIvPjwvc3ZnPg=="},37752:function(ft,ut,ee){"use strict";var x=ee(67294),de=Object.defineProperty,pe=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,ke=(Me,Te,ze)=>Te in Me?de(Me,Te,{enumerable:!0,configurable:!0,writable:!0,value:ze}):Me[Te]=ze,ie=(Me,Te)=>{for(var ze in Te||(Te={}))De.call(Te,ze)&&ke(Me,ze,Te[ze]);if(pe)for(var ze of pe(Te))we.call(Te,ze)&&ke(Me,ze,Te[ze]);return Me};const We=Me=>React.createElement("svg",ie({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},Me),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"}));ut.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI+PHBhdGggZmlsbD0iI0I5QzRDRiIgZD0iTTcgNGMzLjg5OSAwIDcgMy4xNDEgNyA3cy0zLjEwMSA3LTcgNy03LTMuMTQxLTctNyAzLjEwMS03IDctN1ptLjA1IDNjLS42NzUgMC0xLjIwMy4wOTItMS41ODQuMjc2YTIuMDU2IDIuMDU2IDAgMCAwLS44ODcuNzk0Yy0uMTguMjk2LS4zMS42OTEtLjM5NCAxLjE4NmwtLjAzOC4yNTUgMi4wMDQuMTc3Yy4wNTUtLjQ0My4xNjQtLjc1My4zMjYtLjkyOGEuODE0LjgxNCAwIDAgMSAuNjI2LS4yNjMuODEuODEgMCAwIDEgLjYxMS4yNTVjLjE2Mi4xNy4yNDMuMzc1LjI0My42MTQgMCAuMjIyLS4wODEuNDU2LS4yNDUuNzAzLS4xNjQuMjQ3LS41MzkuNjA4LTEuMTI0IDEuMDg0LS45Ni43NzYtMS42MTMgMS40NS0xLjk2MiAyLjAyYTQuMzYzIDQuMzYzIDAgMCAwLS41ODggMS41NTJMNCAxNWg2di0xLjc4MUg2Ljg3N2MuMTg0LS4xOTcuMzQzLS4zNTYuNDc5LS40NzguMTM2LS4xMjIuNDA1LS4zMzQuODA4LS42MzguNjc3LS41MjMgMS4xNDUtMS4wMDIgMS40MDEtMS40MzguMjU3LS40MzcuMzg2LS44OTUuMzg2LTEuMzc0IDAtLjQ1LS4xMTItLjg1OC0uMzM2LTEuMjJhMi4wNDMgMi4wNDMgMCAwIDAtLjkyNC0uODA4QzguMzAxIDcuMDg4IDcuNzUzIDcgNy4wNSA3Wk00LjgxMiAwYy4xNzUgMCAuMzUuMTYuNDM3LjMxOGwxLjMxMyAyLjMwOXMtMi44LjE2LTQuNDYzIDEuNjcyTC4wODguNzE2QzAgLjYzNiAwIC41NTcgMCAuNDc4IDAgLjE1OS4yNjMgMCAuNTI1IDBabTguNjYyIDBjLjI2MyAwIC41MjUuMjM5LjUyNS40NzggMCAuMDggMCAuMTU5LS4wODguMjM4TDExLjkgNC4yMmMtMS42NjItMS40MzMtNC40NjMtMS41OTItNC40NjMtMS41OTJMOC43NS4zMThDOC43NS4xNiA4LjkyNSAwIDkuMTg4IDBaIi8+PC9zdmc+"},33648:function(ft,ut,ee){"use strict";var x=ee(67294),de=Object.defineProperty,pe=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,ke=(Me,Te,ze)=>Te in Me?de(Me,Te,{enumerable:!0,configurable:!0,writable:!0,value:ze}):Me[Te]=ze,ie=(Me,Te)=>{for(var ze in Te||(Te={}))De.call(Te,ze)&&ke(Me,ze,Te[ze]);if(pe)for(var ze of pe(Te))we.call(Te,ze)&&ke(Me,ze,Te[ze]);return Me};const We=Me=>React.createElement("svg",ie({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},Me),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"}));ut.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI+PHBhdGggZmlsbD0iI0QwOUYxOCIgZD0iTTcgNGMzLjg5OSAwIDcgMy4xNDEgNyA3cy0zLjEwMSA3LTcgNy03LTMuMTQxLTctNyAzLjEwMS03IDctN1ptLS4wNjIgM2MtLjgyNiAwLTEuNDY0LjE3Mi0xLjkxNS41MTctLjQuMzA3LS42ODYuNzMzLS44NTYgMS4yNzhsLS4wNTguMjEgMS45MDguMzY0Yy4wNTItLjM4My4xNTMtLjY1MS4zMDItLjgwNGEuNzcyLjc3MiAwIDAgMSAuNTgtLjIzYy4yMyAwIC40MTIuMDcuNTQ0LjIxMS4xMzMuMTQuMTk5LjMzLjE5OS41NjVhLjg4Ljg4IDAgMCAxL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uNDgzQzEwLjIzOCAyLjk2IDcuNDM3IDIuNzkgNy40MzcgMi43OUw4Ljc1LjMzOEM4Ljc1LjE3IDguOTI1IDAgOS4xODggMFoiLz48L3N2Zz4="},18023:function(){"use strict";function ft(oe,a,y,b){y===void 0&&(y=0),b===void 0&&(b=1/0),this._name=oe,this._defaultValue=a,this._minimum=y,this._maximum=b}Object.defineProperty(ft.prototype,"name",{get:function(){return this._name},set:function(oe){if(typeof oe!="string"||oe==="")throw new Error("Shape name must be a valid string.");this._name=oe}}),Object.defineProperty(ft.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("The default value must be a real number, not: "+oe);this._defaultValue=oe}}),Object.defineProperty(ft.prototype,"minimum",{get:function(){return this._minimum},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("Minimum must be a real number, not: "+oe);this._minimum=oe}}),Object.defineProperty(ft.prototype,"maximum",{get:function(){return this._maximum},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("Maximum must be a real number, not: "+oe);this._maximum=oe}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(oe,a){var y=go.Shape._FigureParameters[oe];return y?y[a]:null},go.Shape.setFigureParameter=function(oe,a,y){if(!(y instanceof ft))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[oe];b||(b=[],go.Shape._FigureParameters[oe]=b),b[a]=y};var ut=[];function ee(oe,a){var y=ut.pop();return y===void 0?new go.Point(oe,a):(y.x=oe,y.y=a,y)}function x(){var oe=ut.pop();return oe===void 0?new go.Point:oe}function de(oe){ut.push(oe)}function pe(oe,a,y,b,E,z,te,ne,re){re||(re=new go.Point);var ae=oe-y,le=E-te,he=NaN,ve=NaN;if(ae===0)if(le===0)oe===y&&(he=oe,ve=a);else{var Ce=(z-ne)/le,be=z-Ce*E;he=oe,ve=Ce*he+be}else if(le===0){var ye=(a-b)/ae,Ae=a-ye*oe;he=E,ve=ye*he+Ae}else{var ye=(a-b)/ae,Ce=(z-ne)/le,Ae=a-ye*oe,be=z-Ce*E;he=(be-Ae)/(ye-Ce),ve=ye*he+Ae}return re.x=he,re.y=ve,re}function De(oe,a,y,b,E,z,te,ne,re,ae,le,he,ve,Ce){var be=1-re,ye=re,Ae=oe*be+y*ye,Ne=a*be+b*ye,Xe=y*be+E*ye,Le=b*be+z*ye,Ge=E*be+te*ye,He=z*be+ne*ye,Ke=Ae*be+Xe*ye,qe=Ne*be+Le*ye,it=Xe*be+Ge*ye,mt=Le*be+He*ye,Yt=Ke*be+it*ye,cn=qe*be+mt*ye;ae.x=Ae,ae.y=Ne,le.x=Ke,le.y=qe,he.x=Yt,he.y=cn,ve.x=it,ve.y=mt,Ce.x=Ge,Ce.y=He}var we=new go.Spot(.156,.156),ke=new go.Spot(.844,.844),ie=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ft("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(oe,a,y){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,a/3),b=Math.min(b,y/3);var E=b*ie,z=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&&(z.spot1=new go.Spot(0,0,E,E),z.spot2=new go.Spot(1,1,-E,-E)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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=we,E.spot2=ke,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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 ft("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var E=Math.abs(b)*a;if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return b>0?z.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())):z.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&&z.setSpots(E/a,0,(a-E)/a,1),z}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new ft("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)?b=10:b<-a?b=-a:b>a&&(b=a);var E=Math.abs(b);if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return b>0?z.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())):z.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&&z.setSpots(E/a,0,(a-E)/a,1),z}}),go.Shape.setFigureParameter("Trapezoid1",0,new ft("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)?b=.2:b<.5?b=-.5:b>.5&&(b=.5);var E=Math.abs(b)*a;if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return b>0?z.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())):z.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&&z.setSpots(E/a,0,(a-E)/a,1),z}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new ft("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(oe,a,y){var b=oe?oe.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 z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return b>0?z.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())):z.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&&z.setSpots(E/a,0,(a-E)/a,1),z}}),go.Shape.setFigureParameter("ManualOperation",0,new ft("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(oe,a,y){var b=oe?oe.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 z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return b>0?z.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())):z.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&&z.setSpots(E/a,0,(a-E)/a,1),z}});var We=[];function Me(){var oe=We.pop();return oe===void 0?[]:oe}function Te(oe){oe.length=0,We.push(oe)}function ze(oe){for(var a=Me(),y=.5,b=.5,E=Math.PI*1.5,z=0,te=0;te<oe;te++)z=2*Math.PI/oe*te+E,a[te]=new go.Point(b+y*Math.cos(z),b+y*Math.sin(z));return a.push(a[0]),a}function Be(oe){var a=me(oe),y=Me();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 Te(a),y}function me(oe){for(var a=ze(oe),y=Me(),b=Math.floor(a.length/2),E=a.length-1,z=oe%2===0?2:1,te=0;te<E;te++){var ne=a[te],re=a[te+1],ae=a[(b+te-1)%E],le=a[(b+te+z)%E];y[te*2]=ne,y[te*2+1]=pe(ne.x,ne.y,ae.x,ae.y,re.x,re.y,le.x,le.y,new go.Point)}return y[y.length]=y[0],Te(a),y}go.Shape.defineFigureGenerator("Pentagon",function(oe,a,y){var b=ze(5),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<5;te++)z.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.2,.22),E.spot2=new go.Spot(.8,.9),E}),go.Shape.defineFigureGenerator("Hexagon",function(oe,a,y){var b=ze(6),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<6;te++)z.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.07,.25),E.spot2=new go.Spot(.93,.75),E}),go.Shape.defineFigureGenerator("Heptagon",function(oe,a,y){var b=ze(7),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<7;te++)z.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.2,.15),E.spot2=new go.Spot(.8,.85),E}),go.Shape.defineFigureGenerator("Octagon",function(oe,a,y){var b=ze(8),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<8;te++)z.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.15,.15),E.spot2=new go.Spot(.85,.85),E}),go.Shape.defineFigureGenerator("Nonagon",function(oe,a,y){var b=ze(9),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<9;te++)z.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.17,.13),E.spot2=new go.Spot(.82,.82),E}),go.Shape.defineFigureGenerator("Decagon",function(oe,a,y){var b=ze(10),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<10;te++)z.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("Dodecagon",function(oe,a,y){var b=ze(12),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<12;te++)z.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("FivePointedStar",function(oe,a,y){var b=me(5),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<10;te++)z.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.266,.333),E.spot2=new go.Spot(.733,.733),E}),go.Shape.defineFigureGenerator("SixPointedStar",function(oe,a,y){var b=me(6),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<12;te++)z.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.17,.25),E.spot2=new go.Spot(.83,.75),E}),go.Shape.defineFigureGenerator("SevenPointedStar",function(oe,a,y){var b=me(7),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<14;te++)z.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("EightPointedStar",function(oe,a,y){var b=me(8),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<16;te++)z.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("NinePointedStar",function(oe,a,y){var b=me(9),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<18;te++)z.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("TenPointedStar",function(oe,a,y){var b=me(10),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<20;te++)z.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.281,.261),E.spot2=new go.Spot(.723,.748),E}),go.Shape.defineFigureGenerator("FivePointedBurst",function(oe,a,y){var b=Be(5),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<b.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[te+2].x*a,b[te+2].y*y,b[te].x*a,b[te].y*y,b[te+1].x*a,b[te+1].y*y));return z.segments.last().close(),Te(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("SixPointedBurst",function(oe,a,y){var b=Be(6),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<b.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[te+2].x*a,b[te+2].y*y,b[te].x*a,b[te].y*y,b[te+1].x*a,b[te+1].y*y));return z.segments.last().close(),Te(b),E.spot1=new go.Spot(.17,.222),E.spot2=new go.Spot(.833,.777),E}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(oe,a,y){var b=Be(7),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<b.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[te+2].x*a,b[te+2].y*y,b[te].x*a,b[te].y*y,b[te+1].x*a,b[te+1].y*y));return z.segments.last().close(),Te(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("EightPointedBurst",function(oe,a,y){var b=Be(8),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<b.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[te+2].x*a,b[te+2].y*y,b[te].x*a,b[te].y*y,b[te+1].x*a,b[te+1].y*y));return z.segments.last().close(),Te(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("NinePointedBurst",function(oe,a,y){var b=Be(9),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<b.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[te+2].x*a,b[te+2].y*y,b[te].x*a,b[te].y*y,b[te+1].x*a,b[te+1].y*y));return z.segments.last().close(),Te(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("TenPointedBurst",function(oe,a,y){var b=Be(10),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<b.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[te+2].x*a,b[te+2].y*y,b[te].x*a,b[te].y*y,b[te+1].x*a,b[te+1].y*y));return z.segments.last().close(),Te(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.setFigureParameter("FramedRectangle",0,new ft("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new ft("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(oe,a,y){var b=oe?oe.parameter1:NaN,E=oe?oe.parameter2:NaN;isNaN(b)&&(b=8),isNaN(E)&&(E=8);var z=new go.Geometry,te=new go.PathFigure(0,0,!0);return z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b<a/2&&E<y/2&&(te.add(new go.PathSegment(go.PathSegment.Move,b,E)),te.add(new go.PathSegment(go.PathSegment.Line,b,y-E)),te.add(new go.PathSegment(go.PathSegment.Line,a-b,y-E)),te.add(new go.PathSegment(go.PathSegment.Line,a-b,E).close())),z.setSpots(0,0,1,1,b,E,-b,-E),z}),go.Shape.setFigureParameter("Ring",0,new ft("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(oe,a,y){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=8);var E=a/2,z=new go.Geometry,te=new go.PathFigure(a,a/2,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Arc,0,360,E,E,E,E).close());var ne=Math.max(E-b,0);return ne>0&&(te.add(new go.PathSegment(go.PathSegment.Move,a/2+ne,a/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,ne,ne).close())),z.spot1=we,z.spot2=ke,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(oe,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(oe,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 ft("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ft("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(oe,a,y){var b=oe?oe.parameter1:NaN,E=oe?oe.parameter2:NaN;isNaN(b)&&(b=0),isNaN(E)&&(E=315);var z=b%360;z<0&&(z+=360);var te=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,z,te,ne,ne,ne,ne).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(oe,a,y){var b=ie/Math.SQRT2*.5,E=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,E*a,z*y,a,(1-b)*y,(E+b)*a,(z+b)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ft("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(oe,a,y){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var E=Math.min(b,a)/2,z=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(z-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+E,0)).add(new go.PathSegment(go.PathSegment.Line,z+E,te-E)).add(new go.PathSegment(go.PathSegment.Line,a,te-E)).add(new go.PathSegment(go.PathSegment.Line,a,te+E)).add(new go.PathSegment(go.PathSegment.Line,z+E,te+E)).add(new go.PathSegment(go.PathSegment.Line,z+E,y)).add(new go.PathSegment(go.PathSegment.Line,z-E,y)).add(new go.PathSegment(go.PathSegment.Line,z-E,te+E)).add(new go.PathSegment(go.PathSegment.Line,0,te+E)).add(new go.PathSegment(go.PathSegment.Line,0,te-E)).add(new go.PathSegment(go.PathSegment.Line,z-E,te-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ft("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(oe,a,y){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=Math.min(b,a)/2,z=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(z-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+E,0)).add(new go.PathSegment(go.PathSegment.Line,z+E,te-E)).add(new go.PathSegment(go.PathSegment.Line,a,te-E)).add(new go.PathSegment(go.PathSegment.Line,a,te+E)).add(new go.PathSegment(go.PathSegment.Line,z+E,te+E)).add(new go.PathSegment(go.PathSegment.Line,z+E,y)).add(new go.PathSegment(go.PathSegment.Line,z-E,y)).add(new go.PathSegment(go.PathSegment.Line,z-E,te+E)).add(new go.PathSegment(go.PathSegment.Line,0,te+E)).add(new go.PathSegment(go.PathSegment.Line,0,te-E)).add(new go.PathSegment(go.PathSegment.Line,z-E,te-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new ft("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(oe,a,y){var b=oe?oe.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 z=a/2,te=y/2,ne=Math.atan2(y,a),re=b-Math.min(Math.cos(ne)*b/2,z),ae=b-Math.min(Math.sin(ne)*b/2,te),E=new go.Geometry,le=new go.PathFigure(re,0,!0);return E.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,.2*y)),le.add(new go.PathSegment(go.PathSegment.Line,a-re,0)),le.add(new go.PathSegment(go.PathSegment.Line,a,ae)),le.add(new go.PathSegment(go.PathSegment.Line,.8*a,te)),le.add(new go.PathSegment(go.PathSegment.Line,a,y-ae)),le.add(new go.PathSegment(go.PathSegment.Line,a-re,y)),le.add(new go.PathSegment(go.PathSegment.Line,z,.8*y)),le.add(new go.PathSegment(go.PathSegment.Line,re,y)),le.add(new go.PathSegment(go.PathSegment.Line,0,y-ae)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),le.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new ft("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(oe,a,y){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=new go.Geometry,z=new go.PathFigure(.1*a,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),E}),go.Shape.setFigureParameter("SquareIBeam",0,new ft("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,z=new go.PathFigure(0,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,b*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,b*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,b*y).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new ft("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.5);var E=new go.Geometry,z=new go.PathFigure(0,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-b)*a,.25*y,Math.abs(1-b)*a,.75*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*y,b*a,.25*y).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(oe,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(oe,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(oe,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(oe,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(oe,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 z=.2,te=.3,ne=0,re=z*ie;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+z+ne)*y,(.5-z+te)*a,(.5+re+ne)*y,(.5-re+te)*a,(.5+z+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*a,(.5+ne)*y,(.5+re+te)*a,(.5+z+ne)*y,(.5+z+te)*a,(.5+re+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-z+ne)*y,(1-.5+z+te)*a,(.5-re+ne)*y,(.5+re+te)*a,(.5-z+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-re+te)*a,(.5-z+ne)*y,(.5-z+te+.05)*a,(.5-re+ne-.02)*y)),z=.2,te=0,ne=-.3,re=z*ie,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*a,(.5+ne)*y,(.5+re+te)*a,(.5+z+ne)*y,(.5+z+te)*a,(.5+re+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-z+ne)*y,(1-.5+z+te)*a,(.5-re+ne)*y,(.5+re+te)*a,(.5-z+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*a,(.5+ne)*y,(.5-re+te)*a,(.5-z+ne)*y,(.5-z+te)*a,(.5-re+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-re+te)*a,(.5+z+ne)*y,(.5-z+te)*a,(.5+re+ne)*y,(.5-re+te)*a,(.5+z+ne)*y)),z=.2,te=-.3,ne=0,re=z*ie,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-z+ne)*y,(1-.5+z+te-.05)*a,(.5-re+ne-.02)*y,(.5+re+te)*a,(.5-z+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*a,(.5+ne)*y,(.5-re+te)*a,(.5-z+ne)*y,(.5-z+te)*a,(.5-re+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+z+ne)*y,(.5-z+te)*a,(.5+re+ne)*y,(.5-re+te)*a,(.5+z+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+re+te)*a,(.5+z+ne)*y,(.5+z+te)*a,(.5+re+ne)*y).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(oe,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 z=.1,te=.5,ne=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(te+z)*a,ne*y)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*te,y*ne,z*a,z*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((te+z)*a,ne*y,!0),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*te,y*ne,z*a,z*a).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(oe,a,y){var b=.8535533905932737,E=.5*a,z=.5*y;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,E,z,E,z)).add(new go.PathSegment(go.PathSegment.Line,E,y)).add(new go.PathSegment(go.PathSegment.Move,E,z)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*y)).add(new go.PathSegment(go.PathSegment.Move,E,z)).add(new go.PathSegment(go.PathSegment.Line,b*a,b*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(oe,a,y){var b=new go.Geometry,E=ie*.5,z=.5,te=.5,ne=.5,re=new go.PathFigure(te*a,(ne-z)*y);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ne*y,(te-E)*a,(ne-z)*y,(te-z)*a,(ne-E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+z)*y,(te-z)*a,(ne+E)*y,(te-E)*a,(ne+z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ne*y,(te+E)*a,(ne+z)*y,(te+z)*a,(ne+E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-z)*y,(te+z)*a,(ne-E)*y,(te+E)*a,(ne-z)*y)),z=.4,E=ie*.4;var ae=x(),le=x(),he=x(),ve=x();De(te,ne-z,te+E,ne-z,te+z,ne-E,te+z,ne,.42,ae,le,he,ve,ve);var Ce=x(),be=x(),ye=x();De(te,ne-z,te+E,ne-z,te+z,ne-E,te+z,ne,.58,ve,ve,ye,Ce,be);var Ae=x(),Ne=x(),Xe=x();De(te,ne+z,te-E,ne+z,te-z,ne+E,te-z,ne,.42,Ae,Ne,Xe,ve,ve);var Le=x(),Ge=x(),He=x();return De(te,ne+z,te-E,ne+z,te-z,ne+E,te-z,ne,.58,ve,ve,He,Le,Ge),re.add(new go.PathSegment(go.PathSegment.Move,He.x*a,He.y*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ne*y,Le.x*a,Le.y*y,Ge.x*a,Ge.y*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-z)*y,(te-z)*a,(ne-E)*y,(te-E)*a,(ne-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,ae.x*a,ae.y*y,le.x*a,le.y*y)),re.add(new go.PathSegment(go.PathSegment.Line,He.x*a,He.y*y).close()),re.add(new go.PathSegment(go.PathSegment.Move,Xe.x*a,Xe.y*y)),re.add(new go.PathSegment(go.PathSegment.Line,ye.x*a,ye.y*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ne*y,Ce.x*a,Ce.y*y,be.x*a,be.y*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+z)*y,(te+z)*a,(ne+E)*y,(te+E)*a,(ne+z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,Xe.x*a,Xe.y*y,Ae.x*a,Ae.y*y,Ne.x*a,Ne.y*y).close()),de(ae),de(le),de(he),de(ve),de(Ce),de(be),de(ye),de(Ae),de(Ne),de(Xe),de(Le),de(Ge),de(He),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(oe,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 ft("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(oe,a,y){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>a&&(b=a);var E=(a-b)/2,z=E+b;return new go.Geometry().add(new go.PathFigure(z,.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(oe,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(oe,a,y){var b=new go.Geometry,E=ie*.4,z=.4,te=.5,ne=.5,re=x(),ae=x(),le=x(),he=x(),ve=new go.PathFigure((te-z)*a,ne*y,!1);b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-z)*y,(te-z)*a,(ne-E)*y,(te-E)*a,(ne-z)*y)),De(te,ne-z,te+E,ne-z,te+z,ne-E,te+z,ne,.44,le,he,ae,re,re),ve.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*y,le.x*a,le.y*y,he.x*a,he.y*y));var Ce=ee(ae.x,ae.y);De(te,ne-z,te+E,ne-z,te+z,ne-E,te+z,ne,.56,re,re,ae,le,he);var be=ee(ae.x,ae.y);ve.add(new go.PathSegment(go.PathSegment.Line,(Ce.x*.1+.95*.9)*a,Ce.y*.1*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,Ce.y*.1*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),ve.add(new go.PathSegment(go.PathSegment.Line,(be.x*.1+.9)*a,.15*y)),ve.add(new go.PathSegment(go.PathSegment.Line,(be.x*.1+.9)*a,(be.y*.1+.05*.9)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,be.x*a,be.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ne*y,le.x*a,le.y*y,he.x*a,he.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+z)*y,(te+z)*a,(ne+E)*y,(te+E)*a,(ne+z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ne*y,(te-E)*a,(ne+z)*y,(te-z)*a,(ne+E)*y)),z=.35,E=ie*.35;var ye=new go.PathFigure(te*a,(ne-z)*y,!1);b.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ne*y,(te-E)*a,(ne-z)*y,(te-z)*a,(ne-E)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+z)*y,(te-z)*a,(ne+E)*y,(te-E)*a,(ne+z)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ne*y,(te+E)*a,(ne+z)*y,(te+z)*a,(ne+E)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-z)*y,(te+z)*a,(ne-E)*y,(te+E)*a,(ne-z)*y));var Ae=new go.PathFigure((te-z)*a,ne*y,!1);return b.add(Ae),de(re),de(ae),de(le),de(he),de(Ce),de(be),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(oe,a,y){var b=new go.Geometry,E=.375,z=0,te=-.125,ne=E*ie,re=new go.PathFigure((.525+z)*a,(.5+E+te)*y,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*a,(.5+te)*y,(.5+ne+z)*a,(.5+E+te)*y,(.5+E+z)*a,(.5+ne+te)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-E+te)*y,(1-.5+E+z)*a,(.5-ne+te)*y,(.5+ne+z)*a,(.5-E+te)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*a,(.5+te)*y,(.5-ne+z)*a,(.5-E+te)*y,(.5-E+z)*a,(.5-ne+te)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*a,(.5+E+te)*y,(.5-E+z)*a,(.5+ne+te)*y,(.5-ne+z)*a,(.5+E+te)*y)),re.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),re.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),re.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),re.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),re.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),re.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),re.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),re.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),E=.325,z=0,te=-.125,ne=E*ie;var re=new go.PathFigure((1-.5+E+z)*a,(.5+te)*y,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+E+te)*y,(.5+E+z)*a,(.5+ne+te)*y,(.5+ne+z)*a,(.5+E+te)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*a,(.5+te)*y,(.5-ne+z)*a,(.5+E+te)*y,(.5-E+z)*a,(.5+ne+te)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-E+te)*y,(.5-E+z)*a,(.5-ne+te)*y,(.5-ne+z)*a,(.5-E+te)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*a,(.5+te)*y,(.5+ne+z)*a,(.5-E+te)*y,(1-.5+E+z)*a,(.5-ne+te)*y));var re=new go.PathFigure((.525+z)*a,(.5+E+te)*y,!1);return b.add(re),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(oe,a,y){var b=oe?oe.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(oe,a,y){var b=oe?oe.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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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 ft("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ft("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var E=oe?oe.parameter2:NaN;isNaN(E)&&(E=.3);var z=(1-b)*a,te=(.5-E/2)*y,ne=(.5+E/2)*y,re=new go.Geometry,ae=new go.PathFigure(0,te,!0);re.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,z,te)),ae.add(new go.PathSegment(go.PathSegment.Line,z,0)),ae.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ae.add(new go.PathSegment(go.PathSegment.Line,z,y)),ae.add(new go.PathSegment(go.PathSegment.Line,z,ne)),ae.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),re.spot1=new go.Spot(0,te/y);var le=pe(0,ne/y,1,ne/y,z/a,1,1,.5,x());return re.spot2=new go.Spot(le.x,le.y),de(le),re}),go.Shape.setFigureParameter("Arrow2",0,new ft("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ft("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=30),b>a&&(b=a);var E=oe?oe.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,y/2);var z=a-b,te=(y-E)/2,ne=te+E,re=new go.Geometry,ae=new go.PathFigure(0,te,!0);re.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,z,te)),ae.add(new go.PathSegment(go.PathSegment.Line,z,0)),ae.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ae.add(new go.PathSegment(go.PathSegment.Line,z,y)),ae.add(new go.PathSegment(go.PathSegment.Line,z,ne)),ae.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),re.spot1=new go.Spot(0,te/y);var le=pe(0,ne/y,1,ne/y,z/a,1,1,.5,x());return re.spot2=new go.Spot(le.x,le.y),de(le),re}),go.Shape.defineFigureGenerator("Chevron",function(oe,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(oe,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 ft("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*y,z=(.5+b/2)*y,te=new go.Geometry,ne=new go.PathFigure(a,.5*y,!0);te.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),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 re=pe(0,.5,.3,0,0,E/y,.1,E/y,x());return te.spot1=new go.Spot(re.x,re.y),re=pe(.7,1,1,.5,0,z/y,1,z/y,re),te.spot2=new go.Spot(re.x,re.y),de(re),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ft("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ft("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=40);var E=oe?oe.parameter2:NaN;isNaN(E)&&(E=100);var z=(y-b)/2,te=z+b,ne=(y-E)/2,re=ne+E;(b>y||E>y)&&(E>b?(b=b*y/E,z=(y-b)/2,te=z+b,ne=0,re=y):(z=0,te=y,ne=0,re=y));var ae=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,re)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,re)),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne).close());var he=pe(0,.5,.3,ne/y,0,z/y,1,z/y,x());return ae.spot1=new go.Spot(he.x,he.y),he=pe(.7,re/y,1,.5,0,te/y,1,te/y,he),ae.spot2=new go.Spot(he.x,he.y),de(he),ae}),go.Shape.setFigureParameter("IBeamArrow",0,new ft("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*y,z=(.5+b/2)*y,te=new go.Geometry,ne=new go.PathFigure(a,.5*y,!0);te.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),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()),te.spot1=new go.Spot(0,E/y);var re=pe(.7,1,1,.5,0,z/y,1,z/y,x());return te.spot2=new go.Spot(re.x,re.y),de(re),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new ft("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ft("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=40);var E=oe?oe.parameter2:NaN;isNaN(E)&&(E=100);var z=(y-b)/2,te=z+b,ne=(y-E)/2,re=ne+E;(b>y||E>y)&&(E>b?(b=b*y/E,z=(y-b)/2,te=z+b,ne=0,re=y):(z=0,te=y,ne=0,re=y));var ae=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,re)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,re)),le.add(new go.PathSegment(go.PathSegment.Line,0,re)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne).close()),ae.spot1=new go.Spot(0,z/y);var he=pe(.7,re/y,1,.5,0,te/y,1,te/y,x());return ae.spot2=new go.Spot(he.x,he.y),de(he),ae}),go.Shape.setFigureParameter("Pointer",0,new ft("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(b,.35);var te=pe(.2,.65,1,.65,0,1,1,.5,x());return E.spot2=new go.Spot(te.x,te.y),de(te),E}),go.Shape.setFigureParameter("RoundedPointer",0,new ft("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var E=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.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 te=pe(0,.65,1,.65,0,1,1,.5,x());return E.spot2=new go.Spot(te.x,te.y),de(te),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new ft("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.4);var E=(.5-b/2)*y,z=(.5+b/2)*y,te=new go.Geometry,ne=new go.PathFigure(a,.5*y,!0);te.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ne.add(new go.PathSegment(go.PathSegment.Line,0,z)),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()),te.spot1=new go.Spot(.2,.3);var re=pe(.7,1,1,.5,0,z/y,1,z/y,x());return te.spot2=new go.Spot(re.x,re.y),de(re),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ft("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=50);var E=(y-b)/2,z=E+b;b>y&&(E=0,z=y);var te=new go.Geometry,ne=new go.PathFigure(a,.5*y,!0);te.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ne.add(new go.PathSegment(go.PathSegment.Line,0,z)),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()),te.spot1=new go.Spot(.2,E/y);var re=pe(.7,1,1,.5,0,z/y,1,z/y,x());return te.spot2=new go.Spot(re.x,re.y),de(re),te}),go.Shape.setFigureParameter("SquareArrow",0,new ft("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.7);var E=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.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(oe,a,y){var b=new go.Geometry,E=ie*.5,z=ie*.1,te=new go.PathFigure(0,.9*y,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+z)*y).close()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(oe,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 z=new go.PathFigure(0,.9*y,!1);return b.add(z),z.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(oe,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 z=new go.PathFigure(.5*a,y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),z.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(oe,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 z=new go.PathFigure(0,.3*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),z.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(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,z=ie*.5,te=new go.PathFigure(0,b,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ie*b,(.5-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*a,b,(.5+z)*a,0,1*a,ie*b)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-ie*b,(.5+z)*a,1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,(.5-z)*a,1*y,0,y-ie*b)),te.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+z)*a,2*b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-z)*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(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,z=ie*.5,te=new go.PathFigure(0,y-b,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ie*b,(.5-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,b,(.5+z)*a,0,a,ie*b)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-ie*b,(.5+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,(.5-z)*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-z)*a,y-2*b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,y-b,(.5+z)*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(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,z=ie*.5,te=new go.PathFigure(b,0,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ie*b,0,a,(.5-z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,(.5+z)*y,a-ie*b,y)),te.add(new go.PathSegment(go.PathSegment.Line,b,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ie*b,y,0,(.5+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-z)*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-z)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,y,2*b,(.5+z)*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(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,z=ie*.5,te=new go.PathFigure(a-b,0,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ie*b,0,a,(.5-z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,(.5+z)*y,a-ie*b,y)),te.add(new go.PathSegment(go.PathSegment.Line,b,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ie*b,y,0,(.5+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-z)*y,ie*b,0)),te.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-z)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a-2*b,(.5+z)*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(oe,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 z=new go.PathFigure(.25*a,.25*y,!1);return b.add(z),z.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(oe,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 z=new go.PathFigure(0,y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),z.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(oe,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 z=new go.PathFigure(.5*a,0,!1);return b.add(z),z.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(oe,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 z=new go.PathFigure(.5*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),z.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(oe,a,y){var b=new go.Geometry,E=.2,z=.1,te=ie*E,ne=ie*z,re=.5,ae=.1,le=new go.PathFigure(re*a,(ae+z)*y,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(re-E)*a,ae*y,(re-te)*a,(ae+z)*y,(re-E)*a,(ae+ne)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ae-z)*y,(re-E)*a,(ae-ne)*y,(re-te)*a,(ae-z)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(re+E)*a,ae*y,(re+te)*a,(ae-z)*y,(re+E)*a,(ae-ne)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ae+z)*y,(re+E)*a,(ae+ne)*y,(re+te)*a,(ae+z)*y));var he=.05,ve=ie*he;re=.05,ae=.25;var Ce=new go.PathFigure(.5*a,.2*y,!0);return b.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),re=.95,ae=.25,Ce.add(new go.PathSegment(go.PathSegment.Bezier,(re+he)*a,ae*y,(re+ve)*a,(ae-he)*y,(re+he)*a,(ae-ve)*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),he=.025,ve=ie*he,re=.825,ae=.35,Ce.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ae-he)*y,(re+he)*a,(ae-ve)*y,(re+ve)*a,(ae-he)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(re-he)*a,ae*y,(re-ve)*a,(ae-he)*y,(re-he)*a,(ae-ve)*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),he=.05,ve=ie*he,re=.5,ae=.7,Ce.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ae-he)*y,(re+he)*a,(ae-ve)*y,(re+ve)*a,(ae-he)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(re-he)*a,ae*y,(re-ve)*a,(ae-he)*y,(re-he)*a,(ae-ve)*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),he=.025,ve=ie*he,re=.175,ae=.35,Ce.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ae-he)*y,(re+he)*a,(ae-ve)*y,(re+ve)*a,(ae-he)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(re-he)*a,ae*y,(re-ve)*a,(ae-he)*y,(re-he)*a,(ae-ve)*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),he=.05,ve=ie*he,re=.05,ae=.25,Ce.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ae-he)*y,(re-he)*a,(ae-ve)*y,(re-ve)*a,(ae-he)*y)),Ce.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 ft("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,z=new go.PathFigure(a,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),z.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(oe,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 z=new go.PathFigure(.5*a,.5*y,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.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(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,E*y,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),b}),go.Shape.defineFigureGenerator("Database",function(oe,a,y){var b=new go.Geometry,E=ie*.5,z=ie*.1,te=new go.PathFigure(a,.1*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-z)*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+z)*y,(.5+E)*a,.2*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+z)*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+z)*y,(.5+E)*a,.3*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+z)*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+z)*y,(.5+E)*a,.4*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-E)*a,.4*y,0,(.3+z)*y)),b.spot1=new go.Spot(0,.4),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("DataStorage",function(oe,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(oe,a,y){var b=new go.Geometry,E=ie*.5,z=ie*.1,te=new go.PathFigure(a,.1*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-z)*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+z)*y,(.5+E)*a,.2*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+z)*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+z)*y,(.5+E)*a,.3*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+z)*y)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("Display",function(oe,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(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var z=ie*.2,te=new go.PathFigure(0,.2*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-z)*y,(.2-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+z)*a,0,a,(.2-z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+z)*y,(.8+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-z)*a,y,0,(.8+z)*y)),te.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(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,E*y,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),b}),go.Shape.defineFigureGenerator("Document",function(oe,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(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(E*a,0,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,E*y)),te.add(new go.PathSegment(go.PathSegment.Move,a,E*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*y)),te.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,(1-E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(oe,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 z=new go.PathFigure(.1*a,.4*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),z.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(oe,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 z=new go.PathFigure(.75*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),z.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(oe,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 z=new go.PathFigure(a,.5*y,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y));var te=new go.PathFigure(a,.5*y,!1);return b.add(te),te.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(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN,z=oe?oe.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(z)&&(z=.1);var te=new go.PathFigure(0,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.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,z*y)),ne.add(new go.PathSegment(go.PathSegment.Line,a,z*y)),b}),go.Shape.defineFigureGenerator("Junction",function(oe,a,y){var b=new go.Geometry,E=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,te=ie*.5,ne=.5,re=new go.PathFigure(a,ne*y,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,y,a,(ne+te)*y,(ne+te)*a,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,ne*y,(ne-te)*a,y,0,(ne+te)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,0,0,(ne-te)*y,(ne-te)*a,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,ne*y,(ne+te)*a,0,a,(ne-te)*y));var ae=new go.PathFigure((z+E)*a,(z+E)*y,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,z*a,z*y)),ae.add(new go.PathSegment(go.PathSegment.Move,z*a,(z+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Line,(z+E)*a,z*y)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(oe,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 z=new go.PathFigure(.1*a,0,!1);return b.add(z),z.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(oe,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(oe,a,y){var b=new go.Geometry,E=ie*.5,z=.5,te=new go.PathFigure(.5*a,y,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-E)*a,y,0,(z+E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-E)*y,(z-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+E)*a,0,a,(z-E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*a,.9*y,a,(z+E)*y,(z+E)*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.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(oe,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(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.7);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,E*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.25);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,E*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(oe,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(oe,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 z=new go.PathFigure(.1*a,.2*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.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(oe,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 z=new go.PathFigure(.2*a,.1*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.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(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.1);var z=1-E,te=new go.PathFigure(0,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.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(oe,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(oe,a,y){var b=new go.Geometry,E=ie*.5,z=.5,te=new go.PathFigure(a,z*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+E)*y,(z+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-E)*a,y,0,(z+E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-E)*y,(z-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+E)*a,0,a,(z-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(oe,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(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN,z=oe?oe.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN,z=oe?oe.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure((1-E)*a,0,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,E*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),b}),go.Shape.defineFigureGenerator("Process",function(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(E*a,0,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(oe,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 z=new go.PathFigure(0,.5*y,!1);return b.add(z),z.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(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.25);var z=new go.PathFigure(E*a,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var te=new go.PathFigure(E*a,0,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,(1-E)*a,0)),te.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(oe,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(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*y).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(oe,a,y){var b=new go.Geometry,E=ie*.5,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+E)*a,0,a,(.5-E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+E)*y,(.5+E)*a,y)),z.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(oe,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(oe,a,y){var b=new go.Geometry,E=ie*.5,z=.5,te=new go.PathFigure(a,z*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+E)*y,(z+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-E)*a,y,0,(z+E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-E)*y,(z-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+E)*a,0,a,(z-E)*y));var ne=new go.PathFigure(a,z*y,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,z*y));var re=new go.PathFigure(.8*a,.75*y,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),re.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),re.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),re.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),re.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),b}),go.Shape.defineFigureGenerator("Ground",function(oe,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(oe,a,y){var b=new go.Geometry,E=ie*.1,z=.1,te=.9,ne=.5,re=new go.PathFigure(.8*a,.5*y,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ae=new go.PathFigure((te+z)*a,ne*y,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+z)*y,(te+z)*a,(ne+E)*y,(te+E)*a,(ne+z)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ne*y,(te-E)*a,(ne+z)*y,(te-z)*a,(ne+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-z)*y,(te-z)*a,(ne-E)*y,(te-E)*a,(ne-z)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ne*y,(te+E)*a,(ne-z)*y,(te+z)*a,(ne-E)*y)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(oe,a,y){var b=new go.Geometry,E=ie*.5,z=ie*.4,te=ie*.1,ne=.1,re=.9,ae=.5,le=new go.PathFigure(.8*a,.5*y,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+z)*y,(.4+E)*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,0,y)),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+E)*a,0,.8*a,(.5-z)*y));var he=new go.PathFigure((re+ne)*a,ae*y,!0);return b.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ae+ne)*y,(re+ne)*a,(ae+te)*y,(re+te)*a,(ae+ne)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(re-ne)*a,ae*y,(re-te)*a,(ae+ne)*y,(re-ne)*a,(ae+te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ae-ne)*y,(re-ne)*a,(ae-te)*y,(re-te)*a,(ae-ne)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(re+ne)*a,ae*y,(re+te)*a,(ae-ne)*y,(re+ne)*a,(ae-te)*y)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(oe,a,y){var b=new go.Geometry,E=.5,z=ie*E,te=0,ne=.5,re=new go.PathFigure(.8*a,.5*y,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ne+z)*y,(te+z)*a,(ne+E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+z)*a,(ne-E)*y,.7*a,(ne-z)*y)),E=.1,z=ie*.1,te=.9,ne=.5;var ae=new go.PathFigure((te-E)*a,ne*y,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-E)*y,(te-E)*a,(ne-z)*y,(te-z)*a,(ne-E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,ne*y,(te+z)*a,(ne-E)*y,(te+E)*a,(ne-z)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+E)*y,(te+E)*a,(ne+z)*y,(te+z)*a,(ne+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,ne*y,(te-z)*a,(ne+E)*y,(te-E)*a,(ne+z)*y)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(oe,a,y){var b=new go.Geometry,E=.5,z=ie*E,te=0,ne=.5,re=new go.PathFigure(0,0,!0);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+z+z)*a,(ne-E)*y,.8*a,(ne-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ne+z)*y,(te+z+z)*a,(ne+E)*y)),re.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(oe,a,y){var b=new go.Geometry,E=.5,z=ie*E,te=.2,ne=.5,re=new go.PathFigure(.1*a,0,!1);b.add(re),re.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+z)*y,(te+z)*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,(te+z)*a,(ne-E)*y,.7*a,(ne-z)*y)),E=.1,z=ie*.1,te=.9,ne=.5;var le=new go.PathFigure((te-E)*a,ne*y,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-E)*y,(te-E)*a,(ne-z)*y,(te-z)*a,(ne-E)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,ne*y,(te+z)*a,(ne-E)*y,(te+E)*a,(ne-z)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+E)*y,(te+E)*a,(ne+z)*y,(te+z)*a,(ne+E)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,ne*y,(te-z)*a,(ne+E)*y,(te-E)*a,(ne+z)*y)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(oe,a,y){var b=new go.Geometry,E=.5,z=ie*E,te=.2,ne=.5,re=new go.PathFigure(.1*a,0,!1);b.add(re),re.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,(te+z)*a,(ne-E)*y,.9*a,(ne-z)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ne+z)*y,(te+z)*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(oe,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(oe,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(oe,a,y){var b=new go.Geometry,E=ie*.1,z=.1,te=.1,ne=.5,re=new go.PathFigure((te-E*.5)*a,y,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-E)*a,y,(te-z)*a,0)),te=.3,re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+z)*a,0,(te+E)*a,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-E)*a,y,(te-z)*a,0)),te=.5,re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+z)*a,0,(te+E)*a,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-E)*a,y,(te-z)*a,0)),te=.7,re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+z)*a,0,(te+E)*a,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-E)*a,y,(te-z)*a,0)),te=.9,re.add(new go.PathSegment(go.PathSegment.Bezier,(te+E*.5)*a,y,(te+z)*a,0,(te+E)*a,y)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(oe,a,y){var b=new go.Geometry,E=ie*.5,z=.5,te=.5,ne=.5,re=new go.PathFigure((te-z)*a,ne*y,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-z)*y,(te-z)*a,(ne-E)*y,(te-E)*a,(ne-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ne*y,(te+E)*a,(ne-z)*y,(te+z)*a,(ne-E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+z)*y,(te+z)*a,(ne+E)*y,(te+E)*a,(ne+z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ne*y,(te-E)*a,(ne+z)*y,(te-z)*a,(ne+E)*y)),re.add(new go.PathSegment(go.PathSegment.Move,(te-z+.1)*a,ne*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+z-.1)*a,ne*y,te*a,(ne-z)*y,te*a,(ne+z)*y)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(oe,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(oe,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(oe,a,y){var b=new go.Geometry,E=a,z=y;a=a*.38,y=y*.6;var te=ie*.8,ne=.8,re=0,ae=.5,le=(E-a)/2,he=(z-y)/2,ve=new go.PathFigure(re*a+le,(ae+ne)*y+he,!0);b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(re-ne)*a+le,ae*y+he,(re-te)*a+le,(ae+ne)*y+he,(re-ne)*a+le,(ae+te)*y+he)),ve.add(new go.PathSegment(go.PathSegment.Bezier,re*a+le,(ae-ne)*y+he,(re-ne)*a+le,(ae-te)*y+he,(re-te)*a+le,(ae-ne)*y+he)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(re-ne+te*.5)*a+le,ae*y+he,re*a+le,(ae-ne)*y+he,(re-ne+te*.5)*a+le,(ae-te)*y+he)),ve.add(new go.PathSegment(go.PathSegment.Bezier,re*a+le,(ae+ne)*y+he,(re-ne+te*.5)*a+le,(ae+te)*y+he,re*a+le,(ae+ne)*y+he).close()),te=ie*.4,ne=.4,re=.2,ae=.5;var Ce=new go.PathFigure(re*a+le,(ae+ne)*y+he,!0);b.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(re-ne)*a+le,ae*y+he,(re-te)*a+le,(ae+ne)*y+he,(re-ne)*a+le,(ae+te)*y+he)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,re*a+le,(ae-ne)*y+he,(re-ne)*a+le,(ae-te)*y+he,(re-te)*a+le,(ae-ne)*y+he)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(re-ne+te*.5)*a+le,ae*y+he,re*a+le,(ae-ne)*y+he,(re-ne+te*.5)*a+le,(ae-te)*y+he)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,re*a+le,(ae+ne)*y+he,(re-ne+te*.5)*a+le,(ae+te)*y+he,re*a+le,(ae+ne)*y+he).close()),te=ie*.2,ne=.2,re=.5,ae=.5;var be=new go.PathFigure((re-ne)*a+le,ae*y+he,!0);b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,re*a+le,(ae-ne)*y+he,(re-ne)*a+le,(ae-te)*y+he,(re-te)*a+le,(ae-ne)*y+he)),be.add(new go.PathSegment(go.PathSegment.Bezier,(re+ne)*a+le,ae*y+he,(re+te)*a+le,(ae-ne)*y+he,(re+ne)*a+le,(ae-te)*y+he)),be.add(new go.PathSegment(go.PathSegment.Bezier,re*a+le,(ae+ne)*y+he,(re+ne)*a+le,(ae+te)*y+he,(re+te)*a+le,(ae+ne)*y+he)),be.add(new go.PathSegment(go.PathSegment.Bezier,(re-ne)*a+le,ae*y+he,(re-te)*a+le,(ae+ne)*y+he,(re-ne)*a+le,(ae+te)*y+he)),te=ie*.4,ne=.4,re=.8,ae=.5;var ye=new go.PathFigure(re*a+le,(ae-ne)*y+he,!0);b.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(re+ne)*a+le,ae*y+he,(re+te)*a+le,(ae-ne)*y+he,(re+ne)*a+le,(ae-te)*y+he)),ye.add(new go.PathSegment(go.PathSegment.Bezier,re*a+le,(ae+ne)*y+he,(re+ne)*a+le,(ae+te)*y+he,(re+te)*a+le,(ae+ne)*y+he)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(re+ne-te*.5)*a+le,ae*y+he,re*a+le,(ae+ne)*y+he,(re+ne-te*.5)*a+le,(ae+te)*y+he)),ye.add(new go.PathSegment(go.PathSegment.Bezier,re*a+le,(ae-ne)*y+he,(re+ne-te*.5)*a+le,(ae-te)*y+he,re*a+le,(ae-ne)*y+he).close()),te=ie*.8,ne=.8,re=1,ae=.5;var Ae=new go.PathFigure(re*a+le,(ae-ne)*y+he,!0);return b.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(re+ne)*a+le,ae*y+he,(re+te)*a+le,(ae-ne)*y+he,(re+ne)*a+le,(ae-te)*y+he)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,re*a+le,(ae+ne)*y+he,(re+ne)*a+le,(ae+te)*y+he,(re+te)*a+le,(ae+ne)*y+he)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(re+ne-te*.5)*a+le,ae*y+he,re*a+le,(ae+ne)*y+he,(re+ne-te*.5)*a+le,(ae+te)*y+he)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,re*a+le,(ae-ne)*y+he,(re+ne-te*.5)*a+le,(ae-te)*y+he,re*a+le,(ae-ne)*y+he).close()),b}),go.Shape.defineFigureGenerator("Email",function(oe,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 z=new go.PathFigure(0,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),b}),go.Shape.defineFigureGenerator("Ethernet",function(oe,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 z=new go.PathFigure(.1*a,y,!0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var te=new go.PathFigure(.6*a,y,!0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),te.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(oe,a,y){var b=new go.Geometry,E=ie*.4,z=.4,te=.5,ne=.5,re=x(),ae=x(),le=x(),he=x();De(te,ne-z,te+E,ne-z,te+z,ne-E,te+z,ne,.5,re,re,ae,le,he);var ve=ee(ae.x,ae.y),Ce=new go.PathFigure(ae.x*a,ae.y*y,!0);b.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ne*y,le.x*a,le.y*y,he.x*a,he.y*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+z)*y,(te+z)*a,(ne+E)*y,(te+E)*a,(ne+z)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ne*y,(te-E)*a,(ne+z)*y,(te-z)*a,(ne+E)*y)),De(te-z,ne,te-z,ne-E,te-E,ne-z,te,ne-z,.5,le,he,ae,re,re),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*y,le.x*a,le.y*y,he.x*a,he.y*y)),E=ie*.3,z=.3,De(te-z,ne,te-z,ne-E,te-E,ne-z,te,ne-z,.5,le,he,ae,re,re),Ce.add(new go.PathSegment(go.PathSegment.Line,ae.x*a,ae.y*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ne*y,he.x*a,he.y*y,le.x*a,le.y*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+z)*y,(te-z)*a,(ne+E)*y,(te-E)*a,(ne+z)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ne*y,(te+E)*a,(ne+z)*y,(te+z)*a,(ne+E)*y)),De(te,ne-z,te+E,ne-z,te+z,ne-E,te+z,ne,.5,re,re,ae,le,he),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*y,he.x*a,he.y*y,le.x*a,le.y*y).close());var Ce=new go.PathFigure(.45*a,0,!0);return b.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),de(re),de(ae),de(le),de(he),de(ve),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(oe,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 z(te,ne,re){te.add(new go.PathSegment(go.PathSegment.Move,(.3+ne)*a,(.8+re)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ne)*a,(.5+re)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+ne)*a,(.5+re)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+ne)*a,(.8+re)*y).close())}return z(E,0,0),z(E,.4,0),z(E,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(oe,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(oe,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(oe,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(oe,a,y){var b=new go.Geometry,E=.5,z=0,te=0,ne=E*ie,re=.4*Math.SQRT2/2+.5,ae=.5-.5*Math.SQRT2/2,le=1,he=.5,ve=.5,Ce=0,be=new go.PathFigure(re*a,(1-ae)*y,!1);return b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,le*a,he*y,le*a,.7*y,le*a,he*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ve+z)*a,(Ce+z)*y,(.5+E+z)*a,(.5-ne+z)*y,(.5+ne+z)*a,(.5-E+z)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*a,(.5+te)*y,(.5-ne+z)*a,(.5-E+te)*y,(.5-E+z)*a,(.5-ne+te)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*a,.9*y,(.5-E+z)*a,(.5+ne+te)*y,(.5-ne+z)*a,.9*y)),be.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*a,.8*y)),be.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*a,.9*y)),be.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*a,.95*y)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(oe,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(oe,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(oe,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var z=new go.PathFigure(a,y,!1);b.add(z);var te=new go.PathFigure(0,.5*y,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(oe,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(oe,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(oe,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 z=new go.PathFigure(.45*a,.73*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),z.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),z.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(oe,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var z=new go.PathFigure(.335*a,(1-.555)*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),z.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var te=.5-.285,ne=.5,re=te,ae=Math.PI/4,le=4*(1-Math.cos(ae))/(3*Math.sin(ae)),he=le*.5,ve=te,Ce=te,be=le*ve,ye=le*Ce;z.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ve)*a,re*y,(ne-(be+ve)/2)*a,(re+(Ce+ye)/2)*y,(ne-ve)*a,(re+ye)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-Ce)*y,(ne-ve)*a,(re-ye)*y,(ne-be)*a,(re-Ce)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ve)*a,re*y,(ne+be)*a,(re-Ce)*y,(ne+ve)*a,(re-ye)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ne+ve)*a,(re+ye)*y,(ne+(be+ve)/2)*a,(re+(Ce+ye)/2)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Ae=new go.PathFigure(.2*a,y,!1);b.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Ne=new go.PathFigure(.8*a,y,!1);return b.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(oe,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 z=new go.PathFigure(.2*a,.2*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(oe,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(oe,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var z=new go.PathFigure(a,y,!1);b.add(z);var te=new go.PathFigure(.1*a,y,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),b}),go.Shape.defineFigureGenerator("Caution",function(oe,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 z=.05;return E.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*a,.875*y)),E.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,z*a,z*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(oe,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 z=new go.PathFigure(.475*a,.2*y,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),z.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),z.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var te=new go.PathFigure(.675*a,.575*y,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),te.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(oe,a,y){var b=new go.Geometry,E=.5,z=ie*.5,te=new go.PathFigure(a,E*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,E*a,y,a,(E+z)*y,(E+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-z)*a,y,0,(E+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-z)*y,(E-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+z)*a,0,a,(E-z)*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(oe,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 z=new go.PathFigure(0,.15*y,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),z.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(oe,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 z=new go.PathFigure(0,.2*y,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var te=new go.PathFigure(0,.5*y,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),b}),go.Shape.defineFigureGenerator("Component",function(oe,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 z=new go.PathFigure(0,.2*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var te=new go.PathFigure(0,.6*y,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(oe,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 z=new go.PathFigure(.15*a,.6*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(oe,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(oe,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(oe,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(oe,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 z=new go.PathFigure(a,.8*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var te=.1,ne=ie*.1,re=.2,ae=.9,le=new go.PathFigure((re-te)*a,ae*y,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ae-te)*y,(re-te)*a,(ae-ne)*y,(re-ne)*a,(ae-te)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,ae*y,(re+ne)*a,(ae-te)*y,(re+te)*a,(ae-ne)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ae+te)*y,(re+te)*a,(ae+ne)*y,(re+ne)*a,(ae+te)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,ae*y,(re-ne)*a,(ae+te)*y,(re-te)*a,(ae+ne)*y).close()),te=.1,ne=ie*.1,re=.8,ae=.9;var he=new go.PathFigure((re-te)*a,ae*y,!0);return b.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ae-te)*y,(re-te)*a,(ae-ne)*y,(re-ne)*a,(ae-te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,ae*y,(re+ne)*a,(ae-te)*y,(re+te)*a,(ae-ne)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ae+te)*y,(re+te)*a,(ae+ne)*y,(re+ne)*a,(ae+te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,ae*y,(re-ne)*a,(ae+te)*y,(re-te)*a,(ae+ne)*y).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(oe,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(oe,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 z=new go.PathFigure(0,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var te=new go.PathFigure(.5*a,.8*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),te.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 re=.1,ae=ie*.1,le=.1,he=.9,ve=new go.PathFigure((le-re)*a,he*y,!0);b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(he-re)*y,(le-re)*a,(he-ae)*y,(le-ae)*a,(he-re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(le+re)*a,he*y,(le+ae)*a,(he-re)*y,(le+re)*a,(he-ae)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(he+re)*y,(le+re)*a,(he+ae)*y,(le+ae)*a,(he+re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(le-re)*a,he*y,(le-ae)*a,(he+re)*y,(le-re)*a,(he+ae)*y)),re=.1,ae=ie*.1,le=.4,he=.9;var Ce=new go.PathFigure((le-re)*a,he*y,!0);return b.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(he-re)*y,(le-re)*a,(he-ae)*y,(le-ae)*a,(he-re)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(le+re)*a,he*y,(le+ae)*a,(he-re)*y,(le+re)*a,(he-ae)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(he+re)*y,(le+re)*a,(he+ae)*y,(le+ae)*a,(he+re)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(le-re)*a,he*y,(le-ae)*a,(he+re)*y,(le-re)*a,(he+ae)*y)),b}),go.Shape.defineFigureGenerator("RailShipment",function(oe,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 z=new go.PathFigure(.45*a,.7*y,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var te=new go.PathFigure(.55*a,.4*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var le=.05,he=ie*.05,ve=.175,Ce=.95,ne=new go.PathFigure((ve-le)*a,Ce*y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(Ce-le)*y,(ve-le)*a,(Ce-he)*y,(ve-he)*a,(Ce-le)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ve+le)*a,Ce*y,(ve+he)*a,(Ce-le)*y,(ve+le)*a,(Ce-he)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(Ce+le)*y,(ve+le)*a,(Ce+he)*y,(ve+he)*a,(Ce+le)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ve-le)*a,Ce*y,(ve-he)*a,(Ce+le)*y,(ve-le)*a,(Ce+he)*y));var le=.05,he=ie*.05,ve=.375,Ce=.95,re=new go.PathFigure((ve-le)*a,Ce*y,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(Ce-le)*y,(ve-le)*a,(Ce-he)*y,(ve-he)*a,(Ce-le)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ve+le)*a,Ce*y,(ve+he)*a,(Ce-le)*y,(ve+le)*a,(Ce-he)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(Ce+le)*y,(ve+le)*a,(Ce+he)*y,(ve+he)*a,(Ce+le)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ve-le)*a,Ce*y,(ve-he)*a,(Ce+le)*y,(ve-le)*a,(Ce+he)*y));var le=.05,he=ie*.05,ve=.625,Ce=.95,ae=new go.PathFigure((ve-le)*a,Ce*y,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(Ce-le)*y,(ve-le)*a,(Ce-he)*y,(ve-he)*a,(Ce-le)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ve+le)*a,Ce*y,(ve+he)*a,(Ce-le)*y,(ve+le)*a,(Ce-he)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(Ce+le)*y,(ve+le)*a,(Ce+he)*y,(ve+he)*a,(Ce+le)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ve-le)*a,Ce*y,(ve-he)*a,(Ce+le)*y,(ve-le)*a,(Ce+he)*y));var le=.05,he=ie*.05,ve=.825,Ce=.95,be=new go.PathFigure((ve-le)*a,Ce*y,!0);b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(Ce-le)*y,(ve-le)*a,(Ce-he)*y,(ve-he)*a,(Ce-le)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ve+le)*a,Ce*y,(ve+he)*a,(Ce-le)*y,(ve+le)*a,(Ce-he)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(Ce+le)*y,(ve+le)*a,(Ce+he)*y,(ve+he)*a,(Ce+le)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ve-le)*a,Ce*y,(ve-he)*a,(Ce+le)*y,(ve-le)*a,(Ce+he)*y).close());var ye=new go.PathFigure(0,y,!1);return b.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(oe,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 z=new go.PathFigure(0,.2*y,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var te=new go.PathFigure(.15*a,y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var ne=.05,re=ie*.05,ae=.35,le=.775,he=new go.PathFigure((ae-ne)*a,le*y,!0);return b.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(le-ne)*y,(ae-ne)*a,(le-re)*y,(ae-re)*a,(le-ne)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne)*a,le*y,(ae+re)*a,(le-ne)*y,(ae+ne)*a,(le-re)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(le+ne)*y,(ae+ne)*a,(le+re)*y,(ae+re)*a,(le+ne)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne)*a,le*y,(ae-re)*a,(le+ne)*y,(ae-ne)*a,(le+re)*y).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,a,y){var b=new go.Geometry,E=.3,z=ie*.3,te=.5,ne=.7,re=new go.PathFigure((te-E)*a,ne*y,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-E)*y,(te-E)*a,(ne-z)*y,(te-z)*a,(ne-E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,ne*y,(te+z)*a,(ne-E)*y,(te+E)*a,(ne-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+E)*y,(te+E)*a,(ne+z)*y,(te+z)*a,(ne+E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,ne*y,(te-z)*a,(ne+E)*y,(te-E)*a,(ne+z)*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(oe,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(oe,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(oe,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 z=new go.PathFigure(0,.6*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b}),go.Shape.defineFigureGenerator("Delete",function(oe,a,y){var b=new go.Geometry,E=.5,z=ie*.5,te=.5,ne=.5,re=new go.PathFigure((te-E)*a,ne*y,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-E)*y,(te-E)*a,(ne-z)*y,(te-z)*a,(ne-E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,ne*y,(te+z)*a,(ne-E)*y,(te+E)*a,(ne-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+E)*y,(te+E)*a,(ne+z)*y,(te+z)*a,(ne+E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,ne*y,(te-z)*a,(ne+E)*y,(te-E)*a,(ne+z)*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(oe,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(oe,a,y){var b=new go.Geometry,E=.5,z=ie*.5,te=.5,ne=.5,re=new go.PathFigure((te-E)*a,ne*y,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-E)*y,(te-E)*a,(ne-z)*y,(te-z)*a,(ne-E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,ne*y,(te+z)*a,(ne-E)*y,(te+E)*a,(ne-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+E)*y,(te+E)*a,(ne+z)*y,(te+z)*a,(ne+E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,ne*y,(te-z)*a,(ne+E)*y,(te-E)*a,(ne+z)*y).close()),E=.05,z=ie*.05,te=.5,ne=.8;var ae=new go.PathFigure((te-E)*a,ne*y,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-E)*y,(te-E)*a,(ne-z)*y,(te-z)*a,(ne-E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,ne*y,(te+z)*a,(ne-E)*y,(te+E)*a,(ne-z)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+E)*y,(te+E)*a,(ne+z)*y,(te+z)*a,(ne+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,ne*y,(te-z)*a,(ne+E)*y,(te-E)*a,(ne+z)*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(oe,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(oe,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 z=new go.PathFigure(.2*a,.5*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),b}),go.Shape.defineFigureGenerator("Unlocked",function(oe,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 z=new go.PathFigure(.2*a,.5*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),b}),go.Shape.defineFigureGenerator("Gear",function(oe,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(oe,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(oe,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(oe,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 z=new go.PathFigure(0,y*.6,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),b}),go.Shape.defineFigureGenerator("Pencil",function(oe,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(oe,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 z=new go.PathFigure(.126*a,.85*y,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var te=new go.PathFigure(.402*a,.85*y,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),te.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 re=new go.PathFigure(.5*a,.1*y,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(oe,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(oe,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 z=new go.PathFigure(a*.204,y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var te=new go.PathFigure(a*.408,y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),te.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 re=new go.PathFigure(a*.816,y,!0);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),re.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),re.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(oe,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 z=new go.PathFigure(a*.055,.07*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var te=new go.PathFigure(a*.055,.13*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),te.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 re=new go.PathFigure(a*1,0,!0);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),re.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),re.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(oe,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(oe,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(oe,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 z=new go.PathFigure(0,0,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var te=new go.PathFigure(a*.11,y*.1,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),te.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 re=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(oe,a,y){var b=new go.Geometry,E=8,z=E*ie,te=new go.PathFigure(E,0,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-z,a-z,y)),te.add(new go.PathSegment(go.PathSegment.Line,E,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,z,y,0,y-z)),te.add(new go.PathSegment(go.PathSegment.Line,0,E)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,z,z,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 re=new go.PathFigure(a*.83,y*1,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),re.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),re.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(oe,a,y){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,a/3),b=Math.min(b,y/3);var E=b*ie,z=y*.8,te=new go.Geometry,ne=new go.PathFigure(b,0,!0);return te.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,z-b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-b,z,a,z-E,a-E,z)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.7,z)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.55,z)),ne.add(new go.PathSegment(go.PathSegment.Line,b,z)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z-b,E,z,0,z-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?(te.spot1=new go.Spot(0,0,E,E),te.spot2=new go.Spot(1,.8,-E,-E)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(oe,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 z=new go.PathFigure(a*1,y*.55,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),b}),go.Shape.defineFigureGenerator("Windows",function(oe,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(oe,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 z=new go.PathFigure(a*.1,y*.2,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var te=new go.PathFigure(a*.28,y*.37,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),te.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),te.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),b}),go.Shape.defineFigureGenerator("Beaker",function(oe,a,y){var b=new go.Geometry,E=15,z=E*ie,te=new go.PathFigure(a*.62,y*.475,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-z,a-z,y)),te.add(new go.PathSegment(go.PathSegment.Line,E,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,z,y,0,y-z)),te.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),te.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),te.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),z>1?(b.spot1=new go.Spot(0,0,z,z),b.spot2=new go.Spot(1,1,-z,-z)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(oe,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);b.add(E);var z=.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-z))),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-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),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-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),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-z)).close());var te=new go.PathFigure(a*.4,y*0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),te.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),b}),go.Shape.defineFigureGenerator("Bin",function(oe,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);b.add(E);var z=.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-z))),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-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),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-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),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-z)).close()),b}),go.Shape.defineFigureGenerator("Upload",function(oe,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);b.add(E);var z=.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-z))),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-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),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-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),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-z)).close());var te=new go.PathFigure(a*.5,y*0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(oe,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(oe,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 z=new go.PathFigure(a*.235,y*.28,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),z.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),z.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),b}),go.Shape.defineFigureGenerator("4Arrows",function(oe,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")},61016: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 ft={},ut="5.0",ee={},x=null,de=!1,pe=!1,De=null,we=!1,ke=null,ie=null,We=0;We<arguments.length;We++){var Me=arguments[We];if(Me!==null)switch(typeof Me){case"number":ut=Me.toFixed(1);break;case"string":Me.match(new RegExp("^[0-9]\\.[0-9]+$"))?ut=Me:De=Me;break;case"object":typeof Me.is3D!="undefined"?x=Me:ee=Me;break;case"boolean":de=Me,pe=!0;break}}x===null&&(x={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},ee.material_id!==void 0&&!pe&&(de=!0)),De!==null&&ee.id===void 0&&(ee.id=De);var Te="",ze="",Be=!1,me=null,oe=null,a=null,y=!1,b=null,E=null,z=null,te=null,ne=null;ee.height!==void 0&&(ee.height=Math.round(ee.height)),ee.width!==void 0&&(ee.width=Math.round(ee.width));var re=function(rt){return parseFloat(rt)>4?parseFloat(rt):5};ft.setHTML5Codebase=function(rt,Pt){ie=rt,mt(rt,Pt)},ft.setJavaCodebase=ft.setJavaCodebaseVersion=ft.isCompiledInstalled=ft.setPreCompiledScriptPath=ft.setPreCompiledResourcePath=function(){},ft.setHTML5CodebaseVersion=function(rt,Pt){var Lt=parseFloat(rt);if(Lt!==NaN&&Lt<5){console.log("The GeoGebra HTML5 codebase version "+Lt+" is deprecated. Using version latest instead.");return}ke=rt,it(rt,Pt)},ft.getHTML5CodebaseVersion=function(){return oe},ft.getParameters=function(){return ee},ft.setFontsCSSURL=function(rt){te=rt},ft.setGiacJSURL=function(rt){},ft.setJNLPFile=function(rt){Te=rt},ft.setJNLPBaseDir=function(rt){},ft.inject=function(){function rt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Pt="auto",Lt=ee.id,ct,Ft=!1,jt=0;jt<arguments.length;jt++){var _e=arguments[jt];typeof _e=="string"?(_e=_e.toLowerCase(),_e.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Pt=_e:Lt=arguments[jt]):typeof _e=="boolean"?Ft=_e:_e instanceof HTMLElement&&(ct=_e)}En();function En(){if(!we){setTimeout(En,200);return}Pt=Ke(Pt);var Fn=ct||document.getElementById(Lt);if(!Fn){console.log("possibly bug on ajax loading? ");return}if(ft.removeExistingApplet(Fn,!1),ee.width===void 0&&Fn.clientWidth&&(ee.width=Fn.clientWidth),ee.height===void 0&&Fn.clientHeight&&(ee.height=Fn.clientHeight),!(ee.width&&ee.height)&&Pt==="html5"&&(delete ee.width,delete ee.height),me=Pt,Pt==="screenshot")Ne(Fn,ee);else{var ha=!1;ee.hasOwnProperty("playButton")&&ee.playButton||ee.hasOwnProperty("clickToLoad")&&ee.clickToLoad?ha=!0:ee.hasOwnProperty("playButtonAutoDecide")&&ee.playButtonAutoDecide&&(ha=(!ae()||rt())&&le()),ha?(me="screenshot",Le(Fn,ee,Ft,Pt)):Ae(Fn,ee,Ft)}}};function ae(){try{return window.self!==window.top}catch(rt){return!0}}function le(){return ee.hasOwnProperty("screenshotGenerator")&&ee.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}ft.getViews=function(){return x},ft.isJavaInstalled=function(){return!1};var he=function(rt){var Pt=function(jt){var _e=JSON.parse(jt),En=function(In){return In.type=="G"||In.type=="E"},Fn=_e.elements?_e.elements.filter(En)[0]:_e;if(!Fn||!Fn.url){Lt();return}ee.fileName=Fn.url,ve(Fn.settings||{}),x.is3D=!0;var ha="https://www.geogebra.org/images/";ft.setPreviewImage(b||Fn.previewUrl,ha+"GeoGebra_loading.png",ha+"applet_play.png"),rt()},Lt=function(){ee.onError&&ee.onError(),Yt("Error: Fetching material (id "+ee.material_id+") failed.",ee)},ct=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Ft="/materials/"+ee.material_id+"?scope=basic";Ce("https://"+ct+"/api/proxy.php?path="+encodeURIComponent(Ft),Pt,Lt)};function ve(rt){var Pt=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Lt){rt[Lt]=!!rt[Lt]}),Pt.forEach(function(Lt){ee[Lt]===void 0&&rt[Lt]!==void 0&&(ee[Lt]=rt[Lt])}),ee.showToolBarHelp===void 0&&(ee.showToolBarHelp=ee.showToolBar)}function Ce(rt,Pt,Lt){var ct=new XMLHttpRequest;ct.open("GET",rt),ct.onload=function(){Pt(ct.responseText)},ct.onerror=Lt,ct.send()}ft.isHTML5Installed=function(){return!0},ft.getLoadedAppletType=function(){return me},ft.setPreviewImage=function(rt,Pt,Lt){b=rt,E=Pt,z=Lt},ft.removeExistingApplet=function(rt,Pt){var Lt;typeof rt=="string"&&(rt=document.getElementById(rt)),me=null;var ct=null;for(Lt=0;Lt<rt.childNodes.length;Lt++){var Ft=rt.childNodes[Lt],jt=Ft.className;jt==="applet_screenshot"?Pt?(Ft.style.display="block",me="screenshot"):Ft.style.display="none":jt!=="applet_scaler prerender"&&(rt.removeChild(Ft),ct=jt&&jt.indexOf("appletParameters")!=-1?Ft.id:null,Lt--)}var _e=ee.id!==void 0?ee.id:ct,En=window[_e];En&&typeof En.getBase64=="function"&&(En.remove(),window[_e]=null)},ft.refreshHitPoints=function(){if(re(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var rt=ft.getAppletObject();return rt&&typeof rt.recalculateEnvironments=="function"?(rt.recalculateEnvironments(),!0):!1},ft.startAnimation=function(){var rt=ft.getAppletObject();return rt&&typeof rt.startAnimation=="function"?(rt.startAnimation(),!0):!1},ft.stopAnimation=function(){var rt=ft.getAppletObject();return rt&&typeof rt.stopAnimation=="function"?(rt.stopAnimation(),!0):!1},ft.getAppletObject=function(){var rt=ee.id!==void 0?ee.id:"ggbApplet";return window[rt]},ft.resize=function(){};var be=function(rt,Pt,Lt){var ct=document.createElement("param");ct.setAttribute("name",Pt),ct.setAttribute("value",Lt),rt.appendChild(ct)},ye=function(rt){return rt&&rt!=="false"},Ae=function(rt,Pt,Lt){re(oe)<=4.2&&(Lt=!0);var ct=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==oe||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(ct=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Ft=document.createElement("div");Ft.classList.add("appletParameters","notranslate");var jt=Pt.width,_e=Pt.height;if(Pt.disableAutoScale=Pt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Pt.disableAutoScale,Pt.width!==void 0)if(re(oe)<=4.4)ye(Pt.showToolBar)&&(Pt.height-=7),ye(Pt.showAlgebraInput)&&(Pt.height-=37),Pt.width<605&&ye(Pt.showToolBar)&&(Pt.width=605,jt=605);else{var En=100;(ye(Pt.showToolBar)||ye(Pt.showMenuBar))&&(Pt.hasOwnProperty("customToolBar")&&(Pt.customToolbar=Pt.customToolBar),En=ye(Pt.showMenuBar)?245:155),jt<En&&(Pt.width=En,jt=En)}Ft.style.border="none",Ft.style.display="inline-block";for(var Fn in Pt)Pt.hasOwnProperty(Fn)&&Fn!=="appletOnLoad"&&Ft.setAttribute("data-param-"+Fn,Pt[Fn]);te&&Ft.setAttribute("data-param-fontscssurl",te),ft.resize=function(){GGBAppletUtils.responsiveResize(rt,Pt)},window.addEventListener("resize",function(Jt){ft.resize()});var ha=typeof Pt.appletOnLoad=="function"?Pt.appletOnLoad:function(){};if(!Lt&&Pt.width!==void 0){Pt.hasOwnProperty("showSplash")||Ft.setAttribute("data-param-showSplash","false");var In=rt.querySelector(".applet_scaler.prerender"),at=In!==null;if(at)var lt=In.querySelector(".ggb_preview");else{var lt=He(jt,_e,Pt.borderColor,!1);In=document.createElement("div"),In.className="applet_scaler",In.style.position="relative",In.style.display="block",In.style.width=jt+"px",In.style.height=_e+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(In,"66%"),re(oe)>=5?(Pt.appletOnLoad=function(Jt){var $e=rt.querySelector(".ggb_preview");$e&&$e.parentNode.removeChild($e),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(In),window.GGBT_wsf_view&&$(window).trigger("resize"),ha(Jt)},at||In.appendChild(lt)):Ft.appendChild(lt),In.appendChild(Ft),at||rt.appendChild(In),setTimeout(function(){ft.resize()},1)}else{var dt=document.createElement("div");dt.className="applet_scaler",dt.style.position="relative",dt.style.display="block",dt.appendChild(Ft),rt.appendChild(dt),Pt.appletOnLoad=function(Jt){ft.resize(),ha(Jt)}}function At(Jt,$e){$e&&typeof $e.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Jt,$e.appletOnLoad):renderGGBElement(Jt),Yt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",$e)}function Et(Jt,$e){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Jt,params:$e}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Re){At(Re.article,Re.params)}),html5AppletsToProcess=null)},re(oe)<5&&(Jt.className+=" geogebraweb")):At(Jt,$e)}if(ct){scriptLoadStarted=!0;for(var gt=0;gt<Ft.childNodes.length;gt++){var Xt=Ft.childNodes[gt].tagName;Xt==="TABLE"&&(Ft.removeChild(Ft.childNodes[gt]),gt--)}if(ggbHTML5LoadedScript!==null){var Ot=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Ot!=null&&Ot.parentNode.removeChild(Ot)}var bt=document.createElement("script"),on=function(){Et(Ft,Pt)};bt.src=ze+a,ggbHTML5LoadedCodebaseIsWebSimple=y,ggbHTML5LoadedCodebaseVersion=oe,ggbHTML5LoadedScript=bt.src,Yt("GeoGebra HTML5 codebase loaded: '"+ze+"'.",Pt),!ie&&(!ke||ke=="5.0")?(y?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),on()):ze.requirejs?__webpack_require__.e(12).then(function(){var Jt=[__webpack_require__(12)];on.apply(null,Jt)}.bind(this)).catch(__webpack_require__.oe):(bt.onload=on,rt.appendChild(bt))}else Et(Ft,Pt);Pt.height=_e,Pt.width=jt},Ne=function(rt,Pt,Lt){var ct=He(Pt.width,Pt.height,Pt.borderColor,Lt),Ft=document.createElement("div");Ft.style.position="relative",Ft.style.display="block",Ft.style.width=Pt.width+"px",Ft.style.height=Pt.height+"px",Ft.className="applet_screenshot applet_scaler"+(Lt?" applet_screenshot_play":""),Ft.appendChild(ct);var jt=GGBAppletUtils.getScale(Pt,rt,Lt);Lt?(rt.appendChild(Ge()),window.GGBT_wsf_view||(rt.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Ft,"66%"),rt.appendChild(Ft),jt!==1&&!isNaN(jt)&&(GGBAppletUtils.scaleElement(Ft,jt),Ft.style.width=Pt.width+"px",Ft.style.height=Pt.height+"px",Ft.parentNode.style.width=Pt.width*jt+"px",Ft.parentNode.style.height=Pt.height*jt+"px"),ft.resize=function(){Xe(rt,ct,Ft,Lt)},window.addEventListener("resize",function(_e){ft.resize()}),ft.resize()};function Xe(rt,Pt,Lt,ct){if(rt.contains(Pt)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(rt.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(rt)}var Ft=GGBAppletUtils.getScale(ee,rt,ct);Lt.parentNode!==null&&(!isNaN(Ft)&&Ft!==1?(GGBAppletUtils.scaleElement(Lt,Ft),Lt.parentNode.style.width=ee.width*Ft+"px",Lt.parentNode.style.height=ee.height*Ft+"px"):(GGBAppletUtils.scaleElement(Lt,1),Lt.parentNode.style.width=ee.width+"px",Lt.parentNode.style.height=ee.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(rt),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}ft.onExitFullscreen=function(rt,Pt){Pt.appendChild(rt)};var Le=function(rt,Pt,Lt,ct){Ne(rt,Pt,!0);for(var Ft=function(){var En=[];for(_e=0;_e<rt.childNodes.length;_e++)En.push(rt.childNodes[_e]);if(window.GGBT_wsf_view){var Fn=window.GGBT_wsf_view.renderFullScreen(rt,Pt.id),ha=document.getElementById("fullscreencontainer"),In=jQuery(rt).find(".fullscreencontent");In.length>0?(Fn.remove(),In.attr("id","fullscreencontent").show(),jQuery(ha).append(In),window.dispatchEvent(new Event("resize"))):Ae(Fn,Pt,!1),window.GGBT_wsf_view.launchFullScreen(ha)}else me=ct,Ae(rt,Pt,!1);if(!window.GGBT_wsf_view)for(_e=0;_e<En.length;_e++)rt.removeChild(En[_e])},jt=rt.getElementsByClassName("ggb_preview_play"),_e=0;_e<jt.length;_e++)jt[_e].addEventListener("click",Ft,!1),jt[_e].addEventListener("ontouchstart",Ft,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(rt),le()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Ge=function(){var rt=document.createElement("div");if(rt.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Pt='.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");}',Lt=document.createElement("style");Lt.styleSheet?Lt.styleSheet.cssText=Pt:Lt.appendChild(document.createTextNode(Pt)),document.getElementsByTagName("head")[0].appendChild(Lt)}return rt},He=function(rt,Pt,Lt,ct){var Ft=document.createElement("div");Ft.className="ggb_preview",Ft.style.position="absolute",Ft.style.zIndex="90",Ft.style.width=rt-2+"px",Ft.style.height=Pt-2+"px",Ft.style.top="0px",Ft.style.left="0px",Ft.style.overflow="hidden",Ft.style.backgroundColor="white";var jt="lightgrey";Lt!==void 0&&(Lt==="none"?jt="transparent":jt=Lt),Ft.style.border="1px solid "+jt;var _e=document.createElement("img");if(_e.style.position="relative",_e.style.zIndex="1000",_e.style.top="-1px",_e.style.left="-1px",b!==null&&_e.setAttribute("src",b),_e.style.opacity=.7,E!==null){var En,Fn,ha;if(!ct){En=document.createElement("img"),En.style.position="absolute",En.style.zIndex="1001",En.style.opacity=1,_e.style.opacity=.3,Fn=360,Fn>rt/4*3&&(Fn=rt/4*3),ha=Fn/5.8,En.setAttribute("src",E),En.setAttribute("width",Fn),En.setAttribute("height",ha);var In=(rt-Fn)/2,at=(Pt-ha)/2;En.style.left=In+"px",En.style.top=at+"px",Ft.appendChild(En)}}return Ft.appendChild(_e),Ft},Ke=function(rt){return rt=rt.toLowerCase(),rt==="html5"||rt==="screenshot"?rt:"html5"},qe=["web","webSimple","web3d","tablet","tablet3d","phone"],it=function(rt,Pt){if(oe=rt,Pt){mt(oe,!0);return}var Lt=!de;if(Lt){var ct=re(oe);!isNaN(ct)&&ct<4.4&&(Lt=!1)}var Ft,jt;window.location.protocol.substr(0,4)==="http"?Ft=window.location.protocol:Ft="http:";var _e=oe.indexOf("//");_e>0?jt=oe:_e===0?jt=Ft+oe:jt="https://www.geogebra.org/apps/5.2.814.0/";for(var En in qe)if(oe.slice(qe[En].length*-1)===qe[En]||oe.slice((qe[En].length+1)*-1)===qe[En]+"/"){mt(jt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Lt&&!x.is3D&&!x.AV&&!x.SV&&!x.CV&&!x.EV2&&!x.CP&&!x.PC&&!x.DA&&!x.FI&&!x.PV&&!ye(ee.showToolBar)&&!ye(ee.showMenuBar)&&!ye(ee.showAlgebraInput)&&!ye(ee.enableRightClick)&&(!ee.appName||ee.appName=="classic")?jt+="webSimple/":jt+="web3d/",mt(jt,!1)},mt=function(rt,Pt){if(rt.requirejs){ze=rt;return}rt.slice(-1)!=="/"&&(rt+="/"),ze=rt,Pt===null&&(Pt=rt.indexOf("http")===-1),Be=Pt,a="web.nocache.js",y=!1;var Lt=ze.split("/");Lt.length>1&&(!Pt&&Lt[Lt.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):qe.indexOf(Lt[Lt.length-2])>=0&&(a=Lt[Lt.length-2]+".nocache.js")),Lt=rt.split("/"),oe=Lt[Lt.length-3],oe.substr(0,4)==="test"?oe=oe.substr(4,1)+"."+oe.substr(5,1):(oe.substr(0,3)==="war"||oe.substr(0,4)==="beta")&&(oe="5.0");var ct=parseFloat(oe);ct!==NaN&&ct<5&&rt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+ct+" is deprecated. Using version latest instead."),it("5.0",Pt))},Yt=function(rt,Pt){window.console&&window.console.log&&(!Pt||typeof Pt.showLogging=="undefined"||Pt.showLogging&&Pt.showLogging!=="false")&&console.log(rt)};ee.material_id!==void 0?he(cn):cn();function cn(){var rt=ut;ke!==null?rt=ke:parseFloat(rt)<5&&(rt="5.0"),it(rt,!1),ie!==null&&mt(ie,Be),we=!0}return ft},GGBAppletUtils=function(){"use strict";function ft(){return window.GGBT_wsf_edit!==void 0}function ut(we,ke){ke!=1?(we.style.transformOrigin="0% 0% 0px",we.style.webkitTransformOrigin="0% 0% 0px",we.style.transform="scale("+ke+","+ke+")",we.style.webkitTransform="scale("+ke+","+ke+")",we.style.maxWidth="initial",we.querySelector(".ggb_preview")!==null&&(we.querySelector(".ggb_preview").style.maxWidth="initial"),we.querySelectorAll(".ggb_preview img")[0]!==void 0&&(we.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),we.querySelectorAll(".ggb_preview img")[1]!==void 0&&(we.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(we.style.transform="none",we.style.webkitTransform="none")}function ee(we,ke,ie,We,Me,Te){var ze=null;if(Te!=null&&Te!="")for(var Be=we.parentNode;Be!=null;)if((" "+Be.className+" ").indexOf(" "+Te+" ")>-1){ze=Be;break}else Be=Be.parentNode;var me=0,oe=0,a=0,y=0,b=0,E=0,z=0;if(ze)me=ze.offsetWidth,oe=Math.max(We?ze.offsetWidth:0,ze.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(me=Math.min(window.innerWidth,document.documentElement.clientWidth),oe=Math.min(window.innerHeight,document.documentElement.clientHeight),a=me):(me=window.innerWidth,oe=window.innerHeight,a=window.innerWidth),we){var te=we.getBoundingClientRect();te.left>0&&te.left<=me&&(Me===void 0||!Me)&&(document.dir==="rtl"?(b=me-te.width-te.left,E=a<=480?10:30):(E=te.left,b=a<=480?10:30),y=E+b)}if(we&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ne=we.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,z=40)}}return we&&((ie===void 0||!ie)&&ke>0&&ke+y<me?me=ke:me-=y,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ie===void 0||!ie)&&(oe-=z)),{width:me,height:oe}}function x(we,ke,ie,We,Me){if(we.isScreenshoGenerator)return 1;var Te=We!==void 0&&We,ze=we.noScaleMargin!=null&&we.noScaleMargin,Be=function(ne){return ne&&ne!=="false"},me=Be(we.autoHeight),oe=ee(ke,we.width,ie,me,Te&&window.GGBT_wsf_view||ze,Me),a=parseInt(oe.width),y=we.width,b=we.height;if(y===void 0){var E=ke.querySelector(".appletParameters");E&&(y=E.offsetWidth,b=E.offsetHeight)}var z=a/y,te=Te?1:oe.height/b;return ie!==void 0&&!ie&&(z=Math.min(1,z),te=Math.min(1,te)),Math.min(z,te)}function de(we,ke,ie){var We=1,Me,Te=!1;if(we.hasOwnProperty("allowUpscale")&&(Te=we.allowUpscale),we.hasOwnProperty("scale")&&(We=parseFloat(we.scale),(isNaN(We)||We===null||We===0)&&(We=1),We>1&&(Te=!0)),ke&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Te=!0),!(we.hasOwnProperty("disableAutoScale")&&we.disableAutoScale))Me=x(we,ke,Te,ie,we.scaleContainerClass);else return We;return Te&&(!we.hasOwnProperty("scale")||We===1)?Me:Math.min(We,Me)}function pe(we){var ke=Math.min(window.innerWidth,document.documentElement.clientWidth),ie=Math.min(window.innerHeight,document.documentElement.clientHeight),We=we.getBoundingClientRect(),Me=(ke-We.width)/2,Te=(ie-We.height)/2;Te<0&&(Te=0),we.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Me<40?we.style.left="40px":we.style.left=Me+"px",we.style.top=Te+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Te<40?we.style.top="40px":we.style.top=Te+"px",we.style.left=Me+"px")}function De(we,ke){var ie=we.querySelector(".appletParameters");if(ie){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ke.id!==ie.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(we)}if(ie.parentElement&&/fullscreen/.test(ie.parentElement.className))return;var We=de(ke,we);ft()&&ie.setAttribute("data-param-scale",We);for(var Me=null,Te=0;Te<we.childNodes.length;Te++)if(we.childNodes[Te].className!==void 0&&we.childNodes[Te].className.match(/^applet_scaler/)){Me=we.childNodes[Te];break}if(Me!==null&&Me.querySelector(".noscale")!==null)return;var ze=ke.id!==void 0?ke.id:"ggbApplet",Be=window[ze];(Be==null||!Be.recalculateEnvironments)&&Me!==null&&!Me.className.match(/fullscreen/)&&(Me.parentNode.style.transform="",!isNaN(We)&&We!==1?(Me.parentNode.style.width=ke.width*We+"px",Me.parentNode.style.height=ke.height*We+"px",ut(Me,We)):(ut(Me,1),Me.parentNode.style.width=ke.width+"px",Me.parentNode.style.height=ke.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&pe(we),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(ie).parents(".content-added-content"))}}return{responsiveResize:De,isFlexibleWorksheetEditor:ft,positionCenter:pe,getScale:de,scaleElement:ut}}();__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 ft=n.location.search;return ft.indexOf(J)!=-1||ft.indexOf(K)!=-1}function q(ft,ut){}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(ft){var ut=s[L].bindings;s[L].bindings=function(){for(var ee=ut?ut():{},x=ft[webModule.__softPermutationId],de=O;de<x.length;de++){var pe=x[de];ee[pe[O]]=pe[P]}return ee}};var t;function u(){return v(),t}function v(){if(!t){var ft=o.createElement(Q);if(ft.id=L,ft.style.cssText=R+S,ft.tabIndex=-1,o.body.appendChild(ft),t=ft.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var ut=document.compatMode==U?V:W;t.write(ut+X),t.close()}}}function w(ft){function ut(x){function de(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var pe=de();if(pe){x();return}function De(){if(!pe){if(!de())return;pe=!0,x(),o.removeEventListener&&o.removeEventListener(Z,De,!1),we&&clearInterval(we)}}o.addEventListener&&o.addEventListener(Z,De,!1);var we=setInterval(function(){De()},$)}function ee(x){var de=u(),pe=de.body,De=de.createElement(_);De.language=ab,De.crossOrigin=W,De.src=x,webModule.__errFn&&(De.onerror=function(){webModule.__errFn(L,new Error(bb+x))}),pe.appendChild(De)}ut(function(){ee(ft)})}webModule.__startLoadingFragment=function(ft){return C(ft)},webModule.__installRunAsyncCode=function(ft){var ut=u(),ee=ut.body,x=ut.createElement(_);x.language=ab,x.text=ft,ee.appendChild(x),ee.removeChild(x)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(ft){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ft){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ft){var ut=c[ft];return ut==null?null:ut},r=d,webModule.__errFn=e}function B(){function ft(we){var ke=we.lastIndexOf(rb);ke==-1&&(ke=we.length);var ie=we.indexOf(sb);ie==-1&&(ie=we.length);var We=we.lastIndexOf(tb,Math.min(ie,ke));return We>=O?we.substring(O,We+P):W}function ut(we){if(!we.match(/^\w+:\/\//)){var ke=o.createElement(ub);ke.src=we+vb,we=ft(ke.src)}return we}function ee(){var we=__gwt_getMetaProperty(wb);return we!=null?we:W}function x(){for(var we=o.getElementsByTagName(_),ke=O;ke<we.length;++ke)if(we[ke].src.indexOf(xb)!=-1)return ft(we[ke].src);return W}function de(){var we=o.getElementsByTagName(yb);return we.length>O?we[we.length-P].href:W}function pe(){var we=o.location;return we.href==we.protocol+zb+we.host+we.pathname+we.search+we.hash}var De=ee();return De==W&&(De=x()),De==W&&(De=de()),De==W&&pe()&&(De=ft(o.location.href)),De=ut(De),De}function C(ft){return ft.match(/^\//)||ft.match(/^[a-zA-Z]+:\/\//)?ft:webModule.__moduleBase+ft}function D(){var ft=[],ut=O,ee=[],x=[];function de(we){var ke=x[we](),ie=ee[we];if(ke in ie)return ke;var We=[];for(var Me in ie)We[ie[Me]]=Me;throw r&&r(we,We,ke),null}if(__gwt_isKnownPropertyValue=function(we,ke){return ke in ee[we]},webModule.__getPropMap=function(){var we={};for(var ke in ee)ee.hasOwnProperty(ke)&&(we[ke]=de(ke));return we},webModule.__computePropValue=de,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var pe;try{pe=Cb;var De=pe.indexOf(Db);De!=-1&&(ut=parseInt(pe.substring(De+P),$),pe=pe.substring(O,De))}catch(we){}return webModule.__softPermutationId=ut,C(pe+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})()},15476:function(ft,ut,ee){"use strict";ee.d(ut,{Ax:function(){return De},Ds:function(){return we},KI:function(){return ie},SI:function(){return pe},f1:function(){return de}});var x=ee(11320);function de(We){let Me=!0;if(We.length>0){for(let Te=0;Te<We.length;Te++)if(We[Te].compile_success==0||!We[Te].compile_success){Me=!1;break}}else Me=!1;return Me}function pe(We,Me=""){let Te=[];for(let ze=0;ze<We.length;ze++){let Be=We[ze],me=Me?`${Me}/${Be.name}`:`${Be.name}`;Te.push({title:Be.name,type:Be.type,isLeaf:Be.type!=="tree",key:me})}return Te}function De(We,Me,Te){for(let ze=0;ze<We.length;ze++){let Be=We[ze];if(Be.key===Me){Be.children=Te;break}Be.children&&De(Be.children,Me,Te)}return We}function we(We,Me,Te){let ze;return function(){let Be=this,me=arguments,oe=function(){ze=null,Te||We.apply(Be,me)},a=Te&&!ze;clearTimeout(ze),ze=setTimeout(oe,Me),a&&We.apply(Be,me)}}const ke=!0,ie=x.Z.API_SERVER},86169:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return z}});var x=ee(67294),de=ee(22150),pe=ee(2453),De=ee(14446),we=ee(34336),ke=ee(69677),ie=ee(9430),We=ee(71230),Me=ee(15746),Te=ee(27484),ze=ee.n(Te),Be=ee(28706),me=ee(35973),oe={tips:"tips___e8J4O",homeworkType:"homeworkType___ZjN2X",antdTable:"antdTable___amDdp",modalWrapper:"modalWrapper___XPojI"},a=ee(89779),y=ee(17998),b=(te,ne,re)=>new Promise((ae,le)=>{var he=be=>{try{Ce(re.next(be))}catch(ye){le(ye)}},ve=be=>{try{Ce(re.throw(be))}catch(ye){le(ye)}},Ce=be=>be.done?ae(be.value):Promise.resolve(be.value).then(he,ve);Ce((re=re.apply(te,ne)).next())});const E=({dispatch:te,courseEndTime:ne,classroomList:re,successCallback:ae=()=>{},visible:le,homeworkIds:he,courseId:ve,isBatch:Ce,shixunHomeworks:be})=>{const[ye]=de.default.useForm(),[Ae,Ne]=(0,x.useState)(!1),[Xe,Le]=(0,x.useState)(!1),[Ge,He]=(0,x.useState)(!1),[Ke,qe]=(0,x.useState)([]),[it,mt]=(0,x.useState)([]),[Yt,cn]=(0,x.useState)([]),[rt,Pt]=(0,x.useState)([]),[Lt,ct]=(0,x.useState)([]),[Ft,jt]=(0,x.useState)([]),[_e,En]=(0,x.useState)([]),[Fn,ha]=(0,x.useState)([]),[In,at]=(0,x.useState)([]);(0,x.useEffect)(()=>{le?lt():At()},[le]);const lt=()=>b(void 0,null,function*(){Ne(!0);const Et=yield(0,a.oR)(he[0],{course_id:ve});He(Et.no_group),Ce?(En(Et.all_course_groups),ha(Et.all_course_groups)):(Pt(Et.late_course_groups),ct(Et.late_course_groups),qe(Et.submit_course_groups),mt(Et.submit_course_groups)),Ne(!1),ye.setFieldsValue({end_time:ze()()})}),dt=()=>b(void 0,null,function*(){const Et=ye.getFieldsValue(),gt=ze()(Et.end_time).format("YYYY-MM-DD HH:mm");if((Ce?In.length===0:Yt.length===0&&Ft.length===0)&&!Ge){pe.ZP.warning("\u8BF7\u9009\u62E9\u9700\u8981\u64CD\u4F5C\u7684\u73ED\u7EA7");return}Le(!0);const Ot=yield(0,a.Mc)(ve,{no_group:Ge,homework_ids:he,group_ids:Ce?In:Yt,end_time:gt,late_group_ids:Ce?In:Ft});Le(!1),Ot.status===0&&(At(),pe.ZP.success("\u64CD\u4F5C\u6210\u529F"),ae(),te({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}))}),At=()=>{cn([]),jt([]),mt([]),ct([])};return x.createElement(De.default,{centered:!0,title:"\u7ACB\u5373\u622A\u6B62",className:oe.modalWrapper,width:Ce||Ge?520:760,open:le,confirmLoading:Xe,destroyOnClose:!0,okText:"\u622A\u6B62",cancelText:"\u53D6\u6D88",onOk:()=>dt(),onCancel:()=>{At(),te({type:"classroomList/setActionTabs",payload:{}})}},x.createElement("div",{className:oe.tips},x.createElement("div",null,"1\u3001\u622A\u6B62\u540E\u5B66\u751F\u4E0D\u80FD\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"),x.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")),x.createElement(de.default,{form:ye,layout:"vertical"},x.createElement(de.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},x.createElement(we.default,{style:{width:"100%"},disabledDate:Et=>(0,y.Q8)(Et,ne),disabledTime:Et=>(0,y.d0)(Et),placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ze()((0,Be.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),!Ge&&x.createElement(x.Fragment,null,Ce?x.createElement("div",null,x.createElement(ke.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:Et=>{ha(_e.filter(gt=>gt.name.indexOf(Et.target.value)>-1))}}),x.createElement(ie.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},className:oe.antdTable,rowSelection:{type:"checkbox",onChange:Et=>{at(Et)}},rowKey:"id",pagination:!1,dataSource:Fn,loading:Ae,columns:[{title:"\u73ED\u7EA7",dataIndex:"name"}]})):x.createElement(We.Z,{gutter:24},x.createElement(Me.Z,{span:14},x.createElement("div",{className:oe.homeworkType},"\u4F5C\u4E1A\u622A\u6B62"),x.createElement(ke.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:Et=>{mt(Ke.filter(gt=>gt.name.indexOf(Et.target.value)>-1))}}),x.createElement("div",{className:oe.tableWrapper},x.createElement(ie.default,{style:{marginTop:"10px",height:"260px",overflow:"auto"},className:oe.antdTable,rowSelection:{type:"checkbox",onChange:Et=>{cn(Et)}},rowKey:"id",pagination:!1,dataSource:it,loading:Ae,columns:[{title:"\u73ED\u7EA7",dataIndex:"name",ellipsis:!0},{title:"\u53D1\u5E03\u65F6\u95F4",dataIndex:"publish_time"},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"end_time"}]}))),x.createElement(Me.Z,{flex:10,style:{maxWidth:"280px"}},x.createElement("div",{className:oe.homeworkType},"\u8865\u4EA4\u622A\u6B62"),x.createElement(ke.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:Et=>{ct(rt.filter(gt=>gt.name.indexOf(Et.target.value)>-1))}}),x.createElement("div",{className:oe.tableWrapper},x.createElement(ie.default,{style:{marginTop:"10px",height:"260px",overflow:"auto",maxWidth:"280px"},className:oe.antdTable,rowSelection:{type:"checkbox",onChange:Et=>{jt(Et)}},rowKey:"id",pagination:!1,loading:Ae,dataSource:Lt,columns:[{title:"\u73ED\u7EA7",dataIndex:"name",ellipsis:!0,width:120},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"late_time"}]}))))))};var z=(0,me.connect)(({shixunHomeworks:te,classroomList:ne})=>({shixunHomeworks:te,classroomList:ne}))(E)},63205:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return ze}});var x=ee(67294),de={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},pe=ee(94184),De=ee.n(pe),we=ee(57953),ke=ee(15979),ie=ee(33170),We=ee(28706),Me=(Be,me,oe)=>new Promise((a,y)=>{var b=te=>{try{z(oe.next(te))}catch(ne){y(ne)}},E=te=>{try{z(oe.throw(te))}catch(ne){y(ne)}},z=te=>te.done?a(te.value):Promise.resolve(te.value).then(b,E);z((oe=oe.apply(Be,me)).next())}),ze=({data:Be,className:me,fullWidth:oe,style:a={},onClose:y,onOk:b,showFullTools:E,noAssociationId:z})=>{const te=(0,x.useRef)(null),ne=(0,x.useRef)(null),re=(0,x.useRef)(null),ae=(0,x.useRef)(null),[le,he]=(0,x.useState)(!1),[ve,Ce]=(0,x.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,x.useEffect)(()=>{re.current||(re.current=document.createElement("style"),document.head.appendChild(re.current)),Be!=null&&Be.visible?(document.body.setAttribute("data-custom","y-hidden"),re.current.innerHTML=" html { overflow-y: hidden; }",Be!=null&&Be.src&&be()):(document.body.removeAttribute("data-custom"),re.current&&(document.head.removeChild(re.current),re.current=null))},[Be==null?void 0:Be.visible]);const be=()=>Me(void 0,null,function*(){he(!0),Ce("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Le=yield(0,We.ZJ)(Be==null?void 0:Be.src);te.current.src="",te.current.src=Le,te.current.onload=function(){Xe()},he(!1),Ce("")}),ye=()=>{document.body.removeAttribute("data-custom"),re.current.innerHTML=" ",y()},Ae=Le=>Me(void 0,null,function*(){he(!0),Ce("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Ge=yield(0,ie.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Be.title,file:Le.dataUrl}});Ge!=null&&Ge.id&&!z?(yield(0,ie.ZP)(`/api/attachments/${Be.id}/add_subitem.json`,{method:"post",body:{subitem_id:Ge==null?void 0:Ge.id,settings:JSON.stringify(Le.state)}})).status===0&&b():Ge!=null&&Ge.id&&b(Ge),document.body.removeAttribute("data-custom"),re.current.innerHTML=" ",he(!1),Ce("")}),Ne=()=>{const Le=document.querySelector('a[href="https://markerjs.com/"]');Le&&Le.parentNode&&(Le.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(He=>{const Ke=document.querySelector(He.name);Ke&&Ke.setAttribute("title",He.title)})},Xe=()=>{ne.current=new ke.hP(te.current),ne.current.targetRoot=ae.current,ne.current.addEventListener("render",Ae),ne.current.addEventListener("beforeclose",ye),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(),Be!=null&&Be.snapshotData&&ne.current.restoreState(Be.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ne()},300)};return x.createElement(x.Fragment,null,(Be==null?void 0:Be.visible)&&x.createElement(we.Z,{spinning:le,tip:ve,style:{position:"absolute"}},x.createElement("div",{ref:ae,className:De()(de.imageDimensions,me,oe?de.fullWidth:""),style:a},x.createElement("img",{className:de.img,ref:te}))))}},36527:function(ft,ut,ee){"use strict";var x=ee(67294),de=ee(71230),pe=ee(15746),De=ee(66368),we=ee(71577),ke=ee(85725),ie=ee(71736),We=ee(84279),Me=ee(67294);const Te=(0,x.forwardRef)(({callback:ze,showSaveButton:Be,value:me=""},oe)=>{const a=(0,x.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+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Me.createElement(de.Z,{className:ie.Z.lists,gutter:[10,10]},y.map((ne,re)=>Me.createElement(pe.Z,{flex:"110px",className:ie.Z.item},Me.createElement("div",null,Me.createElement(ke.Z,{value:`$$${ne.value}$$`}),ne.name),Me.createElement("div",{className:ie.Z.children},ne.children.map((ae,le)=>Me.createElement("div",{key:le},Me.createElement("h1",null,ae.name),Me.createElement(de.Z,{gutter:[10,10]},ae.data.map((he,ve)=>Me.createElement(pe.Z,{key:ve,onClick:()=>E(he),className:ie.Z.diamond},Me.createElement(ke.Z,{value:"`$$"+he.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Me.createElement(de.Z,{className:ie.Z.lists,gutter:[10,10]},b.map((ne,re)=>Me.createElement(pe.Z,{flex:"110px",className:ie.Z.item},Me.createElement("div",null,Me.createElement(ke.Z,{value:"`$$"+ne.value+"$$`"}),ne.name),Me.createElement("div",{className:ie.Z.children},ne.children.map((ae,le)=>Me.createElement("div",{key:le},ae.name&&Me.createElement("h1",null,ae.name),Me.createElement(de.Z,{gutter:[10,10]},ae.data.map((he,ve)=>Me.createElement(pe.Z,{key:ve,onClick:()=>E(he),className:ie.Z.diamond},Me.createElement(ke.Z,{value:"`$$"+he.value+"$$`"}))))))))))}],te=()=>{var ne=document.createElement("div");ne.innerHTML=a.current.getValue();var re=ne.innerText;return ze&&ze(re),re};return(0,x.useImperativeHandle)(oe,()=>({getData:te})),Me.createElement("div",{className:ie.Z.mathWrap},Me.createElement(De.default,{defaultActiveKey:"1",items:z}),Me.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}},me||""),Be&&Me.createElement("div",{className:ie.Z.button},Me.createElement(we.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});ut.Z=Te},39717:function(ft,ut,ee){"use strict";ee.d(ut,{Q:function(){return ke}});var x=ee(67294),de=ee(11713),pe=ee(78045),De=ee(31795),we=ee(67294),ke=(We=>(We[We.Number=1]="Number",We[We.Percent=2]="Percent",We))(ke||{});const ie=({value:We,onChange:Me,disabled:Te,hidePercentOption:ze=!1,percentType:Be="select"})=>{const me=(0,x.useMemo)(()=>ze?1:2,[ze]),[oe,a]=(0,x.useState)(me);console.log(oe);const y=E=>We.type===1?`${E}\u5206`:`${E}%`,b=(0,x.useCallback)(E=>{if(oe===1){const z=E.replace("\u5206","");return isNaN(parseInt(z,10))?0:z}else return E.replace("%","")},[oe]);return(0,x.useEffect)(()=>{a(We.type)},[We]),we.createElement("div",{style:{display:"flex",alignItems:"center"}},Be=="select"&&we.createElement(de.default,{size:"large",onChange:E=>{a(E),Me({type:E,inputValue:E===1?5:20})},value:oe||me,style:{width:100},options:ze?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:Te}),Be=="radio"&&we.createElement(pe.ZP.Group,{size:"large",onChange:E=>{const z=E.target.value;a(z),Me({type:z,inputValue:z===1?5:20})},value:oe||me,disabled:Te},!ze&&we.createElement(pe.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),we.createElement(pe.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),Be=="radio"&&we.createElement("div",{style:{marginRight:"10px",color:"#000000"}},We.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),we.createElement(De.Z,{size:"large",disabled:Te,value:We.inputValue,style:{width:"120px"},parser:b,addonAfter:We.type===1?"\u5206":"%",max:oe===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:E=>{Me({type:oe,inputValue:E})}}),Be=="radio"&&We.type==2&&we.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};ut.Z=ie},96332:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return We}});var x=ee(67294),de={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"},pe=ee(14446),De="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",we="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",ke=(Me,Te,ze)=>new Promise((Be,me)=>{var oe=b=>{try{y(ze.next(b))}catch(E){me(E)}},a=b=>{try{y(ze.throw(b))}catch(E){me(E)}},y=b=>b.done?Be(b.value):Promise.resolve(b.value).then(oe,a);y((ze=ze.apply(Me,Te)).next())}),We=({type:Me,resdata:Te,onok:ze,oktext:Be,okloading:me})=>{const[oe,a]=(0,x.useState)(!1),{can_copy_list:y,can_copy_num:b,challenge_type:E,course_data_list:z,no_copy_list:te,no_copy_num:ne,no_use_list:re,no_use_num:ae,repeat_shixun_num:le,student_count:he,total_num:ve,use_num:Ce}=Te;let be=b>0||Me==="exercise";(0,x.useEffect)(()=>{(Te==null?void 0:Te.student_count)>0&&a(!0)},[Te]),console.log("---11",me),(0,x.useEffect)(()=>{me||a(!1)},[me]);const ye=()=>{if(Me==="exercise"&&E===1)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:de.orangeColor},he),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",x.createElement("span",{className:de.orangeColor},Ce),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",x.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(Me==="exercise"&&E===2)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:de.orangeColor},he),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",x.createElement("span",{className:de.orangeColor},Ce),"\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",x.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Me==="shixun"&&E===1)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:de.orangeColor},he),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",x.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Me==="shixun"&&E===2)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:de.orangeColor},he),"\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",x.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Me==="subject"&&E===1)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:de.orangeColor},he),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",x.createElement("span",{className:de.orangeColor},Ce),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",x.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Me==="subject"&&E===2)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",x.createElement("span",{className:de.orangeColor},he)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",x.createElement("span",{className:de.orangeColor},Ce)," \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",x.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Me==="exercisepush")return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:de.orangeColor},he),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",x.createElement("span",{className:de.orangeColor},Ce),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",x.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(Me==="shixunpush"&&E===1)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:de.orangeColor},he),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",x.createElement("span",{className:de.orangeColor},Ce),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",x.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Me==="shixunpush"&&E===2)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:de.orangeColor},he),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",x.createElement("span",{className:de.orangeColor},Ce),"\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",x.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Ae=()=>{if(Me==="exercise"||Me==="subject"||Me==="exercisepush"||Me==="shixunpush")return x.createElement("div",{style:{marginTop:20}},ne>0&&x.createElement("div",null,x.createElement("span",{className:de.flex},x.createElement("img",{src:we,style:{width:14}}),x.createElement("span",{className:de.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),x.createElement("div",{className:de.statusbody},Me==="exercise"&&x.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",x.createElement("span",{className:de.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(Me==="subject"||Me==="exercisepush")&&x.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",be&&x.createElement("span",{className:de.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),Me==="shixunpush"&&x.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",be&&x.createElement("span",{className:de.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"),x.createElement("div",null,te==null?void 0:te.map((Ne,Xe)=>x.createElement("a",{href:`/shixuns/${Ne.identifier}/challenges`,target:"_blank"},"\u300A",Ne==null?void 0:Ne.name,"\u300B",Xe+1!==ne&&"\u3001"))))),b>0&&x.createElement("div",{style:{marginTop:20}},x.createElement("span",{className:de.flex},x.createElement("img",{src:De,style:{width:14}}),x.createElement("span",{className:de.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),x.createElement("div",{className:de.statusbody},Me==="exercise"&&x.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(Me==="subject"||Me==="exercisepush")&&x.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),Me==="shixunpush"&&x.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"),x.createElement("div",null,y==null?void 0:y.map((Ne,Xe)=>x.createElement("a",{href:`/shixuns/${Ne.identifier}/challenges`,target:"_blank"},"\u300A",Ne==null?void 0:Ne.name,"\u300B",Xe+1!==b&&"\u3001"))))));if(Me==="shixun")return x.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 x.createElement(pe.default,{open:oe,onCancel:()=>{a(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!be&&"none"}},zIndex:1003,confirmLoading:me,okText:be?Be:"\u6211\u77E5\u9053\u4E86",onOk:()=>ke(void 0,null,function*(){be?yield ze([...y,...re]):a(!1)})},x.createElement("div",{style:{maxHeight:600,overflow:"auto"}},ye(),Ae()))}},57444:function(ft,ut,ee){"use strict";ee.d(ut,{h:function(){return ne}});var x=ee(67294),de=ee(11713),pe=ee(22150),De=ee(71577),we=ee(4631),ke=ee.n(we),ie=ee(71749),We=ee(30483),Me=Object.defineProperty,Te=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,Be=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,a=(re,ae,le)=>ae in re?Me(re,ae,{enumerable:!0,configurable:!0,writable:!0,value:le}):re[ae]=le,y=(re,ae)=>{for(var le in ae||(ae={}))me.call(ae,le)&&a(re,le,ae[le]);if(Be)for(var le of Be(ae))oe.call(ae,le)&&a(re,le,ae[le]);return re},b=(re,ae)=>Te(re,ze(ae));const E=de.default.Option,z={labelCol:{span:4},wrapperCol:{span:20}},te={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};ut.Z=({callback:re,onCancel:ae})=>{const[le,he]=(0,x.useState)("python");function ve(be){he(te[be][1])}function Ce(be){re(be)}return x.createElement(pe.default,b(y({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ce,style:{width:500}}),x.createElement(pe.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},x.createElement(de.default,{getPopupContainer:be=>be.parentNode,onChange:ve},Object.keys(te).map(be=>x.createElement(E,{key:be,value:be},te[be][0])))),x.createElement(pe.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},x.createElement(ne,{mode:le})),x.createElement("div",{className:"flex-container flex-end"},x.createElement(De.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(De.ZP,{type:"ghost",onClick:ae},"\u53D6\u6D88")))};function ne({value:re,onChange:ae,mode:le,options:he={}}){const ve=(0,x.useRef)(),[Ce,be]=(0,x.useState)();return(0,x.useEffect)(()=>{if(Ce){let ye=function(Ae){const Ne=Ae.getValue();ae&&ae(Ne)};return Ce.on("change",ye),()=>{Ce.off("change",ye)}}},[Ce,ae]),(0,x.useEffect)(()=>{Ce&&Ce.setOption("mode",le)},[Ce,le]),(0,x.useEffect)(()=>{Ce&&(re!==Ce.getValue()||re==="")&&setTimeout(()=>{Ce.setValue(re||"")},300)},[Ce,re]),(0,x.useEffect)(()=>{if(ve.current&&!Ce){const ye=ke().fromTextArea(ve.current,y({mode:le,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},he));be(ye)}},[ve.current,Ce]),x.createElement("div",{className:"my-codemirror-container"},x.createElement("textarea",{ref:ve}))}},35567:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return La}});var x=ee(67294),de=ee(4631),pe=ee.n(de),De=ee(91033),we=ee(71749),ke=ee(57341),ie=ee(82801),We=ee(88386),Me=ee(49047),Te=ee(80785),ze=ee(85725),Be=({value:Je="",className:Bt,showTextOnly:xt,showLines:Tn,style:pn={}})=>{const _n=(0,x.useMemo)(()=>"",[Je]);return x.createElement(x.Fragment,null,x.createElement("div",{dangerouslySetInnerHTML:{__html:_n}}))},me=ee(67294),oe=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(Je,Bt,xt)=>Bt in Je?oe(Je,Bt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):Je[Bt]=xt,ne=(Je,Bt)=>{for(var xt in Bt||(Bt={}))E.call(Bt,xt)&&te(Je,xt,Bt[xt]);if(b)for(var xt of b(Bt))z.call(Bt,xt)&&te(Je,xt,Bt[xt]);return Je},re=(Je,Bt)=>a(Je,y(Bt));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 le({onActionCallback:Je,title:Bt,icon:xt,actionName:Tn,className:pn="",children:_n}){function Xr(){Je(Tn)}return me.createElement("a",{title:Bt,className:pn,onClick:Xr},me.createElement("i",{className:`${xt}`}),_n)}var he=({watch:Je,showNullButton:Bt,showNullProgramButton:xt,onActionCallback:Tn,fullScreen:pn,insertTemp:_n,hidetoolBar:Xr,extraUse:Ta})=>{const Cr=[...ae,{title:`${Je?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Je?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return me.createElement("ul",{className:"markdown-toolbar-container"},!Xr&&Cr.map((Yr,co)=>me.createElement("li",{key:co},Yr.actionName?me.createElement(le,re(ne({},Yr),{onActionCallback:Tn})):me.createElement("span",{className:"v-line"}))),Bt?me.createElement("li",null,me.createElement(le,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Tn},me.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,xt?me.createElement(me.Fragment,null,me.createElement("li",null,me.createElement(le,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Tn},me.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),me.createElement("li",null,me.createElement(le,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Tn},me.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,_n&&me.createElement("li",null,me.createElement(le,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${_n}`,onActionCallback:Tn},me.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Ta&&me.createElement("li",null,Ta),me.createElement("li",{className:"btn-full-screen"},me.createElement(le,{icon:`${pn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:pn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Tn})))},ve=ee(76621),Ce=ee(22150),be=ee(69677),ye=ee(71577),Ae=Object.defineProperty,Ne=Object.defineProperties,Xe=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,Ke=(Je,Bt,xt)=>Bt in Je?Ae(Je,Bt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):Je[Bt]=xt,qe=(Je,Bt)=>{for(var xt in Bt||(Bt={}))Ge.call(Bt,xt)&&Ke(Je,xt,Bt[xt]);if(Le)for(var xt of Le(Bt))He.call(Bt,xt)&&Ke(Je,xt,Bt[xt]);return Je},it=(Je,Bt)=>Ne(Je,Xe(Bt));const mt={labelCol:{span:4},wrapperCol:{span:20}};var Yt=({callback:Je,onCancel:Bt})=>{function xt(Tn){Je(Tn)}return x.createElement(Ce.default,it(qe({},mt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:xt,style:{width:500}}),x.createElement(Ce.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},x.createElement(be.default,null)),x.createElement(Ce.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},x.createElement(be.default,null)),x.createElement("div",{className:"flex-container flex-end"},x.createElement(ye.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(ye.ZP,{type:"ghost",onClick:Bt},"\u53D6\u6D88")))},cn=ee(57444),rt=ee(70859),Pt=ee(14446),Lt=ee(71230),ct=ee(63205),Ft=ee(67294),jt=({callback:Je,onCancel:Bt})=>{const xt=document.createElement("canvas"),Tn=xt.getContext("2d");xt.width=1e3,xt.height=800,Tn.fillStyle="#ffffff",Tn.fillRect(0,0,xt.width,xt.height);const pn=xt.toDataURL("image/png");return Ft.createElement(Pt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Ft.createElement(Lt.Z,{style:{height:"100vh"}},Ft.createElement(ct.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:pn,visible:!0,title:String(Date.now())},onOk:_n=>{Je({src:_n.url})},onClose:Bt})))},_e=ee(23495);function En(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(En,go.CommandHandler),En.prototype.canAlignSelection=function(){var Je=this.diagram;return!(Je===null||Je.isReadOnly||Je.isModelReadOnly||Je.selection.count<2)},En.prototype.alignLeft=function(){var Je=this.diagram;Je.startTransaction("aligning left");var Bt=1/0;Je.selection.each(function(xt){xt instanceof go.Link||(Bt=Math.min(xt.position.x,Bt))}),Je.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(Bt,xt.position.y))}),Je.commitTransaction("aligning left")},En.prototype.alignRight=function(){var Je=this.diagram;Je.startTransaction("aligning right");var Bt=-1/0;Je.selection.each(function(xt){if(!(xt instanceof go.Link)){var Tn=xt.actualBounds.x+xt.actualBounds.width;Bt=Math.max(Tn,Bt)}}),Je.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(Bt-xt.actualBounds.width,xt.position.y))}),Je.commitTransaction("aligning right")},En.prototype.alignTop=function(){var Je=this.diagram;Je.startTransaction("alignTop");var Bt=1/0;Je.selection.each(function(xt){xt instanceof go.Link||(Bt=Math.min(xt.position.y,Bt))}),Je.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(xt.position.x,Bt))}),Je.commitTransaction("alignTop")},En.prototype.alignBottom=function(){var Je=this.diagram;Je.startTransaction("aligning bottom");var Bt=-1/0;Je.selection.each(function(xt){if(!(xt instanceof go.Link)){var Tn=xt.actualBounds.y+xt.actualBounds.height;Bt=Math.max(Tn,Bt)}}),Je.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(xt.actualBounds.x,Bt-xt.actualBounds.height))}),Je.commitTransaction("aligning bottom")},En.prototype.alignCenterX=function(){var Je=this.diagram,Bt=Je.selection.first();if(Bt){Je.startTransaction("aligning Center X");var xt=Bt.actualBounds.x+Bt.actualBounds.width/2;Je.selection.each(function(Tn){Tn instanceof go.Link||Tn.move(new go.Point(xt-Tn.actualBounds.width/2,Tn.actualBounds.y))}),Je.commitTransaction("aligning Center X")}},En.prototype.alignCenterY=function(){var Je=this.diagram,Bt=Je.selection.first();if(Bt){Je.startTransaction("aligning Center Y");var xt=Bt.actualBounds.y+Bt.actualBounds.height/2;Je.selection.each(function(Tn){Tn instanceof go.Link||Tn.move(new go.Point(Tn.actualBounds.x,xt-Tn.actualBounds.height/2))}),Je.commitTransaction("aligning Center Y")}},En.prototype.alignColumn=function(Je){var Bt=this.diagram;Bt.startTransaction("align Column"),Je===void 0&&(Je=0),Je=parseFloat(Je);var xt=new Array;Bt.selection.each(function(Ta){Ta instanceof go.Link||xt.push(Ta)});for(var Tn=0;Tn<xt.length-1;Tn++){var pn=xt[Tn],_n=pn.actualBounds.y+pn.actualBounds.height+Je,Xr=xt[Tn+1];Xr.move(new go.Point(pn.actualBounds.x,_n))}Bt.commitTransaction("align Column")},En.prototype.alignRow=function(Je){Je===void 0&&(Je=0),Je=parseFloat(Je);var Bt=this.diagram;Bt.startTransaction("align Row");var xt=new Array;Bt.selection.each(function(Ta){Ta instanceof go.Link||xt.push(Ta)});for(var Tn=0;Tn<xt.length-1;Tn++){var pn=xt[Tn],_n=pn.actualBounds.x+pn.actualBounds.width+Je,Xr=xt[Tn+1];Xr.move(new go.Point(_n,pn.actualBounds.y))}Bt.commitTransaction("align Row")},En.prototype.canRotate=function(Je){var Bt=this.diagram;return!(Bt===null||Bt.isReadOnly||Bt.isModelReadOnly||Bt.selection.count<1)},En.prototype.rotate=function(Je){Je===void 0&&(Je=90);var Bt=this.diagram;Bt.startTransaction("rotate "+Je.toString());var Bt=this.diagram;Bt.selection.each(function(xt){xt instanceof go.Link||xt instanceof go.Group||(xt.angle+=Je)}),Bt.commitTransaction("rotate "+Je.toString())},En.prototype.pullToFront=function(){var Je=this.diagram;Je.startTransaction("pullToFront");var Bt=new go.Map;Je.selection.each(function(xt){Bt.set(xt.layer,0)}),Bt.iteratorKeys.each(function(xt){var Tn=0;xt.parts.each(function(pn){if(!pn.isSelected){var _n=pn.zOrder;isNaN(_n)?pn.zOrder=0:Tn=Math.max(Tn,_n)}}),Bt.set(xt,Tn)}),Je.selection.each(function(xt){En._assignZOrder(xt,Bt.get(xt.layer)+1)}),Je.commitTransaction("pullToFront")},En.prototype.pushToBack=function(){var Je=this.diagram;Je.startTransaction("pushToBack");var Bt=new go.Map;Je.selection.each(function(xt){Bt.set(xt.layer,0)}),Bt.iteratorKeys.each(function(xt){var Tn=0;xt.parts.each(function(pn){if(!pn.isSelected){var _n=pn.zOrder;isNaN(_n)?pn.zOrder=0:Tn=Math.min(Tn,_n)}}),Bt.set(xt,Tn)}),Je.selection.each(function(xt){En._assignZOrder(xt,Bt.get(xt.layer)-1-En._findGroupDepth(xt))}),Je.commitTransaction("pushToBack")},En._assignZOrder=function(Je,Bt,xt){xt===void 0&&(xt=Je),Je.layer===xt.layer&&(Je.zOrder=Bt),Je instanceof go.Group&&Je.memberParts.each(function(Tn){En._assignZOrder(Tn,Bt+1,xt)})},En._findGroupDepth=function(Je){if(Je instanceof go.Group){var Bt=0;return Je.memberParts.each(function(xt){Bt=Math.max(Bt,En._findGroupDepth(xt))}),Bt+1}else return 0},En.prototype.doKeyDown=function(){var Je=this.diagram;if(Je!==null){var Bt=Je.lastInput;if(Bt.key==="Up"||Bt.key==="Down"||Bt.key==="Left"||Bt.key==="Right"){var xt=this.arrowKeyBehavior;if(xt==="none")return;if(xt==="select"){this._arrowKeySelect();return}else if(xt==="move"){this._arrowKeyMove();return}else if(xt==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},En.prototype._getAllParts=function(){var Je=new Array;return this.diagram.nodes.each(function(Bt){Je.push(Bt)}),this.diagram.parts.each(function(Bt){Je.push(Bt)}),Je},En.prototype._arrowKeyMove=function(){var Je=this.diagram,Bt=Je.lastInput,xt=0,Tn=0;if(Bt.control||Bt.meta)xt=1,Tn=1;else if(Je.grid!==null){var pn=Je.grid.gridCellSize;Tn=pn.width,xt=pn.height}Je.startTransaction("arrowKeyMove"),Je.selection.each(function(_n){Bt.key==="Up"?_n.move(new go.Point(_n.actualBounds.x,_n.actualBounds.y-xt)):Bt.key==="Down"?_n.move(new go.Point(_n.actualBounds.x,_n.actualBounds.y+xt)):Bt.key==="Left"?_n.move(new go.Point(_n.actualBounds.x-Tn,_n.actualBounds.y)):Bt.key==="Right"&&_n.move(new go.Point(_n.actualBounds.x+Tn,_n.actualBounds.y))}),Je.commitTransaction("arrowKeyMove")},En.prototype._arrowKeySelect=function(){var Je=this.diagram,Bt=Je.lastInput,xt=null;Bt.key==="Up"?xt=this._findNearestPartTowards(270):Bt.key==="Down"?xt=this._findNearestPartTowards(90):Bt.key==="Left"?xt=this._findNearestPartTowards(180):Bt.key==="Right"&&(xt=this._findNearestPartTowards(0)),xt!==null&&(Bt.shift?xt.isSelected=!0:Bt.control||Bt.meta?xt.isSelected=!xt.isSelected:Je.select(xt))},En.prototype._findNearestPartTowards=function(Je){var Bt=this.diagram.selection.first();if(Bt===null)return null;for(var xt=Bt.actualBounds.center,Tn=this._getAllParts(),pn=1/0,_n=Bt,Xr=0;Xr<Tn.length;Xr++){var Ta=Tn[Xr];if(Ta!==Bt&&Ta.canSelect()){var Cr=Ta.actualBounds.center,Yr=xt.directionPoint(Cr),co=this._angleCloseness(Yr,Je);if(co<=45){var Xn=xt.distanceSquaredPoint(Cr);Xn*=1+Math.sin(co*Math.PI/180),Xn<pn&&(pn=Xn,_n=Ta)}}}return _n},En.prototype._angleCloseness=function(Je,Bt){return Math.min(Math.abs(Bt-Je),Math.min(Math.abs(Bt+360-Je),Math.abs(Bt-360-Je)))},En.prototype._arrowKeyTree=function(){var Je=this.diagram,Bt=Je.selection.first();if(Bt instanceof go.Node){var xt=Je.lastInput;if(xt.key==="Right"){if(!Bt.isTreeLeaf)if(!Bt.isTreeExpanded)Je.commandHandler.canExpandTree(Bt)&&Je.commandHandler.expandTree(Bt);else{var Tn=this._sortTreeChildrenByY(Bt).first();Tn!==null&&Je.select(Tn)}}else if(xt.key==="Left")if(!Bt.isTreeLeaf&&Bt.isTreeExpanded)Je.commandHandler.canCollapseTree(Bt)&&Je.commandHandler.collapseTree(Bt);else{var pn=Bt.findTreeParentNode();pn!==null&&Je.select(pn)}else if(xt.key==="Up"){var pn=Bt.findTreeParentNode();if(pn!==null){var _n=this._sortTreeChildrenByY(pn),Xr=_n.indexOf(Bt);if(Xr>0){for(var Ta=_n.elt(Xr-1);Ta!==null&&Ta.isTreeExpanded&&!Ta.isTreeLeaf;){var Cr=this._sortTreeChildrenByY(Ta);Ta=Cr.last()}Ta!==null&&Je.select(Ta)}else Je.select(pn)}}else if(xt.key==="Down")if(Bt.isTreeExpanded&&!Bt.isTreeLeaf){var Tn=this._sortTreeChildrenByY(Bt).first();Tn!==null&&Je.select(Tn)}else for(;Bt!==null;){var pn=Bt.findTreeParentNode();if(pn===null)break;var _n=this._sortTreeChildrenByY(pn),Xr=_n.indexOf(Bt);if(Xr<_n.length-1){Je.select(_n.elt(Xr+1));break}else Bt=pn}var Yr=Je.selection.first();Yr!==null&&Je.scrollToRect(Yr.actualBounds)}},En.prototype._sortTreeChildrenByY=function(Je){var Bt=new go.List().addAll(Je.findTreeChildrenNodes());return Bt.sort(function(xt,Tn){var pn=xt.location,_n=Tn.location;return pn.y<_n.y?-1:pn.y>_n.y?1:pn.x<_n.x?-1:pn.x>_n.x?1:0}),Bt},En.prototype.copyToClipboard=function(Je){go.CommandHandler.prototype.copyToClipboard.call(this,Je),this._lastPasteOffset.set(this.pasteOffset)},En.prototype.pasteFromClipboard=function(){var Je=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Je,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Je},Object.defineProperty(En.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Je){if(Je!=="move"&&Je!=="select"&&Je!=="scroll"&&Je!=="tree"&&Je!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Je);this._arrowKeyBehavior=Je}}),Object.defineProperty(En.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Je){if(!(Je instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Je);this._pasteOffset.set(Je)}});var Fn=En,ha=ee(18023),In=ee(15746),at=ee(33170),lt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},dt=ee(67294),At=(Je,Bt,xt)=>new Promise((Tn,pn)=>{var _n=Cr=>{try{Ta(xt.next(Cr))}catch(Yr){pn(Yr)}},Xr=Cr=>{try{Ta(xt.throw(Cr))}catch(Yr){pn(Yr)}},Ta=Cr=>Cr.done?Tn(Cr.value):Promise.resolve(Cr.value).then(_n,Xr);Ta((xt=xt.apply(Je,Bt)).next())});function Et({onCancel:Je,callback:Bt}){let xt=(0,x.useRef)(),Tn=(0,x.useRef)(),pn=(0,x.useRef)(),_n=(0,x.useRef)(!1);const Xr=(0,x.useRef)(!1),[Ta,Cr]=(0,x.useState)(0);function Yr(){const Xn=_e.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"};xt.current=new _e.S0(Tn.current,{padding:20,grid:Xn(_e.s_,"Grid",Xn(_e.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Xn(_e.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:ua=>{var Ra=ua.diagram.commandHandler.addTopLevelParts(ua.diagram.selection,!0);Ra||ua.diagram.currentTool.doCancel()},commandHandler:Xn(Fn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:ua=>{var Ra=ua.subject;Ra.location=Ra.location.copy().snapToGridPoint(ua.diagram.grid.gridOrigin,ua.diagram.grid.gridCellSize),setTimeout(()=>{ua.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:ua=>{var Ra=ua.subject;setTimeout(()=>{ua.diagram.commandHandler.editTextBlock()})},LinkRelinked:ua=>{var Ra=ua.parameter.part;Ra.invalidateConnectedLinks();var mr=ua.subject;ua.diagram.toolManager.linkingTool.isForwards?mr.toNode.invalidateConnectedLinks():mr.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),xt.current.nodeTemplate=Xn(_e.NB,"Auto",{locationSpot:_e.z6.Center,locationObjectName:"SHAPE",desiredSize:new _e.$u(120,60),minSize:new _e.$u(40,40),resizable:!0,resizeCellSize:new _e.$u(10,10),rotatable:!0},new _e.KX("location","loc",_e.E9.parse).makeTwoWay(_e.E9.stringify),new _e.KX("desiredSize","size",_e.$u.parse).makeTwoWay(_e.$u.stringify),Xn(_e.bn,{name:"SHAPE",fill:ur.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:_e.z6.AllSides,toSpot:_e.z6.AllSides},new _e.KX("figure"),new _e.KX("fill"),new _e.KX("stroke","borderColor"),new _e.KX("strokeWidth","thickness"),new _e.KX("strokeDashArray","dash")),Xn(_e.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Xn(_e.al,{margin:1,textAlign:"center",overflow:_e.al.OverflowEllipsis,editable:!0},new _e.KX("text").makeTwoWay(),new _e.KX("stroke","color"))),xt.current.nodeTemplate.toolTip=Xn("ToolTip",Xn(_e.s_,"Vertical",{maxSize:new _e.$u(200,NaN)},Xn(_e.al,{font:"bold 10pt sans-serif",textAlign:"center"},new _e.KX("text")),Xn(_e.al,{font:"10pt sans-serif",textAlign:"center"},new _e.KX("text","details"))));function pt(ua,Ra){var mr=(Yn,$r)=>{Yn.handled=!0,Yn.diagram.model.commit(Or=>{var Wo=$r.part.adornedPart,Fo=new _e.E9().setRectSpot(Wo.actualBounds,ua);Fo.subtract(Wo.location),Fo.scale(2,2),Fo.x+=Math.sign(Fo.x)*130,Fo.y+=Math.sign(Fo.y)*130,Fo.add(Wo.location),Fo.snapToGridPoint(Yn.diagram.grid.gridOrigin,Yn.diagram.grid.gridCellSize);var ko=Or.copyNodeData(Wo.data);Or.setGroupKeyForNodeData(ko,Or.getGroupKeyForNodeData(Wo.data)),Or.addNodeData(ko);var Gi={from:Wo.key,to:Or.getKeyForNodeData(ko)};Or.addLinkData(Gi);var Jo=Yn.diagram.findNodeForData(ko);Jo.location=Fo,Yn.diagram.select(Jo),setTimeout(()=>{Yn.diagram.commandHandler.editTextBlock()},20)})};return Xn(_e.bn,{figure:Ra,alignment:ua,alignmentFocus:ua.opposite(),width:ua.equals(_e.z6.Top)||ua.equals(_e.z6.Bottom)?25:18,height:ua.equals(_e.z6.Top)||ua.equals(_e.z6.Bottom)?18:25,fill:"orange",stroke:ur.white,strokeWidth:4,mouseEnter:(Yn,$r)=>$r.fill="dodgerblue",mouseLeave:(Yn,$r)=>$r.fill="orange",isActionable:!0,click:mr,contextClick:mr})}function qt(ua){return Xn(_e.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:(Ra,mr)=>mr.fill="dodgerblue",mouseLeave:(Ra,mr)=>mr.fill="orange",click:(Ra,mr)=>{Ra.diagram.commandHandler.showContextMenu(mr.part.adornedPart)}},ua||{})}xt.current.nodeTemplate.selectionAdornmentTemplate=Xn(_e.uz,"Spot",Xn(_e.Vm,{padding:10}),pt(_e.z6.Top,"TriangleUp"),pt(_e.z6.Left,"TriangleLeft"),pt(_e.z6.Right,"TriangleRight"),pt(_e.z6.Bottom,"TriangleDown"),qt({alignment:new _e.z6(.75,0)}));function Ut(ua,Ra){return(mr,Yn)=>{mr.handled=!0,mr.diagram.model.commit($r=>{$r.set(Yn.part.adornedPart.data,ua,Ra)})}}function dn(ua,Ra){return Ra||(Ra="color"),Xn(_e.bn,{width:16,height:16,stroke:"lightgray",fill:ua,margin:1,background:"transparent",mouseEnter:(mr,Yn)=>Yn.stroke="dodgerblue",mouseLeave:(mr,Yn)=>Yn.stroke="lightgray",click:Ut(Ra,ua),contextClick:Ut(Ra,ua)})}function Gn(){return[Xn("ContextMenuButton",Xn(_e.s_,"Horizontal",dn(ur.white,"fill"),dn(ur.beige,"fill"),dn(ur.extralightblue,"fill"),dn(ur.extralightred,"fill"))),Xn("ContextMenuButton",Xn(_e.s_,"Horizontal",dn(ur.lightgray,"fill"),dn(ur.lightgreen,"fill"),dn(ur.lightblue,"fill"),dn(ur.lightred,"fill")))]}function nn(){return[Xn("ContextMenuButton",Xn(_e.s_,"Horizontal",dn(ur.black),dn(ur.green),dn(ur.blue),dn(ur.red))),Xn("ContextMenuButton",Xn(_e.s_,"Horizontal",dn(ur.white),dn(ur.magenta),dn(ur.purple),dn(ur.orange)))]}function Vn(ua,Ra){return Ra||(Ra="thickness"),Xn(_e.bn,"LineH",{width:16,height:16,strokeWidth:ua,margin:1,background:"transparent",mouseEnter:(mr,Yn)=>Yn.background="dodgerblue",mouseLeave:(mr,Yn)=>Yn.background="transparent",click:Ut(Ra,ua),contextClick:Ut(Ra,ua)})}function Cn(ua,Ra){return Ra||(Ra="dash"),Xn(_e.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:ua,margin:1,background:"transparent",mouseEnter:(mr,Yn)=>Yn.background="dodgerblue",mouseLeave:(mr,Yn)=>Yn.background="transparent",click:Ut(Ra,ua),contextClick:Ut(Ra,ua)})}function ia(){return[Xn("ContextMenuButton",Xn(_e.s_,"Horizontal",Vn(1),Vn(2),Vn(3),Vn(4))),Xn("ContextMenuButton",Xn(_e.s_,"Horizontal",Cn(null),Cn([2,4]),Cn([4,4])))]}function Za(ua,Ra){return Ra||(Ra="figure"),Xn(_e.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:ua,margin:1,background:"transparent",mouseEnter:(mr,Yn)=>Yn.fill="dodgerblue",mouseLeave:(mr,Yn)=>Yn.fill="lightgray",click:Ut(Ra,ua),contextClick:Ut(Ra,ua)})}xt.current.nodeTemplate.contextMenu=Xn("ContextMenu",Xn("ContextMenuButton",Xn(_e.s_,"Horizontal",Za("Rectangle"),Za("RoundedRectangle"),Za("Ellipse"),Za("Diamond"))),Xn("ContextMenuButton",Xn(_e.s_,"Horizontal",Za("Parallelogram2"),Za("ManualOperation"),Za("Procedure"),Za("Cylinder1"))),Xn("ContextMenuButton",Xn(_e.s_,"Horizontal",Za("Terminator"),Za("CreateRequest"),Za("Document"),Za("TriangleDown"))),Gn(),nn(),ia()),xt.current.groupTemplate=Xn(_e.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:_e.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(ua,Ra)=>{var mr=Ra.addMembers(Ra.diagram.selection,!0);mr||Ra.diagram.currentTool.doCancel()},avoidable:!1},new _e.KX("location","loc",_e.E9.parse).makeTwoWay(_e.E9.stringify),Xn(_e.s_,"Auto",{name:"BODY"},Xn(_e.bn,{parameter1:10,fill:ur.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:_e.z6.AllSides,toSpot:_e.z6.AllSides},new _e.KX("fill"),new _e.KX("stroke","color"),new _e.KX("strokeWidth","thickness"),new _e.KX("strokeDashArray","dash")),Xn(_e.Vm,{background:"transparent",margin:20})),Xn(_e.al,{alignment:_e.z6.Top,alignmentFocus:_e.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new _e.KX("text"),new _e.KX("stroke","color"))),xt.current.groupTemplate.selectionAdornmentTemplate=Xn(_e.uz,"Spot",Xn(_e.s_,"Auto",Xn(_e.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Xn(_e.Vm,{margin:1.5})),qt({alignment:_e.z6.TopRight,alignmentFocus:_e.z6.BottomRight})),xt.current.groupTemplate.contextMenu=Xn("ContextMenu",Gn(),nn(),ia()),xt.current.linkTemplate=Xn(_e.rU,{layerName:"Foreground",routing:_e.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new _e.KX("fromSpot","fromSpot",_e.z6.parse),new _e.KX("toSpot","toSpot",_e.z6.parse),new _e.KX("fromShortLength","dir",ua=>ua>=1?10:0),new _e.KX("toShortLength","dir",ua=>ua>=1?10:0),new _e.KX("points").makeTwoWay(),Xn(_e.bn,{strokeWidth:2},new _e.KX("stroke","color"),new _e.KX("strokeWidth","thickness"),new _e.KX("strokeDashArray","dash")),Xn(_e.bn,{segmentIndex:0,segmentOffset:new _e.E9(15,0),segmentOrientation:_e.rU.OrientAlong,alignmentFocus:_e.z6.Right,figure:"circle",width:10,strokeWidth:0},new _e.KX("fill","color"),new _e.KX("visible","dir",ua=>ua===1)),Xn(_e.bn,{segmentIndex:-1,segmentOffset:new _e.E9(-10,6),segmentOrientation:_e.rU.OrientPlus90,alignmentFocus:_e.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new _e.KX("fill","color"),new _e.KX("visible","dir",ua=>ua>=1),new _e.KX("width","thickness",ua=>7+3*ua),new _e.KX("height","thickness",ua=>7+3*ua),new _e.KX("segmentOffset","thickness",ua=>new _e.E9(-15,4+1.5*ua))),Xn(_e.bn,{segmentIndex:0,segmentOffset:new _e.E9(15,-6),segmentOrientation:_e.rU.OrientMinus90,alignmentFocus:_e.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new _e.KX("fill","color"),new _e.KX("visible","dir",ua=>ua===2),new _e.KX("width","thickness",ua=>7+3*ua),new _e.KX("height","thickness",ua=>7+3*ua),new _e.KX("segmentOffset","thickness",ua=>new _e.E9(-15,4+1.5*ua))),Xn(_e.al,{alignmentFocus:new _e.z6(0,1,-4,0),editable:!0},new _e.KX("text").makeTwoWay(),new _e.KX("stroke","color"))),xt.current.linkTemplate.selectionAdornmentTemplate=Xn(_e.uz,Xn(_e.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:ir(2)},new _e.KX("pathPattern","thickness",ir)),qt({alignmentFocus:new _e.z6(0,0,-6,-4)}));function ir(ua){return Xn(_e.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(ua+4).toString()+" H3"})}function Nr(ua){var Ra="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return ua===0?Ra="M0 0 M16 16 M0 8 L16 8":ua===2&&(Ra="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Xn(_e.bn,{geometryString:Ra,margin:2,background:"transparent",mouseEnter:(mr,Yn)=>Yn.background="dodgerblue",mouseLeave:(mr,Yn)=>Yn.background="transparent",click:Ut("dir",ua),contextClick:Ut("dir",ua)})}function Hr(ua){var Ra=(mr,Yn)=>{mr.handled=!0,mr.diagram.model.commit($r=>{var Or=Yn.part.adornedPart;$r.set(Or.data,ua?"toSpot":"fromSpot",_e.z6.stringify(_e.z6.AllSides)),(ua?Or.toNode:Or.fromNode).invalidateConnectedLinks()})};return Xn(_e.bn,{width:12,height:12,fill:"transparent",mouseEnter:(mr,Yn)=>Yn.background="dodgerblue",mouseLeave:(mr,Yn)=>Yn.background="transparent",click:Ra,contextClick:Ra})}function Ln(ua,Ra){var mr=0,Yn=_e.z6.RightSide;ua.equals(_e.z6.Top)?(mr=270,Yn=_e.z6.TopSide):ua.equals(_e.z6.Left)?(mr=180,Yn=_e.z6.LeftSide):ua.equals(_e.z6.Bottom)&&(mr=90,Yn=_e.z6.BottomSide),Ra||(mr-=180);var $r=(Or,Wo)=>{Or.handled=!0,Or.diagram.model.commit(Fo=>{var ko=Wo.part.adornedPart;Fo.set(ko.data,Ra?"toSpot":"fromSpot",_e.z6.stringify(Yn)),(Ra?ko.toNode:ko.fromNode).invalidateConnectedLinks()})};return Xn(_e.bn,{alignment:ua,alignmentFocus:ua.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:mr,background:"transparent",mouseEnter:(Or,Wo)=>Wo.background="dodgerblue",mouseLeave:(Or,Wo)=>Wo.background="transparent",click:$r,contextClick:$r})}xt.current.linkTemplate.contextMenu=Xn("ContextMenu",nn(),ia(),Xn("ContextMenuButton",Xn(_e.s_,"Horizontal",Nr(0),Nr(1),Nr(2))),Xn("ContextMenuButton",Xn(_e.s_,"Horizontal",Xn(_e.s_,"Spot",Hr(!1),Ln(_e.z6.Top,!1),Ln(_e.z6.Left,!1),Ln(_e.z6.Right,!1),Ln(_e.z6.Bottom,!1)),Xn(_e.s_,"Spot",{margin:new _e.Zt(0,0,0,2)},Hr(!0),Ln(_e.z6.Top,!0),Ln(_e.z6.Left,!0),Ln(_e.z6.Right,!0),Ln(_e.z6.Bottom,!0)))));const _o=`{ "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 Io=["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 Sr(ua){return console.log("shapeName:",ua),Io.indexOf(ua)>=0}var wo=new _e.YI(pn.current,{maxSelectionCount:1,linkTemplate:Xn(_e.rU,{locationSpot:_e.z6.Center,selectionAdornmentTemplate:Xn(_e.uz,"Link",{locationSpot:_e.z6.Center},Xn(_e.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Xn(_e.bn,{toArrow:"Standard",stroke:null}))},{routing:_e.rU.AvoidsNodes,curve:_e.rU.JumpOver,corner:5,toShortLength:4},new _e.KX("points"),Xn(_e.bn,{isPanelMain:!0,strokeWidth:2}),Xn(_e.bn,{toArrow:"Standard",stroke:null})),model:new _e.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},..._e.bn.getFigureGenerators().toArray().map(ua=>({text:"\u672A\u547D\u540D",size:"100 100",figure:ua.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return xt.current.addDiagramListener("TextEdited",function(ua){var Ra;const mr=ua.subject.part;var Yn=(Ra=document.activeElement)==null?void 0:Ra.value;typeof Yn=="string"&&Yn.trim()===""&&xt.current.model.commit(function($r){$r.set(mr.data,"text","\u672A\u547D\u540D"),xt.current.commandHandler.stopCommand()},"increment")}),wo.nodeTemplate=Xn(_e.NB,"Auto",{locationSpot:_e.z6.Center},new _e.KX("location","location",_e.E9.parse).makeTwoWay(_e.E9.stringify),Xn(_e.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 _e.KX("stroke").makeTwoWay(),new _e.KX("fill").makeTwoWay(),new _e.KX("figure")),Xn(_e.al,{margin:new _e.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new _e.$u(16,16),maxSize:new _e.$u(10,NaN),textAlign:"center",editable:!0},new _e.KX("key").makeTwoWay())),setTimeout(()=>{xt.current.grid=Xn(_e.s_,"Grid",Xn(_e.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Xn(_e.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),xt.current.grid.visible=!0,xt.current.grid.gridCellStroke="darkgray",xt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=xt.current,xt.current}const co=()=>At(this,null,function*(){var Xn=xt.current.makeImage();const ur=yield(0,at.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Xn.src}});Bt({src:ur.url})});return(0,x.useEffect)(()=>(setTimeout(()=>{Yr()},500),Cr(Ta+1),()=>{xt.current=null}),[]),dt.createElement("div",{ref:Xr,className:_n.current?`${lt.maxH60} body-overflow-initial`:"body-overflow-initial"},dt.createElement(Pt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Ta,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:dt.createElement(Lt.Z,null,dt.createElement(In.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),dt.createElement(In.Z,{onClick:()=>{var Xn,ur,pt=xt.current.selection.first();if(_n.current=!_n.current,document.activeElement&&pt){let qt=(ur=(Xn=document.activeElement)==null?void 0:Xn.value)==null?void 0:ur.trim();typeof qt=="string"&&xt.current.model.commit(function(Ut){Ut.set(pt.data,"text",qt||"\u672A\u547D\u540D"),xt.current.commandHandler.stopCommand()},"increment")}Cr(Ta+1)}},dt.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Je},dt.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:lt.flowChartWrp},dt.createElement("div",{style:{display:"flex",height:"100%"}},dt.createElement("div",{style:{width:"300px",height:"100%"}},dt.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),dt.createElement("div",{style:{height:"calc(100% - 50px)"},className:lt.myPaletteDiv,ref:pn})),dt.createElement("div",{style:{flex:1,position:"relative"}},dt.createElement("div",{ref:Tn,style:{height:"80vh"}}))),dt.createElement("div",{className:"tr"},dt.createElement(ye.ZP,{size:"large",onClick:co,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var gt=Et,Xt=ee(78045),Ot=ee(31795);const bt=Xt.ZP.Group,on={margin:"0 8px"};var Jt=({callback:Je,onCancel:Bt})=>{function xt(Tn){Je(Tn)}return x.createElement(Ce.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:xt},x.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},x.createElement("span",{style:on},"\u5355\u5143\u683C\u6570\uFF1A"),x.createElement("span",{style:on},"\u884C\u6570"),x.createElement(Ce.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},x.createElement(Ot.Z,null)),x.createElement("span",{style:on},"\u5217\u6570"),x.createElement(Ce.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},x.createElement(Ot.Z,null))),x.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},x.createElement("span",{style:on},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),x.createElement(Ce.default.Item,{name:"align"},x.createElement(bt,null,x.createElement(Xt.ZP,{value:"default"},x.createElement("i",{className:"fa fa-align-justify"})),x.createElement(Xt.ZP,{value:"left"},x.createElement("i",{className:"fa fa-align-left"})),x.createElement(Xt.ZP,{value:"center"},x.createElement("i",{className:"fa fa-align-center"})),x.createElement(Xt.ZP,{value:"right"},x.createElement("i",{className:"fa fa-align-right"}))))),x.createElement("div",{className:"flex-container flex-end"},x.createElement(ye.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(ye.ZP,{type:"ghost",onClick:Bt},"\u53D6\u6D88")))},$e=ee(47897),Re=ee(61016),Nn=ee.n(Re),je=(0,x.forwardRef)(({use3d:Je,width:Bt,height:xt,callback:Tn,showSaveButton:pn},_n)=>{const Xr=(0,x.useRef)(),Ta=(0,x.useRef)(),[Cr,Yr]=(0,x.useState)(!1),co=(0,x.useRef)({id:Xr,appName:"graphing",width:Bt||1e3,height:xt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,x.useEffect)(()=>{Ta.current=new(Nn())(co.current,!0),window.onload=function(){Ta.current.inject("applet_container")}},[]);const Xn=()=>{var ur=window.ggbApplet.getPNGBase64(1,!0,72);return Tn&&Tn(ur),ur};return(0,x.useEffect)(()=>{co.current.appName=Cr?"3D":"graphing",Ta.current.inject("applet_container")},[Cr]),(0,x.useEffect)(()=>{Yr(Je)},[Je]),(0,x.useImperativeHandle)(_n,()=>({getImgData:Xn})),x.createElement(x.Fragment,null,x.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Xr}),x.createElement(Lt.Z,{align:"middle"},x.createElement(In.Z,{flex:1},x.createElement($e.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Cr,onChange:ur=>Yr(ur)})),x.createElement(In.Z,null,x.createElement(ye.ZP,{size:"large",onClick:Xn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Ht=ee(36527),et=ee(25934),Ue=ee(2453);const Ct="link",yt="upload-image",kt="add-flowchart",Pn="draw-image",Nt="add-flowchart",Tt="code-block",St="add-table",tn="------------",Kt={default:tn,left:`:${tn}`,center:`:${tn}:`,right:`${tn}:`};var mn=ee(99914),Qn=(Je,Bt,xt)=>new Promise((Tn,pn)=>{var _n=Cr=>{try{Ta(xt.next(Cr))}catch(Yr){pn(Yr)}},Xr=Cr=>{try{Ta(xt.throw(Cr))}catch(Yr){pn(Yr)}},Ta=Cr=>Cr.done?Tn(Cr.value):Promise.resolve(Cr.value).then(_n,Xr);Ta((xt=xt.apply(Je,Bt)).next())});function wn(){}let Wn=0;const ma=1e4,_t="\u2581",Vt="@\u2581\u2581@",en="@\u2581@",la=`
**\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`,aa=["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 jn(Je){return/^\d+$/.test(Je)?`${Je}px`:Je}const Ia=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",vr={[Ia+"-B"]:"bold",[Ia+"-I"]:"italic"},zr={[Ct]:"\u6DFB\u52A0\u94FE\u63A5",[Tt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[yt]:"\u6DFB\u52A0\u56FE\u7247",[Pn]:"\u6DFB\u52A0\u753B\u56FE",[kt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[St]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var La=({defaultValue:Je="",onChange:Bt,width:xt="100%",height:Tn=400,miniToolbar:pn=!1,isFocus:_n=!1,watch:Xr,insertTemp:Ta,mode:Cr="markdown",id:Yr="markdown-editor-id",showResizeBar:co=!1,noStorage:Xn=!1,showNullButton:ur=!1,showNullProgramButton:pt=!1,hidetoolBar:qt=!1,fullScreen:Ut=!1,onBlur:dn,onCMBeforeChange:Gn,onFullScreen:nn,className:Vn="",disablePaste:Cn=!1,disabled:ia=!1,disabledFill:Za=!1,placeholder:ir="",values:Nr="",extraUse:Hr})=>{const[Ln,_o]=(0,x.useState)(null),[Io,Sr]=(0,x.useState)(Je),[wo,ua]=(0,x.useState)(Xr),[Ra,mr]=(0,x.useState)(Ut),[Yn,$r]=(0,x.useState)(""),[Or,Wo]=(0,x.useState)(0),[Fo,ko]=(0,x.useState)(Tn),[Gi,Jo]=(0,x.useState)(!1),nl=(0,x.useRef)((0,et.Z)()),al=(0,x.useRef)(!1),kn=(0,x.useRef)(),[Ea,io]=(0,x.useState)(0),[Ho,xi]=(0,x.useState)(0),ri=(0,x.useRef)(),oi=(0,x.useRef)(),Qi=(0,x.useRef)(),jr=(0,x.useRef)(),ce=()=>Qn(void 0,null,function*(){var hn;const Gt=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:nl.current}});(hn=Gt==null?void 0:Gt.attachments)!=null&&hn.length&&(console.log("cm:",Ln,ri),Gt.attachments.map(Sn=>{Sn.content_type.indexOf("image")>-1?Ln.replaceSelection(`![,](/api/attachments/${Sn.id}?type=${Sn.content_type})`):Sn.content_type.indexOf("video")>-1?Ln.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):Sn.content_type.indexOf("pdf")>-1?Ln.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${Sn.id}?type=${Sn.content_type}&disposition=inline" target="_blank">${Sn.name}</a>`):Ln.replaceSelection(`[${Sn.name}](${ENV.API_SERVER}/api/attachments/${Sn.id}?type=${Sn.content_type})`)}))});(0,x.useEffect)(()=>{const hn=window.scrollY||window.pageYOffset;Sr(Nr),Ln==null||Ln.setValue(Nr),window.scrollTo(0,hn)},[Nr]),(0,x.useEffect)(()=>{nn==null||nn(Ra)},[Ra]),(0,x.useEffect)(()=>{if(ri.current){let hn=function(Sn,yn){var pa;if(Cn){yn.preventDefault();return}const Aa=yn.clipboardData;if(Aa){const xa=Aa.types.toString(),za=Aa.items;if(xa==="Files"||Aa.types.indexOf("Files")>-1){if(yn.preventDefault(),Cr=="stex")return;try{let Na=za[1];((pa=za[0])==null?void 0:pa.kind)==="file"&&(Na=za[0]);const qn=Na.getAsFile(),Ba=qn.name.split(".").pop();(0,rt.I)(qn,wa=>{var Ua,er,Rr;wa.id?((Ua=qn==null?void 0:qn.type)==null?void 0:Ua.indexOf("image"))>-1?Gt.replaceSelection(`<img width="100%" src="/api/attachments/${wa.id}?type=${wa.content_type})" alt="" />`):((er=qn==null?void 0:qn.type)==null?void 0:er.indexOf("video"))>-1?Gt.replaceSelection(`<video width="100%" controls src="/api/attachments/${wa.id}"></video>`):((Rr=qn==null?void 0:qn.type)==null?void 0:Rr.indexOf("pdf"))>-1?Gt.replaceSelection(`<a href="/api/attachments/${wa.id}?type=${qn.type}&disposition=inline" target="_blank">${qn.name}</a>`):aa.includes(Ba)?Gt.replaceSelection(`<a href="/api/attachments/${wa.id}?type=office&disposition=inline" target="_blank">${qn.name}</a>`):Gt.replaceSelection(`[${qn.name}](/api/attachments/${wa.id}?type=${wa.content_type})`):(wa==null?void 0:wa.status)===401&&(Ue.ZP.warning((wa==null?void 0:wa.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Na){Ue.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Gt=pe().fromTextArea(ri.current,{mode:Cr,lineNumbers:!pn,lineWrapping:!0,value:Je,autoCloseTags:!pt,autoCloseBrackets:!0});return Gt.on("keyup",function(Sn,yn){yn.keyCode===8&&(Sn.getValue()==""?Gt.setOption("placeholder",ir):Gt.setOption("placeholder",null))}),Gt.on("keydown",function(Sn,yn){if(yn.keyCode===8){var pa=Oe(Sn);pa&&yn.preventDefault()}}),_n&&Gt.focus(),Gt.on("paste",hn),Gt.on("dragleave",function(Sn,yn){oi.current.classList.remove("mouse-hover-md")}),ia&&Gt.on("beforeChange",function(Sn,yn){(yn.origin==="paste"||yn.origin==="+input")&&yn.cancel()}),_o(Gt),()=>{Gt.off("paste",hn)}}},[]);const Pe=(0,x.useCallback)(()=>{if(oi.current)try{}catch(hn){console.log(hn,"---- to set md editor body height")}},[Fo,oi,Ra]);(0,x.useEffect)(()=>{function hn(){let Gt=new De.Z(Sn=>{for(let yn of Sn)(yn.target.offsetHeight>0||yn.target.offsetWidth>0)&&(Pe(),Ln.setSize("100%","100%"),Ln.refresh())});return Gt.observe(ri.current.parentElement),Gt}if(Ln){const Gt=hn();return()=>{var Sn,yn;(Sn=ri.current)!=null&&Sn.parentElement&&Gt.unobserve((yn=ri.current)==null?void 0:yn.parentElement)}}},[Ln,Pe]),(0,x.useEffect)(()=>{if(Ln){let hn=[];for(const[Gt,Sn]of Object.entries(vr)){let yn={[Gt]:()=>{Se(Sn)}};hn.push(yn),Ln.addKeyMap(yn)}return kn.current=setInterval(()=>{al.current&&ce()},4e3),()=>{clearInterval(kn.current);for(let Gt of hn)Ln.removeKeyMap(Gt)}}},[Ln]),(0,x.useEffect)(()=>{Ut!==Ra&&mr(Ut)},[Ut]),(0,mn.Z)(()=>{if(!Xn&&Or>0){let hn=new Date().getTime(),Gt=window.sessionStorage.getItem(Yr);hn>=Or+ma&&(!Gt||Gt!==Io)&&(window.sessionStorage.setItem(Yr,Io),Jo(!0))}},ma),(0,x.useEffect)(()=>{ua(Xr)},[Ln,Xr]),(0,x.useEffect)(()=>{Ln&&_n&&Ln.focus()},[Ln,_n]),(0,x.useEffect)(()=>{if(wo&&Ln){let hn=function(Sn){let yn=Sn.target;if(jr.current){let pa=yn.scrollTop/yn.scrollHeight;jr.current.scrollTop=jr.current.scrollHeight*pa}};const Gt=Ln.getScrollerElement();return Gt.addEventListener("scroll",hn),()=>{Gt.removeEventListener("scroll",hn)}}},[Ln,wo]),(0,x.useEffect)(()=>{if(Ln&&Gn){let hn=function(Gt,Sn){Gn(Gt,Sn)};return Ln.on("beforeChange",hn),()=>{Ln.off("beforeChange",hn)}}},[Ln,Gn]),(0,x.useEffect)(()=>{if(Ln&&dn){let hn=function(){dn(Ln.getValue())};return Ln.on("blur",hn),()=>{Ln.off("blur",hn)}}},[Ln,dn]);function Oe(hn,Gt){var Sn=hn.getDoc(),yn=Sn.getCursor(),pa=Sn.getLine(yn.line),Aa=pa.charAt(yn.ch-1),xa=pa.lastIndexOf("@\u2581@",yn.ch),za=pa.lastIndexOf("@\u2581\u2581@",yn.ch),Na=xa>za?xa:za,qn=xa>za?3:4;if(Vt.indexOf(Aa)===-1)return null;if(console.log("change1:",Gt,hn,pa,yn,Na,xa,za,Aa),Na>=0&&yn.ch-Na<5){var Ba=Na+qn;return Sn.replaceRange("",{line:yn.line,ch:Na},{line:yn.line,ch:Ba}),{line:yn.line,ch:Ba}}return null}(0,x.useEffect)(()=>{if(Ln){let hn=function(Gt,Sn){const yn=Gt.getValue();Sr(yn),Wo(new Date().getTime()),Gt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Bt&&(pt?Bt(yn,fn(yn)):Bt(yn))};return Ln.on("change",hn),()=>{Ln.off("change",hn)}}},[Ln,Bt]),(0,x.useEffect)(()=>{if(Ln)if(Je==null)Ln.setValue(""),Sr("");else{const hn=window.scrollY||window.pageYOffset;Je!==Ln.getValue()&&(Ln.setValue(Je),Sr(Je),Ln.setCursor(ia?1:Ln.lineCount(),0),window.scrollTo(0,hn))}},[Ln,Je]);const Se=(0,x.useCallback)(hn=>{const Gt=Ln.getCursor(),Sn=Ln.getSelection();let yn=Sn.split(`
`);switch(hn){case"bold":return Ln.replaceSelection("**"+Sn+"**"),Sn===""&&Ln.setCursor(Gt.line,Gt.ch+2),Ln.focus();case"italic":return Ln.replaceSelection("*"+Sn+"*"),Sn===""&&Ln.setCursor(Gt.line,Gt.ch+1),Ln.focus();case"code":return Ln.replaceSelection("`"+Sn+"`"),Sn===""&&Ln.setCursor(Gt.line,Gt.ch+1),Ln.focus();case"inline-latex":return $r("inline-latex"),Ln.focus();case"latex":return Ln.replaceSelection("```latex\n"+Sn+"\n```"),Ln.setCursor(Gt.line+1,Sn.length+1),Ln.focus();case"line-break":return Ln.replaceSelection(`<br/>
`),Ln.focus();case"list-ul":return Sn===""?Ln.replaceSelection("- "+Sn):Ln.replaceSelection(yn.map(pa=>pa===""?"":`- ${pa}`).join(`
`)),Ln.focus();case"list-ol":return Sn===""?Ln.replaceSelection("1. "+Sn):Ln.replaceSelection(yn.map((pa,Aa)=>pa===""?"":`${Aa+1}. ${pa}`).join(`
`)),Ln.focus();case"add-null-ch":return Sn===""&&Ln.setCursor(Gt.line,Gt.ch),Ln.replaceSelection(_t),Ln.focus();case"add-signal":return Sn===""&&Ln.setCursor(Gt.line,Gt.ch),Ln.replaceSelection(en),Ln.focus();case"add-multiple":return Sn===""&&Ln.setCursor(Gt.line,Gt.ch),Ln.replaceSelection(Vt),Ln.focus();case"inster-template-1":return Sn===""&&Ln.setCursor(Gt.line,Gt.ch),Ln.replaceSelection(la),Ln.focus();case"eraser":return Ln.setValue(""),Ln.focus();case"trigger-watch":return ua(!wo),Ln.focus();case"trigger-full-screen":return mr(!Ra),Ln.focus();case Ct:$r(Ct);return;case Tt:$r(Tt);return;case yt:$r(yt);return;case Pn:$r(Pn);return;case"maths-latex":$r("maths-latex");return;case kt:$r(kt);return;case St:$r(St);return;default:throw new Error}},[Ln,wo,Ra]),Qe=(0,x.useCallback)((hn,Gt)=>{var Sn,yn,pa,Aa,xa,za;switch($r(""),Yn){case Ct:const{title:Ua,link:er}=hn;return Ln.replaceSelection(`[${Ua}](${er})`),Ln.focus();case Tt:const{language:Rr,content:ao}=hn;return Ln.replaceSelection(["```"+Rr,ao,"```"].join(`
`)),Ln.focus();case"maths-latex":for(var Na=atob(hn),qn=new Uint8Array(Na.length),Ba=0;Ba<Na.length;Ba++)qn[Ba]=Na.charCodeAt(Ba);var wa=new Blob([qn],{type:"image/png"});(0,rt.I)(wa,Uo=>{Uo.id?Ln.replaceSelection(`![,](/api/attachments/${Uo.id}?type=${Uo.content_type})`):(Uo==null?void 0:Uo.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Ln.replaceSelection("`$$"+hn+"$$`");break;case yt:case Pn:case Nt:const{src:xo,alt:ga}=hn,Eo=Gt,ii=(pa=(yn=(Sn=Eo==null?void 0:Eo.name)==null?void 0:Sn.split("."))==null?void 0:yn.pop)==null?void 0:pa.call(yn);return((Aa=Eo==null?void 0:Eo.type)==null?void 0:Aa.indexOf("image"))>-1||!(Eo!=null&&Eo.type)?Eo.align||Eo.width?Ln.replaceSelection(`<p style="text-align:${Eo.align||"initial"}"><img width="${Eo.width?Eo.width+"%":"initial"}" src="${xo}" alt="${ga||""}" /></p>`):Ln.replaceSelection(`<img width="100%" src="${xo}" alt="${ga||""}" />`):((xa=Eo==null?void 0:Eo.type)==null?void 0:xa.indexOf("video"))>-1?Ln.replaceSelection(`<video width="100%" controls src="${xo}"></video>`):((za=Eo==null?void 0:Eo.type)==null?void 0:za.indexOf("pdf"))>-1?Ln.replaceSelection(`<a href="${xo}?type=${Eo.type}&disposition=inline" target="_blank">${Eo.name}</a>`):aa.includes(ii)?Ln.replaceSelection(`<a href="${xo}?type=office&disposition=inline" target="_blank">${Eo.name}</a>`):Ln.replaceSelection(`[${Eo.name}](${xo})`),Ln.focus();case St:const{row:ki,col:sl,align:Zi}=hn;let di=`
`;for(let Uo=0;Uo<ki;Uo++){let Xi=[],Di=[];for(let cl=0;cl<sl;cl++)Uo===1&&Di.push(Kt[Zi]),Xi.push(" ");Uo===1&&(di+=`| ${Di.join(" | ")} |
`),di+=`| ${Xi.join(sl===1?"":" | ")} |
`}return Ln.replaceSelection(di+`
`),Ln.focus();default:throw new Error}},[Ln,Yn]),ot=(0,x.useMemo)(()=>{switch(Yn){case Ct:return x.createElement(Yt,{callback:Qe,onCancel:wt});case Tt:return x.createElement(cn.Z,{callback:Qe,onCancel:wt});case yt:return x.createElement(rt.Z,{callback:Qe,onCancel:wt});case kt:return x.createElement(gt,{callback:Qe,onCancel:wt});case St:return x.createElement(Jt,{callback:Qe,onCancel:wt});case"maths-latex":return x.createElement(je,{showSaveButton:!0,callback:Qe});case"inline-latex":return x.createElement(Ht.Z,{showSaveButton:!0,callback:Qe});default:return null}},[Yn]);function wt(){$r("")}(0,x.useEffect)(()=>{if(Qi.current){let hn=function(xa){pa=!0,Aa=xa.pageY},Gt=function(){pa=!1},Sn=function(xa){if(pa){let za=xa.pageY-Aa;za<0&&(za=0),za>300&&(za=300);let Na=Tn+za+"px";ko(Na)}},yn=Qi.current,pa=!1,Aa=0;return yn.addEventListener("mousedown",hn),document.addEventListener("mousemove",Sn),document.addEventListener("mouseup",Gt),()=>{yn.removeEventListener("mousedown",hn),document.removeEventListener("mousemove",Sn),document.removeEventListener("mouseup",Gt)}}},[Ln,Qi]),(0,x.useEffect)(()=>{ko(Tn)},[Tn]);const tt=jn(xt),st=jn(Fo),ht={width:tt,height:st},an=(0,x.useMemo)(()=>{if(Or){let hn=new Date(Or),Gt=hn.getHours(),Sn=hn.getMinutes(),yn=hn.getSeconds();return Gt=Gt<10?"0"+Gt:Gt,Sn=Sn<10?"0"+Sn:Sn,yn=yn<10?"0"+yn:yn,`${Gt}:${Sn}:${yn}`}return 0},[Or]),fn=hn=>{const Gt=[];if(pt){let Sn=-1;hn=hn.replace(/(@▁▁@|@▁@)/g,function(yn,pa,Aa){Gt.push({multiLine:yn!==en})})}return Gt};function Un(){window.sessionStorage.removeItem(Yr),Jo(!1),Wo(0)}function Rn(){Jo(!1),Wo(0),Ln.setValue(window.sessionStorage.getItem(Yr))}(0,x.useEffect)(()=>{zr[Yn]&&Yn!==Pn&&Yn!==kt&&setTimeout(()=>{const hn=document.getElementsByClassName("markdown-popup-form")[0],Gt=window.innerWidth/2-hn.offsetWidth/2,Sn=window.innerHeight/2-hn.offsetHeight/2;io(Gt),xi(Sn)},0)},[Yn]);const Fa=hn=>{hn.preventDefault();const Gt=hn.clientX-Ea,Sn=hn.clientY-Ho;document.body.onmousemove=yn=>{let pa=yn.clientX-Gt,Aa=yn.clientY-Sn;const xa=document.getElementsByClassName("markdown-popup-form")[0],za=window.innerWidth-xa.offsetWidth,Na=window.innerHeight-xa.offsetHeight;pa=Math.max(0,Math.min(pa,za)),Aa=Math.max(0,Math.min(Aa,Na)),fa(yn.clientX,yn.clientY,Gt,Sn)&&(io(pa),xi(Aa))},document.body.onmouseup=function(){document.body.onmousemove=null}},fa=(hn,Gt,Sn,yn)=>{const pa=document.body.clientHeight,Aa=document.body.clientWidth;return hn<20&&Sn>hn||hn>Aa-20&&Sn<hn||Gt<20&&yn>Gt||Gt>pa-20&&yn<Gt?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return x.createElement(x.Fragment,null,x.createElement("div",{className:"markdown-editor-wrapper",ref:oi},x.createElement("div",{className:`markdown-editor-container ${Vn} ${wo?"on-preview":""} ${pn?"mini":""} ${Ra?"full-screen":""}`,style:ht},x.createElement(he,{insertTemp:Ta,watch:wo,fullScreen:Ra,showNullButton:ur,showNullProgramButton:pt,onActionCallback:Se,hidetoolBar:qt,extraUse:Hr}),x.createElement("div",{className:"markdown-editor-body"},x.createElement("div",{className:"codemirror-container"},x.createElement("textarea",{ref:ri,placeholder:ir})),wo?x.createElement("div",{ref:jr,className:"preview-container"},Cr==="stex"&&x.createElement(Be,{value:Io}),Cr!=="stex"&&x.createElement(ze.Z,{disabledFill:Za,showProgramFill:pt,value:Io})):null))),co?x.createElement("a",{ref:Qi,className:"editor-resize"}):null,Yn===Pn&&x.createElement(jt,{callback:Qe,onCancel:wt}),Yn===kt&&x.createElement(gt,{callback:Qe,onCancel:wt}),x.createElement(ve.Z,null,zr[Yn]&&Yn!==Pn&&Yn!==kt?x.createElement(Pt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Ea,top:Ho},title:x.createElement("div",{style:{cursor:"move"},onMouseDown:Fa},zr[Yn]),open:!0,onCancel:wt,footer:null,destroyOnClose:!0,width:Yn===kt?"1200px":null,height:Yn===kt?"80vh":null,className:"markdown-popup-form"},ot):null))}},70859:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return le},I:function(){return ve}});var x=ee(22150),de=ee(2453),pe=ee(69677),De=ee(93421),we=ee(31795),ke=ee(78045),ie=ee(71577),We=ee(15476),Me=ee(67294),Te=ee(52262),ze=ee(67294),Be=Object.defineProperty,me=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(Ce,be,ye)=>be in Ce?Be(Ce,be,{enumerable:!0,configurable:!0,writable:!0,value:ye}):Ce[be]=ye,z=(Ce,be)=>{for(var ye in be||(be={}))y.call(be,ye)&&E(Ce,ye,be[ye]);if(a)for(var ye of a(be))b.call(be,ye)&&E(Ce,ye,be[ye]);return Ce},te=(Ce,be)=>me(Ce,oe(be));const{useForm:ne}=x.default,re={width:280,marginRight:10},ae={labelCol:{span:5},wrapperCol:{span:19}};var le=({callback:Ce,onCancel:be})=>{const[ye]=ne();let Ae=(0,Me.useRef)();function Ne(Ge){Ae.current.width=ye.getFieldValue("width"),Ae.current.align=ye.getFieldValue("align"),Ce(Ge,Ae.current)}function Xe(Ge,He){if(Ge.status===-1){de.ZP.error(Ge.message);return}ye.setFieldsValue({src:`/api/attachments/${Ge.id}`,type:He.type})}function Le(Ge){let He=Ge.target.files[0];Ae.current=He,ve(He,Xe)}return ze.createElement(x.default,te(z({form:ye},ae),{className:"upload-image-panel",onFinish:Ne,style:{width:470,overflow:"hidden"}}),ze.createElement(x.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ze.createElement("div",{className:"flex-container"},ze.createElement(x.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ze.createElement(pe.default,{style:re})),ze.createElement(he,{onFileChange:Le}))),ze.createElement(x.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ze.createElement(pe.default,{style:{width:264}})),ze.createElement(x.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ze.createElement(De.Z,null,ze.createElement(x.default.Item,{name:"width",style:{margin:0}},ze.createElement(we.Z,{style:{width:264}})),ze.createElement("span",{className:"ml8"},"%"))),ze.createElement(x.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ze.createElement(ke.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(x.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:be},"\u53D6\u6D88"))))};function he({onFileChange:Ce}){return ze.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ze.createElement("input",{type:"file",onChange:Ce}))}function ve(Ce,be){if(!Ce)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Te.bg)())throw de.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let ye=new FormData;ye.append("editormd-image-file",Ce),ye.append("file_param_name","editormd-image-file"),ye.append("byxhr","true");var Ae=new window.XMLHttpRequest;Ae.withCredentials=!0,Ae.addEventListener("load",function(Ne){be(JSON.parse(Ne.target.responseText),Ce)},!1),Ae.addEventListener("error",function(Ne){console.error(Ne)},!1),Ae.open("POST",`${We.KI}/api/attachments.json`),Ae.send(ye)}},76621:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return pe}});var x=ee(67294),de=ee(73935);class pe extends x.Component{constructor(we){super(we);const ke=window.document;this.node=ke.createElement("div"),ke.body.appendChild(this.node)}render(){const{children:we}=this.props;return(0,de.createPortal)(we,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},99914:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return de}});var x=ee(67294);function de(pe,De){const we=(0,x.useRef)();(0,x.useEffect)(()=>{we.current=pe}),(0,x.useEffect)(()=>{function ke(){we.current()}if(De!==null){let ie=setInterval(ke,De);return()=>clearInterval(ie)}},[De])}},70562:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return He}});var x=ee(67294),de=ee(78045),pe=ee(71577),De=ee(2453),we=ee(14446),ke=ee(31795),ie=ee(71230),We=ee(15746),Me=ee(96074),Te=ee(36295),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"},Be=ee(52262),me=ee(19575),oe=ee(33170),a=ee(35973),y=ee(85725),b=ee(86763),E=ee(55304),z=ee(84249),te=ee(67294),ne=Object.defineProperty,re=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,Ce=(Ke,qe,it)=>qe in Ke?ne(Ke,qe,{enumerable:!0,configurable:!0,writable:!0,value:it}):Ke[qe]=it,be=(Ke,qe)=>{for(var it in qe||(qe={}))he.call(qe,it)&&Ce(Ke,it,qe[it]);if(le)for(var it of le(qe))ve.call(qe,it)&&Ce(Ke,it,qe[it]);return Ke},ye=(Ke,qe)=>re(Ke,ae(qe)),Ae=(Ke,qe,it)=>new Promise((mt,Yt)=>{var cn=Lt=>{try{Pt(it.next(Lt))}catch(ct){Yt(ct)}},rt=Lt=>{try{Pt(it.throw(Lt))}catch(ct){Yt(ct)}},Pt=Lt=>Lt.done?mt(Lt.value):Promise.resolve(Lt.value).then(cn,rt);Pt((it=it.apply(Ke,qe)).next())});const Ne={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var Xe=(Ke=>(Ke[Ke.SET_PATH=0]="SET_PATH",Ke[Ke.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Ke))(Xe||{});function Le(Ke,qe){switch(qe.type){case 0:return ye(be({},Ke),{selectedPath:qe.payload});case 1:return ye(be({},Ke),{passedContent:qe.payload});default:throw new Error}}var He=({language:Ke,dispatch:qe,shixunWorkReport:it,v:mt,languages:Yt,classroomList:cn,autoHeight:rt,diff_code_count:Pt,data:Lt})=>{const[ct,Ft]=(0,x.useState)(Yt==null?void 0:Yt[0]),jt=(0,a.useParams)();return(0,x.useEffect)(()=>{Ft(Yt==null?void 0:Yt[0])},[]),(0,x.useEffect)(()=>{var _e;Ft((_e=Yt==null?void 0:Yt.filter(En=>En.language===(ct==null?void 0:ct.language)))==null?void 0:_e[0])},[Yt]),te.createElement(te.Fragment,null,te.createElement("h2",null," ",te.createElement("span",null,mt.is_finish?te.createElement("span",null,"\u6700\u540E\u901A\u5173\u4EE3\u7801",te.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")):te.createElement("span",null,"\u6700\u65B0\u4EE3\u7801",te.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")),(Yt==null?void 0:Yt.length)>1&&te.createElement(de.ZP.Group,{defaultValue:Ke,style:{marginLeft:10},onChange:_e=>{var En;mt.language=_e.target.value,Ft((En=Yt==null?void 0:Yt.filter(Fn=>Fn.language===_e.target.value))==null?void 0:En[0])}},Yt==null?void 0:Yt.map(_e=>te.createElement(de.ZP,{value:_e==null?void 0:_e.language},_e==null?void 0:_e.language)))),(0,Be.GJ)()&&it!="shixunWorkReport"&&te.createElement("span",null,te.createElement("span",null,"\u5F97\u5206 ",ct==null?void 0:ct.score,"/",ct==null?void 0:ct.total_score),te.createElement(pe.ZP,{style:{margin:"0px 10px"},onClick:()=>{var _e,En;if(!((En=(_e=cn.AssistantObject)==null?void 0:_e.hack)!=null&&En.can_appraise)&&(0,Be.Rm)()){De.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 Fn=ct==null?void 0:ct.score;we.default.confirm({title:"\u8C03\u5206",content:te.createElement("div",null,te.createElement("p",null,"\u5F97\u5206\uFF1A",ct==null?void 0:ct.score,"/",ct==null?void 0:ct.total_score),te.createElement("p",null,"\u8C03\u5206\uFF1A",te.createElement(ke.Z,{min:0,max:ct==null?void 0:ct.total_score,defaultValue:ct==null?void 0:ct.score,onChange:ha=>{Fn=ha}}))),okText:"\u786E\u8BA4",onOk:()=>Ae(void 0,null,function*(){(yield(0,oe.ZP)(`/api/courses/${jt==null?void 0:jt.coursesId}/homework_commons/update_hack_score`,{method:"put",body:{course_id:jt==null?void 0:jt.coursesId,hack_user_code_id:ct==null?void 0:ct.hack_user_id,score:Fn}})).status===0&&(De.ZP.success("\u8C03\u5206\u6210\u529F"),qe({type:"shixunHomeworks/setActionTabs",payload:{}}),qe({type:"shixunHomeworks/getShixunWorkReports",payload:be({},jt)}))}),cancelText:"\u53D6\u6D88"})},type:"primary"},"\u8C03\u5206"),(0,Be.GJ)()&&it!="shixunWorkReport"&&te.createElement(pe.ZP,{onClick:()=>{var _e;if(!((_e=cn.AssistantObject.hack)!=null&&_e.can_appraise)&&(0,Be.Rm)()){De.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}qe({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:it.user_id,type:"1",language:ct==null?void 0:ct.language,v:mt,data:be({},it)}}})}},"\u70B9\u8BC4\u4EE3\u7801"))),te.createElement(Te.ZP,{height:300,language:ct==null?void 0:ct.language,value:ct!=null&&ct.code?me.Base64.decode(ct==null?void 0:ct.code):"",autoHeight:rt,theme:"default",options:Ne}),((ct==null?void 0:ct.comment)||(ct==null?void 0:ct.hidden_comment))&&te.createElement("div",null,te.createElement(ie.Z,{align:"middle",style:{borderTop:"1px solid #eee"}},te.createElement(We.Z,{flex:1},te.createElement("h1",{className:ze.title},"\u70B9\u8BC4\u5185\u5BB9")),te.createElement(We.Z,{className:"pr30"},(0,Be.GJ)()&&te.createElement(pe.ZP,{onClick:()=>Ae(void 0,null,function*(){we.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:te.createElement(E.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return Ae(this,null,function*(){(yield(0,b.gZ)({comment_id:ct==null?void 0:ct.comment_id,homeworkId:jt.homeworkId,type:"hack"})).status===0&&(De.ZP.success("\u5220\u9664\u6210\u529F"),qe({type:"shixunHomeworks/getShixunWorkReports",payload:be({},jt)}))})}})})},te.createElement(z.Z,null),"\u5220\u9664"))),te.createElement(Me.Z,{style:{margin:0}}),(ct==null?void 0:ct.comment)&&te.createElement("aside",{className:"pl30 pr30 mt20"},te.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),te.createElement("br",null),te.createElement(y.Z,{value:ct==null?void 0:ct.comment})),(ct==null?void 0:ct.hidden_comment)&&te.createElement("aside",{className:"pl30 pr30 mt20"},te.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),te.createElement("br",null),te.createElement(y.Z,{value:ct==null?void 0:ct.hidden_comment}))))}},52765:function(ft,ut,ee){"use strict";ee.r(ut),ee.d(ut,{default:function(){return be}});var x=ee(67294),de=ee(35973),pe=ee(66368),De=ee(71577),we=ee(28452),ke=ee(52262),ie=ee(33170),We=ee(26194),Me=ee(45160),Te="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAWCAYAAAAvg9c4AAAAAXNSR0IArs4c6QAABPdJREFUSEullWloHGUYx//vzO7sHDuzm93sZpM2l/SgRyK7xSYxrfYgbdUq6JcixXqAUrxItGAVMT1A+kH7Re1WWppa6afiAYJIi7ZB07vkIARzVJqYbJMmu90zszOzM6/MVEXQotR3mPky8/7e//N7ZuYl+J+jt7fX7/f7i/X19cU/UORemZRSZnBwsKNQKLztdrtHOI57sqGhYcbm3ROUUsoOD4++Mz9f2CtJItE0DaVSqTMWi+27Jyil1DM0NLTfsmgHpZbLhthQSmlfTU3NmkgkUvjPSSmlZGRkZI2maZ2mWdpAGBehpgnd0KBpOkzTLPn9/gei0Wjfv0JHR0cXGpq2xTDNHZTSJsu0OJNaIIRFUc07KXXdgGVZCAQCL7e0tMT/Br3ja3iRaZptlmU9YVHayhBGoAApGTpKhgHCsFCLRaRvp+yEtk9Qai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HrMsi8iyDFnxQRCFsdrq6tW1tbW3yXt79z77y42J44KL5FPJOeJiXUb0/oYdu9/t/OZuW42tpa+v75iqqtvy+RwqwiEIvPjJw+vXv+q8011dXXx/f/9WWZaVQCBwE0Bfe3v7NCHE/rDuOmzw+Pj4p4lEYruLZWeqa2o2xmKxIXvCb487Tm3fsdeDAAAAAElFTkSuQmCC",ze=ee(96074),Be=ee(85725),me=ee(11320),oe=(ye,Ae,Ne)=>new Promise((Xe,Le)=>{var Ge=qe=>{try{Ke(Ne.next(qe))}catch(it){Le(it)}},He=qe=>{try{Ke(Ne.throw(qe))}catch(it){Le(it)}},Ke=qe=>qe.done?Xe(qe.value):Promise.resolve(qe.value).then(Ge,He);Ke((Ne=Ne.apply(ye,Ae)).next())});const a=({user:ye,item:Ae,getdata:Ne,params:Xe})=>{var Le;const Ge=(0,x.useRef)(),[He,Ke]=(0,x.useState)(),[qe,it]=(0,x.useState)(!0);return(0,x.useEffect)(()=>{if(!Ge.current)return;function mt(){var cn;let rt=new ResizeObserver(Pt=>{for(let Lt of Pt)console.log("----",Lt,Pt),Ke(Lt.target.offsetHeight>=52)});return rt.observe((cn=Ge.current)==null?void 0:cn.firstElementChild),rt}const Yt=mt();return()=>{var cn,rt;(cn=Ge.current)!=null&&cn.firstElementChild&&Yt.unobserve((rt=Ge.current)==null?void 0:rt.firstElementChild)}},[Ge.current]),x.createElement("div",{onClick:()=>{de.history.push(`/classrooms/${Xe.coursesId}/program_homework/${Xe.categoryId}/answer/${Ae.id}/detail`)},style:{padding:"0px 20px",cursor:"pointer"}},x.createElement("div",{className:Me.Z.titles,style:{fontWeight:600,fontSize:18,color:"#000000"}},Ae.name),x.createElement("div",{style:{display:"flex",marginTop:10}},x.createElement("div",{style:{flex:1,display:"flex",alignItems:"center",color:"#5F6368"}},x.createElement("img",{style:{width:24,borderRadius:50},src:`${me.Z.IMG_SERVER}/images/${Ae.author.image_url}`}),x.createElement("span",{style:{margin:"0px 12px 0px 8px"}},(Le=Ae==null?void 0:Ae.author)==null?void 0:Le.name),x.createElement("span",null,"\u53D1\u8868\u4E8E",Ae.created_at)),x.createElement("div",null,x.createElement("span",{style:{color:"#5F6368",cursor:"pointer"},onClick:()=>{}},"\u56DE\u590D\uFF08",(Ae==null?void 0:Ae.descendants_count)||0,"\uFF09"),(0,ke.eB)()&&x.createElement("span",{onClick:mt=>oe(void 0,null,function*(){mt.stopPropagation(),(yield(0,ie.ZP)(`/api/hack_messages/${Ae.id}/update_public`,{method:"post"})).status===0&&Ne()}),style:{color:"#44D7B6",cursor:"pointer",marginLeft:20}},Ae.is_public?"\u53D6\u6D88\u516C\u5F00":"\u516C\u5F00"))),x.createElement("div",{ref:Ge,style:{margin:"15px 0px",maxHeight:qe?52:"",overflow:"hidden"}},x.createElement(Be.Z,{style:{color:"#434D6C",fontSize:14},value:Ae.content})),(Ae==null?void 0:Ae.hack_identifier)&&x.createElement("span",{onClick:mt=>oe(void 0,null,function*(){var Yt;if(mt.stopPropagation(),(0,ke.dE)())return;let cn=yield(0,ie.ZP)(`/api/problems/${Ae==null?void 0:Ae.hack_identifier}/start.json`,{method:"get",params:{hack_user_id:(Yt=Ae==null?void 0:Ae.author)==null?void 0:Yt.id}});cn&&(window.open(`/myproblems/${cn==null?void 0:cn.identifier}?type=1`),localStorage.setItem("program_homework",[Xe.coursesId,Xe.categoryId]))}),className:Me.Z.tips},Ae==null?void 0:Ae.hack_name),He&&x.createElement("div",{onClick:mt=>{mt.stopPropagation(),it(!qe)}},x.createElement(ze.Z,{dashed:!1,className:"",style:{cursor:"pointer"}},x.createElement("a",{className:`font14 ${Me.Z.color999}`},qe?"\u9605\u8BFB\u5168\u6587 ":"\u6536\u8D77\u5168\u6587 ",x.createElement("i",{className:`iconfont font14 ${qe?"icon-jiantou9":"icon-changyongtubiao-xianxingdaochu-zhuanqu-"}`})))))};var y=(0,de.connect)(({user:ye})=>({user:ye}))(a),b=Object.defineProperty,E=Object.defineProperties,z=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,ae=(ye,Ae,Ne)=>Ae in ye?b(ye,Ae,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):ye[Ae]=Ne,le=(ye,Ae)=>{for(var Ne in Ae||(Ae={}))ne.call(Ae,Ne)&&ae(ye,Ne,Ae[Ne]);if(te)for(var Ne of te(Ae))re.call(Ae,Ne)&&ae(ye,Ne,Ae[Ne]);return ye},he=(ye,Ae)=>E(ye,z(Ae)),ve=(ye,Ae,Ne)=>new Promise((Xe,Le)=>{var Ge=qe=>{try{Ke(Ne.next(qe))}catch(it){Le(it)}},He=qe=>{try{Ke(Ne.throw(qe))}catch(it){Le(it)}},Ke=qe=>qe.done?Xe(qe.value):Promise.resolve(qe.value).then(Ge,He);Ke((Ne=Ne.apply(ye,Ae)).next())});const Ce=({user:ye})=>{var Ae,Ne,Xe,Le;let[Ge,He]=(0,x.useState)(he(le({},(0,de.useParams)()),{page:1,per_page:10,type:1,sort_by:"",course_group:(0,ke.dE)()?[ye.userInfo.course.course_group_id]:[]}));const[Ke,qe]=(0,x.useState)([]);(0,x.useEffect)(()=>{it()},[]);function it(){return ve(this,null,function*(){let mt=yield(0,ie.ZP)(`/api/homework_commons/${Ge.categoryId}/hack_messages`,{method:"get",params:he(le({},Ge),{type:1})});qe(mt)})}return x.createElement("div",{style:{width:1200,margin:"0px auto"}},x.createElement("div",{style:{marginTop:10,display:"flex"}},x.createElement("div",{style:{flex:1,marginRight:30,background:"#fff"}},x.createElement(pe.default,{tabBarStyle:{padding:"0px 10px"},style:{width:"850px"},tabBarExtraContent:(0,ke.dE)()&&x.createElement(De.ZP,{type:"primary",style:{width:88},onClick:()=>{de.history.push(`/classrooms/${Ge.coursesId}/program_homework/${Ge.categoryId}/answer/add`)}},"\u53D1\u8868\u7B54\u7591 "),onChange:mt=>{mt==="1"?Ge.sort_by="":Ge.sort_by="created_at",He(le({},Ge)),it()}},x.createElement(pe.default.TabPane,{key:"1",tab:"\u6700\u65B0\u56DE\u590D"}),x.createElement(pe.default.TabPane,{key:"2",tab:"\u6700\u65B0\u53D1\u8868"})),((Ae=Ke==null?void 0:Ke.data)==null?void 0:Ae.length)<=0&&x.createElement(We.Z,{customText:"\u6682\u65E0\u8BA8\u8BBA"}),(Ne=Ke==null?void 0:Ke.data)==null?void 0:Ne.map(mt=>x.createElement(y,{item:mt,params:Ge,getdata:it})),x.createElement("div",{style:{width:"100%",textAlign:"center",marginTop:10}},x.createElement(we.Z,{current:Ge.page,pageSize:Ge.per_page,total:Ke==null?void 0:Ke.count,hideOnSinglePage:!0,onChange:(mt,Yt)=>{Ge.page=mt,Ge.per_page=Yt,He(le({},Ge)),it()}}))),x.createElement("div",{className:Me.Z.right,style:{width:300,height:"100%"}},x.createElement("div",{style:{display:"flex"}},x.createElement("div",{style:{flex:1,display:"flex",alignItems:"center"}},x.createElement("span",{style:{marginRight:3,fontSize:20,fontWeight:600,color:"#000"}},"\u5E7F\u64AD"),x.createElement("img",{width:21,src:Te})," "),(0,ke.GJ)()&&x.createElement(De.ZP,{type:"primary",onClick:()=>{de.history.push(`/classrooms/${Ge.coursesId}/program_homework/${Ge.categoryId}/answer/add`)}},"\u53D1\u5E03\u5E7F\u64AD")),((Xe=Ke==null?void 0:Ke.radio_messages)==null?void 0:Xe.length)<=0&&x.createElement(We.Z,null),(Le=Ke==null?void 0:Ke.radio_messages)==null?void 0:Le.map(mt=>x.createElement("div",{onClick:()=>{de.history.push(`/classrooms/${Ge.coursesId}/program_homework/${Ge.categoryId}/answer/${mt.id}/detail`)},style:{marginTop:30,cursor:"pointer"}},x.createElement("div",{className:Me.Z.title,style:{fontSize:"16px",fontWeight:600}},x.createElement("span",{style:{color:(mt==null?void 0:mt.message_type)===2?"#4C7BE6":"#E17E7E"}},(mt==null?void 0:mt.message_type)===2?"\u3010\u9898\u89E3\u3011":"\u3010\u901A\u77E5\u3011"),x.createElement("span",{title:mt.name},mt.name)),x.createElement("div",{style:{marginTop:15,color:"#5F6368"}},"\u53D1\u8868\u4E8E",mt.created_at))))))};var be=(0,de.connect)(({user:ye})=>({user:ye}))(Ce)},42469:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return he}});var x=ee(67294),de={anchorNavigation:"anchorNavigation___qD4R0",tabs:"tabs___hVMvA",box:"box___Qz1lW",head:"head___WZZdl"},pe=Object.defineProperty,De=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,ie=(ve,Ce,be)=>Ce in ve?pe(ve,Ce,{enumerable:!0,configurable:!0,writable:!0,value:be}):ve[Ce]=be,We=(ve,Ce)=>{for(var be in Ce||(Ce={}))we.call(Ce,be)&&ie(ve,be,Ce[be]);if(De)for(var be of De(Ce))ke.call(Ce,be)&&ie(ve,be,Ce[be]);return ve};const Me=ve=>React.createElement("svg",We({width:17,height:18,xmlns:"http://www.w3.org/2000/svg"},ve),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 Te="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIxMDAlIiB5MT0iNTAlIiB4Mj0iMCUiIHkyPSI1MCUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjNUVDN0VBIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMwNTVEMCIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtMSkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZD0ibTQuMzQyIDIuMDA1IDExLjg5NiA3LjEzOGExIDEgMCAwIDEgMCAxLjcxNEw0LjM0MiAxNy45OTVhMSAxIDAgMCAxLTEuMzc4LTEuMzYyTDYuODM0IDEwbC0zLjg3LTYuNjMzYTEgMSAwIDAgMSAxLjM3OC0xLjM2MloiIGZpbGw9InVybCgjYSkiLz48Y2lyY2xlIGZpbGw9IiMzMDYxRDAiIGN4PSIyIiBjeT0iMTAiIHI9IjIiLz48L2c+PC9zdmc+",ze=ee(66368),Be=ee(94184),me=ee.n(Be),oe=ee(67294),a=Object.defineProperty,y=Object.defineProperties,b=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,ne=(ve,Ce,be)=>Ce in ve?a(ve,Ce,{enumerable:!0,configurable:!0,writable:!0,value:be}):ve[Ce]=be,re=(ve,Ce)=>{for(var be in Ce||(Ce={}))z.call(Ce,be)&&ne(ve,be,Ce[be]);if(E)for(var be of E(Ce))te.call(Ce,be)&&ne(ve,be,Ce[be]);return ve},ae=(ve,Ce)=>y(ve,b(Ce)),he=({dataSource:ve,className:Ce,style:be})=>{const[ye,Ae]=(0,x.useState)([]),[Ne,Xe]=(0,x.useState)(""),Le=(0,x.useRef)("");(0,x.useEffect)(()=>{if(ve!=null&&ve.length){const Ke=String(Math.random()).slice(-6),qe=ve.map(it=>ae(re({},it),{key:`${Ke}-${it.key}`}));Ae(qe),Xe(qe[0].key)}},[ve.length]);const Ge=Ke=>{Xe(Ke),Le.current=Ke;const qe=document.getElementById(Ke);if(qe){const it=qe.getBoundingClientRect().top+window.scrollY-50;window.scrollTo({top:it,behavior:"smooth"})}},He=()=>{const Ke=ye.map(it=>document.getElementById(it.key)),qe=window.innerHeight/2;for(const it of Ke)if(it){const mt=it.getBoundingClientRect();if(mt.top>=0&&mt.top<qe){if(Le.current===it.id){Le.current="";return}if(Le.current)return;Xe(it.id);break}}};return(0,x.useEffect)(()=>(window.addEventListener("scroll",He),()=>{window.removeEventListener("scroll",He)}),[ye]),oe.createElement("div",{className:me()(de.anchorNavigation,Ce),style:be},oe.createElement(ze.default,{items:ye,tabBarGutter:60,className:de.tabs,activeKey:Ne,onChange:Ge}),ye.map(Ke=>oe.createElement("div",{key:Ke.key,id:Ke.key,className:de.box},oe.createElement("div",{className:de.head},oe.createElement("img",{className:"mr10",src:Te,alt:"Dot"}),Ke.label),oe.createElement("div",{className:de.element},Ke.element))))}},98595:function(ft,ut,ee){"use strict";var x=ee(67294),de=ee(14446),pe=ee(2453),De=ee(33170),we=ee(35973),ke=Object.defineProperty,ie=Object.getOwnPropertySymbols,We=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,Te=(a,y,b)=>y in a?ke(a,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):a[y]=b,ze=(a,y)=>{for(var b in y||(y={}))We.call(y,b)&&Te(a,b,y[b]);if(ie)for(var b of ie(y))Me.call(y,b)&&Te(a,b,y[b]);return a},Be=(a,y)=>{var b={};for(var E in a)We.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&&Me.call(a,E)&&(b[E]=a[E]);return b},me=(a,y,b)=>new Promise((E,z)=>{var te=ae=>{try{re(b.next(ae))}catch(le){z(le)}},ne=ae=>{try{re(b.throw(ae))}catch(le){z(le)}},re=ae=>ae.done?E(ae.value):Promise.resolve(ae.value).then(te,ne);re((b=b.apply(a,y)).next())});const oe=a=>{var y=a,{shixunHomeworks:b,dispatch:E}=y,z=Be(y,["shixunHomeworks","dispatch"]);const te=(0,we.useParams)();return x.createElement(de.default,{centered:!0,title:"\u63D0\u793A",open:b.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>me(void 0,null,function*(){(yield(0,De.ZP)(`/api/myshixuns/${b.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:te.coursesId}})).shixun_identifier&&(pe.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:{}})}},x.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),x.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};ut.Z=(0,we.connect)(({shixunHomeworks:a})=>({shixunHomeworks:a}))(oe)},96469:function(ft,ut,ee){"use strict";ee.d(ut,{n:function(){return yt},Z:function(){return Pn}});var x=ee(67294),de=ee(22150),pe=ee(2453),De=ee(83062),we=ee(14446),ke=ee(68508),ie=ee(84567),We=ee(71230),Me=ee(15746),Te=ee(69677),ze=ee(71577),Be=ee(85418),me=ee(9430),oe=ee(78045),a=ee(31795),y=ee(28452),b=ee(42922),E=ee(53978),z=ee(33863),te=ee(33463),ne=ee(26194),re=ee(28706),ae=ee(98595),le=ee(87995),he=ee(33170),ve=ee(35973),Ce=Object.defineProperty,be=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,Ne=(Nt,Tt,St)=>Tt in Nt?Ce(Nt,Tt,{enumerable:!0,configurable:!0,writable:!0,value:St}):Nt[Tt]=St,Xe=(Nt,Tt)=>{for(var St in Tt||(Tt={}))ye.call(Tt,St)&&Ne(Nt,St,Tt[St]);if(be)for(var St of be(Tt))Ae.call(Tt,St)&&Ne(Nt,St,Tt[St]);return Nt},Le=(Nt,Tt)=>{var St={};for(var tn in Nt)ye.call(Nt,tn)&&Tt.indexOf(tn)<0&&(St[tn]=Nt[tn]);if(Nt!=null&&be)for(var tn of be(Nt))Tt.indexOf(tn)<0&&Ae.call(Nt,tn)&&(St[tn]=Nt[tn]);return St},Ge=(Nt,Tt,St)=>new Promise((tn,Kt)=>{var mn=Wn=>{try{wn(St.next(Wn))}catch(ma){Kt(ma)}},Qn=Wn=>{try{wn(St.throw(Wn))}catch(ma){Kt(ma)}},wn=Wn=>Wn.done?tn(Wn.value):Promise.resolve(Wn.value).then(mn,Qn);wn((St=St.apply(Nt,Tt)).next())});const He=Nt=>{var Tt=Nt,{shixunHomeworks:St,dispatch:tn}=Tt,Kt=Le(Tt,["shixunHomeworks","dispatch"]);const mn=(0,ve.useParams)(),[Qn,wn]=(0,x.useState)(!0),[Wn,ma]=(0,x.useState)(!1),[_t]=de.default.useForm(),Vt=()=>Ge(void 0,null,function*(){const en=_t.getFieldValue();(yield(0,he.ZP)(`/api/homework_commons/${mn.categoryId}/batch_comment.json`,{method:"post",body:{student_work_ids:[...St.actionTabs.selectArrs],cover_all:Qn,hidden_comment:en.hidden_comment,comment:en.comment}})).status===0&&(pe.ZP.success("\u8BC4\u9605\u6210\u529F"),_t.resetFields(),tn({type:"shixunHomeworks/setActionTabs",payload:{}}),tn({type:"shixunHomeworks/getWorkList",payload:Xe({},St.actionTabs.params)}))});return x.createElement(x.Fragment,null,x.createElement(we.default,{centered:!0,title:"\u4E00\u952E\u70B9\u8BC4",open:St.actionTabs.key==="\u4E00\u952E\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Ge(void 0,null,function*(){const en=_t.getFieldValue();JSON.stringify(en)==="{}"||en.hidden_comment===""&&en.comment===""?ma(!0):St.workList.partial_comment?tn({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4E00\u952E\u70B9\u8BC4\u786E\u8BA4",selectArrs:St.actionTabs.selectArrs,params:St.actionTabs.params}}):Vt()}),onCancel:()=>{tn({type:"shixunHomeworks/setActionTabs",payload:{}})}},x.createElement(de.default,{form:_t,onChange:()=>{Wn&&ma(!1)}},x.createElement("p",null,"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),x.createElement(de.default.Item,{name:"comment"},x.createElement(Te.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8})),x.createElement("p",null,"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),x.createElement(de.default.Item,{name:"hidden_comment"},x.createElement(Te.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8}))),Wn&&x.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A")),x.createElement(we.default,{centered:!0,title:x.createElement("span",null,x.createElement(le.Z,{className:"c-orange mr20"}),"\u63D0\u793A"),open:St.actionTabs.key==="\u4E00\u952E\u70B9\u8BC4\u786E\u8BA4",okText:"\u786E\u5B9A\u70B9\u8BC4",cancelText:"\u653E\u5F03\u70B9\u8BC4",onOk:()=>{Vt()},onCancel:()=>{tn({type:"shixunHomeworks/setActionTabs",payload:{}})},width:400},x.createElement("div",{className:"tc"},x.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"),x.createElement("p",null,x.createElement(oe.ZP.Group,{onChange:en=>{wn(en.target.value)},value:Qn},x.createElement(oe.ZP,{value:!0},"\u8986\u76D6\u5DF2\u6709\u70B9\u8BC4"),x.createElement(oe.ZP,{value:!1},"\u8DF3\u8FC7\u5DF2\u6709\u70B9\u8BC4"))))))};var Ke=(0,ve.connect)(({shixunHomeworks:Nt})=>({shixunHomeworks:Nt}))(He),qe=ee(86763),it=ee(52262),mt={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"},Yt=Object.getOwnPropertySymbols,cn=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable,Pt=(Nt,Tt)=>{var St={};for(var tn in Nt)cn.call(Nt,tn)&&Tt.indexOf(tn)<0&&(St[tn]=Nt[tn]);if(Nt!=null&&Yt)for(var tn of Yt(Nt))Tt.indexOf(tn)<0&&rt.call(Nt,tn)&&(St[tn]=Nt[tn]);return St},Lt=(Nt,Tt,St)=>new Promise((tn,Kt)=>{var mn=Wn=>{try{wn(St.next(Wn))}catch(ma){Kt(ma)}},Qn=Wn=>{try{wn(St.throw(Wn))}catch(ma){Kt(ma)}},wn=Wn=>Wn.done?tn(Wn.value):Promise.resolve(Wn.value).then(mn,Qn);wn((St=St.apply(Nt,Tt)).next())});const ct=Nt=>{var Tt=Nt,{shixunHomeworks:St,dispatch:tn}=Tt,Kt=Pt(Tt,["shixunHomeworks","dispatch"]),mn,Qn,wn,Wn;const ma=(0,ve.useParams)(),[_t,Vt]=(0,x.useState)(!1),[en,la]=(0,x.useState)((Qn=(mn=St.actionTabs.selectArrs)==null?void 0:mn.data)==null?void 0:Qn.name),[aa]=de.default.useForm();(0,x.useEffect)(()=>{var Oa,Ia,vr,zr,La,Je;St.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&aa.setFieldsValue({comment:(Ia=(Oa=St.actionTabs.selectArrs)==null?void 0:Oa.data)==null?void 0:Ia.work_comment,hidden_comment:(zr=(vr=St.actionTabs.selectArrs)==null?void 0:vr.data)==null?void 0:zr.work_comment_hidden}),la((Je=(La=St.actionTabs.selectArrs)==null?void 0:La.data)==null?void 0:Je.name)},[St.actionTabs.key]);const jn=()=>Lt(void 0,null,function*(){var Oa,Ia;const vr=aa.getFieldValue();if((yield(0,he.ZP)(`/api/student_works/${(Ia=(Oa=St.actionTabs.selectArrs)==null?void 0:Oa.data)==null?void 0:Ia.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:vr.hidden_comment,comment:vr.comment}})).status===0)return pe.ZP.success("\u8BC4\u9605\u6210\u529F"),aa.resetFields(),tn({type:"shixunHomeworks/setActionTabs",payload:{}}),tn({type:"shixunHomeworks/getWorkList",payload:ma})});return x.createElement(x.Fragment,null,x.createElement(we.default,{centered:!0,title:(Wn=(wn=St.actionTabs.selectArrs)==null?void 0:wn.data)!=null&&Wn.work_comment_hidden?"\u66F4\u6539"+en+"\u70B9\u8BC4":en+"\u70B9\u8BC4",open:St.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Lt(void 0,null,function*(){const Oa=aa.getFieldValue();JSON.stringify(Oa)==="{}"||Oa.hidden_comment===""&&Oa.comment===""?Vt(!0):jn()}),onCancel:()=>{tn({type:"shixunHomeworks/setActionTabs",payload:{}})}},x.createElement(de.default,{form:aa,onChange:()=>{_t&&Vt(!1)}},x.createElement("p",null,"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),x.createElement(de.default.Item,{name:"comment"},x.createElement(Te.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8})),x.createElement("p",null,"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),x.createElement(de.default.Item,{name:"hidden_comment"},x.createElement(Te.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8}))),_t&&x.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A")))};var Ft=(0,ve.connect)(({shixunHomeworks:Nt})=>({shixunHomeworks:Nt}))(ct),jt=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,En=Object.prototype.propertyIsEnumerable,Fn=(Nt,Tt)=>{var St={};for(var tn in Nt)_e.call(Nt,tn)&&Tt.indexOf(tn)<0&&(St[tn]=Nt[tn]);if(Nt!=null&&jt)for(var tn of jt(Nt))Tt.indexOf(tn)<0&&En.call(Nt,tn)&&(St[tn]=Nt[tn]);return St},ha=(Nt,Tt,St)=>new Promise((tn,Kt)=>{var mn=Wn=>{try{wn(St.next(Wn))}catch(ma){Kt(ma)}},Qn=Wn=>{try{wn(St.throw(Wn))}catch(ma){Kt(ma)}},wn=Wn=>Wn.done?tn(Wn.value):Promise.resolve(Wn.value).then(mn,Qn);wn((St=St.apply(Nt,Tt)).next())});const In=Nt=>{var Tt=Nt,{shixunHomeworks:St,dispatch:tn}=Tt,Kt=Fn(Tt,["shixunHomeworks","dispatch"]);const mn=(0,ve.useParams)(),[Qn,wn]=(0,x.useState)([]),[Wn,ma]=(0,x.useState)([]);(0,x.useEffect)(()=>{St.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B"&&_t()},[St.actionTabs.key]);function _t(){return ha(this,null,function*(){const en=yield(0,he.ZP)(`/api/homework_commons/${mn.categoryId}/code_quality_analyses/group_list.json`,{method:"GET",params:{page:1,limit:200}});wn(en)})}const Vt=[{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 x.createElement(x.Fragment,null,x.createElement(we.default,{centered:!0,title:"\u4EE3\u7801\u8D28\u91CF\u8BC4\u5206",open:St.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B",width:700,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ha(void 0,null,function*(){const en=yield(0,he.ZP)(`/api/homework_commons/${mn.categoryId}/code_quality_analyses.json`,{method:"POST",body:{group_ids:Wn}});(en==null?void 0:en.status)===0&&(ve.history.replace(`/classrooms/${mn.coursesId}/shixun_homework/${mn.categoryId}/detail?tabs=4`),window.location.reload(),tn({type:"shixunHomeworks/setActionTabs",payload:{}}),ma([]))}),onCancel:()=>{ma([]),tn({type:"shixunHomeworks/setActionTabs",payload:{}})}},x.createElement(me.default,{rowSelection:{type:"checkbox",onChange:(en,la)=>{ma([...en])},selectedRowKeys:Wn,getCheckboxProps:en=>({disabled:en.status==="\u8FDB\u884C\u4E2D"||en.works_count===0})},rowKey:en=>en.key||en.id,scroll:{y:300},pagination:!1,columns:Vt,dataSource:Qn==null?void 0:Qn.group_list})))};var at=(0,ve.connect)(({shixunHomeworks:Nt})=>({shixunHomeworks:Nt}))(In),lt=ee(35567),dt=ee(98769),At=Object.defineProperty,Et=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,Xt=Object.prototype.propertyIsEnumerable,Ot=(Nt,Tt,St)=>Tt in Nt?At(Nt,Tt,{enumerable:!0,configurable:!0,writable:!0,value:St}):Nt[Tt]=St,bt=(Nt,Tt)=>{for(var St in Tt||(Tt={}))gt.call(Tt,St)&&Ot(Nt,St,Tt[St]);if(Et)for(var St of Et(Tt))Xt.call(Tt,St)&&Ot(Nt,St,Tt[St]);return Nt},on=(Nt,Tt,St)=>new Promise((tn,Kt)=>{var mn=Wn=>{try{wn(St.next(Wn))}catch(ma){Kt(ma)}},Qn=Wn=>{try{wn(St.throw(Wn))}catch(ma){Kt(ma)}},wn=Wn=>Wn.done?tn(Wn.value):Promise.resolve(Wn.value).then(mn,Qn);wn((St=St.apply(Nt,Tt)).next())});const Jt=({shixunHomeworks:Nt,dispatch:Tt,isShow:St,setIsShow:tn,item:Kt,coursesId:mn,categoryId:Qn})=>{const[wn,Wn]=(0,x.useState)({page:1,limit:10}),[ma,_t]=(0,x.useState)([]),[Vt,en]=(0,x.useState)(!1);(0,x.useEffect)(()=>{St&&la()},[St]);function la(){return on(this,null,function*(){en(!0);const jn=yield(0,he.ZP)(`/api/student_works/${Kt.id}/game_details.json`,{method:"get",params:bt({},wn)});en(!1),jn.status===0&&_t(jn==null?void 0:jn.data)})}const aa=[{title:"\u5E8F\u53F7",dataIndex:"number",width:50,fixed:"left",ellipsis:!0,render:(jn,Oa,Ia)=>x.createElement("span",{style:{color:"#000"}},wn.limit*(wn.page-1)+Ia+1)},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",ellipsis:!0,render:(jn,Oa,Ia)=>x.createElement("span",{style:{color:"#000"}},jn)},{title:"\u901A\u5173\u8BE6\u60C5",dataIndex:"complete_status",key:"complete_status",ellipsis:!0,width:100,render:(jn,Oa,Ia)=>x.createElement("span",null,jn==0?"\u672A\u901A\u5173":jn==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:(jn,Oa,Ia)=>x.createElement("span",{style:{color:"#333"}},jn)},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming",key:"time_consuming",width:120,ellipsis:!0,render:(jn,Oa,Ia)=>x.createElement("span",{style:{color:"#333"}},jn)}];return x.createElement(x.Fragment,null,x.createElement(we.default,{centered:!0,title:"\u901A\u5173\u60C5\u51B5",open:St,width:700,footer:null,maskClosable:!1,onCancel:()=>{wn.page=1,wn.limit=10,Wn(bt({},wn)),tn(!1)}},x.createElement("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",marginBottom:"20px"}},x.createElement("div",{style:{maxWidth:"200px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},x.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u5B66\u751F\u59D3\u540D"),x.createElement("span",{title:Kt==null?void 0:Kt.user_name,style:{color:"#232B40"}},Kt==null?void 0:Kt.user_name)),x.createElement("div",{style:{marginLeft:"50px",marginRight:"50px",maxWidth:"180px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},x.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u5B66\u53F7"),x.createElement("span",{title:Kt==null?void 0:Kt.student_id,style:{color:"#232B40"}},(Kt==null?void 0:Kt.student_id)||"--")),x.createElement("div",{style:{maxWidth:"200px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},x.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u73ED\u7EA7"),x.createElement("span",{title:Kt==null?void 0:Kt.group_name,style:{color:"#232B40"}},(Kt==null?void 0:Kt.group_name)||"--"))),x.createElement(me.default,{scroll:{y:380},columns:aa,loading:Vt,style:{marginBottom:wn.limit>(ma==null?void 0:ma.count)?"16px":"0"},dataSource:ma.games,pagination:{size:"default",showQuickJumper:!0,showSizeChanger:!0,pageSizeOptions:["10","15","50","100","200"],hideOnSinglePage:!0,pageSize:wn.limit,current:wn.page,position:["bottomRight"],onChange:(jn,Oa)=>{wn.page=jn,wn.limit=Oa,Wn(bt({},wn)),la()},total:ma==null?void 0:ma.count,showTotal:(jn,Oa)=>x.createElement("span",null,"\u5171",x.createElement("span",{style:{color:"#165DFF"}}," ",jn," "),"\u6761\u6570\u636E")}})))};var $e=(0,ve.connect)(({shixunHomeworks:Nt})=>({shixunHomeworks:Nt}))(Jt),Re=ee(67294),Nn=Object.defineProperty,xe=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable,et=(Nt,Tt,St)=>Tt in Nt?Nn(Nt,Tt,{enumerable:!0,configurable:!0,writable:!0,value:St}):Nt[Tt]=St,Ue=(Nt,Tt)=>{for(var St in Tt||(Tt={}))je.call(Tt,St)&&et(Nt,St,Tt[St]);if(xe)for(var St of xe(Tt))Ht.call(Tt,St)&&et(Nt,St,Tt[St]);return Nt},Ct=(Nt,Tt,St)=>new Promise((tn,Kt)=>{var mn=Wn=>{try{wn(St.next(Wn))}catch(ma){Kt(ma)}},Qn=Wn=>{try{wn(St.throw(Wn))}catch(ma){Kt(ma)}},wn=Wn=>Wn.done?tn(Wn.value):Promise.resolve(Wn.value).then(mn,Qn);wn((St=St.apply(Nt,Tt)).next())});const yt=({value:Nt,placeholder:Tt=""})=>{if(Nt==null||Nt==="")return Re.createElement("span",null,Tt);{const St=Number(Nt);if(St>=80)return Re.createElement("span",{style:{color:"#009C0F"}},St);if(St<80&&St>=60)return Re.createElement("span",{style:{color:"#FA6400"}},St);if(St<60)return Re.createElement("span",{style:{color:"#E30000"}},St)}},kt=({shixunHomeworks:Nt,classroomList:Tt,globalSetting:St,loading:tn,dispatch:Kt,setExportParams:mn,user:Qn})=>{var wn,Wn,ma,_t,Vt,en,la,aa,jn,Oa,Ia,vr,zr;const La=(0,ve.useParams)(),[Je,Bt]=(0,x.useState)(Ue(Ue({},{page:1,limit:20,order:"work_score",b_order:"desc"}),La)),[xt]=de.default.useForm(),[Tn,pn]=(0,x.useState)(),[_n,Xr]=(0,x.useState)({}),[Ta,Cr]=(0,x.useState)([]),[Yr,co]=(0,x.useState)(!1),[Xn,ur]=(0,x.useState)([]),[pt,qt]=(0,x.useState)(!1),[Ut,dn]=(0,x.useState)(),[Gn,nn]=(0,x.useState)(1),[Vn,Cn]=(0,x.useState)(),[ia,Za]=(0,x.useState)(),[ir,Nr]=(0,x.useState)(),[Hr,Ln]=(0,x.useState)(),[_o,Io]=(0,x.useState)(),[Sr,wo]=(0,x.useState)(!1),[ua,Ra]=(0,x.useState)(!1),[mr,Yn]=(0,x.useState)(),$r=(0,ve.useLocation)();(0,x.useEffect)(()=>(Or(),()=>{Xr([]),Cr([])}),[Je.coursesId]),(0,x.useEffect)(()=>{var kn;const Ea=JSON.parse(JSON.stringify(Nt.workList));!((kn=Ea==null?void 0:Ea.student_works)!=null&&kn.length)&&(Ea!=null&&Ea.id)?(Ea.student_works=[Ue({},Ea)],Xr(Ea)):(Ea!=null&&Ea.id&&Cr([Ue(Ue({},Ea),{number:"\u6211"})]),Xr(Ue({},Ea)))},[Nt.workList]);const Or=kn=>(mn(Ue({},Je)),Kt({type:"shixunHomeworks/getWorkList",payload:Je}));(0,x.useEffect)(()=>{Kt({type:"user/getUserInfo",payload:{course_id:Je.coursesId}})},[]);const Wo=()=>Ct(void 0,null,function*(){const kn=yield(0,qe.Uc)({categoryId:La.categoryId});pn(kn==null?void 0:kn.update_score)}),Fo=()=>Ct(void 0,null,function*(){Kt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6210\u7EE9\u8BA1\u7B97\u4E2D\uFF0C\u8BF7\u7A0D\u5019..."}});const kn=yield(0,qe.Vs)({categoryId:La.categoryId});Kt({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(kn==null?void 0:kn.status)===0&&(pe.ZP.success(kn==null?void 0:kn.message),Or())}),ko=()=>{Je.page=1;const kn=Object.assign({},xt.getFieldsValue());delete Je.course_group,delete Je.teacher_comment,Object.keys(kn).map(function(Ea){var io;switch(Ea){case"task_status":kn[Ea].includes("all")||!kn[Ea].length?(delete Je.work_status,xt.setFieldsValue({task_status:"all"})):(Je.work_status=kn[Ea],xt.setFieldsValue({task_status:Je.work_status}));break;case"course_group_info":kn[Ea].includes("all")||!kn[Ea].length?(delete Je.course_group,xt.setFieldsValue({course_group_info:"all"})):(Je.course_group=kn[Ea],xt.setFieldsValue({course_group_info:Je.course_group}));break;case"teacher_comment":kn[Ea].includes("all")||!kn[Ea].length?(delete Je.teacher_comment,xt.setFieldsValue({teacher_comment:"all"})):(Je.teacher_comment=((io=kn[Ea])==null?void 0:io.length)===1?Number(kn[Ea][0]):"",xt.setFieldsValue({teacher_comment:kn[Ea]}));break}}),Or()};(0,x.useEffect)(()=>{document.getElementById("divhe")&&document.getElementById("divhe").scrollHeight>47&&(Io(47),wo(!0))},[document.getElementById("divhe")]);const Gi=(kn,Ea)=>{Je.page=kn,Je.limit=20,Or()};function Jo(){nn(1),Cn(""),Za(""),Nr(""),Ln(""),ur([])}const nl=[{title:"\u5E8F\u53F7",dataIndex:"number",align:"center",width:50,fixed:"left",ellipsis:!0,render:(kn,Ea,io)=>Je.limit*(Je.page-1)+io+1},{title:"\u59D3\u540D",dataIndex:"user_name",align:"center",width:110,fixed:"left",ellipsis:!0,render:kn=>Re.createElement(De.Z,{placement:"bottomLeft",title:kn},Re.createElement("span",{className:"current"},kn))},!(0,it.Jd)()&&{title:"\u5B66\u53F7",dataIndex:"student_id",align:"center",sorter:!0,fixed:"left",width:100,ellipsis:!0,showSorterTooltip:!1,sortOrder:Je.order==="student_id"?Je.b_order==="desc"?"descend":"ascend":null,render:kn=>Re.createElement(De.Z,{placement:"bottomLeft",title:kn||"--"},Re.createElement("span",{className:"current"},kn||"--"))},{title:"\u5206\u73ED",dataIndex:"group_name",align:"center",width:100,fixed:"left",ellipsis:!0,render:(kn,Ea)=>kn?Re.createElement(De.Z,{placement:"bottom",title:kn},Re.createElement("span",{className:"current"},kn)):"--"},{title:"\u4F5C\u4E1A\u72B6\u6001",dataIndex:"work_status",align:"center",width:94,ellipsis:!0,fixed:"left",sorter:!0,showSorterTooltip:!1,sortOrder:Je.order==="work_status"?Je.b_order==="desc"?"descend":"ascend":null,render:kn=>Re.createElement(re.lC,{status:kn})},{title:"\u5B8C\u6210\u65F6\u95F4",align:"center",dataIndex:"achieve_time",ellipsis:!0,sorter:!0,sortOrder:Je.order==="achieve_time"?Je.b_order==="desc"?"descend":"ascend":null,render:(kn,Ea)=>Re.createElement(De.Z,{placement:"bottomLeft",title:kn},Re.createElement("span",{className:"current"},kn))},{title:"\u901A\u8FC7\u60C5\u51B5",align:"center",dataIndex:"achieve_info",ellipsis:!0,render:(kn,Ea)=>Re.createElement("span",{onClick:io=>{var Ho;io.stopPropagation(),(Ho=_n.homework_status)!=null&&Ho.includes("\u5BFC\u5165")&&(Yn(Ea),Ra(!0))}},kn||"- -")},{title:"\u6700\u7EC8\u6210\u7EE9",align:"center",dataIndex:"score",ellipsis:!0,sorter:!0,sortOrder:Je.order==="work_score"?Je.b_order==="desc"?"descend":"ascend":null,render:(kn,Ea)=>Re.createElement(De.Z,{title:Re.createElement(Re.Fragment,null,Re.createElement("div",null,"\u8BD5\u9898\u5F97\u5206\uFF1A",(Ea==null?void 0:Ea.late_final_score)||0),Re.createElement("div",null,"\u8865\u4EA4\u6263\u5206\uFF1A",(Ea==null?void 0:Ea.late_penalty)||0),Re.createElement("div",null,"\u6700\u7EC8\u6210\u7EE9\uFF1A",(Ea==null?void 0:Ea.score)||0))},yt({value:kn,placeholder:"- -"}))},{title:"\u5B8C\u6210\u65F6\u957F",dataIndex:"achieve_time_long",align:"center",sorter:!0,ellipsis:!0,sortOrder:Je.order==="achieve_time_long"?Je.b_order==="desc"?"descend":"ascend":null,render:(kn,Ea)=>kn&&kn!="--"?Re.createElement(De.Z,{placement:"bottom",title:kn},Re.createElement("span",{className:"current"},kn)):"--"},((wn=_n.homework_status)==null?void 0:wn.includes("\u5BFC\u5165"))&&{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"sum_evaluate_count",align:"center"},!((Wn=_n.homework_status)!=null&&Wn.includes("\u5BFC\u5165"))&&{title:Re.createElement("span",null,"\u8BC4\u9605\u72B6\u6001"),align:"center",dataIndex:"has_comment",fixed:"right",ellipsis:!0,render:kn=>kn?"\u5DF2\u8BC4\u9605":"\u672A\u8BC4\u9605"},{title:"\u64CD\u4F5C",dataInex:"action",align:"center",fixed:"right",ellipsis:!0,className:"workListTable",render:(kn,Ea)=>{var io;return(io=_n.homework_status)!=null&&io.includes("\u5BFC\u5165")?(0,it.GJ)()?Re.createElement("a",{onClick:Ho=>{Ho.stopPropagation(),Kt({type:"classroomList/setActionTabs",payload:{key:"\u4FEE\u6539\u6210\u7EE9",id:Ea==null?void 0:Ea.id,type:"normal"}})}},"\u4FEE\u6539\u6210\u7EE9"):Re.createElement("a",{onClick:Ho=>{Ho.stopPropagation(),Yn(Ea),Ra(!0)}},"\u67E5\u770B"):(0,it.dE)()?Re.createElement("div",null,(0,re.JL)(Ea==null?void 0:Ea.work_status)==="\u672A\u5F00\u542F"?Re.createElement("span",null,"--"):Re.createElement("a",{onClick:Ho=>{var xi;if(Ho.stopPropagation(),(0,it.Rm)()&&!((xi=Tt.AssistantObject.hack)!=null&&xi.can_view)){pe.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/${Je.coursesId}/program_homework/${Je.categoryId}/${Ea.id}/${Ea.user_id}/comment`,"_blank")}},"\u67E5\u770B")):Re.createElement("a",{target:"_blank",onClick:Ho=>{var xi,ri;if(Ho.stopPropagation(),(0,it.Rm)()&&!((xi=Tt.AssistantObject.hack)!=null&&xi.can_view)){pe.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((ri=Qn.userInfo)!=null&&ri.professional_certification)window.open(`/classrooms/${Je.coursesId}/program_homework/${Je.categoryId}/${Ea.id}/${Ea.user_id}/comment`,"_blank");else return we.default.confirm({title:"\u63D0\u793A",centered:!0,content:Re.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,re.xg)("/account/certification")}}),!1}},"\u67E5\u770B\u4F5C\u4E1A")}}].filter(kn=>!!kn),al=()=>{var kn,Ea;return Re.createElement(ke.default,null,Re.createElement(ke.default.Item,{onClick:()=>{var io;if((0,it.Rm)()&&!((io=Tt.AssistantObject.hack)!=null&&io.can_download)){pe.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}Kt({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u5B66\u751F\u6210\u7EE9",course_groups:_n==null?void 0:_n.course_group_info,fn:()=>{(0,dt.Iy)(JSON.parse(sessionStorage.all_student_works_params),"hack_work_list")}}})},key:"1"},"\u5B66\u751F\u6210\u7EE9"),(0,it.GJ)()&&((kn=_n==null?void 0:_n.student_works)==null?void 0:kn.length)>0&&!((Ea=_n==null?void 0:_n.homework_status)!=null&&Ea.includes("\u5BFC\u5165"))&&Re.createElement(ke.default.Item,{key:"3",onClick:()=>{var io;if((0,it.Rm)()&&!((io=Tt.AssistantObject.hack)!=null&&io.can_download)){pe.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}Kt({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A",course_groups:_n==null?void 0:_n.course_group_info,fn:()=>{var Ho,xi,ri,oi;Kt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A",type:2}}),localStorage.setItem("dowolders","1"),ve.history.push(`/classrooms/${Je==null?void 0:Je.coursesId}/program_homework/${Je.categoryId}/${(xi=(Ho=_n==null?void 0:_n.student_works)==null?void 0:Ho[0])==null?void 0:xi.id}/${(oi=(ri=_n==null?void 0:_n.student_works)==null?void 0:ri[0])==null?void 0:oi.user_id}/comment`)}}})}},"\u7F16\u7A0B\u62A5\u544A"),Re.createElement(ke.default.Item,{key:"2",onClick:()=>{var io;if((0,it.Rm)()&&!((io=Tt.AssistantObject.hack)!=null&&io.can_download)){pe.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}ve.history.push(`/classrooms/${Je.coursesId}/exportlist/hack_work_list`)}},"\u5386\u53F2\u5BFC\u51FA"))};return Re.createElement(Re.Fragment,null,Re.createElement("section",{className:`${mt.wrap} minH500 bg-white pl30 pr30 pt30`},((ma=_n.homework_status)==null?void 0:ma.includes("\u672A\u53D1\u5E03"))&&Re.createElement(ne.Z,null),!((_t=_n.homework_status)!=null&&_t.includes("\u672A\u53D1\u5E03"))&&Re.createElement("aside",null,!(0,it.GJ)()&&Re.createElement("div",{className:"c-light-black font12"},Re.createElement("span",null,"\u53D1\u5E03\u65F6\u95F4 ",_n==null?void 0:_n.publish_time),Re.createElement("span",{className:"ml5"},"\u622A\u6B62\u65F6\u95F4 ",_n==null?void 0:_n.end_time),Re.createElement("span",{className:"ml5"},"\u8865\u4EA4\u65F6\u95F4 ",(_n==null?void 0:_n.late_time)||"- -")),(0,it.GJ)()&&Re.createElement(Re.Fragment,null,Re.createElement(de.default,{form:xt,onChange:ko,initialValues:{task_status:"all",course_group_info:"all",teacher_comment:"all"}},((Vt=_n.task_status)==null?void 0:Vt.length)>0&&Re.createElement(de.default.Item,{name:"task_status"},Re.createElement(ie.default.Group,{value:[],style:{width:"100%"}},Re.createElement(We.Z,null,Re.createElement(Me.Z,{className:"font14",flex:"80px"},"\u4F5C\u4E1A\u72B6\u6001:"),Re.createElement(Me.Z,{flex:"80px"},Re.createElement(ie.default,{value:"all"},"\u5168\u90E8")),Re.createElement(Me.Z,{flex:"1"},_n.task_status&&_n.task_status.map((kn,Ea)=>Re.createElement(ie.default,{name:"task_status",value:kn.id},kn.name,"(",kn.count,")")))))),((en=_n.course_group_info)==null?void 0:en.length)>0&&Re.createElement(de.default.Item,{name:"course_group_info"},Re.createElement(ie.default.Group,{style:{width:"100%"}},Re.createElement(We.Z,null,Re.createElement(Me.Z,{className:"font14",flex:"80px"},"\u5206\u73ED\u60C5\u51B5:"),Re.createElement(Me.Z,{flex:"80px"},Re.createElement(ie.default,{value:"all"},"\u5168\u90E8")),Re.createElement(Me.Z,{flex:"1",id:"divhe",style:{height:_o+"px",overflow:"hidden"}},(la=_n.course_group_info)==null?void 0:la.map((kn,Ea)=>Re.createElement(ie.default,{value:kn.course_group_id},kn.group_group_name,"(",kn.count,")"))),Sr&&Re.createElement("span",{onClick:()=>{let kn=document.getElementById("divhe").scrollHeight;_o>47?Io(47):Io(kn)},style:{color:"rgb(76, 172, 255)",cursor:"pointer",alignItems:"flex-end",display:"flex"}},_o===47?"\u5C55\u5F00":"\u6536\u8D77",_o===47?Re.createElement(b.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}):Re.createElement(E.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}))))),((aa=_n.teacher_comment)==null?void 0:aa.length)>0&&Re.createElement(de.default.Item,{name:"teacher_comment"},Re.createElement(ie.default.Group,{style:{width:"100%"}},Re.createElement(We.Z,null,Re.createElement(Me.Z,{className:"font14",flex:"80px"},"\u8FFD\u52A0\u70B9\u8BC4:"),Re.createElement(Me.Z,{flex:"80px"},Re.createElement(ie.default,{value:"all"},"\u5168\u90E8")),Re.createElement(Me.Z,{flex:"1"},_n.teacher_comment&&_n.teacher_comment.map((kn,Ea)=>Re.createElement(ie.default,{value:String(kn.id)},kn.name,"(",kn.count,")"))))))),Re.createElement(We.Z,{align:"middle"},Re.createElement(Me.Z,{flex:"1"},Re.createElement(We.Z,{align:"middle"},Re.createElement(Me.Z,null,Re.createElement(Te.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:kn=>{Je.search=kn.trim(),Je.page=1,Or()},style:{width:240}})),Re.createElement(Me.Z,null,Re.createElement("span",{className:"ml5"},Re.createElement("span",{className:"c-red"},_n.work_count),"\u4E2A\u68C0\u7D22\u7ED3\u679C\uFF08",_n.work_count,"\u4E2A\u5B66\u751F\uFF09")))),Re.createElement(Me.Z,null,(0,it.GJ)()&&!((jn=_n.homework_status)!=null&&jn.includes("\u5BFC\u5165"))&&!((Oa=St==null?void 0:St.setting)!=null&&Oa.hide_code_repeat)&&Re.createElement(ze.ZP,{className:"ml10",onClick:()=>{Kt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",selectArrs:_n.student_works.map(kn=>kn.id),params:Je}})}},Re.createElement("span",{className:`${mt.tr1} iconfont icon-daimachazhong`}),"\u4EE3\u7801\u67E5\u91CD"),(0,it.GJ)()&&!((Ia=_n.homework_status)!=null&&Ia.includes("\u5BFC\u5165"))&&Re.createElement(ze.ZP,{className:"ml10",onClick:Fo},Re.createElement("i",{className:"iconfont icon-gengxinchengji font14 pr5"}),"\u66F4\u65B0\u6210\u7EE9"),(0,it.GJ)()&&Re.createElement(Be.Z,{dropdownRender:al,className:"ml10"},Re.createElement(ze.ZP,null,Re.createElement(z.Z,null),"\u5BFC\u51FA",Re.createElement(te.Z,null)))))),Re.createElement(We.Z,{style:{justifyContent:"end",marginTop:"5px"}},(0,it.GJ)()&&Tn&&Re.createElement("span",null,Re.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")),Re.createElement(me.default,{className:`mt30 ${mt.TableDom}`,loading:tn["shixunHomeworks/getWorkList"],pagination:!1,style:{cursor:"pointer"},onRow:kn=>({onClick:Ea=>{var io,Ho;if(!((io=_n.homework_status)!=null&&io.includes("\u5BFC\u5165"))){if((0,it.Rm)()&&!((Ho=Tt.AssistantObject.hack)!=null&&Ho.can_view)){pe.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/${Je.coursesId}/program_homework/${Je.categoryId}/${kn.id}/${kn.user_id}/comment`,"_blank")}}}),scroll:{x:1200},dataSource:_n.student_works,columns:nl,onChange:(kn,Ea,io)=>{io.field&&(Je.order=io.field==="score"?"work_score":io.field),io.order||(Je.b_order="asc"),io.order==="ascend"&&(Je.b_order="asc"),io.order==="descend"&&(Je.b_order="desc"),io.order||(Je.b_order="asc"),Or()}}),Re.createElement(Ke,null),Re.createElement(Ft,null),Re.createElement(ae.Z,null)),Re.createElement(we.default,{title:"\u4E00\u952E\u6253\u56DE\u91CD\u505A",open:Yr,centered:!0,destroyOnClose:!0,forceRender:!0,width:700,onOk:()=>Ct(void 0,null,function*(){if(Gn===2){if(Xn.length<=0){pe.ZP.info("\u8BF7\u9009\u62E9\u4F5C\u4E1A\u72B6\u6001");return}if(!Hr){pe.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let kn=yield(0,he.ZP)(`/api/homework_commons/${Je.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:Je.categoryId,comment:Hr,status:Xn}});kn.status===0&&(dn(kn),co(!1),qt(!0))}else{if(!(ir===0||ia===0)){if(!ir){pe.ZP.info("\u6700\u4F4E\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}if(!ia){pe.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}}if(ir>ia){pe.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u5927\u4E8E\u6700\u4F4E\u5206");return}if(!Hr){pe.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let kn=yield(0,he.ZP)(`/api/homework_commons/${Je.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:Je.categoryId,comment:Hr,min_score:ir,max_score:ia}});kn.status===0&&(dn(kn),co(!1),qt(!0))}}),onCancel:()=>{co(!1),Jo()}},Re.createElement("div",{style:{padding:"32px"}},Re.createElement("div",null,Re.createElement("div",null,Re.createElement("span",{style:{width:"80px"}},"\u6253\u56DE\u65B9\u5F0F\uFF1A"),Re.createElement(oe.ZP.Group,{value:Gn,onChange:kn=>{nn(kn.target.value)}},Re.createElement(oe.ZP,{value:1},"\u6309\u6210\u7EE9\u6253\u56DE"),Re.createElement(oe.ZP,{value:2},"\u6309\u4F5C\u4E1A\u72B6\u6001\u6253\u56DE"))),Gn===1&&Re.createElement("div",{style:{display:"flex",marginTop:"20px"}},Re.createElement("span",{style:{width:"70px",textAlign:"end"}},Re.createElement("span",{style:{color:"red"}},"*"),"\u6700\u4F4E\u5206\uFF1A"),Re.createElement(a.Z,{min:0,max:100,value:ir,onChange:kn=>Nr(kn),style:{width:"100px"}}),Re.createElement("span",{style:{width:"80px",textAlign:"end"}},Re.createElement("span",{style:{color:"red"}},"*"),"\u6700\u9AD8\u5206\uFF1A"),Re.createElement(a.Z,{min:0,max:100,value:ia,onChange:kn=>Za(kn),style:{width:"100px"}})),Gn===2&&Re.createElement("div",{style:{display:"flex",marginTop:"20px"}},Re.createElement("span",{style:{width:"80px"}},"\u4F5C\u4E1A\u72B6\u6001\uFF1A"),Re.createElement(ie.default.Group,{onChange:kn=>{ur([...kn])},style:{width:"100%"}},(vr=_n.task_status)==null?void 0:vr.map((kn,Ea)=>Re.createElement(ie.default,{name:"task_status",value:kn.id},kn.name,"(",kn.count,")")))),Re.createElement("div",{style:{display:"flex",marginTop:"20px"}},Re.createElement("span",{style:{width:"70px",textAlign:"end"}},Re.createElement("span",{style:{color:"red"}},"*")," \u8BC4\u8BED\uFF1A"),Re.createElement(lt.Z,{className:mt.MdEditor,onChange:kn=>Ln(kn),placeholder:"\u8BF7\u586B\u5199\u8BC4\u8BED"}))))),Re.createElement(we.default,{open:pt,title:"\u6253\u56DE\u786E\u8BA4",onOk:()=>Ct(void 0,null,function*(){Gn===2?(yield(0,he.ZP)(`/api/homework_commons/${Je.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:Je.categoryId,comment:Hr,status:Xn}})).status===0&&(pe.ZP.info("\u6253\u56DE\u6210\u529F"),Jo(),Or(),qt(!1)):(yield(0,he.ZP)(`/api/homework_commons/${Je.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:Je.categoryId,comment:Hr,min_score:ir,max_score:ia}})).status===0&&(pe.ZP.info("\u6253\u56DE\u6210\u529F"),Jo(),Or(),qt(!1))}),onCancel:()=>{Jo(),qt(!1)}},Re.createElement("div",{style:{padding:"32px"}},Gn===1&&Re.createElement("span",null,"\u786E\u8BA4\u5C06\u6210\u7EE9\u5728",ir,"-",ia,"\u7684\u5B66\u751F\u8FDB\u884C\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),Gn===2&&Re.createElement("span",null,"\u786E\u8BA4\u5C06\u4F5C\u4E1A\u72B6\u6001\u4E3A",((zr=_n.task_status)==null?void 0:zr.filter(kn=>Xn==null?void 0:Xn.includes(kn.id)).map(kn=>kn.name).toString())+",","\u7684\u5B66\u751F\u8FDB\u884C\u4F5C\u4E1A\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),Re.createElement("br",null),Re.createElement("span",null,"\u8BE5\u6761\u4EF6\u4E0B\u5171\u6709",Ut==null?void 0:Ut.count,"\u540D\u5B66\u751F")))),Re.createElement(at,null),Re.createElement($e,{isShow:ua,setIsShow:Ra,item:mr,coursesId:Je.coursesId,categoryId:Je.categoryId}),Re.createElement("aside",{className:"tc mb50 mt30"},Re.createElement(y.Z,{showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,onChange:Gi,current:Je.page||1,defaultPageSize:20,total:_n.work_count})))};var Pn=(0,ve.connect)(({shixunHomeworks:Nt,classroomList:Tt,globalSetting:St,loading:tn,user:Kt})=>({shixunHomeworks:Nt,classroomList:Tt,globalSetting:St,loading:tn.effects,user:Kt}))(kt)},27776:function(ft,ut,ee){"use strict";ee.r(ut),ee.d(ut,{default:function(){return cl}});var x=ee(67294),de=ee(33170),pe=ee(35973),De=ee(2453),we=ee(14446),ke=ee(71577),ie=ee(85673),We=ee(83062),Me=ee(66368),Te=ee(9430),ze=ee(52310),Be=ee(28706),me=ee(85725),oe=Object.defineProperty,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=($t,Zt,zt)=>Zt in $t?oe($t,Zt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):$t[Zt]=zt,z=($t,Zt)=>{for(var zt in Zt||(Zt={}))y.call(Zt,zt)&&E($t,zt,Zt[zt]);if(a)for(var zt of a(Zt))b.call(Zt,zt)&&E($t,zt,Zt[zt]);return $t},te=($t,Zt,zt)=>new Promise((Da,ar)=>{var Ma=bn=>{try{Qa(zt.next(bn))}catch(Ca){ar(Ca)}},Zn=bn=>{try{Qa(zt.throw(bn))}catch(Ca){ar(Ca)}},Qa=bn=>bn.done?Da(bn.value):Promise.resolve(bn.value).then(Ma,Zn);Qa((zt=zt.apply($t,Zt)).next())});const ne=({shixunHomeworks:$t,dispatch:Zt})=>{const zt=(0,pe.useParams)();return x.createElement(we.default,{centered:!0,title:"\u63D0\u793A",open:$t.actionTabs.key==="\u5220\u9664",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>te(void 0,null,function*(){(yield Zt({type:"shixunHomeworks/deleteReply",payload:{object_id:$t.actionTabs.selectArr.id,object_type:"journals_for_message"}})).status===0&&(De.ZP.success("\u5220\u9664\u6210\u529F"),Zt({type:"shixunHomeworks/setActionTabs",payload:{}}),Zt({type:"shixunHomeworks/getReplyList",payload:z({},$t.actionTabs.params)}))}),onCancel:()=>{Zt({type:"shixunHomeworks/setActionTabs",payload:{}})}},x.createElement("p",null,"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417\uFF1F"))};var re=(0,pe.connect)(({shixunHomeworks:$t})=>({shixunHomeworks:$t}))(ne),ae=ee(27484),le=ee.n(ae),he=ee(11320),ve=ee(57953),Ce=ee(28452),be={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"},ye="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALwAAAAgCAYAAACo7RKTAAAAAXNSR0IArs4c6QAAFaNJREFUeF7tXHl8XHW1/557Z5JM0yTtA9qy6dwktMVaKMncAVo2F0Rk0aeg+FCK+tzg8WRR5qYFCdA2dwou+AR9LCpSZVE+ICIi+ACfpOjcSaAthdImudMFCm0hbfZl7u/Ib5KZznJnSdqnrx97/4HOPb/zO7/zO7/fPcv3hACg+xH/NBoaXMnARwjwMeGvxNSqgFZXzSq36AOxIUk3kYcfulDdI1qPJ4iFDF7EwEJiVABoBZV9a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xLjBeweyfcDEDVdgXCnG1x7SjnfAeSG0pfCYHI2yRQ93fa3Q2CR8VwK6GHhekQUkRmuj2fkyEbHUizV472a3dKiiqh9M98Xz1T4yDJQohVeZ3JrcR1kh/xMMnJ391qN4ZjS0dCQwOW7ZqPG/mCfdsjszD1Lav/p+e9rFVF6+whnY/h7ZuCEfxVsFT/UxUKvrxv479b2A4kGuwTNE3+uI925CvKcjAQF2hmSDDhIYeU91PeTXw3uYDpDnCajq5XT42a7+qdvS1zfPK+sfHsxA5yXpVKa1jWan68GZ7Lj9uWn/CF5rbqg/iuMK58syJaqwu0dz/gaOysQNLR2PykORlDvROaVQ7h9dSluYR8GWyf7dnEL6aWvSThWkZBTJFDhCNsfLcXJ/B0aGMgBrJIQDpWKdW+tjdntWYm7e/uQ8MbD5gvjujo+K/tfnx3vtSqdvM1jEQYonYfRK+SEY2RmBp6oepJYj3tsJdoZkIJNoAPEkD0h1HRTfYTsAegGgVqh4kmadk9Mp848wioNz/vNpwNXgs9XAbz1Rh+He0+PdG86P92890enfOtPZ00FitBdQvfBWyS9AfeIW99TUM9TyV6SPCGA1yjytpbot/3zqP7jiv7cGSjL4nAPQ/ew0DA2e7HSvP1etniv/QI7sI1oNUlejwvcCTf9AsW73v/c6D853UAMJDfwN/F3Fz8TPqaAAAAAASUVORK5CYII=",Ae=ee(52262),Ne=ee(35567),Xe=ee(50881),Le=ee(60887),Ge=ee(32339),He=ee(96469),Ke=ee(45587),qe=ee(24285),it=ee(95742),mt=ee(53978),Yt=ee(42922),cn=Object.defineProperty,rt=Object.defineProperties,Pt=Object.getOwnPropertyDescriptors,Lt=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,jt=($t,Zt,zt)=>Zt in $t?cn($t,Zt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):$t[Zt]=zt,_e=($t,Zt)=>{for(var zt in Zt||(Zt={}))ct.call(Zt,zt)&&jt($t,zt,Zt[zt]);if(Lt)for(var zt of Lt(Zt))Ft.call(Zt,zt)&&jt($t,zt,Zt[zt]);return $t},En=($t,Zt)=>rt($t,Pt(Zt)),Fn=($t,Zt,zt)=>new Promise((Da,ar)=>{var Ma=bn=>{try{Qa(zt.next(bn))}catch(Ca){ar(Ca)}},Zn=bn=>{try{Qa(zt.throw(bn))}catch(Ca){ar(Ca)}},Qa=bn=>bn.done?Da(bn.value):Promise.resolve(bn.value).then(Ma,Zn);Qa((zt=zt.apply($t,Zt)).next())});le().locale("ZH-cn");let ha=["","\u7B80\u5355","\u4E2D\u7B49","\u56F0\u96BE"];const In=x.createContext({}),at=()=>{const{setActivatorNodeRef:$t,listeners:Zt}=(0,x.useContext)(In);return x.createElement(ke.ZP,_e({type:"text",size:"small",className:be.upDownSty,icon:x.createElement(We.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"},x.createElement(Xe.Z,null)),style:{cursor:"move"},ref:$t},Zt))},lt=$t=>{const{attributes:Zt,listeners:zt,setNodeRef:Da,setActivatorNodeRef:ar,transform:Ma,transition:Zn,isDragging:Qa}=(0,Ke.nB)({id:$t["data-row-key"]}),bn=_e(En(_e({},$t.style),{transform:qe.ux.Translate.toString(Ma),transition:Zn}),Qa?{position:"relative",zIndex:100}:{}),Ca=(0,x.useMemo)(()=>({setActivatorNodeRef:ar,listeners:zt}),[ar,zt]);return x.createElement(In.Provider,{value:Ca},x.createElement("tr",_e(En(_e({},$t),{ref:Da,style:bn}),Zt)))},dt=({shixunHomeworks:$t,classroomList:Zt,globalSetting:zt,user:Da,loading:ar,dispatch:Ma})=>{var Zn,Qa,bn,Ca;const[Sa,Gr]=(0,x.useState)(En(_e({},(0,pe.useParams)()),{page:1,per_page:10})),[_a,jo]=(0,x.useState)([]),[lo,vo]=(0,x.useState)(-1),[cr,sr]=(0,x.useState)(""),[$n,Mr]=(0,x.useState)(""),{detailLeftMenus:li}=Zt,ka=(0,pe.useLocation)(),[Pa,Qr]=(0,x.useState)({}),{workDetail:Li,workList:Jn,workSetting:fr}=$t,[ya,ln]=(0,x.useState)("1"),[da,Dn]=(0,x.useState)(!1),[Vr,xr]=(0,x.useState)(!1),[Ar,uo]=(0,x.useState)(""),[wr,fo]=(0,x.useState)(1),lr=(0,x.useRef)(null),[Br,So]=(0,x.useState)(!1);(0,x.useEffect)(()=>{Jn.homework_status&&$o()},[Jn]),(0,x.useEffect)(()=>{lr.current&&(lr.current.clientHeight>200?fo(2):fo(4))},[_a==null?void 0:_a.description]);function $o(){return Fn(this,null,function*(){var ta,Wa,Kr;Dn(!0);let Ir=yield(0,de.ZP)(`/api/courses/${Sa.coursesId}/homework_commons/edit_hack_homework.json`,{method:"get",params:En(_e({},Sa),{id:Sa.categoryId})});if(jo(Ir),Dn(!1),Sa.defaultExpandedRowKeys=[`${(Wa=(ta=Ir==null?void 0:Ir.data)==null?void 0:ta[0])==null?void 0:Wa.identifier}`],Ir!=null&&Ir.hide_description)ln("2");else if(ya!="2"){if((Kr=Jn.homework_status)!=null&&Kr.includes("\u5BFC\u5165"))return;ln(Ir!=null&&Ir.description?"1":"2")}Gr(_e({},Sa))})}const On=()=>{if(wr===1)return{visibility:"hidden"};if(wr===2)return{overflow:"hidden",height:"200px"};if(wr===3)return{overflow:"initial"};if(wr===4)return{overflow:"initial"}},ca=ta=>Fn(void 0,[ta],function*({active:Wa,over:Kr}){if(Wa.id!==(Kr==null?void 0:Kr.id)&&(Kr!=null&&Kr.id)){jo(Lo=>{var hi;const Ki=(hi=Lo==null?void 0:Lo.data)==null?void 0:hi.findIndex(Pl=>Pl.identifier===Wa.id),Ji=Lo==null?void 0:Lo.data.findIndex(Pl=>Pl.identifier===(Kr==null?void 0:Kr.id));return En(_e({},Lo),{data:(0,it.Rp)(Lo==null?void 0:Lo.data,Ki,Ji)})});let Ir=yield(0,de.ZP)(`/api/courses/${Sa==null?void 0:Sa.coursesId}/homework_commons/change_hack_position.json`,{method:"post",body:{id:Sa==null?void 0:Sa.categoryId,origin_identifier:Wa==null?void 0:Wa.id,target_identifier:Kr==null?void 0:Kr.id}});(Ir==null?void 0:Ir.status)==0&&(De.ZP.success("\u6392\u5E8F\u6210\u529F"),$o())}}),rr=ta=>Fn(void 0,null,function*(){const Wa=()=>Fn(void 0,null,function*(){let Ir=yield(0,de.ZP)(`/api/item_banks/${ta}/copy_hack_item.json`,{method:"post"});(Ir==null?void 0:Ir.status)===0&&De.ZP.success("\u52A0\u5165\u8BD5\u9898\u5E93\u6210\u529F\uFF01")});So(!0);let Kr=yield(0,de.ZP)(`/api/item_banks/${ta}/check_hack_item.json`,{method:"get"});(Kr==null?void 0:Kr.status)===-20?we.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:Wa}):Wa(),So(!1)});return x.createElement("section",{className:be.bg},x.createElement(ve.Z,{spinning:da},(!(_a!=null&&_a.hide_description)||(0,Ae.GJ)())&&x.createElement("section",{className:" edu-container",style:{padding:"20px 20px 0 20px",background:"#fff",position:"relative"}},!Vr&&(0,Ae.GJ)()&&x.createElement("div",{style:{position:"absolute",zIndex:10,right:34,top:30}},(fr==null?void 0:fr.hack_edit_permission)&&x.createElement("span",{className:be.deseIconSty,style:{marginLeft:"auto",cursor:"pointer"},onClick:()=>{xr(!0)}},x.createElement(We.Z,{title:"\u7F16\u8F91\u8BF4\u660E"},x.createElement("i",{className:"iconfont icon-bianji-moren font14"}),x.createElement("span",null,"\u7F16\u8F91\u8BF4\u660E"))),x.createElement("span",{className:be.deseIconSty,style:{marginLeft:"20px",cursor:"pointer"},onClick:()=>Fn(void 0,null,function*(){if(!(_a!=null&&_a.hide_description))we.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:()=>Fn(void 0,null,function*(){let ta=yield(0,de.ZP)(`/api/homework_commons/${Sa==null?void 0:Sa.categoryId}/hide_description.json`,{method:"post",body:{status:!0}});(ta==null?void 0:ta.status)==0&&(De.ZP.success("\u9690\u85CF\u6210\u529F"),$o())})});else{let ta=yield(0,de.ZP)(`/api/homework_commons/${Sa==null?void 0:Sa.categoryId}/hide_description.json`,{method:"post",body:{status:!1}});(ta==null?void 0:ta.status)==0&&(De.ZP.success("\u516C\u5F00\u6210\u529F"),$o())}})},x.createElement(We.Z,{title:_a!=null&&_a.hide_description?"\u516C\u5F00\u8BF4\u660E":"\u9690\u85CF\u8BF4\u660E"},x.createElement("i",{className:"iconfont icon-xianshiyincang font14"}),x.createElement("span",null,_a!=null&&_a.hide_description?"\u516C\u5F00\u8BF4\u660E":"\u9690\u85CF\u8BF4\u660E")))),Vr?x.createElement(x.Fragment,null,x.createElement(Ne.Z,{defaultValue:_a==null?void 0:_a.description,watch:!0,height:155,onChange:ta=>{uo(ta)}}),x.createElement("div",{style:{display:"flex"}},x.createElement(ke.ZP,{size:"middle",type:"primary",className:`${be.buttonEdit} mr20`,style:{marginLeft:"auto"},htmlType:"submit",onClick:()=>Fn(void 0,null,function*(){fo(1);let ta=yield(0,de.ZP)(`/api/homework_commons/${Sa==null?void 0:Sa.categoryId}/update_description.json`,{method:"post",body:{description:Ar}});(ta==null?void 0:ta.status)==0&&(De.ZP.success("\u7F16\u8F91\u6210\u529F"),xr(!1),$o())})},"\u63D0\u4EA4"),x.createElement(ke.ZP,{size:"middle",type:"primary",ghost:!0,className:be.buttonEdit,onClick:()=>{xr(!1)}},"\u53D6\u6D88"))):!!(_a!=null&&_a.description)&&x.createElement("div",{ref:lr,className:be.maskWrap,style:On()},x.createElement("div",{className:be.desHead},x.createElement("img",{src:ye,width:94})),x.createElement(me.Z,{className:be.md,value:(_a==null?void 0:_a.description)||""}),wr===2&&x.createElement("div",{className:be.mask},x.createElement("div",{onClick:()=>fo(3)},"\u5C55\u5F00",x.createElement("i",{className:"iconfont icon-zhankai4"}))),wr===3&&x.createElement("div",{className:be.mask,style:{position:"relative",height:30,background:"transparent",paddingTop:5}},x.createElement("div",{onClick:()=>fo(2)},"\u6536\u8D77",x.createElement("i",{className:"iconfont icon-shouqi5"}))))),(0,Ae.dE)()&&!!(_a!=null&&_a.group_name)&&x.createElement("div",{className:be.info},x.createElement("img",{src:`${he.Z.IMG_SERVER}/images/${(Zn=_a==null?void 0:_a.user)==null?void 0:Zn.image_url}`}),x.createElement("div",{className:"ml20",style:{alignItems:"start"}},x.createElement("b",null,(_a==null?void 0:_a.name)||""),x.createElement("span",{title:(_a==null?void 0:_a.group_name)||"",style:{maxWidth:"130px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",wordBreak:"break-all"}},(_a==null?void 0:_a.group_name)||"")),x.createElement(We.Z,{title:x.createElement(x.Fragment,null,x.createElement("div",null,"\u8BD5\u9898\u5F97\u5206\uFF1A",(_a==null?void 0:_a.late_final_score)||0),x.createElement("div",null,"\u8865\u4EA4\u6263\u5206\uFF1A",(_a==null?void 0:_a.late_penalty)||0),x.createElement("div",null,"\u6700\u7EC8\u6210\u7EE9\uFF1A",(_a==null?void 0:_a.total_score)||0))},x.createElement("div",null,x.createElement("b",null,x.createElement(He.n,{value:_a==null?void 0:_a.total_score})),x.createElement("span",null,"\u603B\u6210\u7EE9"))),x.createElement("div",null,x.createElement("b",null,(_a==null?void 0:_a.total_time)||"-"),x.createElement("span",null,"\u603B\u8017\u65F6")),x.createElement("div",null,x.createElement("b",{style:{color:"#009C0F"}},_a==null?void 0:_a.pass_count),x.createElement("span",null,"\u5DF2\u901A\u8FC7\u6570")),x.createElement("div",null,x.createElement("b",{style:{color:"#FA6400"}},_a==null?void 0:_a.doing_count),x.createElement("span",null,"\u8FDB\u884C\u4E2D")),x.createElement("div",null,x.createElement("b",{style:{color:"#E30000"}},_a==null?void 0:_a.not_pass_count),x.createElement("span",null,"\u672A\u7B54\u9898\u6570"))),!((Qa=Jn.homework_status)!=null&&Qa.includes("\u5BFC\u5165"))&&x.createElement("div",null,x.createElement("section",{className:" edu-container",style:{padding:"20px",background:"#fff"}},(0,Ae.GJ)()&&x.createElement("div",{style:{marginBottom:"10px",fontSize:"12px"}},"\u53EF\u9F20\u6807\u62D6\u62FD\u201C ",x.createElement(Xe.Z,null)," \u201D\u8FDB\u884C\u8BD5\u9898\u6392\u5E8F\uFF0C\u5B66\u751F\u7AEF\u5C06\u6309\u7167\u6B64\u6392\u5E8F\u5C55\u793A"),Sa.defaultExpandedRowKeys&&x.createElement(Le.LB,{modifiers:[Ge.DL],onDragEnd:ca},x.createElement(Ke.Fo,{items:(bn=_a==null?void 0:_a.data)==null?void 0:bn.map(ta=>ta==null?void 0:ta.identifier),strategy:Ke.qw},x.createElement(Te.default,{components:{body:{row:lt}},dataSource:_a==null?void 0:_a.data,rowKey:ta=>ta==null?void 0:ta.identifier,pagination:!1,expandable:{expandIcon:({expanded:ta,onExpand:Wa,record:Kr})=>ta?x.createElement(We.Z,{title:"\u6536\u8D77"},x.createElement(mt.Z,{className:be.upDownSty,onClick:Ir=>Wa(Kr,Ir)})):x.createElement(We.Z,{title:"\u5C55\u5F00"},x.createElement(Yt.Z,{className:be.upDownSty,onClick:Ir=>Wa(Kr,Ir)})),expandedRowRender:ta=>{var Wa;return x.createElement("div",{style:{padding:"10px 0px 10px 48px",borderRadius:2}},x.createElement("div",{style:{overflow:"auto",maxHeight:300}},x.createElement("p",null,"\u9898\u76EE\uFF1A",ta==null?void 0:ta.name),x.createElement("p",null,"\u63CF\u8FF0\uFF1A",x.createElement(me.Z,{value:(ta==null?void 0:ta.description)||""})),!(0,Ae.dE)()&&x.createElement("p",null,"\u9898\u76EE\u89E3\u6790:",x.createElement(me.Z,{style:{fontSize:"14px"},value:(ta==null?void 0:ta.analysis)||"\u6682\u65E0\u89E3\u6790"}))),x.createElement("div",{style:{width:"100%",textAlign:"end"}},(fr==null?void 0:fr.hack_edit_permission)&&x.createElement(ke.ZP,{className:"mt20",type:"primary",ghost:!0,onClick:()=>{window.open(`/problems/newedit/${ta==null?void 0:ta.identifier}?type=1`),localStorage.setItem("program_homework",[Sa.coursesId,Sa.categoryId])}},"\u7F16\u8F91"),(fr==null?void 0:fr.hack_edit_permission)&&((Wa=_a==null?void 0:_a.homework_status)==null?void 0:Wa.includes("\u672A\u53D1\u5E03"))&&x.createElement(ke.ZP,{className:"mt20",type:"primary",style:{marginLeft:20},ghost:!0,onClick:()=>{we.default.confirm({title:"\u63D0\u793A",content:"\u662F\u5426\u786E\u8BA4\u5220\u9664",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>Fn(void 0,null,function*(){let Kr=yield(0,de.ZP)(`/api/problems/${ta==null?void 0:ta.identifier}.json`,{method:"delete"});(Kr==null?void 0:Kr.status)===0&&(De.ZP.info("\u5220\u9664\u6210\u529F"),Sa.page=1,$o())})})}},"\u5220\u9664")))},defaultExpandedRowKeys:Sa.defaultExpandedRowKeys},columns:(Ca=[(0,Ae.GJ)()&&{key:"sort",align:"center",width:40,render:()=>x.createElement(at,null)},{title:"\u5E8F\u53F7",dataIndex:"index",ellipsis:!0,key:"index",width:55,render:(ta,Wa,Kr)=>`${(Sa.page-1)*Sa.per_page+Kr+1}`},{title:"\u6807\u9898",dataIndex:"name",ellipsis:!0,key:"name"},((0,Ae.dE)()||(_a==null?void 0:_a.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(ta,Wa,Kr){return x.createElement("div",null,ha[ta])}},{title:"\u901A\u8FC7\u7387",dataIndex:"pass_rate",key:"pass_rate",width:100,ellipsis:!0},(0,Ae.dE)()&&{title:"\u5F97\u5206",dataIndex:"score",key:"score",render:ta=>{let Wa="",Kr=Number(ta);return Kr>=0&&Kr<=60?Wa="c-red":Kr>=90?Wa="c-green":Kr>60?Wa="c-orange":Wa="",x.createElement("span",{className:Wa},ta)}},(0,Ae.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:(ta,Wa)=>x.createElement("span",{style:{backgroundColor:"#ECFAF5",color:"#1B8565",overflow:"hidden",textOverflow:"ellipsis",padding:"2px 6px"}},ta||"--")},(0,Ae.dE)()&&{title:"\u901A\u8FC7\u72B6\u6001",dataIndex:"finish_status",key:"finish_status",render(ta){return x.createElement(x.Fragment,null,ta===0&&x.createElement("span",{style:{color:"#E30000"}},"\u672A\u7B54\u9898"),ta===1&&x.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),ta===2&&x.createElement("span",{style:{color:"#009C0F"}},"\u5DF2\u901A\u8FC7"))}},{title:"\u64CD\u4F5C",dataIndex:"identifier",key:"identifier",width:(0,Ae.GJ)()?280:146,align:"right",render(ta,Wa,Kr){return x.createElement("div",null,(0,Ae.GJ)()&&x.createElement(ke.ZP,{type:"link",style:{marginRight:"5px"},loading:Br,onClick:()=>Fn(this,null,function*(){rr(Wa==null?void 0:Wa.id)})},"\u52A0\u5165\u8BD5\u9898\u5E93"),x.createElement("a",{onClick:()=>{var Ir;if((0,Ae.Rm)()&&!((Ir=Zt.AssistantObject.hack)!=null&&Ir.can_question_eaderboard)){De.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/${Sa.coursesId}/program_homework/${Sa.categoryId}/${ta}/ranking`)}},"\u6392\u884C"),x.createElement("a",{onClick:()=>Fn(this,null,function*(){let Ir=yield(0,de.ZP)(`/api/problems/${Wa==null?void 0:Wa.identifier}/start.json`,{method:"get"});Ir&&(window.open(`/myproblems/${Ir==null?void 0:Ir.identifier}?type=1&backUrl=/classrooms/${Sa.coursesId}/program_homework/${Sa.categoryId}/detail?tabs=1`),localStorage.setItem("program_homework",[Sa.coursesId,Sa.categoryId]))}),className:"ml20"},(0,Ae.GJ)()?"\u4F53\u9A8C":"\u8FDB\u5165\u7B54\u9898"),(fr==null?void 0:fr.hack_edit_permission)&&x.createElement("a",{className:"ml20",onClick:()=>Fn(this,null,function*(){window.open(`/problems/newedit/${Wa==null?void 0:Wa.identifier}?type=1`),localStorage.setItem("program_homework",[Sa.coursesId,Sa.categoryId])})},"\u7F16\u8F91"))}}])==null?void 0:Ca.filter(ta=>!!ta)})))),x.createElement("aside",{style:{padding:"0 20px 20px 20px"}},x.createElement(Ce.Z,{defaultCurrent:1,total:_a==null?void 0:_a.count,hideOnSinglePage:!0,showTotal:ta=>x.createElement("span",null,"\u5171",ta,"\u6761"),current:Sa.page||1,pageSize:Sa.per_page||10,onChange:(ta,Wa)=>{Sa.page=ta,Sa.per_page=Wa,Gr(_e({},Sa)),$o()}})))),x.createElement(re,null))};var At=(0,pe.connect)(({shixunHomeworks:$t,classroomList:Zt,loading:zt,user:Da,globalSetting:ar})=>({shixunHomeworks:$t,globalSetting:ar,classroomList:Zt,user:Da,loading:zt.effects}))(dt),Et=ee(22150),gt=ee(71230),Xt=ee(15746),Ot=ee(69677),bt=ee(84567),on=ee(26194),Jt=ee(67294),$e=Object.defineProperty,Re=Object.getOwnPropertySymbols,Nn=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,je=($t,Zt,zt)=>Zt in $t?$e($t,Zt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):$t[Zt]=zt,Ht=($t,Zt)=>{for(var zt in Zt||(Zt={}))Nn.call(Zt,zt)&&je($t,zt,Zt[zt]);if(Re)for(var zt of Re(Zt))xe.call(Zt,zt)&&je($t,zt,Zt[zt]);return $t},et=($t,Zt,zt)=>new Promise((Da,ar)=>{var Ma=bn=>{try{Qa(zt.next(bn))}catch(Ca){ar(Ca)}},Zn=bn=>{try{Qa(zt.throw(bn))}catch(Ca){ar(Ca)}},Qa=bn=>bn.done?Da(bn.value):Promise.resolve(bn.value).then(Ma,Zn);Qa((zt=zt.apply($t,Zt)).next())});const Ue=({shixunHomeworks:$t,loading:Zt,dispatch:zt,classroomList:Da})=>{var ar;const Ma=(0,pe.useParams)(),[Zn,Qa]=(0,x.useState)(Ht(Ht({},{page:1,limit:20,group_ids:[]}),Ma)),bn=(0,pe.useLocation)(),{codeReview:Ca}=$t,[Sa,Gr]=(0,x.useState)({}),[_a]=Et.default.useForm();Zn.order="code_rate",Zn.sort="desc",Zn.category=Zn.categoryId,(0,x.useEffect)(()=>{jo(),console.log("params",Zn)},[Zn]),(0,x.useEffect)(()=>{$t.actionTabs.key==="\u6267\u884C\u4EE3\u7801\u67E5\u91CD"&&jo()},[$t.actionTabs.key]);const jo=()=>et(void 0,null,function*(){(yield zt({type:"shixunHomeworks/getCodeReview",payload:Ht({},Zn)})).status===-2&&setTimeout(()=>jo(),1500)}),lo=()=>{},vo=(sr,$n)=>{Zn.page=sr,Zn.limit=20,zt({type:"shixunHomeworks/getCodeReview",payload:Ht({},Zn)})},cr=[{title:"\u5E8F\u53F7",dataIndex:"number",render:(sr,$n,Mr)=>Zn.limit*(Zn.page-1)+Mr+1},{title:"\u59D3\u540D",dataIndex:"username"},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u76F8\u4F3C\u5EA6",dataIndex:"code_rate",render:sr=>Jt.createElement("span",{className:"c-orange"},sr)},{title:"\u64CD\u4F5C",dataInex:"action",render:(sr,$n)=>Jt.createElement("div",null,Jt.createElement("a",{onClick:()=>{var Mr;if((0,Ae.Rm)()&&!((Mr=Da.AssistantObject.hack)!=null&&Mr.can_view)){De.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/${Zn.coursesId}/program_homework/${Zn.categoryId}/review_detail/${$n.user_id}`)}},"\u67E5\u770B"),Jt.createElement("br",null))}];return Jt.createElement("section",{className:"minH500 bg-white pl30 pr30 pt10"},(Ca==null?void 0:Ca.status)===-2&&Jt.createElement(on.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"}),(Ca==null?void 0:Ca.status)!==-2&&Jt.createElement("div",null,Jt.createElement(gt.Z,null,Jt.createElement(Xt.Z,{flex:"1"},Jt.createElement("p",{className:"mt10"},"\u67E5\u91CD\u65F6\u95F4\uFF1A",Ca.last_review_time,Jt.createElement(ke.ZP,{ghost:!0,danger:!0,style:{color:"#29BD8B",borderColor:"#29BD8B",marginLeft:10},onClick:()=>{zt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",params:Zn}})}},"\u4EE3\u7801\u67E5\u91CD"))),Jt.createElement(Xt.Z,null,Jt.createElement(Ot.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:sr=>{Zn.search=sr,zt({type:"shixunHomeworks/getCodeReview",payload:Zn})},style:{width:200}}),Jt.createElement("span",{className:"ml5 c-red"}))),((ar=Ca.group_info)==null?void 0:ar.length)>0&&Jt.createElement(Jt.Fragment,null,Jt.createElement(gt.Z,null,Jt.createElement(Xt.Z,{flex:"80px",className:"font14"},"\u5206\u73ED\u60C5\u51B5:"),Jt.createElement(Xt.Z,{flex:"80px"},Jt.createElement(bt.default,{checked:Zn.group_ids=="",value:"all",onChange:sr=>{delete Zn.group_ids,Zn.group_ids=[],Zn.page=1,Qa(Ht({},Zn))}},"\u5168\u90E8")),Jt.createElement(Xt.Z,{flex:"1"},Ca.group_info&&Ca.group_info.map((sr,$n)=>Jt.createElement(bt.default,{style:{marginLeft:0},value:sr.id,checked:Zn.group_ids.includes(sr.id),onChange:Mr=>{Mr.target.checked?Zn.group_ids.push(sr.id):Zn.group_ids.splice(Zn.group_ids.indexOf(sr.id),1),Zn.page=1,Qa(Ht({},Zn))}},sr.name,"(",sr.members_count,")")))),Jt.createElement(gt.Z,{className:"font14 c-red mt5"},Jt.createElement(Xt.Z,null,"\u672C\u9875\u4EC5\u663E\u793A\u5168\u90E8\u5DF2\u67E5\u91CD\u5206\u73ED"))),Jt.createElement("p",{className:"mt10"},Jt.createElement("span",{className:"c-red"},Ca.copy_reviews_count),"\u4E2A\u7591\u4F3C\u6284\u88AD\u4F5C\u54C1\uFF08",Ca.all_reviews_count,"\u4F5C\u54C1\uFF09"),Jt.createElement(Te.default,{className:"mt30",loading:Zt["shixunHomeworks/getCodeReview"],pagination:!1,dataSource:Ca.users_reviews,columns:cr,onChange:(sr,$n,Mr)=>{Mr.order==="ascend"&&(Zn.b_order="asc"),Mr.order==="descend"&&(Zn.b_order="desc"),Mr.order||delete Zn.b_order,zt({type:"shixunHomeworks/getCodeReview",payload:Ht({},Zn)})}}),Jt.createElement("aside",{className:"tc mb50 mt30"},Jt.createElement(Ce.Z,{showSizeChanger:!1,onChange:vo,defaultCurrent:Zn.page||1,current:Zn.page||1,defaultPageSize:20,hideOnSinglePage:!0,total:Ca.copy_reviews_count}))))};var Ct=(0,pe.connect)(({shixunHomeworks:$t,classroomList:Zt,loading:zt})=>({shixunHomeworks:$t,classroomList:Zt,loading:zt.effects}))(Ue),yt=ee(42469),kt=ee(34336),Pn=ee(11713),Nt=ee(78045),Tt=ee(31795),St=ee(40043),tn=ee(24018),Kt=ee(96486),mn={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"},Qn=ee(39717),wn=ee(17998),Wn=ee(78207),ma=ee(92882),_t=ee(67294),Vt=Object.defineProperty,en=Object.defineProperties,la=Object.getOwnPropertyDescriptors,aa=Object.getOwnPropertySymbols,jn=Object.prototype.hasOwnProperty,Oa=Object.prototype.propertyIsEnumerable,Ia=($t,Zt,zt)=>Zt in $t?Vt($t,Zt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):$t[Zt]=zt,vr=($t,Zt)=>{for(var zt in Zt||(Zt={}))jn.call(Zt,zt)&&Ia($t,zt,Zt[zt]);if(aa)for(var zt of aa(Zt))Oa.call(Zt,zt)&&Ia($t,zt,Zt[zt]);return $t},zr=($t,Zt)=>en($t,la(Zt)),La=($t,Zt,zt)=>new Promise((Da,ar)=>{var Ma=bn=>{try{Qa(zt.next(bn))}catch(Ca){ar(Ca)}},Zn=bn=>{try{Qa(zt.throw(bn))}catch(Ca){ar(Ca)}},Qa=bn=>bn.done?Da(bn.value):Promise.resolve(bn.value).then(Ma,Zn);Qa((zt=zt.apply($t,Zt)).next())});const{RangePicker:Je}=kt.default,{Option:Bt}=Pn.default,xt=({shixunHomeworks:$t,user:Zt,loading:zt,classroomList:Da,dispatch:ar})=>{var Ma,Zn,Qa,bn,Ca,Sa,Gr,_a,jo,lo,vo,cr;const sr=(0,pe.useParams)(),{workSetting:$n,workList:Mr,changeData:li}=$t,[ka,Pa]=(0,x.useState)(!0),[Qr,Li]=(0,x.useState)(!1);let[Jn,fr]=(0,x.useState)([]),[ya,ln]=(0,x.useState)([]);const da=(0,x.useRef)(!0);let[Dn,Vr]=(0,x.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_minus_score:0,penalty_type:Qn.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,x.useEffect)(()=>(xr(),()=>{fr([])}),[]);const xr=()=>{ar({type:"shixunHomeworks/getWorkSetting",payload:vr({},sr)})};(0,x.useEffect)(()=>{var On,ca;((0,Ae.G5)()||(0,Ae.Rm)()&&((On=Da.AssistantObject.hack)!=null&&On.can_late||(ca=Da.AssistantObject.hack)!=null&&ca.can_publish))&&Pa(!1)},[Zt,Da]),(0,x.useEffect)(()=>{if(!($n!=null&&$n.course_id)||!da.current)return;da.current=!1,Object.keys(Dn).map(function(ca){Dn[ca]=$n[ca]}),(!Dn.allow_late||!Dn.unified_late)&&(Dn.late_minus_score=20,Dn.penalty_type=Qn.Q.Percent),Dn.unified_setting||(Dn.unified_late=!1,Dn.unified_anonymous_comment=!1,Dn.unified_anonymous_appeal=!1),Jn=JSON.parse(JSON.stringify($n.group_settings.map(ca=>zr(vr({},ca),{group_name:[ca.group_name]})).filter(ca=>ca.publish_time!==null))),ya=JSON.parse(JSON.stringify($n.allow_late_settings.map(ca=>zr(vr({},ca),{group_name:[ca.group_name]})).filter(ca=>ca.late_time!==null))),Dn.difficult_settings.length===0&&(Dn.difficult_settings=[0,0,0]),Vr(vr({},Dn));const On=(0,Be.QE)((Jn==null?void 0:Jn.length)>0?Jn:[]);fr([...On]),(ya==null?void 0:ya.length)<=0?ln([{late_minus_score:20}]):ln([...ya])},[$n]);const Ar=()=>{var On;if(((On=Zt==null?void 0:Zt.userInfo)==null?void 0:On.user_status)===2){(0,Wn.Rd)();return}const ca=JSON.parse(JSON.stringify(Dn));if(ca.categoryId=sr.categoryId,Dn.unified_setting||(Jn=Jn==null?void 0:Jn.map(rr=>{var ta;if(!rr.publish_time||!rr.end_time)throw De.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(!rr.group_name)throw De.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return rr.group_name=typeof(rr==null?void 0:rr.group_name)=="string"?[rr==null?void 0:rr.group_name]:rr==null?void 0:rr.group_name,rr.group_id=(ta=$n.group_settings)==null?void 0:ta.filter(Wa=>{var Kr;return(Kr=rr==null?void 0:rr.group_name)==null?void 0:Kr.includes(Wa.group_name)}).map(Wa=>Wa.group_id||Wa.id).toString().split(","),rr})),ca.group_settings=Jn,Dn.allow_late)if(Dn.unified_late){if(Dn.late_minus_score===null||Dn.late_minus_score===void 0||Dn.late_minus_score<0||Dn.late_minus_score>100)throw De.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(!Dn.late_time)throw De.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 ya=ya==null?void 0:ya.map(rr=>{var ta,Wa;if(rr.late_minus_score===null||rr.late_minus_score===void 0||rr.late_minus_score<0||rr.late_minus_score>100)throw De.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(!rr.late_time)throw De.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(!rr.group_name)throw De.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return rr.group_name=typeof(rr==null?void 0:rr.group_name)=="string"?[rr==null?void 0:rr.group_name]:rr==null?void 0:rr.group_name,rr.group_id=(Wa=(ta=rr==null?void 0:rr.group_name)==null?void 0:ta.map(Kr=>{var Ir,Lo;let hi=(Lo=(Ir=$n.group_settings)==null?void 0:Ir.filter(Ki=>(Ki==null?void 0:Ki.group_name)===Kr))==null?void 0:Lo[0];return hi==null?void 0:hi.group_id}))==null?void 0:Wa.toString().split(","),rr}),ca.allow_late_settings=ya;ca.send_type===1&&(ca.difficult_settings=ca.difficult_settings.map(rr=>rr||0)),uo(ca)},uo=On=>{var ca;if(On.total_score===null){De.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(On!=null&&On.work_efficiency&&On.eff_score===null){De.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const rr={shixun_evaluation:On.shixun_evaluation,challenge_settings:On.challenge_settings},ta=()=>La(void 0,null,function*(){Li(!0),(yield(0,de.ZP)(`/api/homework_commons/${sr.categoryId}/publish_setting.json`,{method:"post",body:vr({},On)})).status===0&&(De.ZP.success("\u66F4\u65B0\u6210\u529F"),xr(),ar({type:"shixunHomeworks/getWorkList",payload:vr({},sr)})),Li(!1)});!(0,Kt.isEqual)(li,rr)&&!((ca=Mr==null?void 0:Mr.homework_status)!=null&&ca.includes("\u672A\u53D1\u5E03"))?we.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:ta}):ta()},wr=(On,ca,rr="group_id")=>{var ta;return ca?ca.find(Wa=>Wa[rr]===On):(ta=$n==null?void 0:$n.group_settings)==null?void 0:ta.find(Wa=>Wa.group_id[0]===On)},fo=($n==null?void 0:$n.allow_late)||($n==null?void 0:$n.anonymous_comment),lr=On=>{var ca,rr;const ta=wr(On,$n==null?void 0:$n.allow_late_settings,"id"),Wa=wr(On,$n==null?void 0:$n.anonymous_comment_settings),Kr=wr(On);return($n==null?void 0:$n.allow_late)&&ta&&le()(ta==null?void 0:ta.late_time)<=le()()||($n==null?void 0:$n.anonymous_comment)&&Wa&&(Wa==null?void 0:Wa.evaluation_start)!==null||((rr=(le()(Kr==null?void 0:Kr.end_time)<=le()()&&((ca=$n==null?void 0:$n.allow_late_settings)==null?void 0:ca.filter(Ir=>Ir.group_id.includes(On))))[0])==null?void 0:rr.late_time)!=null},Br=$n==null?void 0:$n.anonymous_comment,So=On=>{if(!On)return!1;const ca=wr(On,$n==null?void 0:$n.anonymous_comment_settings);return($n==null?void 0:$n.anonymous_comment)&&ca&&(ca==null?void 0:ca.evaluation_start)!==null},$o=(On,ca)=>{var rr,ta,Wa;ar({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:On,index:ca,rangePickerDisabled:ka||(le()()<=le()((ta=wr((rr=On==null?void 0:On.group_id)==null?void 0:rr[0]))==null?void 0:ta.publish_time)?!1:[!0,lr((Wa=On==null?void 0:On.group_id)==null?void 0:Wa[0])]),disabledDate:$n==null?void 0:$n.course_end_date}})};return _t.createElement("section",{className:mn.form},_t.createElement("div",{className:mn.title},"\u8BD5\u9898\u53D1\u5E03",_t.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")),_t.createElement("div",{className:mn.content},_t.createElement(Nt.ZP.Group,{disabled:ka||!((Ma=Mr==null?void 0:Mr.homework_status)!=null&&Ma.includes("\u672A\u53D1\u5E03"))||!((Zn=Da.AssistantObject.hack)!=null&&Zn.can_publish)&&(0,Ae.Rm)(),value:Dn.send_type,onChange:On=>{Dn.send_type=On.target.value,Vr(Object.assign({},Dn))}},_t.createElement(Nt.ZP,{value:0,style:{color:"#333333"}},"\u56FA\u5B9A\u8BD5\u9898\u6A21\u5F0F"),_t.createElement(Nt.ZP,{style:{marginLeft:40,color:"#333333"},value:1},"\u968F\u673A\u62BD\u9898\u6A21\u5F0F"))),Dn.send_type===1&&_t.createElement("div",{className:mn.content,style:{borderTop:"1px solid #fff"}},_t.createElement(gt.Z,{style:{marginLeft:"165px"}},_t.createElement(Xt.Z,{style:{color:"#333333"}},"\u7B80\u5355\u9898\u6570",_t.createElement(Tt.Z,{size:"large",precision:0,disabled:ka||!((Qa=Mr==null?void 0:Mr.homework_status)!=null&&Qa.includes("\u672A\u53D1\u5E03")),placeholder:`\u6700\u5927${Dn.difficult_count[0]||0}`,min:0,max:Dn.difficult_count[0]||0,value:Dn.difficult_settings[0],onChange:On=>{Dn.difficult_settings[0]=On,Vr(Object.assign({},Dn))},className:"ml10 mr20",style:{width:120}})),_t.createElement(Xt.Z,{style:{color:"#333333"}},"\u9002\u4E2D\u9898\u6570",_t.createElement(Tt.Z,{size:"large",precision:0,disabled:ka||!((bn=Mr==null?void 0:Mr.homework_status)!=null&&bn.includes("\u672A\u53D1\u5E03")),placeholder:`\u6700\u5927${Dn.difficult_count[1]||0}`,min:0,max:Dn.difficult_count[1]||0,value:Dn.difficult_settings[1],onChange:On=>{Dn.difficult_settings[1]=On,Vr(Object.assign({},Dn))},className:"ml10 mr20",style:{width:120}})),_t.createElement(Xt.Z,{style:{color:"#333333"}},"\u56F0\u96BE\u9898\u6570",_t.createElement(Tt.Z,{size:"large",precision:0,disabled:ka||!((Ca=Mr==null?void 0:Mr.homework_status)!=null&&Ca.includes("\u672A\u53D1\u5E03")),placeholder:`\u6700\u5927${Dn.difficult_count[2]||0}`,min:0,max:Dn.difficult_count[2]||0,value:Dn.difficult_settings[2],onChange:On=>{Dn.difficult_settings[2]=On,Vr(Object.assign({},Dn))},className:"ml10 mr20",style:{width:120}})))),_t.createElement("div",{className:`${mn.title} mt30`},"\u4F5C\u4E1A\u53D1\u5E03",_t.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")),_t.createElement("div",{className:mn.content},_t.createElement(Nt.ZP.Group,{disabled:ka||!((Sa=Mr==null?void 0:Mr.homework_status)!=null&&Sa.includes("\u672A\u53D1\u5E03"))||!((Gr=Da.AssistantObject.hack)!=null&&Gr.can_publish)&&(0,Ae.Rm)(),value:Dn.unified_setting,onChange:On=>{var ca;if(!((ca=Mr==null?void 0:Mr.homework_status)!=null&&ca.includes("\u672A\u53D1\u5E03"))){De.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(Dn.unified_setting=!Dn.unified_setting,Dn.unified_setting||(Dn.unified_late=!1),Vr(Object.assign({},Dn)),Dn.unified_setting===!1&&Jn==""){fr(Jn.concat({}));return}Dn.unified_setting&&(fr([]),ln([{late_minus_score:5}]))}},_t.createElement(Nt.ZP,{value:!0,disabled:!($n!=null&&$n.manage_all_group),style:{color:"#333333"}},"\u7EDF\u4E00\u53D1\u5E03"),_t.createElement(Nt.ZP,{style:{marginLeft:70,color:"#333333"},disabled:((_a=$n==null?void 0:$n.group_settings)==null?void 0:_a.length)===0,value:!1},"\u5206\u73ED\u53D1\u5E03")),((jo=$n==null?void 0:$n.group_settings)==null?void 0:jo.length)===0&&_t.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")),_t.createElement("div",{className:mn.content,style:{borderTop:"1px solid #fff"}},Dn.unified_setting&&_t.createElement(gt.Z,{align:"middle",className:"ml25"},_t.createElement(gt.Z,{align:"middle"},_t.createElement(Xt.Z,{className:"c-grey-333"},"\u53D1\u5E03\u65F6\u95F4"),_t.createElement(Xt.Z,{className:"ml10"},_t.createElement(kt.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:On=>(0,wn.Q8)(On,$n==null?void 0:$n.course_end_date),disabledTime:On=>(0,wn.d0)(On),disabled:ka||le()()>=le()($n==null?void 0:$n.publish_time)||!((lo=Da.AssistantObject.hack)!=null&&lo.can_publish)&&(0,Ae.Rm)(),value:Dn.publish_time?le()(Dn.publish_time):"",onChange:(On,ca)=>{Dn.publish_time=ca,(Dn.end_time==""||!Dn.end_time)&&Dn.unified_setting&&(Dn.end_time=le()(On).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),Vr(Object.assign({},Dn))}}))),_t.createElement(gt.Z,{align:"middle",style:{marginLeft:40}},_t.createElement(Xt.Z,{className:"c-grey-333"},"\u622A\u6B62\u65F6\u95F4"),_t.createElement(Xt.Z,{className:"ml10"},_t.createElement(kt.default,{style:{width:170},allowClear:!1,size:"large",placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:le()((0,Be.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:($n==null?void 0:$n.allow_late)&&($n==null?void 0:$n.homework_status.includes("\u5DF2\u622A\u6B62"))||ka||($n==null?void 0:$n.allow_late)&&le()()>=le()($n==null?void 0:$n.end_time)||!((vo=Da.AssistantObject.hack)!=null&&vo.can_publish)&&(0,Ae.Rm)(),disabledDate:On=>(0,wn.Q8)(On,$n==null?void 0:$n.course_end_date,Dn.publish_time),disabledTime:On=>(0,wn.d0)(On,Dn.publish_time),value:Dn.end_time?le()(Dn.end_time):"",onChange:(On,ca)=>{Dn.end_time=ca,Vr(Object.assign({},Dn))}})))),!Dn.unified_setting&&(Jn==null?void 0:Jn.length)>0&&_t.createElement(gt.Z,{className:"ml25"},Jn&&Jn.map(function(On,ca){var rr,ta,Wa,Kr;return _t.createElement(Xt.Z,{className:ca!==0&&"mt20",span:24,key:ca},_t.createElement(gt.Z,{gutter:[0,16]},_t.createElement(Xt.Z,{span:8},_t.createElement(gt.Z,{gutter:[8,16],align:"middle"},_t.createElement(Xt.Z,{style:{minWidth:85},className:"c-grey-333"},"\u53D1\u5E03\u89C4\u5219 ",ca+1),_t.createElement(Xt.Z,{flex:"1",style:{maxWidth:300}},_t.createElement(Pn.default,{size:"large",disabled:ka||((rr=$n==null?void 0:$n.homework_status)!=null&&rr.includes("\u672A\u53D1\u5E03")&&On.id||le()()<le()(On==null?void 0:On.publish_time)?!1:!!(On!=null&&On.publish_time)),mode:"multiple",className:`${mn.selectSty}`,style:{width:250},value:On.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Ir=>{var Lo;if(!((Lo=Da.AssistantObject.hack)!=null&&Lo.can_publish)&&(0,Ae.Rm)()){De.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}Jn[ca].group_name=Ir,Jn[ca].group_id=On.group_id;const hi=(0,Kt.flattenDeep)(Jn.map(Ji=>Ji.group_name)),Ki=ya.map(Ji=>{let Pl=(Ji==null?void 0:Ji.group_name)||[];return zr(vr({},Ji),{group_name:(0,Kt.remove)(Pl,xu=>hi.includes(xu))})});ln(Ki),fr(Jn.slice())},maxTagCount:4,maxTagPlaceholder:Ir=>_t.createElement("div",{style:{cursor:"pointer"},onClick:()=>$o(On,ca)},"+",Ir==null?void 0:Ir.length)},$n.group_settings&&$n.group_settings.map(function(Ir){if(!Jn.map(Lo=>Lo.group_name).toString().split(",").includes(String(Ir.group_name)))return _t.createElement(Bt,{value:Ir.group_name,key:Ir.id},Ir.group_name)}))))),_t.createElement(Xt.Z,{span:14,style:{display:"flex",alignItems:"center"}},_t.createElement(Je,{size:"large",allowClear:!1,ranges:{\u6B64\u523B:[On.publish_time?le()(On.publish_time):le()(),le()()]},disabled:ka||(le()()<=le()((ta=wr(On.id))==null?void 0:ta.publish_time)?!1:[!0,lr(On.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:Ir=>(0,wn.Q8)(Ir,$n==null?void 0:$n.course_end_date),disabledTime:Ir=>(0,wn.d0)(Ir),showTime:{format:"HH:mm",defaultValue:[le()((0,Be.U6)(),"HH:mm"),le()((0,Be.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:On.publish_time&&[le()(On.publish_time),On.end_time?le()(On.end_time):void 0],onChange:(Ir,Lo)=>{var hi;if(!((hi=Da.AssistantObject.hack)!=null&&hi.can_publish)&&(0,Ae.Rm)()){De.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}Jn[ca].publish_time=Lo[0],!On.end_time&&Lo[0]?Jn[ca].end_time=le()(Lo[0]).add(7,"days"):Jn[ca].end_time=Lo[1],fr([...Jn])},onCalendarChange:(Ir,Lo,hi)=>{if(Lo!=null&&Lo[0]&&!Lo[1]){const Ki=le()(Lo[0]).add(7,"days");Jn[ca].publish_time=Lo[0],Jn[ca].end_time=Ki,fr([...Jn])}}})),!ka&&_t.createElement(Xt.Z,{span:2,style:{display:"flex",alignItems:"center"}},((Wa=On==null?void 0:On.group_id)==null?void 0:Wa.length)>1&&_t.createElement(We.Z,{title:"\u89C4\u5219\u62C6\u5206"},_t.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0",fontSize:14},onClick:()=>$o(On,ca)})),Jn.length<((Kr=$n==null?void 0:$n.group_settings)==null?void 0:Kr.length)&&_t.createElement(St.Z,{className:"c-green ml10 mr10",onClick:()=>{fr(Jn.concat({}))}}),((On==null?void 0:On.publish_time)&&le()()<le()(On==null?void 0:On.publish_time)||!(On!=null&&On.publish_time))&&ca!=0&&_t.createElement(tn.Z,{style:{color:"#E30000"},onClick:()=>{var Ir;if(!((Ir=Da.AssistantObject.hack)!=null&&Ir.can_publish)&&(0,Ae.Rm)()){De.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 Lo=(0,Kt.cloneDeep)(ya);Lo.forEach((hi,Ki)=>{hi.group_name&&(hi.group_name=hi.group_name.filter(Ji=>{var Pl;return!((Pl=Jn[ca].group_name)!=null&&Pl.includes(Ji))}))}),ln(Lo),Jn=Jn.filter((hi,Ki)=>ca!==Ki),fr(Jn.slice()),setTimeout(()=>fr(Jn.slice()),10)}}))))}))),_t.createElement("div",{className:`${mn.title} mt30`},"\u8865\u4EA4\u8BBE\u7F6E",_t.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")),_t.createElement("div",{className:mn.content},_t.createElement(gt.Z,null,_t.createElement(bt.default,{checked:Dn.allow_late,disabled:ka||($n==null?void 0:$n.allow_late),onChange:On=>{var ca;if(!((ca=Da.AssistantObject.hack)!=null&&ca.can_late)&&(0,Ae.Rm)()){De.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}On.target.checked&&we.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",width:480,centered:!0,content:_t.createElement("div",{style:{padding:10,background:"#f5f6f9"}},_t.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"),_t.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),_t.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"))}),Dn.allow_late=!Dn.allow_late,ya==""&&ln([{late_minus_score:5}]),Vr(Object.assign({},Dn))}},_t.createElement("span",{style:{fontSize:"14px"}},"\u5F00\u542F\u8865\u4EA4")))),(Dn==null?void 0:Dn.allow_late)&&_t.createElement("div",{className:mn.content,style:{borderTop:"1px solid #fff",paddingLeft:54}},_t.createElement("div",null,_t.createElement("span",{style:{color:"#333333",marginRight:12}},"\u8865\u4EA4\u65B9\u5F0F\uFF1A"),_t.createElement(Nt.ZP.Group,{disabled:ka||($n==null?void 0:$n.anonymous_comment)||($n==null?void 0:$n.allow_late),value:Dn.unified_late,onChange:On=>{var ca;if((0,Ae.Rm)()&&!((ca=Da.AssistantObject.hack)!=null&&ca.can_late)){De.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}Dn.unified_late=On.target.value,ya==""&&!On.target.value&&ln([{late_minus_score:5}]),Vr(vr({},Dn))}},(Dn==null?void 0:Dn.unified_setting)&&_t.createElement(Nt.ZP,{value:!0,style:{color:"#333333"},disabled:!($n!=null&&$n.manage_all_group)}," \u7EDF\u4E00\u8865\u4EA4 "),((cr=$n==null?void 0:$n.group_settings)==null?void 0:cr.length)&&_t.createElement(Nt.ZP,{value:!1,style:{color:"#333333"}}," \u5206\u73ED\u8865\u4EA4 "))),Dn!=null&&Dn.unified_late?_t.createElement(_t.Fragment,null,_t.createElement(gt.Z,{align:"middle",className:"mt25"},_t.createElement(Xt.Z,{style:{color:"#333333"}},"\u8865\u4EA4\u6263\u5206:"),_t.createElement(Xt.Z,{className:"ml5"},_t.createElement(Qn.Z,{disabled:ka||Br,value:{type:Dn.penalty_type,inputValue:Dn.late_minus_score},onChange:On=>{var ca;if((0,Ae.Rm)()&&!((ca=Da.AssistantObject.hack)!=null&&ca.can_late)){De.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}Vr(zr(vr({},Dn),{late_minus_score:On.inputValue,penalty_type:On.type}))}})),_t.createElement(Xt.Z,{flex:"1",className:"ml5"},_t.createElement("span",{className:"c-grey-c ml10"},Dn.penalty_type===Qn.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)"))),_t.createElement(gt.Z,{align:"middle",className:"mt25"},_t.createElement(Xt.Z,{style:{color:"#333333"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4:"),_t.createElement(Xt.Z,{className:"ml5"},_t.createElement(kt.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:le()((0,Be.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:ka||Br,value:Dn.late_time?le()(Dn.late_time):"",disabledDate:On=>(0,wn.Q8)(On,$n==null?void 0:$n.course_end_date),disabledTime:On=>(0,wn.d0)(On),onChange:(On,ca)=>{var rr;if((0,Ae.Rm)()&&!((rr=Da.AssistantObject.hack)!=null&&rr.can_late)){De.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}Dn.late_time=ca,Vr(Object.assign({},Dn))}})),_t.createElement(Xt.Z,null,_t.createElement("span",{className:"c-grey-c ml10"},"(\u5B66\u751F\u201C\u5EF6\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9)")))):ya.map(function(On,ca){var rr;return _t.createElement(Xt.Z,{span:24,key:ca},_t.createElement(gt.Z,{className:"mt25",align:"middle"},_t.createElement(Xt.Z,null,_t.createElement("span",{style:{minWidth:85,display:"inline-block",color:"#333333"}},"\u8865\u4EA4\u89C4\u5219",ca+1,"\uFF1A"),_t.createElement(Pn.default,{size:"large",disabled:ka||!((rr=Mr==null?void 0:Mr.homework_status)!=null&&rr.includes("\u672A\u53D1\u5E03"))&&On.id||($n==null?void 0:$n.anonymous_comment),mode:"multiple",className:`${mn.selectSty}`,style:{width:200},value:typeof On.group_name=="string"?[On.group_name]:On.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:ta=>{var Wa;if((0,Ae.Rm)()&&!((Wa=Da.AssistantObject.hack)!=null&&Wa.can_late)){De.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}ya[ca].group_name=ta,ya[ca].group_id=On.group_id,ln(ya.slice())}},$n.group_settings&&$n.group_settings.map(function(ta){if(Dn!=null&&Dn.unified_setting&&!ya.map(Wa=>Wa.group_name).toString().split(",").includes(String(ta.group_name)))return _t.createElement(Bt,{value:ta.group_name,key:ta.id},ta.group_name);if(Jn.map(Wa=>Wa.group_name).toString().split(",").includes(String(ta.group_name))&&!ya.map(Wa=>Wa.group_name).toString().split(",").includes(String(ta.group_name)))return _t.createElement(Bt,{value:ta.group_name,key:ta.id},ta.group_name)}))),_t.createElement(Xt.Z,{className:"ml20",style:{display:"flex",alignItems:"center"}},_t.createElement("div",{style:{color:"#333333"}},"\u8865\u4EA4\u6263\u5206\uFF1A"),_t.createElement(Qn.Z,{disabled:ka||So(On.id),value:{type:On.penalty_type,inputValue:On.late_minus_score},onChange:ta=>{var Wa;if((0,Ae.Rm)()&&!((Wa=Da.AssistantObject.hack)!=null&&Wa.can_late)){De.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}ya[ca].late_minus_score=ta.inputValue,ya[ca].penalty_type=ta.type,ln([...ya])}})),_t.createElement(Xt.Z,{className:"ml20"},_t.createElement("span",{style:{color:"#333333"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\uFF1A"),_t.createElement(kt.default,{size:"large",disabled:ka||So(On.id),style:{width:200},showTime:{format:"HH:mm",defaultValue:le()((0,Be.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:ta=>(0,wn.Q8)(ta,$n==null?void 0:$n.course_end_date),disabledTime:ta=>(0,wn.d0)(ta),format:"YYYY-MM-DD HH:mm",value:On!=null&&On.late_time?le()(On.late_time):void 0,onChange:(ta,Wa)=>{var Kr;if((0,Ae.Rm)()&&!((Kr=Da.AssistantObject.hack)!=null&&Kr.can_late)){De.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}ya[ca].late_time=Wa,ln([...ya])}})),!ka&&_t.createElement(Xt.Z,{style:{marginLeft:10}},ca>0&&!On.id&&_t.createElement(tn.Z,{className:"mr10",style:{color:"#E30000"},onClick:()=>{ya=ya.filter((ta,Wa)=>ca!==Wa),ln(ya.slice()),setTimeout(()=>ln(ya.slice()),10)}}),_t.createElement(St.Z,{className:"c-green",onClick:()=>{var ta;if((0,Ae.Rm)()&&!((ta=Da.AssistantObject.hack)!=null&&ta.can_late)){De.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}ln(ya.concat({penalty_type:Qn.Q.Percent,late_minus_score:20}))}}))))})),!ka&&_t.createElement(ke.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:Qr,onClick:()=>Ar()},"\u4FDD\u5B58"),_t.createElement(ma.Z,{onConfirm:(On,ca)=>{Jn.splice(On,0,...ca),Jn.splice(On+ca.length,1);const rr=(0,Be.QE)([...Jn]);fr([...rr])}}))};var Tn=(0,pe.connect)(({shixunHomeworks:$t,classroomList:Zt,user:zt,loading:Da})=>({shixunHomeworks:$t,loading:Da.effects,user:zt,classroomList:Zt}))(xt),pn=ee(67294),_n=Object.defineProperty,Xr=Object.defineProperties,Ta=Object.getOwnPropertyDescriptors,Cr=Object.getOwnPropertySymbols,Yr=Object.prototype.hasOwnProperty,co=Object.prototype.propertyIsEnumerable,Xn=($t,Zt,zt)=>Zt in $t?_n($t,Zt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):$t[Zt]=zt,ur=($t,Zt)=>{for(var zt in Zt||(Zt={}))Yr.call(Zt,zt)&&Xn($t,zt,Zt[zt]);if(Cr)for(var zt of Cr(Zt))co.call(Zt,zt)&&Xn($t,zt,Zt[zt]);return $t},pt=($t,Zt)=>Xr($t,Ta(Zt)),qt=($t,Zt,zt)=>new Promise((Da,ar)=>{var Ma=bn=>{try{Qa(zt.next(bn))}catch(Ca){ar(Ca)}},Zn=bn=>{try{Qa(zt.throw(bn))}catch(Ca){ar(Ca)}},Qa=bn=>bn.done?Da(bn.value):Promise.resolve(bn.value).then(Ma,Zn);Qa((zt=zt.apply($t,Zt)).next())});function Ut($t,Zt){const zt=[];for(let Da=$t;Da<Zt;Da++)zt.push(Da);return zt}const dn=$t=>{let Zt=new Date;const zt=le()($t).format("HH");if(le()($t).isSame(le()(Zt),"day")){const Da=le()(Zt).format("HH"),ar=le()(Zt).format("mm");return{disabledHours:()=>Ut(0,24).splice(1,Da*1-1),disabledMinutes:()=>(console.log("\u7981\u6B62\u65F6\u95F4\uFF1A",zt,Da),le()($t).isSame(le()(Zt),"hour")&&zt<=Da?Ut(0,60).splice(0,ar):Ut(60,60))}}else if(le()($t).isSame(le()(),"day")){const Da=le()().format("HH"),ar=le()().format("mm");return{disabledHours:()=>Ut(0,24).splice(0,Da),disabledMinutes:()=>zt<=Da?Ut(0,ar):Ut(60,60)}}else return},{RangePicker:Gn}=kt.default,{Option:nn}=Pn.default,Vn=({shixunHomeworks:$t,loading:Zt,dispatch:zt})=>{const Da=(0,pe.useParams)(),ar=(0,pe.useLocation)(),{workSetting:Ma,workList:Zn,changeData:Qa}=$t,[bn,Ca]=(0,x.useState)(!0),[Sa,Gr]=(0,x.useState)({}),[_a,jo]=(0,x.useState)(!1),[lo]=Et.default.useForm();let[vo,cr]=(0,x.useState)([]),[sr,$n]=(0,x.useState)([]);const[Mr,li]=(0,x.useState)([]),ka=(0,x.useRef)(!0);let[Pa,Qr]=(0,x.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,x.useEffect)(()=>()=>{cr([])},[]),(0,x.useEffect)(()=>{Ma!=null&&Ma.can_edit&&Ca(!1)},[Ma]);const Li=()=>{zt({type:"shixunHomeworks/getWorkSetting",payload:ur({},Da)})},Jn=ln=>ln&&ln<le()().startOf("day");(0,x.useEffect)(()=>{Ma!=null&&Ma.course_id&&ka.current&&(ka.current=!1,Object.keys(Pa).map(function(ln){Ma[ln]!==void 0&&(Pa[ln]=Ma[ln])}),(!Pa.allow_late||!Pa.unified_late)&&(Pa.late_penalty=5),vo=JSON.parse(JSON.stringify(Ma.group_settings.map(ln=>pt(ur({},ln),{group_name:[ln.group_name]})).filter(ln=>ln.publish_time!==null))),sr=JSON.parse(JSON.stringify(Ma.allow_late_settings.map(ln=>pt(ur({},ln),{group_name:[ln.group_name]})).filter(ln=>ln.rank_forbidden_start!==null))),Qr(ur({},Pa)),console.log(Pa,Ma,"data"),cr([...vo]),(sr==null?void 0:sr.length)<=0?$n([{}]):$n([...sr]))},[Ma]);const fr=()=>{const ln=JSON.parse(JSON.stringify(Pa));if(ln.categoryId=Da.categoryId,Pa.unified_setting||(vo=vo==null?void 0:vo.map(da=>{var Dn;if(!da.publish_time||!da.end_time)throw De.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(!da.group_name)throw De.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return da.group_name=typeof(da==null?void 0:da.group_name)=="string"?[da==null?void 0:da.group_name]:da==null?void 0:da.group_name,da.group_id=(Dn=Ma.group_settings)==null?void 0:Dn.filter(Vr=>{var xr;return(xr=da==null?void 0:da.group_name)==null?void 0:xr.includes(Vr.group_name)}).map(Vr=>Vr.group_id||Vr.id).toString().split(","),da})),ln.group_settings=vo,Pa.rank_forbidden)if(Pa.unified_setting){if(!Pa.rank_forbidden_start)throw De.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(!Pa.rank_forbidden_end)throw De.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(le()(Pa.rank_forbidden_end)<le()(Pa.rank_forbidden_start))throw De.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 sr=sr==null?void 0:sr.map(da=>{var Dn,Vr;if(!da.rank_forbidden_start)throw De.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(!da.rank_forbidden_end)throw De.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(!da.group_name)throw De.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return da.group_name=typeof(da==null?void 0:da.group_name)=="string"?[da==null?void 0:da.group_name]:da==null?void 0:da.group_name,da.group_id=(Vr=(Dn=da==null?void 0:da.group_name)==null?void 0:Dn.map(xr=>{var Ar,uo;let wr=(uo=(Ar=Ma.group_settings)==null?void 0:Ar.filter(fo=>(fo==null?void 0:fo.group_name)===xr))==null?void 0:uo[0];return wr==null?void 0:wr.group_id}))==null?void 0:Vr.toString().split(","),da}),ln.group_settingss=sr;ya(ln)},ya=ln=>{if(console.log(ln.total_score,ln.eff_score),ln.total_score===null){De.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(ln!=null&&ln.work_efficiency&&ln.eff_score===null){De.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const da={shixun_evaluation:ln.shixun_evaluation};qt(void 0,null,function*(){jo(!0),(yield(0,de.ZP)(`/api/homework_commons/${Da.categoryId}/public_setting.json`,{method:"post",body:ur({},ln)})).status===0&&(De.ZP.success("\u66F4\u65B0\u6210\u529F"),Li(),zt({type:"shixunHomeworks/getWorkList",payload:ur({},Da)})),jo(!1)})};return pn.createElement("section",{className:mn.form},pn.createElement("div",{className:mn.title},"\u516C\u5F00\u8BBE\u7F6E"),pn.createElement("div",{className:mn.content,style:{padding:0}},pn.createElement(gt.Z,null,pn.createElement(Xt.Z,{span:24,className:mn.pubColSty},pn.createElement(bt.default,{checked:Pa.score_open,disabled:bn,onChange:ln=>{Pa.score_open=ln.target.checked,Qr(Object.assign({},Pa))}},pn.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u6210\u7EE9")),pn.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")),pn.createElement(Xt.Z,{span:24,className:mn.pubColSty,style:{borderBottom:Pa.open_code?"none":"1px solid #fff"}},pn.createElement(bt.default,{checked:Pa.open_code,disabled:bn,onChange:ln=>{Pa.open_code=ln.target.checked,ln.target.checked&&(Pa.open_code_type=1),Qr(Object.assign({},Pa))}},pn.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u4EE3\u7801")),pn.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")),!!Pa.open_code&&pn.createElement(Xt.Z,{span:24,className:mn.pubColSty},pn.createElement(Nt.ZP.Group,{style:{marginLeft:"24px"},disabled:bn,value:Pa.open_code_type,onChange:ln=>{Pa.open_code_type=ln.target.value,Qr(Object.assign({},Pa))}},pn.createElement(Nt.ZP,{value:1,style:{color:"#333333"}},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),pn.createElement(Nt.ZP,{value:0,style:{marginLeft:60,color:"#333333"}},"\u4EFB\u610F\u65F6\u95F4"))),pn.createElement(Xt.Z,{span:24,className:mn.pubColSty,style:{borderBottom:Pa.rank_forbidden&&Pa.unified_setting||!Pa.unified_setting&&(vo==null?void 0:vo.length)>0&&Pa.rank_forbidden?"none":"1px solid #fff"}},pn.createElement(bt.default,{checked:Pa.rank_forbidden,disabled:bn,onChange:ln=>{Pa.rank_forbidden=ln.target.checked,Qr(Object.assign({},Pa))}},pn.createElement("span",{className:"font14"},"\u5F00\u542F\u5C01\u699C")),pn.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")),!!Pa.rank_forbidden&&Pa.unified_setting&&pn.createElement(Xt.Z,{span:24,className:mn.pubColSty,style:{height:"50px",lineHeight:"50px"}},pn.createElement("div",{style:{marginLeft:"24px"}},pn.createElement(gt.Z,{align:"middle"},pn.createElement(Xt.Z,null,"\u5F00\u59CB\u65F6\u95F4"),pn.createElement(Xt.Z,{className:"ml10"},pn.createElement(kt.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:Jn,disabledTime:dn,disabled:bn||le()()>le()(Ma.rank_forbidden_start),value:Pa.rank_forbidden_start?le()(Pa.rank_forbidden_start):"",onChange:(ln,da)=>{Pa.rank_forbidden_start=da,(Pa.end_time==""||!Pa.end_time)&&Pa.unified_setting&&(Pa.end_time=le()(ln).add(1,"month").format("YYYY-MM-DD HH:mm:ss")),Qr(Object.assign({},Pa))}})),pn.createElement(Xt.Z,{className:"ml20"},"\u622A\u6B62\u65F6\u95F4"),pn.createElement(Xt.Z,{className:"ml10"},pn.createElement(kt.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:le()((0,Be.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:bn,disabledDate:Jn,value:Pa.rank_forbidden_end?le()(Pa.rank_forbidden_end):"",onChange:(ln,da)=>{Pa.rank_forbidden_end=da,Qr(Object.assign({},Pa))}}))))),!Pa.unified_setting&&(vo==null?void 0:vo.length)>0&&!!Pa.rank_forbidden&&pn.createElement(gt.Z,{align:"middle",style:{borderBottom:"1px solid #fff",paddingBottom:"5px",width:"100%"}},sr.map(function(ln,da){var Dn,Vr,xr,Ar,uo,wr,fo;return pn.createElement(Xt.Z,{span:24,key:da,style:{marginLeft:"24px"}},pn.createElement(gt.Z,{className:"mt10 ml30",align:"middle"},pn.createElement(Xt.Z,null,pn.createElement("span",{style:{color:"#666"}},"\u5C01\u699C\u89C4\u5219",da+1,"\uFF1A"),pn.createElement(Pn.default,{size:"large",disabled:bn||!((Dn=Zn==null?void 0:Zn.homework_status)!=null&&Dn.includes("\u672A\u53D1\u5E03"))&&ln.id,mode:"multiple",className:mn.selectSty,style:{width:250},value:typeof ln.group_name=="string"?[ln.group_name]:ln.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:lr=>{sr[da].group_name=lr,sr[da].group_id=ln.group_id,$n(sr.slice())}},Ma.group_settings&&Ma.group_settings.map(function(lr){if(Pa!=null&&Pa.unified_setting&&!sr.map(Br=>Br.group_name).toString().split(",").includes(String(lr.group_name)))return pn.createElement(nn,{value:lr.group_name,key:lr.id},lr.group_name);if(vo.map(Br=>Br.group_name).toString().split(",").includes(String(lr.group_name))&&!sr.map(Br=>Br.group_name).toString().split(",").includes(String(lr.group_name)))return pn.createElement(nn,{value:lr.group_name,key:lr.id},lr.group_name)}))),pn.createElement(Xt.Z,{span:15},pn.createElement("div",{className:"ml20"},pn.createElement(Gn,{size:"large",allowClear:!1,disabled:bn||((Ar=(xr=(Vr=Ma==null?void 0:Ma.group_settings)==null?void 0:Vr.filter(lr=>lr.id===ln.id))==null?void 0:xr[0])!=null&&Ar.rank_forbidden_start?le()()<le()((fo=(wr=(uo=Ma==null?void 0:Ma.group_settings)==null?void 0:uo.filter(lr=>lr.id===ln.id))==null?void 0:wr[0])==null?void 0:fo.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:Jn,disabledTime:dn,showTime:{format:"HH:mm",defaultValue:[le()((0,Be.U6)(),"HH:mm"),le()((0,Be.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:ln.rank_forbidden_start&&[le()(ln.rank_forbidden_start),ln.rank_forbidden_end?le()(ln.rank_forbidden_end):void 0],onChange:(lr,Br)=>{sr[da].rank_forbidden_start=Br[0],sr[da].rank_forbidden_end=Br[1],$n([...sr])}}))),!bn&&pn.createElement(Xt.Z,null,pn.createElement(St.Z,{className:"c-green",onClick:()=>{$n(sr.concat({}))}}),da>0&&!ln.id&&pn.createElement(tn.Z,{className:"c-red ml10",onClick:()=>{sr=sr.filter((lr,Br)=>da!==Br),$n(sr.slice()),setTimeout(()=>$n(sr.slice()),10)}}))))})),pn.createElement(Xt.Z,{span:24,className:mn.pubColSty,style:{borderBottom:Pa.hack_analysis?"none":"1px solid #fff"}},pn.createElement(bt.default,{checked:Pa.hack_analysis,disabled:bn,onChange:ln=>{Pa.hack_analysis=ln.target.checked,ln.target.checked&&(Pa.hack_analysis_type=2),Qr(Object.assign({},Pa))}},pn.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u89E3\u6790")),pn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u89E3\u6790\uFF09")),!!Pa.hack_analysis&&pn.createElement(Xt.Z,{span:24,className:mn.pubColSty},pn.createElement(Nt.ZP.Group,{style:{marginLeft:"24px"},disabled:bn,value:Pa.hack_analysis_type,onChange:ln=>{Pa.hack_analysis_type=ln.target.value,Qr(Object.assign({},Pa))}},pn.createElement(Nt.ZP,{value:2,style:{color:"#333333"}},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),pn.createElement(Nt.ZP,{style:{marginLeft:60,color:"#333333"},value:0},"\u4EFB\u610F\u65F6\u95F4"),pn.createElement(Nt.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"))),pn.createElement(Xt.Z,{span:24,className:mn.pubColSty,style:{borderBottom:Pa.hack_answer?"none":"1px solid #fff"}},pn.createElement(bt.default,{checked:Pa.hack_answer,disabled:bn,onChange:ln=>{Pa.hack_answer=ln.target.checked,ln.target.checked&&(Pa.hack_answer_type=1),Qr(Object.assign({},Pa))}},pn.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u7B54\u6848")),pn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u7B54\u6848\uFF09")),!!Pa.hack_answer&&pn.createElement(Xt.Z,{span:24,className:mn.pubColSty},pn.createElement(Nt.ZP.Group,{style:{marginLeft:"24px"},disabled:bn,value:Pa.hack_answer_type,onChange:ln=>{Pa.hack_answer_type=ln.target.value,Qr(Object.assign({},Pa))}},pn.createElement(Nt.ZP,{value:1,style:{color:"#333333"}},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),pn.createElement(Nt.ZP,{value:0,style:{marginLeft:60,color:"#333333"}},"\u4EFB\u610F\u65F6\u95F4"))))),pn.createElement("div",{className:`${mn.title} mt30`},"\u5B66\u751F\u5B9E\u9A8C\u62A5\u544A\u4EE3\u7801\u5C55\u793A\u8BBE\u7F6E"),pn.createElement("div",{className:mn.content},pn.createElement(bt.default,{disabled:bn,checked:Pa.show_late_code,onChange:()=>{Pa.show_late_code=!Pa.show_late_code,Qr(Object.assign({},Pa))}},pn.createElement("span",{className:"c-black"},"\u5C55\u793A\u6240\u6709\u8BC4\u6D4B\u4EE3\u7801"),pn.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"))),!bn&&pn.createElement(ke.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:_a,onClick:()=>fr()},"\u4FDD\u5B58"))};var Cn=(0,pe.connect)(({shixunHomeworks:$t,loading:Zt})=>({shixunHomeworks:$t,loading:Zt.effects}))(Vn),ia=ee(67294),Za=Object.defineProperty,ir=Object.defineProperties,Nr=Object.getOwnPropertyDescriptors,Hr=Object.getOwnPropertySymbols,Ln=Object.prototype.hasOwnProperty,_o=Object.prototype.propertyIsEnumerable,Io=($t,Zt,zt)=>Zt in $t?Za($t,Zt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):$t[Zt]=zt,Sr=($t,Zt)=>{for(var zt in Zt||(Zt={}))Ln.call(Zt,zt)&&Io($t,zt,Zt[zt]);if(Hr)for(var zt of Hr(Zt))_o.call(Zt,zt)&&Io($t,zt,Zt[zt]);return $t},wo=($t,Zt)=>ir($t,Nr(Zt)),ua=($t,Zt,zt)=>new Promise((Da,ar)=>{var Ma=bn=>{try{Qa(zt.next(bn))}catch(Ca){ar(Ca)}},Zn=bn=>{try{Qa(zt.throw(bn))}catch(Ca){ar(Ca)}},Qa=bn=>bn.done?Da(bn.value):Promise.resolve(bn.value).then(Ma,Zn);Qa((zt=zt.apply($t,Zt)).next())});const Ra=({shixunHomeworks:$t,loading:Zt,dispatch:zt})=>{var Da;const ar=(0,pe.useParams)(),{workSetting:Ma,workList:Zn,changeData:Qa}=$t,[bn,Ca]=(0,x.useState)(!0),[Sa,Gr]=(0,x.useState)(!1),[_a,jo]=(0,x.useState)(!1),[lo]=Et.default.useForm();let[vo,cr]=(0,x.useState)([]),[sr,$n]=(0,x.useState)([]);const Mr=!((Da=Zn==null?void 0:Zn.homework_status)!=null&&Da.includes("\u672A\u53D1\u5E03")),li=(0,x.useRef)(!0);let[ka,Pa]=(0,x.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,x.useEffect)(()=>()=>{cr([])},[]),(0,x.useEffect)(()=>{Ma!=null&&Ma.can_edit&&Ca(!1)},[Ma]);const Qr=()=>{zt({type:"shixunHomeworks/getWorkSetting",payload:Sr({},ar)})};(0,x.useEffect)(()=>{Ma!=null&&Ma.course_id&&li.current&&(li.current=!1,Object.keys(ka).map(function(ln){ka[ln]=Ma[ln]}),(!ka.allow_late||!ka.unified_late)&&(ka.late_penalty=5),vo=JSON.parse(JSON.stringify(Ma.group_settings.map(ln=>wo(Sr({},ln),{group_name:[ln.group_name]})).filter(ln=>ln.publish_time!==null))),sr=JSON.parse(JSON.stringify(Ma.allow_late_settings.map(ln=>wo(Sr({},ln),{group_name:[ln.group_name]})).filter(ln=>ln.late_time!==null))),fr(),Pa(Sr({},ka)),cr([...vo]),$n([...sr]))},[Ma]);const Li=()=>{const ln=JSON.parse(JSON.stringify(ka));Jn(ln)},Jn=ln=>{if(console.log(ln.total_score,ln.eff_score),ln.total_score===null){De.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}const da=()=>ua(void 0,null,function*(){Gr(!0),(yield(0,de.ZP)(`/api/homework_commons/${ar.categoryId}/hack_score_setting.json`,{method:"post",body:Sr({},ln)})).status===0&&(De.ZP.success("\u66F4\u65B0\u6210\u529F"),Qr(),zt({type:"shixunHomeworks/getWorkList",payload:Sr({},ar)})),Gr(!1)});(ka==null?void 0:ka.hack_score_settings)!==(Ma==null?void 0:Ma.hack_score_settings)&&Mr?we.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:da}):da()},fr=()=>{var ln;const{total_score:da}=ka,Dn=(ln=ka.hack_settings)==null?void 0:ln.length;if(!Dn)return;let Vr=0,xr;switch(ka.hack_score_settings){case 0:const Ar=(da/Dn).toFixed(2);ka.hack_settings.map((On,ca)=>{Vr=ca,On.hack_score=Ar>0?Ar:0}),xr=(da-Ar*(Dn-1)).toFixed(2),ka.hack_settings[Vr].hack_score=xr>0?xr:0;break;case 1:const uo=[0,1,3,6];let wr=0;const fo=ka.hack_settings.filter(On=>On.difficult===1).length*uo[1],lr=ka.hack_settings.filter(On=>On.difficult===2).length*uo[2],Br=ka.hack_settings.filter(On=>On.difficult===3).length*uo[3],So=da/(fo+lr+Br);console.log(So,2222),ka.hack_settings.map((On,ca)=>{Vr=ca,On.hack_score=(uo[On.difficult]*So).toFixed(2),wr=wr+Number(On.hack_score)});let $o=ka.hack_settings[Vr].hack_score;xr=(da-wr+Number($o)).toFixed(2),ka.hack_settings[Vr].hack_score=xr>0?xr:0;break}},ya=(Ma==null?void 0:Ma.send_type)===0||(Ma==null?void 0:Ma.send_type)===1&&(ka==null?void 0:ka.hack_score_settings)===2;return ia.createElement("section",{className:mn.form},ia.createElement("div",{className:mn.title},"\u5206\u503C\u8BBE\u7F6E"),ia.createElement("div",{className:`${mn.content} mb30`},ia.createElement(gt.Z,{align:"middle"},ia.createElement(gt.Z,{align:"middle"},ia.createElement("span",{className:"c-grey-333"},"\u603B\u5206\u503C"),ia.createElement(Tt.Z,{min:0,className:"ml20",style:{width:220},size:"large",value:ka.total_score,disabled:bn,onChange:ln=>{ka.total_score=ln,Pa(Object.assign({},ka)),fr()},addonAfter:"\u5206"})),ia.createElement(gt.Z,{align:"middle",style:{marginLeft:60}},ia.createElement("span",{className:"c-grey-333"},"\u6D4B\u8BC4\u5355\u6B21\u62A5\u9519\u589E\u52A0\u65F6\u957F"),ia.createElement(Tt.Z,{className:"ml20",style:{width:220},size:"large",min:0,value:ka.punish_time,precision:0,disabled:bn,onChange:ln=>{ka.punish_time=ln,Pa(Object.assign({},ka)),fr()},addonAfter:"\u5206\u949F"})))),ia.createElement("div",{className:mn.title},"\u6392\u884C\u699C\u65F6\u95F4\u540D\u6B21\u89C4\u5219"),ia.createElement("div",{className:`${mn.content} mb30`},ia.createElement(Nt.ZP.Group,{disabled:bn,value:ka.hack_rank_rule,onChange:ln=>{ka.hack_rank_rule=ln.target.value,Pa(Object.assign({},ka))}},ia.createElement(Nt.ZP,{value:0},ia.createElement("span",{className:"c-black"},"\u8017\u65F6\u65F6\u957F\u4F18\u5148"),ia.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u8017\u65F6\u8D8A\u77ED\u540D\u6B21\u8D8A\u524D\uFF09")),ia.createElement(Nt.ZP,{style:{marginLeft:40},value:1},ia.createElement("span",{className:"c-black"},"\u5B8C\u6210\u65F6\u95F4\u70B9\u4F18\u5148"),ia.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u5B8C\u6210\u65F6\u95F4\u8D8A\u65E9\u540D\u6B21\u8D8A\u524D\uFF09")))),ia.createElement("div",{className:mn.title},"\u8BD5\u9898\u5206\u503C"),ia.createElement("div",{className:mn.content},ia.createElement(Nt.ZP.Group,{value:ka.hack_score_settings,onChange:ln=>{ka.hack_score_settings=ln.target.value,Pa(Object.assign({},ka)),fr()}},ia.createElement(Nt.ZP,{value:0},"\u5747\u5206\u6BD4\u4F8B"),ia.createElement(Nt.ZP,{style:{margin:"0 40px"},value:1},"\u96BE\u6613\u5EA6"),ia.createElement(Nt.ZP,{value:2},"\u81EA\u5B9A\u4E49\u5206\u503C"))),ia.createElement("div",{className:mn.content,style:{borderTop:"1px solid #fff"}},ia.createElement("div",{style:{padding:"0px 20px 20px 20px"}},ka.hack_settings&&ka.hack_settings.map(function(ln,da){return ia.createElement(gt.Z,{key:da,align:"middle",style:{marginTop:20}},ia.createElement(Xt.Z,{flex:"1",className:"pr10"},ia.createElement("span",{style:{color:"#333333"}},ln.hack_name)),ia.createElement(Xt.Z,{flex:"150px"},ia.createElement(Tt.Z,{min:0,step:.1,style:{visibility:ya?"visible":"hidden"},value:ln.hack_score,disabled:ka.hack_score_settings!==2,onChange:Dn=>{ka.hack_settings[da].hack_score=Dn;const Vr=ka.hack_settings.reduce((xr,Ar)=>xr+Number(Ar.hack_score),0);ka.total_score=Vr.toFixed(2),Pa(Sr({},ka))},size:"large",addonAfter:"\u5206"})),ia.createElement(Xt.Z,{className:"ml20",style:{lineHeight:"20px"}},ln.difficult===1&&ia.createElement("span",{className:"tag-style-border-small bg-green c-white mr10"},"\u7B80\u5355"),ln.difficult===2&&ia.createElement("span",{className:"tag-style-border-small bg-blue c-white mr10"},"\u9002\u4E2D"),ln.difficult===3&&ia.createElement("span",{className:"tag-style-border-small bg-orange c-white mr10"},"\u56F0\u96BE")))}))),!bn&&ia.createElement(ke.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:Sa,onClick:()=>Li()},"\u4FDD\u5B58"))};var mr=(0,pe.connect)(({shixunHomeworks:$t,loading:Zt})=>({shixunHomeworks:$t,loading:Zt.effects}))(Ra),Yn=ee(67294),$r=($t,Zt,zt)=>new Promise((Da,ar)=>{var Ma=bn=>{try{Qa(zt.next(bn))}catch(Ca){ar(Ca)}},Zn=bn=>{try{Qa(zt.throw(bn))}catch(Ca){ar(Ca)}},Qa=bn=>bn.done?Da(bn.value):Promise.resolve(bn.value).then(Ma,Zn);Qa((zt=zt.apply($t,Zt)).next())});const Or=({shixunHomeworks:$t,loading:Zt,dispatch:zt})=>{var Da,ar;const[Ma,Zn]=(0,x.useState)(!0),[Qa,bn]=(0,x.useState)(!1),[Ca,Sa]=(0,x.useState)([]),[Gr,_a]=(0,x.useState)([]),[jo,lo]=(0,x.useState)([]),[vo,cr]=(0,x.useState)([]),[sr,$n]=(0,x.useState)(!1),[Mr,li]=(0,x.useState)(""),ka=(0,pe.useParams)();function Pa(){return $r(this,null,function*(){let Jn=yield(0,de.ZP)(`/api/homework_commons/${ka.categoryId}/homework_common_collaborators.json`,{method:"get"});_a(Jn)})}function Qr(){return $r(this,null,function*(){var Jn;let fr=yield(0,de.ZP)(`/api/courses/${ka==null?void 0:ka.coursesId}/teachers`,{method:"get",params:{homework_id:ka.categoryId,limit:1e3}});(Jn=fr==null?void 0:fr.teacher_list)==null||Jn.map(ya=>{ya.key=ya.user_id}),lo(fr==null?void 0:fr.teacher_list),cr(fr==null?void 0:fr.teacher_list)})}(0,x.useEffect)(()=>{Pa(),Qr()},[ka]);const Li=()=>{};return Yn.createElement("section",{className:mn.form},Yn.createElement(gt.Z,{className:mn.content,style:{padding:"20px 30px",gap:20}},(Da=Gr==null?void 0:Gr.data)==null?void 0:Da.map(Jn=>Yn.createElement(gt.Z,{align:"middle",className:`${mn.borderSty} ${Mr===(Jn==null?void 0:Jn.id)?mn.delBorder:""}`,style:{height:"38px",borderRadius:"2px",padding:"0 12px",color:"#333333",background:"#fff"}},Yn.createElement("span",{className:"c-grey-333"},Jn==null?void 0:Jn.real_name),(Gr==null?void 0:Gr.can_edit)&&Yn.createElement("span",{style:{cursor:"pointer",marginLeft:"20px"},className:`iconfont icon-guanbi11 ${mn.delSty}`,onMouseEnter:()=>{li(Jn.id)},onMouseLeave:()=>{li("")},onClick:()=>$r(void 0,null,function*(){(yield(0,de.ZP)(`/api/homework_commons/${ka.categoryId}/homework_common_collaborators/delete.json`,{method:"delete",body:{user_id:Jn.id}})).status===0&&(De.ZP.info("\u5220\u9664\u6210\u529F"),Pa(),Qr())})}))),!(Gr!=null&&Gr.can_edit)&&!((ar=Gr==null?void 0:Gr.data)!=null&&ar.length)&&Yn.createElement("span",{className:"c-grey-666"},"\u6682\u672A\u6DFB\u52A0\u534F\u4F5C\u8005"),(Gr==null?void 0:Gr.can_edit)&&Yn.createElement(ke.ZP,{className:mn.copHover,style:{height:38,padding:"6px 15px",backgroundColor:"#fff"},type:"primary",ghost:!0,onClick:()=>bn(!0)},"\u6DFB\u52A0\u534F\u4F5C\u8005")),Yn.createElement(we.default,{title:"\u6DFB\u52A0\u534F\u4F5C\u8005",open:Qa,confirmLoading:sr,onCancel:()=>bn(!1),onOk:()=>$r(void 0,null,function*(){if(Ca.length===0){De.ZP.info("\u8BF7\u9009\u62E9\u534F\u4F5C\u8001\u5E08");return}$n(!0),(yield(0,de.ZP)(`/api/homework_commons/${ka.categoryId}/homework_common_collaborators.json`,{method:"post",body:{user_ids:Ca}})).status===0&&(De.ZP.info("\u6DFB\u52A0\u6210\u529F"),Sa([]),Pa(),Qr(),bn(!1)),$n(!1)})},Yn.createElement("div",null,Yn.createElement("div",{style:{display:"flex"}},Yn.createElement("label",{style:{width:"50px"}},"\u59D3\u540D\uFF1A")," ",Yn.createElement(Ot.default.Search,{onChange:Jn=>{lo(vo.filter(fr=>fr.name.indexOf(Jn.target.value)>-1))}})),Yn.createElement(Te.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},rowSelection:{type:"checkbox",onChange:(Jn,fr)=>{Sa(Jn)},selectedRowKeys:Ca,getCheckboxProps:Jn=>({disabled:Jn.is_collaborator})},pagination:!1,dataSource:jo,columns:[{title:"\u59D3\u540D",dataIndex:"name",key:"name"},{title:"\u89D2\u8272",dataIndex:"role",key:"role"}]}))))};var Wo=(0,pe.connect)(({shixunHomeworks:$t,loading:Zt})=>({shixunHomeworks:$t,loading:Zt.effects}))(Or),Fo=ee(67294);const ko=[{key:"1",label:"\u53D1\u5E03\u8BBE\u7F6E",element:Fo.createElement(Tn,null)},{key:"2",label:"\u8BC4\u5206\u8BBE\u7F6E",element:Fo.createElement(mr,null)},{key:"3",label:"\u5C55\u793A\u8BBE\u7F6E",element:Fo.createElement(Cn,null)},{key:"4",label:"\u534F\u4F5C\u8BBE\u7F6E",element:Fo.createElement(Wo,null)}];var Jo=()=>Fo.createElement(yt.Z,{dataSource:ko,style:{marginBottom:52}}),nl=ee(246),al=ee.n(nl),kn=ee(86763),Ea=ee(67294),io=Object.defineProperty,Ho=Object.defineProperties,xi=Object.getOwnPropertyDescriptors,ri=Object.getOwnPropertySymbols,oi=Object.prototype.hasOwnProperty,Qi=Object.prototype.propertyIsEnumerable,jr=($t,Zt,zt)=>Zt in $t?io($t,Zt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):$t[Zt]=zt,ce=($t,Zt)=>{for(var zt in Zt||(Zt={}))oi.call(Zt,zt)&&jr($t,zt,Zt[zt]);if(ri)for(var zt of ri(Zt))Qi.call(Zt,zt)&&jr($t,zt,Zt[zt]);return $t},Pe=($t,Zt)=>Ho($t,xi(Zt)),Oe=($t,Zt,zt)=>new Promise((Da,ar)=>{var Ma=bn=>{try{Qa(zt.next(bn))}catch(Ca){ar(Ca)}},Zn=bn=>{try{Qa(zt.throw(bn))}catch(Ca){ar(Ca)}},Qa=bn=>bn.done?Da(bn.value):Promise.resolve(bn.value).then(Ma,Zn);Qa((zt=zt.apply($t,Zt)).next())});const Se=({shixunHomeworks:$t,loading:Zt,dispatch:zt})=>{const Da=(0,pe.useParams)(),ar=(0,pe.useLocation)(),[Ma,Zn]=(0,x.useState)([]),[Qa,bn]=(0,x.useState)([]),[Ca,Sa]=(0,x.useState)(!0),[Gr,_a]=(0,x.useState)(!1),[jo,lo]=(0,x.useState)(1),[vo,cr]=(0,x.useState)([]),[sr,$n]=(0,x.useState)(!1),[Mr,li]=(0,x.useState)(!1),[ka,Pa]=(0,x.useState)(!1);(0,x.useEffect)(()=>{$t.actionTabs.key==="\u4EE3\u7801\u67E5\u91CD"?(Qr.resetFields(),Zn([]),$n(!0),Jn()):$n(!1)},[$t.actionTabs.key]);const[Qr]=Et.default.useForm();let Li=[];const Jn=()=>Oe(void 0,null,function*(){var ln;if(Ca&&!Gr){_a(!0),lo(jo+1);const da=yield(0,kn.JG)(Pe(ce({},Da),{page:jo})),Dn=[...da.group_list];da!=null&&da.ungroup_list&&Dn.push({id:da==null?void 0:da.ungroup_list.id,name:da==null?void 0:da.ungroup_list.name,works_count:da==null?void 0:da.ungroup_list.work_count,last_review_time:da==null?void 0:da.ungroup_list.last_review_time}),Zn([...Ma,...Dn]),_a(!1),((ln=da.group_list)==null?void 0:ln.length)<10&&Sa(!1)}}),fr=()=>{zt({type:"shixunHomeworks/setActionTabs",payload:{}}),li(!1),Sa(!0),_a(!1),lo(1),Zn([]),Qr.resetFields()},ya=[{title:"",dataIndex:"id",width:280,render:(ln,da)=>Ea.createElement(bt.default,{disabled:!(da.works_count>1),value:String(da.id)},da.name)},{title:"\u6709\u6548\u4F5C\u54C1\u6570",dataIndex:"works_count"},{title:"\u4E0A\u6B21\u67E5\u91CD\u65F6\u95F4",dataIndex:"last_review_time",width:130}];return Ea.createElement(we.default,{centered:!0,title:"\u4EE3\u7801\u67E5\u91CD",keyboard:!1,maskClosable:!1,open:sr,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:820,bodyStyle:{minHeight:200},onOk:()=>Oe(void 0,null,function*(){const ln=Qr.getFieldValue();Pa(!0);const da=yield(0,de.ZP)(`/api/homework_commons/${Da.categoryId}/hack_homework_code_repeat.json`,{method:"post",body:{group_ids:[...ln.group_ids]}});Pa(!1),da.status===0&&(fr(),yield zt({type:"shixunHomeworks/getWorkList",payload:$t.actionTabs.params}),pe.history.push(`/classrooms/${Da.coursesId}/program_homework/${Da.categoryId}/detail?tabs=2`),zt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6267\u884C\u4EE3\u7801\u67E5\u91CD"}}))}),okButtonProps:{loading:ka},onCancel:fr},Ea.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"),$t.codeReviewCourse&&Ea.createElement(Et.default,{form:Qr,onChange:ln=>{cr(ce({},Qr.getFieldValue()))},initialValues:{group_ids:Li,end_time:le()(le()().add(7,"days").format("YYYY-MM-DD HH:mm"))}},Ea.createElement("div",{className:"flexd-table-header mt20"},Ea.createElement(Te.default,{pagination:!1,dataSource:[],columns:ya})),Ea.createElement(Et.default.Item,{name:"group_ids"},Ea.createElement(bt.default.Group,{className:"w100"},Ea.createElement("div",{style:{width:"100%",maxHeight:260,overflow:"auto"}},Ea.createElement(al(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:ln=>{Jn()},hasMore:Ca,useWindow:!1},Ea.createElement(Te.default,{loading:Zt.effects["shixunHomeworks/getCodeReviewCourse"],showHeader:!1,columns:ya,dataSource:Ma,pagination:!1})))))),Ea.createElement(gt.Z,null,Ea.createElement(Xt.Z,{className:"ml10"},Ea.createElement(bt.default,{checked:Mr,onChange:ln=>{li(ln.target.checked);let da=[];ln.target.checked&&(da=Ma.filter(Dn=>Dn.works_count>1).map(Dn=>Dn.id+"")),Qr.setFieldsValue({group_ids:da})}},"\u5168\u9009"))))};var Qe=(0,pe.connect)(({shixunHomeworks:$t,loading:Zt})=>({shixunHomeworks:$t,loading:Zt}))(Se),ot=ee(86169),wt=ee(12082),tt=ee(41642),st=ee(93686),ht=ee(98769),an=ee(9151),fn=ee(37752),Un=ee(33648),Rn=ee(70562),Fa=ee(51959),fa=Object.defineProperty,hn=Object.defineProperties,Gt=Object.getOwnPropertyDescriptors,Sn=Object.getOwnPropertySymbols,yn=Object.prototype.hasOwnProperty,pa=Object.prototype.propertyIsEnumerable,Aa=($t,Zt,zt)=>Zt in $t?fa($t,Zt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):$t[Zt]=zt,xa=($t,Zt)=>{for(var zt in Zt||(Zt={}))yn.call(Zt,zt)&&Aa($t,zt,Zt[zt]);if(Sn)for(var zt of Sn(Zt))pa.call(Zt,zt)&&Aa($t,zt,Zt[zt]);return $t},za=($t,Zt)=>hn($t,Gt(Zt)),Na=($t,Zt,zt)=>new Promise((Da,ar)=>{var Ma=bn=>{try{Qa(zt.next(bn))}catch(Ca){ar(Ca)}},Zn=bn=>{try{Qa(zt.throw(bn))}catch(Ca){ar(Ca)}},Qa=bn=>bn.done?Da(bn.value):Promise.resolve(bn.value).then(Ma,Zn);Qa((zt=zt.apply($t,Zt)).next())});let qn=[an.Z,fn.Z,Un.Z];const Ba=({user:$t,classroomList:Zt,shixunHomeworks:zt})=>{var Da,ar,Ma;let[Zn,Qa]=(0,x.useState)(xa(za(xa({},(0,pe.useParams)()),{page:1,per_page:20,rank_type:2,search:"",course_group:(0,Ae.dE)()?[$t.userInfo.course.course_group_id]:[]}),(0,pe.useParams)()));const[bn,Ca]=(0,x.useState)([]),[Sa,Gr]=(0,x.useState)([]),[_a,jo]=(0,x.useState)([]),[lo,vo]=(0,x.useState)(!1),[cr,sr]=(0,x.useState)(!1);let[$n,Mr]=(0,x.useState)([{title:"\u6392\u884C",dataIndex:"rank",width:70,fixed:"left",ellipsis:!0,sorter:(Jn,fr)=>Jn.rank-fr.rank,render:(Jn,fr,ya)=>Jn<4?x.createElement("img",{src:qn[Jn-1]}):Jn},{title:"\u59D3\u540D",dataIndex:"user_name",width:80,fixed:"left",ellipsis:!0,key:"user_name",render:(Jn,fr,ya)=>x.createElement("span",null,fr.is_me&&x.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"),Jn)},{title:"\u5B66\u53F7",dataIndex:"student_id",key:"student_id",width:80,ellipsis:!0,fixed:"left",render:Jn=>Jn||"- -"},{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:Jn=>x.createElement("span",null,Jn," ",Jn!="-"&&"\u9898")},{title:"\u5F97\u5206",dataIndex:"score",width:50,ellipsis:!0,fixed:"left",key:"score"}]);const[li,ka]=(0,x.useState)(null),Pa=()=>{var Jn,fr;const ya=((Jn=document.getElementById("filterWarp"))==null?void 0:Jn.clientHeight)||0,ln=((fr=document.getElementById("pagination"))==null?void 0:fr.clientHeight)||0;return window.innerHeight-ya-ln-110};(0,x.useEffect)(()=>{const Jn=()=>{ka(Pa())};return window.addEventListener("resize",Jn),()=>{window.removeEventListener("resize",Jn)}},[]),(0,x.useEffect)(()=>{var Jn,fr,ya,ln,da;$n.splice(7);for(let Dn=0;Dn<((Jn=bn==null?void 0:bn.question_data)==null?void 0:Jn.length);Dn++){let Vr={};Vr.title=bn!=null&&bn.sent_type?x.createElement("span",null,"\u9898\u76EE"+(Dn+1)+`\uFF08${(ya=(fr=bn==null?void 0:bn.question_data)==null?void 0:fr[Dn])==null?void 0:ya.question_score}\uFF09`):x.createElement("a",{onClick:()=>Na(void 0,null,function*(){var xr,Ar;let uo=yield(0,de.ZP)(`/api/problems/${(Ar=(xr=bn==null?void 0:bn.question_data)==null?void 0:xr[Dn])==null?void 0:Ar.identifier}/start.json`,{method:"get"});uo&&(window.open(`/myproblems/${uo==null?void 0:uo.identifier}?type=1`),localStorage.setItem("program_homework",[Zn.coursesId,Zn.categoryId]))})},"\u9898\u76EE"+(Dn+1)+`\uFF08${(da=(ln=bn==null?void 0:bn.question_data)==null?void 0:ln[Dn])==null?void 0:da.question_score}\uFF09`),Vr.dataIndex="question_data",Vr.width=140,Vr.render=(xr,Ar)=>{var uo,wr,fo,lr,Br;return x.createElement("div",null,((uo=xr==null?void 0:xr[Dn])==null?void 0:uo.answer_question_time)&&x.createElement("div",null,x.createElement("span",{style:{cursor:"pointer"},className:"iconfont icon-shixun4 c-blue",onClick:()=>Na(void 0,null,function*(){var So,$o,On,ca,rr,ta,Wa,Kr;if((0,Ae.Rm)()&&!((So=Zt.AssistantObject.hack)!=null&&So.can_appraise)){De.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(!(($o=xr==null?void 0:xr[Dn])!=null&&$o.open_code)){De.ZP.info("\u6682\u4E0D\u5141\u8BB8\u67E5\u770B\u4EE3\u7801");return}let Ir=yield(0,de.ZP)("/api/courses/view_code.json",{method:"get",params:za(xa({},Zn),{id:Zn.coursesId,homework_common_id:Zn.categoryId,hack_user_code_id:(On=xr==null?void 0:xr[Dn])==null?void 0:On.hack_user_code_id})});we.default.warning({icon:null,width:800,title:x.createElement("div",null,x.createElement("span",null,"\u4EE3\u7801"),x.createElement("span",null,"\u4F7F\u7528\u8BED\u8A00\uFF1A",(ca=xr==null?void 0:xr[Dn])==null?void 0:ca.current_language),x.createElement("span",null,"\u8FD0\u884C\u5185\u5B58\uFF1A",(rr=xr==null?void 0:xr[Dn])==null?void 0:rr.memory,"\uFF08KB\uFF09"),x.createElement("span",null,"\u8FD0\u884C\u65F6\u957F\uFF1A",(ta=xr==null?void 0:xr[Dn])==null?void 0:ta.run_time,"\uFF08ms\uFF09"),x.createElement("span",null,"\u5F97\u5206\uFF1A",(Wa=xr==null?void 0:xr[Dn])==null?void 0:Wa.score)),content:x.createElement(Rn.Z,{classroomList:Zt,user:$t,languages:[{language:(Kr=xr==null?void 0:xr[Dn])==null?void 0:Kr.language,code:Ir==null?void 0:Ir.code}],v:xr,shixunWorkReport:"shixunWorkReport",dispatch:"dispatch",autoHeight:!1,language:xr.language,game_id:xr.id,diff_code_count:xr.diff_code_count})})})}),x.createElement("span",{style:{margin:"0px 10px"}},((wr=xr==null?void 0:xr[Dn])==null?void 0:wr.answer_question_time)||"- -"),(fo=xr==null?void 0:xr[Dn])!=null&&fo.submit_count?x.createElement(We.Z,{title:`${((lr=xr==null?void 0:xr[Dn])==null?void 0:lr.submit_count)||0}\u6B21\u5C1D\u8BD5\u51FA\u9519`},x.createElement("span",{style:{color:"red",marginRight:5},className:"iconfont icon-Bug"}),((Br=xr==null?void 0:xr[Dn])==null?void 0:Br.submit_count)||0):null))},$n.push(Vr)}Mr([...$n])},[bn==null?void 0:bn.question_data]),(0,x.useEffect)(()=>{var Jn;(Jn=$t==null?void 0:$t.userInfo)!=null&&Jn.course&&((0,Ae.dE)()&&(Zn.course_group=(0,Ae.dE)()?[$t.userInfo.course.course_group_id]:[],Qa(xa({},Zn))),Qr(1))},[$t==null?void 0:$t.userInfo]);function Qr(Jn){return Na(this,null,function*(){var fr,ya,ln,da,Dn,Vr,xr;vo(!0);let Ar=yield(0,de.ZP)("/api/courses/rank_list.json",{method:"get",params:za(xa({},Zn),{id:Zn.coursesId,rank_type:2,homework_common_id:Zn.categoryId})});if(Ca(Ar),vo(!1),Ar.status!=-1&&((0,Ae.dE)()?(Jn===1&&Gr([(ya=(fr=Ar==null?void 0:Ar.course_group)==null?void 0:fr[0])==null?void 0:ya.id]),Ar!=null&&Ar.my_rank?jo([xa({is_me:!0},Ar==null?void 0:Ar.my_rank),...Ar==null?void 0:Ar.rank_list]):jo([...Ar==null?void 0:Ar.rank_list])):jo([...Ar==null?void 0:Ar.rank_list]),Jn===1)){let uo={title:(Ar==null?void 0:Ar.hack_rank_rule)===0?x.createElement(We.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${Ar==null?void 0:Ar.punish_time}\u5206\uFF09`},x.createElement("span",{style:{marginRight:3}},"\u603B\u8017\u65F6")," ",x.createElement("span",{style:{fontSize:"14px"},className:"iconfont icon-tishixiaowenhao c-blue"})):"\u5B8C\u6210\u65F6\u95F4",dataIndex:(Ar==null?void 0:Ar.hack_rank_rule)===0?"finish_time":"finish_at",width:(Ar==null?void 0:Ar.hack_rank_rule)===0?80:150,ellipsis:!0,fixed:"left",key:"finish_time"};$n.push(uo);for(let wr=0;wr<((ln=Ar==null?void 0:Ar.question_data)==null?void 0:ln.length);wr++){let fo={};fo.title=Ar!=null&&Ar.sent_type?x.createElement("span",null,"\u9898\u76EE"+(wr+1)+`\uFF08${(Dn=(da=Ar==null?void 0:Ar.question_data)==null?void 0:da[wr])==null?void 0:Dn.question_score}\uFF09`):x.createElement("a",{onClick:()=>Na(this,null,function*(){var lr,Br;let So=yield(0,de.ZP)(`/api/problems/${(Br=(lr=Ar==null?void 0:Ar.question_data)==null?void 0:lr[wr])==null?void 0:Br.identifier}/start.json`,{method:"get"});So&&(window.open(`/myproblems/${So==null?void 0:So.identifier}?type=1`),localStorage.setItem("program_homework",[Zn.coursesId,Zn.categoryId]))})},"\u9898\u76EE"+(wr+1)+`\uFF08${(xr=(Vr=Ar==null?void 0:Ar.question_data)==null?void 0:Vr[wr])==null?void 0:xr.question_score}\uFF09`),fo.dataIndex="question_data",fo.width=140,fo.render=(lr,Br)=>{var So,$o,On,ca,rr;return x.createElement("div",null,((So=lr==null?void 0:lr[wr])==null?void 0:So.answer_question_time)&&x.createElement("div",null,x.createElement("span",{style:{cursor:"pointer"},className:"iconfont icon-shixun4 c-blue",onClick:()=>Na(this,null,function*(){var ta,Wa,Kr,Ir,Lo,hi,Ki,Ji;if((0,Ae.Rm)()&&!((ta=Zt.AssistantObject.hack)!=null&&ta.can_view)){De.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(!((Wa=lr==null?void 0:lr[wr])!=null&&Wa.open_code)){De.ZP.info("\u6682\u4E0D\u5141\u8BB8\u67E5\u770B\u4EE3\u7801");return}let Pl=yield(0,de.ZP)("/api/courses/view_code.json",{method:"get",params:za(xa({},Zn),{id:Zn.coursesId,homework_common_id:Zn.categoryId,hack_user_code_id:(Kr=lr==null?void 0:lr[wr])==null?void 0:Kr.hack_user_code_id})});we.default.warning({icon:null,width:800,title:x.createElement("div",null,x.createElement("span",null,"\u4EE3\u7801"),x.createElement("span",null,"\u4F7F\u7528\u8BED\u8A00\uFF1A",(Ir=lr==null?void 0:lr[wr])==null?void 0:Ir.current_language),x.createElement("span",null,"\u8FD0\u884C\u5185\u5B58\uFF1A",(Lo=lr==null?void 0:lr[wr])==null?void 0:Lo.memory,"\uFF08KB\uFF09"),x.createElement("span",null,"\u8FD0\u884C\u65F6\u957F\uFF1A",(hi=lr==null?void 0:lr[wr])==null?void 0:hi.run_time,"\uFF08ms\uFF09"),x.createElement("span",null,"\u5F97\u5206\uFF1A",(Ki=lr==null?void 0:lr[wr])==null?void 0:Ki.score)),content:x.createElement(Rn.Z,{classroomList:Zt,user:$t,languages:[{language:(Ji=lr==null?void 0:lr[wr])==null?void 0:Ji.language,code:Pl==null?void 0:Pl.code}],v:lr,shixunWorkReport:"shixunWorkReport",dispatch:"dispatch",autoHeight:!1,language:lr.language,game_id:lr.id,diff_code_count:lr.diff_code_count})})})}),x.createElement("span",{style:{margin:"0px 10px"}},(($o=lr==null?void 0:lr[wr])==null?void 0:$o.answer_question_time)||"- -"),(On=lr==null?void 0:lr[wr])!=null&&On.submit_count?x.createElement(We.Z,{title:`${((ca=lr==null?void 0:lr[wr])==null?void 0:ca.submit_count)||0}\u6B21\u5C1D\u8BD5\u51FA\u9519`},x.createElement("span",{style:{color:"red",marginRight:5},className:"iconfont icon-Bug"}),((rr=lr==null?void 0:lr[wr])==null?void 0:rr.submit_count)||0):null))},$n.push(fo)}Mr([...$n])}})}console.log("----",zt,$n);const Li=(Da=zt==null?void 0:zt.workSetting)==null?void 0:Da.hack_rank_rule;return x.createElement("div",{style:{width:1200,margin:"0px auto",minHeight:cr?"100vh":""},id:"rankingInfo"},(bn==null?void 0:bn.message)==="\u5C01\u699C\u4E2D"?x.createElement(on.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"}):x.createElement("div",{style:{background:"#fff",padding:20,height:"100%",overflow:"auto"}},x.createElement("div",{id:"filterWarp"},x.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},x.createElement("div",{style:{display:"flex",width:"90%"}},x.createElement("label",null,"\u5206\u73ED\u60C5\u51B5\uFF1A"),(0,Ae.GJ)()&&x.createElement("div",{style:{flex:1}},x.createElement(bt.default.Group,{className:tt.Z.checkboxgroup,value:Sa,onChange:Jn=>{var fr;Zn.type===1?(Gr([]),Zn.course_group=[],Zn.page=1,Qa(xa({},Zn)),Qr()):Zn.type===2?(Gr(["\u5168\u90E8"]),Zn.course_group=(fr=bn==null?void 0:bn.course_group)==null?void 0:fr.map(ya=>ya.id),Zn.page=1,Qa(xa({},Zn)),Qr()):(Gr([...Jn.filter(ya=>ya!="\u5168\u90E8")]),Zn.course_group=Jn.filter(ya=>ya!="\u5168\u90E8"),Zn.page=1,Qa(xa({},Zn)),Qr())}},x.createElement(bt.default,{value:"\u5168\u90E8",style:{marginBottom:10},onChange:Jn=>{Jn.target.checked?Zn.type=2:Zn.type=1}},"\u5168\u90E8\u5206\u73ED"),(ar=bn==null?void 0:bn.course_group)==null?void 0:ar.map((Jn,fr)=>x.createElement(bt.default,{style:{marginBottom:10},onChange:ya=>{Zn.type=3},value:Jn.id},Jn==null?void 0:Jn.name)))),(0,Ae.dE)()&&x.createElement(Nt.ZP.Group,{style:{marginBottom:10},onChange:Jn=>{Jn.target.value==="\u5168\u90E8"?(Zn.course_group=[],Zn.page=1,Qa(xa({},Zn)),Qr()):(Zn.course_group=[Jn.target.value],Zn.page=1,Qa(xa({},Zn)),Qr())},defaultValue:$t.userInfo.course.course_group_id},x.createElement(Nt.ZP,{value:"\u5168\u90E8",style:{marginBottom:10}},"\u5168\u90E8\u5206\u73ED"),(Ma=bn==null?void 0:bn.course_group)==null?void 0:Ma.map((Jn,fr)=>x.createElement(Nt.ZP,{style:{marginBottom:10},value:Jn.id},Jn.name)))),x.createElement("div",{style:{color:"#3061D0",cursor:"pointer"},onClick:()=>{cr?(0,Fa.BU)():(0,Fa.Dj)(document.getElementById("rankingInfo")),sr(!cr)}},x.createElement("i",{style:{fontSize:12},className:`mr10 iconfont ${cr?"icon-tuichuquanping2":"icon-quanping2"}`}),x.createElement("span",null,cr?"\u9000\u51FA\u5168\u5C4F":"\u5168\u5C4F\u5C55\u793A"))),x.createElement("div",{style:{width:"100%",display:"flex",justifyContent:"space-between",marginTop:10}},x.createElement("span",{style:{fontSize:14,color:"#B1BACD"}},"\u6392\u884C\u89C4\u5219\uFF1A",Li===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"," ",x.createElement("a",{onClick:()=>{we.default.warning({title:"\u8BA1\u5206\u89C4\u5219",width:500,content:x.createElement("div",null,Li===0&&x.createElement("p",null,"\u6392\u540D\u89C4\u5219\uFF1A\u7ECF\u5178ACM\u89C4\u5219"),x.createElement("p",null,"AC\uFF08\u901A\u8FC7\u9898\u76EE\uFF09\u8D8A\u591A\uFF0C\u6392\u540D\u8D8A\u9760\u524D\u3002"),x.createElement("p",null,"AC\u76F8\u540C\uFF0C\u603B\u7528\u65F6\u8D8A\u5C11\uFF0C\u6392\u540D\u8D8A\u9760\u524D\u3002"),Li==0&&x.createElement(x.Fragment,null,x.createElement("p",null,"\u603B\u7528\u65F6=\u2211\uFF08\u6BCF\u4E00\u4E2A\u9898\u76EE\u7684\u7528\u65F6\uFF09"),x.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"),x.createElement("p",null,"\u7F5A\u65F6=\uFF08\u901A\u8FC7\u524D\uFF09\u9519\u8BEF\u4EE3\u7801\u63D0\u4EA4\u6B21\u6570*\u6BCF\u6B21\u7F5A\u65F6"),x.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,Ae.GJ)()&&x.createElement(x.Fragment,null,x.createElement(Ot.default.Search,{className:"mr20",onSearch:Jn=>{Zn.page=1,Zn.search=Jn,Qa(xa({},Zn)),Qr()},placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D/\u5B66\u53F7\u8FDB\u884C\u641C\u7D22",style:{width:250,marginLeft:"auto"}}),x.createElement(ke.ZP,{onClick:()=>{(0,ht.VY)(za(xa({},Zn),{id:Zn.coursesId,rank_type:2,homework_common_id:Zn.categoryId}))}},"\u5BFC\u51FA")))),x.createElement(ve.Z,{spinning:lo},x.createElement(Te.default,{style:{marginTop:10},pagination:!1,scroll:{x:1200,y:cr?li:null},rowClassName:(Jn,fr)=>fr===0&&(0,Ae.dE)()&&tt.Z.tables,dataSource:_a,columns:$n})),x.createElement("div",{id:"pagination",style:{width:"100%",textAlign:"center",marginTop:10}},x.createElement(Ce.Z,{current:Zn.page,pageSize:Zn.per_page,total:bn==null?void 0:bn.count,showSizeChanger:!0,onChange:(Jn,fr)=>{Zn.page=Jn,Zn.per_page=fr,Qa(xa({},Zn)),Qr()}}))))};var wa=(0,pe.connect)(({shixunHomeworks:$t,user:Zt,classroomList:zt})=>({user:Zt,shixunHomeworks:$t,classroomList:zt}))(Ba),Ua=ee(6151),er=ee(58387),Rr=ee(17755),ao=ee(44694),xo=ee(52765),ga=ee(67294),Eo=Object.defineProperty,ii=Object.getOwnPropertySymbols,ki=Object.prototype.hasOwnProperty,sl=Object.prototype.propertyIsEnumerable,Zi=($t,Zt,zt)=>Zt in $t?Eo($t,Zt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):$t[Zt]=zt,di=($t,Zt)=>{for(var zt in Zt||(Zt={}))ki.call(Zt,zt)&&Zi($t,zt,Zt[zt]);if(ii)for(var zt of ii(Zt))sl.call(Zt,zt)&&Zi($t,zt,Zt[zt]);return $t},Uo=($t,Zt,zt)=>new Promise((Da,ar)=>{var Ma=bn=>{try{Qa(zt.next(bn))}catch(Ca){ar(Ca)}},Zn=bn=>{try{Qa(zt.throw(bn))}catch(Ca){ar(Ca)}},Qa=bn=>bn.done?Da(bn.value):Promise.resolve(bn.value).then(Ma,Zn);Qa((zt=zt.apply($t,Zt)).next())});let Xi=[{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 Di=({shixunHomeworks:$t,classroomList:Zt,globalSetting:zt,user:Da,loading:ar,dispatch:Ma})=>{var Zn,Qa,bn,Ca;const Sa=(0,pe.useParams)(),[Gr]=(0,pe.useSearchParams)(),[_a,jo]=(0,x.useState)(Gr.get("tabs")||"0"),[lo,vo]=(0,x.useState)({}),{workList:cr,workSetting:sr}=$t,[$n,Mr]=(0,x.useState)(!1);Sa.category=Gr.get("category_id"),Sa.order="work_score",Sa.b_order="desc",(0,x.useEffect)(()=>{(0,Ae.Rm)()&&Ma({type:"classroomList/getAssistantPermissions",payload:{course_id:Sa.coursesId}})},[(Zn=Da==null?void 0:Da.userInfo)==null?void 0:Zn.login]);const li=ya=>{var ln;if(ya==="3"&&Ma({type:"shixunHomeworks/getWorkSetting",payload:di({},Sa)}),ya==="5"&&!((ln=Zt.AssistantObject.hack)!=null&&ln.can_exam_leaderboard)&&(0,Ae.Rm)()){De.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}jo(ya),ya==="0"&&Ma({type:"shixunHomeworks/getWorkList",payload:Sa})},ka=()=>{we.default.confirm({centered:!0,width:530,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ga.createElement("div",{className:"tc font16"},"\u4F60\u5728\u8BE5\u5B9E\u8BAD\u7684\u5B66\u4E60\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A\uFF0C\u65E0\u6CD5\u6062\u590D",ga.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u91CD\u505A\uFF1F"),onOk:()=>Uo(void 0,null,function*(){var ya;const ln=(ya=$t.workList)==null?void 0:ya.myshixun_identifier;(yield(0,kn.Fr)({id:ln}))&&(De.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`),Ma({type:"shixunHomeworks/getWorkList",payload:lo}))})})},Pa=ya=>{ya=ya!=null&&ya.includes(".json")?ya:`${ya}.json`,we.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ga.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>Uo(void 0,null,function*(){const ln=yield(0,st.$Q)({url:ya});if(!ln)return;De.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const da=yield(0,st.Ir)({id:ln.shixun_identifier});if(da!=null&&da.game_identifier){(0,Be.xg)(`/tasks/${da.game_identifier}?coursesId=${Sa.coursesId}`);return}(da==null?void 0:da.status)===2?Pa(da==null?void 0:da.message):(da==null?void 0:da.status)===3&&Qr(da==null?void 0:da.message)})})},Qr=ya=>{we.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ga.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",ya,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},Li=ya=>Uo(void 0,null,function*(){ya=ya!=null&&ya.includes(".json")?ya:`${ya}.json`;const ln=yield(0,st.$Q)({url:ya});if(console.log(ln,"execRes"),ln!=null&&ln.game_identifier){(0,Be.xg)(`/tasks/${ln.game_identifier}?coursesId=${Sa.coursesId}`);return}(ln==null?void 0:ln.status)===-3?(0,Be.eF)():(ln==null?void 0:ln.status)===2?Pa(ln==null?void 0:ln.message):(ln==null?void 0:ln.status)===3&&Qr(ln==null?void 0:ln.message)}),Jn=[(0,Ae.dE)()&&{name:"\u9898\u76EE",id:"1",compontent:ga.createElement(At,null)},{name:(0,Ae.GJ)()?"\u5B66\u751F\u5217\u8868":"\u4F5C\u4E1A\u60C5\u51B5",id:"0",compontent:ga.createElement(He.Z,{setExportParams:vo}),forceRender:!0},!(0,Ae.dE)()&&{name:"\u9898\u76EE",id:"1",compontent:ga.createElement(At,null),hidden:!1},{name:"\u6392\u540D",id:"5",compontent:ga.createElement(wa,null),hidden:!1},{name:"\u4EE3\u7801\u67E5\u91CD",id:"2",compontent:ga.createElement(Ct,null),hidden:(Qa=zt==null?void 0:zt.setting)==null?void 0:Qa.hide_code_repeat},{name:"\u91CD\u505A\u8BB0\u5F55",id:"9",compontent:ga.createElement(ao.Z,null)},{name:"\u8BBE\u7F6E",id:"3",compontent:(bn=cr.homework_status)!=null&&bn.includes("\u5BFC\u5165")?ga.createElement(Rr.Z,null):ga.createElement(Jo,null),forceRender:!0},{name:"\u89E3\u7B54&\u8BA8\u8BBA",id:"6",compontent:ga.createElement(xo.default,null)}].filter(ya=>!!ya).filter(ya=>{var ln,da;return(0,Ae.dE)()?ya.name!=="\u4EE3\u7801\u67E5\u91CD"&&ya.name!=="\u8BBE\u7F6E":(0,Ae.dE)()||((ln=cr==null?void 0:cr.homework_status)==null?void 0:ln[0])!=="\u5DF2\u622A\u6B62"?ya.name!=="\u8D28\u91CF\u68C0\u6D4B":!cr.code_review&&((da=cr==null?void 0:cr.homework_status)==null?void 0:da[0])!=="\u672A\u53D1\u5E03"?!0:ya.name!=="\u4EE3\u7801\u67E5\u91CD"}).filter(ya=>cr.open_code_quality_analysis?!0:ya.name!=="\u8D28\u91CF\u68C0\u6D4B").filter(ya=>{var ln;return(ln=cr.homework_status)!=null&&ln.includes("\u5BFC\u5165")?(0,Ae.dE)()?["0","1"].includes(ya.id):["0","1","3"].includes(ya.id):!0}).filter(ya=>!(ya!=null&&ya.hidden)),fr=()=>{var ya,ln,da,Dn,Vr,xr,Ar,uo,wr,fo,lr;return ga.createElement("aside",{className:tt.Z.workListTabButton},(0,Ae.dE)()&&!((ya=cr.homework_status)!=null&&ya.includes("\u5BFC\u5165"))&&ga.createElement("span",{style:{fontWeight:800,color:"#0152d9",textAlign:"end",flex:1,cursor:"pointer"}},ga.createElement(ke.ZP,{onClick:()=>Uo(void 0,null,function*(){var Br;let So=yield(0,de.ZP)(`/api/problems/${(Br=$t.workList)==null?void 0:Br.start_identifier}/start.json`,{method:"get"});So&&(window.open(`/myproblems/${So==null?void 0:So.identifier}?type=1&backUrl=/classrooms/${Sa.coursesId}/program_homework/${Sa.categoryId}/detail?tabs=1`),localStorage.setItem("program_homework",[Sa==null?void 0:Sa.coursesId,Sa==null?void 0:Sa.categoryId]))}),type:"primary"},(ln=cr.homework_status)!=null&&ln.includes("\u5DF2\u622A\u6B62")?"\u67E5\u770B\u4F5C\u4E1A":"\u8FDB\u5165\u7EC3\u4E60"," ")),(0,Ae.dE)()&&((da=$t.workList)==null?void 0:da.redo_work)&&ga.createElement(ke.ZP,{onClick:ka,type:"primary",icon:ga.createElement("i",{className:"iconfont icon-dahuizhongzuo3x"})},"\u91CD\u505A"),((Dn=$t.workList)==null?void 0:Dn.shixun_status)>1&&((Vr=$t.workList)==null?void 0:Vr.time_status)<5&&(0,Ae.dE)()&&ga.createElement(ke.ZP,{type:"primary",icon:ga.createElement("i",{className:"iconfont icon-kaiqizhong"}),onClick:()=>{var Br,So,$o,On,ca,rr,ta;(0,Wn.tJ)(Ma,!0)&&(($o=(So=(Br=$t.workList)==null?void 0:Br.task_operation)==null?void 0:So[1])!=null&&$o.includes("/")?Li((ca=(On=$t.workList)==null?void 0:On.task_operation)==null?void 0:ca[1]):(0,Be.xg)(`/tasks/${(ta=(rr=$t.workList)==null?void 0:rr.task_operation)==null?void 0:ta[1]}`))}},(Ar=(xr=$t.workList)==null?void 0:xr.task_operation)==null?void 0:Ar[0]),((uo=$t.workList)==null?void 0:uo.commit_des)&&((wr=$t.workList)==null?void 0:wr.commit_des)&&ga.createElement(ke.ZP,{type:"primary",icon:ga.createElement("i",{className:"iconfont icon-tijiaozongjie"}),onClick:()=>{var Br;(0,Be.xg)(`/classrooms/${Sa.coursesId}/shixun_homework/${Sa.categoryId}/${(Br=$t.workList)==null?void 0:Br.id}/commitsummary`)}},(fo=$t.workList)==null?void 0:fo.commit_des),(sr==null?void 0:sr.hack_edit_permission)&&((lr=cr==null?void 0:cr.homework_status)==null?void 0:lr[0])==="\u672A\u53D1\u5E03"&&ga.createElement(ke.ZP,{type:"primary",icon:ga.createElement("i",{className:"iconfont icon-bianji2"}),onClick:()=>{var Br;if(!((Br=Zt.AssistantObject.hack)!=null&&Br.can_create)&&(0,Ae.Rm)()){De.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}pe.history.push(`/classrooms/${Sa.coursesId}/program_homework/${Sa.categoryId}/edit`)}},"\u7F16\u8F91\u4F5C\u4E1A"),(0,Ae.GJ)()&&cr.publish_immediately&&ga.createElement(ke.ZP,{type:"primary",icon:ga.createElement("i",{className:"iconfont icon-yishezhifabushijian1"}),onClick:()=>{var Br,So;if(!((Br=Zt.AssistantObject.hack)!=null&&Br.can_publish)&&(0,Ae.Rm)()){De.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(((So=Da==null?void 0:Da.userInfo)==null?void 0:So.user_status)===2){(0,Wn.Rd)();return}Ma({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u53D1\u5E03",selectArrs:[Sa.categoryId],selectArrsAll:[cr],params:Sa,detail:!0,type:2,manage_all_group:sr==null?void 0:sr.manage_all_group}})}},"\u7ACB\u5373\u53D1\u5E03"),(0,Ae.GJ)()&&cr.end_immediately&&ga.createElement(ke.ZP,{style:{background:"#0152d9",color:"#fff"},type:"primary",icon:ga.createElement("i",{className:"iconfont icon-jiezhishiyan"}),onClick:()=>{var Br;if(!((Br=Zt.AssistantObject.hack)!=null&&Br.can_stop)&&(0,Ae.Rm)()){De.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}Ma({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u622A\u6B62",params:Sa,type:2,detail:!0,selectArrs:[Sa.categoryId]}})}},"\u7ACB\u5373\u622A\u6B62"))};return ga.createElement("section",null,ga.createElement("div",{className:"edu-container"},cr.homework_name&&ga.createElement("section",{className:"animated fadeIn"},ga.createElement("aside",{className:"mt10"},cr.category&&ga.createElement(ie.Z,{separator:">"},ga.createElement(ie.Z.Item,null,ga.createElement(pe.Link,{to:`/classrooms/${Sa==null?void 0:Sa.coursesId}/program_homework`},cr.course_name)),ga.createElement(ie.Z.Item,null,ga.createElement(pe.Link,{to:`/classrooms/${Sa==null?void 0:Sa.coursesId}/program_homework/${cr.category.main?"":cr.category.category_id}`},cr.category.category_name)),ga.createElement(ie.Z.Item,null,"\u4F5C\u4E1A\u8BE6\u60C5"))),ga.createElement("aside",{className:[tt.Z.title,"mt20"].join(" ")},ga.createElement(pe.Link,{to:`/classrooms/${cr.course_id}/program_homework/${cr.category.main?"":cr.category.category_id}`},ga.createElement(ze.Z,{className:"font16 c-black"})),ga.createElement(We.Z,{title:cr.homework_name,placement:"bottom"},ga.createElement("strong",{className:"font20 ml5"},cr.homework_name)),ga.createElement(Be.VV,{temporary:!0,status:cr.homework_status}))),ga.createElement("aside",{className:`mt30 relative ${tt.Z.workListTabWrap}`},ga.createElement(Me.default,{type:"card",defaultActiveKey:_a,activeKey:_a,tabBarExtraContent:(Ca=cr.homework_status)!=null&&Ca.includes("\u5BFC\u5165")&&(0,Ae.GJ)()?ga.createElement(ke.ZP,{icon:ga.createElement("span",{className:"iconfont icon-shixun3 translateY1"}),onClick:()=>{Ma({type:"classroomList/setActionTabs",payload:{key:"\u8865\u5145\u6210\u7EE9",name:cr==null?void 0:cr.homework_name,id:cr==null?void 0:cr.homework_id,type:"hack"}})},type:"primary"},"\u8865\u5145\u6210\u7EE9"):fr(),onChange:li},Jn.map((ya,ln)=>ga.createElement(Me.default.TabPane,{tab:ya.name,key:ya.id,forceRender:ya.forceRender},ya.compontent))))),ga.createElement(Qe,null),ga.createElement(ot.Z,{courseEndTime:cr==null?void 0:cr.course_end_date,successCallback:()=>{Ma({type:"shixunHomeworks/getWorkList",payload:di({},Sa)})},visible:Zt.actionTabs.key==="\u7ACB\u5373\u622A\u6B62",homeworkIds:[Sa.categoryId],courseId:Sa.coursesId,isBatch:!1}),ga.createElement(wt.Z,{courseEndTime:cr==null?void 0:cr.course_end_date}),ga.createElement(Ua.Z,{onOk:()=>{Ma({type:"shixunHomeworks/getWorkList",payload:di({},Sa)})}}),ga.createElement(er.Z,{onOk:()=>{Ma({type:"shixunHomeworks/getWorkList",payload:di({},Sa)})}}),ga.createElement(we.default,{open:$n,title:"\u89C4\u5219\u8BF4\u660E",width:800,footer:null,onCancel:()=>{Mr(!1)}},ga.createElement("p",null,"\u4E00\u3001\u7B49\u7EA7\u89C4\u5219"),ga.createElement("p",{style:{marginLeft:"10px"}},"1. \u7F3A\u9677\u7B49\u7EA7"),ga.createElement("p",{style:{marginLeft:"10px"}},ga.createElement(Te.default,{dataSource:Xi,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})),ga.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"),ga.createElement("p",{style:{marginLeft:"20px"}},"Technical Debt Ratio = \u6280\u672F\u503A\u52A1\u65F6\u95F4 / \u5F00\u53D1\u65F6\u95F4"),ga.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"),ga.createElement("p",null,"\u4E8C\u3001\u590D\u6742\u5EA6\u89C4\u5219"),ga.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"),ga.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"),ga.createElement("p",null,"\u4E09\u3001\u4EE3\u7801\u8D28\u91CF\u5206\u89C4\u5219"),ga.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"),ga.createElement("p",{style:{marginLeft:"10px"}},"\u5176\u4E2D\uFF1A"),ga.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"),ga.createElement("p",{style:{marginLeft:"10px"}},"\u6CE8\uFF1A\u5206\u6570\u4E3A\u7A7A\u7684\u4EE3\u8868\u4E0D\u652F\u6301\u7684\u6587\u4EF6\u683C\u5F0F\u3002")))};var cl=(0,pe.connect)(({shixunHomeworks:$t,classroomList:Zt,loading:zt,user:Da,globalSetting:ar})=>({classroomList:Zt,shixunHomeworks:$t,globalSetting:ar,user:Da,loading:zt.effects}))(Di)},12082:function(ft,ut,ee){"use strict";var x=ee(67294),de=ee(22150),pe=ee(2453),De=ee(14446),we=ee(71230),ke=ee(78045),ie=ee(31795),We=ee(15746),Me=ee(34336),Te=ee(84567),ze=ee(27484),Be=ee.n(ze),me=ee(33170),oe=ee(52262),a=ee(28706),y=ee(35973),b=ee(12317),E=ee(89779),z=ee(17998),te=ee(67294),ne=Object.defineProperty,re=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,Ce=(Le,Ge,He)=>Ge in Le?ne(Le,Ge,{enumerable:!0,configurable:!0,writable:!0,value:He}):Le[Ge]=He,be=(Le,Ge)=>{for(var He in Ge||(Ge={}))he.call(Ge,He)&&Ce(Le,He,Ge[He]);if(le)for(var He of le(Ge))ve.call(Ge,He)&&Ce(Le,He,Ge[He]);return Le},ye=(Le,Ge)=>re(Le,ae(Ge)),Ae=(Le,Ge)=>{var He={};for(var Ke in Le)he.call(Le,Ke)&&Ge.indexOf(Ke)<0&&(He[Ke]=Le[Ke]);if(Le!=null&&le)for(var Ke of le(Le))Ge.indexOf(Ke)<0&&ve.call(Le,Ke)&&(He[Ke]=Le[Ke]);return He},Ne=(Le,Ge,He)=>new Promise((Ke,qe)=>{var it=cn=>{try{Yt(He.next(cn))}catch(rt){qe(rt)}},mt=cn=>{try{Yt(He.throw(cn))}catch(rt){qe(rt)}},Yt=cn=>cn.done?Ke(cn.value):Promise.resolve(cn.value).then(it,mt);Yt((He=He.apply(Le,Ge)).next())});const Xe=Le=>{var Ge=Le,{classroomList:He,dispatch:Ke,courseEndTime:qe,onWindowBack:it}=Ge,mt=Ae(Ge,["classroomList","dispatch","courseEndTime","onWindowBack"]),Yt,cn,rt,Pt,Lt,ct,Ft,jt,_e,En,Fn,ha,In,at,lt,dt,At,Et,gt,Xt,Ot,bt,on,Jt,$e,Re,Nn,xe,je,Ht,et,Ue,Ct,yt,kt,Pn,Nt,Tt,St;const tn=(0,y.useParams)(),[Kt]=de.default.useForm(),[mn,Qn]=(0,x.useState)(1),[wn,Wn]=(0,x.useState)([]),[ma,_t]=(0,x.useState)(0),[Vt,en]=(0,x.useState)(2e3),[la,aa]=(0,x.useState)(!0),[jn,Oa]=(0,x.useState)(!1),[Ia,vr]=(0,x.useState)(!1),[zr,La]=(0,x.useState)([]),[Je,Bt]=(0,x.useState)(!0),[xt,Tn]=(0,x.useState)(!((rt=(cn=(Yt=He.actionTabs)==null?void 0:Yt.selectArrsAll)==null?void 0:cn[0])!=null&&rt.send_type));let[pn,_n]=(0,x.useState)([0,0,0]);(0,x.useEffect)(()=>{var pt,qt,Ut,dn,Gn,nn,Vn,Cn,ia,Za,ir,Nr,Hr;if(He.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03")if(Yr(),(Ut=(qt=(pt=He.actionTabs)==null?void 0:pt.selectArrsAll)==null?void 0:qt[0])!=null&&Ut.can_publish?_n([...(ia=(Cn=(Vn=He.actionTabs)==null?void 0:Vn.selectArrsAll)==null?void 0:Cn[0])==null?void 0:ia.difficult_count]):_n([...(nn=(Gn=(dn=He.actionTabs)==null?void 0:dn.selectArrsAll)==null?void 0:Gn[0])==null?void 0:nn.difficult_settings]),Tn(!((Nr=(ir=(Za=He.actionTabs)==null?void 0:Za.selectArrsAll)==null?void 0:ir[0])!=null&&Nr.send_type)),Xr(),He.actionTabs.type===2){const Ln=(Hr=He.actionTabs.selectArrsAll)==null?void 0:Hr[0];Bt(Ln.unified_setting)}else Bt(!1)},[He.actionTabs]),(0,x.useEffect)(()=>{if(jn){if(Ia)return;Ke({type:"classroomList/setActionTabs",payload:{}}),(0,oe.GJ)()?(Ke({type:"classroomList/getClassroomTeacherCommonList",payload:ye(be({},He.actionTabs.params),{type:1})}),Ke({type:"shixunHomeworks/getWorkList",payload:be({},tn)})):Ke({type:"classroomList/getClassroomCommonList",payload:be({},He.actionTabs.params)})}},[jn]);const Xr=pt=>Ne(void 0,null,function*(){aa(!0);const qt=yield(0,E.c_)(ye(be({},tn),{page:pt||mn,limit:2e4,homework_id:He.actionTabs.type===1?"":He.actionTabs.selectArrs[0]}));qt==null||qt.course_groups.map((Ut,dn)=>{Ut.key=Ut.id,Ut.title=Ut.name,Ut.disabled=Ut.is_published}),qt&&(Wn([...qt==null?void 0:qt.course_groups]),_t(qt==null?void 0:qt.course_groups_count),aa(!1),pt||Kt.setFieldsValue({publish_time:Be()(Be()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:Be()(Be()(new Date).add(7,"days").format("YYYY-MM-DD HH:mm"))}))}),Ta=()=>{(0,oe.GJ)()?He.actionTabs.detail?(Ke({type:"shixunHomeworks/setActionTabs",payload:{}}),Ke({type:"shixunHomeworks/getWorkList",payload:be({},tn)}),Ke({type:"shixunHomeworks/getWorkSetting",payload:be({},tn)})):Ke({type:"classroomList/getClassroomTeacherCommonList",payload:ye(be({},He.actionTabs.params),{type:5,category:He.actionTabs.params.categoryId})}):Ke({type:"classroomList/getClassroomCommonList",payload:be({},He.actionTabs.params)})},Cr=()=>Ne(void 0,null,function*(){var pt,qt;if((0,oe.Rm)()&&!((pt=He.AssistantObject.hack)!=null&&pt.can_publish)){pe.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 Ut=be({},Kt.getFieldsValue());if(Ut.end_time<=Ut.publish_time){pe.ZP.info("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u5927\u4E8E\u6216\u7B49\u4E8E\u53D1\u5E03\u65F6\u95F4"),ur(!1);return}if((zr==null?void 0:zr.length)<=0&&!Je&&wn.length>0){pe.ZP.info("\u53D1\u5E03\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A"),ur(!1);return}if(pn.reduce((nn,Vn)=>nn+Vn)===0&&!xt){pe.ZP.info("\u7B80\u5355\u9002\u4E2D\u56F0\u96BE\u9898\u6570\u76F8\u52A0\u4E0D\u80FD\u4E3A0"),ur(!1);return}let dn={homework_ids:[...He.actionTabs.selectArrs],group_ids:zr.length>0?zr.map(nn=>nn.id):(qt=He.detailCommonHomeworksList)==null?void 0:qt.course_groups,end_time:Be()(Ut.end_time).format("YYYY-MM-DD HH:mm"),publish_time:Be()(Ut.publish_time).format("YYYY-MM-DD HH:mm"),difficult_settings:pn==null?void 0:pn.map(nn=>nn),send_type:xt?"0":"1",unified_setting:!zr.length};if(ur(!0),(yield(0,me.ZP)(`/api/courses/${tn.coursesId}/homework_commons/publish_with_homework_list_position.json`,{method:"post",body:be({},dn)})).status===0){if(ur(!1),(0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u56FE\u6587\u4F5C\u4E1A","\u7ACB\u5373\u53D1\u5E03"]),pe.ZP.success("\u53D1\u5E03\u6210\u529F"),Ke({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}),it){it();return}mt.onCallback&&mt.onCallback(),Ta(),localStorage.getItem("Noviceguide")==="0"||Ke({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:13,text:te.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)}),Yr=()=>{Qn(1),Wn([]),La([])},co=ma>mn*Vt,[Xn,ur]=(0,x.useState)(!1);return te.createElement(De.default,{width:600,confirmLoading:Xn,centered:!0,title:"\u53D1\u5E03\u4F5C\u4E1A",open:He.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03",okText:"\u53D1\u5E03\u4F5C\u4E1A",cancelText:"\u6682\u4E0D\u53D1\u5E03",onOk:Cr,onCancel:()=>{if(Yr(),Ke({type:"classroomList/setActionTabs",payload:{}}),it){it();return}Ta()}},te.createElement("p",{className:"tc"},"\u5B66\u751F\u5C06\u7ACB\u5373\u6536\u5230\u4F5C\u4E1A",te.createElement("br",null),'\u672C\u64CD\u4F5C\u53EA\u5BF9"\u672A\u53D1\u5E03"\u7684\u4F5C\u4E1A\u6709\u6548'),wn&&te.createElement(de.default,{form:Kt},te.createElement("div",{style:{paddingLeft:0}},He.actionTabs.type===2&&te.createElement(we.Z,{style:{marginBottom:"10px"}},te.createElement("span",{className:"mr5"},"\u8BD5\u9898\u53D1\u9001:"),te.createElement(ke.ZP.Group,{value:xt,disabled:!((ct=(Lt=(Pt=He.actionTabs)==null?void 0:Pt.selectArrsAll)==null?void 0:Lt[0])!=null&&ct.can_publish),onChange:pt=>{Tn(pt.target.value)}},te.createElement(ke.ZP,{value:!0},"\u5168\u90E8\u56FA\u5B9A\u8BD5\u9898"),te.createElement(ke.ZP,{className:"ml20",value:!1},"\u968F\u673A\u62BD\u53D6"))),!xt&&te.createElement(we.Z,{style:{marginBottom:"10px"}},te.createElement("span",{style:{marginRight:65}}),te.createElement("span",null,"\u7B80\u5355\u9898\u6570 ",te.createElement(ie.Z,{value:pn[0],onChange:pt=>{pn[0]=pt,_n([...pn])},min:0,disabled:!((_e=(jt=(Ft=He.actionTabs)==null?void 0:Ft.selectArrsAll)==null?void 0:jt[0])!=null&&_e.can_publish),placeholder:`\u6700\u5927${(In=(ha=(Fn=(En=He.actionTabs)==null?void 0:En.selectArrsAll)==null?void 0:Fn[0])==null?void 0:ha.difficult_count)==null?void 0:In[0]}`,max:(At=(dt=(lt=(at=He.actionTabs)==null?void 0:at.selectArrsAll)==null?void 0:lt[0])==null?void 0:dt.difficult_count)==null?void 0:At[0],style:{width:60}})),te.createElement("span",{style:{margin:"0px 40px"}},"\u9002\u4E2D\u9898\u6570 ",te.createElement(ie.Z,{value:pn[1],onChange:pt=>{pn[1]=pt,_n([...pn])},min:0,disabled:!((Xt=(gt=(Et=He.actionTabs)==null?void 0:Et.selectArrsAll)==null?void 0:gt[0])!=null&&Xt.can_publish),max:(Jt=(on=(bt=(Ot=He.actionTabs)==null?void 0:Ot.selectArrsAll)==null?void 0:bt[0])==null?void 0:on.difficult_count)==null?void 0:Jt[1],placeholder:`\u6700\u5927${(xe=(Nn=(Re=($e=He.actionTabs)==null?void 0:$e.selectArrsAll)==null?void 0:Re[0])==null?void 0:Nn.difficult_count)==null?void 0:xe[1]}`,style:{width:60}})),te.createElement("span",null,"\u56F0\u96BE\u9898\u6570 ",te.createElement(ie.Z,{value:pn[2],onChange:pt=>{pn[2]=pt,_n([...pn])},min:0,disabled:!((et=(Ht=(je=He.actionTabs)==null?void 0:je.selectArrsAll)==null?void 0:Ht[0])!=null&&et.can_publish),placeholder:`\u6700\u5927${(kt=(yt=(Ct=(Ue=He.actionTabs)==null?void 0:Ue.selectArrsAll)==null?void 0:Ct[0])==null?void 0:yt.difficult_count)==null?void 0:kt[2]}`,max:(St=(Tt=(Nt=(Pn=He.actionTabs)==null?void 0:Pn.selectArrsAll)==null?void 0:Nt[0])==null?void 0:Tt.difficult_count)==null?void 0:St[2],style:{width:60}}))),te.createElement(we.Z,{className:"mt30",align:"middle"},te.createElement(We.Z,null,te.createElement(de.default.Item,{name:"publish_time",label:"\u53D1\u5E03\u65F6\u95F4"},te.createElement(Me.default,{style:{width:170,marginRight:"25px"},disabledDate:pt=>(0,z.Q8)(pt,qe),disabledTime:pt=>(0,z.d0)(pt),placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Be()((0,a.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),te.createElement(We.Z,{className:"ml20"},te.createElement(de.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},te.createElement(Me.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Be()((0,a.U6)(),"HH:mm")},disabledDate:pt=>(0,z.Q8)(pt,qe,Kt.getFieldValue("publish_time")),disabledTime:pt=>(0,z.d0)(pt,Kt.getFieldValue("publish_time")),format:"YYYY-MM-DD HH:mm",allowClear:!1})))),He.actionTabs.type===2&&te.createElement(we.Z,{style:{marginBottom:"10px"}},te.createElement("span",{className:"mr5"},"\u53D1\u5E03\u8BBE\u7F6E:"),te.createElement(ke.ZP.Group,{value:Je,onChange:pt=>{Bt(pt.target.value),La([])}},te.createElement(ke.ZP,{value:!0,disabled:!He.actionTabs.manage_all_group},"\u7EDF\u4E00\u53D1\u5E03"),te.createElement(ke.ZP,{className:"ml20",disabled:wn.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),wn.length<=0&&He.actionTabs.type===2&&te.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"')),(He.actionTabs.type===1||!Je)&&wn.length>0&&te.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},te.createElement("span",{style:{flex:1}},te.createElement(Te.default,{checked:zr.length===wn.length,onChange:pt=>{zr.length===wn.length?La([]):La(wn.filter(qt=>!qt.is_published))}},"\u5168\u9009")," "),te.createElement("span",{style:{width:16}}),te.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",zr.length||0,"\u4E2A\u5206\u73ED")),(He.actionTabs.type===1||!Je)&&wn.length>0&&te.createElement(b.Z,{data:wn,selectedRowKeys:zr,setSelectedRowKeys:La})))};ut.Z=(0,y.connect)(({classroomList:Le})=>({classroomList:Le}))(Xe)},17998:function(ft,ut,ee){"use strict";ee.d(ut,{Q8:function(){return it},d0:function(){return mt},w6:function(){return qe}});var x=ee(67294),de=ee(34336),pe=ee(11713),De=ee(2453),we=ee(14446),ke=ee(78045),ie=ee(71230),We=ee(15746),Me=ee(83062),Te=ee(84567),ze=ee(71577),Be=ee(27484),me=ee.n(Be),oe=ee(52262),a=ee(33170),y=ee(96486),b=ee.n(y),E=ee(28706),z=ee(39886),te=ee(35973),ne=ee(39717),re=ee(78207),ae=ee(92882),le=ee(96332),he=ee(93686),ve=ee(67294),Ce=Object.defineProperty,be=Object.defineProperties,ye=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,Le=(Pt,Lt,ct)=>Lt in Pt?Ce(Pt,Lt,{enumerable:!0,configurable:!0,writable:!0,value:ct}):Pt[Lt]=ct,Ge=(Pt,Lt)=>{for(var ct in Lt||(Lt={}))Ne.call(Lt,ct)&&Le(Pt,ct,Lt[ct]);if(Ae)for(var ct of Ae(Lt))Xe.call(Lt,ct)&&Le(Pt,ct,Lt[ct]);return Pt},He=(Pt,Lt)=>be(Pt,ye(Lt)),Ke=(Pt,Lt,ct)=>new Promise((Ft,jt)=>{var _e=ha=>{try{Fn(ct.next(ha))}catch(In){jt(In)}},En=ha=>{try{Fn(ct.throw(ha))}catch(In){jt(In)}},Fn=ha=>ha.done?Ft(ha.value):Promise.resolve(ha.value).then(_e,En);Fn((ct=ct.apply(Pt,Lt)).next())});function qe(Pt,Lt){const ct=[];for(let Ft=Pt;Ft<Lt;Ft++)ct.push(Ft);return ct}const it=(Pt,Lt,ct)=>{const Ft=Pt<me()().startOf("day"),jt=Pt>me()(Lt).endOf("day"),_e=Pt<me()(ct).startOf("day");return Lt?ct?me()()<=me()(ct)?_e||jt:Ft||jt:Pt&&Ft||jt:ct&&me()()<=me()(ct)?_e:Ft},mt=(Pt,Lt)=>{const ct=parseInt(me()(Pt).format("HH")),Ft=parseInt(me()().format("HH")),jt=parseInt(me()().format("mm"));if(!Pt)return{disabledHours:()=>qe(0,Ft),disabledMinutes:()=>qe(0,jt)};if(Lt){const _e=parseInt(me()(Lt).format("HH")),En=parseInt(me()(Lt).format("mm"));return me()(Pt).isSame(me()(Lt),"day")?{disabledHours:()=>qe(0,_e),disabledMinutes:()=>ct<=_e?qe(0,En):[]}:void 0}if(me()(Pt).isSame(me()(),"day"))return{disabledHours:()=>qe(0,Ft),disabledMinutes:()=>me()(Pt).isSame(me()(),"hour")&&ct<=Ft?qe(0,jt):[]}},{RangePicker:Yt}=de.default,{Option:cn}=pe.default,rt=({shixunHomeworks:Pt,loading:Lt,dispatch:ct,classroomList:Ft,user:jt})=>{var _e,En,Fn,ha,In,at,lt,dt,At;const Et=(0,te.useParams)(),{workSetting:gt,workList:Xt,shixunWorkList:Ot,headerInfo:bt,changeData:on}=Pt,[Jt,$e]=(0,x.useState)(!1),[Re,Nn]=(0,x.useState)(!1);let[xe,je]=(0,x.useState)([]),[Ht,et]=(0,x.useState)([]),[Ue,Ct]=(0,x.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[yt,kt]=(0,x.useState)({}),[Pn,Nt]=(0,x.useState)({});(0,x.useEffect)(()=>()=>{je([])},[]),(0,x.useEffect)(()=>{$e(!(0,oe.GJ)())},[(0,oe.GJ)()]);const Tt=()=>{ct({type:"shixunHomeworks/getWorkSetting",payload:Ge({},Et)})};(0,x.useEffect)(()=>{if(!(gt!=null&&gt.course_id))return;Object.keys(Ue).map(function(en){Ue[en]=gt[en]}),(!Ue.allow_late||!Ue.unified_late)&&(Ue.late_penalty=20,Ue.penalty_type=ne.Q.Percent),Ue.unified_setting||(Ue.unified_late=!1,Ue.unified_anonymous_comment=!1,Ue.unified_anonymous_appeal=!1),xe=JSON.parse(JSON.stringify(gt.group_settings.map(en=>He(Ge({},en),{group_name:[en.group_name]})).filter(en=>en.publish_time!==null))),Ht=JSON.parse(JSON.stringify(gt.allow_late_settings.map(en=>He(Ge({},en),{group_name:[en.group_name]})).filter(en=>en.late_time!==null))),Ct(Ge({},Ue));const Vt=(0,E.QE)((xe==null?void 0:xe.length)>0?xe:[]);je([...Vt]),(Ht==null?void 0:Ht.length)<=0?et([{penalty_type:ne.Q.Percent,late_penalty:20}]):et([...Ht])},[gt]);const St=()=>Ke(void 0,null,function*(){var Vt,en;if(((Vt=jt==null?void 0:jt.userInfo)==null?void 0:Vt.user_status)===2){(0,re.Rd)();return}const la=JSON.parse(JSON.stringify(Ue));if(la.challenge_settings.filter(jn=>!jn.hide),la.categoryId=Et.categoryId,(en=la.challenge_settings)!=null&&en.every(jn=>!jn.checked)){De.ZP.warning("\u5173\u5361\u4E0D\u80FD\u5168\u90E8\u8BBE\u7F6E\u4E3A\u53EF\u4E0D\u505A");return}if(console.log(xe),!Ue.unified_setting)xe=xe==null?void 0:xe.map(jn=>{var Oa;if(!jn.publish_time||!jn.end_time)throw De.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(!jn.group_name)throw De.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return jn.group_name=typeof(jn==null?void 0:jn.group_name)=="string"?[jn==null?void 0:jn.group_name]:jn==null?void 0:jn.group_name,jn.group_id=(Oa=gt.group_settings)==null?void 0:Oa.filter(Ia=>{var vr;return(vr=jn==null?void 0:jn.group_name)==null?void 0:vr.includes(Ia.group_name)}).map(Ia=>Ia.group_id||Ia.id).toString().split(","),jn});else if(!Ue.publish_time||!Ue.end_time)throw De.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(la.group_settings=xe,Ue.allow_late)if(Ue.unified_late){if(Ue.late_penalty===null||Ue.late_penalty===void 0||Ue.late_penalty<0||Ue.late_penalty>100)throw De.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(!Ue.late_time)throw De.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 Ht=Ht==null?void 0:Ht.map(jn=>{var Oa,Ia;if(jn.late_penalty===null||jn.late_penalty===void 0||jn.late_penalty<0||jn.late_penalty>100)throw De.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(!jn.late_time)throw De.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(!jn.group_name)throw De.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return jn.group_name=typeof(jn==null?void 0:jn.group_name)=="string"?[jn==null?void 0:jn.group_name]:jn==null?void 0:jn.group_name,jn.group_id=(Ia=(Oa=jn==null?void 0:jn.group_name)==null?void 0:Oa.map(vr=>{var zr,La;let Je=(La=(zr=gt.group_settings)==null?void 0:zr.filter(Bt=>(Bt==null?void 0:Bt.group_name)===vr))==null?void 0:La[0];return Je==null?void 0:Je.group_id}))==null?void 0:Ia.toString().split(","),jn}),la.allow_late_settings=Ht;let aa=yield(0,he.Tr)({homework_common_ids:[parseInt(Et.categoryId)],course_id:Et.coursesId,type:"homework_common"});(aa==null?void 0:aa.student_count)===0?tn(la):(Nt(la),kt(aa))}),tn=Vt=>{var en;if(Vt.total_score===null){De.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(Vt!=null&&Vt.work_efficiency&&Vt.eff_score===null){De.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const la=Vt.challenge_settings.reduce((Oa,Ia)=>Oa+Number(Ia.challenge_score),0);if((la==null?void 0:la.toFixed(10))!==((en=Vt.total_score-Vt.eff_score)==null?void 0:en.toFixed(10))){De.ZP.warning(`\u6548\u7387\u5206\u52A0\u5173\u5361\u4EFB\u52A1\u603B\u5206\u5FC5\u987B\u7B49\u4E8E\u603B\u5206\u503C\uFF1A${Vt.total_score}\u5206`);return}const aa={shixun_evaluation:Vt.shixun_evaluation,challenge_settings:Vt.challenge_settings};let jn=()=>{var Oa;const Ia=()=>Ke(void 0,null,function*(){Nn(!0),(yield(0,a.ZP)(`/api/homework_commons/${Et.categoryId}/publish_setting.json`,{method:"post",body:Ge({},Vt)})).status===0&&(De.ZP.success("\u66F4\u65B0\u6210\u529F"),Tt(),ct({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:Ge({},Et)})),Nn(!1)});!(0,y.isEqual)(on,aa)&&!((Oa=bt==null?void 0:bt.homework_status)!=null&&Oa.includes("\u672A\u53D1\u5E03"))?we.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:Ia}):Ia()};gt!=null&&gt.high_resources_consume&&!(gt!=null&&gt.high_resources_consume_permission)?ct({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:Et.coursesId,type:"shixun",type_id:Et.categoryId,name:gt.homework_name,fn:()=>{jn()}}}):jn()},Kt=(Vt,en,la="group_id")=>{var aa;return en?en.find(jn=>jn[la]===Vt):(aa=gt==null?void 0:gt.group_settings)==null?void 0:aa.find(jn=>jn.group_id[0]===Vt)},mn=(gt==null?void 0:gt.allow_late)||(gt==null?void 0:gt.anonymous_comment),Qn=Vt=>{var en,la;const aa=Kt(Vt,gt==null?void 0:gt.allow_late_settings,"id"),jn=Kt(Vt,gt==null?void 0:gt.anonymous_comment_settings),Oa=Kt(Vt);return(gt==null?void 0:gt.allow_late)&&aa&&me()(aa==null?void 0:aa.late_time)<=me()()||(gt==null?void 0:gt.anonymous_comment)&&jn&&(jn==null?void 0:jn.evaluation_start)!==null||((la=(me()(Oa==null?void 0:Oa.end_time)<=me()()&&((en=gt==null?void 0:gt.allow_late_settings)==null?void 0:en.filter(Ia=>Ia.group_id.includes(Vt))))[0])==null?void 0:la.late_time)!=null},wn=(0,x.useMemo)(()=>(gt==null?void 0:gt.allow_late)||(gt==null?void 0:gt.all_group_late),[gt,bt]),Wn=gt==null?void 0:gt.anonymous_comment,ma=Vt=>{if(!Vt)return!1;const en=Kt(Vt,gt==null?void 0:gt.anonymous_comment_settings);return(gt==null?void 0:gt.anonymous_comment)&&en&&(en==null?void 0:en.evaluation_start)!==null},_t=(Vt,en)=>{var la,aa,jn;ct({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:Vt,index:en,rangePickerDisabled:Jt||(me()()<=me()((aa=Kt((la=Vt==null?void 0:Vt.group_id)==null?void 0:la[0]))==null?void 0:aa.publish_time)?!1:[!0,Qn((jn=Vt==null?void 0:Vt.group_id)==null?void 0:jn[0])]),disabledDate:gt==null?void 0:gt.course_end_date}})};return ve.createElement("section",{className:z.Z.form},ve.createElement("div",{className:z.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",ve.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")),ve.createElement("div",null,ve.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},ve.createElement(ke.ZP.Group,{disabled:Jt||!((_e=bt==null?void 0:bt.homework_status)!=null&&_e.includes("\u672A\u53D1\u5E03"))||(0,oe.Rm)()&&!((En=Ft.AssistantObject.practice)!=null&&En.can_publish),value:Ue.unified_setting,onChange:Vt=>{var en;if(!((en=bt==null?void 0:bt.homework_status)!=null&&en.includes("\u672A\u53D1\u5E03"))){De.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(Ue.unified_setting=!Ue.unified_setting,Ue.unified_setting||(Ue.unified_late=!1,et([{late_penalty:5}])),Ct(Object.assign({},Ue)),Ue.unified_setting===!1&&xe==""){je(xe.concat({}));return}Ue.unified_setting&&(je([]),et([{late_penalty:5}]))}},ve.createElement(ke.ZP,{value:!0,disabled:Jt||!(gt!=null&&gt.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),ve.createElement(ke.ZP,{disabled:Jt||!((Fn=gt==null?void 0:gt.group_settings)!=null&&Fn.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((ha=gt==null?void 0:gt.group_settings)==null?void 0:ha.length)===0&&ve.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")),Ue.unified_setting&&ve.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},ve.createElement(ie.Z,{align:"middle"},ve.createElement(We.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),ve.createElement(We.Z,{className:"ml10"},ve.createElement(de.default,{size:"large",disabled:Jt||!((In=bt==null?void 0:bt.homework_status)!=null&&In.includes("\u672A\u53D1\u5E03")||(at=bt==null?void 0:bt.homework_status)!=null&&at.includes("\u672A\u5F00\u59CB"))||(0,oe.Rm)()&&!((lt=Ft.AssistantObject.practice)!=null&&lt.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:Vt=>it(Vt,gt==null?void 0:gt.course_end_date),disabledTime:Vt=>mt(Vt),value:Ue.publish_time?me()(Ue.publish_time):"",onChange:(Vt,en)=>{Ue.publish_time=en,(Ue.end_time==""||!Ue.end_time)&&Ue.unified_setting&&(Ue.end_time=me()(Vt).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),Ct(Object.assign({},Ue))}}))),ve.createElement(ie.Z,{align:"middle",className:"pl30"},ve.createElement(We.Z,null,"\u622A\u6B62\u65F6\u95F4"),ve.createElement(We.Z,{className:"ml10"},ve.createElement(de.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:me()((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"))||Jt||(gt==null?void 0:gt.allow_late)&&me()()>=me()(gt==null?void 0:gt.end_time)||(0,oe.Rm)()&&!((dt=Ft.AssistantObject.practice)!=null&&dt.can_publish),disabledDate:Vt=>it(Vt,gt==null?void 0:gt.course_end_date,Ue.publish_time),disabledTime:Vt=>mt(Vt,Ue.publish_time),value:Ue.end_time?me()(Ue.end_time):"",onChange:(Vt,en)=>{Ue.end_time=en,Ct(Object.assign({},Ue))}})))),!Ue.unified_setting&&(xe==null?void 0:xe.length)>0&&ve.createElement(ie.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},xe&&xe.map(function(Vt,en){var la,aa,jn,Oa,Ia,vr,zr;return ve.createElement(We.Z,{span:24,key:en},ve.createElement(ie.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:en==(xe==null?void 0:xe.length)-1?"0px":"10px"}},ve.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",en+1),ve.createElement(pe.default,{disabled:Jt||((la=bt==null?void 0:bt.homework_status)!=null&&la.includes("\u672A\u53D1\u5E03")&&Vt.id||me()()<me()(Vt==null?void 0:Vt.publish_time)?!1:!!(Vt!=null&&Vt.publish_time))||(0,oe.Rm)()&&!((aa=Ft.AssistantObject.practice)!=null&&aa.can_publish),mode:"multiple",className:z.Z.multiple_select,style:{width:"250px"},value:Vt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:La=>{var Je;if((0,oe.Rm)()&&!((Je=Ft.AssistantObject.practice)!=null&&Je.can_publish)){De.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}xe[en].group_name=La,xe[en].group_id=Vt.group_id;const Bt=(0,y.flattenDeep)(xe.map(Tn=>Tn.group_name)),xt=Ht.map(Tn=>{let pn=(Tn==null?void 0:Tn.group_name)||[];return He(Ge({},Tn),{group_name:(0,y.remove)(pn,_n=>Bt.includes(_n))})});et(xt),je(xe.slice())},maxTagCount:4,maxTagPlaceholder:La=>ve.createElement("div",{style:{cursor:"pointer"},onClick:()=>_t(Vt,en)},"+",La==null?void 0:La.length)},gt.group_settings&&gt.group_settings.map(function(La){if(!xe.map(Bt=>Bt.group_name).flat().includes(La.group_name))return ve.createElement(cn,{value:La.group_name,key:La.id},La.group_name)})),ve.createElement("div",{className:"ml20"},ve.createElement(Yt,{size:"large",ranges:{\u6B64\u523B:[Vt.publish_time?me()(Vt.publish_time):me()(),me()()]},allowClear:!1,disabled:Jt||(me()()<=me()((Oa=Kt((jn=Vt==null?void 0:Vt.group_id)==null?void 0:jn[0]))==null?void 0:Oa.publish_time)?!1:[!0,Qn((Ia=Vt==null?void 0:Vt.group_id)==null?void 0:Ia[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:La=>it(La,gt==null?void 0:gt.course_end_date),disabledTime:La=>mt(La),showTime:{showNow:!0,format:"HH:mm",defaultValue:[me()((0,E.U6)(),"HH:mm"),me()((0,E.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:Vt.publish_time&&[me()(Vt.publish_time),Vt.end_time?me()(Vt.end_time):void 0],onChange:(La,Je)=>{var Bt;if((0,oe.Rm)()&&!((Bt=Ft.AssistantObject.practice)!=null&&Bt.can_publish)){De.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}xe[en].publish_time=Je[0],!Vt.end_time&&Je[0]?xe[en].end_time=me()(Je[0]).add(7,"days"):xe[en].end_time=Je[1],je([...xe])},onCalendarChange:(La,Je,Bt)=>{if(Je!=null&&Je[0]&&!Je[1]){const xt=me()(Je[0]).add(7,"days");xe[en].publish_time=Je[0],xe[en].end_time=xt,je([...xe])}}})),!Jt&&ve.createElement("div",{style:{display:"flex",width:"50px"}},((vr=Vt==null?void 0:Vt.group_id)==null?void 0:vr.length)>1&&ve.createElement(Me.Z,{title:"\u89C4\u5219\u62C6\u5206"},ve.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>_t(Vt,en)})),xe.length<((zr=gt==null?void 0:gt.group_settings)==null?void 0:zr.length)&&ve.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var La;if((0,oe.Rm)()&&!((La=Ft.AssistantObject.practice)!=null&&La.can_publish)){De.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}je(xe.concat({}))}}),((Vt==null?void 0:Vt.publish_time)&&me()()<me()(Vt==null?void 0:Vt.publish_time)||!(Vt!=null&&Vt.publish_time))&&en!=0&&ve.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const La=(0,y.cloneDeep)(Ht);La.forEach((Je,Bt)=>{Je.group_name&&(Je.group_name=Je.group_name.filter(xt=>{var Tn;return!((Tn=xe[en].group_name)!=null&&Tn.includes(xt))}))}),xe=xe.filter((Je,Bt)=>en!==Bt),et(La),je(xe.slice()),setTimeout(()=>je(xe.slice()),10)}}))))}))),ve.createElement(ie.Z,null,ve.createElement(We.Z,null,ve.createElement("div",{className:z.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",ve.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"))),ve.createElement(We.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},ve.createElement(Te.default,{checked:Ue.allow_late,disabled:Jt||wn,onChange:Vt=>{var en;if((0,oe.Rm)()&&!((en=Ft.AssistantObject.practice)!=null&&en.can_late)){De.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}Vt.target.checked&&we.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:ve.createElement("div",{style:{padding:10,background:"#f5f6f9"}},ve.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"),ve.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),ve.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"))}),Ue.allow_late=!Ue.allow_late,Ht==""&&et([{late_penalty:5}]),Ct(Object.assign({},Ue))}},ve.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(Ue==null?void 0:Ue.allow_late)&&ve.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},ve.createElement("div",{style:{display:"flex"}},ve.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),ve.createElement(ke.ZP.Group,{style:{marginLeft:"20px"},disabled:Jt||(gt==null?void 0:gt.anonymous_comment)||(gt==null?void 0:gt.allow_late),value:Ue.unified_late,onChange:Vt=>{var en;if((0,oe.Rm)()&&!((en=Ft.AssistantObject.practice)!=null&&en.can_late)){De.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}Ue.unified_late=Vt.target.value,Ht==""&&!Vt.target.value&&et([{penalty_type:ne.Q.Percent,late_penalty:20}]),Ct(Ge({},Ue))}},(Ue==null?void 0:Ue.unified_setting)&&ve.createElement(ke.ZP,{value:!0,disabled:!(gt!=null&&gt.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((At=gt==null?void 0:gt.group_settings)==null?void 0:At.length)>0&&ve.createElement(ke.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),Ue!=null&&Ue.unified_late?ve.createElement(ve.Fragment,null,ve.createElement(ie.Z,{align:"middle",style:{marginTop:"10px"}},ve.createElement(We.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),ve.createElement(We.Z,{className:"ml20"},ve.createElement(ne.Z,{disabled:Jt||Wn,value:{type:Ue.penalty_type,inputValue:Ue.late_penalty},onChange:Vt=>{var en;if((0,oe.Rm)()&&!((en=Ft.AssistantObject.practice)!=null&&en.can_late)){De.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(He(Ge({},Ue),{late_penalty:Vt.inputValue,penalty_type:Vt.type}))}})),ve.createElement(We.Z,{flex:"1",className:"ml5"},ve.createElement("span",{className:"c-grey-c ml10"},Ue.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)"))),ve.createElement(ie.Z,{align:"middle",style:{marginTop:"15px"}},ve.createElement(We.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),ve.createElement(We.Z,{className:"ml20"},ve.createElement(de.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:me()((0,E.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:Jt||Wn,value:Ue.late_time?me()(Ue.late_time):"",disabledDate:Vt=>it(Vt,gt==null?void 0:gt.course_end_date),onChange:(Vt,en)=>{var la;if((0,oe.Rm)()&&!((la=Ft.AssistantObject.practice)!=null&&la.can_late)){De.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}Ue.late_time=en,Ct(Object.assign({},Ue))}})))):Ht.map(function(Vt,en){var la;return ve.createElement(We.Z,{span:24,key:en},ve.createElement(ie.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},ve.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",en+1),ve.createElement(pe.default,{disabled:Jt||!((la=bt==null?void 0:bt.homework_status)!=null&&la.includes("\u672A\u53D1\u5E03"))&&Vt.id||(gt==null?void 0:gt.anonymous_comment),mode:"multiple",className:z.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof Vt.group_name=="string"?[Vt.group_name]:Vt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:aa=>{var jn;if((0,oe.Rm)()&&!((jn=Ft.AssistantObject.practice)!=null&&jn.can_late)){De.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}Ht[en].group_name=aa,Ht[en].group_id=Vt.group_id,et(Ht.slice())}},gt.group_settings&&gt.group_settings.map(function(aa){const jn=Ht.map(Ia=>Ia.group_name).flat(),Oa=xe.map(Ia=>Ia.group_name).flat();if(Ue!=null&&Ue.unified_setting){if(!jn.includes(aa.group_name))return ve.createElement(cn,{value:aa.group_name,key:aa.id},aa.group_name)}else if(Oa.includes(aa.group_name)&&!jn.includes(aa.group_name))return ve.createElement(cn,{value:aa.group_name,key:aa.id},aa.group_name)})),ve.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),ve.createElement(ne.Z,{disabled:Jt||ma(Vt.id),value:{type:Vt.penalty_type,inputValue:Vt.late_penalty},onChange:aa=>{var jn;if((0,oe.Rm)()&&!((jn=Ft.AssistantObject.practice)!=null&&jn.can_late)){De.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}Ht[en].late_penalty=aa.inputValue,Ht[en].penalty_type=aa.type,et([...Ht])}}),ve.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),ve.createElement(de.default,{size:"large",disabled:Jt||ma(Vt.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:me()((0,E.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:aa=>it(aa,gt==null?void 0:gt.course_end_date),format:"YYYY-MM-DD HH:mm",value:Vt!=null&&Vt.late_time?me()(Vt.late_time):void 0,onChange:(aa,jn)=>{var Oa;if((0,oe.Rm)()&&!((Oa=Ft.AssistantObject.practice)!=null&&Oa.can_late)){De.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}Ht[en].late_time=jn,et([...Ht])}}),!Jt&&ve.createElement("div",{style:{display:"flex",width:"50px"}},ve.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var aa;if((0,oe.Rm)()&&!((aa=Ft.AssistantObject.practice)!=null&&aa.can_late)){De.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}et(Ht.concat({penalty_type:ne.Q.Percent,late_penalty:20}))}}),en>0&&!Vt.id&&ve.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var aa;if((0,oe.Rm)()&&!((aa=Ft.AssistantObject.practice)!=null&&aa.can_late)){De.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}Ht=Ht.filter((jn,Oa)=>en!==Oa),et(Ht.slice()),setTimeout(()=>et(Ht.slice()),10)}}))))})),!Jt&&ve.createElement(ve.Fragment,null,ve.createElement(ze.ZP,{type:"primary",size:"large",loading:Re,style:{width:"138px",marginTop:"30px"},onClick:()=>St()},"\u4FDD\u5B58")),ve.createElement(ae.Z,{onConfirm:(Vt,en)=>{xe.splice(Vt,0,...en),xe.splice(Vt+en.length,1);const la=(0,E.QE)([...xe]);je([...la])}}),ve.createElement(le.Z,{resdata:yt,type:"shixun",okloading:Re,oktext:(yt==null?void 0:yt.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:Vt=>Ke(void 0,null,function*(){Nn(!0);let en=yield(0,a.ZP)(`/api/courses/${Et.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(Et.categoryId)]}});Nn(!1),(en==null?void 0:en.status)===0&&tn(Pn)})}))};ut.ZP=(0,te.connect)(({shixunHomeworks:Pt,classroomList:Lt,loading:ct,user:Ft})=>({shixunHomeworks:Pt,classroomList:Lt,loading:ct.effects,user:Ft}))(rt)},6151:function(ft,ut,ee){"use strict";var x=ee(67294),de=ee(59810),pe=ee(22150),De=ee(14446),we=ee(2453),ke=ee(9430),ie=ee(35973),We=ee(11320),Me=ee(67795),Te=ee(33170),ze=ee(27484),Be=ee.n(ze),me=ee(28706),oe=ee(67294),a=Object.defineProperty,y=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,z=(le,he,ve)=>he in le?a(le,he,{enumerable:!0,configurable:!0,writable:!0,value:ve}):le[he]=ve,te=(le,he)=>{for(var ve in he||(he={}))b.call(he,ve)&&z(le,ve,he[ve]);if(y)for(var ve of y(he))E.call(he,ve)&&z(le,ve,he[ve]);return le},ne=(le,he,ve)=>new Promise((Ce,be)=>{var ye=Xe=>{try{Ne(ve.next(Xe))}catch(Le){be(Le)}},Ae=Xe=>{try{Ne(ve.throw(Xe))}catch(Le){be(Le)}},Ne=Xe=>Xe.done?Ce(Xe.value):Promise.resolve(Xe.value).then(ye,Ae);Ne((ve=ve.apply(le,he)).next())});const{Dragger:re}=de.default,ae=({classroomList:le,dispatch:he,onOk:ve})=>{const Ce=(0,ie.useParams)(),[be]=pe.default.useForm(),[ye,Ae]=(0,x.useState)(),[Ne,Xe]=(0,x.useState)(!1),Le={height:100,onRemove:()=>{Ae("")},accept:".xls,.xlsx",multiple:!1,maxCount:1,beforeUpload:Ge=>ne(void 0,null,function*(){return Ae(Ge),!1})};return(0,x.useEffect)(()=>{be.setFieldsValue({publish_time:Be()(Be()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:Be()(Be()(new Date((0,me.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),oe.createElement(De.default,{centered:!0,title:"\u8865\u5145\u6210\u7EE9",open:le.actionTabs.key==="\u8865\u5145\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:Ne},onOk:()=>ne(void 0,null,function*(){be.submit()}),onCancel:()=>{be.resetFields(),he({type:"classroomList/setActionTabs",payload:{}})}},oe.createElement(pe.default,{form:be,onFinish:Ge=>ne(void 0,null,function*(){var He,Ke,qe;if(!(ye!=null&&ye.size)){we.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}Xe(!0);let it=new FormData;it.append("type",le.actionTabs.type),it.append("file",ye);let mt;window.location.href.indexOf("exercise")>-1?mt=`/api/exercises/${le.actionTabs.id}/supplement_score.json`:mt=`/api/homework_commons/${le.actionTabs.id}/supplement_score.json`;let Yt=yield(0,Te.ZP)(mt,{method:"post",body:it},!0);Xe(!1),(Yt==null?void 0:Yt.status)===0&&(ve(),be.resetFields(),he({type:"classroomList/setActionTabs",payload:{}}),((Ke=(He=Yt==null?void 0:Yt.data)==null?void 0:He.fail)==null?void 0:Ke.length)>0&&De.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:oe.createElement(ke.default,{pagination:!1,dataSource:(qe=Yt==null?void 0:Yt.data)==null?void 0:qe.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,me.FH)("",We.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${le.actionTabs.type}`)}}))})},oe.createElement(pe.default.Item,{label:"\u4F5C\u4E1A\u540D\u79F0",labelCol:{span:3},name:"name"},le.actionTabs.name),oe.createElement(pe.default.Item,{style:{marginBottom:0},label:oe.createElement("div",null,oe.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),oe.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},oe.createElement("div",null,oe.createElement("a",{download:"\u6A21\u7248.xlsx",className:Me.Z.downloadbutton,href:We.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${le.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),oe.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),oe.createElement(pe.default.Item,{style:{marginBottom:0}},oe.createElement(re,te({},Le),oe.createElement("a",{className:Me.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),oe.createElement("br",null),oe.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"))))))};ut.Z=(0,ie.connect)(({classroomList:le})=>({classroomList:le}))(ae)},44694:function(ft,ut,ee){"use strict";var x=ee(67294),de=ee(59810),pe=ee(22150),De=ee(66368),we=ee(9430),ke=ee(28452),ie=ee(35973),We=ee(33170),Me=ee(27484),Te=ee.n(Me),ze=ee(67294),Be=(a,y,b)=>new Promise((E,z)=>{var te=ae=>{try{re(b.next(ae))}catch(le){z(le)}},ne=ae=>{try{re(b.throw(ae))}catch(le){z(le)}},re=ae=>ae.done?E(ae.value):Promise.resolve(ae.value).then(te,ne);re((b=b.apply(a,y)).next())});const{Dragger:me}=de.default,oe=({})=>{const a=(0,ie.useParams)(),[y]=pe.default.useForm(),[b,E]=(0,x.useState)(!0),[z,te]=(0,x.useState)(!1);let[ne,re]=(0,x.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 le(){return Be(this,null,function*(){let ve;te(!0),window.location.href.indexOf("exercise")>-1?ve=`/api/exercises/${a==null?void 0:a.categoryId}/redo_logs.json`:ve=`/api/homework_commons/${a==null?void 0:a.categoryId}/redo_logs.json`;let Ce=yield(0,We.ZP)(ve,{method:"get",params:ne});te(!1),(Ce==null?void 0:Ce.status)===0&&E(Ce==null?void 0:Ce.data)})}(0,x.useEffect)(()=>{le()},[]);let he=[{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:(ve,Ce,be)=>{var ye;return(ye=ae.find(Ae=>Ae.question_type===ve))==null?void 0:ye.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:(ve,Ce,be)=>{var ye;return(ye=[{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(Ae=>Ae.id===ve))==null?void 0:ye.name}},{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(ve,Ce,be)=>Te()(ve).format("YYYY-MM-DD HH:mm:ss")}].filter(ve=>!!ve);return ze.createElement("div",{style:{padding:"0px 30px",background:"#fff",paddingBottom:30}},ze.createElement(De.default,{destroyInactiveTabPane:!0,onChange:ve=>{ne.type=ve,ne.page=1,ne.limit=10,re(ne),le()},items:[window.location.href.indexOf("program_homework")<=-1&&{key:"1",label:"\u6253\u56DE\u91CD\u505A",children:ze.createElement(we.default,{className:"mt20",loading:z,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:(ve,Ce,be)=>Te()(ve).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(we.default,{className:"mt20",loading:z,columns:he,dataSource:b==null?void 0:b.list,pagination:!1})}].filter(ve=>!!ve)}),ze.createElement(ke.Z,{hideOnSinglePage:!0,showSizeChanger:!1,onChange:(ve,Ce)=>{ne.page=ve,ne.limit=Ce,re(ne),le()},current:ne.page,total:b.count,pageSize:ne.limit,style:{marginTop:20}}))};ut.Z=(0,ie.connect)(({classroomList:a})=>({classroomList:a}))(oe)},58387:function(ft,ut,ee){"use strict";var x=ee(67294),de=ee(59810),pe=ee(22150),De=ee(14446),we=ee(31795),ke=ee(35973),ie=ee(33170),We=ee(27484),Me=ee.n(We),Te=ee(28706),ze=ee(67294),Be=Object.defineProperty,me=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(le,he,ve)=>he in le?Be(le,he,{enumerable:!0,configurable:!0,writable:!0,value:ve}):le[he]=ve,z=(le,he)=>{for(var ve in he||(he={}))y.call(he,ve)&&E(le,ve,he[ve]);if(a)for(var ve of a(he))b.call(he,ve)&&E(le,ve,he[ve]);return le},te=(le,he)=>me(le,oe(he)),ne=(le,he,ve)=>new Promise((Ce,be)=>{var ye=Xe=>{try{Ne(ve.next(Xe))}catch(Le){be(Le)}},Ae=Xe=>{try{Ne(ve.throw(Xe))}catch(Le){be(Le)}},Ne=Xe=>Xe.done?Ce(Xe.value):Promise.resolve(Xe.value).then(ye,Ae);Ne((ve=ve.apply(le,he)).next())});const{Dragger:re}=de.default,ae=({classroomList:le,dispatch:he,onOk:ve})=>{const Ce=(0,ke.useParams)(),[be]=pe.default.useForm(),[ye,Ae]=(0,x.useState)(),[Ne,Xe]=(0,x.useState)(!1),Le={height:100,onRemove:()=>{Ae("")},accept:".xls,.xlsx",multiple:!1,beforeUpload:Ge=>ne(void 0,null,function*(){return Ae(Ge),!1})};return(0,x.useEffect)(()=>{be.setFieldsValue({publish_time:Me()(Me()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:Me()(Me()(new Date((0,Te.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),ze.createElement(De.default,{centered:!0,title:"\u4FEE\u6539\u6210\u7EE9",open:le.actionTabs.key==="\u4FEE\u6539\u6210\u7EE9",okText:"\u786E\u5B9A",width:600,cancelText:"\u53D6\u6D88",okButtonProps:{loading:Ne},onOk:()=>ne(void 0,null,function*(){be.submit()}),onCancel:()=>{be.resetFields(),he({type:"classroomList/setActionTabs",payload:{}})}},ze.createElement(pe.default,{form:be,onFinish:Ge=>ne(void 0,null,function*(){var He,Ke;console.log("---",le.actionTabs,Ge,Ce);let qe=((He=le==null?void 0:le.actionTabs)==null?void 0:He.type)==="exercise"?`/api/exercises/${Ce==null?void 0:Ce.category}/exercise_user/edit_score.json`:`/api/student_works/${le.actionTabs.id}/edit_score.json`;Xe(!0);let it=yield(0,ie.ZP)(qe,{method:"post",body:te(z({},Ge),{exercise_user_id:((Ke=le==null?void 0:le.actionTabs)==null?void 0:Ke.type)==="exercise"?le.actionTabs.id:""})});Xe(!1),be.resetFields(),he({type:"classroomList/setActionTabs",payload:{}}),ve()})},ze.createElement(pe.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(we.Z,{min:0,style:{width:"100%"}}))))};ut.Z=(0,ke.connect)(({classroomList:le})=>({classroomList:le}))(ae)},17755:function(ft,ut,ee){"use strict";var x=ee(67294),de=ee(59810),pe=ee(22150),De=ee(71577),we=ee(71230),ke=ee(93421),ie=ee(34336),We=ee(35973),Me=ee(27484),Te=ee.n(Me),ze=ee(17998),Be=ee(33170),me=ee(67294),oe=(b,E,z)=>new Promise((te,ne)=>{var re=he=>{try{le(z.next(he))}catch(ve){ne(ve)}},ae=he=>{try{le(z.throw(he))}catch(ve){ne(ve)}},le=he=>he.done?te(he.value):Promise.resolve(he.value).then(re,ae);le((z=z.apply(b,E)).next())});const{Dragger:a}=de.default,y=({})=>{const b=(0,We.useParams)(),[E]=pe.default.useForm(),[z,te]=(0,x.useState)(!0),[ne,re]=(0,x.useState)(!1);console.log("----",b);function ae(){return oe(this,null,function*(){var le,he;let ve;window.location.href.indexOf("exercise")>-1?ve=`/api/exercises/${b==null?void 0:b.categoryId}/get_time_setting.json`:ve=`/api/homework_commons/${b==null?void 0:b.categoryId}/get_time_setting.json`;let Ce=yield(0,Be.ZP)(ve,{method:"get"});(Ce==null?void 0:Ce.status)===0&&E.setFieldsValue({publish_time:Te()(Te()((le=Ce==null?void 0:Ce.data)==null?void 0:le.publish_time).format("YYYY-MM-DD HH:mm")),end_time:Te()(Te()((he=Ce==null?void 0:Ce.data)==null?void 0:he.end_time).format("YYYY-MM-DD HH:mm"))})})}return(0,x.useEffect)(()=>{ae()},[]),me.createElement("div",{style:{padding:"50px 30px",background:"#fff"}},me.createElement("div",{style:{textAlign:"end"}},z&&me.createElement(De.ZP,{onClick:()=>{te(!1)}},"\u7F16\u8F91\u8BBE\u7F6E"),!z&&me.createElement("div",null,me.createElement(De.ZP,{type:"primary",loading:ne,onClick:()=>{E.submit()}},"\u63D0\u4EA4"),me.createElement(De.ZP,{style:{marginLeft:20},onClick:()=>{te(!0)}},"\u53D6\u6D88"))),me.createElement(pe.default,{form:E,disabled:z,onFinish:le=>oe(void 0,null,function*(){re(!0),console.log("---",window.location.href);let he;window.location.href.indexOf("exercise")>-1?he=`/api/exercises/${b==null?void 0:b.categoryId}/time_setting.json`:he=`/api/homework_commons/${b==null?void 0:b.categoryId}/time_setting.json`;let ve=yield(0,Be.ZP)(he,{method:"post",body:{publish_time:Te()(le.publish_time).format("YYYY-MM-DD HH:mm"),end_time:Te()(le.end_time).format("YYYY-MM-DD HH:mm")}});re(!1),(ve==null?void 0:ve.status)===0&&te(!0)})},me.createElement(we.Z,null,me.createElement(ke.Z,null,me.createElement(pe.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"publish_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}]},me.createElement(ie.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:260},size:"large",disabledDate:le=>(0,ze.Q8)(le),disabledTime:le=>(0,ze.d0)(le),allowClear:!1,format:"YYYY-MM-DD HH:mm"})),me.createElement("span",{style:{color:"#999999",fontSize:"14px",height:40,marginBottom:8,display:"block"}},"\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u7684\u65F6\u95F4\uFF09"))),me.createElement(we.Z,null,me.createElement(ke.Z,null,me.createElement(pe.default.Item,{label:"\u7ED3\u675F\u65F6\u95F4",name:"end_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4"}]},me.createElement(ie.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:260},size:"large",disabledDate:le=>(0,ze.Q8)(le,"",E.getFieldValue("publish_time")),disabledTime:le=>(0,ze.d0)(le,E.getFieldValue("publish_time")),allowClear:!1,format:"YYYY-MM-DD HH:mm"})),me.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")))))};ut.Z=(0,We.connect)(({classroomList:b})=>({classroomList:b}))(y)},12317:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return Te}});var x=ee(67294),de=ee(69677),pe=ee(84567),De=ee(71230),we={leftdiv:"leftdiv___aBzsX",listClass:"listClass___bxIEW",spantitle:"spantitle___v_Vc4",rightdiv:"rightdiv___xWu4M"},ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",ie=ee(26194),We=(ze,Be,me)=>new Promise((oe,a)=>{var y=z=>{try{E(me.next(z))}catch(te){a(te)}},b=z=>{try{E(me.throw(z))}catch(te){a(te)}},E=z=>z.done?oe(z.value):Promise.resolve(z.value).then(y,b);E((me=me.apply(ze,Be)).next())}),Te=({data:ze,value:Be=[],handleChangePage:me,setSelectedRowKeys:oe,selectedRowKeys:a,onChange:y=()=>{}})=>{const[b,E]=(0,x.useState)([]),[z,te]=(0,x.useState)([]),[ne,re]=(0,x.useState)([]);let[ae,le]=(0,x.useState)(1),[he,ve]=(0,x.useState)();return(0,x.useEffect)(()=>{E(ze),te([]),re([])},[ze]),(0,x.useEffect)(()=>{oe&&(te(a),re(a))},[a]),x.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},x.createElement("div",{className:we.leftdiv},x.createElement(de.default.Search,{size:"middle",onChange:Ce=>We(void 0,null,function*(){E(ze.filter(be=>{var ye;return(ye=be==null?void 0:be.name)==null?void 0:ye.includes(Ce.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),b.length===0&&x.createElement(ie.Z,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),x.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},x.createElement(pe.default.Group,{value:z.map(Ce=>`${Ce.id}`),onChange:Ce=>{oe(b.filter(be=>Ce.includes(`${be.id}`)))},style:{marginTop:"10px",flexDirection:"column"}},b.map((Ce,be)=>x.createElement(De.Z,{key:Ce.id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},x.createElement(pe.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:Ce.is_published,value:`${Ce.id}`},x.createElement("div",{className:we.listClass},x.createElement("span",{className:we.spantitle,style:{width:Ce.is_published?"108px":"170px"}},Ce.name),Ce.is_published&&x.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),x.createElement("div",{className:we.rightdiv},x.createElement(de.default.Search,{onChange:Ce=>{re(z.filter(be=>be.name.includes(Ce.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),ne.length===0&&x.createElement(ie.Z,{styles:{margin:"70px auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),ne.length>0&&x.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},x.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},ne.map((Ce,be)=>x.createElement(De.Z,{justify:"space-between",style:{marginTop:"10px"},key:Ce.id},x.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},Ce.name),x.createElement("img",{src:ke,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{oe(z.filter(ye=>`${ye.id}`!=`${Ce.id}`))}})))))))}},92882:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return y}});var x=ee(67294),de=ee(35973),pe=ee(34336),De=ee(14446),we=ee(69677),ke=ee(71230),ie=ee(15746),We={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},Me=ee(27484),Te=ee.n(Me),ze=ee(28706),Be=ee(26194),me=ee(67294);const{RangePicker:oe}=pe.default,a=({dispatch:b,classroomList:E,onConfirm:z})=>{const[te,ne]=(0,x.useState)([]),[re,ae]=(0,x.useState)([]),[le,he]=(0,x.useState)("");(0,x.useEffect)(()=>{var be;if(E.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){let ye=E.actionTabs.data;console.log("data",ye);let Ae=(be=ye==null?void 0:ye.group_name)==null?void 0:be.map((Ne,Xe)=>{var Le;return{group_id:ye==null?void 0:ye.group_id[Xe],group_name:ye==null?void 0:ye.group_name[Xe],is_admin:ye==null?void 0:ye.is_admin,end_time:ye==null?void 0:ye.end_time,publish_time:Array.isArray(ye==null?void 0:ye.publish_time)?(Le=ye==null?void 0:ye.publish_time)==null?void 0:Le[0]:ye==null?void 0:ye.publish_time}});Ae&&(ne([...Ae]),ae([...Ae]))}},[E.actionTabs]);const ve=()=>{b({type:"classroomList/setActionTabs",payload:{}}),he("")},Ce=be=>{if(be){const ye=re==null?void 0:re.filter(Ae=>{var Ne,Xe;return(Xe=(Ne=Ae==null?void 0:Ae.group_name)==null?void 0:Ne.toLowerCase())==null?void 0:Xe.includes(be==null?void 0:be.toLowerCase())});ne(ye)}else ne(re)};return me.createElement(De.default,{width:980,title:me.createElement("div",{style:{fontWeight:"bold",display:"flex"}},me.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",me.createElement("span",{className:We.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")),me.createElement(we.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:le,onChange:be=>{he(be.target.value.trim()),Ce(be.target.value.trim())}})),centered:!0,maskClosable:!1,open:E.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",onCancel:()=>ve(),onOk:()=>{var be;z((be=E.actionTabs)==null?void 0:be.index,re),ve()}},me.createElement("div",{className:We.modal_con},me.createElement(ke.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(te==null?void 0:te.length)>0?te.map(function(be,ye){var Ae,Ne;return me.createElement(ie.Z,{span:24,key:ye},me.createElement(ke.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:ye==(te==null?void 0:te.length)-1?"0px":"10px"}},me.createElement("div",{className:We.multiple_select,title:be.group_name},be.group_name),me.createElement("div",{className:"ml20"},me.createElement(oe,{size:"large",ranges:{\u6B64\u523B:[be.publish_time?Te()(be.publish_time):Te()(),Te()()]},allowClear:!1,disabled:(Ae=E.actionTabs)==null?void 0:Ae.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:Xe=>{var Le;return(0,ze.Q8)(Xe,(Le=E.actionTabs)==null?void 0:Le.disabledDate)},disabledTime:Xe=>(0,ze.d0)(Xe),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Te()((0,ze.U6)(),"HH:mm"),Te()((0,ze.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:be.publish_time&&[Te()(be.publish_time),be.end_time?Te()(be.end_time):void 0],onChange:(Xe,Le)=>{te[ye].publish_time=Le[0],te[ye].end_time=Le[1],ne([...te]),re.forEach(Ge=>{Ge.group_id===be.group_id&&(Ge.publish_time=Le[0],Ge.end_time=Le[1])}),ae([...re])}})),(Ne=E.actionTabs)!=null&&Ne.rangePickerDisabled?me.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):me.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{te.splice(ye,1),ne([...te]),re.forEach((Xe,Le)=>{Xe.group_id===be.group_id&&re.splice(Le,1)}),ae([...re])}})))}):me.createElement(Be.Z,null))))};var y=(0,de.connect)(({classroomList:b})=>({classroomList:b}))(a)},98769:function(ft,ut,ee){"use strict";ee.d(ut,{AD:function(){return Xe},BA:function(){return In},D9:function(){return it},Hp:function(){return ae},IM:function(){return Yt},Iy:function(){return le},KM:function(){return ha},KU:function(){return Lt},MJ:function(){return he},Ne:function(){return mt},ON:function(){return Ft},Uj:function(){return En},VY:function(){return Pt},YO:function(){return _e},YX:function(){return jt},Zn:function(){return a},_g:function(){return te},_k:function(){return Ke},c6:function(){return Ae},cr:function(){return y},eV:function(){return Ne},fi:function(){return b},gh:function(){return be},hS:function(){return cn},iA:function(){return E},j6:function(){return ne},je:function(){return He},jj:function(){return re},kS:function(){return ct},o6:function(){return ye},pO:function(){return Fn},rQ:function(){return Le},sA:function(){return Ce},xm:function(){return qe},xo:function(){return rt},y8:function(){return Ge},yd:function(){return z}});var x=ee(89779),de=ee(35973),pe=ee(28706),De=ee(2453),we=ee(11320),ke=Object.defineProperty,ie=Object.getOwnPropertySymbols,We=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,Te=(at,lt,dt)=>lt in at?ke(at,lt,{enumerable:!0,configurable:!0,writable:!0,value:dt}):at[lt]=dt,ze=(at,lt)=>{for(var dt in lt||(lt={}))We.call(lt,dt)&&Te(at,dt,lt[dt]);if(ie)for(var dt of ie(lt))Me.call(lt,dt)&&Te(at,dt,lt[dt]);return at},Be=(at,lt,dt)=>new Promise((At,Et)=>{var gt=bt=>{try{Ot(dt.next(bt))}catch(on){Et(on)}},Xt=bt=>{try{Ot(dt.throw(bt))}catch(on){Et(on)}},Ot=bt=>bt.done?At(bt.value):Promise.resolve(bt.value).then(gt,Xt);Ot((dt=dt.apply(at,lt)).next())});const me=()=>{(0,de.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},oe=()=>{(0,de.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},a=at=>Be(void 0,null,function*(){me(),(yield(0,x.YR)(ze({},at))).status===0&&(yield(0,pe.QH)("",(0,pe.NY)({url:we.Z.API_SERVER+`/api/courses/${at.coursesId}/export_couser_info.json`,query:at}))),oe()}),y=at=>Be(void 0,null,function*(){const lt=yield(0,x.yS)(ze({},at));if(lt.status===0)De.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),de.history.push(`/classrooms/${at.coursesId}/exportlist/course_member_act_score`);else{if(lt.status===-2)return lt;lt.status===-3&&((0,de.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),de.history.push(`/classrooms/${at.coursesId}/exportlist/course_member_act_score`))}}),b=at=>Be(void 0,null,function*(){const lt=yield(0,x.W0)(ze({},at));if(lt.status===0)De.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),de.history.push(`/classrooms/${at.coursesId}/exportlist/course_total_score`);else{if(lt.status===-4)return lt;lt.status===-3&&((0,de.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),de.history.push(`/classrooms/${at.coursesId}/exportlist/course_total_score`))}}),E=at=>Be(void 0,null,function*(){const lt=yield(0,x.Nl)(ze({},at));if(lt.status===0)De.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),de.history.push(`/classrooms/${at.coursesId}/exportlist/course_total_exercise_and_other`);else{if(lt.status===-4)return lt;lt.status===-3&&((0,de.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),de.history.push(`/classrooms/${at.coursesId}/exportlist/course_total_exercise_and_other`))}}),z=at=>Be(void 0,null,function*(){const lt=yield(0,x.IU)(ze({},at));if(lt.status===0)De.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),de.history.push(`/classrooms/${at.coursesId}/exportlist/export_star_user`);else{if(lt.status===-4)return lt;lt.status===-3&&((0,de.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),de.history.push(`/classrooms/${at.coursesId}/exportlist/export_star_user`))}}),te=at=>Be(void 0,null,function*(){const lt=yield(0,x.td)(ze({},at));if(lt.status===0)De.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),de.history.push(`/classrooms/${at.coursesId}/exportlist/course_total_exercise_and_other`);else{if(lt.status===-2)return lt;if(lt.status===-3)(0,de.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),de.history.push(`/classrooms/${at.coursesId}/exportlist/course_total_exercise_and_other`);else if(lt.status===-4)return lt}}),ne=at=>Be(void 0,null,function*(){const lt=yield(0,x.QX)(ze({},at));if(lt.status===0)De.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),de.history.push(`/classrooms/${at.coursesId}/exportlist/course_total_homework`);else{if(lt.status===-4)return lt;lt.status===-3&&((0,de.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),de.history.push(`/classrooms/${at.coursesId}/exportlist/course_total_homework`))}}),re=(at,lt)=>Be(void 0,null,function*(){const dt=yield(0,x.o_)(ze({},at));dt.status===0?(De.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"),de.history.push(`/classrooms/${at.coursesId}/exportlist/${lt}`)):dt.status===-3&&((0,de.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),de.history.push(`/classrooms/${at.coursesId}/exportlist/${lt}`))}),ae=(at,lt)=>Be(void 0,null,function*(){const dt=yield(0,x.ZL)(ze({},at));dt.status===0?(De.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"),de.history.push(`/classrooms/${at.coursesId}/exportlist/${lt}`)):dt.status===-3&&((0,de.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),de.history.push(`/classrooms/${at.coursesId}/exportlist/${lt}`))}),le=(at,lt)=>Be(void 0,null,function*(){const dt=yield(0,x.aP)(ze({},at));dt.status===0?(De.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),de.history.push(`/classrooms/${at.coursesId}/exportlist/${lt}`)):dt.status===-3&&((0,de.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),de.history.push(`/classrooms/${at.coursesId}/exportlist/${lt}`))}),he=(at,lt)=>Be(void 0,null,function*(){const dt=yield(0,x.vV)(ze({},at));dt.status===0?(De.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"),de.history.push(`/classrooms/${at.coursesId}/exportlist/${lt}`)):dt.status===-3&&((0,de.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),de.history.push(`/classrooms/${at.coursesId}/exportlist/${lt}`))}),ve=at=>Be(void 0,null,function*(){me(),(yield exportCourseWorkListAppendix(ze({},at))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${at.categoryId}/works_list.zip`,query:at}))),oe()}),Ce=at=>Be(void 0,null,function*(){me(),yield(0,pe.QH)("",we.Z.API_SERVER+`/api/polls/${at.categoryId}/commit_result.xlsx`),oe()}),be=at=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:we.Z.API_SERVER+`/api/courses/${at.coursesId}/attendances/export_xlsx_data.xlsx`,query:at}))}),ye=at=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:we.Z.API_SERVER+`/api/courses/${at.coursesId}/video_study_statics.xlsx`,query:at}))}),Ae=at=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:we.Z.API_SERVER+`/api/courses/${at.coursesId}/export_video_study.xlsx`,query:at}))}),Ne=at=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:we.Z.API_SERVER+`/api/courses/${at.coursesId}/export_course_students_info.xlsx`,query:at}))}),Xe=at=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:we.Z.API_SERVER+"/api/school_manages/students.xlsx",query:at}))}),Le=at=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:we.Z.API_SERVER+"/api/item_banks/export.xlsx",query:at}))}),Ge=at=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:we.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:at}))}),He=at=>Be(void 0,null,function*(){const lt=yield(0,x.Uy)(ze({},at));lt.status===0?(De.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),de.history.push(`/classrooms/${at.coursesId}/exportlist/exercise_score,export_exercise_users`)):lt.status===-3&&((0,de.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),de.history.push(`/classrooms/${at.coursesId}/exportlist/exercise_score,export_exercise_users`))}),Ke=at=>Be(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,pe.FH)("",(0,pe.NY)({url:we.Z.API_SERVER+`/api/export_records/${at.id}.xlsx`,query:at}))}),qe=at=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:we.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:at}))}),it=at=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:we.Z.API_SERVER+`/api/courses/${at==null?void 0:at.coursesId}/${at.menuKey}_statistic.xlsx?${at.checkedList.map(lt=>`course_group_id[]=${lt}`).join("&")}`,query:at}))}),mt=at=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:we.Z.API_SERVER+`/api/ec_years/${at==null?void 0:at.ec_year_id}/ec_training_objectives.xlsx`,query:at}))}),Yt=at=>Be(void 0,null,function*(){yield(0,pe.FH)(at==null?void 0:at.name,(0,pe.NY)({url:we.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:at}))}),cn=at=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:we.Z.API_SERVER+`/api/ec_years/${at==null?void 0:at.ec_year_id}/ec_courses.xlsx`,query:at}))}),rt=at=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:we.Z.API_SERVER+`/api/ec_years/${at==null?void 0:at.ec_year_id}/ec_graduation_requirements.xlsx`,query:at}))}),Pt=at=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:we.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:at}))}),Lt=at=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:we.Z.API_SERVER+`/api/exercises/${at.categoryId}/rank_list.xlsx`,query:at}))}),ct=at=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:we.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:at}))}),Ft=at=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:we.Z.API_SERVER+`/api/examination_banks/${at.id}.json`,query:at}))}),jt=at=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:we.Z.API_SERVER+`/api/exercises/${at.categoryId}.json`,query:at}))}),_e=at=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:we.Z.API_SERVER+`/api/polls/${at==null?void 0:at.id}/commit_result.json`,query:at}))}),En=at=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:we.Z.API_SERVER+"/api/paths/get_task_pass.json",query:at}))}),Fn=(at,lt)=>Be(void 0,null,function*(){yield(0,pe.FH)(lt||"",(0,pe.NY)({url:we.Z.API_SERVER+`/api/exercises/${at==null?void 0:at.exercise_id}/consult_exercise.json`,query:at}))}),ha=at=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:we.Z.API_SERVER+`/api/competitions/${at==null?void 0:at.identifier}/competition_commit_records/member_works.xlsx`,query:at}))}),In=at=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:we.Z.API_SERVER+`/api/courses/${at==null?void 0:at.coursesId}/group_homeworks/import_group_template.xlsx`,query:at}))})},51959:function(ft,ut,ee){"use strict";ee.d(ut,{BU:function(){return de},Dj:function(){return x},gH:function(){return pe},vp:function(){return De}});function x(we){try{we.mozRequestFullScreen?we.mozRequestFullScreen():we.webkitRequestFullScreen&&we.webkitRequestFullScreen()}catch(ke){console.log(ke,":e")}}function de(){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 pe=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function De(){var we=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,ke=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",we),window.isFullScreen?window.isFullScreen:we!=null}},78207:function(ft,ut,ee){"use strict";ee.d(ut,{rX:function(){return ne},pW:function(){return re},gy:function(){return ae},xY:function(){return te},O5:function(){return z},tJ:function(){return oe},o1:function(){return a},Rd:function(){return E}});var x=ee(35973),de=ee(14446),pe=ee(96074),De=ee(2453),we=ee(52262),ke=ee(28706),ie=ee(55304),We=ee(25510),Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgWEd4l2WNsYEwMkIYCQnYkQYhZvQYzUgzPdM908/qet26z/2+k3/ee6u6qrtrpkciOiqr/vvnn3ny5MmTJ0+efPz510ajUSMdukMO3CIcqN8i5TgsxiEHggOHAn0oCLcUBw4F+paqzsPCHAr0oQzcUhw4FOhbqjoPC3Mo0IcycEtx4FCgb6nqPCzMoUAfysAtxYFDgb6lqvOwMIcCfSgDtxQHDgX6lqrOw8IcCvShDNxSHDgU6FuqOg8LcyjQhzJwS3HgUKBvqeo8LMyhQB/KwC3FgUOBvqWq87AwhwJ9KAO3FAcOBfqWqs7DwhwK9KEM3FIcOBToW6o6DwtzKNCHMnBLceBQoG+p6jwszKFAH8rALcWBQ4G+parzsDCHAn0oA7cUB5pf6tJ85PmtRwbL7btGKY3mUj6VbDBIaThItepxTGK9kQDLrkY8h5jxPEiNxs7TzHrdVAvYBnGAR+wYBOR7OPOb4B8DV6mn01Rx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},Ne=Xe=>Xe.done?Ce(Xe.value):Promise.resolve(Xe.value).then(ye,Ae);Ne((ve=ve.apply(le,he)).next())});const oe=(le,he=!1)=>!!(a(le)&&y(he)),a=le=>(0,we.bg)()?!0:(le({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),y=(le=!1)=>{var he;const{user:ve}=(0,x.getDvaApp)()._store.getState();return(he=ve.userInfo)!=null&&he.profile_completed?!0:(de.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,ke.xg)("/account/profile/edit"),b()}}),!1)},b=()=>{de.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=()=>{de.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:Be.createElement("div",{style:{textAlign:"center"}},Be.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"),Be.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:ze}),Be.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},z=()=>{var le;const{user:he}=(0,x.getDvaApp)()._store.getState();return(le=he.userInfo)!=null&&le.professional_certification?!0:(de.default.confirm({title:"\u63D0\u793A",centered:!0,content:Be.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,ke.xg)("/account/certification")}}),!1)},te=()=>(0,we.V9)()?!0:(de.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:Be.createElement("div",{className:"tc",style:{marginLeft:-38}},Be.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),Be.createElement("img",{src:Te,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),ne=(le,he)=>le?!0:(de.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:Be.createElement("div",null,Be.createElement("p",null,he||"\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"),Be.createElement("div",{style:{marginLeft:"110px"}},Be.createElement("img",{src:Me,width:200}),Be.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,ke.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),re=le=>{de.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:Be.createElement("div",null,Be.createElement("div",null,Be.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"),Be.createElement(pe.Z,null),Be.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Be.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 ",Be.createElement("a",null,le),"\u5929\u3002"),Be.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Be.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")),Be.createElement("div",{style:{textAlign:"center",marginTop:30}},Be.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:We,alt:"\u4E8C\u7EF4\u7801",width:160})))})},ae=(le,he="")=>{const{shixunsDetail:{detail:ve}}=(0,x.getDvaApp)()._store.getState();if((ve==null?void 0:ve.public)===2||(ve==null?void 0:ve.public)===1||(ve==null?void 0:ve.shixun_status)===3){let Ce="";return(ve==null?void 0:ve.public)===2&&(Ce="\u5DF2\u516C\u5F00"),(ve==null?void 0:ve.public)===1&&(Ce="\u5F85\u5BA1\u6838"),(ve==null?void 0:ve.shixun_status)===3&&(Ce="\u5DF2\u5173\u95ED"),de.default.info({centered:!0,icon:Be.createElement(ie.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:Be.createElement("div",{className:"tc",style:{marginLeft:-38}},Be.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},Be.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",Ce,"\uFF0C",he,"\u3002"),Be.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),Be.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:We,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(ve==null?void 0:ve.shixun_status)===2?(de.default.confirm({centered:!0,icon:Be.createElement(ie.Z,null),title:"\u63D0\u793A",content:Be.createElement("div",null,Be.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",he,"\u3002"),Be.createElement("br",null),Be.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:()=>{de.default.confirm({width:440,centered:!0,icon:Be.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:()=>me(void 0,null,function*(){(yield le({type:"shixunsDetail/cancelRelease",payload:{id:ve==null?void 0:ve.identifier}})).status!==401&&(De.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),le({type:"shixunsDetail/getShixunsDetail",payload:{id:ve==null?void 0:ve.identifier}}),le({type:"practiceSetting/getCommonData",payload:{id:ve==null?void 0:ve.identifier}}))})})}}),!0):!1}},38780:function(ft,ut){"use strict";function ee(){const x=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let de=1;de<arguments.length;de++){const pe=de<0||arguments.length<=de?void 0:arguments[de];pe&&Object.keys(pe).forEach(De=>{const we=pe[De];we!==void 0&&(x[De]=we)})}return x}ut.Z=ee},66367:function(ft,ut,ee){"use strict";ee.d(ut,{F:function(){return x},Z:function(){return de}});function x(pe){return pe!=null&&pe===pe.window}function de(pe,De){var we,ke;if(typeof window=="undefined")return 0;const ie=De?"scrollTop":"scrollLeft";let We=0;return x(pe)?We=pe[De?"pageYOffset":"pageXOffset"]:pe instanceof Document?We=pe.documentElement[ie]:(pe instanceof HTMLElement||pe)&&(We=pe[ie]),pe&&!x(pe)&&typeof We!="number"&&(We=(ke=((we=pe.ownerDocument)!==null&&we!==void 0?we:pe).documentElement)===null||ke===void 0?void 0:ke[ie]),We}},57838:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return de}});var x=ee(67294);function de(){const[,pe]=x.useReducer(De=>De+1,0);return pe}},58375:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return De}});var x=ee(96523);function de(we,ke,ie,We){const Me=ie-ke;return we/=We/2,we<1?Me/2*we*we*we+ke:Me/2*((we-=2)*we*we+2)+ke}var pe=ee(66367);function De(we){let ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ie=()=>window,callback:We,duration:Me=450}=ke,Te=ie(),ze=(0,pe.Z)(Te,!0),Be=Date.now(),me=()=>{const a=Date.now()-Be,y=de(a>Me?Me:a,ze,we,Me);(0,pe.F)(Te)?Te.scrollTo(window.pageXOffset,y):Te instanceof Document||Te.constructor.name==="HTMLDocument"?Te.documentElement.scrollTop=y:Te.scrollTop=y,a<Me?(0,x.Z)(me):typeof We=="function"&&We()};(0,x.Z)(me)}},85673:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return Xe}});var x=ee(94184),de=ee.n(x),pe=ee(37419),De=ee(1337),we=ee(67294),ke=ee(96159),ie=ee(53124),We=ee(42922),Me=ee(35874);const Te=Le=>{let{children:Ge}=Le;const{getPrefixCls:He}=we.useContext(ie.E_),Ke=He("breadcrumb");return we.createElement("li",{className:`${Ke}-separator`,"aria-hidden":"true"},Ge===""?Ge:Ge||"/")};Te.__ANT_BREADCRUMB_SEPARATOR=!0;var ze=Te,Be=function(Le,Ge){var He={};for(var Ke in Le)Object.prototype.hasOwnProperty.call(Le,Ke)&&Ge.indexOf(Ke)<0&&(He[Ke]=Le[Ke]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Ke=Object.getOwnPropertySymbols(Le);qe<Ke.length;qe++)Ge.indexOf(Ke[qe])<0&&Object.prototype.propertyIsEnumerable.call(Le,Ke[qe])&&(He[Ke[qe]]=Le[Ke[qe]]);return He};function me(Le,Ge){if(Le.title===void 0||Le.title===null)return null;const He=Object.keys(Ge).join("|");return typeof Le.title=="object"?Le.title:String(Le.title).replace(new RegExp(`:(${He})`,"g"),(Ke,qe)=>Ge[qe]||Ke)}function oe(Le,Ge,He,Ke){if(He==null)return null;const{className:qe,onClick:it}=Ge,mt=Be(Ge,["className","onClick"]),Yt=Object.assign(Object.assign({},(0,De.Z)(mt,{data:!0,aria:!0})),{onClick:it});return Ke!==void 0?we.createElement("a",Object.assign({},Yt,{className:de()(`${Le}-link`,qe),href:Ke}),He):we.createElement("span",Object.assign({},Yt,{className:de()(`${Le}-link`,qe)}),He)}function a(Le,Ge){return(Ke,qe,it,mt,Yt)=>{if(Ge)return Ge(Ke,qe,it,mt);const cn=me(Ke,qe);return oe(Le,Ke,cn,Yt)}}var y=function(Le,Ge){var He={};for(var Ke in Le)Object.prototype.hasOwnProperty.call(Le,Ke)&&Ge.indexOf(Ke)<0&&(He[Ke]=Le[Ke]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Ke=Object.getOwnPropertySymbols(Le);qe<Ke.length;qe++)Ge.indexOf(Ke[qe])<0&&Object.prototype.propertyIsEnumerable.call(Le,Ke[qe])&&(He[Ke[qe]]=Le[Ke[qe]]);return He};const b=Le=>{const{prefixCls:Ge,separator:He="/",children:Ke,menu:qe,overlay:it,dropdownProps:mt,href:Yt}=Le,rt=(Pt=>{if(qe||it){const Lt=Object.assign({},mt);if(qe){const ct=qe||{},{items:Ft}=ct,jt=y(ct,["items"]);Lt.menu=Object.assign(Object.assign({},jt),{items:Ft==null?void 0:Ft.map((_e,En)=>{var{key:Fn,title:ha,label:In,path:at}=_e,lt=y(_e,["key","title","label","path"]);let dt=In!=null?In:ha;return at&&(dt=we.createElement("a",{href:`${Yt}${at}`},dt)),Object.assign(Object.assign({},lt),{key:Fn!=null?Fn:En,label:dt})})})}else it&&(Lt.overlay=it);return we.createElement(Me.Z,Object.assign({placement:"bottom"},Lt),we.createElement("span",{className:`${Ge}-overlay-link`},Pt,we.createElement(We.Z,null)))}return Pt})(Ke);return rt!=null?we.createElement(we.Fragment,null,we.createElement("li",null,rt),He&&we.createElement(ze,null,He)):null},E=Le=>{const{prefixCls:Ge,children:He,href:Ke}=Le,qe=y(Le,["prefixCls","children","href"]),{getPrefixCls:it}=we.useContext(ie.E_),mt=it("breadcrumb",Ge);return we.createElement(b,Object.assign({},qe,{prefixCls:mt}),oe(mt,qe,He,Ke))};E.__ANT_BREADCRUMB_ITEM=!0;var z=E,te=ee(14747),ne=ee(67968),re=ee(45503);const ae=Le=>{const{componentCls:Ge,iconCls:He}=Le;return{[Ge]:Object.assign(Object.assign({},(0,te.Wf)(Le)),{color:Le.itemColor,fontSize:Le.fontSize,[He]:{fontSize:Le.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Le.linkColor,transition:`color ${Le.motionDurationMid}`,padding:`0 ${Le.paddingXXS}px`,borderRadius:Le.borderRadiusSM,height:Le.lineHeight*Le.fontSize,display:"inline-block",marginInline:-Le.marginXXS,"&:hover":{color:Le.linkHoverColor,backgroundColor:Le.colorBgTextHover}},(0,te.Qy)(Le)),"li:last-child":{color:Le.lastItemColor},[`${Ge}-separator`]:{marginInline:Le.separatorMargin,color:Le.separatorColor},[`${Ge}-link`]:{[`
> ${He} + span,
> ${He} + a
`]:{marginInlineStart:Le.marginXXS}},[`${Ge}-overlay-link`]:{borderRadius:Le.borderRadiusSM,height:Le.lineHeight*Le.fontSize,display:"inline-block",padding:`0 ${Le.paddingXXS}px`,marginInline:-Le.marginXXS,[`> ${He}`]:{marginInlineStart:Le.marginXXS,fontSize:Le.fontSizeIcon},"&:hover":{color:Le.linkHoverColor,backgroundColor:Le.colorBgTextHover,a:{color:Le.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Le.componentCls}-rtl`]:{direction:"rtl"}})}};var le=(0,ne.Z)("Breadcrumb",Le=>{const Ge=(0,re.TS)(Le,{});return[ae(Ge)]},Le=>({itemColor:Le.colorTextDescription,lastItemColor:Le.colorText,iconFontSize:Le.fontSize,linkColor:Le.colorTextDescription,linkHoverColor:Le.colorText,separatorColor:Le.colorTextDescription,separatorMargin:Le.marginXS})),he=function(Le,Ge){var He={};for(var Ke in Le)Object.prototype.hasOwnProperty.call(Le,Ke)&&Ge.indexOf(Ke)<0&&(He[Ke]=Le[Ke]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Ke=Object.getOwnPropertySymbols(Le);qe<Ke.length;qe++)Ge.indexOf(Ke[qe])<0&&Object.prototype.propertyIsEnumerable.call(Le,Ke[qe])&&(He[Ke[qe]]=Le[Ke[qe]]);return He};function ve(Le){const{breadcrumbName:Ge,children:He}=Le,Ke=he(Le,["breadcrumbName","children"]),qe=Object.assign({title:Ge},Ke);return He&&(qe.menu={items:He.map(it=>{var{breadcrumbName:mt}=it,Yt=he(it,["breadcrumbName"]);return Object.assign(Object.assign({},Yt),{title:mt})})}),qe}function Ce(Le,Ge){return(0,we.useMemo)(()=>Le||(Ge?Ge.map(ve):null),[Le,Ge])}var be=function(Le,Ge){var He={};for(var Ke in Le)Object.prototype.hasOwnProperty.call(Le,Ke)&&Ge.indexOf(Ke)<0&&(He[Ke]=Le[Ke]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Ke=Object.getOwnPropertySymbols(Le);qe<Ke.length;qe++)Ge.indexOf(Ke[qe])<0&&Object.prototype.propertyIsEnumerable.call(Le,Ke[qe])&&(He[Ke[qe]]=Le[Ke[qe]]);return He};const ye=(Le,Ge)=>{if(Ge===void 0)return Ge;let He=(Ge||"").replace(/^\//,"");return Object.keys(Le).forEach(Ke=>{He=He.replace(`:${Ke}`,Le[Ke])}),He},Ae=Le=>{const{prefixCls:Ge,separator:He="/",style:Ke,className:qe,rootClassName:it,routes:mt,items:Yt,children:cn,itemRender:rt,params:Pt={}}=Le,Lt=be(Le,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:ct,direction:Ft,breadcrumb:jt}=we.useContext(ie.E_);let _e;const En=ct("breadcrumb",Ge),[Fn,ha]=le(En),In=Ce(Yt,mt),at=a(En,rt);if(In&&In.length>0){const At=[],Et=Yt||mt;_e=In.map((gt,Xt)=>{const{path:Ot,key:bt,type:on,menu:Jt,overlay:$e,onClick:Re,className:Nn,separator:xe,dropdownProps:je}=gt,Ht=ye(Pt,Ot);Ht!==void 0&&At.push(Ht);const et=bt!=null?bt:Xt;if(on==="separator")return we.createElement(ze,{key:et},xe);const Ue={},Ct=Xt===In.length-1;Jt?Ue.menu=Jt:$e&&(Ue.overlay=$e);let{href:yt}=gt;return At.length&&Ht!==void 0&&(yt=`#/${At.join("/")}`),we.createElement(b,Object.assign({key:et},Ue,(0,De.Z)(gt,{data:!0,aria:!0}),{className:Nn,dropdownProps:je,href:yt,separator:Ct?"":He,onClick:Re,prefixCls:En}),at(gt,Pt,Et,At,yt))})}else if(cn){const At=(0,pe.Z)(cn).length;_e=(0,pe.Z)(cn).map((Et,gt)=>{if(!Et)return Et;const Xt=gt===At-1;return(0,ke.Tm)(Et,{separator:Xt?"":He,key:gt})})}const lt=de()(En,jt==null?void 0:jt.className,{[`${En}-rtl`]:Ft==="rtl"},qe,it,ha),dt=Object.assign(Object.assign({},jt==null?void 0:jt.style),Ke);return Fn(we.createElement("nav",Object.assign({className:lt,style:dt},Lt),we.createElement("ol",null,_e)))};Ae.Item=z,Ae.Separator=ze;var Ne=Ae,Xe=Ne},84567:function(ft,ut,ee){"use strict";ee.d(ut,{default:function(){return le}});var x=ee(94184),de=ee.n(x),pe=ee(95860),De=ee(67294),we=ee(53124),ke=ee(98866),ie=ee(65223),Me=De.createContext(null),Te=ee(63185),ze=ee(45353),Be=ee(92429),me=function(he,ve){var Ce={};for(var be in he)Object.prototype.hasOwnProperty.call(he,be)&&ve.indexOf(be)<0&&(Ce[be]=he[be]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,be=Object.getOwnPropertySymbols(he);ye<be.length;ye++)ve.indexOf(be[ye])<0&&Object.prototype.propertyIsEnumerable.call(he,be[ye])&&(Ce[be[ye]]=he[be[ye]]);return Ce};const oe=(he,ve)=>{var Ce;const{prefixCls:be,className:ye,rootClassName:Ae,children:Ne,indeterminate:Xe=!1,style:Le,onMouseEnter:Ge,onMouseLeave:He,skipGroup:Ke=!1,disabled:qe}=he,it=me(he,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:mt,direction:Yt,checkbox:cn}=De.useContext(we.E_),rt=De.useContext(Me),{isFormItemInput:Pt}=De.useContext(ie.aM),Lt=De.useContext(ke.Z),ct=(Ce=(rt==null?void 0:rt.disabled)||qe)!==null&&Ce!==void 0?Ce:Lt,Ft=De.useRef(it.value);De.useEffect(()=>{rt==null||rt.registerValue(it.value)},[]),De.useEffect(()=>{if(!Ke)return it.value!==Ft.current&&(rt==null||rt.cancelValue(Ft.current),rt==null||rt.registerValue(it.value),Ft.current=it.value),()=>rt==null?void 0:rt.cancelValue(it.value)},[it.value]);const jt=mt("checkbox",be),[_e,En]=(0,Te.ZP)(jt),Fn=Object.assign({},it);rt&&!Ke&&(Fn.onChange=function(){it.onChange&&it.onChange.apply(it,arguments),rt.toggleOption&&rt.toggleOption({label:Ne,value:it.value})},Fn.name=rt.name,Fn.checked=rt.value.includes(it.value));const ha=de()(`${jt}-wrapper`,{[`${jt}-rtl`]:Yt==="rtl",[`${jt}-wrapper-checked`]:Fn.checked,[`${jt}-wrapper-disabled`]:ct,[`${jt}-wrapper-in-form-item`]:Pt},cn==null?void 0:cn.className,ye,Ae,En),In=de()({[`${jt}-indeterminate`]:Xe},Be.A,En),at=Xe?"mixed":void 0;return _e(De.createElement(ze.Z,{component:"Checkbox",disabled:ct},De.createElement("label",{className:ha,style:Object.assign(Object.assign({},cn==null?void 0:cn.style),Le),onMouseEnter:Ge,onMouseLeave:He},De.createElement(pe.Z,Object.assign({"aria-checked":at},Fn,{prefixCls:jt,className:In,disabled:ct,ref:ve})),Ne!==void 0&&De.createElement("span",null,Ne))))};var y=De.forwardRef(oe),b=ee(74902),E=ee(10366),z=function(he,ve){var Ce={};for(var be in he)Object.prototype.hasOwnProperty.call(he,be)&&ve.indexOf(be)<0&&(Ce[be]=he[be]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,be=Object.getOwnPropertySymbols(he);ye<be.length;ye++)ve.indexOf(be[ye])<0&&Object.prototype.propertyIsEnumerable.call(he,be[ye])&&(Ce[be[ye]]=he[be[ye]]);return Ce};const te=(he,ve)=>{const{defaultValue:Ce,children:be,options:ye=[],prefixCls:Ae,className:Ne,rootClassName:Xe,style:Le,onChange:Ge}=he,He=z(he,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Ke,direction:qe}=De.useContext(we.E_),[it,mt]=De.useState(He.value||Ce||[]),[Yt,cn]=De.useState([]);De.useEffect(()=>{"value"in He&&mt(He.value||[])},[He.value]);const rt=De.useMemo(()=>ye.map(lt=>typeof lt=="string"||typeof lt=="number"?{label:lt,value:lt}:lt),[ye]),Pt=lt=>{cn(dt=>dt.filter(At=>At!==lt))},Lt=lt=>{cn(dt=>[].concat((0,b.Z)(dt),[lt]))},ct=lt=>{const dt=it.indexOf(lt.value),At=(0,b.Z)(it);dt===-1?At.push(lt.value):At.splice(dt,1),"value"in He||mt(At),Ge==null||Ge(At.filter(Et=>Yt.includes(Et)).sort((Et,gt)=>{const Xt=rt.findIndex(bt=>bt.value===Et),Ot=rt.findIndex(bt=>bt.value===gt);return Xt-Ot}))},Ft=Ke("checkbox",Ae),jt=`${Ft}-group`,[_e,En]=(0,Te.ZP)(Ft),Fn=(0,E.Z)(He,["value","disabled"]),ha=ye.length?rt.map(lt=>De.createElement(y,{prefixCls:Ft,key:lt.value.toString(),disabled:"disabled"in lt?lt.disabled:He.disabled,value:lt.value,checked:it.includes(lt.value),onChange:lt.onChange,className:`${jt}-item`,style:lt.style,title:lt.title},lt.label)):be,In={toggleOption:ct,value:it,disabled:He.disabled,name:He.name,registerValue:Lt,cancelValue:Pt},at=de()(jt,{[`${jt}-rtl`]:qe==="rtl"},Ne,Xe,En);return _e(De.createElement("div",Object.assign({className:at,style:Le},Fn,{ref:ve}),De.createElement(Me.Provider,{value:In},ha)))},ne=De.forwardRef(te);var re=De.memo(ne);const ae=y;ae.Group=re,ae.__ANT_CHECKBOX=!0;var le=ae},63185:function(ft,ut,ee){"use strict";ee.d(ut,{C2:function(){return we}});var x=ee(14747),de=ee(45503),pe=ee(67968);const De=ke=>{const{checkboxCls:ie}=ke,We=`${ie}-wrapper`;return[{[`${ie}-group`]:Object.assign(Object.assign({},(0,x.Wf)(ke)),{display:"inline-flex",flexWrap:"wrap",columnGap:ke.marginXS,[`> ${ke.antCls}-row`]:{flex:1}}),[We]:Object.assign(Object.assign({},(0,x.Wf)(ke)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${We}`]:{marginInlineStart:0},[`&${We}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ie]:Object.assign(Object.assign({},(0,x.Wf)(ke)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:ke.borderRadiusSM,alignSelf:"center",[`${ie}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ie}-inner`]:Object.assign({},(0,x.oN)(ke))},[`${ie}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:ke.checkboxSize,height:ke.checkboxSize,direction:"ltr",backgroundColor:ke.colorBgContainer,border:`${ke.lineWidth}px ${ke.lineType} ${ke.colorBorder}`,borderRadius:ke.borderRadiusSM,borderCollapse:"separate",transition:`all ${ke.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:ke.checkboxSize/14*5,height:ke.checkboxSize/14*8,border:`${ke.lineWidthBold}px solid ${ke.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${ke.motionDurationFast} ${ke.motionEaseInBack}, opacity ${ke.motionDurationFast}`}},"& + span":{paddingInlineStart:ke.paddingXS,paddingInlineEnd:ke.paddingXS}})},{[`
${We}:not(${We}-disabled),
${ie}:not(${ie}-disabled)
`]:{[`&:hover ${ie}-inner`]:{borderColor:ke.colorPrimary}},[`${We}:not(${We}-disabled)`]:{[`&:hover ${ie}-checked:not(${ie}-disabled) ${ie}-inner`]:{backgroundColor:ke.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ie}-checked:not(${ie}-disabled):after`]:{borderColor:ke.colorPrimaryHover}}},{[`${ie}-checked`]:{[`${ie}-inner`]:{backgroundColor:ke.colorPrimary,borderColor:ke.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${ke.motionDurationMid} ${ke.motionEaseOutBack} ${ke.motionDurationFast}`}}},[`
${We}-checked:not(${We}-disabled),
${ie}-checked:not(${ie}-disabled)
`]:{[`&:hover ${ie}-inner`]:{backgroundColor:ke.colorPrimaryHover,borderColor:"transparent"}}},{[ie]:{"&-indeterminate":{[`${ie}-inner`]:{backgroundColor:ke.colorBgContainer,borderColor:ke.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:ke.fontSizeLG/2,height:ke.fontSizeLG/2,backgroundColor:ke.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${We}-disabled`]:{cursor:"not-allowed"},[`${ie}-disabled`]:{[`&, ${ie}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ie}-inner`]:{background:ke.colorBgContainerDisabled,borderColor:ke.colorBorder,"&:after":{borderColor:ke.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:ke.colorTextDisabled},[`&${ie}-indeterminate ${ie}-inner::after`]:{background:ke.colorTextDisabled}}}]};function we(ke,ie){const We=(0,de.TS)(ie,{checkboxCls:`.${ke}`,checkboxSize:ie.controlInteractiveSize});return[De(We)]}ut.ZP=(0,pe.Z)("Checkbox",(ke,ie)=>{let{prefixCls:We}=ie;return[we(We,ke)]})},34336:function(ft,ut,ee){"use strict";ee.d(ut,{default:function(){return $u}});var x=ee(97909),de=ee.n(x),pe=ee(68291),De=ee(33088),we=ee.n(De),ke=ee(26850),ie=ee.n(ke),We=ee(23082),Me=ee.n(We),Te=ee(99873),ze=ee.n(Te),Be=ee(86625),me=ee.n(Be),oe=ee(40618),a=ee.n(oe);de().extend(a()),de().extend(me()),de().extend(we()),de().extend(ie()),de().extend(Me()),de().extend(ze()),de().extend(function(se,fe){var Ee=fe.prototype,Ve=Ee.format;Ee.format=function(Rt){var Dt=(Rt||"").replace("Wo","wo");return Ve.bind(this)(Dt)}});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(fe){var Ee=y[fe];return Ee||fe.split("_")[0]},E=function(){(0,pe.ET)(!1,"Not match any format. Please help to fire a issue about this.")},z={getNow:function(){return de()()},getFixedDate:function(fe){return de()(fe,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(fe){return fe.endOf("month")},getWeekDay:function(fe){var Ee=fe.locale("en");return Ee.weekday()+Ee.localeData().firstDayOfWeek()},getYear:function(fe){return fe.year()},getMonth:function(fe){return fe.month()},getDate:function(fe){return fe.date()},getHour:function(fe){return fe.hour()},getMinute:function(fe){return fe.minute()},getSecond:function(fe){return fe.second()},addYear:function(fe,Ee){return fe.add(Ee,"year")},addMonth:function(fe,Ee){return fe.add(Ee,"month")},addDate:function(fe,Ee){return fe.add(Ee,"day")},setYear:function(fe,Ee){return fe.year(Ee)},setMonth:function(fe,Ee){return fe.month(Ee)},setDate:function(fe,Ee){return fe.date(Ee)},setHour:function(fe,Ee){return fe.hour(Ee)},setMinute:function(fe,Ee){return fe.minute(Ee)},setSecond:function(fe,Ee){return fe.second(Ee)},isAfter:function(fe,Ee){return fe.isAfter(Ee)},isValidate:function(fe){return fe.isValid()},locale:{getWeekFirstDay:function(fe){return de()().locale(b(fe)).localeData().firstDayOfWeek()},getWeekFirstDate:function(fe,Ee){return Ee.locale(b(fe)).weekday(0)},getWeek:function(fe,Ee){return Ee.locale(b(fe)).week()},getShortWeekDays:function(fe){return de()().locale(b(fe)).localeData().weekdaysMin()},getShortMonths:function(fe){return de()().locale(b(fe)).localeData().monthsShort()},format:function(fe,Ee,Ve){return Ee.locale(b(fe)).format(Ve)},parse:function(fe,Ee,Ve){for(var Ye=b(fe),Rt=0;Rt<Ve.length;Rt+=1){var Dt=Ve[Rt],rn=Ee;if(Dt.includes("wo")||Dt.includes("Wo")){for(var un=rn.split("-")[0],xn=rn.split("-")[1],ba=de()(un,"YYYY").startOf("year").locale(Ye),Bn=0;Bn<=52;Bn+=1){var Mn=ba.add(Bn,"week");if(Mn.format("Wo")===xn)return Mn}return E(),null}var na=de()(rn,Dt,!0).locale(Ye);if(na.isValid())return na}return Ee&&E(),null}}},te=z,ne=ee(8745),re=ee(87462),ae=ee(67294),le={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"},he=le,ve=ee(74643),Ce=function(fe,Ee){return ae.createElement(ve.Z,(0,re.Z)({},fe,{ref:Ee,icon:he}))},be=ae.forwardRef(Ce),ye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},Ae=ye,Ne=function(fe,Ee){return ae.createElement(ve.Z,(0,re.Z)({},fe,{ref:Ee,icon:Ae}))},Xe=ae.forwardRef(Ne),Le=ee(16646),Ge={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"},He=Ge,Ke=function(fe,Ee){return ae.createElement(ve.Z,(0,re.Z)({},fe,{ref:Ee,icon:He}))},qe=ae.forwardRef(Ke),it=ee(94184),mt=ee.n(it),Yt=ee(15671),cn=ee(43144),rt=ee(97326),Pt=ee(60136),Lt=ee(51630),ct=ee(4942),Ft=ee(1413),jt=ee(97685),_e=ee(5663),En=ee(1337),Fn=ee(92739),ha=ee(7699),In=10,at=In*10,lt=7;function dt(se,fe){if(!se&&!fe)return!0;if(!se||!fe)return!1}function At(se,fe,Ee){var Ve=dt(fe,Ee);if(typeof Ve=="boolean")return Ve;var Ye=Math.floor(se.getYear(fe)/10),Rt=Math.floor(se.getYear(Ee)/10);return Ye===Rt}function Et(se,fe,Ee){var Ve=dt(fe,Ee);return typeof Ve=="boolean"?Ve:se.getYear(fe)===se.getYear(Ee)}function gt(se,fe){var Ee=Math.floor(se.getMonth(fe)/3);return Ee+1}function Xt(se,fe,Ee){var Ve=dt(fe,Ee);return typeof Ve=="boolean"?Ve:Et(se,fe,Ee)&&gt(se,fe)===gt(se,Ee)}function Ot(se,fe,Ee){var Ve=dt(fe,Ee);return typeof Ve=="boolean"?Ve:Et(se,fe,Ee)&&se.getMonth(fe)===se.getMonth(Ee)}function bt(se,fe,Ee){var Ve=dt(fe,Ee);return typeof Ve=="boolean"?Ve:se.getYear(fe)===se.getYear(Ee)&&se.getMonth(fe)===se.getMonth(Ee)&&se.getDate(fe)===se.getDate(Ee)}function on(se,fe,Ee){var Ve=dt(fe,Ee);return typeof Ve=="boolean"?Ve:se.getHour(fe)===se.getHour(Ee)&&se.getMinute(fe)===se.getMinute(Ee)&&se.getSecond(fe)===se.getSecond(Ee)}function Jt(se,fe,Ee,Ve){var Ye=dt(Ee,Ve);return typeof Ye=="boolean"?Ye:Et(se,Ee,Ve)&&se.locale.getWeek(fe,Ee)===se.locale.getWeek(fe,Ve)}function $e(se,fe,Ee){return bt(se,fe,Ee)&&on(se,fe,Ee)}function Re(se,fe,Ee,Ve){return!fe||!Ee||!Ve?!1:!bt(se,fe,Ve)&&!bt(se,Ee,Ve)&&se.isAfter(Ve,fe)&&se.isAfter(Ee,Ve)}function Nn(se,fe,Ee){var Ve=fe.locale.getWeekFirstDay(se),Ye=fe.setDate(Ee,1),Rt=fe.getWeekDay(Ye),Dt=fe.addDate(Ye,Ve-Rt);return fe.getMonth(Dt)===fe.getMonth(Ee)&&fe.getDate(Dt)>1&&(Dt=fe.addDate(Dt,-7)),Dt}function xe(se,fe,Ee){var Ve=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(fe){case"year":return Ee.addYear(se,Ve*10);case"quarter":case"month":return Ee.addYear(se,Ve);default:return Ee.addMonth(se,Ve)}}function je(se,fe){var Ee=fe.generateConfig,Ve=fe.locale,Ye=fe.format;return typeof Ye=="function"?Ye(se):Ee.locale.format(Ve.locale,se,Ye)}function Ht(se,fe){var Ee=fe.generateConfig,Ve=fe.locale,Ye=fe.formatList;return!se||typeof Ye[0]=="function"?null:Ee.locale.parse(Ve.locale,se,Ye)}function et(se){var fe=se.cellDate,Ee=se.mode,Ve=se.disabledDate,Ye=se.generateConfig;if(!Ve)return!1;var Rt=function(ra,sn,An){for(var sa=sn;sa<=An;){var Va=void 0;switch(ra){case"date":{if(Va=Ye.setDate(fe,sa),!Ve(Va))return!1;break}case"month":{if(Va=Ye.setMonth(fe,sa),!et({cellDate:Va,mode:"month",generateConfig:Ye,disabledDate:Ve}))return!1;break}case"year":{if(Va=Ye.setYear(fe,sa),!et({cellDate:Va,mode:"year",generateConfig:Ye,disabledDate:Ve}))return!1;break}}sa+=1}return!0};switch(Ee){case"date":case"week":return Ve(fe);case"month":{var Dt=1,rn=Ye.getDate(Ye.getEndDate(fe));return Rt("date",Dt,rn)}case"quarter":{var un=Math.floor(Ye.getMonth(fe)/3)*3,xn=un+2;return Rt("month",un,xn)}case"year":return Rt("month",0,11);case"decade":{var ba=Ye.getYear(fe),Bn=Math.floor(ba/In)*In,Mn=Bn+In-1;return Rt("year",Bn,Mn)}}}function Ue(se,fe){var Ee=fe.formatList,Ve=fe.generateConfig,Ye=fe.locale;return(0,Fn.Z)(function(){if(!se)return[[""],""];for(var Rt="",Dt=[],rn=0;rn<Ee.length;rn+=1){var un=Ee[rn],xn=je(se,{generateConfig:Ve,locale:Ye,format:un});Dt.push(xn),rn===0&&(Rt=xn)}return[Dt,Rt]},[se,Ee,Ye],function(Rt,Dt){return!$e(Ve,Rt[0],Dt[0])||!(0,ha.Z)(Rt[1],Dt[1],!0)||!(0,ha.Z)(Rt[2],Dt[2],!0)})}function Ct(se,fe){var Ee=fe.formatList,Ve=fe.generateConfig,Ye=fe.locale,Rt=(0,ae.useState)(null),Dt=(0,jt.Z)(Rt,2),rn=Dt[0],un=Dt[1],xn=(0,ae.useRef)(null);function ba(An){var sa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(xn.current),sa){un(An);return}xn.current=requestAnimationFrame(function(){un(An)})}var Bn=Ue(rn,{formatList:Ee,generateConfig:Ve,locale:Ye}),Mn=(0,jt.Z)(Bn,2),na=Mn[1];function ra(An){ba(An)}function sn(){var An=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;ba(null,An)}return(0,ae.useEffect)(function(){sn(!0)},[se]),(0,ae.useEffect)(function(){return function(){return cancelAnimationFrame(xn.current)}},[]),[na,ra,sn]}var yt=ee(92389),kt=ee(96523),Pn=ee(74902),Nt=ee(48130),Tt=new Map;function St(se,fe){var Ee;function Ve(){(0,Nt.Z)(se)?fe():Ee=(0,kt.Z)(function(){Ve()})}return Ve(),function(){kt.Z.cancel(Ee)}}function tn(se,fe,Ee){if(Tt.get(se)&&cancelAnimationFrame(Tt.get(se)),Ee<=0){Tt.set(se,requestAnimationFrame(function(){se.scrollTop=fe}));return}var Ve=fe-se.scrollTop,Ye=Ve/Ee*10;Tt.set(se,requestAnimationFrame(function(){se.scrollTop+=Ye,se.scrollTop!==fe&&tn(se,fe,Ee-10)}))}function Kt(se,fe){var Ee=fe.onLeftRight,Ve=fe.onCtrlLeftRight,Ye=fe.onUpDown,Rt=fe.onPageUpDown,Dt=fe.onEnter,rn=se.which,un=se.ctrlKey,xn=se.metaKey;switch(rn){case yt.Z.LEFT:if(un||xn){if(Ve)return Ve(-1),!0}else if(Ee)return Ee(-1),!0;break;case yt.Z.RIGHT:if(un||xn){if(Ve)return Ve(1),!0}else if(Ee)return Ee(1),!0;break;case yt.Z.UP:if(Ye)return Ye(-1),!0;break;case yt.Z.DOWN:if(Ye)return Ye(1),!0;break;case yt.Z.PAGE_UP:if(Rt)return Rt(-1),!0;break;case yt.Z.PAGE_DOWN:if(Rt)return Rt(1),!0;break;case yt.Z.ENTER:if(Dt)return Dt(),!0;break}return!1}function mn(se,fe,Ee,Ve){var Ye=se;if(!Ye)switch(fe){case"time":Ye=Ve?"hh:mm:ss a":"HH:mm:ss";break;case"week":Ye="gggg-wo";break;case"month":Ye="YYYY-MM";break;case"quarter":Ye="YYYY-[Q]Q";break;case"year":Ye="YYYY";break;default:Ye=Ee?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Ye}function Qn(se,fe,Ee){var Ve=se==="time"?8:10,Ye=typeof fe=="function"?fe(Ee.getNow()).length:fe.length;return Math.max(Ve,Ye)+2}var wn=null,Wn=new Set;function ma(se){return!wn&&typeof window!="undefined"&&window.addEventListener&&(wn=function(Ee){(0,Pn.Z)(Wn).forEach(function(Ve){Ve(Ee)})},window.addEventListener("mousedown",wn)),Wn.add(se),function(){Wn.delete(se),Wn.size===0&&(window.removeEventListener("mousedown",wn),wn=null)}}function _t(se){var fe=se.target;if(se.composed&&fe.shadowRoot){var Ee;return((Ee=se.composedPath)===null||Ee===void 0?void 0:Ee.call(se)[0])||fe}return fe}var Vt=function(fe){return fe==="month"||fe==="date"?"year":fe},en=function(fe){return fe==="date"?"month":fe},la=function(fe){return fe==="month"||fe==="date"?"quarter":fe},aa=function(fe){return fe==="date"?"week":fe},jn={year:Vt,month:en,quarter:la,week:aa,time:null,date:null};function Oa(se,fe){return se.some(function(Ee){return Ee&&Ee.contains(fe)})}function Ia(se){var fe=se.open,Ee=se.value,Ve=se.isClickOutside,Ye=se.triggerOpen,Rt=se.forwardKeyDown,Dt=se.onKeyDown,rn=se.blurToCancel,un=se.onSubmit,xn=se.onCancel,ba=se.onFocus,Bn=se.onBlur,Mn=se.changeOnBlur,na=(0,ae.useState)(!1),ra=(0,jt.Z)(na,2),sn=ra[0],An=ra[1],sa=(0,ae.useState)(!1),Va=(0,jt.Z)(sa,2),Ka=Va[0],Xa=Va[1],tr=(0,ae.useRef)(!1),Ja=(0,ae.useRef)(!1),Ha=(0,ae.useRef)(!1),so={onMouseDown:function(){An(!0),Ye(!0)},onKeyDown:function(eo){var Co=function(){Ha.current=!0};if(Dt(eo,Co),!Ha.current){switch(eo.which){case yt.Z.ENTER:{fe?un()!==!1&&An(!0):Ye(!0),eo.preventDefault();return}case yt.Z.TAB:{sn&&fe&&!eo.shiftKey?(An(!1),eo.preventDefault()):!sn&&fe&&!Rt(eo)&&eo.shiftKey&&(An(!0),eo.preventDefault());return}case yt.Z.ESC:{An(!0),xn();return}}!fe&&![yt.Z.SHIFT].includes(eo.which)?Ye(!0):sn||Rt(eo)}},onFocus:function(eo){An(!0),Xa(!0),ba&&ba(eo)},onBlur:function(eo){if(tr.current||!Ve(document.activeElement)){tr.current=!1;return}rn?setTimeout(function(){for(var Co=document,Go=Co.activeElement;Go&&Go.shadowRoot;)Go=Go.shadowRoot.activeElement;Ve(Go)&&xn()},0):fe&&(Ye(!1),Ja.current&&un()),Xa(!1),Bn==null||Bn(eo)}};return(0,ae.useEffect)(function(){Ja.current=!1},[fe]),(0,ae.useEffect)(function(){Ja.current=!0},[Ee]),(0,ae.useEffect)(function(){return ma(function(kr){var eo=_t(kr),Co=Ve(eo);fe&&(Co?!Mn&&(!Ka||Co)&&Ye(!1):(tr.current=!0,(0,kt.Z)(function(){tr.current=!1})))})}),[so,{focused:Ka,typing:sn}]}function vr(se,fe){return ae.useMemo(function(){return se||(fe?((0,pe.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(fe).map(function(Ee){var Ve=(0,jt.Z)(Ee,2),Ye=Ve[0],Rt=Ve[1];return{label:Ye,value:Rt}})):[])},[se,fe])}var zr=ee(14075);function La(se){var fe=se.valueTexts,Ee=se.onTextChange,Ve=ae.useState(""),Ye=(0,jt.Z)(Ve,2),Rt=Ye[0],Dt=Ye[1],rn=ae.useRef([]);rn.current=fe;function un(ba){Dt(ba),Ee(ba)}function xn(){Dt(rn.current[0])}return(0,zr.Z)(function(){fe.every(function(ba){return ba!==Rt})&&xn()},[fe.join("||")]),[Rt,un,xn]}var Je=ae.createContext({}),Bt=Je,xt=ee(71002);function Tn(se){var fe=se.cellRender,Ee=se.monthCellRender,Ve=se.dateRender,Ye=ae.useMemo(function(){if(fe)return fe;if(!(!Ee&&!Ve))return function(Rt,Dt){var rn=Rt;return Ve&&Dt.type==="date"?Ve(rn,Dt.today):Ee&&Dt.type==="month"?Ee(rn,Dt.locale):Dt.originNode}},[fe,Ee,Ve]);return Ye}function pn(se,fe){for(var Ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Ve=String(se);Ve.length<fe;)Ve="".concat(Ee).concat(se);return Ve}var _n=function(){for(var fe=arguments.length,Ee=new Array(fe),Ve=0;Ve<fe;Ve++)Ee[Ve]=arguments[Ve];return Ee};function Xr(se){return se==null?[]:Array.isArray(se)?se:[se]}function Ta(se,fe){return se?se[fe]:null}function Cr(se,fe,Ee){var Ve=[Ta(se,0),Ta(se,1)];return Ve[Ee]=typeof fe=="function"?fe(Ve[Ee]):fe,!Ve[0]&&!Ve[1]?null:Ve}function Yr(se){return typeof se=="function"?se():se}function co(se){var fe=se.cellPrefixCls,Ee=se.generateConfig,Ve=se.rangedValue,Ye=se.hoverRangedValue,Rt=se.isInView,Dt=se.isSameCell,rn=se.offsetCell,un=se.today,xn=se.value;function ba(Bn){var Mn,na=rn(Bn,-1),ra=rn(Bn,1),sn=Ta(Ve,0),An=Ta(Ve,1),sa=Ta(Ye,0),Va=Ta(Ye,1),Ka=Re(Ee,sa,Va,Bn);function Xa(eo){return Dt(sn,eo)}function tr(eo){return Dt(An,eo)}var Ja=Dt(sa,Bn),Ha=Dt(Va,Bn),so=(Ka||Ha)&&(!Rt(na)||tr(na)),kr=(Ka||Ja)&&(!Rt(ra)||Xa(ra));return Mn={},(0,ct.Z)(Mn,"".concat(fe,"-in-view"),Rt(Bn)),(0,ct.Z)(Mn,"".concat(fe,"-in-range"),Re(Ee,sn,An,Bn)),(0,ct.Z)(Mn,"".concat(fe,"-range-start"),Xa(Bn)),(0,ct.Z)(Mn,"".concat(fe,"-range-end"),tr(Bn)),(0,ct.Z)(Mn,"".concat(fe,"-range-start-single"),Xa(Bn)&&!An),(0,ct.Z)(Mn,"".concat(fe,"-range-end-single"),tr(Bn)&&!sn),(0,ct.Z)(Mn,"".concat(fe,"-range-start-near-hover"),Xa(Bn)&&(Dt(na,sa)||Re(Ee,sa,Va,na))),(0,ct.Z)(Mn,"".concat(fe,"-range-end-near-hover"),tr(Bn)&&(Dt(ra,Va)||Re(Ee,sa,Va,ra))),(0,ct.Z)(Mn,"".concat(fe,"-range-hover"),Ka),(0,ct.Z)(Mn,"".concat(fe,"-range-hover-start"),Ja),(0,ct.Z)(Mn,"".concat(fe,"-range-hover-end"),Ha),(0,ct.Z)(Mn,"".concat(fe,"-range-hover-edge-start"),so),(0,ct.Z)(Mn,"".concat(fe,"-range-hover-edge-end"),kr),(0,ct.Z)(Mn,"".concat(fe,"-range-hover-edge-start-near-range"),so&&Dt(na,An)),(0,ct.Z)(Mn,"".concat(fe,"-range-hover-edge-end-near-range"),kr&&Dt(ra,sn)),(0,ct.Z)(Mn,"".concat(fe,"-today"),Dt(un,Bn)),(0,ct.Z)(Mn,"".concat(fe,"-selected"),Dt(xn,Bn)),Mn}return ba}var Xn=ae.createContext({}),ur=Xn;function pt(se,fe,Ee,Ve,Ye){var Rt=se.setHour(fe,Ee);return Rt=se.setMinute(Rt,Ve),Rt=se.setSecond(Rt,Ye),Rt}function qt(se,fe,Ee){if(!Ee)return fe;var Ve=fe;return Ve=se.setHour(Ve,se.getHour(Ee)),Ve=se.setMinute(Ve,se.getMinute(Ee)),Ve=se.setSecond(Ve,se.getSecond(Ee)),Ve}function Ut(se,fe,Ee,Ve,Ye,Rt){var Dt=Math.floor(se/Ve)*Ve;if(Dt<se)return[Dt,60-Ye,60-Rt];var rn=Math.floor(fe/Ye)*Ye;if(rn<fe)return[Dt,rn,60-Rt];var un=Math.floor(Ee/Rt)*Rt;return[Dt,rn,un]}function dn(se,fe){var Ee=se.getYear(fe),Ve=se.getMonth(fe)+1,Ye=se.getEndDate(se.getFixedDate("".concat(Ee,"-").concat(Ve,"-01"))),Rt=se.getDate(Ye),Dt=Ve<10?"0".concat(Ve):"".concat(Ve);return"".concat(Ee,"-").concat(Dt,"-").concat(Rt)}function Gn(se){for(var fe=se.prefixCls,Ee=se.disabledDate,Ve=se.onSelect,Ye=se.picker,Rt=se.rowNum,Dt=se.colNum,rn=se.prefixColumn,un=se.rowClassName,xn=se.baseDate,ba=se.getCellClassName,Bn=se.getCellText,Mn=se.getCellNode,na=se.getCellDate,ra=se.generateConfig,sn=se.titleCell,An=se.headerCells,sa=ae.useContext(Bt),Va=sa.onDateMouseEnter,Ka=sa.onDateMouseLeave,Xa=sa.mode,tr="".concat(fe,"-cell"),Ja=[],Ha=0;Ha<Rt;Ha+=1){for(var so=[],kr=void 0,eo=function(){var Vo,vi=Ha*Dt+Co,Zo=na(xn,vi),Do=et({cellDate:Zo,mode:Xa,disabledDate:Ee,generateConfig:ra});Co===0&&(kr=Zo,rn&&so.push(rn(kr)));var Ao=sn&&sn(Zo),Qo=ae.createElement("div",{className:"".concat(tr,"-inner")},Bn(Zo));so.push(ae.createElement("td",{key:Co,title:Ao,className:mt()(tr,(0,Ft.Z)((Vo={},(0,ct.Z)(Vo,"".concat(tr,"-disabled"),Do),(0,ct.Z)(Vo,"".concat(tr,"-start"),Bn(Zo)===1||Ye==="year"&&Number(Ao)%10===0),(0,ct.Z)(Vo,"".concat(tr,"-end"),Ao===dn(ra,Zo)||Ye==="year"&&Number(Ao)%10===9),Vo),ba(Zo))),onClick:function(){Do||Ve(Zo)},onMouseEnter:function(){!Do&&Va&&Va(Zo)},onMouseLeave:function(){!Do&&Ka&&Ka(Zo)}},Mn?Mn(Zo,Qo):Qo))},Co=0;Co<Dt;Co+=1)eo();Ja.push(ae.createElement("tr",{key:Ha,className:un&&un(kr)},so))}return ae.createElement("div",{className:"".concat(fe,"-body")},ae.createElement("table",{className:"".concat(fe,"-content")},An&&ae.createElement("thead",null,ae.createElement("tr",null,An)),ae.createElement("tbody",null,Ja)))}function nn(se){var fe=se.prefixCls,Ee=se.generateConfig,Ve=se.prefixColumn,Ye=se.locale,Rt=se.rowCount,Dt=se.viewDate,rn=se.value,un=se.cellRender,xn=se.isSameCell,ba=ae.useContext(ur),Bn=ba.rangedValue,Mn=ba.hoverRangedValue,na=Nn(Ye.locale,Ee,Dt),ra="".concat(fe,"-cell"),sn=Ee.locale.getWeekFirstDay(Ye.locale),An=Ee.getNow(),sa=[],Va=Ye.shortWeekDays||(Ee.locale.getShortWeekDays?Ee.locale.getShortWeekDays(Ye.locale):[]);Ve&&sa.push(ae.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var Ka=0;Ka<lt;Ka+=1)sa.push(ae.createElement("th",{key:Ka},Va[(Ka+sn)%lt]));var Xa=co({cellPrefixCls:ra,today:An,value:rn,generateConfig:Ee,rangedValue:Ve?null:Bn,hoverRangedValue:Ve?null:Mn,isSameCell:xn||function(Ja,Ha){return bt(Ee,Ja,Ha)},isInView:function(Ha){return Ot(Ee,Ha,Dt)},offsetCell:function(Ha,so){return Ee.addDate(Ha,so)}}),tr=un?function(Ja,Ha){return un(Ja,{originNode:Ha,today:An,type:"date",locale:Ye})}:void 0;return ae.createElement(Gn,(0,re.Z)({},se,{rowNum:Rt,colNum:lt,baseDate:na,getCellNode:tr,getCellText:Ee.getDate,getCellClassName:Xa,getCellDate:Ee.addDate,titleCell:function(Ha){return je(Ha,{locale:Ye,format:"YYYY-MM-DD",generateConfig:Ee})},headerCells:sa}))}var Vn=nn,Cn={visibility:"hidden"};function ia(se){var fe=se.prefixCls,Ee=se.prevIcon,Ve=Ee===void 0?"\u2039":Ee,Ye=se.nextIcon,Rt=Ye===void 0?"\u203A":Ye,Dt=se.superPrevIcon,rn=Dt===void 0?"\xAB":Dt,un=se.superNextIcon,xn=un===void 0?"\xBB":un,ba=se.onSuperPrev,Bn=se.onSuperNext,Mn=se.onPrev,na=se.onNext,ra=se.children,sn=ae.useContext(Bt),An=sn.hideNextBtn,sa=sn.hidePrevBtn;return ae.createElement("div",{className:fe},ba&&ae.createElement("button",{type:"button",onClick:ba,tabIndex:-1,className:"".concat(fe,"-super-prev-btn"),style:sa?Cn:{}},rn),Mn&&ae.createElement("button",{type:"button",onClick:Mn,tabIndex:-1,className:"".concat(fe,"-prev-btn"),style:sa?Cn:{}},Ve),ae.createElement("div",{className:"".concat(fe,"-view")},ra),na&&ae.createElement("button",{type:"button",onClick:na,tabIndex:-1,className:"".concat(fe,"-next-btn"),style:An?Cn:{}},Rt),Bn&&ae.createElement("button",{type:"button",onClick:Bn,tabIndex:-1,className:"".concat(fe,"-super-next-btn"),style:An?Cn:{}},xn))}var Za=ia;function ir(se){var fe=se.prefixCls,Ee=se.generateConfig,Ve=se.locale,Ye=se.viewDate,Rt=se.onNextMonth,Dt=se.onPrevMonth,rn=se.onNextYear,un=se.onPrevYear,xn=se.onYearClick,ba=se.onMonthClick,Bn=ae.useContext(Bt),Mn=Bn.hideHeader;if(Mn)return null;var na="".concat(fe,"-header"),ra=Ve.shortMonths||(Ee.locale.getShortMonths?Ee.locale.getShortMonths(Ve.locale):[]),sn=Ee.getMonth(Ye),An=ae.createElement("button",{type:"button",key:"year",onClick:xn,tabIndex:-1,className:"".concat(fe,"-year-btn")},je(Ye,{locale:Ve,format:Ve.yearFormat,generateConfig:Ee})),sa=ae.createElement("button",{type:"button",key:"month",onClick:ba,tabIndex:-1,className:"".concat(fe,"-month-btn")},Ve.monthFormat?je(Ye,{locale:Ve,format:Ve.monthFormat,generateConfig:Ee}):ra[sn]),Va=Ve.monthBeforeYear?[sa,An]:[An,sa];return ae.createElement(Za,(0,re.Z)({},se,{prefixCls:na,onSuperPrev:un,onPrev:Dt,onNext:Rt,onSuperNext:rn}),Va)}var Nr=ir,Hr=6;function Ln(se){var fe=se.prefixCls,Ee=se.panelName,Ve=Ee===void 0?"date":Ee,Ye=se.keyboardConfig,Rt=se.active,Dt=se.operationRef,rn=se.generateConfig,un=se.value,xn=se.viewDate,ba=se.onViewDateChange,Bn=se.onPanelChange,Mn=se.onSelect,na="".concat(fe,"-").concat(Ve,"-panel");Dt.current={onKeyDown:function(sa){return Kt(sa,(0,Ft.Z)({onLeftRight:function(Ka){Mn(rn.addDate(un||xn,Ka),"key")},onCtrlLeftRight:function(Ka){Mn(rn.addYear(un||xn,Ka),"key")},onUpDown:function(Ka){Mn(rn.addDate(un||xn,Ka*lt),"key")},onPageUpDown:function(Ka){Mn(rn.addMonth(un||xn,Ka),"key")}},Ye))}};var ra=function(sa){var Va=rn.addYear(xn,sa);ba(Va),Bn(null,Va)},sn=function(sa){var Va=rn.addMonth(xn,sa);ba(Va),Bn(null,Va)};return ae.createElement("div",{className:mt()(na,(0,ct.Z)({},"".concat(na,"-active"),Rt))},ae.createElement(Nr,(0,re.Z)({},se,{prefixCls:fe,value:un,viewDate:xn,onPrevYear:function(){ra(-1)},onNextYear:function(){ra(1)},onPrevMonth:function(){sn(-1)},onNextMonth:function(){sn(1)},onMonthClick:function(){Bn("month",xn)},onYearClick:function(){Bn("year",xn)}})),ae.createElement(Vn,(0,re.Z)({},se,{onSelect:function(sa){return Mn(sa,"mouse")},prefixCls:fe,value:un,viewDate:xn,rowCount:Hr})))}var _o=Ln;function Io(se){var fe=ae.useContext(Bt),Ee=fe.hideHeader;if(Ee)return null;var Ve=se.prefixCls,Ye=se.generateConfig,Rt=se.locale,Dt=se.value,rn=se.format,un="".concat(Ve,"-header");return ae.createElement(Za,{prefixCls:un},Dt?je(Dt,{locale:Rt,format:rn,generateConfig:Ye}):"\xA0")}var Sr=Io;function wo(se){var fe=se.value,Ee=se.generateConfig,Ve=se.disabledMinutes,Ye=se.disabledSeconds,Rt=se.minutes,Dt=se.seconds,rn=se.use12Hours,un=function(ba,Bn,Mn,na){var ra=Ee.getNow(),sn=fe||ra,An=Bn<0?Ee.getHour(ra):Bn,sa=Mn<0?Ee.getMinute(ra):Mn,Va=na<0?Ee.getSecond(ra):na,Ka=Ve&&Ve(An);if(Ka!=null&&Ka.includes(sa)){var Xa=Rt.find(function(Ha){return!Ka.includes(Ha.value)});if(Xa)sa=Xa.value;else return null}var tr=Ye&&Ye(An,sa);if(tr!=null&&tr.includes(Va)){var Ja=Dt.find(function(Ha){return!tr.includes(Ha.value)});if(Ja)Va=Ja.value;else return null}return sn=pt(Ee,sn,!rn||!ba?An:An+12,sa,Va),sn};return un}function ua(se){var fe=se.prefixCls,Ee=se.units,Ve=se.onSelect,Ye=se.value,Rt=se.active,Dt=se.hideDisabledOptions,rn=se.info,un=se.type,xn="".concat(fe,"-cell"),ba=ae.useContext(Bt),Bn=ba.open,Mn=(0,ae.useRef)(null),na=(0,ae.useRef)(new Map),ra=(0,ae.useRef)();return(0,ae.useLayoutEffect)(function(){var sn=na.current.get(Ye);sn&&Bn!==!1&&tn(Mn.current,sn.offsetTop,120)},[Ye]),(0,ae.useLayoutEffect)(function(){if(Bn){var sn=na.current.get(Ye);sn&&(ra.current=St(sn,function(){tn(Mn.current,sn.offsetTop,0)}))}return function(){var An;(An=ra.current)===null||An===void 0||An.call(ra)}},[Bn]),ae.createElement("ul",{className:mt()("".concat(fe,"-column"),(0,ct.Z)({},"".concat(fe,"-column-active"),Rt)),ref:Mn,style:{position:"relative"}},Ee.map(function(sn){var An;return Dt&&sn.disabled?null:ae.createElement("li",{key:sn.value,ref:function(Va){na.current.set(sn.value,Va)},className:mt()(xn,(An={},(0,ct.Z)(An,"".concat(xn,"-disabled"),sn.disabled),(0,ct.Z)(An,"".concat(xn,"-selected"),Ye===sn.value),An)),onClick:function(){sn.disabled||Ve(sn.value)}},rn.cellRender?rn.cellRender(sn.value,{today:rn.today,locale:rn.locale,originNode:ae.createElement("div",{className:"".concat(xn,"-inner")},sn.label),type:"time",subType:un}):ae.createElement("div",{className:"".concat(xn,"-inner")},sn.label))}))}var Ra=ua;function mr(se,fe){if(se.length!==fe.length)return!0;for(var Ee=0;Ee<se.length;Ee+=1)if(se[Ee].disabled!==fe[Ee].disabled)return!0;return!1}function Yn(se,fe,Ee,Ve){for(var Ye=[],Rt=Ee>=1?Ee|0:1,Dt=se;Dt<=fe;Dt+=Rt)Ye.push({label:pn(Dt,2),value:Dt,disabled:(Ve||[]).includes(Dt)});return Ye}function $r(se){var fe=se.generateConfig,Ee=se.prefixCls,Ve=se.operationRef,Ye=se.activeColumnIndex,Rt=se.value,Dt=se.showHour,rn=se.showMinute,un=se.showSecond,xn=se.use12Hours,ba=se.hourStep,Bn=ba===void 0?1:ba,Mn=se.minuteStep,na=Mn===void 0?1:Mn,ra=se.secondStep,sn=ra===void 0?1:ra,An=se.disabledHours,sa=se.disabledMinutes,Va=se.disabledSeconds,Ka=se.disabledTime,Xa=se.hideDisabledOptions,tr=se.onSelect,Ja=se.cellRender,Ha=se.locale,so=[],kr="".concat(Ee,"-content"),eo="".concat(Ee,"-time-panel"),Co,Go=Rt?fe.getHour(Rt):-1,Vo=Go,vi=Rt?fe.getMinute(Rt):-1,Zo=Rt?fe.getSecond(Rt):-1,Do=fe.getNow(),Ao=ae.useMemo(function(){if(Ka){var Po=Ka(Do);return[Po.disabledHours,Po.disabledMinutes,Po.disabledSeconds]}return[An,sa,Va]},[An,sa,Va,Ka,Do]),Qo=(0,jt.Z)(Ao,3),ei=Qo[0],To=Qo[1],ti=Qo[2],Ni=Yn(0,23,Bn,ei&&ei()),Ei=(0,Fn.Z)(function(){return Ni},Ni,mr);xn&&(Co=Vo>=12,Vo%=12);var Vi=ae.useMemo(function(){if(!xn)return[!1,!1];var Po=[!0,!0];return Ei.forEach(function(Oi){var gi=Oi.disabled,zi=Oi.value;gi||(zi>=12?Po[1]=!1:Po[0]=!1)}),Po},[xn,Ei]),wi=(0,jt.Z)(Vi,2),_i=wi[0],ci=wi[1],Ai=ae.useMemo(function(){return xn?Ei.filter(Co?function(Po){return Po.value>=12}:function(Po){return Po.value<12}).map(function(Po){var Oi=Po.value%12,gi=Oi===0?"12":pn(Oi,2);return(0,Ft.Z)((0,Ft.Z)({},Po),{},{label:gi,value:Oi})}):Ei},[xn,Co,Ei]),Wi=Yn(0,59,na,To&&To(Go)),qi=Yn(0,59,sn,ti&&ti(Go,vi)),Yi=wo({value:Rt,generateConfig:fe,disabledMinutes:To,disabledSeconds:ti,minutes:Wi,seconds:qi,use12Hours:xn});Ve.current={onUpDown:function(Oi){var gi=so[Ye];if(gi)for(var zi=gi.units.findIndex(function(zl){return zl.value===gi.value}),rl=gi.units.length,Fi=1;Fi<rl;Fi+=1){var el=gi.units[(zi+Oi*Fi+rl)%rl];if(el.disabled!==!0){gi.onSelect(el.value);break}}}};function gl(Po,Oi,gi,zi,rl){Po!==!1&&so.push({node:ae.cloneElement(Oi,{prefixCls:eo,value:gi,active:Ye===so.length,onSelect:rl,units:zi,hideDisabledOptions:Xa}),onSelect:rl,value:gi,units:zi})}gl(Dt,ae.createElement(Ra,{key:"hour",type:"hour",info:{today:Do,locale:Ha,cellRender:Ja}}),Vo,Ai,function(Po){tr(Yi(Co,Po,vi,Zo),"mouse")}),gl(rn,ae.createElement(Ra,{key:"minute",type:"minute",info:{today:Do,locale:Ha,cellRender:Ja}}),vi,Wi,function(Po){tr(Yi(Co,Vo,Po,Zo),"mouse")}),gl(un,ae.createElement(Ra,{key:"second",type:"second",info:{today:Do,locale:Ha,cellRender:Ja}}),Zo,qi,function(Po){tr(Yi(Co,Vo,vi,Po),"mouse")});var Fl=-1;return typeof Co=="boolean"&&(Fl=Co?1:0),gl(xn===!0,ae.createElement(Ra,{key:"meridiem",type:"meridiem",info:{today:Do,locale:Ha,cellRender:Ja}}),Fl,[{label:"AM",value:0,disabled:_i},{label:"PM",value:1,disabled:ci}],function(Po){tr(Yi(!!Po,Vo,vi,Zo),"mouse")}),ae.createElement("div",{className:kr},so.map(function(Po){var Oi=Po.node;return Oi}))}var Or=$r,Wo=function(fe){return fe.filter(function(Ee){return Ee!==!1}).length};function Fo(se){var fe=se.generateConfig,Ee=se.format,Ve=Ee===void 0?"HH:mm:ss":Ee,Ye=se.prefixCls,Rt=se.active,Dt=se.operationRef,rn=se.showHour,un=se.showMinute,xn=se.showSecond,ba=se.use12Hours,Bn=ba===void 0?!1:ba,Mn=se.onSelect,na=se.value,ra="".concat(Ye,"-time-panel"),sn=ae.useRef(),An=ae.useState(-1),sa=(0,jt.Z)(An,2),Va=sa[0],Ka=sa[1],Xa=Wo([rn,un,xn,Bn]);return Dt.current={onKeyDown:function(Ja){return Kt(Ja,{onLeftRight:function(so){Ka((Va+so+Xa)%Xa)},onUpDown:function(so){Va===-1?Ka(0):sn.current&&sn.current.onUpDown(so)},onEnter:function(){Mn(na||fe.getNow(),"key"),Ka(-1)}})},onBlur:function(){Ka(-1)}},ae.createElement("div",{className:mt()(ra,(0,ct.Z)({},"".concat(ra,"-active"),Rt))},ae.createElement(Sr,(0,re.Z)({},se,{format:Ve,prefixCls:Ye})),ae.createElement(Or,(0,re.Z)({},se,{prefixCls:Ye,activeColumnIndex:Va,operationRef:sn})))}var ko=Fo,Gi=_n("date","time");function Jo(se){var fe=se.prefixCls,Ee=se.operationRef,Ve=se.generateConfig,Ye=se.value,Rt=se.defaultValue,Dt=se.disabledTime,rn=se.showTime,un=se.onSelect,xn=se.cellRender,ba="".concat(fe,"-datetime-panel"),Bn=ae.useState(null),Mn=(0,jt.Z)(Bn,2),na=Mn[0],ra=Mn[1],sn=ae.useRef({}),An=ae.useRef({}),sa=(0,xt.Z)(rn)==="object"?(0,Ft.Z)({},rn):{};function Va(Ja){var Ha=Gi.indexOf(na)+Ja,so=Gi[Ha]||null;return so}var Ka=function(Ha){An.current.onBlur&&An.current.onBlur(Ha),ra(null)};Ee.current={onKeyDown:function(Ha){if(Ha.which===yt.Z.TAB){var so=Va(Ha.shiftKey?-1:1);return ra(so),so&&Ha.preventDefault(),!0}if(na){var kr=na==="date"?sn:An;return kr.current&&kr.current.onKeyDown&&kr.current.onKeyDown(Ha),!0}return[yt.Z.LEFT,yt.Z.RIGHT,yt.Z.UP,yt.Z.DOWN].includes(Ha.which)?(ra("date"),!0):!1},onBlur:Ka,onClose:Ka};var Xa=function(Ha,so){var kr=Ha;so==="date"&&!Ye&&sa.defaultValue?(kr=Ve.setHour(kr,Ve.getHour(sa.defaultValue)),kr=Ve.setMinute(kr,Ve.getMinute(sa.defaultValue)),kr=Ve.setSecond(kr,Ve.getSecond(sa.defaultValue))):so==="time"&&!Ye&&Rt&&(kr=Ve.setYear(kr,Ve.getYear(Rt)),kr=Ve.setMonth(kr,Ve.getMonth(Rt)),kr=Ve.setDate(kr,Ve.getDate(Rt))),un&&un(kr,"mouse")},tr=Dt?Dt(Ye||null):{};return ae.createElement("div",{className:mt()(ba,(0,ct.Z)({},"".concat(ba,"-active"),na))},ae.createElement(_o,(0,re.Z)({},se,{cellRender:xn,operationRef:sn,active:na==="date",onSelect:function(Ha){Xa(qt(Ve,Ha,!Ye&&(0,xt.Z)(rn)==="object"?rn.defaultValue:null),"date")}})),ae.createElement(ko,(0,re.Z)({},se,{cellRender:xn?function(Ja,Ha){return xn(Ja,(0,Ft.Z)((0,Ft.Z)({},Ha),{},{type:"time"}))}:void 0,format:void 0},sa,tr,{disabledTime:null,defaultValue:void 0,operationRef:An,active:na==="time",onSelect:function(Ha){Xa(Ha,"time")}})))}var nl=Jo;function al(se){var fe=se.prefixCls,Ee=se.generateConfig,Ve=se.viewDate,Ye=se.onPrevDecades,Rt=se.onNextDecades,Dt=ae.useContext(Bt),rn=Dt.hideHeader;if(rn)return null;var un="".concat(fe,"-header"),xn=Ee.getYear(Ve),ba=Math.floor(xn/at)*at,Bn=ba+at-1;return ae.createElement(Za,(0,re.Z)({},se,{prefixCls:un,onSuperPrev:Ye,onSuperNext:Rt}),ba,"-",Bn)}var kn=al,Ea=3,io=4;function Ho(se){var fe=In-1,Ee=se.prefixCls,Ve=se.viewDate,Ye=se.generateConfig,Rt=se.cellRender,Dt=se.locale,rn="".concat(Ee,"-cell"),un=Ye.getYear(Ve),xn=Math.floor(un/In)*In,ba=Math.floor(un/at)*at,Bn=ba+at-1,Mn=Ye.setYear(Ve,ba-Math.ceil((Ea*io*In-at)/2)),na=function(An){var sa,Va=Ye.getYear(An),Ka=Va+fe;return sa={},(0,ct.Z)(sa,"".concat(rn,"-in-view"),ba<=Va&&Ka<=Bn),(0,ct.Z)(sa,"".concat(rn,"-selected"),Va===xn),sa},ra=Rt?function(sn,An){return Rt(sn,{originNode:An,today:Ye.getNow(),type:"decade",locale:Dt})}:void 0;return ae.createElement(Gn,(0,re.Z)({},se,{rowNum:io,colNum:Ea,baseDate:Mn,getCellNode:ra,getCellText:function(An){var sa=Ye.getYear(An);return"".concat(sa,"-").concat(sa+fe)},getCellClassName:na,getCellDate:function(An,sa){return Ye.addYear(An,sa*In)}}))}var xi=Ho;function ri(se){var fe=se.prefixCls,Ee=se.onViewDateChange,Ve=se.generateConfig,Ye=se.viewDate,Rt=se.operationRef,Dt=se.onSelect,rn=se.onPanelChange,un="".concat(fe,"-decade-panel");Rt.current={onKeyDown:function(Mn){return Kt(Mn,{onLeftRight:function(ra){Dt(Ve.addYear(Ye,ra*In),"key")},onCtrlLeftRight:function(ra){Dt(Ve.addYear(Ye,ra*at),"key")},onUpDown:function(ra){Dt(Ve.addYear(Ye,ra*In*Ea),"key")},onEnter:function(){rn("year",Ye)}})}};var xn=function(Mn){var na=Ve.addYear(Ye,Mn*at);Ee(na),rn(null,na)},ba=function(Mn){Dt(Mn,"mouse"),rn("year",Mn)};return ae.createElement("div",{className:un},ae.createElement(kn,(0,re.Z)({},se,{prefixCls:fe,onPrevDecades:function(){xn(-1)},onNextDecades:function(){xn(1)}})),ae.createElement(xi,(0,re.Z)({},se,{prefixCls:fe,onSelect:ba})))}var oi=ri;function Qi(se){var fe=se.prefixCls,Ee=se.generateConfig,Ve=se.locale,Ye=se.viewDate,Rt=se.onNextYear,Dt=se.onPrevYear,rn=se.onYearClick,un=ae.useContext(Bt),xn=un.hideHeader;if(xn)return null;var ba="".concat(fe,"-header");return ae.createElement(Za,(0,re.Z)({},se,{prefixCls:ba,onSuperPrev:Dt,onSuperNext:Rt}),ae.createElement("button",{type:"button",onClick:rn,className:"".concat(fe,"-year-btn")},je(Ye,{locale:Ve,format:Ve.yearFormat,generateConfig:Ee})))}var jr=Qi,ce=3,Pe=4;function Oe(se){var fe=se.prefixCls,Ee=se.locale,Ve=se.value,Ye=se.viewDate,Rt=se.generateConfig,Dt=se.cellRender,rn=ae.useContext(ur),un=rn.rangedValue,xn=rn.hoverRangedValue,ba="".concat(fe,"-cell"),Bn=co({cellPrefixCls:ba,value:Ve,generateConfig:Rt,rangedValue:un,hoverRangedValue:xn,isSameCell:function(An,sa){return Ot(Rt,An,sa)},isInView:function(){return!0},offsetCell:function(An,sa){return Rt.addMonth(An,sa)}}),Mn=Ee.shortMonths||(Rt.locale.getShortMonths?Rt.locale.getShortMonths(Ee.locale):[]),na=Rt.setMonth(Ye,0),ra=Dt?function(sn,An){return Dt(sn,{originNode:An,locale:Ee,today:Rt.getNow(),type:"month"})}:void 0;return ae.createElement(Gn,(0,re.Z)({},se,{rowNum:Pe,colNum:ce,baseDate:na,getCellNode:ra,getCellText:function(An){return Ee.monthFormat?je(An,{locale:Ee,format:Ee.monthFormat,generateConfig:Rt}):Mn[Rt.getMonth(An)]},getCellClassName:Bn,getCellDate:Rt.addMonth,titleCell:function(An){return je(An,{locale:Ee,format:"YYYY-MM",generateConfig:Rt})}}))}var Se=Oe;function Qe(se){var fe=se.prefixCls,Ee=se.operationRef,Ve=se.onViewDateChange,Ye=se.generateConfig,Rt=se.value,Dt=se.viewDate,rn=se.onPanelChange,un=se.onSelect,xn="".concat(fe,"-month-panel");Ee.current={onKeyDown:function(Mn){return Kt(Mn,{onLeftRight:function(ra){un(Ye.addMonth(Rt||Dt,ra),"key")},onCtrlLeftRight:function(ra){un(Ye.addYear(Rt||Dt,ra),"key")},onUpDown:function(ra){un(Ye.addMonth(Rt||Dt,ra*ce),"key")},onEnter:function(){rn("date",Rt||Dt)}})}};var ba=function(Mn){var na=Ye.addYear(Dt,Mn);Ve(na),rn(null,na)};return ae.createElement("div",{className:xn},ae.createElement(jr,(0,re.Z)({},se,{prefixCls:fe,onPrevYear:function(){ba(-1)},onNextYear:function(){ba(1)},onYearClick:function(){rn("year",Dt)}})),ae.createElement(Se,(0,re.Z)({},se,{prefixCls:fe,onSelect:function(Mn){un(Mn,"mouse"),rn("date",Mn)}})))}var ot=Qe;function wt(se){var fe=se.prefixCls,Ee=se.generateConfig,Ve=se.locale,Ye=se.viewDate,Rt=se.onNextYear,Dt=se.onPrevYear,rn=se.onYearClick,un=ae.useContext(Bt),xn=un.hideHeader;if(xn)return null;var ba="".concat(fe,"-header");return ae.createElement(Za,(0,re.Z)({},se,{prefixCls:ba,onSuperPrev:Dt,onSuperNext:Rt}),ae.createElement("button",{type:"button",onClick:rn,className:"".concat(fe,"-year-btn")},je(Ye,{locale:Ve,format:Ve.yearFormat,generateConfig:Ee})))}var tt=wt,st=4,ht=1;function an(se){var fe=se.prefixCls,Ee=se.locale,Ve=se.value,Ye=se.viewDate,Rt=se.generateConfig,Dt=se.cellRender,rn=ae.useContext(ur),un=rn.rangedValue,xn=rn.hoverRangedValue,ba="".concat(fe,"-cell"),Bn=co({cellPrefixCls:ba,value:Ve,generateConfig:Rt,rangedValue:un,hoverRangedValue:xn,isSameCell:function(sn,An){return Xt(Rt,sn,An)},isInView:function(){return!0},offsetCell:function(sn,An){return Rt.addMonth(sn,An*3)}}),Mn=Rt.setDate(Rt.setMonth(Ye,0),1),na=Dt?function(ra,sn){return Dt(ra,{originNode:sn,locale:Ee,today:Rt.getNow(),type:"quarter"})}:void 0;return ae.createElement(Gn,(0,re.Z)({},se,{rowNum:ht,colNum:st,baseDate:Mn,getCellNode:na,getCellText:function(sn){return je(sn,{locale:Ee,format:Ee.quarterFormat||"[Q]Q",generateConfig:Rt})},getCellClassName:Bn,getCellDate:function(sn,An){return Rt.addMonth(sn,An*3)},titleCell:function(sn){return je(sn,{locale:Ee,format:"YYYY-[Q]Q",generateConfig:Rt})}}))}var fn=an;function Un(se){var fe=se.prefixCls,Ee=se.operationRef,Ve=se.onViewDateChange,Ye=se.generateConfig,Rt=se.value,Dt=se.viewDate,rn=se.onPanelChange,un=se.onSelect,xn="".concat(fe,"-quarter-panel");Ee.current={onKeyDown:function(Mn){return Kt(Mn,{onLeftRight:function(ra){un(Ye.addMonth(Rt||Dt,ra*3),"key")},onCtrlLeftRight:function(ra){un(Ye.addYear(Rt||Dt,ra),"key")},onUpDown:function(ra){un(Ye.addYear(Rt||Dt,ra),"key")}})}};var ba=function(Mn){var na=Ye.addYear(Dt,Mn);Ve(na),rn(null,na)};return ae.createElement("div",{className:xn},ae.createElement(tt,(0,re.Z)({},se,{prefixCls:fe,onPrevYear:function(){ba(-1)},onNextYear:function(){ba(1)},onYearClick:function(){rn("year",Dt)}})),ae.createElement(fn,(0,re.Z)({},se,{prefixCls:fe,onSelect:function(Mn){un(Mn,"mouse")}})))}var Rn=Un;function Fa(se){var fe=se.prefixCls,Ee=se.generateConfig,Ve=se.locale,Ye=se.value,Rt=se.disabledDate,Dt=se.onSelect,rn=ae.useContext(ur),un=rn.rangedValue,xn=rn.hoverRangedValue,ba=ae.useContext(Bt),Bn=ba.onDateMouseEnter,Mn=ba.onDateMouseLeave,na=(xn==null?void 0:xn[0])||(un==null?void 0:un[0]),ra=(xn==null?void 0:xn[1])||(un==null?void 0:un[1]),sn="".concat(fe,"-cell"),An=function(Xa){var tr=et({cellDate:Xa,mode:"week",disabledDate:Rt,generateConfig:Ee});return ae.createElement("td",{key:"week",className:mt()(sn,"".concat(sn,"-week")),onClick:function(){tr||Dt(Xa,"mouse")},onMouseEnter:function(){!tr&&Bn&&Bn(Xa)},onMouseLeave:function(){!tr&&Mn&&Mn(Xa)}},ae.createElement("div",{className:"".concat(sn,"-inner")},Ee.locale.getWeek(Ve.locale,Xa)))},sa="".concat(fe,"-week-panel-row"),Va=function(Xa){var tr,Ja=Jt(Ee,Ve.locale,na,Xa),Ha=Jt(Ee,Ve.locale,ra,Xa);return mt()(sa,(tr={},(0,ct.Z)(tr,"".concat(sa,"-selected"),!un&&Jt(Ee,Ve.locale,Ye,Xa)),(0,ct.Z)(tr,"".concat(sa,"-range-start"),Ja),(0,ct.Z)(tr,"".concat(sa,"-range-end"),Ha),(0,ct.Z)(tr,"".concat(sa,"-range-hover"),!Ja&&!Ha&&Re(Ee,na,ra,Xa)),tr))};return ae.createElement(_o,(0,re.Z)({},se,{panelName:"week",prefixColumn:An,rowClassName:Va,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var fa=Fa,hn=10;function Gt(se){var fe=se.prefixCls,Ee=se.generateConfig,Ve=se.viewDate,Ye=se.onPrevDecade,Rt=se.onNextDecade,Dt=se.onDecadeClick,rn=ae.useContext(Bt),un=rn.hideHeader;if(un)return null;var xn="".concat(fe,"-header"),ba=Ee.getYear(Ve),Bn=Math.floor(ba/hn)*hn,Mn=Bn+hn-1;return ae.createElement(Za,(0,re.Z)({},se,{prefixCls:xn,onSuperPrev:Ye,onSuperNext:Rt}),ae.createElement("button",{type:"button",onClick:Dt,className:"".concat(fe,"-decade-btn")},Bn,"-",Mn))}var Sn=Gt,yn=3,pa=4;function Aa(se){var fe=se.prefixCls,Ee=se.value,Ve=se.viewDate,Ye=se.locale,Rt=se.generateConfig,Dt=se.cellRender,rn=ae.useContext(ur),un=rn.rangedValue,xn=rn.hoverRangedValue,ba="".concat(fe,"-cell"),Bn=Rt.getYear(Ve),Mn=Math.floor(Bn/hn)*hn,na=Mn+hn-1,ra=Rt.setYear(Ve,Mn-Math.ceil((yn*pa-hn)/2)),sn=Rt.getNow(),An=function(Xa){var tr=Rt.getYear(Xa);return Mn<=tr&&tr<=na},sa=co({cellPrefixCls:ba,value:Ee,generateConfig:Rt,rangedValue:un,hoverRangedValue:xn,isSameCell:function(Xa,tr){return Et(Rt,Xa,tr)},isInView:An,offsetCell:function(Xa,tr){return Rt.addYear(Xa,tr)}}),Va=Dt?function(Ka,Xa){return Dt(Ka,{originNode:Xa,today:sn,type:"year",locale:Ye})}:void 0;return ae.createElement(Gn,(0,re.Z)({},se,{rowNum:pa,colNum:yn,baseDate:ra,getCellNode:Va,getCellText:Rt.getYear,getCellClassName:sa,getCellDate:Rt.addYear,titleCell:function(Xa){return je(Xa,{locale:Ye,format:"YYYY",generateConfig:Rt})}}))}var xa=Aa;function za(se){var fe=se.prefixCls,Ee=se.operationRef,Ve=se.onViewDateChange,Ye=se.generateConfig,Rt=se.value,Dt=se.viewDate,rn=se.sourceMode,un=se.onSelect,xn=se.onPanelChange,ba="".concat(fe,"-year-panel");Ee.current={onKeyDown:function(na){return Kt(na,{onLeftRight:function(sn){un(Ye.addYear(Rt||Dt,sn),"key")},onCtrlLeftRight:function(sn){un(Ye.addYear(Rt||Dt,sn*hn),"key")},onUpDown:function(sn){un(Ye.addYear(Rt||Dt,sn*yn),"key")},onEnter:function(){xn(rn==="date"?"date":"month",Rt||Dt)}})}};var Bn=function(na){var ra=Ye.addYear(Dt,na*10);Ve(ra),xn(null,ra)};return ae.createElement("div",{className:ba},ae.createElement(Sn,(0,re.Z)({},se,{prefixCls:fe,onPrevDecade:function(){Bn(-1)},onNextDecade:function(){Bn(1)},onDecadeClick:function(){xn("decade",Dt)}})),ae.createElement(xa,(0,re.Z)({},se,{prefixCls:fe,onSelect:function(na){xn(rn==="date"?"date":"month",na),un(na,"mouse")}})))}var Na=za;function qn(se,fe,Ee){return Ee?ae.createElement("div",{className:"".concat(se,"-footer-extra")},Ee(fe)):null}function Ba(se){var fe=se.prefixCls,Ee=se.components,Ve=Ee===void 0?{}:Ee,Ye=se.needConfirmButton,Rt=se.onNow,Dt=se.onOk,rn=se.okDisabled,un=se.showNow,xn=se.locale,ba,Bn;if(Ye){var Mn=Ve.button||"button";Rt&&un!==!1&&(ba=ae.createElement("li",{className:"".concat(fe,"-now")},ae.createElement("a",{className:"".concat(fe,"-now-btn"),onClick:Rt},xn.now))),Bn=Ye&&ae.createElement("li",{className:"".concat(fe,"-ok")},ae.createElement(Mn,{disabled:rn,onClick:Dt},xn.ok))}return!ba&&!Bn?null:ae.createElement("ul",{className:"".concat(fe,"-ranges")},ba,Bn)}var wa=["date","month"];function Ua(se){var fe,Ee=se,Ve=Ee.prefixCls,Ye=Ve===void 0?"rc-picker":Ve,Rt=Ee.className,Dt=Ee.style,rn=Ee.locale,un=Ee.generateConfig,xn=Ee.value,ba=Ee.defaultValue,Bn=Ee.pickerValue,Mn=Ee.defaultPickerValue,na=Ee.disabledDate,ra=Ee.mode,sn=Ee.picker,An=sn===void 0?"date":sn,sa=Ee.tabIndex,Va=sa===void 0?0:sa,Ka=Ee.showNow,Xa=Ee.showTime,tr=Ee.showToday,Ja=Ee.renderExtraFooter,Ha=Ee.hideHeader,so=Ee.onSelect,kr=Ee.onChange,eo=Ee.onPanelChange,Co=Ee.onMouseDown,Go=Ee.onPickerValueChange,Vo=Ee.onOk,vi=Ee.components,Zo=Ee.direction,Do=Ee.hourStep,Ao=Do===void 0?1:Do,Qo=Ee.minuteStep,ei=Qo===void 0?1:Qo,To=Ee.secondStep,ti=To===void 0?1:To,Ni=Ee.dateRender,Ei=Ee.monthCellRender,Vi=Ee.cellRender,wi=An==="date"&&!!Xa||An==="time",_i=24%Ao===0,ci=60%ei===0,Ai=60%ti===0,Wi=ae.useContext(Bt),qi=Wi.operationRef,Yi=Wi.onSelect,gl=Wi.hideRanges,Fl=Wi.defaultOpenValue,Po=ae.useContext(ur),Oi=Po.inRange,gi=Po.panelPosition,zi=Po.rangedValue,rl=Po.hoverRangedValue,Fi=ae.useRef({}),el=ae.useRef(!0),zl=(0,_e.Z)(null,{value:xn,defaultValue:ba,postState:function(dr){return!dr&&Fl&&An==="time"?Fl:dr}}),Hl=(0,jt.Z)(zl,2),ml=Hl[0],uu=Hl[1],pu=(0,_e.Z)(null,{value:Bn,defaultValue:Mn||ml,postState:function(dr){var yo=un.getNow();if(!dr)return yo;if(!ml&&Xa){var qo=(0,xt.Z)(Xa)==="object"?Xa.defaultValue:ba;return qt(un,Array.isArray(dr)?dr[0]:dr,qo||yo)}return Array.isArray(dr)?dr[0]:dr}}),su=(0,jt.Z)(pu,2),fl=su[0],Il=su[1],Dl=function(dr){Il(dr),Go&&Go(dr)},du=function(dr){var yo=jn[An];return yo?yo(dr):dr},ru=(0,_e.Z)(function(){return An==="time"?"time":du("date")},{value:ra}),Al=(0,jt.Z)(ru,2),Mi=Al[0],yl=Al[1];ae.useEffect(function(){yl(An)},[An]);var Ql=ae.useState(function(){return Mi}),_l=(0,jt.Z)(Ql,2),Bl=_l[0],Ll=_l[1],Wl=function(dr,yo){var qo=du(dr||Mi);Ll(Mi),yl(qo),eo&&(Mi!==qo||$e(un,fl,fl))&&eo(yo,qo)},Ui=function(dr,yo){var qo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(Mi===An||qo)&&(uu(dr),so&&so(dr),Yi&&Yi(dr,yo),kr&&!$e(un,dr,ml)&&!(na!=null&&na(dr))&&kr(dr))},El=function(dr){if(wa.includes(Mi)){var yo,qo,Tl=Mi==="date";switch(dr===yt.Z.PAGE_UP||dr===yt.Z.PAGE_DOWN?qo=Tl?un.addMonth:un.addYear:qo=Tl?un.addDate:un.addMonth,dr){case yt.Z.LEFT:case yt.Z.PAGE_UP:yo=qo(fl,-1);break;case yt.Z.RIGHT:case yt.Z.PAGE_DOWN:yo=qo(fl,1);break;case yt.Z.UP:case yt.Z.DOWN:yo=qo(fl,Number("".concat(dr===yt.Z.UP?"-":"").concat(Tl?lt:ce)));break}if(yo)return!(na!=null&&na(yo))}return!0},Xl=function(dr){if(Fi.current&&Fi.current.onKeyDown){var yo=!0,qo=dr.which;if([yt.Z.LEFT,yt.Z.RIGHT,yt.Z.UP,yt.Z.DOWN,yt.Z.PAGE_UP,yt.Z.PAGE_DOWN,yt.Z.ENTER].includes(qo)&&(dr.preventDefault(),qo!==yt.Z.ENTER&&Va===0&&(yo=El(qo))),yo)return Fi.current.onKeyDown(dr)}return(0,pe.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},$i=function(dr){Fi.current&&Fi.current.onBlur&&Fi.current.onBlur(dr)};qi&&gi!=="right"&&(qi.current={onKeyDown:Xl,onClose:function(){Fi.current&&Fi.current.onClose&&Fi.current.onClose()}}),ae.useEffect(function(){xn&&!el.current&&Il(xn)},[xn]),ae.useEffect(function(){el.current=!1},[]);var Cl,Jl=Tn({cellRender:Vi,monthCellRender:Ei,dateRender:Ni}),ni=(0,Ft.Z)((0,Ft.Z)({},se),{},{cellRender:Jl,operationRef:Fi,prefixCls:Ye,viewDate:fl,value:ml,onViewDateChange:Dl,sourceMode:Bl,onPanelChange:Wl,disabledDate:na});switch(delete ni.onChange,delete ni.onSelect,Mi){case"decade":Cl=ae.createElement(oi,(0,re.Z)({},ni,{onSelect:function(dr,yo){Dl(dr),Ui(dr,yo)}}));break;case"year":Cl=ae.createElement(Na,(0,re.Z)({},ni,{onSelect:function(dr,yo){Dl(dr),Ui(dr,yo)}}));break;case"month":Cl=ae.createElement(ot,(0,re.Z)({},ni,{onSelect:function(dr,yo){Dl(dr),Ui(dr,yo)}}));break;case"quarter":Cl=ae.createElement(Rn,(0,re.Z)({},ni,{onSelect:function(dr,yo){Dl(dr),Ui(dr,yo)}}));break;case"week":Cl=ae.createElement(fa,(0,re.Z)({},ni,{onSelect:function(dr,yo){Dl(dr),Ui(dr,yo)}}));break;case"time":delete ni.showTime,Cl=ae.createElement(ko,(0,re.Z)({},ni,(0,xt.Z)(Xa)==="object"?Xa:null,{onSelect:function(dr,yo){Dl(dr),Ui(dr,yo)}}));break;default:Xa?Cl=ae.createElement(nl,(0,re.Z)({},ni,{onSelect:function(dr,yo){Dl(dr),Ui(dr,yo)}})):Cl=ae.createElement(_o,(0,re.Z)({},ni,{onSelect:function(dr,yo){Dl(dr),Ui(dr,yo)}}))}var ql,Nl,jl=function(){var dr=un.getNow(),yo=Ut(un.getHour(dr),un.getMinute(dr),un.getSecond(dr),_i?Ao:1,ci?ei:1,Ai?ti:1),qo=pt(un,dr,yo[0],yo[1],yo[2]);Ui(qo,"submit")};gl||(ql=qn(Ye,Mi,Ja),Xa&&Mi!=="date"?Nl=null:Nl=Ba({prefixCls:Ye,components:vi,needConfirmButton:wi,okDisabled:!ml||na&&na(ml),locale:rn,showNow:Ka,onNow:wi&&jl,onOk:function(){ml&&(Ui(ml,"submit",!0),Vo&&Vo(ml))}}));var cu;if(tr&&Mi==="date"&&An==="date"&&!Xa){var eu=un.getNow(),hu="".concat(Ye,"-today-btn"),ou=na&&na(eu);cu=ae.createElement("a",{className:mt()(hu,ou&&"".concat(hu,"-disabled")),"aria-disabled":ou,onClick:function(){ou||Ui(eu,"mouse",!0)}},rn.today)}return ae.createElement(Bt.Provider,{value:(0,Ft.Z)((0,Ft.Z)({},Wi),{},{mode:Mi,hideHeader:"hideHeader"in se?Ha:Wi.hideHeader,hidePrevBtn:Oi&&gi==="right",hideNextBtn:Oi&&gi==="left"})},ae.createElement("div",{tabIndex:Va,className:mt()("".concat(Ye,"-panel"),Rt,(fe={},(0,ct.Z)(fe,"".concat(Ye,"-panel-has-range"),zi&&zi[0]&&zi[1]),(0,ct.Z)(fe,"".concat(Ye,"-panel-has-range-hover"),rl&&rl[0]&&rl[1]),(0,ct.Z)(fe,"".concat(Ye,"-panel-rtl"),Zo==="rtl"),fe)),style:Dt,onKeyDown:Xl,onBlur:$i,onMouseDown:Co},Cl,ql||Nl||cu?ae.createElement("div",{className:"".concat(Ye,"-footer")},ql,Nl,cu):null))}var er=Ua,Rr=ee(62709),ao={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 xo(se){var fe,Ee=se.prefixCls,Ve=se.popupElement,Ye=se.popupStyle,Rt=se.visible,Dt=se.dropdownClassName,rn=se.dropdownAlign,un=se.transitionName,xn=se.getPopupContainer,ba=se.children,Bn=se.range,Mn=se.popupPlacement,na=se.direction,ra="".concat(Ee,"-dropdown"),sn=function(){return Mn!==void 0?Mn:na==="rtl"?"bottomRight":"bottomLeft"};return ae.createElement(Rr.Z,{showAction:[],hideAction:[],popupPlacement:sn(),builtinPlacements:ao,prefixCls:ra,popupTransitionName:un,popup:Ve,popupAlign:rn,popupVisible:Rt,popupClassName:mt()(Dt,(fe={},(0,ct.Z)(fe,"".concat(ra,"-range"),Bn),(0,ct.Z)(fe,"".concat(ra,"-rtl"),na==="rtl"),fe)),popupStyle:Ye,getPopupContainer:xn},ba)}var ga=xo;function Eo(se){var fe=se.prefixCls,Ee=se.presets,Ve=se.onClick,Ye=se.onHover;return Ee.length?ae.createElement("div",{className:"".concat(fe,"-presets")},ae.createElement("ul",null,Ee.map(function(Rt,Dt){var rn=Rt.label,un=Rt.value;return ae.createElement("li",{key:Dt,onClick:function(){return Ve==null?void 0:Ve(Yr(un))},onMouseEnter:function(){return Ye==null?void 0:Ye(Yr(un))},onMouseLeave:function(){return Ye==null?void 0:Ye(null)}},rn)}))):null}function ii(se){var fe=se.picker,Ee=se.disabledHours,Ve=se.disabledMinutes,Ye=se.disabledSeconds;fe==="time"&&(Ee||Ve||Ye)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function ki(se,fe,Ee){var Ve=(0,xt.Z)(fe)==="object"?fe.clearIcon:Ee;return Ve||ae.createElement("span",{className:"".concat(se,"-clear-btn")})}function sl(se){var fe,Ee=se,Ve=Ee.prefixCls,Ye=Ve===void 0?"rc-picker":Ve,Rt=Ee.id,Dt=Ee.name,rn=Ee.tabIndex,un=Ee.style,xn=Ee.className,ba=Ee.dropdownClassName,Bn=Ee.dropdownAlign,Mn=Ee.popupStyle,na=Ee.transitionName,ra=Ee.generateConfig,sn=Ee.locale,An=Ee.inputReadOnly,sa=Ee.allowClear,Va=Ee.autoFocus,Ka=Ee.showTime,Xa=Ee.picker,tr=Xa===void 0?"date":Xa,Ja=Ee.format,Ha=Ee.use12Hours,so=Ee.value,kr=Ee.defaultValue,eo=Ee.presets,Co=Ee.open,Go=Ee.defaultOpen,Vo=Ee.defaultOpenValue,vi=Ee.suffixIcon,Zo=Ee.clearIcon,Do=Ee.disabled,Ao=Ee.disabledDate,Qo=Ee.placeholder,ei=Ee.getPopupContainer,To=Ee.pickerRef,ti=Ee.panelRender,Ni=Ee.onChange,Ei=Ee.onOpenChange,Vi=Ee.onFocus,wi=Ee.onBlur,_i=Ee.onMouseDown,ci=Ee.onMouseUp,Ai=Ee.onMouseEnter,Wi=Ee.onMouseLeave,qi=Ee.onContextMenu,Yi=Ee.onClick,gl=Ee.onKeyDown,Fl=Ee.onSelect,Po=Ee.direction,Oi=Ee.autoComplete,gi=Oi===void 0?"off":Oi,zi=Ee.inputRender,rl=Ee.changeOnBlur,Fi=ae.useRef(null),el=tr==="date"&&!!Ka||tr==="time",zl=vr(eo),Hl=Xr(mn(Ja,tr,Ka,Ha)),ml=ae.useRef(null),uu=ae.useRef(null),pu=ae.useRef(null),su=(0,_e.Z)(null,{value:so,defaultValue:kr}),fl=(0,jt.Z)(su,2),Il=fl[0],Dl=fl[1],du=ae.useState(Il),ru=(0,jt.Z)(du,2),Al=ru[0],Mi=ru[1],yl=ae.useRef(null),Ql=(0,_e.Z)(!1,{value:Co,defaultValue:Go,postState:function(vn){return Do?!1:vn},onChange:function(vn){Ei&&Ei(vn),!vn&&yl.current&&yl.current.onClose&&yl.current.onClose()}}),_l=(0,jt.Z)(Ql,2),Bl=_l[0],Ll=_l[1],Wl=Ue(Al,{formatList:Hl,generateConfig:ra,locale:sn}),Ui=(0,jt.Z)(Wl,2),El=Ui[0],Xl=Ui[1],$i=La({valueTexts:El,onTextChange:function(vn){var va=Ht(vn,{locale:sn,formatList:Hl,generateConfig:ra});va&&(!Ao||!Ao(va))&&Mi(va)}}),Cl=(0,jt.Z)($i,3),Jl=Cl[0],ni=Cl[1],ql=Cl[2],Nl=function(vn){Mi(vn),Dl(vn),Ni&&!$e(ra,Il,vn)&&Ni(vn,vn?je(vn,{generateConfig:ra,locale:sn,format:Hl[0]}):"")},jl=function(vn){Do&&vn||Ll(vn)},cu=function(vn){return Bl&&yl.current&&yl.current.onKeyDown?yl.current.onKeyDown(vn):((0,pe.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},eu=function(){for(var vn=arguments.length,va=new Array(vn),oa=0;oa<vn;oa++)va[oa]=arguments[oa];Yi==null||Yi.apply(void 0,va),Fi.current&&(Fi.current.focus(),jl(!0))},hu=function(vn){rl&&Nl(Al),wi==null||wi(vn)},ou=Ia({blurToCancel:el,open:Bl,value:Jl,triggerOpen:jl,forwardKeyDown:cu,isClickOutside:function(vn){return!Oa([ml.current,uu.current,pu.current],vn)},onSubmit:function(){return!Al||Ao&&Ao(Al)?!1:(Nl(Al),jl(!1),ql(),!0)},onCancel:function(){jl(!1),Mi(Il),ql()},onKeyDown:function(vn,va){gl==null||gl(vn,va)},onFocus:Vi,onBlur:hu,changeOnBlur:rl}),to=(0,jt.Z)(ou,2),dr=to[0],yo=to[1],qo=yo.focused,Tl=yo.typing;ae.useEffect(function(){Bl||(Mi(Il),!El.length||El[0]===""?ni(""):Xl!==Jl&&ql())},[Bl,El]),ae.useEffect(function(){Bl||ql()},[tr]),ae.useEffect(function(){Mi(Il)},[Il]),To&&(To.current={focus:function(){var vn;(vn=Fi.current)===null||vn===void 0||vn.focus()},blur:function(){var vn;(vn=Fi.current)===null||vn===void 0||vn.blur()}});var wu=Ct(Jl,{formatList:Hl,generateConfig:ra,locale:sn}),ue=(0,jt.Z)(wu,3),ge=ue[0],Fe=ue[1],Ie=ue[2],Ze=(0,Ft.Z)((0,Ft.Z)({},se),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),nt=ae.createElement("div",{className:"".concat(Ye,"-panel-layout")},ae.createElement(Eo,{prefixCls:Ye,presets:zl,onClick:function(vn){Nl(vn),jl(!1)}}),ae.createElement(er,(0,re.Z)({},Ze,{generateConfig:ra,className:mt()((0,ct.Z)({},"".concat(Ye,"-panel-focused"),!Tl)),value:Al,locale:sn,tabIndex:-1,onSelect:function(vn){Fl==null||Fl(vn),Mi(vn)},direction:Po,onPanelChange:function(vn,va){var oa=se.onPanelChange;Ie(!0),oa==null||oa(vn,va)}})));ti&&(nt=ti(nt));var vt=ae.createElement("div",{className:"".concat(Ye,"-panel-container"),ref:ml,onMouseDown:function(vn){vn.preventDefault()}},nt),It;vi&&(It=ae.createElement("span",{className:"".concat(Ye,"-suffix"),onMouseDown:function(vn){vn.preventDefault()}},vi));var Mt=ki(Ye,sa,Zo),Wt=ae.createElement("span",{onMouseDown:function(vn){vn.preventDefault(),vn.stopPropagation()},onMouseUp:function(vn){vn.preventDefault(),vn.stopPropagation(),Nl(null),jl(!1)},className:"".concat(Ye,"-clear"),role:"button"},Mt),gn=!!sa&&Il&&!Do,Qt=(0,Ft.Z)((0,Ft.Z)((0,Ft.Z)({id:Rt,tabIndex:rn,disabled:Do,readOnly:An||typeof Hl[0]=="function"||!Tl,value:ge||Jl,onChange:function(vn){ni(vn.target.value)},autoFocus:Va,placeholder:Qo,ref:Fi,title:Jl},dr),{},{size:Qn(tr,Hl[0],ra),name:Dt},(0,En.Z)(se,{aria:!0,data:!0})),{},{autoComplete:gi}),zn=zi?zi(Qt):ae.createElement("input",Qt),Hn=function(vn,va){(va==="submit"||va!=="key"&&!el)&&(Nl(vn),jl(!1))},Kn=Po==="rtl"?"bottomRight":"bottomLeft";return ae.createElement(Bt.Provider,{value:{operationRef:yl,hideHeader:tr==="time",onSelect:Hn,open:Bl,defaultOpenValue:Vo,onDateMouseEnter:Fe,onDateMouseLeave:Ie}},ae.createElement(ga,{visible:Bl,popupElement:vt,popupStyle:Mn,prefixCls:Ye,dropdownClassName:ba,dropdownAlign:Bn,getPopupContainer:ei,transitionName:na,popupPlacement:Kn,direction:Po},ae.createElement("div",{ref:pu,className:mt()(Ye,xn,(fe={},(0,ct.Z)(fe,"".concat(Ye,"-disabled"),Do),(0,ct.Z)(fe,"".concat(Ye,"-focused"),qo),(0,ct.Z)(fe,"".concat(Ye,"-rtl"),Po==="rtl"),fe)),style:un,onMouseDown:_i,onMouseUp:ci,onMouseEnter:Ai,onMouseLeave:Wi,onContextMenu:qi,onClick:eu},ae.createElement("div",{className:mt()("".concat(Ye,"-input"),(0,ct.Z)({},"".concat(Ye,"-input-placeholder"),!!ge)),ref:uu},zn,It,gn&&Wt))))}var Zi=function(se){(0,Pt.Z)(Ee,se);var fe=(0,Lt.Z)(Ee);function Ee(){var Ve;(0,Yt.Z)(this,Ee);for(var Ye=arguments.length,Rt=new Array(Ye),Dt=0;Dt<Ye;Dt++)Rt[Dt]=arguments[Dt];return Ve=fe.call.apply(fe,[this].concat(Rt)),(0,ct.Z)((0,rt.Z)(Ve),"pickerRef",ae.createRef()),(0,ct.Z)((0,rt.Z)(Ve),"focus",function(){Ve.pickerRef.current&&Ve.pickerRef.current.focus()}),(0,ct.Z)((0,rt.Z)(Ve),"blur",function(){Ve.pickerRef.current&&Ve.pickerRef.current.blur()}),Ve}return(0,cn.Z)(Ee,[{key:"render",value:function(){return ae.createElement(sl,(0,re.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),Ee}(ae.Component),di=Zi;function Uo(se,fe){var Ee=se.picker,Ve=se.locale,Ye=se.selectedValue,Rt=se.disabledDate,Dt=se.disabled,rn=se.generateConfig,un=Ta(Ye,0),xn=Ta(Ye,1);function ba(sn){return rn.locale.getWeekFirstDate(Ve.locale,sn)}function Bn(sn){var An=rn.getYear(sn),sa=rn.getMonth(sn);return An*100+sa}function Mn(sn){var An=rn.getYear(sn),sa=gt(rn,sn);return An*10+sa}var na=ae.useCallback(function(sn){if(Dt[0]||Rt&&Rt(sn))return!0;if(Dt[1]&&xn)return!bt(rn,sn,xn)&&rn.isAfter(sn,xn);if(!fe&&xn)switch(Ee){case"quarter":return Mn(sn)>Mn(xn);case"month":return Bn(sn)>Bn(xn);case"week":return ba(sn)>ba(xn);default:return!bt(rn,sn,xn)&&rn.isAfter(sn,xn)}return!1},[Rt,Dt[1],xn,fe]),ra=ae.useCallback(function(sn){if(Dt[1]||Rt&&Rt(sn))return!0;if(Dt[0]&&un)return!bt(rn,sn,xn)&&rn.isAfter(un,sn);if(!fe&&un)switch(Ee){case"quarter":return Mn(sn)<Mn(un);case"month":return Bn(sn)<Bn(un);case"week":return ba(sn)<ba(un);default:return!bt(rn,sn,un)&&rn.isAfter(un,sn)}return!1},[Rt,Dt[0],un,fe]);return[na,ra]}var Xi=ee(60276),Di=ee(77527);function cl(se,fe,Ee,Ve,Ye,Rt,Dt,rn,un,xn){var ba=ae.useState(!1),Bn=(0,jt.Z)(ba,2),Mn=Bn[0],na=Bn[1],ra=(0,Xi.useMergedState)(se||!1,{value:fe}),sn=(0,jt.Z)(ra,2),An=sn[0],sa=sn[1],Va=(0,Xi.useMergedState)(se||!1,{value:fe,onChange:function(Ao){xn==null||xn(Ao)}}),Ka=(0,jt.Z)(Va,2),Xa=Ka[0],tr=Ka[1],Ja=(0,Xi.useMergedState)(0,{value:Ee}),Ha=(0,jt.Z)(Ja,2),so=Ha[0],kr=Ha[1],eo=ae.useState(null),Co=(0,jt.Z)(eo,2),Go=Co[0],Vo=Co[1];ae.useEffect(function(){Xa&&na(!0)},[Xa]);var vi=function(Ao){return Ao===0?1:0},Zo=(0,Di.Z)(function(Do,Ao,Qo){if(Ao===!1)tr(Do);else if(Do){kr(Ao),tr(Do);var ei=vi(Ao);!Xa||![Dt,rn][ei]?Vo(ei):(na(!1),Go!==null&&Vo(null))}else if(Qo==="confirm"||Qo==="blur"&&Ve){var To=An?vi(Ao):Go;To!==null&&(na(!1),kr(To)),Vo(null),To!==null&&!un[To]?(0,kt.Z)(function(){var ti,Ni=[Ye,Rt][To];(ti=Ni.current)===null||ti===void 0||ti.focus()}):tr(!1)}else tr(!1),sa(!1)});return[Xa,so,Mn,Zo]}function $t(se,fe,Ee,Ve){var Ye=xe(se,Ee,Ve,1);function Rt(Dt){return Dt(se,fe)?"same":Dt(Ye,fe)?"closing":"far"}switch(Ee){case"year":return Rt(function(Dt,rn){return At(Ve,Dt,rn)});case"quarter":case"month":return Rt(function(Dt,rn){return Et(Ve,Dt,rn)});default:return Rt(function(Dt,rn){return Ot(Ve,Dt,rn)})}}function Zt(se,fe,Ee,Ve){var Ye=Ta(se,0),Rt=Ta(se,1);if(fe===0)return Ye;if(Ye&&Rt){var Dt=$t(Ye,Rt,Ee,Ve);switch(Dt){case"same":return Ye;case"closing":return Ye;default:return xe(Rt,Ee,Ve,-1)}}return Ye}function zt(se){var fe=se.values,Ee=se.picker,Ve=se.defaultDates,Ye=se.generateConfig,Rt=ae.useState(function(){return[Ta(Ve,0),Ta(Ve,1)]}),Dt=(0,jt.Z)(Rt,2),rn=Dt[0],un=Dt[1],xn=ae.useState(null),ba=(0,jt.Z)(xn,2),Bn=ba[0],Mn=ba[1],na=Ta(fe,0),ra=Ta(fe,1);function sn(sa){return rn[sa]?rn[sa]:Ta(Bn,sa)||Zt(fe,sa,Ee,Ye)||na||ra||Ye.getNow()}function An(sa,Va){if(sa){var Ka=Cr(Bn,sa,Va);un(Cr(rn,null,Va)||[null,null]);var Xa=(Va+1)%2;Ta(fe,Xa)||(Ka=Cr(Ka,sa,Xa)),Mn(Ka)}else(na||ra)&&Mn(null)}return[sn,An]}function Da(se,fe){return se&&se[0]&&se[1]&&fe.isAfter(se[0],se[1])?[se[1],se[0]]:se}function ar(se,fe,Ee,Ve){return!!(se||Ve&&Ve[fe]||Ee[(fe+1)%2])}function Ma(se){var fe,Ee,Ve,Ye=se,Rt=Ye.prefixCls,Dt=Rt===void 0?"rc-picker":Rt,rn=Ye.id,un=Ye.style,xn=Ye.className,ba=Ye.popupStyle,Bn=Ye.dropdownClassName,Mn=Ye.transitionName,na=Ye.dropdownAlign,ra=Ye.getPopupContainer,sn=Ye.generateConfig,An=Ye.locale,sa=Ye.placeholder,Va=Ye.autoFocus,Ka=Ye.disabled,Xa=Ye.format,tr=Ye.picker,Ja=tr===void 0?"date":tr,Ha=Ye.showTime,so=Ye.use12Hours,kr=Ye.separator,eo=kr===void 0?"~":kr,Co=Ye.value,Go=Ye.defaultValue,Vo=Ye.defaultPickerValue,vi=Ye.open,Zo=Ye.defaultOpen,Do=Ye.disabledDate,Ao=Ye.disabledTime,Qo=Ye.dateRender,ei=Ye.monthCellRender,To=Ye.cellRender,ti=Ye.panelRender,Ni=Ye.presets,Ei=Ye.ranges,Vi=Ye.allowEmpty,wi=Ye.allowClear,_i=Ye.suffixIcon,ci=Ye.clearIcon,Ai=Ye.pickerRef,Wi=Ye.inputReadOnly,qi=Ye.mode,Yi=Ye.renderExtraFooter,gl=Ye.onChange,Fl=Ye.onOpenChange,Po=Ye.onPanelChange,Oi=Ye.onCalendarChange,gi=Ye.onFocus,zi=Ye.onBlur,rl=Ye.onMouseDown,Fi=Ye.onMouseUp,el=Ye.onMouseEnter,zl=Ye.onMouseLeave,Hl=Ye.onClick,ml=Ye.onOk,uu=Ye.onKeyDown,pu=Ye.components,su=Ye.order,fl=Ye.direction,Il=Ye.activePickerIndex,Dl=Ye.autoComplete,du=Dl===void 0?"off":Dl,ru=Ye.changeOnBlur,Al=Ja==="date"&&!!Ha||Ja==="time",Mi=(0,ae.useRef)(null),yl=(0,ae.useRef)(null),Ql=(0,ae.useRef)(null),_l=(0,ae.useRef)(null),Bl=(0,ae.useRef)(null),Ll=(0,ae.useRef)(null),Wl=(0,ae.useRef)(null),Ui=(0,ae.useRef)(null),El=Xr(mn(Xa,Ja,Ha,so)),Xl=(0,ae.useRef)(null),$i=ae.useMemo(function(){return Array.isArray(Ka)?Ka:[Ka||!1,Ka||!1]},[Ka]),Cl=(0,_e.Z)(null,{value:Co,defaultValue:Go,postState:function(Er){return Ja==="time"&&!su?Er:Da(Er,sn)}}),Jl=(0,jt.Z)(Cl,2),ni=Jl[0],ql=Jl[1],Nl=zt({values:ni,picker:Ja,defaultDates:Vo,generateConfig:sn}),jl=(0,jt.Z)(Nl,2),cu=jl[0],eu=jl[1],hu=(0,_e.Z)(ni,{postState:function(Er){var Ur=Er;if($i[0]&&$i[1])return Ur;for(var Mo=0;Mo<2;Mo+=1)$i[Mo]&&!Ur&&!Ta(Ur,Mo)&&!Ta(Vi,Mo)&&(Ur=Cr(Ur,sn.getNow(),Mo));return Ur}}),ou=(0,jt.Z)(hu,2),to=ou[0],dr=ou[1],yo=(0,_e.Z)([Ja,Ja],{value:qi}),qo=(0,jt.Z)(yo,2),Tl=qo[0],wu=qo[1];(0,ae.useEffect)(function(){wu([Ja,Ja])},[Ja]);var ue=function(Er,Ur){wu(Er),Po&&Po(Ur,Er)},ge=cl(Zo,vi,Il,ru,Ll,Wl,Ta(to,0),Ta(to,1),$i,Fl),Fe=(0,jt.Z)(ge,4),Ie=Fe[0],Ze=Fe[1],nt=Fe[2],vt=Fe[3],It=Ie&&Ze===0,Mt=Ie&&Ze===1,Wt=Uo({picker:Ja,selectedValue:to,locale:An,disabled:$i,disabledDate:Do,generateConfig:sn},!Ie||nt),gn=(0,jt.Z)(Wt,2),Qt=gn[0],zn=gn[1],Hn=(0,ae.useState)(0),Kn=(0,jt.Z)(Hn,2),ea=Kn[0],vn=Kn[1];(0,ae.useEffect)(function(){!Ie&&Mi.current&&vn(Mi.current.offsetWidth)},[Ie]);function va(Ro){vt(!0,Ro,"open"),(0,kt.Z)(function(){var Er,Ur=[Ll,Wl][Ro];(Er=Ur.current)===null||Er===void 0||Er.focus()},0)}function oa(Ro,Er){var Ur=Ro,Mo=Ta(Ur,0),Ci=Ta(Ur,1);Mo&&Ci&&sn.isAfter(Mo,Ci)&&(Ja==="week"&&!Jt(sn,An.locale,Mo,Ci)||Ja==="quarter"&&!Xt(sn,Mo,Ci)||Ja!=="week"&&Ja!=="quarter"&&Ja!=="time"&&!bt(sn,Mo,Ci)?Er===0?(Ur=[Mo,null],Ci=null):(Mo=null,Ur=[null,Ci]):(Ja!=="time"||su!==!1)&&(Ur=Da(Ur,sn))),dr(Ur);var Pu=Ur&&Ur[0]?je(Ur[0],{generateConfig:sn,locale:An,format:El[0]}):"",kl=Ur&&Ur[1]?je(Ur[1],{generateConfig:sn,locale:An,format:El[0]}):"";if(Oi){var au={range:Er===0?"start":"end"};Oi(Ur,[Pu,kl],au)}var lu=ar(Mo,0,$i,Vi),bu=ar(Ci,1,$i,Vi),fu=Ur===null||lu&&bu;fu&&(ql(Ur),gl&&(!$e(sn,Ta(ni,0),Mo)||!$e(sn,Ta(ni,1),Ci))&&gl(Ur,[Pu,kl]))}var ja=function(Er){return Ie&&Xl.current&&Xl.current.onKeyDown?Xl.current.onKeyDown(Er):((0,pe.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},gr={formatList:El,generateConfig:sn,locale:An},Pr=Ue(Ta(to,0),gr),nr=(0,jt.Z)(Pr,2),Lr=nr[0],Jr=nr[1],Ya=Ue(Ta(to,1),gr),or=(0,jt.Z)(Ya,2),$a=or[0],Ga=or[1],qa=function(Er,Ur){var Mo=Ht(Er,{locale:An,formatList:El,generateConfig:sn}),Ci=Ur===0?Qt:zn;Mo&&!Ci(Mo)&&(dr(Cr(to,Mo,Ur)),eu(Mo,Ur))},Tr=La({valueTexts:Lr,onTextChange:function(Er){return qa(Er,0)}}),no=(0,jt.Z)(Tr,3),_r=no[0],br=no[1],ro=no[2],po=La({valueTexts:$a,onTextChange:function(Er){return qa(Er,1)}}),Yo=(0,jt.Z)(po,3),bo=Yo[0],Si=Yo[1],Pi=Yo[2],qr=(0,ae.useState)(null),Bi=(0,jt.Z)(qr,2),Oo=Bi[0],mi=Bi[1],ui=(0,ae.useState)(null),pl=(0,jt.Z)(ui,2),yr=pl[0],Fr=pl[1],Dr=Ct(_r,{formatList:El,generateConfig:sn,locale:An}),pr=(0,jt.Z)(Dr,3),No=pr[0],hr=pr[1],Wr=pr[2],Bo=Ct(bo,{formatList:El,generateConfig:sn,locale:An}),ho=(0,jt.Z)(Bo,3),ol=ho[0],tl=ho[1],Ol=ho[2],Ii=function(Er){Fr(Cr(to,Er,Ze)),Ze===0?hr(Er):tl(Er)},Rl=function(){Fr(Cr(to,null,Ze)),Ze===0?Wr():Ol()},Ti=ae.useState(Ie),hl=(0,jt.Z)(Ti,2),gu=hl[0],zo=hl[1];ae.useEffect(function(){zo(Ie)},[Ie]);var Ko=function(Er){if(ru&&gu){var Ur=Ta(to,Ze);Ur&&oa(to,Ze)}return zi==null?void 0:zi(Er)},fi=function(Er,Ur){return{blurToCancel:!ru&&Al,forwardKeyDown:ja,onBlur:Ko,isClickOutside:function(Ci){return!Oa([yl.current,Ql.current,_l.current,Mi.current],Ci)},onFocus:function(Ci){gi&&gi(Ci)},triggerOpen:function(Ci){Ci?vt(Ci,Er,"open"):vt(Ci,Ta(to,Er)?Er:!1,"blur")},onSubmit:function(){if(!to||Do&&Do(to[Er]))return!1;oa(to,Er),Ur(),vt(!1,Ze,"confirm")},onCancel:function(){vt(!1,Er,"cancel"),dr(ni),Ur()}}},Ri={onKeyDown:function(Er,Ur){uu==null||uu(Er,Ur)},changeOnBlur:ru},Hi=Ia((0,Ft.Z)((0,Ft.Z)({},fi(0,ro)),{},{open:It,value:_r},Ri)),mo=(0,jt.Z)(Hi,2),vl=mo[0],il=mo[1],bl=il.focused,Gl=il.typing,Kl=Ia((0,Ft.Z)((0,Ft.Z)({},fi(1,Pi)),{},{open:Mt,value:bo},Ri)),vu=(0,jt.Z)(Kl,2),tu=vu[0],Ml=vu[1],Sl=Ml.focused,dl=Ml.typing,ji=function(Er){Hl&&Hl(Er),!Ie&&!Ll.current.contains(Er.target)&&!Wl.current.contains(Er.target)&&($i[0]?$i[1]||va(1):va(0))},yi=function(Er){rl&&rl(Er),Ie&&(bl||Sl)&&!Ll.current.contains(Er.target)&&!Wl.current.contains(Er.target)&&Er.preventDefault()},Ul=ni&&ni[0]?je(ni[0],{locale:An,format:"YYYYMMDDHHmmss",generateConfig:sn}):"",mu=ni&&ni[1]?je(ni[1],{locale:An,format:"YYYYMMDDHHmmss",generateConfig:sn}):"";(0,ae.useEffect)(function(){Ie||(dr(ni),!Lr.length||Lr[0]===""?br(""):Jr!==_r&&ro(),!$a.length||$a[0]===""?Si(""):Ga!==bo&&Pi())},[Ie,Lr,$a]),(0,ae.useEffect)(function(){dr(ni)},[Ul,mu]);var $l=Tn({cellRender:To,monthCellRender:ei,dateRender:Qo}),Vl=ae.useMemo(function(){if($l)return function(Ro,Er){return $l(Ro,(0,Ft.Z)((0,Ft.Z)({},Er),{},{range:Ze?"end":"start"}))}},[Ze,$l]);Ai&&(Ai.current={focus:function(){Ll.current&&Ll.current.focus()},blur:function(){Ll.current&&Ll.current.blur(),Wl.current&&Wl.current.blur()}});var Fu=vr(Ni,Ei);function Cu(){var Ro=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Er=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ur=null;Ie&&yr&&yr[0]&&yr[1]&&sn.isAfter(yr[1],yr[0])&&(Ur=yr);var Mo=Ha;if(Ha&&(0,xt.Z)(Ha)==="object"&&Ha.defaultValue){var Ci=Ha.defaultValue;Mo=(0,Ft.Z)((0,Ft.Z)({},Ha),{},{defaultValue:Ta(Ci,Ze)||void 0})}return ae.createElement(ur.Provider,{value:{inRange:!0,panelPosition:Ro,rangedValue:Oo||to,hoverRangedValue:Ur}},ae.createElement(er,(0,re.Z)({},se,Er,{cellRender:Vl,showTime:Mo,mode:Tl[Ze],generateConfig:sn,style:void 0,direction:fl,disabledDate:Ze===0?Qt:zn,disabledTime:function(kl){return Ao?Ao(kl,Ze===0?"start":"end"):!1},className:mt()((0,ct.Z)({},"".concat(Dt,"-panel-focused"),Ze===0?!Gl:!dl)),value:Ta(to,Ze),locale:An,tabIndex:-1,onPanelChange:function(kl,au){Ze===0&&Wr(!0),Ze===1&&Ol(!0),ue(Cr(Tl,au,Ze),Cr(to,kl,Ze));var lu=kl;Ro==="right"&&Tl[Ze]===au&&(lu=xe(lu,au,sn,-1)),eu(lu,Ze)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Ze===0?Ta(to,1):Ta(to,0)})))}var oo=0,ai=0;if(Ze&&Ql.current&&Bl.current&&yl.current&&Ui.current){oo=Ql.current.offsetWidth+Bl.current.offsetWidth;var ll=Ui.current.offsetLeft>oo?Ui.current.offsetLeft-oo:Ui.current.offsetLeft,pi=yl.current.offsetWidth,ul=Ui.current.offsetWidth;pi&&ul&&oo>pi-ul-(fl==="rtl"?0:ll)&&(ai=oo)}var xl=fl==="rtl"?{right:oo}:{left:oo};function wl(){var Ro,Er=qn(Dt,Tl[Ze],Yi),Ur=Ba({prefixCls:Dt,components:pu,needConfirmButton:Al,okDisabled:!Ta(to,Ze)||Do&&Do(to[Ze]),locale:An,onOk:function(){var Zl=Ta(to,Ze);Zl&&(oa(to,Ze),ml==null||ml(to),vt(!1,Ze,"confirm"))}});if(Ja!=="time"&&!Ha){var Mo=cu(Ze),Ci=xe(Mo,Ja,sn),Pu=Tl[Ze],kl=Pu===Ja,au=Cu(kl?"left":!1,{pickerValue:Mo,onPickerValueChange:function(Zl){eu(Zl,Ze)}}),lu=Cu("right",{pickerValue:Ci,onPickerValueChange:function(Zl){eu(xe(Zl,Ja,sn,-1),Ze)}});fl==="rtl"?Ro=ae.createElement(ae.Fragment,null,lu,kl&&au):Ro=ae.createElement(ae.Fragment,null,au,kl&&lu)}else Ro=Cu();var bu=ae.createElement("div",{className:"".concat(Dt,"-panel-layout")},ae.createElement(Eo,{prefixCls:Dt,presets:Fu,onClick:function(Zl){oa(Zl,null),vt(!1,Ze,"preset")},onHover:function(Zl){mi(Zl)}}),ae.createElement("div",null,ae.createElement("div",{className:"".concat(Dt,"-panels")},Ro),(Er||Ur)&&ae.createElement("div",{className:"".concat(Dt,"-footer")},Er,Ur)));return ti&&(bu=ti(bu)),ae.createElement("div",{className:"".concat(Dt,"-panel-container"),style:{marginLeft:ai},ref:yl,onMouseDown:function(Zl){Zl.preventDefault()}},bu)}var nu=ae.createElement("div",{className:mt()("".concat(Dt,"-range-wrapper"),"".concat(Dt,"-").concat(Ja,"-range-wrapper")),style:{minWidth:ea}},ae.createElement("div",{ref:Ui,className:"".concat(Dt,"-range-arrow"),style:xl}),wl()),Du;_i&&(Du=ae.createElement("span",{className:"".concat(Dt,"-suffix"),onMouseDown:function(Er){Er.preventDefault()}},_i));var Tu=ki(Dt,wi,ci),Bu=ae.createElement("span",{onMouseDown:function(Er){Er.preventDefault(),Er.stopPropagation()},onMouseUp:function(Er){Er.preventDefault(),Er.stopPropagation();var Ur=ni;$i[0]||(Ur=Cr(Ur,null,0)),$i[1]||(Ur=Cr(Ur,null,1)),oa(Ur,null),vt(!1,Ze,"clear")},className:"".concat(Dt,"-clear"),role:"button"},Tu),Ru=wi&&(Ta(ni,0)&&!$i[0]||Ta(ni,1)&&!$i[1]),Au={size:Qn(Ja,El[0],sn)},Su=0,iu=0;Ql.current&&_l.current&&Bl.current&&(Ze===0?iu=Ql.current.offsetWidth:(Su=oo,iu=_l.current.offsetWidth));var Lu=fl==="rtl"?{right:Su}:{left:Su},ku=function(Er,Ur){var Mo=Cr(to,Er,Ze);if(Ur==="submit"||Ur!=="key"&&!Al){oa(Mo,Ze),Ze===0?Wr():Ol();var Ci=Ze===0?1:0;$i[Ci]?vt(!1,!1,"confirm"):vt(!1,Ze,"confirm")}else dr(Mo)};return ae.createElement(Bt.Provider,{value:{operationRef:Xl,hideHeader:Ja==="time",onDateMouseEnter:Ii,onDateMouseLeave:Rl,hideRanges:!0,onSelect:ku,open:Ie}},ae.createElement(ga,{visible:Ie,popupElement:nu,popupStyle:ba,prefixCls:Dt,dropdownClassName:Bn,dropdownAlign:na,getPopupContainer:ra,transitionName:Mn,range:!0,direction:fl},ae.createElement("div",(0,re.Z)({ref:Mi,className:mt()(Dt,"".concat(Dt,"-range"),xn,(fe={},(0,ct.Z)(fe,"".concat(Dt,"-disabled"),$i[0]&&$i[1]),(0,ct.Z)(fe,"".concat(Dt,"-focused"),Ze===0?bl:Sl),(0,ct.Z)(fe,"".concat(Dt,"-rtl"),fl==="rtl"),fe)),style:un,onClick:ji,onMouseEnter:el,onMouseLeave:zl,onMouseDown:yi,onMouseUp:Fi},(0,En.Z)(se,{aria:!0,data:!0})),ae.createElement("div",{className:mt()("".concat(Dt,"-input"),(Ee={},(0,ct.Z)(Ee,"".concat(Dt,"-input-active"),Ze===0),(0,ct.Z)(Ee,"".concat(Dt,"-input-placeholder"),!!No),Ee)),ref:Ql},ae.createElement("input",(0,re.Z)({id:rn,disabled:$i[0],readOnly:Wi||typeof El[0]=="function"||!Gl,value:No||_r,onChange:function(Er){br(Er.target.value)},autoFocus:Va,placeholder:Ta(sa,0)||"",ref:Ll},vl,Au,{autoComplete:du}))),ae.createElement("div",{className:"".concat(Dt,"-range-separator"),ref:Bl},eo),ae.createElement("div",{className:mt()("".concat(Dt,"-input"),(Ve={},(0,ct.Z)(Ve,"".concat(Dt,"-input-active"),Ze===1),(0,ct.Z)(Ve,"".concat(Dt,"-input-placeholder"),!!ol),Ve)),ref:_l},ae.createElement("input",(0,re.Z)({disabled:$i[1],readOnly:Wi||typeof El[0]=="function"||!dl,value:ol||bo,onChange:function(Er){Si(Er.target.value)},placeholder:Ta(sa,1)||"",ref:Wl},tu,Au,{autoComplete:du}))),ae.createElement("div",{className:"".concat(Dt,"-active-bar"),style:(0,Ft.Z)((0,Ft.Z)({},Lu),{},{width:iu,position:"absolute"})}),Du,Ru&&Bu)))}var Zn=function(se){(0,Pt.Z)(Ee,se);var fe=(0,Lt.Z)(Ee);function Ee(){var Ve;(0,Yt.Z)(this,Ee);for(var Ye=arguments.length,Rt=new Array(Ye),Dt=0;Dt<Ye;Dt++)Rt[Dt]=arguments[Dt];return Ve=fe.call.apply(fe,[this].concat(Rt)),(0,ct.Z)((0,rt.Z)(Ve),"pickerRef",ae.createRef()),(0,ct.Z)((0,rt.Z)(Ve),"focus",function(){Ve.pickerRef.current&&Ve.pickerRef.current.focus()}),(0,ct.Z)((0,rt.Z)(Ve),"blur",function(){Ve.pickerRef.current&&Ve.pickerRef.current.blur()}),Ve}return(0,cn.Z)(Ee,[{key:"render",value:function(){return ae.createElement(Ma,(0,re.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),Ee}(ae.Component),Qa=Zn,bn=di,Ca=ee(9708),Sa=ee(53124),Gr=ee(98866),_a=ee(98675),jo=ee(65223),lo=ee(10110),vo=ee(4173),cr=ee(16516),sr=ee(84780),$n=ee(47673),Mr=ee(14747),li=ee(79511),ka=ee(80110),Pa=ee(67771),Qr=ee(33297),Li=ee(45503),Jn=ee(67968);const fr=(se,fe,Ee,Ve)=>{const{lineHeight:Ye}=se,Rt=Math.floor(Ee*Ye)+2,Dt=Math.max((fe-Rt)/2,0),rn=Math.max(fe-Rt-Dt,0);return{padding:`${Dt}px ${Ve}px ${rn}px`}},ya=se=>{const{componentCls:fe,pickerCellCls:Ee,pickerCellInnerCls:Ve,cellHeight:Ye,motionDurationSlow:Rt,borderRadiusSM:Dt,motionDurationMid:rn,cellHoverBg:un,lineWidth:xn,lineType:ba,colorPrimary:Bn,cellActiveWithRangeBg:Mn,colorTextLightSolid:na,controlHeightSM:ra,cellRangeBorderColor:sn,pickerCellBorderGap:An,cellHoverWithRangeBg:sa,cellWidth:Va,colorTextDisabled:Ka,cellBgDisabled:Xa}=se;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Ye,transform:"translateY(-50%)",transition:`all ${Rt}`,content:'""'},[Ve]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Ye,height:Ye,lineHeight:`${Ye}px`,borderRadius:Dt,transition:`background ${rn}, border ${rn}`},"&-range-hover-start, &-range-hover-end":{[Ve]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${Ee}-in-view),
&:hover:not(${Ee}-selected):not(${Ee}-range-start):not(${Ee}-range-end):not(${Ee}-range-hover-start):not(${Ee}-range-hover-end)`]:{[Ve]:{background:un}},[`&-in-view${Ee}-today ${Ve}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${xn}px ${ba} ${Bn}`,borderRadius:Dt,content:'""'}},[`&-in-view${Ee}-in-range`]:{position:"relative","&::before":{background:Mn}},[`&-in-view${Ee}-selected ${Ve},
&-in-view${Ee}-range-start ${Ve},
&-in-view${Ee}-range-end ${Ve}`]:{color:na,background:Bn},[`&-in-view${Ee}-range-start:not(${Ee}-range-start-single),
&-in-view${Ee}-range-end:not(${Ee}-range-end-single)`]:{"&::before":{background:Mn}},[`&-in-view${Ee}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${Ee}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${Ee}-range-hover-start:not(${Ee}-in-range):not(${Ee}-range-start):not(${Ee}-range-end),
&-in-view${Ee}-range-hover-end:not(${Ee}-in-range):not(${Ee}-range-start):not(${Ee}-range-end),
&-in-view${Ee}-range-hover-start${Ee}-range-start-single,
&-in-view${Ee}-range-hover-start${Ee}-range-start${Ee}-range-end${Ee}-range-end-near-hover,
&-in-view${Ee}-range-hover-end${Ee}-range-start${Ee}-range-end${Ee}-range-start-near-hover,
&-in-view${Ee}-range-hover-end${Ee}-range-end-single,
&-in-view${Ee}-range-hover:not(${Ee}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:ra,borderTop:`${xn}px dashed ${sn}`,borderBottom:`${xn}px dashed ${sn}`,transform:"translateY(-50%)",transition:`all ${Rt}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:An},[`&-in-view${Ee}-in-range${Ee}-range-hover::before,
&-in-view${Ee}-in-range${Ee}-range-hover-start::before,
&-in-view${Ee}-in-range${Ee}-range-hover-end::before,
&-in-view${Ee}-range-start${Ee}-range-hover::before,
&-in-view${Ee}-range-end${Ee}-range-hover::before,
&-in-view${Ee}-range-start:not(${Ee}-range-start-single)${Ee}-range-hover-start::before,
&-in-view${Ee}-range-end:not(${Ee}-range-end-single)${Ee}-range-hover-end::before,
${fe}-panel
> :not(${fe}-date-panel)
&-in-view${Ee}-in-range${Ee}-range-hover-start::before,
${fe}-panel
> :not(${fe}-date-panel)
&-in-view${Ee}-in-range${Ee}-range-hover-end::before`]:{background:sa},[`&-in-view${Ee}-range-start:not(${Ee}-range-start-single):not(${Ee}-range-end) ${Ve}`]:{borderStartStartRadius:Dt,borderEndStartRadius:Dt,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${Ee}-range-end:not(${Ee}-range-end-single):not(${Ee}-range-start) ${Ve}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Dt,borderEndEndRadius:Dt},[`&-range-hover${Ee}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${Ee}-range-hover:first-child::after,
tr > &-in-view${Ee}-range-hover-end:first-child::after,
&-in-view${Ee}-start${Ee}-range-hover-edge-start${Ee}-range-hover-edge-start-near-range::after,
&-in-view${Ee}-range-hover-edge-start:not(${Ee}-range-hover-edge-start-near-range)::after,
&-in-view${Ee}-range-hover-start::after`]:{insetInlineStart:(Va-Ye)/2,borderInlineStart:`${xn}px dashed ${sn}`,borderStartStartRadius:Dt,borderEndStartRadius:Dt},[`tr > &-in-view${Ee}-range-hover:last-child::after,
tr > &-in-view${Ee}-range-hover-start:last-child::after,
&-in-view${Ee}-end${Ee}-range-hover-edge-end${Ee}-range-hover-edge-end-near-range::after,
&-in-view${Ee}-range-hover-edge-end:not(${Ee}-range-hover-edge-end-near-range)::after,
&-in-view${Ee}-range-hover-end::after`]:{insetInlineEnd:(Va-Ye)/2,borderInlineEnd:`${xn}px dashed ${sn}`,borderStartEndRadius:Dt,borderEndEndRadius:Dt},"&-disabled":{color:Ka,pointerEvents:"none",[Ve]:{background:"transparent"},"&::before":{background:Xa}},[`&-disabled${Ee}-today ${Ve}::before`]:{borderColor:Ka}}},ln=se=>{const{componentCls:fe,pickerCellCls:Ee,pickerCellInnerCls:Ve,pickerYearMonthCellWidth:Ye,pickerControlIconSize:Rt,cellWidth:Dt,paddingSM:rn,paddingXS:un,paddingXXS:xn,colorBgContainer:ba,lineWidth:Bn,lineType:Mn,borderRadiusLG:na,colorPrimary:ra,colorTextHeading:sn,colorSplit:An,pickerControlIconBorderWidth:sa,colorIcon:Va,textHeight:Ka,motionDurationMid:Xa,colorIconHover:tr,fontWeightStrong:Ja,cellHeight:Ha,pickerCellPaddingVertical:so,colorTextDisabled:kr,colorText:eo,fontSize:Co,cellHoverWithRangeBg:Go,motionDurationSlow:Vo,withoutTimeCellHeight:vi,pickerQuarterPanelContentHeight:Zo,colorLink:Do,colorLinkActive:Ao,colorLinkHover:Qo,cellRangeBorderColor:ei,borderRadiusSM:To,colorTextLightSolid:ti,cellHoverBg:Ni,timeColumnHeight:Ei,timeColumnWidth:Vi,timeCellHeight:wi,controlItemBgActive:_i,marginXXS:ci,pickerDatePanelPaddingHorizontal:Ai}=se,Wi=Dt*7+Ai*2,qi=(Wi-un*2)/3-Ye-rn,Yi=(Wi-un*2)/4-Ye;return{[fe]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:ba,border:`${Bn}px ${Mn} ${An}`,borderRadius:na,outline:"none","&-focused":{borderColor:ra},"&-rtl":{direction:"rtl",[`${fe}-prev-icon,
${fe}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${fe}-next-icon,
${fe}-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:Wi},"&-header":{display:"flex",padding:`0 ${un}px`,color:sn,borderBottom:`${Bn}px ${Mn} ${An}`,"> *":{flex:"none"},button:{padding:0,color:Va,lineHeight:`${Ka}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${Xa}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:Co,"&:hover":{color:tr}},"&-view":{flex:"auto",fontWeight:Ja,lineHeight:`${Ka}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:un},"&:hover":{color:ra}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:Rt,height:Rt,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:Rt,height:Rt,border:"0 solid currentcolor",borderBlockStartWidth:sa,borderBlockEndWidth:0,borderInlineStartWidth:sa,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(Rt/2),insetInlineStart:Math.ceil(Rt/2),display:"inline-block",width:Rt,height:Rt,border:"0 solid currentcolor",borderBlockStartWidth:sa,borderBlockEndWidth:0,borderInlineStartWidth:sa,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:Ha,fontWeight:"normal"},th:{height:Ha+so*2,color:eo,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${so}px 0`,color:kr,cursor:"pointer","&-in-view":{color:eo}},ya(se)),[`&-date-panel ${fe}-cell-in-view${fe}-cell-in-range${fe}-cell-range-hover-start ${Ve},
&-date-panel ${fe}-cell-in-view${fe}-cell-in-range${fe}-cell-range-hover-end ${Ve}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:Go,transition:`all ${Vo}`,content:'""'}},[`&-date-panel
${fe}-cell-in-view${fe}-cell-in-range${fe}-cell-range-hover-start
${Ve}::after`]:{insetInlineEnd:-(Dt-Ha)/2,insetInlineStart:0},[`&-date-panel ${fe}-cell-in-view${fe}-cell-in-range${fe}-cell-range-hover-end ${Ve}::after`]:{insetInlineEnd:0,insetInlineStart:-(Dt-Ha)/2},[`&-range-hover${fe}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${fe}-content`]:{height:vi*4},[Ve]:{padding:`0 ${un}px`}},"&-quarter-panel":{[`${fe}-content`]:{height:Zo},[`${fe}-cell-range-hover-start::after`]:{insetInlineStart:Yi,borderInlineStart:`${Bn}px dashed ${ei}`,[`${fe}-panel-rtl &`]:{insetInlineEnd:Yi,borderInlineEnd:`${Bn}px dashed ${ei}`}},[`${fe}-cell-range-hover-end::after`]:{insetInlineEnd:Yi,borderInlineEnd:`${Bn}px dashed ${ei}`,[`${fe}-panel-rtl &`]:{insetInlineStart:Yi,borderInlineStart:`${Bn}px dashed ${ei}`}}},[`&-panel ${fe}-footer`]:{borderTop:`${Bn}px ${Mn} ${An}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${Ka-2*Bn}px`,textAlign:"center","&-extra":{padding:`0 ${rn}px`,lineHeight:`${Ka-2*Bn}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${Bn}px ${Mn} ${An}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:Do,"&:hover":{color:Qo},"&:active":{color:Ao},[`&${fe}-today-btn-disabled`]:{color:kr,cursor:"not-allowed"}},"&-decade-panel":{[Ve]:{padding:`0 ${un/2}px`},[`${fe}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${fe}-body`]:{padding:`0 ${un}px`},[Ve]:{width:Ye},[`${fe}-cell-range-hover-start::after`]:{borderStartStartRadius:To,borderEndStartRadius:To,borderStartEndRadius:0,borderEndEndRadius:0,[`${fe}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:To,borderEndEndRadius:To}},[`${fe}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:To,borderEndEndRadius:To,[`${fe}-panel-rtl &`]:{borderStartStartRadius:To,borderEndStartRadius:To,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${fe}-cell-range-hover-start::after`]:{insetInlineStart:qi,borderInlineStart:`${Bn}px dashed ${ei}`,[`${fe}-panel-rtl &`]:{insetInlineEnd:qi,borderInlineEnd:`${Bn}px dashed ${ei}`}},[`${fe}-cell-range-hover-end::after`]:{insetInlineEnd:qi,borderInlineEnd:`${Bn}px dashed ${ei}`,[`${fe}-panel-rtl &`]:{insetInlineStart:qi,borderInlineStart:`${Bn}px dashed ${ei}`}}},"&-week-panel":{[`${fe}-body`]:{padding:`${un}px ${rn}px`},[`${fe}-cell`]:{[`&:hover ${Ve},
&-selected ${Ve},
${Ve}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Xa}`},"&:first-child:before":{borderStartStartRadius:To,borderEndStartRadius:To},"&:last-child:before":{borderStartEndRadius:To,borderEndEndRadius:To}},"&:hover td":{"&:before":{background:Ni}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${Ee}`]:{"&:before":{background:ra},[`&${fe}-cell-week`]:{color:new sr.C(ti).setAlpha(.5).toHexString()},[Ve]:{color:ti}}},"&-range-hover td:before":{background:_i}}},"&-date-panel":{[`${fe}-body`]:{padding:`${un}px ${Ai}px`},[`${fe}-content`]:{width:Dt*7,th:{width:Dt,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${fe}-time-panel`]:{borderInlineStart:`${Bn}px ${Mn} ${An}`},[`${fe}-date-panel,
${fe}-time-panel`]:{transition:`opacity ${Vo}`},"&-active":{[`${fe}-date-panel,
${fe}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${fe}-content`]:{display:"flex",flex:"auto",height:Ei},"&-column":{flex:"1 0 auto",width:Vi,margin:`${xn}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Xa}`,overflowX:"hidden","&::after":{display:"block",height:Ei-wi,content:'""'},"&:not(:first-child)":{borderInlineStart:`${Bn}px ${Mn} ${An}`},"&-active":{background:new sr.C(_i).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${fe}-time-panel-cell`]:{marginInline:ci,[`${fe}-time-panel-cell-inner`]:{display:"block",width:Vi-2*ci,height:wi,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(Vi-wi)/2,color:eo,lineHeight:`${wi}px`,borderRadius:To,cursor:"pointer",transition:`background ${Xa}`,"&:hover":{background:Ni}},"&-selected":{[`${fe}-time-panel-cell-inner`]:{background:_i}},"&-disabled":{[`${fe}-time-panel-cell-inner`]:{color:kr,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${fe}-time-panel-column:after`]:{height:Ei-wi+xn*2}}}},da=se=>{const{componentCls:fe,colorBgContainer:Ee,colorError:Ve,errorActiveShadow:Ye,colorWarning:Rt,warningActiveShadow:Dt}=se;return{[`${fe}:not(${fe}-disabled)`]:{[`&${fe}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:Ee,borderColor:Ve},[`&${fe}-focused, &:focus`]:Object.assign({},(0,$n.M1)((0,Li.TS)(se,{activeBorderColor:Ve,activeShadow:Ye}))),[`${fe}-active-bar`]:{background:Ve}},[`&${fe}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:Ee,borderColor:Rt},[`&${fe}-focused, &:focus`]:Object.assign({},(0,$n.M1)((0,Li.TS)(se,{activeBorderColor:Rt,activeShadow:Dt}))),[`${fe}-active-bar`]:{background:Rt}}}}},Dn=se=>{const{componentCls:fe,antCls:Ee,controlHeight:Ve,fontSize:Ye,paddingInline:Rt,colorBgContainer:Dt,lineWidth:rn,lineType:un,colorBorder:xn,borderRadius:ba,motionDurationMid:Bn,colorBgContainerDisabled:Mn,colorTextDisabled:na,colorTextPlaceholder:ra,controlHeightLG:sn,fontSizeLG:An,controlHeightSM:sa,paddingInlineSM:Va,paddingXS:Ka,marginXS:Xa,colorTextDescription:tr,lineWidthBold:Ja,lineHeight:Ha,colorPrimary:so,motionDurationSlow:kr,zIndexPopup:eo,paddingXXS:Co,paddingSM:Go,textHeight:Vo,cellActiveWithRangeBg:vi,colorPrimaryBorder:Zo,sizePopupArrow:Do,borderRadiusXS:Ao,borderRadiusOuter:Qo,colorBgElevated:ei,borderRadiusLG:To,boxShadowSecondary:ti,borderRadiusSM:Ni,colorSplit:Ei,cellHoverBg:Vi,presetsWidth:wi,presetsMaxWidth:_i,boxShadowPopoverArrow:ci,colorTextQuaternary:Ai}=se;return[{[fe]:Object.assign(Object.assign(Object.assign({},(0,Mr.Wf)(se)),fr(se,Ve,Ye,Rt)),{position:"relative",display:"inline-flex",alignItems:"center",background:Dt,lineHeight:1,border:`${rn}px ${un} ${xn}`,borderRadius:ba,transition:`border ${Bn}, box-shadow ${Bn}`,"&:hover, &-focused":Object.assign({},(0,$n.pU)(se)),"&-focused":Object.assign({},(0,$n.M1)(se)),[`&${fe}-disabled`]:{background:Mn,borderColor:xn,cursor:"not-allowed",[`${fe}-suffix`]:{color:Ai}},[`&${fe}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${fe}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,$n.ik)(se)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${fe}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:ra}}},"&-large":Object.assign(Object.assign({},fr(se,sn,An,Rt)),{[`${fe}-input > input`]:{fontSize:An}}),"&-small":Object.assign({},fr(se,sa,Ye,Va)),[`${fe}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:Ka/2,color:na,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Xa}}},[`${fe}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:na,lineHeight:1,background:Dt,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${Bn}, color ${Bn}`,"> *":{verticalAlign:"top"},"&:hover":{color:tr}},[`${fe}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:An,color:na,fontSize:An,verticalAlign:"top",cursor:"default",[`${fe}-focused &`]:{color:tr},[`${fe}-range-separator &`]:{[`${fe}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${fe}-clear`]:{insetInlineEnd:Rt},"&:hover":{[`${fe}-clear`]:{opacity:1}},[`${fe}-active-bar`]:{bottom:-rn,height:Ja,marginInlineStart:Rt,background:so,opacity:0,transition:`all ${kr} ease-out`,pointerEvents:"none"},[`&${fe}-focused`]:{[`${fe}-active-bar`]:{opacity:1}},[`${fe}-range-separator`]:{alignItems:"center",padding:`0 ${Ka}px`,lineHeight:1},[`&${fe}-small`]:{[`${fe}-clear`]:{insetInlineEnd:Va},[`${fe}-active-bar`]:{marginInlineStart:Va}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,Mr.Wf)(se)),ln(se)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:eo,[`&${fe}-dropdown-hidden`]:{display:"none"},[`&${fe}-dropdown-placement-bottomLeft`]:{[`${fe}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${fe}-dropdown-placement-topLeft`]:{[`${fe}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${Ee}-slide-up-enter${Ee}-slide-up-enter-active${fe}-dropdown-placement-topLeft,
&${Ee}-slide-up-enter${Ee}-slide-up-enter-active${fe}-dropdown-placement-topRight,
&${Ee}-slide-up-appear${Ee}-slide-up-appear-active${fe}-dropdown-placement-topLeft,
&${Ee}-slide-up-appear${Ee}-slide-up-appear-active${fe}-dropdown-placement-topRight`]:{animationName:Pa.Qt},[`&${Ee}-slide-up-enter${Ee}-slide-up-enter-active${fe}-dropdown-placement-bottomLeft,
&${Ee}-slide-up-enter${Ee}-slide-up-enter-active${fe}-dropdown-placement-bottomRight,
&${Ee}-slide-up-appear${Ee}-slide-up-appear-active${fe}-dropdown-placement-bottomLeft,
&${Ee}-slide-up-appear${Ee}-slide-up-appear-active${fe}-dropdown-placement-bottomRight`]:{animationName:Pa.fJ},[`&${Ee}-slide-up-leave${Ee}-slide-up-leave-active${fe}-dropdown-placement-topLeft,
&${Ee}-slide-up-leave${Ee}-slide-up-leave-active${fe}-dropdown-placement-topRight`]:{animationName:Pa.ly},[`&${Ee}-slide-up-leave${Ee}-slide-up-leave-active${fe}-dropdown-placement-bottomLeft,
&${Ee}-slide-up-leave${Ee}-slide-up-leave-active${fe}-dropdown-placement-bottomRight`]:{animationName:Pa.Uw},[`${fe}-panel > ${fe}-time-panel`]:{paddingTop:Co},[`${fe}-ranges`]:{marginBottom:0,padding:`${Co}px ${Go}px`,overflow:"hidden",lineHeight:`${Vo-2*rn-Ka/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${fe}-preset > ${Ee}-tag-blue`]:{color:so,background:vi,borderColor:Zo,cursor:"pointer"},[`${fe}-ok`]:{marginInlineStart:"auto"}},[`${fe}-range-wrapper`]:{display:"flex",position:"relative"},[`${fe}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:Rt*1.5,transition:`left ${kr} ease-out`},(0,li.r)(Do,Ao,Qo,ei,ci)),[`${fe}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:ei,borderRadius:To,boxShadow:ti,transition:`margin ${kr}`,[`${fe}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${fe}-presets`]:{display:"flex",flexDirection:"column",minWidth:wi,maxWidth:_i,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:Ka,borderInlineEnd:`${rn}px ${un} ${Ei}`,li:Object.assign(Object.assign({},Mr.vS),{borderRadius:Ni,paddingInline:Ka,paddingBlock:(sa-Math.round(Ye*Ha))/2,cursor:"pointer",transition:`all ${kr}`,"+ li":{marginTop:Xa},"&:hover":{background:Vi}})}},[`${fe}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${fe}-panel`]:{borderWidth:`0 0 ${rn}px`},"&:last-child":{[`${fe}-panel`]:{borderWidth:0}}},[`${fe}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${fe}-content,
table`]:{textAlign:"center"},"&-focused":{borderColor:xn}}}}),"&-dropdown-range":{padding:`${Do*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${fe}-separator`]:{transform:"rotate(180deg)"},[`${fe}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Pa.oN)(se,"slide-up"),(0,Pa.oN)(se,"slide-down"),(0,Qr.Fm)(se,"move-up"),(0,Qr.Fm)(se,"move-down")]},Vr=se=>{const{componentCls:fe,controlHeightLG:Ee,paddingXXS:Ve,padding:Ye}=se;return{pickerCellCls:`${fe}-cell`,pickerCellInnerCls:`${fe}-cell-inner`,pickerYearMonthCellWidth:Ee*1.5,pickerQuarterPanelContentHeight:Ee*1.4,pickerCellPaddingVertical:Ve+Ve/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:Ye+Ve/2}},xr=se=>({cellHoverBg:se.controlItemBgHover,cellActiveWithRangeBg:se.controlItemBgActive,cellHoverWithRangeBg:new sr.C(se.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new sr.C(se.colorPrimary).lighten(20).toHexString(),cellBgDisabled:se.colorBgContainerDisabled,timeColumnWidth:se.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:se.controlHeightSM*1.5,cellHeight:se.controlHeightSM,textHeight:se.controlHeightLG,withoutTimeCellHeight:se.controlHeightLG*1.65});var Ar=(0,Jn.Z)("DatePicker",se=>{const fe=(0,Li.TS)((0,$n.e5)(se),Vr(se));return[Dn(fe),da(fe),(0,ka.c)(se,{focusElCls:`${se.componentCls}-focused`})]},se=>Object.assign(Object.assign(Object.assign({},(0,$n.TM)(se)),xr(se)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:se.zIndexPopupBase+50}));function uo(se,fe,Ee){return Ee!==void 0?Ee:fe==="year"&&se.lang.yearPlaceholder?se.lang.yearPlaceholder:fe==="quarter"&&se.lang.quarterPlaceholder?se.lang.quarterPlaceholder:fe==="month"&&se.lang.monthPlaceholder?se.lang.monthPlaceholder:fe==="week"&&se.lang.weekPlaceholder?se.lang.weekPlaceholder:fe==="time"&&se.timePickerLocale.placeholder?se.timePickerLocale.placeholder:se.lang.placeholder}function wr(se,fe,Ee){return Ee!==void 0?Ee:fe==="year"&&se.lang.yearPlaceholder?se.lang.rangeYearPlaceholder:fe==="quarter"&&se.lang.quarterPlaceholder?se.lang.rangeQuarterPlaceholder:fe==="month"&&se.lang.monthPlaceholder?se.lang.rangeMonthPlaceholder:fe==="week"&&se.lang.weekPlaceholder?se.lang.rangeWeekPlaceholder:fe==="time"&&se.timePickerLocale.placeholder?se.timePickerLocale.rangePlaceholder:se.lang.rangePlaceholder}function fo(se,fe){const Ee={adjustX:1,adjustY:1};switch(fe){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:Ee};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:Ee};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:Ee};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:Ee};default:return{points:se==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:Ee}}}function lr(se){return se?Array.isArray(se)?se:[se]:[]}function Br(se){const{format:fe,picker:Ee,showHour:Ve,showMinute:Ye,showSecond:Rt,use12Hours:Dt}=se,rn=lr(fe)[0],un=Object.assign({},se);return fe&&Array.isArray(fe)&&(un.format=rn),rn&&typeof rn=="string"&&(!rn.includes("s")&&Rt===void 0&&(un.showSecond=!1),!rn.includes("m")&&Ye===void 0&&(un.showMinute=!1),!rn.includes("H")&&!rn.includes("h")&&!rn.includes("K")&&!rn.includes("k")&&Ve===void 0&&(un.showHour=!1),(rn.includes("a")||rn.includes("A"))&&Dt===void 0&&(un.use12Hours=!0)),Ee==="time"?un:(typeof rn=="function"&&delete un.format,{showTime:un})}function So(se,fe,Ee){if(se===!1)return!1;const Ve={clearIcon:fe!=null?fe:Ee};return typeof se=="object"?Object.assign(Object.assign({},Ve),se):Ve}var $o=ee(71577);function On(se){return ae.createElement($o.ZP,Object.assign({size:"small",type:"primary"},se))}var rr={button:On},ta=function(se,fe){var Ee={};for(var Ve in se)Object.prototype.hasOwnProperty.call(se,Ve)&&fe.indexOf(Ve)<0&&(Ee[Ve]=se[Ve]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Ve=Object.getOwnPropertySymbols(se);Ye<Ve.length;Ye++)fe.indexOf(Ve[Ye])<0&&Object.prototype.propertyIsEnumerable.call(se,Ve[Ye])&&(Ee[Ve[Ye]]=se[Ve[Ye]]);return Ee};function Wa(se){return(0,ae.forwardRef)((Ee,Ve)=>{const{prefixCls:Ye,getPopupContainer:Rt,className:Dt,placement:rn,size:un,disabled:xn,bordered:ba=!0,placeholder:Bn,popupClassName:Mn,dropdownClassName:na,status:ra,clearIcon:sn,allowClear:An,rootClassName:sa}=Ee,Va=ta(Ee,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),Ka=ae.useRef(null),{getPrefixCls:Xa,direction:tr,getPopupContainer:Ja}=(0,ae.useContext)(Sa.E_),Ha=Xa("picker",Ye),{compactSize:so,compactItemClassnames:kr}=(0,vo.ri)(Ha,tr),{format:eo,showTime:Co,picker:Go}=Ee,Vo=Xa(),[vi,Zo]=Ar(Ha),Do=Object.assign(Object.assign({},Co?Br(Object.assign({format:eo,picker:Go},Co)):{}),Go==="time"?Br(Object.assign(Object.assign({format:eo},Ee),{picker:Go})):{}),Ao=(0,_a.Z)(ci=>{var Ai;return(Ai=un!=null?un:so)!==null&&Ai!==void 0?Ai:ci}),Qo=ae.useContext(Gr.Z),ei=xn!=null?xn:Qo,To=(0,ae.useContext)(jo.aM),{hasFeedback:ti,status:Ni,feedbackIcon:Ei}=To,Vi=ae.createElement(ae.Fragment,null,Go==="time"?ae.createElement(Xe,null):ae.createElement(be,null),ti&&Ei);(0,ae.useImperativeHandle)(Ve,()=>({focus:()=>{var ci;return(ci=Ka.current)===null||ci===void 0?void 0:ci.focus()},blur:()=>{var ci;return(ci=Ka.current)===null||ci===void 0?void 0:ci.blur()}}));const[wi]=(0,lo.Z)("Calendar",cr.Z),_i=Object.assign(Object.assign({},wi),Ee.locale);return vi(ae.createElement(Qa,Object.assign({separator:ae.createElement("span",{"aria-label":"to",className:`${Ha}-separator`},ae.createElement(qe,null)),disabled:ei,ref:Ka,dropdownAlign:fo(tr,rn),placeholder:wr(_i,Go,Bn),suffixIcon:Vi,prevIcon:ae.createElement("span",{className:`${Ha}-prev-icon`}),nextIcon:ae.createElement("span",{className:`${Ha}-next-icon`}),superPrevIcon:ae.createElement("span",{className:`${Ha}-super-prev-icon`}),superNextIcon:ae.createElement("span",{className:`${Ha}-super-next-icon`}),transitionName:`${Vo}-slide-up`},Va,Do,{className:mt()({[`${Ha}-${Ao}`]:Ao,[`${Ha}-borderless`]:!ba},(0,Ca.Z)(Ha,(0,Ca.F)(Ni,ra),ti),Zo,kr,Dt,sa),locale:_i.lang,prefixCls:Ha,getPopupContainer:Rt||Ja,generateConfig:se,components:rr,direction:tr,dropdownClassName:mt()(Zo,Mn||na,sa),allowClear:So(An,sn,ae.createElement(Le.Z,null))})))})}var Kr=function(se,fe){var Ee={};for(var Ve in se)Object.prototype.hasOwnProperty.call(se,Ve)&&fe.indexOf(Ve)<0&&(Ee[Ve]=se[Ve]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Ve=Object.getOwnPropertySymbols(se);Ye<Ve.length;Ye++)fe.indexOf(Ve[Ye])<0&&Object.prototype.propertyIsEnumerable.call(se,Ve[Ye])&&(Ee[Ve[Ye]]=se[Ve[Ye]]);return Ee};function Ir(se){function fe(un,xn){const ba=xn==="TimePicker"?"timePicker":"datePicker",Bn=(0,ae.forwardRef)((Mn,na)=>{const{prefixCls:ra,getPopupContainer:sn,style:An,className:sa,rootClassName:Va,size:Ka,bordered:Xa=!0,placement:tr,placeholder:Ja,popupClassName:Ha,dropdownClassName:so,disabled:kr,status:eo,clearIcon:Co,allowClear:Go}=Mn,Vo=Kr(Mn,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:vi,direction:Zo,getPopupContainer:Do,[ba]:Ao}=(0,ae.useContext)(Sa.E_),Qo=vi("picker",ra),{compactSize:ei,compactItemClassnames:To}=(0,vo.ri)(Qo,Zo),ti=ae.useRef(null),{format:Ni,showTime:Ei}=Mn,[Vi,wi]=Ar(Qo);(0,ae.useImperativeHandle)(na,()=>({focus:()=>{var el;return(el=ti.current)===null||el===void 0?void 0:el.focus()},blur:()=>{var el;return(el=ti.current)===null||el===void 0?void 0:el.blur()}}));const _i={showToday:!0};let ci={};un&&(ci.picker=un);const Ai=un||Mn.picker;ci=Object.assign(Object.assign(Object.assign({},ci),Ei?Br(Object.assign({format:Ni,picker:Ai},Ei)):{}),Ai==="time"?Br(Object.assign(Object.assign({format:Ni},Mn),{picker:Ai})):{});const Wi=vi(),qi=(0,_a.Z)(el=>{var zl;return(zl=Ka!=null?Ka:ei)!==null&&zl!==void 0?zl:el}),Yi=ae.useContext(Gr.Z),gl=kr!=null?kr:Yi,Fl=(0,ae.useContext)(jo.aM),{hasFeedback:Po,status:Oi,feedbackIcon:gi}=Fl,zi=ae.createElement(ae.Fragment,null,Ai==="time"?ae.createElement(Xe,null):ae.createElement(be,null),Po&&gi),[rl]=(0,lo.Z)("DatePicker",cr.Z),Fi=Object.assign(Object.assign({},rl),Mn.locale);return Vi(ae.createElement(bn,Object.assign({ref:ti,placeholder:uo(Fi,Ai,Ja),suffixIcon:zi,dropdownAlign:fo(Zo,tr),prevIcon:ae.createElement("span",{className:`${Qo}-prev-icon`}),nextIcon:ae.createElement("span",{className:`${Qo}-next-icon`}),superPrevIcon:ae.createElement("span",{className:`${Qo}-super-prev-icon`}),superNextIcon:ae.createElement("span",{className:`${Qo}-super-next-icon`}),transitionName:`${Wi}-slide-up`},_i,Vo,ci,{locale:Fi.lang,className:mt()({[`${Qo}-${qi}`]:qi,[`${Qo}-borderless`]:!Xa},(0,Ca.Z)(Qo,(0,Ca.F)(Oi,eo),Po),wi,To,Ao==null?void 0:Ao.className,sa,Va),style:Object.assign(Object.assign({},Ao==null?void 0:Ao.style),An),prefixCls:Qo,getPopupContainer:sn||Do,generateConfig:se,components:rr,direction:Zo,disabled:gl,dropdownClassName:mt()(wi,Va,Ha||so),allowClear:So(Go,Co,ae.createElement(Le.Z,null))})))});return xn&&(Bn.displayName=xn),Bn}const Ee=fe(),Ve=fe("week","WeekPicker"),Ye=fe("month","MonthPicker"),Rt=fe("year","YearPicker"),Dt=fe("time","TimePicker"),rn=fe("quarter","QuarterPicker");return{DatePicker:Ee,WeekPicker:Ve,MonthPicker:Ye,YearPicker:Rt,TimePicker:Dt,QuarterPicker:rn}}const Lo=null;function hi(se){const{DatePicker:fe,WeekPicker:Ee,MonthPicker:Ve,YearPicker:Ye,TimePicker:Rt,QuarterPicker:Dt}=Ir(se),rn=Wa(se),un=fe;return un.WeekPicker=Ee,un.MonthPicker=Ve,un.YearPicker=Ye,un.RangePicker=rn,un.TimePicker=Rt,un.QuarterPicker=Dt,un}var Ki=hi;const Ji=Ki(te);function Pl(se){const fe=fo(se.direction,se.placement);return fe.overflow.adjustY=!1,fe.overflow.adjustX=!1,Object.assign(Object.assign({},se),{dropdownAlign:fe})}const xu=(0,ne.Z)(Ji,"picker",null,Pl);Ji._InternalPanelDoNotUseOrYouWillBeFired=xu;const Iu=(0,ne.Z)(Ji.RangePicker,"picker",null,Pl);Ji._InternalRangePanelDoNotUseOrYouWillBeFired=Iu,Ji.generatePicker=Ki;var $u=Ji},96074:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return Be}});var x=ee(94184),de=ee.n(x),pe=ee(67294),De=ee(53124),we=ee(14747),ke=ee(67968),ie=ee(45503);const We=me=>{const{componentCls:oe,sizePaddingEdgeHorizontal:a,colorSplit:y,lineWidth:b,textPaddingInline:E,orientationMargin:z,verticalMarginInline:te}=me;return{[oe]:Object.assign(Object.assign({},(0,we.Wf)(me)),{borderBlockStart:`${b}px solid ${y}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:te,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${b}px solid ${y}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${me.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${oe}-with-text`]:{display:"flex",alignItems:"center",margin:`${me.dividerHorizontalWithTextGutterMargin}px 0`,color:me.colorTextHeading,fontWeight:500,fontSize:me.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${oe}-with-text-left`]:{"&::before":{width:`${z*100}%`},"&::after":{width:`${100-z*100}%`}},[`&-horizontal${oe}-with-text-right`]:{"&::before":{width:`${100-z*100}%`},"&::after":{width:`${z*100}%`}},[`${oe}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:E},"&-dashed":{background:"none",borderColor:y,borderStyle:"dashed",borderWidth:`${b}px 0 0`},[`&-horizontal${oe}-with-text${oe}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${oe}-dashed`]:{borderInlineStartWidth:b,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${oe}-with-text`]:{color:me.colorText,fontWeight:"normal",fontSize:me.fontSize},[`&-horizontal${oe}-with-text-left${oe}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${oe}-inner-text`]:{paddingInlineStart:a}},[`&-horizontal${oe}-with-text-right${oe}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${oe}-inner-text`]:{paddingInlineEnd:a}}})}};var Me=(0,ke.Z)("Divider",me=>{const oe=(0,ie.TS)(me,{dividerHorizontalWithTextGutterMargin:me.margin,dividerHorizontalGutterMargin:me.marginLG,sizePaddingEdgeHorizontal:0});return[We(oe)]},me=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:me.marginXS})),Te=function(me,oe){var a={};for(var y in me)Object.prototype.hasOwnProperty.call(me,y)&&oe.indexOf(y)<0&&(a[y]=me[y]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,y=Object.getOwnPropertySymbols(me);b<y.length;b++)oe.indexOf(y[b])<0&&Object.prototype.propertyIsEnumerable.call(me,y[b])&&(a[y[b]]=me[y[b]]);return a},Be=me=>{const{getPrefixCls:oe,direction:a,divider:y}=pe.useContext(De.E_),{prefixCls:b,type:E="horizontal",orientation:z="center",orientationMargin:te,className:ne,rootClassName:re,children:ae,dashed:le,plain:he,style:ve}=me,Ce=Te(me,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),be=oe("divider",b),[ye,Ae]=Me(be),Ne=z.length>0?`-${z}`:z,Xe=!!ae,Le=z==="left"&&te!=null,Ge=z==="right"&&te!=null,He=de()(be,y==null?void 0:y.className,Ae,`${be}-${E}`,{[`${be}-with-text`]:Xe,[`${be}-with-text${Ne}`]:Xe,[`${be}-dashed`]:!!le,[`${be}-plain`]:!!he,[`${be}-rtl`]:a==="rtl",[`${be}-no-default-orientation-margin-left`]:Le,[`${be}-no-default-orientation-margin-right`]:Ge},ne,re),Ke=pe.useMemo(()=>typeof te=="number"?te:/^\d+$/.test(te)?Number(te):te,[te]),qe=Object.assign(Object.assign({},Le&&{marginLeft:Ke}),Ge&&{marginRight:Ke});return ye(pe.createElement("div",Object.assign({className:He,style:Object.assign(Object.assign({},y==null?void 0:y.style),ve)},Ce,{role:"separator"}),ae&&E!=="vertical"&&pe.createElement("span",{className:`${be}-inner-text`,style:qe},ae)))}},35874:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return dt}});var x=ee(67294),de=ee(91034),pe=ee(94184),De=ee.n(pe),we=ee(87462),ke=ee(4942),ie=ee(97685),We=ee(45987),Me=ee(62709),Te=ee(71002),ze=ee(12060);function Be(At,Et,gt){var Xt=React.useRef({});return(!("value"in Xt.current)||gt(Xt.current.condition,Et))&&(Xt.current.value=At(),Xt.current.condition=Et),Xt.current.value}function me(At,Et){typeof At=="function"?At(Et):(0,Te.Z)(At)==="object"&&At&&"current"in At&&(At.current=Et)}function oe(){for(var At=arguments.length,Et=new Array(At),gt=0;gt<At;gt++)Et[gt]=arguments[gt];var Xt=Et.filter(function(Ot){return Ot});return Xt.length<=1?Xt[0]:function(Ot){Et.forEach(function(bt){me(bt,Ot)})}}function a(){for(var At=arguments.length,Et=new Array(At),gt=0;gt<At;gt++)Et[gt]=arguments[gt];return useMemo(function(){return oe.apply(void 0,Et)},Et,function(Xt,Ot){return Xt.length===Ot.length&&Xt.every(function(bt,on){return bt===Ot[on]})})}function y(At){var Et,gt,Xt=(0,ze.isMemo)(At)?At.type.type:At.type;return!(typeof Xt=="function"&&!((Et=Xt.prototype)!==null&&Et!==void 0&&Et.render)||typeof At=="function"&&!((gt=At.prototype)!==null&&gt!==void 0&&gt.render))}var b={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Et){var gt=Et.keyCode;if(Et.altKey&&!Et.ctrlKey||Et.metaKey||gt>=b.F1&&gt<=b.F12)return!1;switch(gt){case b.ALT:case b.CAPS_LOCK:case b.CONTEXT_MENU:case b.CTRL:case b.DOWN:case b.END:case b.ESC:case b.HOME:case b.INSERT:case b.LEFT:case b.MAC_FF_META:case b.META:case b.NUMLOCK:case b.NUM_CENTER:case b.PAGE_DOWN:case b.PAGE_UP:case b.PAUSE:case b.PRINT_SCREEN:case b.RIGHT:case b.SHIFT:case b.UP:case b.WIN_KEY:case b.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Et){if(Et>=b.ZERO&&Et<=b.NINE||Et>=b.NUM_ZERO&&Et<=b.NUM_MULTIPLY||Et>=b.A&&Et<=b.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Et===0)return!0;switch(Et){case b.SPACE:case b.QUESTION_MARK:case b.NUM_PLUS:case b.NUM_MINUS:case b.NUM_PERIOD:case b.NUM_DIVISION:case b.SEMICOLON:case b.DASH:case b.EQUALS:case b.COMMA:case b.PERIOD:case b.SLASH:case b.APOSTROPHE:case b.SINGLE_QUOTE:case b.OPEN_SQUARE_BRACKET:case b.BACKSLASH:case b.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},E=b,z=function(Et){return+setTimeout(Et,16)},te=function(Et){return clearTimeout(Et)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(z=function(Et){return window.requestAnimationFrame(Et)},te=function(Et){return window.cancelAnimationFrame(Et)});var ne=0,re=new Map;function ae(At){re.delete(At)}var le=function(Et){var gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;ne+=1;var Xt=ne;function Ot(bt){if(bt===0)ae(Xt),Et();else{var on=z(function(){Ot(bt-1)});re.set(Xt,on)}}return Ot(gt),Xt};le.cancel=function(At){var Et=re.get(At);return ae(Et),te(Et)};var he=le,ve=E.ESC,Ce=E.TAB;function be(At){var Et=At.visible,gt=At.triggerRef,Xt=At.onVisibleChange,Ot=At.autoFocus,bt=At.overlayRef,on=x.useRef(!1),Jt=function(){if(Et){var xe,je;(xe=gt.current)===null||xe===void 0||(je=xe.focus)===null||je===void 0||je.call(xe),Xt==null||Xt(!1)}},$e=function(){var xe;return(xe=bt.current)!==null&&xe!==void 0&&xe.focus?(bt.current.focus(),on.current=!0,!0):!1},Re=function(xe){switch(xe.keyCode){case ve:Jt();break;case Ce:{var je=!1;on.current||(je=$e()),je?xe.preventDefault():Jt();break}}};x.useEffect(function(){return Et?(window.addEventListener("keydown",Re),Ot&&he($e,3),function(){window.removeEventListener("keydown",Re),on.current=!1}):function(){on.current=!1}},[Et])}var ye=(0,x.forwardRef)(function(At,Et){var gt=At.overlay,Xt=At.arrow,Ot=At.prefixCls,bt=(0,x.useMemo)(function(){var Jt;return typeof gt=="function"?Jt=gt():Jt=gt,Jt},[gt]),on=oe(Et,bt==null?void 0:bt.ref);return x.createElement(x.Fragment,null,Xt&&x.createElement("div",{className:"".concat(Ot,"-arrow")}),x.cloneElement(bt,{ref:y(bt)?on:void 0}))}),Ae=ye,Ne={adjustX:1,adjustY:1},Xe=[0,0],Le={topLeft:{points:["bl","tl"],overflow:Ne,offset:[0,-4],targetOffset:Xe},top:{points:["bc","tc"],overflow:Ne,offset:[0,-4],targetOffset:Xe},topRight:{points:["br","tr"],overflow:Ne,offset:[0,-4],targetOffset:Xe},bottomLeft:{points:["tl","bl"],overflow:Ne,offset:[0,4],targetOffset:Xe},bottom:{points:["tc","bc"],overflow:Ne,offset:[0,4],targetOffset:Xe},bottomRight:{points:["tr","br"],overflow:Ne,offset:[0,4],targetOffset:Xe}},Ge=Le,He=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Ke(At,Et){var gt,Xt=At.arrow,Ot=Xt===void 0?!1:Xt,bt=At.prefixCls,on=bt===void 0?"rc-dropdown":bt,Jt=At.transitionName,$e=At.animation,Re=At.align,Nn=At.placement,xe=Nn===void 0?"bottomLeft":Nn,je=At.placements,Ht=je===void 0?Ge:je,et=At.getPopupContainer,Ue=At.showAction,Ct=At.hideAction,yt=At.overlayClassName,kt=At.overlayStyle,Pn=At.visible,Nt=At.trigger,Tt=Nt===void 0?["hover"]:Nt,St=At.autoFocus,tn=At.overlay,Kt=At.children,mn=At.onVisibleChange,Qn=(0,We.Z)(At,He),wn=x.useState(),Wn=(0,ie.Z)(wn,2),ma=Wn[0],_t=Wn[1],Vt="visible"in At?Pn:ma,en=x.useRef(null),la=x.useRef(null),aa=x.useRef(null);x.useImperativeHandle(Et,function(){return en.current});var jn=function(Tn){_t(Tn),mn==null||mn(Tn)};be({visible:Vt,triggerRef:aa,onVisibleChange:jn,autoFocus:St,overlayRef:la});var Oa=function(Tn){var pn=At.onOverlayClick;_t(!1),pn&&pn(Tn)},Ia=function(){return x.createElement(Ae,{ref:la,overlay:tn,prefixCls:on,arrow:Ot})},vr=function(){return typeof tn=="function"?Ia:Ia()},zr=function(){var Tn=At.minOverlayWidthMatchTrigger,pn=At.alignPoint;return"minOverlayWidthMatchTrigger"in At?Tn:!pn},La=function(){var Tn=At.openClassName;return Tn!==void 0?Tn:"".concat(on,"-open")},Je=x.cloneElement(Kt,{className:De()((gt=Kt.props)===null||gt===void 0?void 0:gt.className,Vt&&La()),ref:y(Kt)?oe(aa,Kt.ref):void 0}),Bt=Ct;return!Bt&&Tt.indexOf("contextMenu")!==-1&&(Bt=["click"]),x.createElement(Me.Z,(0,we.Z)({builtinPlacements:Ht},Qn,{prefixCls:on,ref:en,popupClassName:De()(yt,(0,ke.Z)({},"".concat(on,"-show-arrow"),Ot)),popupStyle:kt,action:Tt,showAction:Ue,hideAction:Bt,popupPlacement:xe,popupAlign:Re,popupTransitionName:Jt,popupAnimation:$e,popupVisible:Vt,stretch:zr()?"minWidth":"",popup:vr(),onPopupVisibleChange:jn,onPopupClick:Oa,getPopupContainer:et}),Je)}var qe=x.forwardRef(Ke),it=qe,mt=ee(60276),Yt=ee(5663),cn=ee(10366),rt=ee(80636),Pt=ee(8745),Lt=ee(96159),ct=ee(53124),Ft=ee(68508),jt=ee(76529),_e=ee(46605),En=ee(66748);const Fn=null,ha=At=>{const{menu:Et,arrow:gt,prefixCls:Xt,children:Ot,trigger:bt,disabled:on,dropdownRender:Jt,getPopupContainer:$e,overlayClassName:Re,rootClassName:Nn,open:xe,onOpenChange:je,visible:Ht,onVisibleChange:et,mouseEnterDelay:Ue=.15,mouseLeaveDelay:Ct=.1,autoAdjustOverflow:yt=!0,placement:kt="",overlay:Pn,transitionName:Nt}=At,{getPopupContainer:Tt,getPrefixCls:St,direction:tn}=x.useContext(ct.E_),Kt=x.useMemo(()=>{const Je=St();return Nt!==void 0?Nt:kt.includes("top")?`${Je}-slide-down`:`${Je}-slide-up`},[St,kt,Nt]),mn=x.useMemo(()=>kt?kt.includes("Center")?kt.slice(0,kt.indexOf("Center")):kt:tn==="rtl"?"bottomRight":"bottomLeft",[kt,tn]),Qn=St("dropdown",Xt),[wn,Wn]=(0,En.Z)(Qn),[,ma]=(0,_e.Z)(),_t=x.Children.only(Ot),Vt=(0,Lt.Tm)(_t,{className:De()(`${Qn}-trigger`,{[`${Qn}-rtl`]:tn==="rtl"},_t.props.className),disabled:on}),en=on?[]:bt;let la;en&&en.includes("contextMenu")&&(la=!0);const[aa,jn]=(0,Yt.Z)(!1,{value:xe!=null?xe:Ht}),Oa=(0,mt.useEvent)(Je=>{je==null||je(Je),et==null||et(Je),jn(Je)}),Ia=De()(Re,Nn,Wn,{[`${Qn}-rtl`]:tn==="rtl"}),vr=(0,rt.Z)({arrowPointAtCenter:typeof gt=="object"&&gt.pointAtCenter,autoAdjustOverflow:yt,offset:ma.marginXXS,arrowWidth:gt?ma.sizePopupArrow:0,borderRadius:ma.borderRadius}),zr=x.useCallback(()=>{jn(!1)},[]),La=()=>{let Je;return Et!=null&&Et.items?Je=x.createElement(Ft.default,Object.assign({},Et)):typeof Pn=="function"?Je=Pn():Je=Pn,Jt&&(Je=Jt(Je)),Je=x.Children.only(typeof Je=="string"?x.createElement("span",null,Je):Je),x.createElement(jt.J,{prefixCls:`${Qn}-menu`,expandIcon:x.createElement("span",{className:`${Qn}-menu-submenu-arrow`},x.createElement(de.Z,{className:`${Qn}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:zr,validator:Bt=>{let{mode:xt}=Bt}},Je)};return wn(x.createElement(it,Object.assign({alignPoint:la},(0,cn.Z)(At,["rootClassName"]),{mouseEnterDelay:Ue,mouseLeaveDelay:Ct,visible:aa,builtinPlacements:vr,arrow:!!gt,overlayClassName:Ia,prefixCls:Qn,getPopupContainer:$e||Tt,transitionName:Kt,trigger:en,overlay:La,placement:mn,onVisibleChange:Oa}),Vt))};function In(At){return Object.assign(Object.assign({},At),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const at=(0,Pt.Z)(ha,"dropdown",At=>At,In),lt=At=>x.createElement(at,Object.assign({},At),x.createElement("span",null));ha._InternalPanelDoNotUseOrYouWillBeFired=lt;var dt=ha},85418:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return a}});var x=ee(35874),de=ee(94184),pe=ee.n(de),De=ee(67294),we=ee(25877),ke=ee(71577),ie=ee(53124),We=ee(93421),Me=ee(4173),Te=ee(66748),ze=function(y,b){var E={};for(var z in y)Object.prototype.hasOwnProperty.call(y,z)&&b.indexOf(z)<0&&(E[z]=y[z]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,z=Object.getOwnPropertySymbols(y);te<z.length;te++)b.indexOf(z[te])<0&&Object.prototype.propertyIsEnumerable.call(y,z[te])&&(E[z[te]]=y[z[te]]);return E};const Be=y=>{const{getPopupContainer:b,getPrefixCls:E,direction:z}=De.useContext(ie.E_),{prefixCls:te,type:ne="default",danger:re,disabled:ae,loading:le,onClick:he,htmlType:ve,children:Ce,className:be,menu:ye,arrow:Ae,autoFocus:Ne,overlay:Xe,trigger:Le,align:Ge,open:He,onOpenChange:Ke,placement:qe,getPopupContainer:it,href:mt,icon:Yt=De.createElement(we.Z,null),title:cn,buttonsRender:rt=on=>on,mouseEnterDelay:Pt,mouseLeaveDelay:Lt,overlayClassName:ct,overlayStyle:Ft,destroyPopupOnHide:jt,dropdownRender:_e}=y,En=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"]),Fn=E("dropdown",te),ha=`${Fn}-button`,[In,at]=(0,Te.Z)(Fn),lt={menu:ye,arrow:Ae,autoFocus:Ne,align:Ge,disabled:ae,trigger:ae?[]:Le,onOpenChange:Ke,getPopupContainer:it||b,mouseEnterDelay:Pt,mouseLeaveDelay:Lt,overlayClassName:ct,overlayStyle:Ft,destroyPopupOnHide:jt,dropdownRender:_e},{compactSize:dt,compactItemClassnames:At}=(0,Me.ri)(Fn,z),Et=pe()(ha,At,be,at);"overlay"in y&&(lt.overlay=Xe),"open"in y&&(lt.open=He),"placement"in y?lt.placement=qe:lt.placement=z==="rtl"?"bottomLeft":"bottomRight";const gt=De.createElement(ke.ZP,{type:ne,danger:re,disabled:ae,loading:le,onClick:he,htmlType:ve,href:mt,title:cn},Ce),Xt=De.createElement(ke.ZP,{type:ne,danger:re,icon:Yt}),[Ot,bt]=rt([gt,Xt]);return In(De.createElement(We.Z.Compact,Object.assign({className:Et,size:dt,block:!0},En),Ot,De.createElement(x.Z,Object.assign({},lt),bt)))};Be.__ANT_BUTTON=!0;var me=Be;const oe=x.Z;oe.Button=me;var a=oe},66748:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return ze}});var x=ee(14747),de=ee(67771),pe=ee(33297),De=ee(50438),we=ee(97414),ke=ee(67968),ie=ee(45503),Me=Be=>{const{componentCls:me,menuCls:oe,colorError:a,colorTextLightSolid:y}=Be,b=`${oe}-item`;return{[`${me}, ${me}-menu-submenu`]:{[`${oe} ${b}`]:{[`&${b}-danger:not(${b}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const Te=Be=>{const{componentCls:me,menuCls:oe,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:b,antCls:E,iconCls:z,motionDurationMid:te,dropdownPaddingVertical:ne,fontSize:re,dropdownEdgeChildPadding:ae,colorTextDisabled:le,fontSizeIcon:he,controlPaddingHorizontal:ve,colorBgElevated:Ce}=Be;return[{[me]:Object.assign(Object.assign({},(0,x.Wf)(Be)),{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`]:{[`& > ${z}-down, & > ${E}-btn-icon > ${z}-down`]:{fontSize:he}},[`${me}-wrap`]:{position:"relative",[`${E}-btn > ${z}-down`]:{fontSize:he},[`${z}-down::before`]:{transition:`transform ${te}`}},[`${me}-wrap-open`]:{[`${z}-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${me}-placement-bottomLeft,
&${E}-slide-down-appear${E}-slide-down-appear-active${me}-placement-bottomLeft,
&${E}-slide-down-enter${E}-slide-down-enter-active${me}-placement-bottom,
&${E}-slide-down-appear${E}-slide-down-appear-active${me}-placement-bottom,
&${E}-slide-down-enter${E}-slide-down-enter-active${me}-placement-bottomRight,
&${E}-slide-down-appear${E}-slide-down-appear-active${me}-placement-bottomRight`]:{animationName:de.fJ},[`&${E}-slide-up-enter${E}-slide-up-enter-active${me}-placement-topLeft,
&${E}-slide-up-appear${E}-slide-up-appear-active${me}-placement-topLeft,
&${E}-slide-up-enter${E}-slide-up-enter-active${me}-placement-top,
&${E}-slide-up-appear${E}-slide-up-appear-active${me}-placement-top,
&${E}-slide-up-enter${E}-slide-up-enter-active${me}-placement-topRight,
&${E}-slide-up-appear${E}-slide-up-appear-active${me}-placement-topRight`]:{animationName:de.Qt},[`&${E}-slide-down-leave${E}-slide-down-leave-active${me}-placement-bottomLeft,
&${E}-slide-down-leave${E}-slide-down-leave-active${me}-placement-bottom,
&${E}-slide-down-leave${E}-slide-down-leave-active${me}-placement-bottomRight`]:{animationName:de.Uw},[`&${E}-slide-up-leave${E}-slide-up-leave-active${me}-placement-topLeft,
&${E}-slide-up-leave${E}-slide-up-leave-active${me}-placement-top,
&${E}-slide-up-leave${E}-slide-up-leave-active${me}-placement-topRight`]:{animationName:de.ly}})},(0,we.ZP)(Be,{colorBg:Ce,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${me} ${oe}`]:{position:"relative",margin:0},[`${oe}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${me}, ${me}-menu-submenu`]:{[oe]:Object.assign(Object.assign({padding:ae,listStyleType:"none",backgroundColor:Ce,backgroundClip:"padding-box",borderRadius:Be.borderRadiusLG,outline:"none",boxShadow:Be.boxShadowSecondary},(0,x.Qy)(Be)),{[`${oe}-item-group-title`]:{padding:`${ne}px ${ve}px`,color:Be.colorTextDescription,transition:`all ${te}`},[`${oe}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${oe}-item-icon`]:{minWidth:re,marginInlineEnd:Be.marginXS,fontSize:Be.fontSizeSM},[`${oe}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${te}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${oe}-item, ${oe}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ne}px ${ve}px`,color:Be.colorText,fontWeight:"normal",fontSize:re,lineHeight:Be.lineHeight,cursor:"pointer",transition:`all ${te}`,borderRadius:Be.borderRadiusSM,"&:hover, &-active":{backgroundColor:Be.controlItemBgHover}},(0,x.Qy)(Be)),{"&-selected":{color:Be.colorPrimary,backgroundColor:Be.controlItemBgActive,"&:hover, &-active":{backgroundColor:Be.controlItemBgActiveHover}},"&-disabled":{color:le,cursor:"not-allowed","&:hover":{color:le,backgroundColor:Ce,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Be.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Be.colorSplit},[`${me}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Be.paddingXS,[`${me}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Be.colorTextDescription,fontSize:he,fontStyle:"normal"}}}),[`${oe}-item-group-list`]:{margin:`0 ${Be.marginXS}px`,padding:0,listStyle:"none"},[`${oe}-submenu-title`]:{paddingInlineEnd:ve+Be.fontSizeSM},[`${oe}-submenu-vertical`]:{position:"relative"},[`${oe}-submenu${oe}-submenu-disabled ${me}-menu-submenu-title`]:{[`&, ${me}-menu-submenu-arrow-icon`]:{color:le,backgroundColor:Ce,cursor:"not-allowed"}},[`${oe}-submenu-selected ${me}-menu-submenu-title`]:{color:Be.colorPrimary}})}},[(0,de.oN)(Be,"slide-up"),(0,de.oN)(Be,"slide-down"),(0,pe.Fm)(Be,"move-up"),(0,pe.Fm)(Be,"move-down"),(0,De._y)(Be,"zoom-big")]]};var ze=(0,ke.Z)("Dropdown",(Be,me)=>{let{rootPrefixCls:oe}=me;const{marginXXS:a,sizePopupArrow:y,controlHeight:b,fontSize:E,lineHeight:z,paddingXXS:te,componentCls:ne,borderRadiusLG:re}=Be,ae=(b-E*z)/2,{dropdownArrowOffset:le}=(0,we.fS)({contentRadius:re}),he=(0,ie.TS)(Be,{menuCls:`${ne}-menu`,rootPrefixCls:oe,dropdownArrowDistance:y/2+a,dropdownArrowOffset:le,dropdownPaddingVertical:ae,dropdownEdgeChildPadding:te});return[Te(he),Me(he)]},Be=>({zIndexPopup:Be.zIndexPopupBase+50}))},25378:function(ft,ut,ee){"use strict";var x=ee(67294),de=ee(14075),pe=ee(57838),De=ee(74443);function we(){let ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ie=(0,x.useRef)({}),We=(0,pe.Z)(),Me=(0,De.ZP)();return(0,de.Z)(()=>{const Te=Me.subscribe(ze=>{ie.current=ze,ke&&We()});return()=>Me.unsubscribe(Te)},[]),ie.current}ut.Z=we},71322:function(ft,ut,ee){"use strict";ee.d(ut,{D:function(){return z},Z:function(){return re}});var x=ee(87462),de=ee(67294),pe={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"},De=pe,we=ee(74643),ke=function(le,he){return de.createElement(we.Z,(0,x.Z)({},le,{ref:he,icon:De}))},ie=de.forwardRef(ke),We=ee(22751),Me=ee(91034),Te=ee(94184),ze=ee.n(Te),Be=ee(10366),oe=ae=>!isNaN(parseFloat(ae))&&isFinite(ae),a=ee(53124),y=ee(84321),b=function(ae,le){var he={};for(var ve in ae)Object.prototype.hasOwnProperty.call(ae,ve)&&le.indexOf(ve)<0&&(he[ve]=ae[ve]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,ve=Object.getOwnPropertySymbols(ae);Ce<ve.length;Ce++)le.indexOf(ve[Ce])<0&&Object.prototype.propertyIsEnumerable.call(ae,ve[Ce])&&(he[ve[Ce]]=ae[ve[Ce]]);return he};const E={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},z=de.createContext({}),te=(()=>{let ae=0;return function(){let le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ae+=1,`${le}${ae}`}})();var re=de.forwardRef((ae,le)=>{const{prefixCls:he,className:ve,trigger:Ce,children:be,defaultCollapsed:ye=!1,theme:Ae="dark",style:Ne={},collapsible:Xe=!1,reverseArrow:Le=!1,width:Ge=200,collapsedWidth:He=80,zeroWidthTriggerStyle:Ke,breakpoint:qe,onCollapse:it,onBreakpoint:mt}=ae,Yt=b(ae,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:cn}=(0,de.useContext)(y.Gs),[rt,Pt]=(0,de.useState)("collapsed"in ae?ae.collapsed:ye),[Lt,ct]=(0,de.useState)(!1);(0,de.useEffect)(()=>{"collapsed"in ae&&Pt(ae.collapsed)},[ae.collapsed]);const Ft=(In,at)=>{"collapsed"in ae||Pt(In),it==null||it(In,at)},jt=(0,de.useRef)();jt.current=In=>{ct(In.matches),mt==null||mt(In.matches),rt!==In.matches&&Ft(In.matches,"responsive")},(0,de.useEffect)(()=>{function In(lt){return jt.current(lt)}let at;if(typeof window!="undefined"){const{matchMedia:lt}=window;if(lt&&qe&&qe in E){at=lt(`(max-width: ${E[qe]})`);try{at.addEventListener("change",In)}catch(dt){at.addListener(In)}In(at)}}return()=>{try{at==null||at.removeEventListener("change",In)}catch(lt){at==null||at.removeListener(In)}}},[qe]),(0,de.useEffect)(()=>{const In=te("ant-sider-");return cn.addSider(In),()=>cn.removeSider(In)},[]);const _e=()=>{Ft(!rt,"clickTrigger")},{getPrefixCls:En}=(0,de.useContext)(a.E_),Fn=()=>{const In=En("layout-sider",he),at=(0,Be.Z)(Yt,["collapsed"]),lt=rt?He:Ge,dt=oe(lt)?`${lt}px`:String(lt),At=parseFloat(String(He||0))===0?de.createElement("span",{onClick:_e,className:ze()(`${In}-zero-width-trigger`,`${In}-zero-width-trigger-${Le?"right":"left"}`),style:Ke},Ce||de.createElement(ie,null)):null,Xt={expanded:Le?de.createElement(Me.Z,null):de.createElement(We.Z,null),collapsed:Le?de.createElement(We.Z,null):de.createElement(Me.Z,null)}[rt?"collapsed":"expanded"],Ot=Ce!==null?At||de.createElement("div",{className:`${In}-trigger`,onClick:_e,style:{width:dt}},Ce||Xt):null,bt=Object.assign(Object.assign({},Ne),{flex:`0 0 ${dt}`,maxWidth:dt,minWidth:dt,width:dt}),on=ze()(In,`${In}-${Ae}`,{[`${In}-collapsed`]:!!rt,[`${In}-has-trigger`]:Xe&&Ce!==null&&!At,[`${In}-below`]:!!Lt,[`${In}-zero-width`]:parseFloat(dt)===0},ve);return de.createElement("aside",Object.assign({className:on},at,{style:bt,ref:le}),de.createElement("div",{className:`${In}-children`},be),Xe||Lt&&At?Ot:null)},ha=de.useMemo(()=>({siderCollapsed:rt}),[rt]);return de.createElement(z.Provider,{value:ha},Fn())})},84321:function(ft,ut,ee){"use strict";ee.d(ut,{VY:function(){return te},$_:function(){return z},h4:function(){return E},Gs:function(){return me},ZP:function(){return ne}});var x=ee(74902),de=ee(94184),pe=ee.n(de),De=ee(10366),we=ee(67294),ke=ee(53124),ie=ee(67968),Me=re=>{const{componentCls:ae,bodyBg:le,lightSiderBg:he,lightTriggerBg:ve,lightTriggerColor:Ce}=re;return{[`${ae}-sider-light`]:{background:he,[`${ae}-sider-trigger`]:{color:Ce,background:ve},[`${ae}-sider-zero-width-trigger`]:{color:Ce,background:ve,border:`1px solid ${le}`,borderInlineStart:0}}}};const Te=re=>{const{antCls:ae,componentCls:le,colorText:he,triggerColor:ve,footerBg:Ce,triggerBg:be,headerHeight:ye,headerPadding:Ae,headerColor:Ne,footerPadding:Xe,triggerHeight:Le,zeroTriggerHeight:Ge,zeroTriggerWidth:He,motionDurationMid:Ke,motionDurationSlow:qe,fontSize:it,borderRadius:mt,bodyBg:Yt,headerBg:cn,siderBg:rt}=re;return{[le]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Yt,"&, *":{boxSizing:"border-box"},[`&${le}-has-sider`]:{flexDirection:"row",[`> ${le}, > ${le}-content`]:{width:0}},[`${le}-header, &${le}-footer`]:{flex:"0 0 auto"},[`${le}-sider`]:{position:"relative",minWidth:0,background:rt,transition:`all ${Ke}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ae}-menu${ae}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Le},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Le,color:ve,lineHeight:`${Le}px`,textAlign:"center",background:be,cursor:"pointer",transition:`all ${Ke}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:ye,insetInlineEnd:-He,zIndex:1,width:He,height:Ge,color:ve,fontSize:re.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:rt,borderStartStartRadius:0,borderStartEndRadius:mt,borderEndEndRadius:mt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${qe} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${qe}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-He,borderStartStartRadius:mt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:mt}}}}},Me(re)),{"&-rtl":{direction:"rtl"}}),[`${le}-header`]:{height:ye,padding:Ae,color:Ne,lineHeight:`${ye}px`,background:cn,[`${ae}-menu`]:{lineHeight:"inherit"}},[`${le}-footer`]:{padding:Xe,color:he,fontSize:it,background:Ce},[`${le}-content`]:{flex:"auto",minHeight:0}}};var ze=(0,ie.Z)("Layout",re=>[Te(re)],re=>{const{colorBgLayout:ae,controlHeight:le,controlHeightLG:he,colorText:ve,controlHeightSM:Ce,marginXXS:be,colorTextLightSolid:ye,colorBgContainer:Ae}=re,Ne=he*1.25;return{colorBgHeader:"#001529",colorBgBody:ae,colorBgTrigger:"#002140",bodyBg:ae,headerBg:"#001529",headerHeight:le*2,headerPadding:`0 ${Ne}px`,headerColor:ve,footerPadding:`${Ce}px ${Ne}px`,footerBg:ae,siderBg:"#001529",triggerHeight:he+be*2,triggerBg:"#002140",triggerColor:ye,zeroTriggerWidth:he,zeroTriggerHeight:he,lightSiderBg:Ae,lightTriggerBg:Ae,lightTriggerColor:ve}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Be=function(re,ae){var le={};for(var he in re)Object.prototype.hasOwnProperty.call(re,he)&&ae.indexOf(he)<0&&(le[he]=re[he]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,he=Object.getOwnPropertySymbols(re);ve<he.length;ve++)ae.indexOf(he[ve])<0&&Object.prototype.propertyIsEnumerable.call(re,he[ve])&&(le[he[ve]]=re[he[ve]]);return le};const me=we.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function oe(re){let{suffixCls:ae,tagName:le,displayName:he}=re;return ve=>we.forwardRef((be,ye)=>we.createElement(ve,Object.assign({ref:ye,suffixCls:ae,tagName:le},be)))}const a=we.forwardRef((re,ae)=>{const{prefixCls:le,suffixCls:he,className:ve,tagName:Ce}=re,be=Be(re,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:ye}=we.useContext(ke.E_),Ae=ye("layout",le),[Ne,Xe]=ze(Ae),Le=he?`${Ae}-${he}`:Ae;return Ne(we.createElement(Ce,Object.assign({className:pe()(le||Le,ve,Xe),ref:ae},be)))}),y=we.forwardRef((re,ae)=>{const{direction:le}=we.useContext(ke.E_),[he,ve]=we.useState([]),{prefixCls:Ce,className:be,rootClassName:ye,children:Ae,hasSider:Ne,tagName:Xe,style:Le}=re,Ge=Be(re,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),He=(0,De.Z)(Ge,["suffixCls"]),{getPrefixCls:Ke,layout:qe}=we.useContext(ke.E_),it=Ke("layout",Ce),[mt,Yt]=ze(it),cn=pe()(it,{[`${it}-has-sider`]:typeof Ne=="boolean"?Ne:he.length>0,[`${it}-rtl`]:le==="rtl"},qe==null?void 0:qe.className,be,ye,Yt),rt=we.useMemo(()=>({siderHook:{addSider:Pt=>{ve(Lt=>[].concat((0,x.Z)(Lt),[Pt]))},removeSider:Pt=>{ve(Lt=>Lt.filter(ct=>ct!==Pt))}}}),[]);return mt(we.createElement(me.Provider,{value:rt},we.createElement(Xe,Object.assign({ref:ae,className:cn,style:Object.assign(Object.assign({},qe==null?void 0:qe.style),Le)},He),Ae)))}),b=oe({tagName:"div",displayName:"Layout"})(y),E=oe({suffixCls:"header",tagName:"header",displayName:"Header"})(a),z=oe({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),te=oe({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var ne=b},76529:function(ft,ut,ee){"use strict";ee.d(ut,{J:function(){return ke}});var x=ee(67294),de=ee(4173),pe=ee(60276),De=function(ie,We){var Me={};for(var Te in ie)Object.prototype.hasOwnProperty.call(ie,Te)&&We.indexOf(Te)<0&&(Me[Te]=ie[Te]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,Te=Object.getOwnPropertySymbols(ie);ze<Te.length;ze++)We.indexOf(Te[ze])<0&&Object.prototype.propertyIsEnumerable.call(ie,Te[ze])&&(Me[Te[ze]]=ie[Te[ze]]);return Me};const we=x.createContext(null),ke=x.forwardRef((ie,We)=>{const{children:Me}=ie,Te=De(ie,["children"]),ze=x.useContext(we),Be=x.useMemo(()=>Object.assign(Object.assign({},ze),Te),[ze,Te.prefixCls,Te.mode,Te.selectable]);return x.createElement(we.Provider,{value:Be},x.createElement(de.BR,null,(0,pe.supportNodeRef)(Me)?x.cloneElement(Me,{ref:We}):Me))});ut.Z=we},68508:function(ft,ut,ee){"use strict";ee.d(ut,{default:function(){return In}});var x=ee(78595),de=ee(67294),pe=ee(71322),De=ee(94184),we=ee.n(De),ke=ee(53124),ie=function(at,lt){var dt={};for(var At in at)Object.prototype.hasOwnProperty.call(at,At)&&lt.indexOf(At)<0&&(dt[At]=at[At]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,At=Object.getOwnPropertySymbols(at);Et<At.length;Et++)lt.indexOf(At[Et])<0&&Object.prototype.propertyIsEnumerable.call(at,At[Et])&&(dt[At[Et]]=at[At[Et]]);return dt},Me=at=>{const{prefixCls:lt,className:dt,dashed:At}=at,Et=ie(at,["prefixCls","className","dashed"]),{getPrefixCls:gt}=de.useContext(ke.E_),Xt=gt("menu",lt),Ot=we()({[`${Xt}-item-divider-dashed`]:!!At},dt);return de.createElement(x.iz,Object.assign({className:Ot},Et))},Te=ee(37419),ze=ee(10366),Be=ee(83062),me=ee(96159),a=(0,de.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),b=at=>{var lt;const{className:dt,children:At,icon:Et,title:gt,danger:Xt}=at,{prefixCls:Ot,firstLevel:bt,direction:on,disableMenuItemTitleTooltip:Jt,inlineCollapsed:$e}=de.useContext(a),Re=Ue=>{const Ct=de.createElement("span",{className:`${Ot}-title-content`},At);return(!Et||(0,me.l$)(At)&&At.type==="span")&&At&&Ue&&bt&&typeof At=="string"?de.createElement("div",{className:`${Ot}-inline-collapsed-noicon`},At.charAt(0)):Ct},{siderCollapsed:Nn}=de.useContext(pe.D);let xe=gt;typeof gt=="undefined"?xe=bt?At:"":gt===!1&&(xe="");const je={title:xe};!Nn&&!$e&&(je.title=null,je.open=!1);const Ht=(0,Te.Z)(At).length;let et=de.createElement(x.ck,Object.assign({},(0,ze.Z)(at,["title","icon","danger"]),{className:we()({[`${Ot}-item-danger`]:Xt,[`${Ot}-item-only-child`]:(Et?Ht+1:Ht)===1},dt),title:typeof gt=="string"?gt:void 0}),(0,me.Tm)(Et,{className:we()((0,me.l$)(Et)?(lt=Et.props)===null||lt===void 0?void 0:lt.className:"",`${Ot}-item-icon`)}),Re($e));return Jt||(et=de.createElement(Be.Z,Object.assign({},je,{placement:on==="rtl"?"left":"right",overlayClassName:`${Ot}-inline-collapsed-tooltip`}),et)),et},z=at=>{var lt;const{popupClassName:dt,icon:At,title:Et,theme:gt}=at,Xt=de.useContext(a),{prefixCls:Ot,inlineCollapsed:bt,theme:on}=Xt,Jt=(0,x.Xl)();let $e;if(!At)$e=bt&&!Jt.length&&Et&&typeof Et=="string"?de.createElement("div",{className:`${Ot}-inline-collapsed-noicon`},Et.charAt(0)):de.createElement("span",{className:`${Ot}-title-content`},Et);else{const Nn=(0,me.l$)(Et)&&Et.type==="span";$e=de.createElement(de.Fragment,null,(0,me.Tm)(At,{className:we()((0,me.l$)(At)?(lt=At.props)===null||lt===void 0?void 0:lt.className:"",`${Ot}-item-icon`)}),Nn?Et:de.createElement("span",{className:`${Ot}-title-content`},Et))}const Re=de.useMemo(()=>Object.assign(Object.assign({},Xt),{firstLevel:!1}),[Xt]);return de.createElement(a.Provider,{value:Re},de.createElement(x.Wd,Object.assign({},(0,ze.Z)(at,["icon"]),{title:$e,popupClassName:we()(Ot,dt,`${Ot}-${gt||on}`)})))},te=ee(25877),ne=ee(60276),re=ee(33603),ae=ee(76529),le=function(at,lt){var dt={};for(var At in at)Object.prototype.hasOwnProperty.call(at,At)&&lt.indexOf(At)<0&&(dt[At]=at[At]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,At=Object.getOwnPropertySymbols(at);Et<At.length;Et++)lt.indexOf(At[Et])<0&&Object.prototype.propertyIsEnumerable.call(at,At[Et])&&(dt[At[Et]]=at[At[Et]]);return dt};function he(at){return(at||[]).map((lt,dt)=>{if(lt&&typeof lt=="object"){const At=lt,{label:Et,children:gt,key:Xt,type:Ot}=At,bt=le(At,["label","children","key","type"]),on=Xt!=null?Xt:`tmp-${dt}`;return gt||Ot==="group"?Ot==="group"?de.createElement(x.BW,Object.assign({key:on},bt,{title:Et}),he(gt)):de.createElement(z,Object.assign({key:on},bt,{title:Et}),he(gt)):Ot==="divider"?de.createElement(Me,Object.assign({key:on},bt)):de.createElement(b,Object.assign({key:on},bt),Et)}return null}).filter(lt=>lt)}function ve(at){return de.useMemo(()=>at&&he(at),[at])}var Ce=ee(84780),be=ee(14747),ye=ee(33507),Ae=ee(67771),Ne=ee(50438),Xe=ee(67968),Le=ee(45503),He=at=>{const{componentCls:lt,motionDurationSlow:dt,horizontalLineHeight:At,colorSplit:Et,lineWidth:gt,lineType:Xt,itemPaddingInline:Ot}=at;return{[`${lt}-horizontal`]:{lineHeight:At,border:0,borderBottom:`${gt}px ${Xt} ${Et}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${lt}-item, ${lt}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Ot},[`> ${lt}-item:hover,
> ${lt}-item-active,
> ${lt}-submenu ${lt}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${lt}-item, ${lt}-submenu-title`]:{transition:[`border-color ${dt}`,`background ${dt}`].join(",")},[`${lt}-submenu-arrow`]:{display:"none"}}}},qe=at=>{let{componentCls:lt,menuArrowOffset:dt}=at;return{[`${lt}-rtl`]:{direction:"rtl"},[`${lt}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${lt}-rtl${lt}-vertical,
${lt}-submenu-rtl ${lt}-vertical`]:{[`${lt}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${dt})`},"&::after":{transform:`rotate(45deg) translateY(${dt})`}}}}};const it=at=>Object.assign({},(0,be.oN)(at));var Yt=(at,lt)=>{const{componentCls:dt,itemColor:At,itemSelectedColor:Et,groupTitleColor:gt,itemBg:Xt,subMenuItemBg:Ot,itemSelectedBg:bt,activeBarHeight:on,activeBarWidth:Jt,activeBarBorderWidth:$e,motionDurationSlow:Re,motionEaseInOut:Nn,motionEaseOut:xe,itemPaddingInline:je,motionDurationMid:Ht,itemHoverColor:et,lineType:Ue,colorSplit:Ct,itemDisabledColor:yt,dangerItemColor:kt,dangerItemHoverColor:Pn,dangerItemSelectedColor:Nt,dangerItemActiveBg:Tt,dangerItemSelectedBg:St,itemHoverBg:tn,itemActiveBg:Kt,menuSubMenuBg:mn,horizontalItemSelectedColor:Qn,horizontalItemSelectedBg:wn,horizontalItemBorderRadius:Wn,horizontalItemHoverBg:ma,popupBg:_t}=at;return{[`${dt}-${lt}, ${dt}-${lt} > ${dt}`]:{color:At,background:Xt,[`&${dt}-root:focus-visible`]:Object.assign({},it(at)),[`${dt}-item-group-title`]:{color:gt},[`${dt}-submenu-selected`]:{[`> ${dt}-submenu-title`]:{color:Et}},[`${dt}-item-disabled, ${dt}-submenu-disabled`]:{color:`${yt} !important`},[`${dt}-item:not(${dt}-item-selected):not(${dt}-submenu-selected)`]:{[`&:hover, > ${dt}-submenu-title:hover`]:{color:et}},[`&:not(${dt}-horizontal)`]:{[`${dt}-item:not(${dt}-item-selected)`]:{"&:hover":{backgroundColor:tn},"&:active":{backgroundColor:Kt}},[`${dt}-submenu-title`]:{"&:hover":{backgroundColor:tn},"&:active":{backgroundColor:Kt}}},[`${dt}-item-danger`]:{color:kt,[`&${dt}-item:hover`]:{[`&:not(${dt}-item-selected):not(${dt}-submenu-selected)`]:{color:Pn}},[`&${dt}-item:active`]:{background:Tt}},[`${dt}-item a`]:{"&, &:hover":{color:"inherit"}},[`${dt}-item-selected`]:{color:Et,[`&${dt}-item-danger`]:{color:Nt},"a, a:hover":{color:"inherit"}},[`& ${dt}-item-selected`]:{backgroundColor:bt,[`&${dt}-item-danger`]:{backgroundColor:St}},[`${dt}-item, ${dt}-submenu-title`]:{[`&:not(${dt}-item-disabled):focus-visible`]:Object.assign({},it(at))},[`&${dt}-submenu > ${dt}`]:{backgroundColor:mn},[`&${dt}-popup > ${dt}`]:{backgroundColor:_t},[`&${dt}-horizontal`]:Object.assign(Object.assign({},lt==="dark"?{borderBottom:0}:{}),{[`> ${dt}-item, > ${dt}-submenu`]:{top:$e,marginTop:-$e,marginBottom:0,borderRadius:Wn,"&::after":{position:"absolute",insetInline:je,bottom:0,borderBottom:`${on}px solid transparent`,transition:`border-color ${Re} ${Nn}`,content:'""'},"&:hover, &-active, &-open":{background:ma,"&::after":{borderBottomWidth:on,borderBottomColor:Qn}},"&-selected":{color:Qn,backgroundColor:wn,"&:hover":{backgroundColor:wn},"&::after":{borderBottomWidth:on,borderBottomColor:Qn}}}}),[`&${dt}-root`]:{[`&${dt}-inline, &${dt}-vertical`]:{borderInlineEnd:`${$e}px ${Ue} ${Ct}`}},[`&${dt}-inline`]:{[`${dt}-sub${dt}-inline`]:{background:Ot},[`${dt}-item, ${dt}-submenu-title`]:$e&&Jt?{width:`calc(100% + ${$e}px)`}:{},[`${dt}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Jt}px solid ${Et}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Ht} ${xe}`,`opacity ${Ht} ${xe}`].join(","),content:'""'},[`&${dt}-item-danger`]:{"&::after":{borderInlineEndColor:Nt}}},[`${dt}-selected, ${dt}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Ht} ${Nn}`,`opacity ${Ht} ${Nn}`].join(",")}}}}}};const cn=at=>{const{componentCls:lt,itemHeight:dt,itemMarginInline:At,padding:Et,menuArrowSize:gt,marginXS:Xt,itemMarginBlock:Ot}=at,bt=Et+gt+Xt;return{[`${lt}-item`]:{position:"relative",overflow:"hidden"},[`${lt}-item, ${lt}-submenu-title`]:{height:dt,lineHeight:`${dt}px`,paddingInline:Et,overflow:"hidden",textOverflow:"ellipsis",marginInline:At,marginBlock:Ot,width:`calc(100% - ${At*2}px)`},[`> ${lt}-item,
> ${lt}-submenu > ${lt}-submenu-title`]:{height:dt,lineHeight:`${dt}px`},[`${lt}-item-group-list ${lt}-submenu-title,
${lt}-submenu-title`]:{paddingInlineEnd:bt}}};var Pt=at=>{const{componentCls:lt,iconCls:dt,itemHeight:At,colorTextLightSolid:Et,dropdownWidth:gt,controlHeightLG:Xt,motionDurationMid:Ot,motionEaseOut:bt,paddingXL:on,itemMarginInline:Jt,fontSizeLG:$e,motionDurationSlow:Re,paddingXS:Nn,boxShadowSecondary:xe,collapsedWidth:je,collapsedIconSize:Ht}=at,et={height:At,lineHeight:`${At}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[lt]:{"&-inline, &-vertical":Object.assign({[`&${lt}-root`]:{boxShadow:"none"}},cn(at))},[`${lt}-submenu-popup`]:{[`${lt}-vertical`]:Object.assign(Object.assign({},cn(at)),{boxShadow:xe})}},{[`${lt}-submenu-popup ${lt}-vertical${lt}-sub`]:{minWidth:gt,maxHeight:`calc(100vh - ${Xt*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${lt}-inline`]:{width:"100%",[`&${lt}-root`]:{[`${lt}-item, ${lt}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Re}`,`background ${Re}`,`padding ${Ot} ${bt}`].join(","),[`> ${lt}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${lt}-sub${lt}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${lt}-submenu > ${lt}-submenu-title`]:et,[`& ${lt}-item-group-title`]:{paddingInlineStart:on}},[`${lt}-item`]:et}},{[`${lt}-inline-collapsed`]:{width:je,[`&${lt}-root`]:{[`${lt}-item, ${lt}-submenu ${lt}-submenu-title`]:{[`> ${lt}-inline-collapsed-noicon`]:{fontSize:$e,textAlign:"center"}}},[`> ${lt}-item,
> ${lt}-item-group > ${lt}-item-group-list > ${lt}-item,
> ${lt}-item-group > ${lt}-item-group-list > ${lt}-submenu > ${lt}-submenu-title,
> ${lt}-submenu > ${lt}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${$e/2}px - ${Jt}px)`,textOverflow:"clip",[`
${lt}-submenu-arrow,
${lt}-submenu-expand-icon
`]:{opacity:0},[`${lt}-item-icon, ${dt}`]:{margin:0,fontSize:Ht,lineHeight:`${At}px`,"+ span":{display:"inline-block",opacity:0}}},[`${lt}-item-icon, ${dt}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${lt}-item-icon, ${dt}`]:{display:"none"},"a, a:hover":{color:Et}},[`${lt}-item-group-title`]:Object.assign(Object.assign({},be.vS),{paddingInline:Nn})}}]};const Lt=at=>{const{componentCls:lt,motionDurationSlow:dt,motionDurationMid:At,motionEaseInOut:Et,motionEaseOut:gt,iconCls:Xt,iconSize:Ot,iconMarginInlineEnd:bt}=at;return{[`${lt}-item, ${lt}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${dt}`,`background ${dt}`,`padding ${dt} ${Et}`].join(","),[`${lt}-item-icon, ${Xt}`]:{minWidth:Ot,fontSize:Ot,transition:[`font-size ${At} ${gt}`,`margin ${dt} ${Et}`,`color ${dt}`].join(","),"+ span":{marginInlineStart:bt,opacity:1,transition:[`opacity ${dt} ${Et}`,`margin ${dt}`,`color ${dt}`].join(",")}},[`${lt}-item-icon`]:Object.assign({},(0,be.Ro)()),[`&${lt}-item-only-child`]:{[`> ${Xt}, > ${lt}-item-icon`]:{marginInlineEnd:0}}},[`${lt}-item-disabled, ${lt}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${lt}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},ct=at=>{const{componentCls:lt,motionDurationSlow:dt,motionEaseInOut:At,borderRadius:Et,menuArrowSize:gt,menuArrowOffset:Xt}=at;return{[`${lt}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:at.margin,width:gt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${dt} ${At}, opacity ${dt}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:gt*.6,height:gt*.15,backgroundColor:"currentcolor",borderRadius:Et,transition:[`background ${dt} ${At}`,`transform ${dt} ${At}`,`top ${dt} ${At}`,`color ${dt} ${At}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Xt})`},"&::after":{transform:`rotate(-45deg) translateY(${Xt})`}}}}},Ft=at=>{const{antCls:lt,componentCls:dt,fontSize:At,motionDurationSlow:Et,motionDurationMid:gt,motionEaseInOut:Xt,paddingXS:Ot,padding:bt,colorSplit:on,lineWidth:Jt,zIndexPopup:$e,borderRadiusLG:Re,subMenuItemBorderRadius:Nn,menuArrowSize:xe,menuArrowOffset:je,lineType:Ht,menuPanelMaskInset:et,groupTitleLineHeight:Ue,groupTitleFontSize:Ct}=at;return[{"":{[`${dt}`]:Object.assign(Object.assign({},(0,be.dF)()),{"&-hidden":{display:"none"}})},[`${dt}-submenu-hidden`]:{display:"none"}},{[dt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,be.Wf)(at)),(0,be.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:At,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Et} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${dt}-item`]:{flex:"none"}},[`${dt}-item, ${dt}-submenu, ${dt}-submenu-title`]:{borderRadius:at.itemBorderRadius},[`${dt}-item-group-title`]:{padding:`${Ot}px ${bt}px`,fontSize:Ct,lineHeight:Ue,transition:`all ${Et}`},[`&-horizontal ${dt}-submenu`]:{transition:[`border-color ${Et} ${Xt}`,`background ${Et} ${Xt}`].join(",")},[`${dt}-submenu, ${dt}-submenu-inline`]:{transition:[`border-color ${Et} ${Xt}`,`background ${Et} ${Xt}`,`padding ${gt} ${Xt}`].join(",")},[`${dt}-submenu ${dt}-sub`]:{cursor:"initial",transition:[`background ${Et} ${Xt}`,`padding ${Et} ${Xt}`].join(",")},[`${dt}-title-content`]:{transition:`color ${Et}`},[`${dt}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${dt}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:on,borderStyle:Ht,borderWidth:0,borderTopWidth:Jt,marginBlock:Jt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Lt(at)),{[`${dt}-item-group`]:{[`${dt}-item-group-list`]:{margin:0,padding:0,[`${dt}-item, ${dt}-submenu-title`]:{paddingInline:`${At*2}px ${bt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:$e,borderRadius:Re,boxShadow:"none",transformOrigin:"0 0",[`&${dt}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${et}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:et},"\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:at.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:at.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:at.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:at.paddingXS},[`> ${dt}`]:Object.assign(Object.assign(Object.assign({borderRadius:Re},Lt(at)),ct(at)),{[`${dt}-item, ${dt}-submenu > ${dt}-submenu-title`]:{borderRadius:Nn},[`${dt}-submenu-title::after`]:{transition:`transform ${Et} ${Xt}`}})}}),ct(at)),{[`&-inline-collapsed ${dt}-submenu-arrow,
&-inline ${dt}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${je})`},"&::after":{transform:`rotate(45deg) translateX(-${je})`}},[`${dt}-submenu-open${dt}-submenu-inline > ${dt}-submenu-title > ${dt}-submenu-arrow`]:{transform:`translateY(-${xe*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${je})`},"&::before":{transform:`rotate(45deg) translateX(${je})`}}})},{[`${lt}-layout-header`]:{[dt]:{lineHeight:"inherit"}}}]};var jt=(at,lt)=>(0,Xe.Z)("Menu",At=>{if(lt===!1)return[];const{colorBgElevated:Et,colorPrimary:gt,colorTextLightSolid:Xt,controlHeightLG:Ot,fontSize:bt,darkItemColor:on,darkDangerItemColor:Jt,darkItemBg:$e,darkSubMenuItemBg:Re,darkItemSelectedColor:Nn,darkItemSelectedBg:xe,darkDangerItemSelectedBg:je,darkItemHoverBg:Ht,darkGroupTitleColor:et,darkItemHoverColor:Ue,darkItemDisabledColor:Ct,darkDangerItemHoverColor:yt,darkDangerItemSelectedColor:kt,darkDangerItemActiveBg:Pn}=At,Nt=bt/7*5,Tt=(0,Le.TS)(At,{menuArrowSize:Nt,menuHorizontalHeight:Ot*1.15,menuArrowOffset:`${Nt*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Et}),St=(0,Le.TS)(Tt,{itemColor:on,itemHoverColor:Ue,groupTitleColor:et,itemSelectedColor:Nn,itemBg:$e,popupBg:$e,subMenuItemBg:Re,itemActiveBg:"transparent",itemSelectedBg:xe,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Ht,itemDisabledColor:Ct,dangerItemColor:Jt,dangerItemHoverColor:yt,dangerItemSelectedColor:kt,dangerItemActiveBg:Pn,dangerItemSelectedBg:je,menuSubMenuBg:Re,horizontalItemSelectedColor:Xt,horizontalItemSelectedBg:gt});return[Ft(Tt),He(Tt),Pt(Tt),Yt(Tt,"light"),Yt(St,"dark"),qe(Tt),(0,ye.Z)(Tt),(0,Ae.oN)(Tt,"slide-up"),(0,Ae.oN)(Tt,"slide-down"),(0,Ne._y)(Tt,"zoom-big")]},At=>{const{colorPrimary:Et,colorError:gt,colorTextDisabled:Xt,colorErrorBg:Ot,colorText:bt,colorTextDescription:on,colorBgContainer:Jt,colorFillAlter:$e,colorFillContent:Re,lineWidth:Nn,lineWidthBold:xe,controlItemBgActive:je,colorBgTextHover:Ht,controlHeightLG:et,lineHeight:Ue,colorBgElevated:Ct,marginXXS:yt,padding:kt,fontSize:Pn,controlHeightSM:Nt,fontSizeLG:Tt,colorTextLightSolid:St,colorErrorHover:tn}=At,Kt=new Ce.C(St).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:At.zIndexPopupBase+50,radiusItem:At.borderRadiusLG,itemBorderRadius:At.borderRadiusLG,radiusSubMenuItem:At.borderRadiusSM,subMenuItemBorderRadius:At.borderRadiusSM,colorItemText:bt,itemColor:bt,colorItemTextHover:bt,itemHoverColor:bt,colorItemTextHoverHorizontal:Et,horizontalItemHoverColor:Et,colorGroupTitle:on,groupTitleColor:on,colorItemTextSelected:Et,itemSelectedColor:Et,colorItemTextSelectedHorizontal:Et,horizontalItemSelectedColor:Et,colorItemBg:Jt,itemBg:Jt,colorItemBgHover:Ht,itemHoverBg:Ht,colorItemBgActive:Re,itemActiveBg:je,colorSubItemBg:$e,subMenuItemBg:$e,colorItemBgSelected:je,itemSelectedBg:je,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:xe,activeBarHeight:xe,colorActiveBarBorderSize:Nn,activeBarBorderWidth:Nn,colorItemTextDisabled:Xt,itemDisabledColor:Xt,colorDangerItemText:gt,dangerItemColor:gt,colorDangerItemTextHover:gt,dangerItemHoverColor:gt,colorDangerItemTextSelected:gt,dangerItemSelectedColor:gt,colorDangerItemBgActive:Ot,dangerItemActiveBg:Ot,colorDangerItemBgSelected:Ot,dangerItemSelectedBg:Ot,itemMarginInline:At.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:et,groupTitleLineHeight:Ue,collapsedWidth:et*2,popupBg:Ct,itemMarginBlock:yt,itemPaddingInline:kt,horizontalLineHeight:`${et*1.15}px`,iconSize:Pn,iconMarginInlineEnd:Nt-Pn,collapsedIconSize:Tt,groupTitleFontSize:Pn,darkItemDisabledColor:new Ce.C(St).setAlpha(.25).toRgbString(),darkItemColor:Kt,darkDangerItemColor:gt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:St,darkItemSelectedBg:Et,darkDangerItemSelectedBg:gt,darkItemHoverBg:"transparent",darkGroupTitleColor:Kt,darkItemHoverColor:St,darkDangerItemHoverColor:tn,darkDangerItemSelectedColor:St,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"]]})(at),_e=function(at,lt){var dt={};for(var At in at)Object.prototype.hasOwnProperty.call(at,At)&&lt.indexOf(At)<0&&(dt[At]=at[At]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,At=Object.getOwnPropertySymbols(at);Et<At.length;Et++)lt.indexOf(At[Et])<0&&Object.prototype.propertyIsEnumerable.call(at,At[Et])&&(dt[At[Et]]=at[At[Et]]);return dt},Fn=(0,de.forwardRef)((at,lt)=>{var dt,At;const Et=de.useContext(ae.Z),gt=Et||{},{getPrefixCls:Xt,getPopupContainer:Ot,direction:bt,menu:on}=de.useContext(ke.E_),Jt=Xt(),{prefixCls:$e,className:Re,style:Nn,theme:xe="light",expandIcon:je,_internalDisableMenuItemTitleTooltip:Ht,inlineCollapsed:et,siderCollapsed:Ue,items:Ct,children:yt,rootClassName:kt,mode:Pn,selectable:Nt,onClick:Tt,overflowedIndicatorPopupClassName:St}=at,tn=_e(at,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Kt=(0,ze.Z)(tn,["collapsedWidth"]),mn=ve(Ct)||yt;(dt=gt.validator)===null||dt===void 0||dt.call(gt,{mode:Pn});const Qn=(0,ne.useEvent)(function(){var Ia;Tt==null||Tt.apply(void 0,arguments),(Ia=gt.onClick)===null||Ia===void 0||Ia.call(gt)}),wn=gt.mode||Pn,Wn=Nt!=null?Nt:gt.selectable,ma=de.useMemo(()=>Ue!==void 0?Ue:et,[et,Ue]),_t={horizontal:{motionName:`${Jt}-slide-up`},inline:(0,re.Z)(Jt),other:{motionName:`${Jt}-zoom-big`}},Vt=Xt("menu",$e||gt.prefixCls),[en,la]=jt(Vt,!Et),aa=we()(`${Vt}-${xe}`,on==null?void 0:on.className,Re);let jn;if(typeof je=="function")jn=je;else if(je===null||je===!1)jn=null;else if(gt.expandIcon===null||gt.expandIcon===!1)jn=null;else{const Ia=je!=null?je:gt.expandIcon;jn=(0,me.Tm)(Ia,{className:we()(`${Vt}-submenu-expand-icon`,(0,me.l$)(Ia)?(At=Ia.props)===null||At===void 0?void 0:At.className:"")})}const Oa=de.useMemo(()=>({prefixCls:Vt,inlineCollapsed:ma||!1,direction:bt,firstLevel:!0,theme:xe,mode:wn,disableMenuItemTitleTooltip:Ht}),[Vt,ma,bt,Ht,xe]);return en(de.createElement(ae.Z.Provider,{value:null},de.createElement(a.Provider,{value:Oa},de.createElement(x.ZP,Object.assign({getPopupContainer:Ot,overflowedIndicator:de.createElement(te.Z,null),overflowedIndicatorPopupClassName:we()(Vt,`${Vt}-${xe}`,St),mode:wn,selectable:Wn,onClick:Qn},Kt,{inlineCollapsed:ma,style:Object.assign(Object.assign({},on==null?void 0:on.style),Nn),className:aa,prefixCls:Vt,direction:bt,defaultMotions:_t,expandIcon:jn,ref:lt,rootClassName:we()(kt,la)}),mn))))});const ha=(0,de.forwardRef)((at,lt)=>{const dt=(0,de.useRef)(null),At=de.useContext(pe.D);return(0,de.useImperativeHandle)(lt,()=>({menu:dt.current,focus:Et=>{var gt;(gt=dt.current)===null||gt===void 0||gt.focus(Et)}})),de.createElement(Fn,Object.assign({ref:dt},at,At))});ha.Item=b,ha.SubMenu=z,ha.Divider=Me,ha.ItemGroup=x.BW;var In=ha},28452:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return Jt}});var x=ee(87462),de=ee(67294),pe={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"},De=pe,we=ee(74643),ke=function(Re,Nn){return de.createElement(we.Z,(0,x.Z)({},Re,{ref:Nn,icon:De}))},ie=de.forwardRef(ke),We=ee(81893),Me=ee(22751),Te=ee(91034),ze=ee(94184),Be=ee.n(ze),me=ee(4942),oe=ee(1413),a=ee(15671),y=ee(43144),b=ee(60136),E=ee(51630),z=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,te=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,ne="".concat(z," ").concat(te).split(/[\s\n]+/),re="aria-",ae="data-";function le($e,Re){return $e.indexOf(Re)===0}function he($e){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Nn;Re===!1?Nn={aria:!0,data:!0,attr:!0}:Re===!0?Nn={aria:!0}:Nn=(0,oe.Z)({},Re);var xe={};return Object.keys($e).forEach(function(je){(Nn.aria&&(je==="role"||le(je,re))||Nn.data&&le(je,ae)||Nn.attr&&ne.includes(je))&&(xe[je]=$e[je])}),xe}var ve={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},Ce=ve,be=ee(81626),ye=function($e){(0,b.Z)(Nn,$e);var Re=(0,E.Z)(Nn);function Nn(){var xe;(0,a.Z)(this,Nn);for(var je=arguments.length,Ht=new Array(je),et=0;et<je;et++)Ht[et]=arguments[et];return xe=Re.call.apply(Re,[this].concat(Ht)),xe.state={goInputText:""},xe.getValidValue=function(){var Ue=xe.state.goInputText;return!Ue||Number.isNaN(Ue)?void 0:Number(Ue)},xe.buildOptionText=function(Ue){return"".concat(Ue," ").concat(xe.props.locale.items_per_page)},xe.changeSize=function(Ue){xe.props.changeSize(Number(Ue))},xe.handleChange=function(Ue){xe.setState({goInputText:Ue.target.value})},xe.handleBlur=function(Ue){var Ct=xe.props,yt=Ct.goButton,kt=Ct.quickGo,Pn=Ct.rootPrefixCls,Nt=xe.state.goInputText;yt||Nt===""||(xe.setState({goInputText:""}),!(Ue.relatedTarget&&(Ue.relatedTarget.className.indexOf("".concat(Pn,"-item-link"))>=0||Ue.relatedTarget.className.indexOf("".concat(Pn,"-item"))>=0))&&kt(xe.getValidValue()))},xe.go=function(Ue){var Ct=xe.state.goInputText;Ct!==""&&(Ue.keyCode===Ce.ENTER||Ue.type==="click")&&(xe.setState({goInputText:""}),xe.props.quickGo(xe.getValidValue()))},xe}return(0,y.Z)(Nn,[{key:"getPageSizeOptions",value:function(){var je=this.props,Ht=je.pageSize,et=je.pageSizeOptions;return et.some(function(Ue){return Ue.toString()===Ht.toString()})?et:et.concat([Ht.toString()]).sort(function(Ue,Ct){var yt=Number.isNaN(Number(Ue))?0:Number(Ue),kt=Number.isNaN(Number(Ct))?0:Number(Ct);return yt-kt})}},{key:"render",value:function(){var je=this,Ht=this.props,et=Ht.pageSize,Ue=Ht.locale,Ct=Ht.rootPrefixCls,yt=Ht.changeSize,kt=Ht.quickGo,Pn=Ht.goButton,Nt=Ht.selectComponentClass,Tt=Ht.buildOptionText,St=Ht.selectPrefixCls,tn=Ht.disabled,Kt=this.state.goInputText,mn="".concat(Ct,"-options"),Qn=Nt,wn=null,Wn=null,ma=null;if(!yt&&!kt)return null;var _t=this.getPageSizeOptions();if(yt&&Qn){var Vt=_t.map(function(en,la){return de.createElement(Qn.Option,{key:la,value:en.toString()},(Tt||je.buildOptionText)(en))});wn=de.createElement(Qn,{disabled:tn,prefixCls:St,showSearch:!1,className:"".concat(mn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(et||_t[0]).toString(),onChange:this.changeSize,getPopupContainer:function(la){return la.parentNode},"aria-label":Ue.page_size,defaultOpen:!1},Vt)}return kt&&(Pn&&(ma=typeof Pn=="boolean"?de.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:tn,className:"".concat(mn,"-quick-jumper-button")},Ue.jump_to_confirm):de.createElement("span",{onClick:this.go,onKeyUp:this.go},Pn)),Wn=de.createElement("div",{className:"".concat(mn,"-quick-jumper")},Ue.jump_to,de.createElement("input",{disabled:tn,type:"text",value:Kt,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Ue.page}),Ue.page,ma)),de.createElement("li",{className:"".concat(mn)},wn,Wn)}}]),Nn}(de.Component);ye.defaultProps={pageSizeOptions:["10","20","50","100"]};var Ae=ye,Ne=function(Re){var Nn,xe=Re.rootPrefixCls,je=Re.page,Ht=Re.active,et=Re.className,Ue=Re.showTitle,Ct=Re.onClick,yt=Re.onKeyPress,kt=Re.itemRender,Pn="".concat(xe,"-item"),Nt=Be()(Pn,"".concat(Pn,"-").concat(je),(Nn={},(0,me.Z)(Nn,"".concat(Pn,"-active"),Ht),(0,me.Z)(Nn,"".concat(Pn,"-disabled"),!je),(0,me.Z)(Nn,Re.className,et),Nn)),Tt=function(){Ct(je)},St=function(mn){yt(mn,Ct,je)},tn=kt(je,"page",de.createElement("a",{rel:"nofollow"},je));return tn?de.createElement("li",{title:Ue?je.toString():null,className:Nt,onClick:Tt,onKeyPress:St,tabIndex:0},tn):null},Xe=Ne;function Le(){}function Ge($e){var Re=Number($e);return typeof Re=="number"&&!Number.isNaN(Re)&&isFinite(Re)&&Math.floor(Re)===Re}var He=function(Re,Nn,xe){return xe};function Ke($e,Re,Nn){var xe=typeof $e=="undefined"?Re.pageSize:$e;return Math.floor((Nn.total-1)/xe)+1}var qe=function($e){(0,b.Z)(Nn,$e);var Re=(0,E.Z)(Nn);function Nn(xe){var je;(0,a.Z)(this,Nn),je=Re.call(this,xe),je.paginationNode=de.createRef(),je.getJumpPrevPage=function(){return Math.max(1,je.state.current-(je.props.showLessItems?3:5))},je.getJumpNextPage=function(){return Math.min(Ke(void 0,je.state,je.props),je.state.current+(je.props.showLessItems?3:5))},je.getItemIcon=function(yt,kt){var Pn=je.props.prefixCls,Nt=yt||de.createElement("button",{type:"button","aria-label":kt,className:"".concat(Pn,"-item-link")});return typeof yt=="function"&&(Nt=de.createElement(yt,(0,oe.Z)({},je.props))),Nt},je.isValid=function(yt){var kt=je.props.total;return Ge(yt)&&yt!==je.state.current&&Ge(kt)&&kt>0},je.shouldDisplayQuickJumper=function(){var yt=je.props,kt=yt.showQuickJumper,Pn=yt.total,Nt=je.state.pageSize;return Pn<=Nt?!1:kt},je.handleKeyDown=function(yt){(yt.keyCode===Ce.ARROW_UP||yt.keyCode===Ce.ARROW_DOWN)&&yt.preventDefault()},je.handleKeyUp=function(yt){var kt=je.getValidValue(yt),Pn=je.state.currentInputValue;kt!==Pn&&je.setState({currentInputValue:kt}),yt.keyCode===Ce.ENTER?je.handleChange(kt):yt.keyCode===Ce.ARROW_UP?je.handleChange(kt-1):yt.keyCode===Ce.ARROW_DOWN&&je.handleChange(kt+1)},je.handleBlur=function(yt){var kt=je.getValidValue(yt);je.handleChange(kt)},je.changePageSize=function(yt){var kt=je.state.current,Pn=Ke(yt,je.state,je.props);kt=kt>Pn?Pn:kt,Pn===0&&(kt=je.state.current),typeof yt=="number"&&("pageSize"in je.props||je.setState({pageSize:yt}),"current"in je.props||je.setState({current:kt,currentInputValue:kt})),je.props.onShowSizeChange(kt,yt),"onChange"in je.props&&je.props.onChange&&je.props.onChange(kt,yt)},je.handleChange=function(yt){var kt=je.props,Pn=kt.disabled,Nt=kt.onChange,Tt=je.state,St=Tt.pageSize,tn=Tt.current,Kt=Tt.currentInputValue;if(je.isValid(yt)&&!Pn){var mn=Ke(void 0,je.state,je.props),Qn=yt;return yt>mn?Qn=mn:yt<1&&(Qn=1),"current"in je.props||je.setState({current:Qn}),Qn!==Kt&&je.setState({currentInputValue:Qn}),Nt(Qn,St),Qn}return tn},je.prev=function(){je.hasPrev()&&je.handleChange(je.state.current-1)},je.next=function(){je.hasNext()&&je.handleChange(je.state.current+1)},je.jumpPrev=function(){je.handleChange(je.getJumpPrevPage())},je.jumpNext=function(){je.handleChange(je.getJumpNextPage())},je.hasPrev=function(){return je.state.current>1},je.hasNext=function(){return je.state.current<Ke(void 0,je.state,je.props)},je.runIfEnter=function(yt,kt){if(yt.key==="Enter"||yt.charCode===13){for(var Pn=arguments.length,Nt=new Array(Pn>2?Pn-2:0),Tt=2;Tt<Pn;Tt++)Nt[Tt-2]=arguments[Tt];kt.apply(void 0,Nt)}},je.runIfEnterPrev=function(yt){je.runIfEnter(yt,je.prev)},je.runIfEnterNext=function(yt){je.runIfEnter(yt,je.next)},je.runIfEnterJumpPrev=function(yt){je.runIfEnter(yt,je.jumpPrev)},je.runIfEnterJumpNext=function(yt){je.runIfEnter(yt,je.jumpNext)},je.handleGoTO=function(yt){(yt.keyCode===Ce.ENTER||yt.type==="click")&&je.handleChange(je.state.currentInputValue)},je.renderPrev=function(yt){var kt=je.props,Pn=kt.prevIcon,Nt=kt.itemRender,Tt=Nt(yt,"prev",je.getItemIcon(Pn,"prev page")),St=!je.hasPrev();return(0,de.isValidElement)(Tt)?(0,de.cloneElement)(Tt,{disabled:St}):Tt},je.renderNext=function(yt){var kt=je.props,Pn=kt.nextIcon,Nt=kt.itemRender,Tt=Nt(yt,"next",je.getItemIcon(Pn,"next page")),St=!je.hasNext();return(0,de.isValidElement)(Tt)?(0,de.cloneElement)(Tt,{disabled:St}):Tt};var Ht=xe.onChange!==Le,et="current"in xe;et&&!Ht&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var Ue=xe.defaultCurrent;"current"in xe&&(Ue=xe.current);var Ct=xe.defaultPageSize;return"pageSize"in xe&&(Ct=xe.pageSize),Ue=Math.min(Ue,Ke(Ct,void 0,xe)),je.state={current:Ue,currentInputValue:Ue,pageSize:Ct},je}return(0,y.Z)(Nn,[{key:"componentDidUpdate",value:function(je,Ht){var et=this.props.prefixCls;if(Ht.current!==this.state.current&&this.paginationNode.current){var Ue=this.paginationNode.current.querySelector(".".concat(et,"-item-").concat(Ht.current));if(Ue&&document.activeElement===Ue){var Ct;Ue==null||(Ct=Ue.blur)===null||Ct===void 0||Ct.call(Ue)}}}},{key:"getValidValue",value:function(je){var Ht=je.target.value,et=Ke(void 0,this.state,this.props),Ue=this.state.currentInputValue,Ct;return Ht===""?Ct=Ht:Number.isNaN(Number(Ht))?Ct=Ue:Ht>=et?Ct=et:Ct=Number(Ht),Ct}},{key:"getShowSizeChanger",value:function(){var je=this.props,Ht=je.showSizeChanger,et=je.total,Ue=je.totalBoundaryShowSizeChanger;return typeof Ht!="undefined"?Ht:et>Ue}},{key:"render",value:function(){var je=this.props,Ht=je.prefixCls,et=je.className,Ue=je.style,Ct=je.disabled,yt=je.hideOnSinglePage,kt=je.total,Pn=je.locale,Nt=je.showQuickJumper,Tt=je.showLessItems,St=je.showTitle,tn=je.showTotal,Kt=je.simple,mn=je.itemRender,Qn=je.showPrevNextJumpers,wn=je.jumpPrevIcon,Wn=je.jumpNextIcon,ma=je.selectComponentClass,_t=je.selectPrefixCls,Vt=je.pageSizeOptions,en=this.state,la=en.current,aa=en.pageSize,jn=en.currentInputValue;if(yt===!0&&kt<=aa)return null;var Oa=Ke(void 0,this.state,this.props),Ia=[],vr=null,zr=null,La=null,Je=null,Bt=null,xt=Nt&&Nt.goButton,Tn=Tt?1:2,pn=la-1>0?la-1:0,_n=la+1<Oa?la+1:Oa,Xr=he(this.props,{aria:!0,data:!0}),Ta=tn&&de.createElement("li",{className:"".concat(Ht,"-total-text")},tn(kt,[kt===0?0:(la-1)*aa+1,la*aa>kt?kt:la*aa]));if(Kt){xt&&(typeof xt=="boolean"?Bt=de.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Pn.jump_to_confirm):Bt=de.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},xt),Bt=de.createElement("li",{title:St?"".concat(Pn.jump_to).concat(la,"/").concat(Oa):null,className:"".concat(Ht,"-simple-pager")},Bt));var Cr=this.renderPrev(pn);return de.createElement("ul",(0,x.Z)({className:Be()(Ht,"".concat(Ht,"-simple"),(0,me.Z)({},"".concat(Ht,"-disabled"),Ct),et),style:Ue,ref:this.paginationNode},Xr),Ta,Cr?de.createElement("li",{title:St?Pn.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Be()("".concat(Ht,"-prev"),(0,me.Z)({},"".concat(Ht,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Cr):null,de.createElement("li",{title:St?"".concat(la,"/").concat(Oa):null,className:"".concat(Ht,"-simple-pager")},de.createElement("input",{type:"text",value:jn,disabled:Ct,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),de.createElement("span",{className:"".concat(Ht,"-slash")},"/"),Oa),de.createElement("li",{title:St?Pn.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Be()("".concat(Ht,"-next"),(0,me.Z)({},"".concat(Ht,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(_n)),Bt)}if(Oa<=3+Tn*2){var Yr={locale:Pn,rootPrefixCls:Ht,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:St,itemRender:mn};Oa||Ia.push(de.createElement(Xe,(0,x.Z)({},Yr,{key:"noPager",page:1,className:"".concat(Ht,"-item-disabled")})));for(var co=1;co<=Oa;co+=1){var Xn=la===co;Ia.push(de.createElement(Xe,(0,x.Z)({},Yr,{key:co,page:co,active:Xn})))}}else{var ur=Tt?Pn.prev_3:Pn.prev_5,pt=Tt?Pn.next_3:Pn.next_5,qt=mn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(wn,"prev page")),Ut=mn(this.getJumpNextPage(),"jump-next",this.getItemIcon(Wn,"next page"));Qn&&(vr=qt?de.createElement("li",{title:St?ur:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Be()("".concat(Ht,"-jump-prev"),(0,me.Z)({},"".concat(Ht,"-jump-prev-custom-icon"),!!wn))},qt):null,zr=Ut?de.createElement("li",{title:St?pt:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Be()("".concat(Ht,"-jump-next"),(0,me.Z)({},"".concat(Ht,"-jump-next-custom-icon"),!!Wn))},Ut):null),Je=de.createElement(Xe,{locale:Pn,last:!0,rootPrefixCls:Ht,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Oa,page:Oa,active:!1,showTitle:St,itemRender:mn}),La=de.createElement(Xe,{locale:Pn,rootPrefixCls:Ht,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:St,itemRender:mn});var dn=Math.max(1,la-Tn),Gn=Math.min(la+Tn,Oa);la-1<=Tn&&(Gn=1+Tn*2),Oa-la<=Tn&&(dn=Oa-Tn*2);for(var nn=dn;nn<=Gn;nn+=1){var Vn=la===nn;Ia.push(de.createElement(Xe,{locale:Pn,rootPrefixCls:Ht,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:nn,page:nn,active:Vn,showTitle:St,itemRender:mn}))}la-1>=Tn*2&&la!==3&&(Ia[0]=(0,de.cloneElement)(Ia[0],{className:"".concat(Ht,"-item-after-jump-prev")}),Ia.unshift(vr)),Oa-la>=Tn*2&&la!==Oa-2&&(Ia[Ia.length-1]=(0,de.cloneElement)(Ia[Ia.length-1],{className:"".concat(Ht,"-item-before-jump-next")}),Ia.push(zr)),dn!==1&&Ia.unshift(La),Gn!==Oa&&Ia.push(Je)}var Cn=!this.hasPrev()||!Oa,ia=!this.hasNext()||!Oa,Za=this.renderPrev(pn),ir=this.renderNext(_n);return de.createElement("ul",(0,x.Z)({className:Be()(Ht,et,(0,me.Z)({},"".concat(Ht,"-disabled"),Ct)),style:Ue,ref:this.paginationNode},Xr),Ta,Za?de.createElement("li",{title:St?Pn.prev_page:null,onClick:this.prev,tabIndex:Cn?null:0,onKeyPress:this.runIfEnterPrev,className:Be()("".concat(Ht,"-prev"),(0,me.Z)({},"".concat(Ht,"-disabled"),Cn)),"aria-disabled":Cn},Za):null,Ia,ir?de.createElement("li",{title:St?Pn.next_page:null,onClick:this.next,tabIndex:ia?null:0,onKeyPress:this.runIfEnterNext,className:Be()("".concat(Ht,"-next"),(0,me.Z)({},"".concat(Ht,"-disabled"),ia)),"aria-disabled":ia},ir):null,de.createElement(Ae,{disabled:Ct,locale:Pn,rootPrefixCls:Ht,selectComponentClass:ma,selectPrefixCls:_t,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:la,pageSize:aa,pageSizeOptions:Vt,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:xt}))}}],[{key:"getDerivedStateFromProps",value:function(je,Ht){var et={};if("current"in je&&(et.current=je.current,je.current!==Ht.current&&(et.currentInputValue=et.current)),"pageSize"in je&&je.pageSize!==Ht.pageSize){var Ue=Ht.current,Ct=Ke(je.pageSize,Ht,je);Ue=Ue>Ct?Ct:Ue,"current"in je||(et.current=Ue,et.currentInputValue=Ue),et.pageSize=je.pageSize}return et}}]),Nn}(de.Component);qe.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Le,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Le,locale:be.Z,style:{},itemRender:He,totalBoundaryShowSizeChanger:50};var it=qe,mt=ee(62906),Yt=ee(53124),cn=ee(98675),rt=ee(25378),Pt=ee(10110),Lt=ee(11713);const ct=$e=>de.createElement(Lt.default,Object.assign({},$e,{showSearch:!0,size:"small"})),Ft=$e=>de.createElement(Lt.default,Object.assign({},$e,{showSearch:!0,size:"middle"}));ct.Option=Lt.default.Option,Ft.Option=Lt.default.Option;var jt=ee(47673),_e=ee(14747),En=ee(67968),Fn=ee(45503);const ha=$e=>{const{componentCls:Re}=$e;return{[`${Re}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Re}-item-link`]:{color:$e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Re}-item-link`]:{color:$e.colorTextDisabled,cursor:"not-allowed"}}},[`&${Re}-disabled`]:{cursor:"not-allowed",[`${Re}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:$e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:$e.colorBorder,backgroundColor:$e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:$e.itemActiveBgDisabled},a:{color:$e.itemActiveColorDisabled}}},[`${Re}-item-link`]:{color:$e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Re}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Re}-simple-pager`]:{color:$e.colorTextDisabled},[`${Re}-jump-prev, ${Re}-jump-next`]:{[`${Re}-item-link-icon`]:{opacity:0},[`${Re}-item-ellipsis`]:{opacity:1}}},[`&${Re}-simple`]:{[`${Re}-prev, ${Re}-next`]:{[`&${Re}-disabled ${Re}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},In=$e=>{const{componentCls:Re}=$e;return{[`&${Re}-mini ${Re}-total-text, &${Re}-mini ${Re}-simple-pager`]:{height:$e.itemSizeSM,lineHeight:`${$e.itemSizeSM}px`},[`&${Re}-mini ${Re}-item`]:{minWidth:$e.itemSizeSM,height:$e.itemSizeSM,margin:0,lineHeight:`${$e.itemSizeSM-2}px`},[`&${Re}-mini:not(${Re}-disabled) ${Re}-item:not(${Re}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:$e.colorBgTextHover},"&:active":{backgroundColor:$e.colorBgTextActive}},[`&${Re}-mini ${Re}-prev, &${Re}-mini ${Re}-next`]:{minWidth:$e.itemSizeSM,height:$e.itemSizeSM,margin:0,lineHeight:`${$e.itemSizeSM}px`},[`&${Re}-mini:not(${Re}-disabled)`]:{[`${Re}-prev, ${Re}-next`]:{[`&:hover ${Re}-item-link`]:{backgroundColor:$e.colorBgTextHover},[`&:active ${Re}-item-link`]:{backgroundColor:$e.colorBgTextActive},[`&${Re}-disabled:hover ${Re}-item-link`]:{backgroundColor:"transparent"}}},[`
&${Re}-mini ${Re}-prev ${Re}-item-link,
&${Re}-mini ${Re}-next ${Re}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:$e.itemSizeSM,lineHeight:`${$e.itemSizeSM}px`}},[`&${Re}-mini ${Re}-jump-prev, &${Re}-mini ${Re}-jump-next`]:{height:$e.itemSizeSM,marginInlineEnd:0,lineHeight:`${$e.itemSizeSM}px`},[`&${Re}-mini ${Re}-options`]:{marginInlineStart:$e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:$e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:$e.itemSizeSM,lineHeight:`${$e.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,jt.x0)($e)),{width:$e.paginationMiniQuickJumperInputWidth,height:$e.controlHeightSM})}}}},at=$e=>{const{componentCls:Re}=$e;return{[`
&${Re}-simple ${Re}-prev,
&${Re}-simple ${Re}-next
`]:{height:$e.itemSizeSM,lineHeight:`${$e.itemSizeSM}px`,verticalAlign:"top",[`${Re}-item-link`]:{height:$e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:$e.colorBgTextHover},"&:active":{backgroundColor:$e.colorBgTextActive},"&::after":{height:$e.itemSizeSM,lineHeight:`${$e.itemSizeSM}px`}}},[`&${Re}-simple ${Re}-simple-pager`]:{display:"inline-block",height:$e.itemSizeSM,marginInlineEnd:$e.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:$e.marginXS,padding:`0 ${$e.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:$e.itemInputBg,border:`${$e.lineWidth}px ${$e.lineType} ${$e.colorBorder}`,borderRadius:$e.borderRadius,outline:"none",transition:`border-color ${$e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:$e.colorPrimary},"&:focus":{borderColor:$e.colorPrimaryHover,boxShadow:`${$e.inputOutlineOffset}px 0 ${$e.controlOutlineWidth}px ${$e.controlOutline}`},"&[disabled]":{color:$e.colorTextDisabled,backgroundColor:$e.colorBgContainerDisabled,borderColor:$e.colorBorder,cursor:"not-allowed"}}}}},lt=$e=>{const{componentCls:Re}=$e;return{[`${Re}-jump-prev, ${Re}-jump-next`]:{outline:0,[`${Re}-item-container`]:{position:"relative",[`${Re}-item-link-icon`]:{color:$e.colorPrimary,fontSize:$e.fontSizeSM,opacity:0,transition:`all ${$e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Re}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:$e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:$e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:$e.paginationEllipsisTextIndent,opacity:1,transition:`all ${$e.motionDurationMid}`}},"&:hover":{[`${Re}-item-link-icon`]:{opacity:1},[`${Re}-item-ellipsis`]:{opacity:0}}},[`
${Re}-prev,
${Re}-jump-prev,
${Re}-jump-next
`]:{marginInlineEnd:$e.marginXS},[`
${Re}-prev,
${Re}-next,
${Re}-jump-prev,
${Re}-jump-next
`]:{display:"inline-block",minWidth:$e.itemSize,height:$e.itemSize,color:$e.colorText,fontFamily:$e.fontFamily,lineHeight:`${$e.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:$e.borderRadius,cursor:"pointer",transition:`all ${$e.motionDurationMid}`},[`${Re}-prev, ${Re}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:$e.colorText,cursor:"pointer",userSelect:"none"},[`${Re}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:$e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${$e.lineWidth}px ${$e.lineType} transparent`,borderRadius:$e.borderRadius,outline:"none",transition:`all ${$e.motionDurationMid}`},[`&:hover ${Re}-item-link`]:{backgroundColor:$e.colorBgTextHover},[`&:active ${Re}-item-link`]:{backgroundColor:$e.colorBgTextActive},[`&${Re}-disabled:hover`]:{[`${Re}-item-link`]:{backgroundColor:"transparent"}}},[`${Re}-slash`]:{marginInlineEnd:$e.paginationSlashMarginInlineEnd,marginInlineStart:$e.paginationSlashMarginInlineStart},[`${Re}-options`]:{display:"inline-block",marginInlineStart:$e.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:$e.controlHeight,marginInlineStart:$e.marginXS,lineHeight:`${$e.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,jt.ik)($e)),{width:$e.controlHeightLG*1.25,height:$e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:$e.marginXS,marginInlineEnd:$e.marginXS})}}}},dt=$e=>{const{componentCls:Re}=$e;return{[`${Re}-item`]:{display:"inline-block",minWidth:$e.itemSize,height:$e.itemSize,marginInlineEnd:$e.marginXS,fontFamily:$e.fontFamily,lineHeight:`${$e.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${$e.lineWidth}px ${$e.lineType} transparent`,borderRadius:$e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${$e.paginationItemPaddingInline}px`,color:$e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Re}-item-active)`]:{"&:hover":{transition:`all ${$e.motionDurationMid}`,backgroundColor:$e.colorBgTextHover},"&:active":{backgroundColor:$e.colorBgTextActive}},"&-active":{fontWeight:$e.fontWeightStrong,backgroundColor:$e.itemActiveBg,borderColor:$e.colorPrimary,a:{color:$e.colorPrimary},"&:hover":{borderColor:$e.colorPrimaryHover},"&:hover a":{color:$e.colorPrimaryHover}}}}},At=$e=>{const{componentCls:Re}=$e;return{[Re]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,_e.Wf)($e)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Re}-total-text`]:{display:"inline-block",height:$e.itemSize,marginInlineEnd:$e.marginXS,lineHeight:`${$e.itemSize-2}px`,verticalAlign:"middle"}}),dt($e)),lt($e)),at($e)),In($e)),ha($e)),{[`@media only screen and (max-width: ${$e.screenLG}px)`]:{[`${Re}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${$e.screenSM}px)`]:{[`${Re}-options`]:{display:"none"}}}),[`&${$e.componentCls}-rtl`]:{direction:"rtl"}}},Et=$e=>{const{componentCls:Re}=$e;return{[`${Re}${Re}-disabled:not(${Re}-mini)`]:{"&, &:hover":{[`${Re}-item-link`]:{borderColor:$e.colorBorder}},"&:focus-visible":{[`${Re}-item-link`]:{borderColor:$e.colorBorder}},[`${Re}-item, ${Re}-item-link`]:{backgroundColor:$e.colorBgContainerDisabled,borderColor:$e.colorBorder,[`&:hover:not(${Re}-item-active)`]:{backgroundColor:$e.colorBgContainerDisabled,borderColor:$e.colorBorder,a:{color:$e.colorTextDisabled}},[`&${Re}-item-active`]:{backgroundColor:$e.itemActiveBgDisabled}},[`${Re}-prev, ${Re}-next`]:{"&:hover button":{backgroundColor:$e.colorBgContainerDisabled,borderColor:$e.colorBorder,color:$e.colorTextDisabled},[`${Re}-item-link`]:{backgroundColor:$e.colorBgContainerDisabled,borderColor:$e.colorBorder}}},[`${Re}:not(${Re}-mini)`]:{[`${Re}-prev, ${Re}-next`]:{"&:hover button":{borderColor:$e.colorPrimaryHover,backgroundColor:$e.itemBg},[`${Re}-item-link`]:{backgroundColor:$e.itemLinkBg,borderColor:$e.colorBorder},[`&:hover ${Re}-item-link`]:{borderColor:$e.colorPrimary,backgroundColor:$e.itemBg,color:$e.colorPrimary},[`&${Re}-disabled`]:{[`${Re}-item-link`]:{borderColor:$e.colorBorder,color:$e.colorTextDisabled}}},[`${Re}-item`]:{backgroundColor:$e.itemBg,border:`${$e.lineWidth}px ${$e.lineType} ${$e.colorBorder}`,[`&:hover:not(${Re}-item-active)`]:{borderColor:$e.colorPrimary,backgroundColor:$e.itemBg,a:{color:$e.colorPrimary}},"&-active":{borderColor:$e.colorPrimary}}}}},gt=$e=>{const{componentCls:Re}=$e;return{[`${Re}:not(${Re}-disabled)`]:{[`${Re}-item`]:Object.assign({},(0,_e.Qy)($e)),[`${Re}-jump-prev, ${Re}-jump-next`]:{"&:focus-visible":Object.assign({[`${Re}-item-link-icon`]:{opacity:1},[`${Re}-item-ellipsis`]:{opacity:0}},(0,_e.oN)($e))},[`${Re}-prev, ${Re}-next`]:{[`&:focus-visible ${Re}-item-link`]:Object.assign({},(0,_e.oN)($e))}}}};var Xt=(0,En.Z)("Pagination",$e=>{const Re=(0,Fn.TS)($e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:$e.marginXXS/2,paginationMiniQuickJumperInputWidth:$e.controlHeightLG*1.1,paginationItemPaddingInline:$e.marginXXS*1.5,paginationEllipsisLetterSpacing:$e.marginXXS/2,paginationSlashMarginInlineStart:$e.marginXXS,paginationSlashMarginInlineEnd:$e.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,jt.e5)($e),(0,jt.TM)($e));return[At(Re),gt(Re),$e.wireframe&&Et(Re)]},$e=>({itemBg:$e.colorBgContainer,itemSize:$e.controlHeight,itemSizeSM:$e.controlHeightSM,itemActiveBg:$e.colorBgContainer,itemLinkBg:$e.colorBgContainer,itemActiveColorDisabled:$e.colorTextDisabled,itemActiveBgDisabled:$e.controlItemBgActiveDisabled,itemInputBg:$e.colorBgContainer,miniOptionsSizeChangerTop:0})),Ot=function($e,Re){var Nn={};for(var xe in $e)Object.prototype.hasOwnProperty.call($e,xe)&&Re.indexOf(xe)<0&&(Nn[xe]=$e[xe]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,xe=Object.getOwnPropertySymbols($e);je<xe.length;je++)Re.indexOf(xe[je])<0&&Object.prototype.propertyIsEnumerable.call($e,xe[je])&&(Nn[xe[je]]=$e[xe[je]]);return Nn},on=$e=>{const{prefixCls:Re,selectPrefixCls:Nn,className:xe,rootClassName:je,style:Ht,size:et,locale:Ue,selectComponentClass:Ct,responsive:yt,showSizeChanger:kt}=$e,Pn=Ot($e,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Nt}=(0,rt.Z)(yt),{getPrefixCls:Tt,direction:St,pagination:tn={}}=de.useContext(Yt.E_),Kt=Tt("pagination",Re),[mn,Qn]=Xt(Kt),wn=kt!=null?kt:tn.showSizeChanger,Wn=de.useMemo(()=>{const Oa=de.createElement("span",{className:`${Kt}-item-ellipsis`},"\u2022\u2022\u2022"),Ia=de.createElement("button",{className:`${Kt}-item-link`,type:"button",tabIndex:-1},St==="rtl"?de.createElement(Te.Z,null):de.createElement(Me.Z,null)),vr=de.createElement("button",{className:`${Kt}-item-link`,type:"button",tabIndex:-1},St==="rtl"?de.createElement(Me.Z,null):de.createElement(Te.Z,null)),zr=de.createElement("a",{className:`${Kt}-item-link`},de.createElement("div",{className:`${Kt}-item-container`},St==="rtl"?de.createElement(We.Z,{className:`${Kt}-item-link-icon`}):de.createElement(ie,{className:`${Kt}-item-link-icon`}),Oa)),La=de.createElement("a",{className:`${Kt}-item-link`},de.createElement("div",{className:`${Kt}-item-container`},St==="rtl"?de.createElement(ie,{className:`${Kt}-item-link-icon`}):de.createElement(We.Z,{className:`${Kt}-item-link-icon`}),Oa));return{prevIcon:Ia,nextIcon:vr,jumpPrevIcon:zr,jumpNextIcon:La}},[St,Kt]),[ma]=(0,Pt.Z)("Pagination",mt.Z),_t=Object.assign(Object.assign({},ma),Ue),Vt=(0,cn.Z)(et),en=Vt==="small"||!!(Nt&&!Vt&&yt),la=Tt("select",Nn),aa=Be()({[`${Kt}-mini`]:en,[`${Kt}-rtl`]:St==="rtl"},tn==null?void 0:tn.className,xe,je,Qn),jn=Object.assign(Object.assign({},tn==null?void 0:tn.style),Ht);return mn(de.createElement(it,Object.assign({},Wn,Pn,{style:jn,prefixCls:Kt,selectPrefixCls:la,className:aa,selectComponentClass:Ct||(en?ct:Ft),locale:_t,showSizeChanger:wn})))},Jt=on},38703:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return Ht}});var x=ee(67294),de=ee(87725),pe=ee(18299),De=ee(16646),we=ee(73475),ke=ee(94184),ie=ee.n(ke),We=ee(10366),Me=ee(53124),Te=ee(87462),ze=ee(1413),Be=ee(45987),me={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},oe=function(){var Ue=(0,x.useRef)([]),Ct=(0,x.useRef)(null);return(0,x.useEffect)(function(){var yt=Date.now(),kt=!1;Ue.current.forEach(function(Pn){if(Pn){kt=!0;var Nt=Pn.style;Nt.transitionDuration=".3s, .3s, .3s, .06s",Ct.current&&yt-Ct.current<100&&(Nt.transitionDuration="0s, 0s")}}),kt&&(Ct.current=Date.now())}),Ue.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(Ue){var Ct=(0,ze.Z)((0,ze.Z)({},me),Ue),yt=Ct.className,kt=Ct.percent,Pn=Ct.prefixCls,Nt=Ct.strokeColor,Tt=Ct.strokeLinecap,St=Ct.strokeWidth,tn=Ct.style,Kt=Ct.trailColor,mn=Ct.trailWidth,Qn=Ct.transition,wn=(0,Be.Z)(Ct,a);delete wn.gapPosition;var Wn=Array.isArray(kt)?kt:[kt],ma=Array.isArray(Nt)?Nt:[Nt],_t=oe(),Vt=St/2,en=100-St/2,la="M ".concat(Tt==="round"?Vt:0,",").concat(Vt,`
L `).concat(Tt==="round"?en:100,",").concat(Vt),aa="0 0 100 ".concat(St),jn=0;return x.createElement("svg",(0,Te.Z)({className:ie()("".concat(Pn,"-line"),yt),viewBox:aa,preserveAspectRatio:"none",style:tn},wn),x.createElement("path",{className:"".concat(Pn,"-line-trail"),d:la,strokeLinecap:Tt,stroke:Kt,strokeWidth:mn||St,fillOpacity:"0"}),Wn.map(function(Oa,Ia){var vr=1;switch(Tt){case"round":vr=1-St/100;break;case"square":vr=1-St/2/100;break;default:vr=1;break}var zr={strokeDasharray:"".concat(Oa*vr,"px, 100px"),strokeDashoffset:"-".concat(jn,"px"),transition:Qn||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},La=ma[Ia]||ma[ma.length-1];return jn+=Oa,x.createElement("path",{key:Ia,className:"".concat(Pn,"-line-path"),d:la,strokeLinecap:Tt,stroke:La,strokeWidth:St,fillOpacity:"0",ref:function(Bt){_t[Ia]=Bt},style:zr})}))},b=y,E=ee(71002),z=ee(97685),te=ee(98924),ne=0,re=(0,te.Z)();function ae(){var et;return re?(et=ne,ne+=1):et="TEST_OR_SSR",et}var le=function(et){var Ue=x.useState(),Ct=(0,z.Z)(Ue,2),yt=Ct[0],kt=Ct[1];return x.useEffect(function(){kt("rc_progress_".concat(ae()))},[]),et||yt},he=function(Ue){var Ct=Ue.bg,yt=Ue.children;return x.createElement("div",{style:{width:"100%",height:"100%",background:Ct}},yt)};function ve(et,Ue){return Object.keys(et).map(function(Ct){var yt=parseFloat(Ct),kt="".concat(Math.floor(yt*Ue),"%");return"".concat(et[Ct]," ").concat(kt)})}var Ce=x.forwardRef(function(et,Ue){var Ct=et.prefixCls,yt=et.color,kt=et.gradientId,Pn=et.radius,Nt=et.style,Tt=et.ptg,St=et.strokeLinecap,tn=et.strokeWidth,Kt=et.size,mn=et.gapDegree,Qn=yt&&(0,E.Z)(yt)==="object",wn=Qn?"#FFF":void 0,Wn=Kt/2,ma=x.createElement("circle",{className:"".concat(Ct,"-circle-path"),r:Pn,cx:Wn,cy:Wn,stroke:wn,strokeLinecap:St,strokeWidth:tn,opacity:Tt===0?0:1,style:Nt,ref:Ue});if(!Qn)return ma;var _t="".concat(kt,"-conic"),Vt=mn?"".concat(180+mn/2,"deg"):"0deg",en=ve(yt,(360-mn)/360),la=ve(yt,1),aa="conic-gradient(from ".concat(Vt,", ").concat(en.join(", "),")"),jn="linear-gradient(to ".concat(mn?"bottom":"top",", ").concat(la.join(", "),")");return x.createElement(x.Fragment,null,x.createElement("mask",{id:_t},ma),x.createElement("foreignObject",{x:0,y:0,width:Kt,height:Kt,mask:"url(#".concat(_t,")")},x.createElement(he,{bg:jn},x.createElement(he,{bg:aa}))))}),be=Ce,ye=100,Ae=function(Ue,Ct,yt,kt,Pn,Nt,Tt,St,tn,Kt){var mn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Qn=yt/100*360*((360-Nt)/360),wn=Nt===0?0:{bottom:0,top:180,left:90,right:-90}[Tt],Wn=(100-kt)/100*Ct;tn==="round"&&kt!==100&&(Wn+=Kt/2,Wn>=Ct&&(Wn=Ct-.01));var ma=ye/2;return{stroke:typeof St=="string"?St:void 0,strokeDasharray:"".concat(Ct,"px ").concat(Ue),strokeDashoffset:Wn+mn,transform:"rotate(".concat(Pn+Qn+wn,"deg)"),transformOrigin:"".concat(ma,"px ").concat(ma,"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}},Ne=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Xe(et){var Ue=et!=null?et:[];return Array.isArray(Ue)?Ue:[Ue]}var Le=function(Ue){var Ct=(0,ze.Z)((0,ze.Z)({},me),Ue),yt=Ct.id,kt=Ct.prefixCls,Pn=Ct.steps,Nt=Ct.strokeWidth,Tt=Ct.trailWidth,St=Ct.gapDegree,tn=St===void 0?0:St,Kt=Ct.gapPosition,mn=Ct.trailColor,Qn=Ct.strokeLinecap,wn=Ct.style,Wn=Ct.className,ma=Ct.strokeColor,_t=Ct.percent,Vt=(0,Be.Z)(Ct,Ne),en=ye/2,la=le(yt),aa="".concat(la,"-gradient"),jn=en-Nt/2,Oa=Math.PI*2*jn,Ia=tn>0?90+tn/2:-90,vr=Oa*((360-tn)/360),zr=(0,E.Z)(Pn)==="object"?Pn:{count:Pn,space:2},La=zr.count,Je=zr.space,Bt=Xe(_t),xt=Xe(ma),Tn=xt.find(function(co){return co&&(0,E.Z)(co)==="object"}),pn=Tn&&(0,E.Z)(Tn)==="object",_n=pn?"butt":Qn,Xr=Ae(Oa,vr,0,100,Ia,tn,Kt,mn,_n,Nt),Ta=oe(),Cr=function(){var Xn=0;return Bt.map(function(ur,pt){var qt=xt[pt]||xt[xt.length-1],Ut=Ae(Oa,vr,Xn,ur,Ia,tn,Kt,qt,_n,Nt);return Xn+=ur,x.createElement(be,{key:pt,color:qt,ptg:ur,radius:jn,prefixCls:kt,gradientId:aa,style:Ut,strokeLinecap:_n,strokeWidth:Nt,gapDegree:tn,ref:function(Gn){Ta[pt]=Gn},size:ye})}).reverse()},Yr=function(){var Xn=Math.round(La*(Bt[0]/100)),ur=100/La,pt=0;return new Array(La).fill(null).map(function(qt,Ut){var dn=Ut<=Xn-1?xt[0]:mn,Gn=dn&&(0,E.Z)(dn)==="object"?"url(#".concat(aa,")"):void 0,nn=Ae(Oa,vr,pt,ur,Ia,tn,Kt,dn,"butt",Nt,Je);return pt+=(vr-nn.strokeDashoffset+Je)*100/vr,x.createElement("circle",{key:Ut,className:"".concat(kt,"-circle-path"),r:jn,cx:en,cy:en,stroke:Gn,strokeWidth:Nt,opacity:1,style:nn,ref:function(Cn){Ta[Ut]=Cn}})})};return x.createElement("svg",(0,Te.Z)({className:ie()("".concat(kt,"-circle"),Wn),viewBox:"0 0 ".concat(ye," ").concat(ye),style:wn,id:yt,role:"presentation"},Vt),!La&&x.createElement("circle",{className:"".concat(kt,"-circle-trail"),r:jn,cx:en,cy:en,stroke:mn,strokeLinecap:_n,strokeWidth:Tt||Nt,style:Xr}),La?Yr():Cr())},Ge=Le,He={Line:b,Circle:Ge},Ke=ee(83062),qe=ee(47448);function it(et){return!et||et<0?0:et>100?100:et}function mt(et){let{success:Ue,successPercent:Ct}=et,yt=Ct;return Ue&&"progress"in Ue&&(yt=Ue.progress),Ue&&"percent"in Ue&&(yt=Ue.percent),yt}const Yt=et=>{let{percent:Ue,success:Ct,successPercent:yt}=et;const kt=it(mt({success:Ct,successPercent:yt}));return[kt,it(it(Ue)-kt)]},cn=et=>{let{success:Ue={},strokeColor:Ct}=et;const{strokeColor:yt}=Ue;return[yt||qe.presetPrimaryColors.green,Ct||null]},rt=(et,Ue,Ct)=>{var yt,kt,Pn,Nt;let Tt=-1,St=-1;if(Ue==="step"){const tn=Ct.steps,Kt=Ct.strokeWidth;typeof et=="string"||typeof et=="undefined"?(Tt=et==="small"?2:14,St=Kt!=null?Kt:8):typeof et=="number"?[Tt,St]=[et,et]:[Tt=14,St=8]=et,Tt*=tn}else if(Ue==="line"){const tn=Ct==null?void 0:Ct.strokeWidth;typeof et=="string"||typeof et=="undefined"?St=tn||(et==="small"?6:8):typeof et=="number"?[Tt,St]=[et,et]:[Tt=-1,St=8]=et}else(Ue==="circle"||Ue==="dashboard")&&(typeof et=="string"||typeof et=="undefined"?[Tt,St]=et==="small"?[60,60]:[120,120]:typeof et=="number"?[Tt,St]=[et,et]:(Tt=(kt=(yt=et[0])!==null&&yt!==void 0?yt:et[1])!==null&&kt!==void 0?kt:120,St=(Nt=(Pn=et[0])!==null&&Pn!==void 0?Pn:et[1])!==null&&Nt!==void 0?Nt:120));return[Tt,St]},Pt=3,Lt=et=>Pt/et*100;var Ft=et=>{const{prefixCls:Ue,trailColor:Ct=null,strokeLinecap:yt="round",gapPosition:kt,gapDegree:Pn,width:Nt=120,type:Tt,children:St,success:tn,size:Kt=Nt}=et,[mn,Qn]=rt(Kt,"circle");let{strokeWidth:wn}=et;wn===void 0&&(wn=Math.max(Lt(mn),6));const Wn={width:mn,height:Qn,fontSize:mn*.15+6},ma=x.useMemo(()=>{if(Pn||Pn===0)return Pn;if(Tt==="dashboard")return 75},[Pn,Tt]),_t=kt||Tt==="dashboard"&&"bottom"||void 0,Vt=Object.prototype.toString.call(et.strokeColor)==="[object Object]",en=cn({success:tn,strokeColor:et.strokeColor}),la=ie()(`${Ue}-inner`,{[`${Ue}-circle-gradient`]:Vt}),aa=x.createElement(Ge,{percent:Yt(et),strokeWidth:wn,trailWidth:wn,strokeColor:en,strokeLinecap:yt,trailColor:Ct,prefixCls:Ue,gapDegree:ma,gapPosition:_t});return x.createElement("div",{className:la,style:Wn},mn<=20?x.createElement(Ke.Z,{title:St},x.createElement("span",null,aa)):x.createElement(x.Fragment,null,aa,St))},jt=function(et,Ue){var Ct={};for(var yt in et)Object.prototype.hasOwnProperty.call(et,yt)&&Ue.indexOf(yt)<0&&(Ct[yt]=et[yt]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,yt=Object.getOwnPropertySymbols(et);kt<yt.length;kt++)Ue.indexOf(yt[kt])<0&&Object.prototype.propertyIsEnumerable.call(et,yt[kt])&&(Ct[yt[kt]]=et[yt[kt]]);return Ct};const _e=et=>{let Ue=[];return Object.keys(et).forEach(Ct=>{const yt=parseFloat(Ct.replace(/%/g,""));isNaN(yt)||Ue.push({key:yt,value:et[Ct]})}),Ue=Ue.sort((Ct,yt)=>Ct.key-yt.key),Ue.map(Ct=>{let{key:yt,value:kt}=Ct;return`${kt} ${yt}%`}).join(", ")},En=(et,Ue)=>{const{from:Ct=qe.presetPrimaryColors.blue,to:yt=qe.presetPrimaryColors.blue,direction:kt=Ue==="rtl"?"to left":"to right"}=et,Pn=jt(et,["from","to","direction"]);if(Object.keys(Pn).length!==0){const Nt=_e(Pn);return{backgroundImage:`linear-gradient(${kt}, ${Nt})`}}return{backgroundImage:`linear-gradient(${kt}, ${Ct}, ${yt})`}};var ha=et=>{const{prefixCls:Ue,direction:Ct,percent:yt,size:kt,strokeWidth:Pn,strokeColor:Nt,strokeLinecap:Tt="round",children:St,trailColor:tn=null,success:Kt}=et,mn=Nt&&typeof Nt!="string"?En(Nt,Ct):{backgroundColor:Nt},Qn=Tt==="square"||Tt==="butt"?0:void 0,wn={backgroundColor:tn||void 0,borderRadius:Qn},Wn=kt!=null?kt:[-1,Pn||(kt==="small"?6:8)],[ma,_t]=rt(Wn,"line",{strokeWidth:Pn}),Vt=Object.assign({width:`${it(yt)}%`,height:_t,borderRadius:Qn},mn),en=mt(et),la={width:`${it(en)}%`,height:_t,borderRadius:Qn,backgroundColor:Kt==null?void 0:Kt.strokeColor},aa={width:ma<0?"100%":ma,height:_t};return x.createElement(x.Fragment,null,x.createElement("div",{className:`${Ue}-outer`,style:aa},x.createElement("div",{className:`${Ue}-inner`,style:wn},x.createElement("div",{className:`${Ue}-bg`,style:Vt}),en!==void 0?x.createElement("div",{className:`${Ue}-success-bg`,style:la}):null)),St)},at=et=>{const{size:Ue,steps:Ct,percent:yt=0,strokeWidth:kt=8,strokeColor:Pn,trailColor:Nt=null,prefixCls:Tt,children:St}=et,tn=Math.round(Ct*(yt/100)),Kt=Ue==="small"?2:14,mn=Ue!=null?Ue:[Kt,kt],[Qn,wn]=rt(mn,"step",{steps:Ct,strokeWidth:kt}),Wn=Qn/Ct,ma=new Array(Ct);for(let _t=0;_t<Ct;_t++){const Vt=Array.isArray(Pn)?Pn[_t]:Pn;ma[_t]=x.createElement("div",{key:_t,className:ie()(`${Tt}-steps-item`,{[`${Tt}-steps-item-active`]:_t<=tn-1}),style:{backgroundColor:_t<=tn-1?Vt:Nt,width:Wn,height:wn}})}return x.createElement("div",{className:`${Tt}-steps-outer`},ma,St)},lt=ee(45930),dt=ee(14747),At=ee(67968),Et=ee(45503);const gt=et=>{const Ue=et?"100%":"-100%";return new lt.Keyframes(`antProgress${et?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Ue}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Ue}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Xt=et=>{const{componentCls:Ue,iconCls:Ct}=et;return{[Ue]:Object.assign(Object.assign({},(0,dt.Wf)(et)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:et.fontSize,marginInlineEnd:et.marginXS,marginBottom:et.marginXS},[`${Ue}-outer`]:{display:"inline-block",width:"100%"},[`&${Ue}-show-info`]:{[`${Ue}-outer`]:{marginInlineEnd:`calc(-2em - ${et.marginXS}px)`,paddingInlineEnd:`calc(2em + ${et.paddingXS}px)`}},[`${Ue}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:et.remainingColor,borderRadius:et.lineBorderRadius},[`${Ue}-inner:not(${Ue}-circle-gradient)`]:{[`${Ue}-circle-path`]:{stroke:et.defaultColor}},[`${Ue}-success-bg, ${Ue}-bg`]:{position:"relative",backgroundColor:et.defaultColor,borderRadius:et.lineBorderRadius,transition:`all ${et.motionDurationSlow} ${et.motionEaseInOutCirc}`},[`${Ue}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:et.colorSuccess},[`${Ue}-text`]:{display:"inline-block",width:"2em",marginInlineStart:et.marginXS,color:et.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Ct]:{fontSize:et.fontSize}},[`&${Ue}-status-active`]:{[`${Ue}-bg::before`]:{position:"absolute",inset:0,backgroundColor:et.colorBgContainer,borderRadius:et.lineBorderRadius,opacity:0,animationName:gt(),animationDuration:et.progressActiveMotionDuration,animationTimingFunction:et.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Ue}-rtl${Ue}-status-active`]:{[`${Ue}-bg::before`]:{animationName:gt(!0)}},[`&${Ue}-status-exception`]:{[`${Ue}-bg`]:{backgroundColor:et.colorError},[`${Ue}-text`]:{color:et.colorError}},[`&${Ue}-status-exception ${Ue}-inner:not(${Ue}-circle-gradient)`]:{[`${Ue}-circle-path`]:{stroke:et.colorError}},[`&${Ue}-status-success`]:{[`${Ue}-bg`]:{backgroundColor:et.colorSuccess},[`${Ue}-text`]:{color:et.colorSuccess}},[`&${Ue}-status-success ${Ue}-inner:not(${Ue}-circle-gradient)`]:{[`${Ue}-circle-path`]:{stroke:et.colorSuccess}}})}},Ot=et=>{const{componentCls:Ue,iconCls:Ct}=et;return{[Ue]:{[`${Ue}-circle-trail`]:{stroke:et.remainingColor},[`&${Ue}-circle ${Ue}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Ue}-circle ${Ue}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:et.circleTextColor,fontSize:et.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Ct]:{fontSize:`${et.fontSize/et.fontSizeSM}em`}},[`${Ue}-circle&-status-exception`]:{[`${Ue}-text`]:{color:et.colorError}},[`${Ue}-circle&-status-success`]:{[`${Ue}-text`]:{color:et.colorSuccess}}},[`${Ue}-inline-circle`]:{lineHeight:1,[`${Ue}-inner`]:{verticalAlign:"bottom"}}}},bt=et=>{const{componentCls:Ue}=et;return{[Ue]:{[`${Ue}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:et.progressStepMinWidth,marginInlineEnd:et.progressStepMarginInlineEnd,backgroundColor:et.remainingColor,transition:`all ${et.motionDurationSlow}`,"&-active":{backgroundColor:et.defaultColor}}}}}},on=et=>{const{componentCls:Ue,iconCls:Ct}=et;return{[Ue]:{[`${Ue}-small&-line, ${Ue}-small&-line ${Ue}-text ${Ct}`]:{fontSize:et.fontSizeSM}}}};var Jt=(0,At.Z)("Progress",et=>{const Ue=et.marginXXS/2,Ct=(0,Et.TS)(et,{progressStepMarginInlineEnd:Ue,progressStepMinWidth:Ue,progressActiveMotionDuration:"2.4s"});return[Xt(Ct),Ot(Ct),bt(Ct),on(Ct)]},et=>({circleTextColor:et.colorText,defaultColor:et.colorInfo,remainingColor:et.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),$e=function(et,Ue){var Ct={};for(var yt in et)Object.prototype.hasOwnProperty.call(et,yt)&&Ue.indexOf(yt)<0&&(Ct[yt]=et[yt]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,yt=Object.getOwnPropertySymbols(et);kt<yt.length;kt++)Ue.indexOf(yt[kt])<0&&Object.prototype.propertyIsEnumerable.call(et,yt[kt])&&(Ct[yt[kt]]=et[yt[kt]]);return Ct};const Re=null,Nn=["normal","exception","active","success"];var je=x.forwardRef((et,Ue)=>{const{prefixCls:Ct,className:yt,rootClassName:kt,steps:Pn,strokeColor:Nt,percent:Tt=0,size:St="default",showInfo:tn=!0,type:Kt="line",status:mn,format:Qn,style:wn}=et,Wn=$e(et,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),ma=x.useMemo(()=>{var Bt,xt;const Tn=mt(et);return parseInt(Tn!==void 0?(Bt=Tn!=null?Tn:0)===null||Bt===void 0?void 0:Bt.toString():(xt=Tt!=null?Tt:0)===null||xt===void 0?void 0:xt.toString(),10)},[Tt,et.success,et.successPercent]),_t=x.useMemo(()=>!Nn.includes(mn)&&ma>=100?"success":mn||"normal",[mn,ma]),{getPrefixCls:Vt,direction:en,progress:la}=x.useContext(Me.E_),aa=Vt("progress",Ct),[jn,Oa]=Jt(aa),Ia=x.useMemo(()=>{if(!tn)return null;const Bt=mt(et);let xt;const Tn=Qn||(_n=>`${_n}%`),pn=Kt==="line";return Qn||_t!=="exception"&&_t!=="success"?xt=Tn(it(Tt),it(Bt)):_t==="exception"?xt=pn?x.createElement(De.Z,null):x.createElement(we.Z,null):_t==="success"&&(xt=pn?x.createElement(de.Z,null):x.createElement(pe.Z,null)),x.createElement("span",{className:`${aa}-text`,title:typeof xt=="string"?xt:void 0},xt)},[tn,Tt,ma,_t,Kt,aa,Qn]),vr=Array.isArray(Nt)?Nt[0]:Nt,zr=typeof Nt=="string"||Array.isArray(Nt)?Nt:void 0;let La;Kt==="line"?La=Pn?x.createElement(at,Object.assign({},et,{strokeColor:zr,prefixCls:aa,steps:Pn}),Ia):x.createElement(ha,Object.assign({},et,{strokeColor:vr,prefixCls:aa,direction:en}),Ia):(Kt==="circle"||Kt==="dashboard")&&(La=x.createElement(Ft,Object.assign({},et,{strokeColor:vr,prefixCls:aa,progressStatus:_t}),Ia));const Je=ie()(aa,`${aa}-status-${_t}`,`${aa}-${Kt==="dashboard"&&"circle"||Pn&&"steps"||Kt}`,{[`${aa}-inline-circle`]:Kt==="circle"&&rt(St,"circle")[0]<=20,[`${aa}-show-info`]:tn,[`${aa}-${St}`]:typeof St=="string",[`${aa}-rtl`]:en==="rtl"},la==null?void 0:la.className,yt,kt,Oa);return jn(x.createElement("div",Object.assign({ref:Ue,style:Object.assign(Object.assign({},la==null?void 0:la.style),wn),className:Je,role:"progressbar","aria-valuenow":ma},(0,We.Z)(Wn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),La))}),Ht=je},49867:function(ft,ut,ee){"use strict";ee.d(ut,{N:function(){return x}});const x=de=>({color:de.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${de.motionDurationSlow}`,"&:focus, &:hover":{color:de.colorLinkHover},"&:active":{color:de.colorLinkActive}})},9430:function(ft,ut,ee){"use strict";ee.d(ut,{default:function(){return wu}});var x={},de="rc-table-internal-hook",pe=ee(97685),De=ee(66680),we=ee(8410),ke=ee(91881),ie=ee(67294),We=ee(73935);function Me(ue){var ge=ie.createContext(void 0),Fe=function(Ze){var nt=Ze.value,vt=Ze.children,It=ie.useRef(nt);It.current=nt;var Mt=ie.useState(function(){return{getValue:function(){return It.current},listeners:new Set}}),Wt=(0,pe.Z)(Mt,1),gn=Wt[0];return(0,we.Z)(function(){(0,We.unstable_batchedUpdates)(function(){gn.listeners.forEach(function(Qt){Qt(nt)})})},[nt]),ie.createElement(ge.Provider,{value:gn},vt)};return{Context:ge,Provider:Fe,defaultValue:ue}}function Te(ue,ge){var Fe=(0,De.Z)(typeof ge=="function"?ge:function(Qt){if(ge===void 0)return Qt;if(!Array.isArray(ge))return Qt[ge];var zn={};return ge.forEach(function(Hn){zn[Hn]=Qt[Hn]}),zn}),Ie=ie.useContext(ue==null?void 0:ue.Context),Ze=Ie||{},nt=Ze.listeners,vt=Ze.getValue,It=ie.useRef();It.current=Fe(Ie?vt():ue==null?void 0:ue.defaultValue);var Mt=ie.useState({}),Wt=(0,pe.Z)(Mt,2),gn=Wt[1];return(0,we.Z)(function(){if(!Ie)return;function Qt(zn){var Hn=Fe(zn);(0,ke.Z)(It.current,Hn,!0)||gn({})}return nt.add(Qt),function(){nt.delete(Qt)}},[Ie]),It.current}var ze=ee(87462),Be=ee(42550);function me(){var ue=ie.createContext(null);function ge(){return ie.useContext(ue)}function Fe(Ze,nt){var vt=(0,Be.Yr)(Ze),It=function(Wt,gn){var Qt=vt?{ref:gn}:{},zn=ie.useRef(0),Hn=ie.useRef(Wt),Kn=ge();return Kn!==null?ie.createElement(Ze,(0,ze.Z)({},Wt,Qt)):((!nt||nt(Hn.current,Wt))&&(zn.current+=1),Hn.current=Wt,ie.createElement(ue.Provider,{value:zn.current},ie.createElement(Ze,(0,ze.Z)({},Wt,Qt))))};return vt?ie.forwardRef(It):It}function Ie(Ze,nt){var vt=(0,Be.Yr)(Ze),It=function(Wt,gn){var Qt=vt?{ref:gn}:{};return ge(),ie.createElement(Ze,(0,ze.Z)({},Wt,Qt))};return vt?ie.memo(ie.forwardRef(It),nt):ie.memo(It,nt)}return{makeImmutable:Fe,responseImmutable:Ie,useImmutableMark:ge}}var oe=me(),a=oe.makeImmutable,y=oe.responseImmutable,b=oe.useImmutableMark,E=me(),z=E.makeImmutable,te=E.responseImmutable,ne=E.useImmutableMark,re=Me(),ae=re;function le(ue,ge){var Fe=ie.useRef(0);Fe.current+=1;var Ie=ie.useRef(ue),Ze=[];Object.keys(ue||{}).map(function(vt){var It;(ue==null?void 0:ue[vt])!==((It=Ie.current)===null||It===void 0?void 0:It[vt])&&Ze.push(vt)}),Ie.current=ue;var nt=ie.useRef([]);return Ze.length&&(nt.current=Ze),ie.useDebugValue(Fe.current),ie.useDebugValue(nt.current.join(", ")),ge&&console.log("".concat(ge,":"),Fe.current,nt.current),Fe.current}var he=null,ve=ie.memo(function(){var ue=le();return ie.createElement("h1",null,"Render Times: ",ue)});ve.displayName="RenderBlock";var Ce=ee(71002),be=ee(1413),ye=ee(4942),Ae=ee(94184),Ne=ee.n(Ae);function Xe(ue,ge,Fe){var Ie=ie.useRef({});return(!("value"in Ie.current)||Fe(Ie.current.condition,ge))&&(Ie.current.value=ue(),Ie.current.condition=ge),Ie.current.value}var Le={},Ge=[],He=function(ge){Ge.push(ge)};function Ke(ue,ge){if(0)var Fe}function qe(ue,ge){if(0)var Fe}function it(){Le={}}function mt(ue,ge,Fe){!ge&&!Le[Fe]&&(ue(!1,Fe),Le[Fe]=!0)}function Yt(ue,ge){mt(Ke,ue,ge)}function cn(ue,ge){mt(qe,ue,ge)}Yt.preMessage=He,Yt.resetWarned=it,Yt.noteOnce=cn;var rt=Yt;function Pt(ue,ge){var Fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ie=new Set;function Ze(nt,vt){var It=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Mt=Ie.has(nt);if(rt(!Mt,"Warning: There may be circular references"),Mt)return!1;if(nt===vt)return!0;if(Fe&&It>1)return!1;Ie.add(nt);var Wt=It+1;if(Array.isArray(nt)){if(!Array.isArray(vt)||nt.length!==vt.length)return!1;for(var gn=0;gn<nt.length;gn++)if(!Ze(nt[gn],vt[gn],Wt))return!1;return!0}if(nt&&vt&&(0,Ce.Z)(nt)==="object"&&(0,Ce.Z)(vt)==="object"){var Qt=Object.keys(nt);return Qt.length!==Object.keys(vt).length?!1:Qt.every(function(zn){return Ze(nt[zn],vt[zn],Wt)})}return!1}return Ze(ue,ge)}var Lt=Pt;function ct(ue,ge){for(var Fe=ue,Ie=0;Ie<ge.length;Ie+=1){if(Fe==null)return;Fe=Fe[ge[Ie]]}return Fe}var Ft=ie.createContext({renderWithProps:!1}),jt=Ft,_e="RC_TABLE_KEY";function En(ue){return ue==null?[]:Array.isArray(ue)?ue:[ue]}function Fn(ue){var ge=[],Fe={};return ue.forEach(function(Ie){for(var Ze=Ie||{},nt=Ze.key,vt=Ze.dataIndex,It=nt||En(vt).join("-")||_e;Fe[It];)It="".concat(It,"_next");Fe[It]=!0,ge.push(It)}),ge}function ha(ue){return ue!=null}function In(ue){return ue&&(0,Ce.Z)(ue)==="object"&&!Array.isArray(ue)&&!ie.isValidElement(ue)}function at(ue,ge,Fe,Ie,Ze,nt){var vt=ie.useContext(jt),It=ne(),Mt=Xe(function(){if(ha(Ie))return[Ie];var Wt=ge==null||ge===""?[]:Array.isArray(ge)?ge:[ge],gn=ct(ue,Wt),Qt=gn,zn=void 0;if(Ze){var Hn=Ze(gn,ue,Fe);In(Hn)?(Qt=Hn.children,zn=Hn.props,vt.renderWithProps=!0):Qt=Hn}return[Qt,zn]},[It,ue,Ie,ge,Ze,Fe],function(Wt,gn){if(nt){var Qt=(0,pe.Z)(Wt,2),zn=Qt[1],Hn=(0,pe.Z)(gn,2),Kn=Hn[1];return nt(Kn,zn)}return vt.renderWithProps?!0:!Lt(Wt,gn,!0)});return Mt}function lt(ue,ge,Fe,Ie){var Ze=ue+ge-1;return ue<=Ie&&Ze>=Fe}function dt(ue,ge){return Te(ae,function(Fe){var Ie=lt(ue,ge||1,Fe.hoverStartRow,Fe.hoverEndRow);return[Ie,Fe.onHover]})}var At=function(ge){var Fe=ge.ellipsis,Ie=ge.rowType,Ze=ge.children,nt,vt=Fe===!0?{showTitle:!0}:Fe;return vt&&(vt.showTitle||Ie==="header")&&(typeof Ze=="string"||typeof Ze=="number"?nt=Ze.toString():ie.isValidElement(Ze)&&typeof Ze.props.children=="string"&&(nt=Ze.props.children)),nt};function Et(ue){var ge,Fe,Ie,Ze,nt,vt,It,Mt,Wt=ue.component,gn=ue.children,Qt=ue.ellipsis,zn=ue.scope,Hn=ue.prefixCls,Kn=ue.className,ea=ue.align,vn=ue.record,va=ue.render,oa=ue.dataIndex,ja=ue.renderIndex,gr=ue.shouldCellUpdate,Pr=ue.index,nr=ue.rowType,Lr=ue.colSpan,Jr=ue.rowSpan,Ya=ue.fixLeft,or=ue.fixRight,$a=ue.firstFixLeft,Ga=ue.lastFixLeft,qa=ue.firstFixRight,Tr=ue.lastFixRight,no=ue.appendNode,_r=ue.additionalProps,br=_r===void 0?{}:_r,ro=ue.isSticky,po="".concat(Hn,"-cell"),Yo=Te(ae,["supportSticky","allColumnsFixedLeft"]),bo=Yo.supportSticky,Si=Yo.allColumnsFixedLeft,Pi=at(vn,oa,ja,gn,va,gr),qr=(0,pe.Z)(Pi,2),Bi=qr[0],Oo=qr[1],mi={},ui=typeof Ya=="number"&&bo,pl=typeof or=="number"&&bo;ui&&(mi.position="sticky",mi.left=Ya),pl&&(mi.position="sticky",mi.right=or);var yr=(ge=(Fe=(Ie=Oo==null?void 0:Oo.colSpan)!==null&&Ie!==void 0?Ie:br.colSpan)!==null&&Fe!==void 0?Fe:Lr)!==null&&ge!==void 0?ge:1,Fr=(Ze=(nt=(vt=Oo==null?void 0:Oo.rowSpan)!==null&&vt!==void 0?vt:br.rowSpan)!==null&&nt!==void 0?nt:Jr)!==null&&Ze!==void 0?Ze:1,Dr=dt(Pr,Fr),pr=(0,pe.Z)(Dr,2),No=pr[0],hr=pr[1],Wr=function(Ti){var hl;vn&&hr(Pr,Pr+Fr-1),br==null||(hl=br.onMouseEnter)===null||hl===void 0||hl.call(br,Ti)},Bo=function(Ti){var hl;vn&&hr(-1,-1),br==null||(hl=br.onMouseLeave)===null||hl===void 0||hl.call(br,Ti)};if(yr===0||Fr===0)return null;var ho=(It=br.title)!==null&&It!==void 0?It:At({rowType:nr,ellipsis:Qt,children:Bi}),ol=Ne()(po,Kn,(Mt={},(0,ye.Z)(Mt,"".concat(po,"-fix-left"),ui&&bo),(0,ye.Z)(Mt,"".concat(po,"-fix-left-first"),$a&&bo),(0,ye.Z)(Mt,"".concat(po,"-fix-left-last"),Ga&&bo),(0,ye.Z)(Mt,"".concat(po,"-fix-left-all"),Ga&&Si&&bo),(0,ye.Z)(Mt,"".concat(po,"-fix-right"),pl&&bo),(0,ye.Z)(Mt,"".concat(po,"-fix-right-first"),qa&&bo),(0,ye.Z)(Mt,"".concat(po,"-fix-right-last"),Tr&&bo),(0,ye.Z)(Mt,"".concat(po,"-ellipsis"),Qt),(0,ye.Z)(Mt,"".concat(po,"-with-append"),no),(0,ye.Z)(Mt,"".concat(po,"-fix-sticky"),(ui||pl)&&ro&&bo),(0,ye.Z)(Mt,"".concat(po,"-row-hover"),!Oo&&No),Mt),br.className,Oo==null?void 0:Oo.className),tl={};ea&&(tl.textAlign=ea);var Ol=(0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)({},mi),br.style),tl),Oo==null?void 0:Oo.style),Ii=Bi;return(0,Ce.Z)(Ii)==="object"&&!Array.isArray(Ii)&&!ie.isValidElement(Ii)&&(Ii=null),Qt&&(Ga||qa)&&(Ii=ie.createElement("span",{className:"".concat(po,"-content")},Ii)),ie.createElement(Wt,(0,ze.Z)({},Oo,br,{className:ol,style:Ol,title:ho,scope:zn,onMouseEnter:Wr,onMouseLeave:Bo,colSpan:yr!==1?yr:null,rowSpan:Fr!==1?Fr:null}),no,Ii)}var gt=ie.memo(Et);function Xt(ue,ge,Fe,Ie,Ze,nt){var vt=Fe[ue]||{},It=Fe[ge]||{},Mt,Wt;vt.fixed==="left"?Mt=Ie.left[Ze==="rtl"?ge:ue]:It.fixed==="right"&&(Wt=Ie.right[Ze==="rtl"?ue:ge]);var gn=!1,Qt=!1,zn=!1,Hn=!1,Kn=Fe[ge+1],ea=Fe[ue-1],vn=!(nt!=null&&nt.children);if(Ze==="rtl"){if(Mt!==void 0){var va=ea&&ea.fixed==="left";Hn=!va&&vn}else if(Wt!==void 0){var oa=Kn&&Kn.fixed==="right";zn=!oa&&vn}}else if(Mt!==void 0){var ja=Kn&&Kn.fixed==="left";gn=!ja&&vn}else if(Wt!==void 0){var gr=ea&&ea.fixed==="right";Qt=!gr&&vn}return{fixLeft:Mt,fixRight:Wt,lastFixLeft:gn,firstFixRight:Qt,lastFixRight:zn,firstFixLeft:Hn,isSticky:Ie.isSticky}}var Ot=ie.createContext({}),bt=Ot;function on(ue){var ge=ue.className,Fe=ue.index,Ie=ue.children,Ze=ue.colSpan,nt=Ze===void 0?1:Ze,vt=ue.rowSpan,It=ue.align,Mt=Te(ae,["prefixCls","direction"]),Wt=Mt.prefixCls,gn=Mt.direction,Qt=ie.useContext(bt),zn=Qt.scrollColumnIndex,Hn=Qt.stickyOffsets,Kn=Qt.flattenColumns,ea=Qt.columns,vn=Fe+nt-1,va=vn+1===zn?nt+1:nt,oa=Xt(Fe,Fe+va-1,Kn,Hn,gn,ea==null?void 0:ea[Fe]);return ie.createElement(gt,(0,ze.Z)({className:ge,index:Fe,component:"td",prefixCls:Wt,record:null,dataIndex:null,align:It,colSpan:va,rowSpan:vt,render:function(){return Ie}},oa))}var Jt=ee(45987),$e=["children"];function Re(ue){var ge=ue.children,Fe=(0,Jt.Z)(ue,$e);return ie.createElement("tr",Fe,ge)}function Nn(ue){var ge=ue.children;return ge}Nn.Row=Re,Nn.Cell=on;var xe=Nn;function je(ue){var ge=ue.children,Fe=ue.stickyOffsets,Ie=ue.flattenColumns,Ze=ue.columns,nt=Te(ae,"prefixCls"),vt=Ie.length-1,It=Ie[vt],Mt=ie.useMemo(function(){return{stickyOffsets:Fe,flattenColumns:Ie,scrollColumnIndex:It!=null&&It.scrollbar?vt:null,columns:Ze}},[It,Ie,vt,Fe,Ze]);return ie.createElement(bt.Provider,{value:Mt},ie.createElement("tfoot",{className:"".concat(nt,"-summary")},ge))}var Ht=te(je),et=xe;function Ue(ue){var ge=ie.useRef();ge.current=ue;var Fe=ie.useCallback(function(){for(var Ie,Ze=arguments.length,nt=new Array(Ze),vt=0;vt<Ze;vt++)nt[vt]=arguments[vt];return(Ie=ge.current)===null||Ie===void 0?void 0:Ie.call.apply(Ie,[ge].concat(nt))},[]);return Fe}function Ct(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var yt=Ct()?ie.useLayoutEffect:ie.useEffect,kt=function(ge,Fe){var Ie=React.useRef(!0);yt(function(){return ge(Ie.current)},Fe),yt(function(){return Ie.current=!1,function(){Ie.current=!0}},[])},Pn=function(ge,Fe){kt(function(Ie){if(!Ie)return ge()},Fe)},Nt=null;function Tt(ue){var ge=React.useRef(!1),Fe=React.useState(ue),Ie=_slicedToArray(Fe,2),Ze=Ie[0],nt=Ie[1];React.useEffect(function(){return ge.current=!1,function(){ge.current=!0}},[]);function vt(It,Mt){Mt&&ge.current||nt(It)}return[Ze,vt]}function St(ue){return ue!==void 0}function tn(ue,ge){var Fe=ge||{},Ie=Fe.defaultValue,Ze=Fe.value,nt=Fe.onChange,vt=Fe.postState,It=useState(function(){return St(Ze)?Ze:St(Ie)?typeof Ie=="function"?Ie():Ie:typeof ue=="function"?ue():ue}),Mt=_slicedToArray(It,2),Wt=Mt[0],gn=Mt[1],Qt=Ze!==void 0?Ze:Wt,zn=vt?vt(Qt):Qt,Hn=useEvent(nt),Kn=useState([Qt]),ea=_slicedToArray(Kn,2),vn=ea[0],va=ea[1];useLayoutUpdateEffect(function(){var ja=vn[0];Wt!==ja&&Hn(Wt,ja)},[vn]),useLayoutUpdateEffect(function(){St(Ze)||gn(Ze)},[Ze]);var oa=useEvent(function(ja,gr){gn(ja,gr),va([Qt],gr)});return[zn,oa]}var Kt=ee(35110);function mn(ue,ge){typeof ue=="function"?ue(ge):(0,Ce.Z)(ue)==="object"&&ue&&"current"in ue&&(ue.current=ge)}function Qn(){for(var ue=arguments.length,ge=new Array(ue),Fe=0;Fe<ue;Fe++)ge[Fe]=arguments[Fe];var Ie=ge.filter(function(Ze){return Ze});return Ie.length<=1?Ie[0]:function(Ze){ge.forEach(function(nt){mn(nt,Ze)})}}function wn(){for(var ue=arguments.length,ge=new Array(ue),Fe=0;Fe<ue;Fe++)ge[Fe]=arguments[Fe];return useMemo(function(){return Qn.apply(void 0,ge)},ge,function(Ie,Ze){return Ie.length!==Ze.length||Ie.every(function(nt,vt){return nt!==Ze[vt]})})}function Wn(ue){var ge,Fe,Ie=isMemo(ue)?ue.type.type:ue.type;return!(typeof Ie=="function"&&!((ge=Ie.prototype)!==null&&ge!==void 0&&ge.render)||typeof ue=="function"&&!((Fe=ue.prototype)!==null&&Fe!==void 0&&Fe.render))}function ma(ue){return!isValidElement(ue)||isFragment(ue)?!1:Wn(ue)}function _t(ue,ge,Fe,Ie){if(!ge.length)return Fe;var Ze=_toArray(ge),nt=Ze[0],vt=Ze.slice(1),It;return!ue&&typeof nt=="number"?It=[]:Array.isArray(ue)?It=_toConsumableArray(ue):It=_objectSpread({},ue),Ie&&Fe===void 0&&vt.length===1?delete It[nt][vt[0]]:It[nt]=_t(It[nt],vt,Fe,Ie),It}function Vt(ue,ge,Fe){var Ie=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return ge.length&&Ie&&Fe===void 0&&!get(ue,ge.slice(0,-1))?ue:_t(ue,ge,Fe,Ie)}function en(ue){return _typeof(ue)==="object"&&ue!==null&&Object.getPrototypeOf(ue)===Object.prototype}function la(ue){return Array.isArray(ue)?[]:{}}var aa=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function jn(){for(var ue=arguments.length,ge=new Array(ue),Fe=0;Fe<ue;Fe++)ge[Fe]=arguments[Fe];var Ie=la(ge[0]);return ge.forEach(function(Ze){function nt(vt,It){var Mt=new Set(It),Wt=get(Ze,vt),gn=Array.isArray(Wt);if(gn||en(Wt)){if(!Mt.has(Wt)){Mt.add(Wt);var Qt=get(Ie,vt);gn?Ie=Vt(Ie,vt,[]):(!Qt||_typeof(Qt)!=="object")&&(Ie=Vt(Ie,vt,la(Wt))),aa(Wt).forEach(function(zn){nt([].concat(_toConsumableArray(vt),[zn]),Mt)})}}else Ie=Vt(Ie,vt,Wt)}nt([])}),Ie}var Oa=ee(48555),Ia=function(ue){if(!ue)return!1;if(ue instanceof Element){if(ue.offsetParent)return!0;if(ue.getBBox){var ge=ue.getBBox(),Fe=ge.width,Ie=ge.height;if(Fe||Ie)return!0}if(ue.getBoundingClientRect){var Ze=ue.getBoundingClientRect(),nt=Ze.width,vt=Ze.height;if(nt||vt)return!0}}return!1},vr=function(ge){if(Ct()&&window.document.documentElement){var Fe=Array.isArray(ge)?ge:[ge],Ie=window.document.documentElement;return Fe.some(function(Ze){return Ze in Ie.style})}return!1},zr=function(ge,Fe){if(!vr(ge))return!1;var Ie=document.createElement("div"),Ze=Ie.style[ge];return Ie.style[ge]=Fe,Ie.style[ge]!==Ze};function La(ue,ge){return!Array.isArray(ue)&&ge!==void 0?zr(ue,ge):vr(ue)}var Je;function Bt(ue){if(typeof document=="undefined")return 0;if(ue||Je===void 0){var ge=document.createElement("div");ge.style.width="100%",ge.style.height="200px";var Fe=document.createElement("div"),Ie=Fe.style;Ie.position="absolute",Ie.top="0",Ie.left="0",Ie.pointerEvents="none",Ie.visibility="hidden",Ie.width="200px",Ie.height="150px",Ie.overflow="hidden",Fe.appendChild(ge),document.body.appendChild(Fe);var Ze=ge.offsetWidth;Fe.style.overflow="scroll";var nt=ge.offsetWidth;Ze===nt&&(nt=Fe.clientWidth),document.body.removeChild(Fe),Je=Ze-nt}return Je}function xt(ue){var ge=ue.match(/^(.*)px$/),Fe=Number(ge==null?void 0:ge[1]);return Number.isNaN(Fe)?Bt():Fe}function Tn(ue){if(typeof document=="undefined"||!ue||!(ue instanceof Element))return{width:0,height:0};var ge=getComputedStyle(ue,"::-webkit-scrollbar"),Fe=ge.width,Ie=ge.height;return{width:xt(Fe),height:xt(Ie)}}var pn=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,_n=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Xr="".concat(pn," ").concat(_n).split(/[\s\n]+/),Ta="aria-",Cr="data-";function Yr(ue,ge){return ue.indexOf(ge)===0}function co(ue){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Fe;ge===!1?Fe={aria:!0,data:!0,attr:!0}:ge===!0?Fe={aria:!0}:Fe=(0,be.Z)({},ge);var Ie={};return Object.keys(ue).forEach(function(Ze){(Fe.aria&&(Ze==="role"||Yr(Ze,Ta))||Fe.data&&Yr(Ze,Cr)||Fe.attr&&Xr.includes(Ze))&&(Ie[Ze]=ue[Ze])}),Ie}function Xn(ue,ge,Fe,Ie,Ze,nt,vt){ue.push({record:ge,indent:Fe,index:vt});var It=nt(ge),Mt=Ze==null?void 0:Ze.has(It);if(ge&&Array.isArray(ge[Ie])&&Mt)for(var Wt=0;Wt<ge[Ie].length;Wt+=1)Xn(ue,ge[Ie][Wt],Fe+1,Ie,Ze,nt,Wt)}function ur(ue,ge,Fe,Ie){var Ze=ie.useMemo(function(){if(Fe!=null&&Fe.size){for(var nt=[],vt=0;vt<(ue==null?void 0:ue.length);vt+=1){var It=ue[vt];Xn(nt,It,0,ge,Fe,Ie,vt)}return nt}return ue==null?void 0:ue.map(function(Mt,Wt){return{record:Mt,indent:0,index:Wt}})},[ue,ge,Fe,Ie]);return Ze}function pt(ue){var ge=ue.prefixCls,Fe=ue.children,Ie=ue.component,Ze=ue.cellComponent,nt=ue.className,vt=ue.expanded,It=ue.colSpan,Mt=ue.isEmpty,Wt=Te(ae,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),gn=Wt.scrollbarSize,Qt=Wt.fixHeader,zn=Wt.fixColumn,Hn=Wt.componentWidth,Kn=Wt.horizonScroll,ea=Fe;return(Mt?Kn&&Hn:zn)&&(ea=ie.createElement("div",{style:{width:Hn-(Qt?gn:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ge,"-expanded-row-fixed")},ea)),ie.createElement(Ie,{className:nt,style:{display:vt?null:"none"}},ie.createElement(gt,{component:Ze,prefixCls:ge,colSpan:It},ea))}var qt=pt;function Ut(ue,ge,Fe,Ie){var Ze=Te(ae,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),nt=Ze.flattenColumns,vt=Ze.expandableType,It=Ze.expandedKeys,Mt=Ze.childrenColumnName,Wt=Ze.onTriggerExpand,gn=Ze.rowExpandable,Qt=Ze.onRow,zn=Ze.expandRowByClick,Hn=Ze.rowClassName,Kn=vt==="nest",ea=vt==="row"&&(!gn||gn(ue)),vn=ea||Kn,va=It&&It.has(ge),oa=Mt&&ue&&ue[Mt],ja=Ue(Wt),gr=Qt==null?void 0:Qt(ue,Fe),Pr=gr==null?void 0:gr.onClick,nr=function(or){zn&&vn&&Wt(ue,or);for(var $a=arguments.length,Ga=new Array($a>1?$a-1:0),qa=1;qa<$a;qa++)Ga[qa-1]=arguments[qa];Pr==null||Pr.apply(void 0,[or].concat(Ga))},Lr;typeof Hn=="string"?Lr=Hn:typeof Hn=="function"&&(Lr=Hn(ue,Fe,Ie));var Jr=Fn(nt);return(0,be.Z)((0,be.Z)({},Ze),{},{columnsKey:Jr,nestExpandable:Kn,expanded:va,hasNestChildren:oa,record:ue,onTriggerExpand:ja,rowSupportExpand:ea,expandable:vn,rowProps:(0,be.Z)((0,be.Z)({},gr),{},{className:Ne()(Lr,gr==null?void 0:gr.className),onClick:nr})})}function dn(ue,ge,Fe,Ie,Ze){var nt=ue.record,vt=ue.prefixCls,It=ue.columnsKey,Mt=ue.fixedInfoList,Wt=ue.expandIconColumnIndex,gn=ue.nestExpandable,Qt=ue.indentSize,zn=ue.expandIcon,Hn=ue.expanded,Kn=ue.hasNestChildren,ea=ue.onTriggerExpand,vn=It[Fe],va=Mt[Fe],oa;Fe===(Wt||0)&&gn&&(oa=ie.createElement(ie.Fragment,null,ie.createElement("span",{style:{paddingLeft:"".concat(Qt*Ie,"px")},className:"".concat(vt,"-row-indent indent-level-").concat(Ie)}),zn({prefixCls:vt,expanded:Hn,expandable:Kn,record:nt,onExpand:ea})));var ja;return ge.onCell&&(ja=ge.onCell(nt,Ze)),{key:vn,fixedInfo:va,appendCellNode:oa,additionalCellProps:ja||{}}}function Gn(ue){var ge=ue.className,Fe=ue.style,Ie=ue.record,Ze=ue.index,nt=ue.renderIndex,vt=ue.rowKey,It=ue.indent,Mt=It===void 0?0:It,Wt=ue.rowComponent,gn=ue.cellComponent,Qt=ue.scopeCellComponent,zn=Ut(Ie,vt,Ze,Mt),Hn=zn.prefixCls,Kn=zn.flattenColumns,ea=zn.expandedRowClassName,vn=zn.expandedRowRender,va=zn.rowProps,oa=zn.expanded,ja=zn.rowSupportExpand,gr=ie.useState(!1),Pr=(0,pe.Z)(gr,2),nr=Pr[0],Lr=Pr[1];ie.useEffect(function(){oa&&Lr(!0)},[oa]);var Jr=ie.createElement(Wt,(0,ze.Z)({},va,{"data-row-key":vt,className:Ne()(ge,"".concat(Hn,"-row"),"".concat(Hn,"-row-level-").concat(Mt),va==null?void 0:va.className),style:(0,be.Z)((0,be.Z)({},Fe),va==null?void 0:va.style)}),Kn.map(function(Ga,qa){var Tr=Ga.render,no=Ga.dataIndex,_r=Ga.className,br=dn(zn,Ga,qa,Mt,Ze),ro=br.key,po=br.fixedInfo,Yo=br.appendCellNode,bo=br.additionalCellProps;return ie.createElement(gt,(0,ze.Z)({className:_r,ellipsis:Ga.ellipsis,align:Ga.align,scope:Ga.rowScope,component:Ga.rowScope?Qt:gn,prefixCls:Hn,key:ro,record:Ie,index:Ze,renderIndex:nt,dataIndex:no,render:Tr,shouldCellUpdate:Ga.shouldCellUpdate},po,{appendNode:Yo,additionalProps:bo}))})),Ya;if(ja&&(nr||oa)){var or=vn(Ie,Ze,Mt+1,oa),$a=ea&&ea(Ie,Ze,Mt);Ya=ie.createElement(qt,{expanded:oa,className:Ne()("".concat(Hn,"-expanded-row"),"".concat(Hn,"-expanded-row-level-").concat(Mt+1),$a),prefixCls:Hn,component:Wt,cellComponent:gn,colSpan:Kn.length,isEmpty:!1},or)}return ie.createElement(ie.Fragment,null,Jr,Ya)}Gn.displayName="BodyRow";var nn=te(Gn);function Vn(ue){var ge=ue.columnKey,Fe=ue.onColumnResize,Ie=ie.useRef();return ie.useEffect(function(){Ie.current&&Fe(ge,Ie.current.offsetWidth)},[]),ie.createElement(Oa.Z,{data:ge},ie.createElement("td",{ref:Ie,style:{padding:0,border:0,height:0}},ie.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function Cn(ue){var ge=ue.prefixCls,Fe=ue.columnsKey,Ie=ue.onColumnResize;return ie.createElement("tr",{"aria-hidden":"true",className:"".concat(ge,"-measure-row"),style:{height:0,fontSize:0}},ie.createElement(Oa.Z.Collection,{onBatchResize:function(nt){nt.forEach(function(vt){var It=vt.data,Mt=vt.size;Ie(It,Mt.offsetWidth)})}},Fe.map(function(Ze){return ie.createElement(Vn,{key:Ze,columnKey:Ze,onColumnResize:Ie})})))}function ia(ue){var ge=ue.data,Fe=ue.measureColumnWidth,Ie=Te(ae,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Ze=Ie.prefixCls,nt=Ie.getComponent,vt=Ie.onColumnResize,It=Ie.flattenColumns,Mt=Ie.getRowKey,Wt=Ie.expandedKeys,gn=Ie.childrenColumnName,Qt=Ie.emptyNode,zn=ur(ge,gn,Wt,Mt),Hn=ie.useRef({renderWithProps:!1}),Kn=nt(["body","wrapper"],"tbody"),ea=nt(["body","row"],"tr"),vn=nt(["body","cell"],"td"),va=nt(["body","cell"],"th"),oa;ge.length?oa=zn.map(function(gr,Pr){var nr=gr.record,Lr=gr.indent,Jr=gr.index,Ya=Mt(nr,Pr);return ie.createElement(nn,{key:Ya,rowKey:Ya,record:nr,index:Pr,renderIndex:Jr,rowComponent:ea,cellComponent:vn,scopeCellComponent:va,getRowKey:Mt,indent:Lr})}):oa=ie.createElement(qt,{expanded:!0,className:"".concat(Ze,"-placeholder"),prefixCls:Ze,component:ea,cellComponent:vn,colSpan:It.length,isEmpty:!0},Qt);var ja=Fn(It);return ie.createElement(jt.Provider,{value:Hn.current},ie.createElement(Kn,{className:"".concat(Ze,"-tbody")},Fe&&ie.createElement(Cn,{prefixCls:Ze,columnsKey:ja,onColumnResize:vt}),oa))}ia.displayName="Body";var Za=te(ia),ir=["expandable"],Nr="RC_TABLE_INTERNAL_COL_DEFINE";function Hr(ue){var ge=ue.expandable,Fe=(0,Jt.Z)(ue,ir),Ie;return"expandable"in ue?Ie=(0,be.Z)((0,be.Z)({},Fe),ge):Ie=Fe,Ie.showExpandColumn===!1&&(Ie.expandIconColumnIndex=-1),Ie}var Ln=["columnType"];function _o(ue){for(var ge=ue.colWidths,Fe=ue.columns,Ie=ue.columCount,Ze=[],nt=Ie||Fe.length,vt=!1,It=nt-1;It>=0;It-=1){var Mt=ge[It],Wt=Fe&&Fe[It],gn=Wt&&Wt[Nr];if(Mt||gn||vt){var Qt=gn||{},zn=Qt.columnType,Hn=(0,Jt.Z)(Qt,Ln);Ze.unshift(ie.createElement("col",(0,ze.Z)({key:It,style:{width:Mt}},Hn))),vt=!0}}return ie.createElement("colgroup",null,Ze)}var Io=_o,Sr=ee(74902),wo=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function ua(ue,ge){return(0,ie.useMemo)(function(){for(var Fe=[],Ie=0;Ie<ge;Ie+=1){var Ze=ue[Ie];if(Ze!==void 0)Fe[Ie]=Ze;else return null}return Fe},[ue.join("_"),ge])}var Ra=ie.forwardRef(function(ue,ge){var Fe=ue.className,Ie=ue.noData,Ze=ue.columns,nt=ue.flattenColumns,vt=ue.colWidths,It=ue.columCount,Mt=ue.stickyOffsets,Wt=ue.direction,gn=ue.fixHeader,Qt=ue.stickyTopOffset,zn=ue.stickyBottomOffset,Hn=ue.stickyClassName,Kn=ue.onScroll,ea=ue.maxContentScroll,vn=ue.children,va=(0,Jt.Z)(ue,wo),oa=Te(ae,["prefixCls","scrollbarSize","isSticky"]),ja=oa.prefixCls,gr=oa.scrollbarSize,Pr=oa.isSticky,nr=Pr&&!gn?0:gr,Lr=ie.useRef(null),Jr=ie.useCallback(function(_r){mn(ge,_r),mn(Lr,_r)},[]);ie.useEffect(function(){var _r;function br(ro){var po=ro,Yo=po.currentTarget,bo=po.deltaX;bo&&(Kn({currentTarget:Yo,scrollLeft:Yo.scrollLeft+bo}),ro.preventDefault())}return(_r=Lr.current)===null||_r===void 0||_r.addEventListener("wheel",br),function(){var ro;(ro=Lr.current)===null||ro===void 0||ro.removeEventListener("wheel",br)}},[]);var Ya=ie.useMemo(function(){return nt.every(function(_r){return _r.width})},[nt]),or=nt[nt.length-1],$a={fixed:or?or.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(ja,"-cell-scrollbar")}}},Ga=(0,ie.useMemo)(function(){return nr?[].concat((0,Sr.Z)(Ze),[$a]):Ze},[nr,Ze]),qa=(0,ie.useMemo)(function(){return nr?[].concat((0,Sr.Z)(nt),[$a]):nt},[nr,nt]),Tr=(0,ie.useMemo)(function(){var _r=Mt.right,br=Mt.left;return(0,be.Z)((0,be.Z)({},Mt),{},{left:Wt==="rtl"?[].concat((0,Sr.Z)(br.map(function(ro){return ro+nr})),[0]):br,right:Wt==="rtl"?_r:[].concat((0,Sr.Z)(_r.map(function(ro){return ro+nr})),[0]),isSticky:Pr})},[nr,Mt,Pr]),no=ua(vt,It);return ie.createElement("div",{style:(0,be.Z)({overflow:"hidden"},Pr?{top:Qt,bottom:zn}:{}),ref:Jr,className:Ne()(Fe,(0,ye.Z)({},Hn,!!Hn))},ie.createElement("table",{style:{tableLayout:"fixed",visibility:Ie||no?null:"hidden"}},(!Ie||!ea||Ya)&&ie.createElement(Io,{colWidths:no?[].concat((0,Sr.Z)(no),[nr]):[],columCount:It+1,columns:qa}),vn((0,be.Z)((0,be.Z)({},va),{},{stickyOffsets:Tr,columns:Ga,flattenColumns:qa}))))});Ra.displayName="FixedHolder";var mr=ie.memo(Ra);function Yn(ue){var ge=ue.cells,Fe=ue.stickyOffsets,Ie=ue.flattenColumns,Ze=ue.rowComponent,nt=ue.cellComponent,vt=ue.tdCellComponent,It=ue.onHeaderRow,Mt=ue.index,Wt=Te(ae,["prefixCls","direction"]),gn=Wt.prefixCls,Qt=Wt.direction,zn;It&&(zn=It(ge.map(function(Kn){return Kn.column}),Mt));var Hn=Fn(ge.map(function(Kn){return Kn.column}));return ie.createElement(Ze,zn,ge.map(function(Kn,ea){var vn=Kn.column,va=Xt(Kn.colStart,Kn.colEnd,Ie,Fe,Qt,vn),oa;return vn&&vn.onHeaderCell&&(oa=Kn.column.onHeaderCell(vn)),ie.createElement(gt,(0,ze.Z)({},Kn,{scope:vn.title?Kn.colSpan>1?"colgroup":"col":null,ellipsis:vn.ellipsis,align:vn.align,component:vn.title?nt:vt,prefixCls:gn,key:Hn[ea]},va,{additionalProps:oa,rowType:"header"}))}))}Yn.displayName="HeaderRow";var $r=Yn;function Or(ue){var ge=[];function Fe(vt,It){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ge[Mt]=ge[Mt]||[];var Wt=It,gn=vt.filter(Boolean).map(function(Qt){var zn={key:Qt.key,className:Qt.className||"",children:Qt.title,column:Qt,colStart:Wt},Hn=1,Kn=Qt.children;return Kn&&Kn.length>0&&(Hn=Fe(Kn,Wt,Mt+1).reduce(function(ea,vn){return ea+vn},0),zn.hasSubColumns=!0),"colSpan"in Qt&&(Hn=Qt.colSpan),"rowSpan"in Qt&&(zn.rowSpan=Qt.rowSpan),zn.colSpan=Hn,zn.colEnd=zn.colStart+Hn-1,ge[Mt].push(zn),Wt+=Hn,Hn});return gn}Fe(ue,0);for(var Ie=ge.length,Ze=function(It){ge[It].forEach(function(Mt){!("rowSpan"in Mt)&&!Mt.hasSubColumns&&(Mt.rowSpan=Ie-It)})},nt=0;nt<Ie;nt+=1)Ze(nt);return ge}function Wo(ue){var ge=ue.stickyOffsets,Fe=ue.columns,Ie=ue.flattenColumns,Ze=ue.onHeaderRow,nt=Te(ae,["prefixCls","getComponent"]),vt=nt.prefixCls,It=nt.getComponent,Mt=ie.useMemo(function(){return Or(Fe)},[Fe]),Wt=It(["header","wrapper"],"thead"),gn=It(["header","row"],"tr"),Qt=It(["header","cell"],"th"),zn=It(["header","cell"],"td");return ie.createElement(Wt,{className:"".concat(vt,"-thead")},Mt.map(function(Hn,Kn){var ea=ie.createElement($r,{key:Kn,flattenColumns:Ie,cells:Hn,stickyOffsets:ge,rowComponent:gn,cellComponent:Qt,tdCellComponent:zn,onHeaderRow:Ze,index:Kn});return ea}))}var Fo=te(Wo);function ko(ue){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Fe=[];return ie.Children.forEach(ue,function(Ie){Ie==null&&!ge.keepEmpty||(Array.isArray(Ie)?Fe=Fe.concat(ko(Ie)):(0,Kt.isFragment)(Ie)&&Ie.props?Fe=Fe.concat(ko(Ie.props.children,ge)):Fe.push(Ie))}),Fe}function Gi(ue){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof ge=="number"?ge:ge.endsWith("%")?ue*parseFloat(ge)/100:null}function Jo(ue,ge){return ie.useMemo(function(){if(ge&&ge>0){var Fe=0,Ie=0;ue.forEach(function(Wt){var gn=Gi(ge,Wt.width);gn?Fe+=gn:Ie+=1});var Ze=ge-Fe,nt=Ie,vt=Ze/Ie,It=0,Mt=ue.map(function(Wt){var gn=(0,be.Z)({},Wt),Qt=Gi(ge,gn.width);if(Qt)gn.width=Qt;else{var zn=Math.floor(vt);gn.width=nt===1?Ze:zn,Ze-=zn,nt-=1}return It+=gn.width,gn});return[Mt,It]}return[ue,ge]},[ue,ge])}var nl=["children"],al=["fixed"];function kn(ue){return ko(ue).filter(function(ge){return ie.isValidElement(ge)}).map(function(ge){var Fe=ge.key,Ie=ge.props,Ze=Ie.children,nt=(0,Jt.Z)(Ie,nl),vt=(0,be.Z)({key:Fe},nt);return Ze&&(vt.children=kn(Ze)),vt})}function Ea(ue){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ue.filter(function(Fe){return Fe&&(0,Ce.Z)(Fe)==="object"}).reduce(function(Fe,Ie,Ze){var nt=Ie.fixed,vt=nt===!0?"left":nt,It="".concat(ge,"-").concat(Ze),Mt=Ie.children;return Mt&&Mt.length>0?[].concat((0,Sr.Z)(Fe),(0,Sr.Z)(Ea(Mt,It).map(function(Wt){return(0,be.Z)({fixed:vt},Wt)}))):[].concat((0,Sr.Z)(Fe),[(0,be.Z)((0,be.Z)({key:It},Ie),{},{fixed:vt})])},[])}function io(ue){for(var ge=!0,Fe=0;Fe<ue.length;Fe+=1){var Ie=ue[Fe];if(ge&&Ie.fixed!=="left")ge=!1;else if(!ge&&Ie.fixed==="left"){warning(!1,"Index ".concat(Fe-1," of `columns` missing `fixed='left'` prop."));break}}for(var Ze=!0,nt=ue.length-1;nt>=0;nt-=1){var vt=ue[nt];if(Ze&&vt.fixed!=="right")Ze=!1;else if(!Ze&&vt.fixed==="right"){warning(!1,"Index ".concat(nt+1," of `columns` missing `fixed='right'` prop."));break}}}function Ho(ue){return ue.map(function(ge){var Fe=ge.fixed,Ie=(0,Jt.Z)(ge,al),Ze=Fe;return Fe==="left"?Ze="right":Fe==="right"&&(Ze="left"),(0,be.Z)({fixed:Ze},Ie)})}function xi(ue,ge){var Fe=ue.prefixCls,Ie=ue.columns,Ze=ue.children,nt=ue.expandable,vt=ue.expandedKeys,It=ue.columnTitle,Mt=ue.getRowKey,Wt=ue.onTriggerExpand,gn=ue.expandIcon,Qt=ue.rowExpandable,zn=ue.expandIconColumnIndex,Hn=ue.direction,Kn=ue.expandRowByClick,ea=ue.columnWidth,vn=ue.fixed,va=ue.scrollWidth,oa=ie.useMemo(function(){return Ie||kn(Ze)},[Ie,Ze]),ja=ie.useMemo(function(){if(nt){var or,$a=oa.slice();if(!$a.includes(x)){var Ga=zn||0;Ga>=0&&$a.splice(Ga,0,x)}var qa=$a.indexOf(x);$a=$a.filter(function(br,ro){return br!==x||ro===qa});var Tr=oa[qa],no;(vn==="left"||vn)&&!zn?no="left":(vn==="right"||vn)&&zn===oa.length?no="right":no=Tr?Tr.fixed:null;var _r=(or={},(0,ye.Z)(or,Nr,{className:"".concat(Fe,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,ye.Z)(or,"title",It),(0,ye.Z)(or,"fixed",no),(0,ye.Z)(or,"className","".concat(Fe,"-row-expand-icon-cell")),(0,ye.Z)(or,"width",ea),(0,ye.Z)(or,"render",function(ro,po,Yo){var bo=Mt(po,Yo),Si=vt.has(bo),Pi=Qt?Qt(po):!0,qr=gn({prefixCls:Fe,expanded:Si,expandable:Pi,record:po,onExpand:Wt});return Kn?ie.createElement("span",{onClick:function(Oo){return Oo.stopPropagation()}},qr):qr}),or);return $a.map(function(br){return br===x?_r:br})}return oa.filter(function(br){return br!==x})},[nt,oa,Mt,vt,gn,Hn]),gr=ie.useMemo(function(){var or=ja;return ge&&(or=ge(or)),or.length||(or=[{render:function(){return null}}]),or},[ge,ja,Hn]),Pr=ie.useMemo(function(){return Hn==="rtl"?Ho(Ea(gr)):Ea(gr)},[gr,Hn,va]),nr=Jo(Pr,va),Lr=(0,pe.Z)(nr,2),Jr=Lr[0],Ya=Lr[1];return[gr,Jr,Ya]}var ri=xi;function oi(ue){var ge,Fe=ue.prefixCls,Ie=ue.record,Ze=ue.onExpand,nt=ue.expanded,vt=ue.expandable,It="".concat(Fe,"-row-expand-icon");if(!vt)return ie.createElement("span",{className:Ne()(It,"".concat(Fe,"-row-spaced"))});var Mt=function(gn){Ze(Ie,gn),gn.stopPropagation()};return ie.createElement("span",{className:Ne()(It,(ge={},(0,ye.Z)(ge,"".concat(Fe,"-row-expanded"),nt),(0,ye.Z)(ge,"".concat(Fe,"-row-collapsed"),!nt),ge)),onClick:Mt})}function Qi(ue,ge,Fe){var Ie=[];function Ze(nt){(nt||[]).forEach(function(vt,It){Ie.push(ge(vt,It)),Ze(vt[Fe])})}return Ze(ue),Ie}function jr(ue,ge,Fe){var Ie=Hr(ue),Ze=Ie.expandIcon,nt=Ie.expandedRowKeys,vt=Ie.defaultExpandedRowKeys,It=Ie.defaultExpandAllRows,Mt=Ie.expandedRowRender,Wt=Ie.onExpand,gn=Ie.onExpandedRowsChange,Qt=Ie.childrenColumnName,zn=Ze||oi,Hn=Qt||"children",Kn=ie.useMemo(function(){return Mt?"row":ue.expandable&&ue.internalHooks===de&&ue.expandable.__PARENT_RENDER_ICON__||ge.some(function(Pr){return Pr&&(0,Ce.Z)(Pr)==="object"&&Pr[Hn]})?"nest":!1},[!!Mt,ge]),ea=ie.useState(function(){return vt||(It?Qi(ge,Fe,Hn):[])}),vn=(0,pe.Z)(ea,2),va=vn[0],oa=vn[1],ja=ie.useMemo(function(){return new Set(nt||va||[])},[nt,va]),gr=ie.useCallback(function(Pr){var nr=Fe(Pr,ge.indexOf(Pr)),Lr,Jr=ja.has(nr);Jr?(ja.delete(nr),Lr=(0,Sr.Z)(ja)):Lr=[].concat((0,Sr.Z)(ja),[nr]),oa(Lr),Wt&&Wt(!Jr,Pr),gn&&gn(Lr)},[Fe,ja,ge,Wt,gn]);return[Ie,Kn,ja,zn,Hn,gr]}function ce(ue,ge,Fe,Ie){var Ze=ue.map(function(nt,vt){return Xt(vt,vt,ue,ge,Fe,Ie==null?void 0:Ie[vt])});return Xe(function(){return Ze},[Ze],function(nt,vt){return!Lt(nt,vt)})}function Pe(ue){var ge=(0,ie.useRef)(ue),Fe=(0,ie.useState)({}),Ie=(0,pe.Z)(Fe,2),Ze=Ie[1],nt=(0,ie.useRef)(null),vt=(0,ie.useRef)([]);function It(Mt){vt.current.push(Mt);var Wt=Promise.resolve();nt.current=Wt,Wt.then(function(){if(nt.current===Wt){var gn=vt.current,Qt=ge.current;vt.current=[],gn.forEach(function(zn){ge.current=zn(ge.current)}),nt.current=null,Qt!==ge.current&&Ze({})}})}return(0,ie.useEffect)(function(){return function(){nt.current=null}},[]),[ge.current,It]}function Oe(ue){var ge=(0,ie.useRef)(ue||null),Fe=(0,ie.useRef)();function Ie(){window.clearTimeout(Fe.current)}function Ze(vt){ge.current=vt,Ie(),Fe.current=window.setTimeout(function(){ge.current=null,Fe.current=void 0},100)}function nt(){return ge.current}return(0,ie.useEffect)(function(){return Ie},[]),[Ze,nt]}function Se(){var ue=ie.useState(-1),ge=(0,pe.Z)(ue,2),Fe=ge[0],Ie=ge[1],Ze=ie.useState(-1),nt=(0,pe.Z)(Ze,2),vt=nt[0],It=nt[1],Mt=ie.useCallback(function(Wt,gn){Ie(Wt),It(gn)},[]);return[Fe,vt,Mt]}var Qe=Ct()?window:null;function ot(ue,ge){var Fe=(0,Ce.Z)(ue)==="object"?ue:{},Ie=Fe.offsetHeader,Ze=Ie===void 0?0:Ie,nt=Fe.offsetSummary,vt=nt===void 0?0:nt,It=Fe.offsetScroll,Mt=It===void 0?0:It,Wt=Fe.getContainer,gn=Wt===void 0?function(){return Qe}:Wt,Qt=gn()||Qe;return ie.useMemo(function(){var zn=!!ue;return{isSticky:zn,stickyClassName:zn?"".concat(ge,"-sticky-holder"):"",offsetHeader:Ze,offsetSummary:vt,offsetScroll:Mt,container:Qt}},[Mt,Ze,vt,ge,Qt])}function wt(ue,ge,Fe){var Ie=(0,ie.useMemo)(function(){for(var Ze=[],nt=[],vt=0,It=0,Mt=0;Mt<ge;Mt+=1)if(Fe==="rtl"){nt[Mt]=It,It+=ue[Mt]||0;var Wt=ge-Mt-1;Ze[Wt]=vt,vt+=ue[Wt]||0}else{Ze[Mt]=vt,vt+=ue[Mt]||0;var gn=ge-Mt-1;nt[gn]=It,It+=ue[gn]||0}return{left:Ze,right:nt}},[ue,ge,Fe]);return Ie}var tt=wt;function st(ue){var ge=ue.className,Fe=ue.children;return ie.createElement("div",{className:ge},Fe)}var ht=st;function an(ue,ge,Fe,Ie){var Ze=We.unstable_batchedUpdates?function(vt){We.unstable_batchedUpdates(Fe,vt)}:Fe;return ue!=null&&ue.addEventListener&&ue.addEventListener(ge,Ze,Ie),{remove:function(){ue!=null&&ue.removeEventListener&&ue.removeEventListener(ge,Ze,Ie)}}}var fn=/margin|padding|width|height|max|min|offset/,Un={left:!0,top:!0},Rn={cssFloat:1,styleFloat:1,float:1};function Fa(ue){return ue.nodeType===1?ue.ownerDocument.defaultView.getComputedStyle(ue,null):{}}function fa(ue,ge,Fe){if(ge=ge.toLowerCase(),Fe==="auto"){if(ge==="height")return ue.offsetHeight;if(ge==="width")return ue.offsetWidth}return ge in Un||(Un[ge]=fn.test(ge)),Un[ge]?parseFloat(Fe)||0:Fe}function hn(ue,ge){var Fe=arguments.length,Ie=Fa(ue);return ge=Rn[ge]?"cssFloat"in ue.style?"cssFloat":"styleFloat":ge,Fe===1?Ie:fa(ue,ge,Ie[ge]||ue.style[ge])}function Gt(ue,ge,Fe){var Ie=arguments.length;if(ge=Rn[ge]?"cssFloat"in ue.style?"cssFloat":"styleFloat":ge,Ie===3)return typeof Fe=="number"&&fn.test(ge)&&(Fe="".concat(Fe,"px")),ue.style[ge]=Fe,Fe;for(var Ze in ge)ge.hasOwnProperty(Ze)&&Gt(ue,Ze,ge[Ze]);return Fa(ue)}function Sn(ue){return ue===document.body?document.documentElement.clientWidth:ue.offsetWidth}function yn(ue){return ue===document.body?window.innerHeight||document.documentElement.clientHeight:ue.offsetHeight}function pa(){var ue=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),ge=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ue,height:ge}}function Aa(){var ue=document.documentElement.clientWidth,ge=window.innerHeight||document.documentElement.clientHeight;return{width:ue,height:ge}}function xa(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function za(ue){var ge=ue.getBoundingClientRect(),Fe=document.documentElement;return{left:ge.left+(window.pageXOffset||Fe.scrollLeft)-(Fe.clientLeft||document.body.clientLeft||0),top:ge.top+(window.pageYOffset||Fe.scrollTop)-(Fe.clientTop||document.body.clientTop||0)}}var Na=function(ge,Fe){var Ie,Ze,nt=ge.scrollBodyRef,vt=ge.onScroll,It=ge.offsetScroll,Mt=ge.container,Wt=Te(ae,"prefixCls"),gn=((Ie=nt.current)===null||Ie===void 0?void 0:Ie.scrollWidth)||0,Qt=((Ze=nt.current)===null||Ze===void 0?void 0:Ze.clientWidth)||0,zn=gn&&Qt*(Qt/gn),Hn=ie.useRef(),Kn=Pe({scrollLeft:0,isHiddenScrollBar:!1}),ea=(0,pe.Z)(Kn,2),vn=ea[0],va=ea[1],oa=ie.useRef({delta:0,x:0}),ja=ie.useState(!1),gr=(0,pe.Z)(ja,2),Pr=gr[0],nr=gr[1],Lr=function(){nr(!1)},Jr=function(qa){qa.persist(),oa.current.delta=qa.pageX-vn.scrollLeft,oa.current.x=0,nr(!0),qa.preventDefault()},Ya=function(qa){var Tr,no=qa||((Tr=window)===null||Tr===void 0?void 0:Tr.event),_r=no.buttons;if(!Pr||_r===0){Pr&&nr(!1);return}var br=oa.current.x+qa.pageX-oa.current.x-oa.current.delta;br<=0&&(br=0),br+zn>=Qt&&(br=Qt-zn),vt({scrollLeft:br/Qt*(gn+2)}),oa.current.x=qa.pageX},or=function(){if(nt.current){var qa=za(nt.current).top,Tr=qa+nt.current.offsetHeight,no=Mt===window?document.documentElement.scrollTop+window.innerHeight:za(Mt).top+Mt.clientHeight;Tr-Bt()<=no||qa>=no-It?va(function(_r){return(0,be.Z)((0,be.Z)({},_r),{},{isHiddenScrollBar:!0})}):va(function(_r){return(0,be.Z)((0,be.Z)({},_r),{},{isHiddenScrollBar:!1})})}},$a=function(qa){va(function(Tr){return(0,be.Z)((0,be.Z)({},Tr),{},{scrollLeft:qa/gn*Qt||0})})};return ie.useImperativeHandle(Fe,function(){return{setScrollLeft:$a}}),ie.useEffect(function(){var Ga=an(document.body,"mouseup",Lr,!1),qa=an(document.body,"mousemove",Ya,!1);return or(),function(){Ga.remove(),qa.remove()}},[zn,Pr]),ie.useEffect(function(){var Ga=an(Mt,"scroll",or,!1),qa=an(window,"resize",or,!1);return function(){Ga.remove(),qa.remove()}},[Mt]),ie.useEffect(function(){vn.isHiddenScrollBar||va(function(Ga){var qa=nt.current;return qa?(0,be.Z)((0,be.Z)({},Ga),{},{scrollLeft:qa.scrollLeft/qa.scrollWidth*qa.clientWidth}):Ga})},[vn.isHiddenScrollBar]),gn<=Qt||!zn||vn.isHiddenScrollBar?null:ie.createElement("div",{style:{height:Bt(),width:Qt,bottom:It},className:"".concat(Wt,"-sticky-scroll")},ie.createElement("div",{onMouseDown:Jr,ref:Hn,className:Ne()("".concat(Wt,"-sticky-scroll-bar"),(0,ye.Z)({},"".concat(Wt,"-sticky-scroll-bar-active"),Pr)),style:{width:"".concat(zn,"px"),transform:"translate3d(".concat(vn.scrollLeft,"px, 0, 0)")}}))},qn=ie.forwardRef(Na);function Ba(ue){return null}var wa=Ba;function Ua(ue){return null}var er=Ua,Rr="rc-table",ao=[],xo={};function ga(){return"No Data"}function Eo(ue){var ge,Fe=(0,be.Z)({rowKey:"key",prefixCls:Rr,emptyText:ga},ue),Ie=Fe.prefixCls,Ze=Fe.className,nt=Fe.rowClassName,vt=Fe.style,It=Fe.data,Mt=Fe.rowKey,Wt=Fe.scroll,gn=Fe.tableLayout,Qt=Fe.direction,zn=Fe.title,Hn=Fe.footer,Kn=Fe.summary,ea=Fe.caption,vn=Fe.id,va=Fe.showHeader,oa=Fe.components,ja=Fe.emptyText,gr=Fe.onRow,Pr=Fe.onHeaderRow,nr=Fe.internalHooks,Lr=Fe.transformColumns,Jr=Fe.internalRefs,Ya=Fe.tailor,or=Fe.sticky,$a=It||ao,Ga=!!$a.length,qa=nr===de,Tr=ie.useCallback(function(Xo,bi){return ct(oa,Xo)||bi},[oa]),no=ie.useMemo(function(){return typeof Mt=="function"?Mt:function(Xo){var bi=Xo&&Xo[Mt];return bi}},[Mt]),_r=Tr(["body"]),br=Se(),ro=(0,pe.Z)(br,3),po=ro[0],Yo=ro[1],bo=ro[2],Si=jr(Fe,$a,no),Pi=(0,pe.Z)(Si,6),qr=Pi[0],Bi=Pi[1],Oo=Pi[2],mi=Pi[3],ui=Pi[4],pl=Pi[5],yr=Wt==null?void 0:Wt.x,Fr=ie.useState(0),Dr=(0,pe.Z)(Fr,2),pr=Dr[0],No=Dr[1],hr=ri((0,be.Z)((0,be.Z)((0,be.Z)({},Fe),qr),{},{expandable:!!qr.expandedRowRender,columnTitle:qr.columnTitle,expandedKeys:Oo,getRowKey:no,onTriggerExpand:pl,expandIcon:mi,expandIconColumnIndex:qr.expandIconColumnIndex,direction:Qt,scrollWidth:qa&&Ya&&typeof yr=="number"?yr:null}),qa?Lr:null),Wr=(0,pe.Z)(hr,3),Bo=Wr[0],ho=Wr[1],ol=Wr[2],tl=ol!=null?ol:yr,Ol=ie.useMemo(function(){return{columns:Bo,flattenColumns:ho}},[Bo,ho]),Ii=ie.useRef(),Rl=ie.useRef(),Ti=ie.useRef(),hl=ie.useRef(),gu=ie.useRef(),zo=ie.useState(!1),Ko=(0,pe.Z)(zo,2),fi=Ko[0],Ri=Ko[1],Hi=ie.useState(!1),mo=(0,pe.Z)(Hi,2),vl=mo[0],il=mo[1],bl=Pe(new Map),Gl=(0,pe.Z)(bl,2),Kl=Gl[0],vu=Gl[1],tu=Fn(ho),Ml=tu.map(function(Xo){return Kl.get(Xo)}),Sl=ie.useMemo(function(){return Ml},[Ml.join("_")]),dl=tt(Sl,ho.length,Qt),ji=Wt&&ha(Wt.y),yi=Wt&&ha(tl)||!!qr.fixed,Ul=yi&&ho.some(function(Xo){var bi=Xo.fixed;return bi}),mu=ie.useRef(),$l=ot(or,Ie),Vl=$l.isSticky,Fu=$l.offsetHeader,Cu=$l.offsetSummary,oo=$l.offsetScroll,ai=$l.stickyClassName,ll=$l.container,pi=ie.useMemo(function(){return Kn==null?void 0:Kn($a)},[Kn,$a]),ul=(ji||Vl)&&ie.isValidElement(pi)&&pi.type===xe&&pi.props.fixed,xl,wl,nu;ji&&(wl={overflowY:"scroll",maxHeight:Wt.y}),yi&&(xl={overflowX:"auto"},ji||(wl={overflowY:"hidden"}),nu={width:tl===!0?"auto":tl,minWidth:"100%"});var Du=ie.useCallback(function(Xo,bi){Ia(Ii.current)&&vu(function(Yl){if(Yl.get(Xo)!==bi){var yu=new Map(Yl);return yu.set(Xo,bi),yu}return Yl})},[]),Tu=Oe(null),Bu=(0,pe.Z)(Tu,2),Ru=Bu[0],Au=Bu[1];function Su(Xo,bi){bi&&(typeof bi=="function"?bi(Xo):bi.scrollLeft!==Xo&&(bi.scrollLeft=Xo,bi.scrollLeft!==Xo&&setTimeout(function(){bi.scrollLeft=Xo},0)))}var iu=Ue(function(Xo){var bi=Xo.currentTarget,Yl=Xo.scrollLeft,yu=Qt==="rtl",Eu=typeof Yl=="number"?Yl:bi.scrollLeft,ts=bi||xo;if(!Au()||Au()===ts){var Gu;Ru(ts),Su(Eu,Rl.current),Su(Eu,Ti.current),Su(Eu,gu.current),Su(Eu,(Gu=mu.current)===null||Gu===void 0?void 0:Gu.setScrollLeft)}var Ku=bi||Rl.current;if(Ku){var _u=Ku.scrollWidth,Wu=Ku.clientWidth;if(_u===Wu){Ri(!1),il(!1);return}yu?(Ri(-Eu<_u-Wu),il(-Eu>0)):(Ri(Eu>0),il(Eu<_u-Wu))}}),Lu=function(){yi&&Ti.current?iu({currentTarget:Ti.current}):(Ri(!1),il(!1))},ku=function(bi){var Yl=bi.width;Yl!==pr&&(Lu(),No(Ii.current?Ii.current.offsetWidth:Yl))},Ro=ie.useRef(!1);ie.useEffect(function(){Ro.current&&Lu()},[yi,It,Bo.length]),ie.useEffect(function(){Ro.current=!0},[]);var Er=ie.useState(0),Ur=(0,pe.Z)(Er,2),Mo=Ur[0],Ci=Ur[1],Pu=ie.useState(!0),kl=(0,pe.Z)(Pu,2),au=kl[0],lu=kl[1];ie.useEffect(function(){(!Ya||!qa)&&(Ti.current instanceof Element?Ci(Tn(Ti.current).width):Ci(Tn(hl.current).width)),lu(La("position","sticky"))},[]),ie.useEffect(function(){qa&&Jr&&(Jr.body.current=Ti.current)});var bu=ie.useCallback(function(Xo){return ie.createElement(ie.Fragment,null,ie.createElement(Fo,Xo),ul==="top"&&ie.createElement(Ht,Xo,pi))},[ul,pi]),fu=ie.useCallback(function(Xo){return ie.createElement(Ht,Xo,pi)},[pi]),Zl=Tr(["table"],"table"),Nu=ie.useMemo(function(){return gn||(Ul?tl==="max-content"?"auto":"fixed":ji||Vl||ho.some(function(Xo){var bi=Xo.ellipsis;return bi})?"fixed":"auto")},[ji,Ul,ho,gn,Vl]),Zu,zu={colWidths:Sl,columCount:ho.length,stickyOffsets:dl,onHeaderRow:Pr,fixHeader:ji,scroll:Wt},Vu=ie.useMemo(function(){return Ga?null:typeof ja=="function"?ja():ja},[Ga,ja]),Yu=ie.createElement(Za,{data:$a,measureColumnWidth:ji||yi||Vl}),Qu=ie.createElement(Io,{colWidths:ho.map(function(Xo){var bi=Xo.width;return bi}),columns:ho}),Xu=ea!=null?ie.createElement("caption",{className:"".concat(Ie,"-caption")},ea):void 0,is=co(Fe,{data:!0}),Ju=co(Fe,{aria:!0});if(ji||Vl){var Hu;typeof _r=="function"?(Hu=_r($a,{scrollbarSize:Mo,ref:Ti,onScroll:iu}),zu.colWidths=ho.map(function(Xo,bi){var Yl=Xo.width,yu=bi===ho.length-1?Yl-Mo:Yl;return typeof yu=="number"&&!Number.isNaN(yu)?yu:0})):Hu=ie.createElement("div",{style:(0,be.Z)((0,be.Z)({},xl),wl),onScroll:iu,ref:Ti,className:Ne()("".concat(Ie,"-body"))},ie.createElement(Zl,(0,ze.Z)({style:(0,be.Z)((0,be.Z)({},nu),{},{tableLayout:Nu})},Ju),Xu,Qu,Yu,!ul&&pi&&ie.createElement(Ht,{stickyOffsets:dl,flattenColumns:ho,columns:Bo},pi)));var qu=(0,be.Z)((0,be.Z)((0,be.Z)({noData:!$a.length,maxContentScroll:yi&&tl==="max-content"},zu),Ol),{},{direction:Qt,stickyClassName:ai,onScroll:iu});Zu=ie.createElement(ie.Fragment,null,va!==!1&&ie.createElement(mr,(0,ze.Z)({},qu,{stickyTopOffset:Fu,className:"".concat(Ie,"-header"),ref:Rl}),bu),Hu,ul&&ul!=="top"&&ie.createElement(mr,(0,ze.Z)({},qu,{stickyBottomOffset:Cu,className:"".concat(Ie,"-summary"),ref:gu}),fu),Vl&&ie.createElement(qn,{ref:mu,offsetScroll:oo,scrollBodyRef:Ti,onScroll:iu,container:ll}))}else Zu=ie.createElement("div",{style:(0,be.Z)((0,be.Z)({},xl),wl),className:Ne()("".concat(Ie,"-content")),onScroll:iu,ref:Ti},ie.createElement(Zl,(0,ze.Z)({style:(0,be.Z)((0,be.Z)({},nu),{},{tableLayout:Nu})},Ju),Xu,Qu,va!==!1&&ie.createElement(Fo,(0,ze.Z)({},zu,Ol)),Yu,pi&&ie.createElement(Ht,{stickyOffsets:dl,flattenColumns:ho,columns:Bo},pi)));var ju=ie.createElement("div",(0,ze.Z)({className:Ne()(Ie,Ze,(ge={},(0,ye.Z)(ge,"".concat(Ie,"-rtl"),Qt==="rtl"),(0,ye.Z)(ge,"".concat(Ie,"-ping-left"),fi),(0,ye.Z)(ge,"".concat(Ie,"-ping-right"),vl),(0,ye.Z)(ge,"".concat(Ie,"-layout-fixed"),gn==="fixed"),(0,ye.Z)(ge,"".concat(Ie,"-fixed-header"),ji),(0,ye.Z)(ge,"".concat(Ie,"-fixed-column"),Ul),(0,ye.Z)(ge,"".concat(Ie,"-scroll-horizontal"),yi),(0,ye.Z)(ge,"".concat(Ie,"-has-fix-left"),ho[0]&&ho[0].fixed),(0,ye.Z)(ge,"".concat(Ie,"-has-fix-right"),ho[ho.length-1]&&ho[ho.length-1].fixed==="right"),ge)),style:vt,id:vn,ref:Ii},is),zn&&ie.createElement(ht,{className:"".concat(Ie,"-title")},zn($a)),ie.createElement("div",{ref:hl,className:"".concat(Ie,"-container")},Zu),Hn&&ie.createElement(ht,{className:"".concat(Ie,"-footer")},Hn($a)));yi&&(ju=ie.createElement(Oa.Z,{onResize:ku},ju));var es=ce(ho,dl,Qt,Bo),ls=ie.useMemo(function(){return{scrollX:tl,prefixCls:Ie,getComponent:Tr,scrollbarSize:Mo,direction:Qt,fixedInfoList:es,isSticky:Vl,supportSticky:au,componentWidth:pr,fixHeader:ji,fixColumn:Ul,horizonScroll:yi,tableLayout:Nu,rowClassName:nt,expandedRowClassName:qr.expandedRowClassName,expandIcon:mi,expandableType:Bi,expandRowByClick:qr.expandRowByClick,expandedRowRender:qr.expandedRowRender,onTriggerExpand:pl,expandIconColumnIndex:qr.expandIconColumnIndex,indentSize:qr.indentSize,allColumnsFixedLeft:ho.every(function(Xo){return Xo.fixed==="left"}),emptyNode:Vu,columns:Bo,flattenColumns:ho,onColumnResize:Du,hoverStartRow:po,hoverEndRow:Yo,onHover:bo,rowExpandable:qr.rowExpandable,onRow:gr,getRowKey:no,expandedKeys:Oo,childrenColumnName:ui}},[tl,Ie,Tr,Mo,Qt,es,Vl,au,pr,ji,Ul,yi,Nu,nt,qr.expandedRowClassName,mi,Bi,qr.expandRowByClick,qr.expandedRowRender,pl,qr.expandIconColumnIndex,qr.indentSize,Vu,Bo,ho,Du,po,Yo,bo,qr.rowExpandable,gr,no,Oo,ui]);return ie.createElement(ae.Provider,{value:ls},ju)}function ii(ue){return z(Eo,ue)}var ki=ii();ki.EXPAND_COLUMN=x,ki.INTERNAL_HOOKS=de,ki.Column=wa,ki.ColumnGroup=er,ki.Summary=et;var sl=ki,Zi=ee(73299),di=Me(null),Uo=Me(null);function Xi(ue,ge,Fe){var Ie=ge||1;return Fe[ue+Ie]-(Fe[ue]||0)}function Di(ue){var ge=ue.rowInfo,Fe=ue.column,Ie=ue.colIndex,Ze=ue.indent,nt=ue.index,vt=ue.renderIndex,It=ue.record,Mt=ue.style,Wt=ue.className,gn=ue.inverse,Qt=ue.getHeight,zn=Fe.render,Hn=Fe.dataIndex,Kn=Fe.className,ea=Fe.width,vn=Te(Uo,["columnsOffset"]),va=vn.columnsOffset,oa=dn(ge,Fe,Ie,Ze,nt),ja=oa.key,gr=oa.fixedInfo,Pr=oa.appendCellNode,nr=oa.additionalCellProps,Lr=nr.style,Jr=nr.colSpan,Ya=Jr===void 0?1:Jr,or=nr.rowSpan,$a=or===void 0?1:or,Ga=Ie-1,qa=Xi(Ga,Ya,va),Tr=Ya>1?ea-qa:0,no=(0,be.Z)((0,be.Z)((0,be.Z)({},Lr),Mt),{},{flex:"0 0 ".concat(qa,"px"),width:"".concat(qa,"px"),marginRight:Tr,pointerEvents:"auto"}),_r=ie.useMemo(function(){return gn?$a<=1:Ya===0||$a===0||$a>1},[$a,Ya,gn]);_r?no.visibility="hidden":gn&&(no.height=Qt==null?void 0:Qt($a));var br=_r?function(){return null}:zn,ro={};return($a===0||Ya===0)&&(ro.rowSpan=1,ro.colSpan=1),ie.createElement(gt,(0,ze.Z)({className:Ne()(Kn,Wt),ellipsis:Fe.ellipsis,align:Fe.align,scope:Fe.rowScope,component:"div",prefixCls:ge.prefixCls,key:ja,record:It,index:nt,renderIndex:vt,dataIndex:Hn,render:br,shouldCellUpdate:Fe.shouldCellUpdate},gr,{appendNode:Pr,additionalProps:(0,be.Z)((0,be.Z)({},nr),{},{style:no},ro)}))}var cl=Di,$t=["data","index","className","rowKey","style","extra","getHeight"],Zt=ie.forwardRef(function(ue,ge){var Fe=ue.data,Ie=ue.index,Ze=ue.className,nt=ue.rowKey,vt=ue.style,It=ue.extra,Mt=ue.getHeight,Wt=(0,Jt.Z)(ue,$t),gn=Fe.record,Qt=Fe.indent,zn=Fe.index,Hn=Te(ae,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Kn=Hn.scrollX,ea=Hn.flattenColumns,vn=Hn.prefixCls,va=Hn.fixColumn,oa=Hn.componentWidth,ja=Ut(gn,nt,Ie,Qt),gr=ja.rowSupportExpand,Pr=ja.expanded,nr=ja.rowProps,Lr=ja.expandedRowRender,Jr=ja.expandedRowClassName,Ya;if(gr&&Pr){var or=Lr(gn,Ie,Qt+1,Pr),$a=Jr==null?void 0:Jr(gn,Ie,Qt),Ga={};va&&(Ga={style:(0,ye.Z)({},"--virtual-width","".concat(oa,"px"))});var qa="".concat(vn,"-expanded-row-cell");Ya=ie.createElement("div",{className:Ne()("".concat(vn,"-expanded-row"),"".concat(vn,"-expanded-row-level-").concat(Qt+1),$a)},ie.createElement(gt,{component:"div",prefixCls:vn,className:Ne()(qa,(0,ye.Z)({},"".concat(qa,"-fixed"),va)),additionalProps:Ga},or))}var Tr=(0,be.Z)((0,be.Z)({},vt),{},{width:Kn});It&&(Tr.position="absolute",Tr.pointerEvents="none");var no=ie.createElement("div",(0,ze.Z)({},nr,Wt,{ref:gr?null:ge,className:Ne()(Ze,"".concat(vn,"-row"),nr==null?void 0:nr.className,(0,ye.Z)({},"".concat(vn,"-row-extra"),It)),style:(0,be.Z)((0,be.Z)({},Tr),nr==null?void 0:nr.style)}),ea.map(function(_r,br){return ie.createElement(cl,{key:br,rowInfo:ja,column:_r,colIndex:br,indent:Qt,index:Ie,renderIndex:zn,record:gn,inverse:It,getHeight:Mt})}));return gr?ie.createElement("div",{ref:ge},no,Ya):no}),zt=te(Zt),Da=zt,ar=ie.forwardRef(function(ue,ge){var Fe=ue.data,Ie=ue.onScroll,Ze=Te(ae,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),nt=Ze.flattenColumns,vt=Ze.onColumnResize,It=Ze.getRowKey,Mt=Ze.expandedKeys,Wt=Ze.prefixCls,gn=Ze.childrenColumnName,Qt=Ze.emptyNode,zn=Ze.scrollX,Hn=Te(di),Kn=Hn.scrollY,ea=Hn.listItemHeight,vn=ie.useRef(),va=ur(Fe,gn,Mt,It),oa=ie.useMemo(function(){var Ya=0;return nt.map(function(or){var $a=or.width,Ga=or.key;return Ya+=$a,[Ga,$a,Ya]})},[nt]),ja=ie.useMemo(function(){return oa.map(function(Ya){return Ya[2]})},[oa]);ie.useEffect(function(){oa.forEach(function(Ya){var or=(0,pe.Z)(Ya,2),$a=or[0],Ga=or[1];vt($a,Ga)})},[oa]),ie.useImperativeHandle(ge,function(){var Ya={};return Object.defineProperty(Ya,"scrollLeft",{get:function(){var $a;return(($a=vn.current)===null||$a===void 0?void 0:$a.getScrollInfo().x)||0},set:function($a){var Ga;(Ga=vn.current)===null||Ga===void 0||Ga.scrollTo({left:$a})}}),Ya});var gr=function(or,$a){var Ga,qa=(Ga=va[$a])===null||Ga===void 0?void 0:Ga.record,Tr=or.onCell;if(Tr){var no,_r=Tr(qa,$a);return(no=_r==null?void 0:_r.rowSpan)!==null&&no!==void 0?no:1}return 1},Pr=function(or){var $a=or.start,Ga=or.end,qa=or.getSize,Tr=or.offsetY;if(Ga<0)return null;for(var no=nt.filter(function(yr){return gr(yr,$a)===0}),_r=$a,br=function(Fr){if(no=no.filter(function(Dr){return gr(Dr,Fr)===0}),!no.length)return _r=Fr,"break"},ro=$a;ro>=0;ro-=1){var po=br(ro);if(po==="break")break}for(var Yo=nt.filter(function(yr){return gr(yr,Ga)!==1}),bo=Ga,Si=function(Fr){if(Yo=Yo.filter(function(Dr){return gr(Dr,Fr)!==1}),!Yo.length)return bo=Math.max(Fr-1,Ga),"break"},Pi=Ga;Pi<va.length;Pi+=1){var qr=Si(Pi);if(qr==="break")break}for(var Bi=[],Oo=function(Fr){var Dr=va[Fr];if(!Dr)return"continue";nt.some(function(pr){return gr(pr,Fr)>1})&&Bi.push(Fr)},mi=_r;mi<=bo;mi+=1)var ui=Oo(mi);var pl=Bi.map(function(yr){var Fr=va[yr],Dr=It(Fr.record,yr),pr=function(Wr){var Bo=yr+Wr-1,ho=It(va[Bo].record,Bo),ol=qa(Dr,ho);return ol.bottom-ol.top},No=qa(Dr);return ie.createElement(Da,{key:yr,data:Fr,rowKey:Dr,index:yr,style:{top:-Tr+No.top},extra:!0,getHeight:pr})});return pl},nr=ie.useMemo(function(){return{columnsOffset:ja}},[ja]),Lr="".concat(Wt,"-tbody"),Jr;return va.length?Jr=ie.createElement(Zi.Z,{fullHeight:!1,ref:vn,className:Ne()(Lr,"".concat(Lr,"-virtual")),height:Kn,itemHeight:ea||24,data:va,itemKey:function(or){return It(or.record)},scrollWidth:zn,onVirtualScroll:function(or){var $a=or.x;Ie({scrollLeft:$a})},extraRender:Pr},function(Ya,or,$a){var Ga=It(Ya.record,or);return ie.createElement(Da,(0,ze.Z)({data:Ya,rowKey:Ga,index:or},$a))}):Jr=ie.createElement("div",{className:Ne()("".concat(Wt,"-placeholder"))},ie.createElement(gt,{component:"div",prefixCls:Wt},Qt)),ie.createElement(Uo.Provider,{value:nr},Jr)}),Ma=te(ar),Zn=Ma,Qa=function(ge,Fe){var Ie=Fe.ref,Ze=Fe.onScroll;return ie.createElement(Zn,{ref:Ie,data:ge,onScroll:Ze})},bn=100;function Ca(ue){var ge=ue.columns,Fe=ue.scroll,Ie=ue.prefixCls,Ze=Ie===void 0?Rr:Ie,nt=ue.className,vt=ue.listItemHeight,It=Fe||{},Mt=It.x,Wt=It.y;typeof Mt!="number"&&(Mt=((ge||[]).length+1)*bn),typeof Wt!="number"&&(Wt=500);var gn=ie.useMemo(function(){return{scrollY:Wt,listItemHeight:vt}},[Wt,vt]);return ie.createElement(di.Provider,{value:gn},ie.createElement(sl,(0,ze.Z)({},ue,{className:Ne()(nt,"".concat(Ze,"-virtual")),scroll:(0,be.Z)((0,be.Z)({},Fe),{},{x:Mt}),components:{body:Qa},columns:ge,internalHooks:de,tailor:!0})))}function Sa(ue){return z(Ca,ue)}var Gr=Sa(),_a=null;function jo(ue){return null}var lo=jo;function vo(ue){return null}var cr=vo,sr=ee(10366),$n=ee(58375),Mr=ee(53124),li=ee(88258),ka=ee(98675),Pa=ee(25378),Qr=ee(24457),Li=ee(28452),Jn=ee(57953),fr=ee(46605);function ya(ue){return function(Fe){let{prefixCls:Ie,onExpand:Ze,record:nt,expanded:vt,expandable:It}=Fe;const Mt=`${Ie}-row-expand-icon`;return ie.createElement("button",{type:"button",onClick:Wt=>{Ze(nt,Wt),Wt.stopPropagation()},className:Ne()(Mt,{[`${Mt}-spaced`]:!It,[`${Mt}-expanded`]:It&&vt,[`${Mt}-collapsed`]:It&&!vt}),"aria-label":vt?ue.collapse:ue.expand,"aria-expanded":vt})}}var ln=ya;function da(ue,ge){return"key"in ue&&ue.key!==void 0&&ue.key!==null?ue.key:ue.dataIndex?Array.isArray(ue.dataIndex)?ue.dataIndex.join("."):ue.dataIndex:ge}function Dn(ue,ge){return ge?`${ge}-${ue}`:`${ue}`}function Vr(ue,ge){return typeof ue=="function"?ue(ge):ue}function xr(ue,ge){const Fe=Vr(ue,ge);return Object.prototype.toString.call(Fe)==="[object Object]"?"":Fe}var Ar={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"},uo=Ar,wr=ee(74643),fo=function(ge,Fe){return ie.createElement(wr.Z,(0,ze.Z)({},ge,{ref:Fe,icon:uo}))},lr=ie.forwardRef(fo),Br=ee(7699),So=ee(57838);function $o(ue){const ge=ie.useRef(ue),Fe=(0,So.Z)();return[()=>ge.current,Ie=>{ge.current=Ie,Fe()}]}var On=ee(71577),ca=ee(84567),rr=ee(85418),ta=ee(32983),Wa=ee(68508),Kr=ee(76529),Ir=ee(78045),Lo=ee(79870),hi=ee(72395),Ki=ee(69677);function Ji(ue){let{value:ge,onChange:Fe,filterSearch:Ie,tablePrefixCls:Ze,locale:nt}=ue;return Ie?ie.createElement("div",{className:`${Ze}-filter-dropdown-search`},ie.createElement(Ki.default,{prefix:ie.createElement(hi.Z,null),placeholder:nt.filterSearchPlaceholder,onChange:Fe,value:ge,htmlSize:1,className:`${Ze}-filter-dropdown-search-input`})):null}var Pl=Ji,xu=ee(92389);const Iu=ue=>{const{keyCode:ge}=ue;ge===xu.Z.ENTER&&ue.stopPropagation()};var se=ie.forwardRef((ue,ge)=>ie.createElement("div",{className:ue.className,onClick:Fe=>Fe.stopPropagation(),onKeyDown:Iu,ref:ge},ue.children));function fe(ue){let ge=[];return(ue||[]).forEach(Fe=>{let{value:Ie,children:Ze}=Fe;ge.push(Ie),Ze&&(ge=[].concat((0,Sr.Z)(ge),(0,Sr.Z)(fe(Ze))))}),ge}function Ee(ue){return ue.some(ge=>{let{children:Fe}=ge;return Fe})}function Ve(ue,ge){return typeof ge=="string"||typeof ge=="number"?ge==null?void 0:ge.toString().toLowerCase().includes(ue.trim().toLowerCase()):!1}function Ye(ue){let{filters:ge,prefixCls:Fe,filteredKeys:Ie,filterMultiple:Ze,searchValue:nt,filterSearch:vt}=ue;return ge.map((It,Mt)=>{const Wt=String(It.value);if(It.children)return{key:Wt||Mt,label:It.text,popupClassName:`${Fe}-dropdown-submenu`,children:Ye({filters:It.children,prefixCls:Fe,filteredKeys:Ie,filterMultiple:Ze,searchValue:nt,filterSearch:vt})};const gn=Ze?ca.default:Ir.ZP,Qt={key:It.value!==void 0?Wt:Mt,label:ie.createElement(ie.Fragment,null,ie.createElement(gn,{checked:Ie.includes(Wt)}),ie.createElement("span",null,It.text))};return nt.trim()?typeof vt=="function"?vt(nt,It)?Qt:null:Ve(nt,It.text)?Qt:null:Qt})}function Rt(ue){var ge,Fe;const{tablePrefixCls:Ie,prefixCls:Ze,column:nt,dropdownPrefixCls:vt,columnKey:It,filterMultiple:Mt,filterMode:Wt="menu",filterSearch:gn=!1,filterState:Qt,triggerFilter:zn,locale:Hn,children:Kn,getPopupContainer:ea}=ue,{filterDropdownOpen:vn,onFilterDropdownOpenChange:va,filterResetToDefaultFilteredValue:oa,defaultFilteredValue:ja,filterDropdownVisible:gr,onFilterDropdownVisibleChange:Pr}=nt,[nr,Lr]=ie.useState(!1),Jr=!!(Qt&&(!((ge=Qt.filteredKeys)===null||ge===void 0)&&ge.length||Qt.forceFiltered)),Ya=hr=>{Lr(hr),va==null||va(hr),Pr==null||Pr(hr)},or=(Fe=vn!=null?vn:gr)!==null&&Fe!==void 0?Fe:nr,$a=Qt==null?void 0:Qt.filteredKeys,[Ga,qa]=$o($a||[]),Tr=hr=>{let{selectedKeys:Wr}=hr;qa(Wr)},no=(hr,Wr)=>{let{node:Bo,checked:ho}=Wr;Tr(Mt?{selectedKeys:hr}:{selectedKeys:ho&&Bo.key?[Bo.key]:[]})};ie.useEffect(()=>{nr&&Tr({selectedKeys:$a||[]})},[$a]);const[_r,br]=ie.useState([]),ro=hr=>{br(hr)},[po,Yo]=ie.useState(""),bo=hr=>{const{value:Wr}=hr.target;Yo(Wr)};ie.useEffect(()=>{nr||Yo("")},[nr]);const Si=hr=>{const Wr=hr&&hr.length?hr:null;if(Wr===null&&(!Qt||!Qt.filteredKeys)||(0,Br.Z)(Wr,Qt==null?void 0:Qt.filteredKeys,!0))return null;zn({column:nt,key:It,filteredKeys:Wr})},Pi=()=>{Ya(!1),Si(Ga())},qr=function(){let{confirm:hr,closeDropdown:Wr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};hr&&Si([]),Wr&&Ya(!1),Yo(""),qa(oa?(ja||[]).map(Bo=>String(Bo)):[])},Bi=function(){let{closeDropdown:hr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};hr&&Ya(!1),Si(Ga())},Oo=hr=>{hr&&$a!==void 0&&qa($a||[]),Ya(hr),!hr&&!nt.filterDropdown&&Pi()},mi=Ne()({[`${vt}-menu-without-submenu`]:!Ee(nt.filters||[])}),ui=hr=>{if(hr.target.checked){const Wr=fe(nt==null?void 0:nt.filters).map(Bo=>String(Bo));qa(Wr)}else qa([])},pl=hr=>{let{filters:Wr}=hr;return(Wr||[]).map((Bo,ho)=>{const ol=String(Bo.value),tl={title:Bo.text,key:Bo.value!==void 0?ol:ho};return Bo.children&&(tl.children=pl({filters:Bo.children})),tl})},yr=hr=>{var Wr;return Object.assign(Object.assign({},hr),{text:hr.title,value:hr.key,children:((Wr=hr.children)===null||Wr===void 0?void 0:Wr.map(Bo=>yr(Bo)))||[]})};let Fr;if(typeof nt.filterDropdown=="function")Fr=nt.filterDropdown({prefixCls:`${vt}-custom`,setSelectedKeys:hr=>Tr({selectedKeys:hr}),selectedKeys:Ga(),confirm:Bi,clearFilters:qr,filters:nt.filters,visible:or,close:()=>{Ya(!1)}});else if(nt.filterDropdown)Fr=nt.filterDropdown;else{const hr=Ga()||[],Wr=()=>(nt.filters||[]).length===0?ie.createElement(ta.Z,{image:ta.Z.PRESENTED_IMAGE_SIMPLE,description:Hn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Wt==="tree"?ie.createElement(ie.Fragment,null,ie.createElement(Pl,{filterSearch:gn,value:po,onChange:bo,tablePrefixCls:Ie,locale:Hn}),ie.createElement("div",{className:`${Ie}-filter-dropdown-tree`},Mt?ie.createElement(ca.default,{checked:hr.length===fe(nt.filters).length,indeterminate:hr.length>0&&hr.length<fe(nt.filters).length,className:`${Ie}-filter-dropdown-checkall`,onChange:ui},Hn.filterCheckall):null,ie.createElement(Lo.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Mt,checkStrictly:!Mt,className:`${vt}-menu`,onCheck:no,checkedKeys:hr,selectedKeys:hr,showIcon:!1,treeData:pl({filters:nt.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:po.trim()?ho=>typeof gn=="function"?gn(po,yr(ho)):Ve(po,ho.title):void 0}))):ie.createElement(ie.Fragment,null,ie.createElement(Pl,{filterSearch:gn,value:po,onChange:bo,tablePrefixCls:Ie,locale:Hn}),ie.createElement(Wa.default,{selectable:!0,multiple:Mt,prefixCls:`${vt}-menu`,className:mi,onSelect:Tr,onDeselect:Tr,selectedKeys:hr,getPopupContainer:ea,openKeys:_r,onOpenChange:ro,items:Ye({filters:nt.filters||[],filterSearch:gn,prefixCls:Ze,filteredKeys:Ga(),filterMultiple:Mt,searchValue:po})})),Bo=()=>oa?(0,Br.Z)((ja||[]).map(ho=>String(ho)),hr,!0):hr.length===0;Fr=ie.createElement(ie.Fragment,null,Wr(),ie.createElement("div",{className:`${Ze}-dropdown-btns`},ie.createElement(On.ZP,{type:"link",size:"small",disabled:Bo(),onClick:()=>qr()},Hn.filterReset),ie.createElement(On.ZP,{type:"primary",size:"small",onClick:Pi},Hn.filterConfirm)))}nt.filterDropdown&&(Fr=ie.createElement(Kr.J,{selectable:void 0},Fr));const Dr=()=>ie.createElement(se,{className:`${Ze}-dropdown`},Fr);let pr;typeof nt.filterIcon=="function"?pr=nt.filterIcon(Jr):nt.filterIcon?pr=nt.filterIcon:pr=ie.createElement(lr,null);const{direction:No}=ie.useContext(Mr.E_);return ie.createElement("div",{className:`${Ze}-column`},ie.createElement("span",{className:`${Ie}-column-title`},Kn),ie.createElement(rr.Z,{dropdownRender:Dr,trigger:["click"],open:or,onOpenChange:Oo,getPopupContainer:ea,placement:No==="rtl"?"bottomLeft":"bottomRight"},ie.createElement("span",{role:"button",tabIndex:-1,className:Ne()(`${Ze}-trigger`,{active:Jr}),onClick:hr=>{hr.stopPropagation()}},pr)))}var Dt=Rt;function rn(ue,ge,Fe){let Ie=[];return(ue||[]).forEach((Ze,nt)=>{var vt;const It=Dn(nt,Fe);if(Ze.filters||"filterDropdown"in Ze||"onFilter"in Ze)if("filteredValue"in Ze){let Mt=Ze.filteredValue;"filterDropdown"in Ze||(Mt=(vt=Mt==null?void 0:Mt.map(String))!==null&&vt!==void 0?vt:Mt),Ie.push({column:Ze,key:da(Ze,It),filteredKeys:Mt,forceFiltered:Ze.filtered})}else Ie.push({column:Ze,key:da(Ze,It),filteredKeys:ge&&Ze.defaultFilteredValue?Ze.defaultFilteredValue:void 0,forceFiltered:Ze.filtered});"children"in Ze&&(Ie=[].concat((0,Sr.Z)(Ie),(0,Sr.Z)(rn(Ze.children,ge,It))))}),Ie}function un(ue,ge,Fe,Ie,Ze,nt,vt,It){return Fe.map((Mt,Wt)=>{const gn=Dn(Wt,It),{filterMultiple:Qt=!0,filterMode:zn,filterSearch:Hn}=Mt;let Kn=Mt;if(Kn.filters||Kn.filterDropdown){const ea=da(Kn,gn),vn=Ie.find(va=>{let{key:oa}=va;return ea===oa});Kn=Object.assign(Object.assign({},Kn),{title:va=>ie.createElement(Dt,{tablePrefixCls:ue,prefixCls:`${ue}-filter`,dropdownPrefixCls:ge,column:Kn,columnKey:ea,filterState:vn,filterMultiple:Qt,filterMode:zn,filterSearch:Hn,triggerFilter:nt,locale:Ze,getPopupContainer:vt},Vr(Mt.title,va))})}return"children"in Kn&&(Kn=Object.assign(Object.assign({},Kn),{children:un(ue,ge,Kn.children,Ie,Ze,nt,vt,gn)})),Kn})}function xn(ue){const ge={};return ue.forEach(Fe=>{let{key:Ie,filteredKeys:Ze,column:nt}=Fe;const{filters:vt,filterDropdown:It}=nt;if(It)ge[Ie]=Ze||null;else if(Array.isArray(Ze)){const Mt=fe(vt);ge[Ie]=Mt.filter(Wt=>Ze.includes(String(Wt)))}else ge[Ie]=null}),ge}function ba(ue,ge){return ge.reduce((Fe,Ie)=>{const{column:{onFilter:Ze,filters:nt},filteredKeys:vt}=Ie;return Ze&&vt&&vt.length?Fe.filter(It=>vt.some(Mt=>{const Wt=fe(nt),gn=Wt.findIndex(zn=>String(zn)===String(Mt)),Qt=gn!==-1?Wt[gn]:Mt;return Ze(Qt,It)})):Fe},ue)}const Bn=ue=>ue.flatMap(ge=>"children"in ge?[ge].concat((0,Sr.Z)(Bn(ge.children||[]))):[ge]);function Mn(ue){let{prefixCls:ge,dropdownPrefixCls:Fe,mergedColumns:Ie,onFilterChange:Ze,getPopupContainer:nt,locale:vt}=ue;const It=ie.useMemo(()=>Bn(Ie||[]),[Ie]),[Mt,Wt]=ie.useState(()=>rn(It,!0)),gn=ie.useMemo(()=>{const Kn=rn(It,!1);if(Kn.length===0)return Kn;let ea=!0,vn=!0;if(Kn.forEach(va=>{let{filteredKeys:oa}=va;oa!==void 0?ea=!1:vn=!1}),ea){const va=(It||[]).map((oa,ja)=>da(oa,Dn(ja)));return Mt.filter(oa=>{let{key:ja}=oa;return va.includes(ja)}).map(oa=>{const ja=It[va.findIndex(gr=>gr===oa.key)];return Object.assign(Object.assign({},oa),{column:Object.assign(Object.assign({},oa.column),ja),forceFiltered:ja.filtered})})}return Kn},[It,Mt]),Qt=ie.useMemo(()=>xn(gn),[gn]),zn=Kn=>{const ea=gn.filter(vn=>{let{key:va}=vn;return va!==Kn.key});ea.push(Kn),Wt(ea),Ze(xn(ea),ea)};return[Kn=>un(ge,Fe,Kn,gn,vt,zn,nt),gn,Qt]}var na=Mn;function ra(ue,ge,Fe){const Ie=ie.useRef({});function Ze(nt){if(!Ie.current||Ie.current.data!==ue||Ie.current.childrenColumnName!==ge||Ie.current.getRowKey!==Fe){let It=function(Mt){Mt.forEach((Wt,gn)=>{const Qt=Fe(Wt,gn);vt.set(Qt,Wt),Wt&&typeof Wt=="object"&&ge in Wt&&It(Wt[ge]||[])})};const vt=new Map;It(ue),Ie.current={data:ue,childrenColumnName:ge,kvMap:vt,getRowKey:Fe}}return Ie.current.kvMap.get(nt)}return[Ze]}var sn=ee(38780),An=function(ue,ge){var Fe={};for(var Ie in ue)Object.prototype.hasOwnProperty.call(ue,Ie)&&ge.indexOf(Ie)<0&&(Fe[Ie]=ue[Ie]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Ie=Object.getOwnPropertySymbols(ue);Ze<Ie.length;Ze++)ge.indexOf(Ie[Ze])<0&&Object.prototype.propertyIsEnumerable.call(ue,Ie[Ze])&&(Fe[Ie[Ze]]=ue[Ie[Ze]]);return Fe};const sa=10;function Va(ue,ge){const Fe={current:ue.current,pageSize:ue.pageSize};return Object.keys(ge&&typeof ge=="object"?ge:{}).forEach(Ze=>{const nt=ue[Ze];typeof nt!="function"&&(Fe[Ze]=nt)}),Fe}function Ka(ue,ge,Fe){const Ie=Fe&&typeof Fe=="object"?Fe:{},{total:Ze=0}=Ie,nt=An(Ie,["total"]),[vt,It]=(0,ie.useState)(()=>({current:"defaultCurrent"in nt?nt.defaultCurrent:1,pageSize:"defaultPageSize"in nt?nt.defaultPageSize:sa})),Mt=(0,sn.Z)(vt,nt,{total:Ze>0?Ze:ue}),Wt=Math.ceil((Ze||ue)/Mt.pageSize);Mt.current>Wt&&(Mt.current=Wt||1);const gn=(zn,Hn)=>{It({current:zn!=null?zn:1,pageSize:Hn||Mt.pageSize})},Qt=(zn,Hn)=>{var Kn;Fe&&((Kn=Fe.onChange)===null||Kn===void 0||Kn.call(Fe,zn,Hn)),gn(zn,Hn),ge(zn,Hn||(Mt==null?void 0:Mt.pageSize))};return Fe===!1?[{},()=>{}]:[Object.assign(Object.assign({},Mt),{onChange:Qt}),gn]}var Xa=Ka,tr=ee(42922),Ja=ee(29873),Ha=ee(97153),so=ee(83898),kr=ee(5663);const eo={},Co="SELECT_ALL",Go="SELECT_INVERT",Vo="SELECT_NONE",vi=[],Zo=(ue,ge)=>{let Fe=[];return(ge||[]).forEach(Ie=>{Fe.push(Ie),Ie&&typeof Ie=="object"&&ue in Ie&&(Fe=[].concat((0,Sr.Z)(Fe),(0,Sr.Z)(Zo(ue,Ie[ue]))))}),Fe};var Ao=(ue,ge)=>{const{preserveSelectedRowKeys:Fe,selectedRowKeys:Ie,defaultSelectedRowKeys:Ze,getCheckboxProps:nt,onChange:vt,onSelect:It,onSelectAll:Mt,onSelectInvert:Wt,onSelectNone:gn,onSelectMultiple:Qt,columnWidth:zn,type:Hn,selections:Kn,fixed:ea,renderCell:vn,hideSelectAll:va,checkStrictly:oa=!0}=ge||{},{prefixCls:ja,data:gr,pageData:Pr,getRecordByKey:nr,getRowKey:Lr,expandType:Jr,childrenColumnName:Ya,locale:or,getPopupContainer:$a}=ue,[Ga,qa]=(0,kr.Z)(Ie||Ze||vi,{value:Ie}),Tr=ie.useRef(new Map),no=(0,ie.useCallback)(yr=>{if(Fe){const Fr=new Map;yr.forEach(Dr=>{let pr=nr(Dr);!pr&&Tr.current.has(Dr)&&(pr=Tr.current.get(Dr)),Fr.set(Dr,pr)}),Tr.current=Fr}},[nr,Fe]);ie.useEffect(()=>{no(Ga)},[Ga]);const{keyEntities:_r}=(0,ie.useMemo)(()=>{if(oa)return{keyEntities:null};let yr=gr;if(Fe){const Fr=new Set(gr.map((pr,No)=>Lr(pr,No))),Dr=Array.from(Tr.current).reduce((pr,No)=>{let[hr,Wr]=No;return Fr.has(hr)?pr:pr.concat(Wr)},[]);yr=[].concat((0,Sr.Z)(yr),(0,Sr.Z)(Dr))}return(0,so.I8)(yr,{externalGetKey:Lr,childrenPropName:Ya})},[gr,Lr,oa,Ya,Fe]),br=(0,ie.useMemo)(()=>Zo(Ya,Pr),[Ya,Pr]),ro=(0,ie.useMemo)(()=>{const yr=new Map;return br.forEach((Fr,Dr)=>{const pr=Lr(Fr,Dr),No=(nt?nt(Fr):null)||{};yr.set(pr,No)}),yr},[br,Lr,nt]),po=(0,ie.useCallback)(yr=>{var Fr;return!!(!((Fr=ro.get(Lr(yr)))===null||Fr===void 0)&&Fr.disabled)},[ro,Lr]),[Yo,bo]=(0,ie.useMemo)(()=>{if(oa)return[Ga||[],[]];const{checkedKeys:yr,halfCheckedKeys:Fr}=(0,Ha.S)(Ga,!0,_r,po);return[yr||[],Fr]},[Ga,oa,_r,po]),Si=(0,ie.useMemo)(()=>{const yr=Hn==="radio"?Yo.slice(0,1):Yo;return new Set(yr)},[Yo,Hn]),Pi=(0,ie.useMemo)(()=>Hn==="radio"?new Set:new Set(bo),[bo,Hn]),[qr,Bi]=(0,ie.useState)(null);ie.useEffect(()=>{ge||qa(vi)},[!!ge]);const Oo=(0,ie.useCallback)((yr,Fr)=>{let Dr,pr;no(yr),Fe?(Dr=yr,pr=yr.map(No=>Tr.current.get(No))):(Dr=[],pr=[],yr.forEach(No=>{const hr=nr(No);hr!==void 0&&(Dr.push(No),pr.push(hr))})),qa(Dr),vt==null||vt(Dr,pr,{type:Fr})},[qa,nr,vt,Fe]),mi=(0,ie.useCallback)((yr,Fr,Dr,pr)=>{if(It){const No=Dr.map(hr=>nr(hr));It(nr(yr),Fr,No,pr)}Oo(Dr,"single")},[It,nr,Oo]),ui=(0,ie.useMemo)(()=>!Kn||va?null:(Kn===!0?[Co,Go,Vo]:Kn).map(Fr=>Fr===Co?{key:"all",text:or.selectionAll,onSelect(){Oo(gr.map((Dr,pr)=>Lr(Dr,pr)).filter(Dr=>{const pr=ro.get(Dr);return!(pr!=null&&pr.disabled)||Si.has(Dr)}),"all")}}:Fr===Go?{key:"invert",text:or.selectInvert,onSelect(){const Dr=new Set(Si);Pr.forEach((No,hr)=>{const Wr=Lr(No,hr),Bo=ro.get(Wr);Bo!=null&&Bo.disabled||(Dr.has(Wr)?Dr.delete(Wr):Dr.add(Wr))});const pr=Array.from(Dr);Wt&&Wt(pr),Oo(pr,"invert")}}:Fr===Vo?{key:"none",text:or.selectNone,onSelect(){gn==null||gn(),Oo(Array.from(Si).filter(Dr=>{const pr=ro.get(Dr);return pr==null?void 0:pr.disabled}),"none")}}:Fr).map(Fr=>Object.assign(Object.assign({},Fr),{onSelect:function(){for(var Dr,pr,No=arguments.length,hr=new Array(No),Wr=0;Wr<No;Wr++)hr[Wr]=arguments[Wr];(pr=Fr.onSelect)===null||pr===void 0||(Dr=pr).call.apply(Dr,[Fr].concat(hr)),Bi(null)}})),[Kn,Si,Pr,Lr,Wt,Oo]);return[(0,ie.useCallback)(yr=>{var Fr;if(!ge)return yr.filter(zo=>zo!==eo);let Dr=(0,Sr.Z)(yr);const pr=new Set(Si),No=br.map(Lr).filter(zo=>!ro.get(zo).disabled),hr=No.every(zo=>pr.has(zo)),Wr=No.some(zo=>pr.has(zo)),Bo=()=>{const zo=[];hr?No.forEach(fi=>{pr.delete(fi),zo.push(fi)}):No.forEach(fi=>{pr.has(fi)||(pr.add(fi),zo.push(fi))});const Ko=Array.from(pr);Mt==null||Mt(!hr,Ko.map(fi=>nr(fi)),zo.map(fi=>nr(fi))),Oo(Ko,"all"),Bi(null)};let ho;if(Hn!=="radio"){let zo;if(ui){const mo={getPopupContainer:$a,items:ui.map((vl,il)=>{const{key:bl,text:Gl,onSelect:Kl}=vl;return{key:bl!=null?bl:il,onClick:()=>{Kl==null||Kl(No)},label:Gl}})};zo=ie.createElement("div",{className:`${ja}-selection-extra`},ie.createElement(rr.Z,{menu:mo,getPopupContainer:$a},ie.createElement("span",null,ie.createElement(tr.Z,null))))}const Ko=br.map((mo,vl)=>{const il=Lr(mo,vl),bl=ro.get(il)||{};return Object.assign({checked:pr.has(il)},bl)}).filter(mo=>{let{disabled:vl}=mo;return vl}),fi=!!Ko.length&&Ko.length===br.length,Ri=fi&&Ko.every(mo=>{let{checked:vl}=mo;return vl}),Hi=fi&&Ko.some(mo=>{let{checked:vl}=mo;return vl});ho=!va&&ie.createElement("div",{className:`${ja}-selection`},ie.createElement(ca.default,{checked:fi?Ri:!!br.length&&hr,indeterminate:fi?!Ri&&Hi:!hr&&Wr,onChange:Bo,disabled:br.length===0||fi,"aria-label":zo?"Custom selection":"Select all",skipGroup:!0}),zo)}let ol;Hn==="radio"?ol=(zo,Ko,fi)=>{const Ri=Lr(Ko,fi),Hi=pr.has(Ri);return{node:ie.createElement(Ir.ZP,Object.assign({},ro.get(Ri),{checked:Hi,onClick:mo=>mo.stopPropagation(),onChange:mo=>{pr.has(Ri)||mi(Ri,!0,[Ri],mo.nativeEvent)}})),checked:Hi}}:ol=(zo,Ko,fi)=>{var Ri;const Hi=Lr(Ko,fi),mo=pr.has(Hi),vl=Pi.has(Hi),il=ro.get(Hi);let bl;return Jr==="nest"?bl=vl:bl=(Ri=il==null?void 0:il.indeterminate)!==null&&Ri!==void 0?Ri:vl,{node:ie.createElement(ca.default,Object.assign({},il,{indeterminate:bl,checked:mo,skipGroup:!0,onClick:Gl=>Gl.stopPropagation(),onChange:Gl=>{let{nativeEvent:Kl}=Gl;const{shiftKey:vu}=Kl;let tu=-1,Ml=-1;if(vu&&oa){const Sl=new Set([qr,Hi]);No.some((dl,ji)=>{if(Sl.has(dl))if(tu===-1)tu=ji;else return Ml=ji,!0;return!1})}if(Ml!==-1&&tu!==Ml&&oa){const Sl=No.slice(tu,Ml+1),dl=[];mo?Sl.forEach(yi=>{pr.has(yi)&&(dl.push(yi),pr.delete(yi))}):Sl.forEach(yi=>{pr.has(yi)||(dl.push(yi),pr.add(yi))});const ji=Array.from(pr);Qt==null||Qt(!mo,ji.map(yi=>nr(yi)),dl.map(yi=>nr(yi))),Oo(ji,"multiple")}else{const Sl=Yo;if(oa){const dl=mo?(0,Ja._5)(Sl,Hi):(0,Ja.L0)(Sl,Hi);mi(Hi,!mo,dl,Kl)}else{const dl=(0,Ha.S)([].concat((0,Sr.Z)(Sl),[Hi]),!0,_r,po),{checkedKeys:ji,halfCheckedKeys:yi}=dl;let Ul=ji;if(mo){const mu=new Set(ji);mu.delete(Hi),Ul=(0,Ha.S)(Array.from(mu),{checked:!1,halfCheckedKeys:yi},_r,po).checkedKeys}mi(Hi,!mo,Ul,Kl)}}Bi(mo?null:Hi)}})),checked:mo}};const tl=(zo,Ko,fi)=>{const{node:Ri,checked:Hi}=ol(zo,Ko,fi);return vn?vn(Hi,Ko,fi,Ri):Ri};if(!Dr.includes(eo))if(Dr.findIndex(zo=>{var Ko;return((Ko=zo[Nr])===null||Ko===void 0?void 0:Ko.columnType)==="EXPAND_COLUMN"})===0){const[zo,...Ko]=Dr;Dr=[zo,eo].concat((0,Sr.Z)(Ko))}else Dr=[eo].concat((0,Sr.Z)(Dr));const Ol=Dr.indexOf(eo);Dr=Dr.filter((zo,Ko)=>zo!==eo||Ko===Ol);const Ii=Dr[Ol-1],Rl=Dr[Ol+1];let Ti=ea;Ti===void 0&&((Rl==null?void 0:Rl.fixed)!==void 0?Ti=Rl.fixed:(Ii==null?void 0:Ii.fixed)!==void 0&&(Ti=Ii.fixed)),Ti&&Ii&&((Fr=Ii[Nr])===null||Fr===void 0?void 0:Fr.columnType)==="EXPAND_COLUMN"&&Ii.fixed===void 0&&(Ii.fixed=Ti);const hl=Ne()(`${ja}-selection-col`,{[`${ja}-selection-col-with-dropdown`]:Kn&&Hn==="checkbox"}),gu={fixed:Ti,width:zn,className:`${ja}-selection-column`,title:ge.columnTitle||ho,render:tl,onCell:ge.onCell,[Nr]:{className:hl}};return Dr.map(zo=>zo===eo?gu:zo)},[Lr,br,ge,Yo,Si,Pi,zn,ui,Jr,qr,ro,Qt,mi,po]),Si]},Qo=ee(33463),ei=ee(28575),To=ee(83062);const ti="ascend",Ni="descend";function Ei(ue){return typeof ue.sorter=="object"&&typeof ue.sorter.multiple=="number"?ue.sorter.multiple:!1}function Vi(ue){return typeof ue=="function"?ue:ue&&typeof ue=="object"&&ue.compare?ue.compare:!1}function wi(ue,ge){return ge?ue[ue.indexOf(ge)+1]:ue[0]}function _i(ue,ge,Fe){let Ie=[];function Ze(nt,vt){Ie.push({column:nt,key:da(nt,vt),multiplePriority:Ei(nt),sortOrder:nt.sortOrder})}return(ue||[]).forEach((nt,vt)=>{const It=Dn(vt,Fe);nt.children?("sortOrder"in nt&&Ze(nt,It),Ie=[].concat((0,Sr.Z)(Ie),(0,Sr.Z)(_i(nt.children,ge,It)))):nt.sorter&&("sortOrder"in nt?Ze(nt,It):ge&&nt.defaultSortOrder&&Ie.push({column:nt,key:da(nt,It),multiplePriority:Ei(nt),sortOrder:nt.defaultSortOrder}))}),Ie}function ci(ue,ge,Fe,Ie,Ze,nt,vt,It){return(ge||[]).map((Mt,Wt)=>{const gn=Dn(Wt,It);let Qt=Mt;if(Qt.sorter){const zn=Qt.sortDirections||Ze,Hn=Qt.showSorterTooltip===void 0?vt:Qt.showSorterTooltip,Kn=da(Qt,gn),ea=Fe.find(Jr=>{let{key:Ya}=Jr;return Ya===Kn}),vn=ea?ea.sortOrder:null,va=wi(zn,vn);let oa;if(Mt.sortIcon)oa=Mt.sortIcon({sortOrder:vn});else{const Jr=zn.includes(ti)&&ie.createElement(ei.Z,{className:Ne()(`${ue}-column-sorter-up`,{active:vn===ti})}),Ya=zn.includes(Ni)&&ie.createElement(Qo.Z,{className:Ne()(`${ue}-column-sorter-down`,{active:vn===Ni})});oa=ie.createElement("span",{className:Ne()(`${ue}-column-sorter`,{[`${ue}-column-sorter-full`]:!!(Jr&&Ya)})},ie.createElement("span",{className:`${ue}-column-sorter-inner`,"aria-hidden":"true"},Jr,Ya))}const{cancelSort:ja,triggerAsc:gr,triggerDesc:Pr}=nt||{};let nr=ja;va===Ni?nr=Pr:va===ti&&(nr=gr);const Lr=typeof Hn=="object"?Hn:{title:nr};Qt=Object.assign(Object.assign({},Qt),{className:Ne()(Qt.className,{[`${ue}-column-sort`]:vn}),title:Jr=>{const Ya=ie.createElement("div",{className:`${ue}-column-sorters`},ie.createElement("span",{className:`${ue}-column-title`},Vr(Mt.title,Jr)),oa);return Hn?ie.createElement(To.Z,Object.assign({},Lr),Ya):Ya},onHeaderCell:Jr=>{const Ya=Mt.onHeaderCell&&Mt.onHeaderCell(Jr)||{},or=Ya.onClick,$a=Ya.onKeyDown;Ya.onClick=Tr=>{Ie({column:Mt,key:Kn,sortOrder:va,multiplePriority:Ei(Mt)}),or==null||or(Tr)},Ya.onKeyDown=Tr=>{Tr.keyCode===xu.Z.ENTER&&(Ie({column:Mt,key:Kn,sortOrder:va,multiplePriority:Ei(Mt)}),$a==null||$a(Tr))};const Ga=xr(Mt.title,{}),qa=Ga==null?void 0:Ga.toString();return vn?Ya["aria-sort"]=vn==="ascend"?"ascending":"descending":Ya["aria-label"]=qa||"",Ya.className=Ne()(Ya.className,`${ue}-column-has-sorters`),Ya.tabIndex=0,Mt.ellipsis&&(Ya.title=(Ga!=null?Ga:"").toString()),Ya}})}return"children"in Qt&&(Qt=Object.assign(Object.assign({},Qt),{children:ci(ue,Qt.children,Fe,Ie,Ze,nt,vt,gn)})),Qt})}function Ai(ue){const{column:ge,sortOrder:Fe}=ue;return{column:ge,order:Fe,field:ge.dataIndex,columnKey:ge.key}}function Wi(ue){const ge=ue.filter(Fe=>{let{sortOrder:Ie}=Fe;return Ie}).map(Ai);return ge.length===0&&ue.length?Object.assign(Object.assign({},Ai(ue[ue.length-1])),{column:void 0}):ge.length<=1?ge[0]||{}:ge}function qi(ue,ge,Fe){const Ie=ge.slice().sort((vt,It)=>It.multiplePriority-vt.multiplePriority),Ze=ue.slice(),nt=Ie.filter(vt=>{let{column:{sorter:It},sortOrder:Mt}=vt;return Vi(It)&&Mt});return nt.length?Ze.sort((vt,It)=>{for(let Mt=0;Mt<nt.length;Mt+=1){const Wt=nt[Mt],{column:{sorter:gn},sortOrder:Qt}=Wt,zn=Vi(gn);if(zn&&Qt){const Hn=zn(vt,It,Qt);if(Hn!==0)return Qt===ti?Hn:-Hn}}return 0}).map(vt=>{const It=vt[Fe];return It?Object.assign(Object.assign({},vt),{[Fe]:qi(It,ge,Fe)}):vt}):Ze}function Yi(ue){let{prefixCls:ge,mergedColumns:Fe,onSorterChange:Ie,sortDirections:Ze,tableLocale:nt,showSorterTooltip:vt}=ue;const[It,Mt]=ie.useState(_i(Fe,!0)),Wt=ie.useMemo(()=>{let Kn=!0;const ea=_i(Fe,!1);if(!ea.length)return It;const vn=[];function va(ja){Kn?vn.push(ja):vn.push(Object.assign(Object.assign({},ja),{sortOrder:null}))}let oa=null;return ea.forEach(ja=>{oa===null?(va(ja),ja.sortOrder&&(ja.multiplePriority===!1?Kn=!1:oa=!0)):(oa&&ja.multiplePriority!==!1||(Kn=!1),va(ja))}),vn},[Fe,It]),gn=ie.useMemo(()=>{const Kn=Wt.map(ea=>{let{column:vn,sortOrder:va}=ea;return{column:vn,order:va}});return{sortColumns:Kn,sortColumn:Kn[0]&&Kn[0].column,sortOrder:Kn[0]&&Kn[0].order}},[Wt]);function Qt(Kn){let ea;Kn.multiplePriority===!1||!Wt.length||Wt[0].multiplePriority===!1?ea=[Kn]:ea=[].concat((0,Sr.Z)(Wt.filter(vn=>{let{key:va}=vn;return va!==Kn.key})),[Kn]),Mt(ea),Ie(Wi(ea),ea)}return[Kn=>ci(ge,Kn,Wt,Qt,Ze,nt,vt),Wt,gn,()=>Wi(Wt)]}function gl(ue,ge){return ue.map(Fe=>{const Ie=Object.assign({},Fe);return Ie.title=Vr(Fe.title,ge),"children"in Ie&&(Ie.children=gl(Ie.children,ge)),Ie})}function Fl(ue){return[ie.useCallback(Fe=>gl(Fe,ue),[ue])]}var Po=ii((ue,ge)=>{const{_renderTimes:Fe}=ue,{_renderTimes:Ie}=ge;return Fe!==Ie}),Oi=Sa((ue,ge)=>{const{_renderTimes:Fe}=ue,{_renderTimes:Ie}=ge;return Fe!==Ie}),gi=ee(84780),zi=ee(14747),rl=ee(67968),Fi=ee(45503),zl=ue=>{const{componentCls:ge}=ue,Fe=`${ue.lineWidth}px ${ue.lineType} ${ue.tableBorderColor}`,Ie=(Ze,nt,vt)=>({[`&${ge}-${Ze}`]:{[`> ${ge}-container`]:{[`> ${ge}-content, > ${ge}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ge}-expanded-row-fixed`]:{margin:`-${nt}px -${vt+ue.lineWidth}px`}}}}}});return{[`${ge}-wrapper`]:{[`${ge}${ge}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ge}-title`]:{border:Fe,borderBottom:0},[`> ${ge}-container`]:{borderInlineStart:Fe,borderTop:Fe,[`
> ${ge}-content,
> ${ge}-header,
> ${ge}-body,
> ${ge}-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:Fe},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Fe},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ge}-cell-fix-right-first::after`]:{borderInlineEnd:Fe}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ge}-expanded-row-fixed`]:{margin:`-${ue.tablePaddingVertical}px -${ue.tablePaddingHorizontal+ue.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:ue.lineWidth,bottom:0,borderInlineEnd:Fe,content:'""'}}}}}},[`&${ge}-scroll-horizontal`]:{[`> ${ge}-container > ${ge}-body`]:{"> table > tbody":{[`
> tr${ge}-expanded-row,
> tr${ge}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},Ie("middle",ue.tablePaddingVerticalMiddle,ue.tablePaddingHorizontalMiddle)),Ie("small",ue.tablePaddingVerticalSmall,ue.tablePaddingHorizontalSmall)),{[`> ${ge}-footer`]:{border:Fe,borderTop:0}}),[`${ge}-cell`]:{[`${ge}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${ue.lineWidth}px 0 ${ue.lineWidth}px ${ue.tableHeaderBg}`}},[`${ge}-bordered ${ge}-cell-scrollbar`]:{borderInlineEnd:Fe}}}},ml=ue=>{const{componentCls:ge}=ue;return{[`${ge}-wrapper`]:{[`${ge}-cell-ellipsis`]:Object.assign(Object.assign({},zi.vS),{wordBreak:"keep-all",[`
&${ge}-cell-fix-left-last,
&${ge}-cell-fix-right-first
`]:{overflow:"visible",[`${ge}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${ge}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},pu=ue=>{const{componentCls:ge}=ue;return{[`${ge}-wrapper`]:{[`${ge}-tbody > tr${ge}-placeholder`]:{textAlign:"center",color:ue.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:ue.colorBgContainer}}}}},su=ee(49867),Il=ue=>{const{componentCls:ge,antCls:Fe,controlInteractiveSize:Ie,motionDurationSlow:Ze,lineWidth:nt,paddingXS:vt,lineType:It,tableBorderColor:Mt,tableExpandIconBg:Wt,tableExpandColumnWidth:gn,borderRadius:Qt,fontSize:zn,fontSizeSM:Hn,lineHeight:Kn,tablePaddingVertical:ea,tablePaddingHorizontal:vn,tableExpandedRowBg:va,paddingXXS:oa}=ue,ja=Ie/2-nt,gr=ja*2+nt*3,Pr=`${nt}px ${It} ${Mt}`,nr=oa-nt;return{[`${ge}-wrapper`]:{[`${ge}-expand-icon-col`]:{width:gn},[`${ge}-row-expand-icon-cell`]:{textAlign:"center",[`${ge}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${ge}-row-indent`]:{height:1,float:"left"},[`${ge}-row-expand-icon`]:Object.assign(Object.assign({},(0,su.N)(ue)),{position:"relative",float:"left",boxSizing:"border-box",width:gr,height:gr,padding:0,color:"inherit",lineHeight:`${gr}px`,background:Wt,border:Pr,borderRadius:Qt,transform:`scale(${Ie/gr})`,transition:`all ${Ze}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Ze} ease-out`,content:'""'},"&::before":{top:ja,insetInlineEnd:nr,insetInlineStart:nr,height:nt},"&::after":{top:nr,bottom:nr,insetInlineStart:ja,width:nt,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"}}),[`${ge}-row-indent + ${ge}-row-expand-icon`]:{marginTop:(zn*Kn-nt*3)/2-Math.ceil((Hn*1.4-nt*3)/2),marginInlineEnd:vt},[`tr${ge}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:va}},[`${Fe}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${ge}-expanded-row-fixed`]:{position:"relative",margin:`-${ea}px -${vn}px`,padding:`${ea}px ${vn}px`}}}},du=ue=>{const{componentCls:ge,antCls:Fe,iconCls:Ie,tableFilterDropdownWidth:Ze,tableFilterDropdownSearchWidth:nt,paddingXXS:vt,paddingXS:It,colorText:Mt,lineWidth:Wt,lineType:gn,tableBorderColor:Qt,tableHeaderIconColor:zn,fontSizeSM:Hn,tablePaddingHorizontal:Kn,borderRadius:ea,motionDurationSlow:vn,colorTextDescription:va,colorPrimary:oa,tableHeaderFilterActiveBg:ja,colorTextDisabled:gr,tableFilterDropdownBg:Pr,tableFilterDropdownHeight:nr,controlItemBgHover:Lr,controlItemBgActive:Jr,boxShadowSecondary:Ya,filterDropdownMenuBg:or}=ue,$a=`${Fe}-dropdown`,Ga=`${ge}-filter-dropdown`,qa=`${Fe}-tree`,Tr=`${Wt}px ${gn} ${Qt}`;return[{[`${ge}-wrapper`]:{[`${ge}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ge}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-vt,marginInline:`${vt}px ${-Kn/2}px`,padding:`0 ${vt}px`,color:zn,fontSize:Hn,borderRadius:ea,cursor:"pointer",transition:`all ${vn}`,"&:hover":{color:va,background:ja},"&.active":{color:oa}}}},{[`${Fe}-dropdown`]:{[Ga]:Object.assign(Object.assign({},(0,zi.Wf)(ue)),{minWidth:Ze,backgroundColor:Pr,borderRadius:ea,boxShadow:Ya,overflow:"hidden",[`${$a}-menu`]:{maxHeight:nr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:or,"&:empty::after":{display:"block",padding:`${It}px 0`,color:gr,fontSize:Hn,textAlign:"center",content:'"Not Found"'}},[`${Ga}-tree`]:{paddingBlock:`${It}px 0`,paddingInline:It,[qa]:{padding:0},[`${qa}-treenode ${qa}-node-content-wrapper:hover`]:{backgroundColor:Lr},[`${qa}-treenode-checkbox-checked ${qa}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Jr}}},[`${Ga}-search`]:{padding:It,borderBottom:Tr,"&-input":{input:{minWidth:nt},[Ie]:{color:gr}}},[`${Ga}-checkall`]:{width:"100%",marginBottom:vt,marginInlineStart:vt},[`${Ga}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${It-Wt}px ${It}px`,overflow:"hidden",borderTop:Tr}})}},{[`${Fe}-dropdown ${Ga}, ${Ga}-submenu`]:{[`${Fe}-checkbox-wrapper + span`]:{paddingInlineStart:It,color:Mt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Al=ue=>{const{componentCls:ge,lineWidth:Fe,colorSplit:Ie,motionDurationSlow:Ze,zIndexTableFixed:nt,tableBg:vt,zIndexTableSticky:It}=ue,Mt=Ie;return{[`${ge}-wrapper`]:{[`
${ge}-cell-fix-left,
${ge}-cell-fix-right
`]:{position:"sticky !important",zIndex:nt,background:vt},[`
${ge}-cell-fix-left-first::after,
${ge}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Fe,width:30,transform:"translateX(100%)",transition:`box-shadow ${Ze}`,content:'""',pointerEvents:"none"},[`${ge}-cell-fix-left-all::after`]:{display:"none"},[`
${ge}-cell-fix-right-first::after,
${ge}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:-Fe,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Ze}`,content:'""',pointerEvents:"none"},[`${ge}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:It+1,width:30,transition:`box-shadow ${Ze}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${ge}-ping-left`]:{[`&:not(${ge}-has-fix-left) ${ge}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Mt}`}},[`
${ge}-cell-fix-left-first::after,
${ge}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${Mt}`},[`${ge}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${ge}-ping-right`]:{[`&:not(${ge}-has-fix-right) ${ge}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Mt}`}},[`
${ge}-cell-fix-right-first::after,
${ge}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${Mt}`}}}}},yl=ue=>{const{componentCls:ge,antCls:Fe}=ue;return{[`${ge}-wrapper`]:{[`${ge}-pagination${Fe}-pagination`]:{margin:`${ue.margin}px 0`},[`${ge}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ue.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},_l=ue=>{const{componentCls:ge,tableRadius:Fe}=ue;return{[`${ge}-wrapper`]:{[ge]:{[`${ge}-title, ${ge}-header`]:{borderRadius:`${Fe}px ${Fe}px 0 0`},[`${ge}-title + ${ge}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${ge}-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:Fe,borderStartEndRadius:Fe,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Fe},"> *:last-child":{borderStartEndRadius:Fe}}},"&-footer":{borderRadius:`0 0 ${Fe}px ${Fe}px`}}}}},Ll=ue=>{const{componentCls:ge}=ue;return{[`${ge}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${ge}-pagination-left`]:{justifyContent:"flex-end"},[`${ge}-pagination-right`]:{justifyContent:"flex-start"},[`${ge}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${ge}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${ge}-row-indent`]:{float:"right"}}}}},Ui=ue=>{const{componentCls:ge,antCls:Fe,iconCls:Ie,fontSizeIcon:Ze,padding:nt,paddingXS:vt,tableHeaderIconColor:It,tableHeaderIconColorHover:Mt,tableSelectionColumnWidth:Wt}=ue;return{[`${ge}-wrapper`]:{[`${ge}-selection-col`]:{width:Wt,[`&${ge}-selection-col-with-dropdown`]:{width:Wt+Ze+nt/4}},[`${ge}-bordered ${ge}-selection-col`]:{width:Wt+vt*2,[`&${ge}-selection-col-with-dropdown`]:{width:Wt+Ze+nt/4+vt*2}},[`
table tr th${ge}-selection-column,
table tr td${ge}-selection-column
`]:{paddingInlineEnd:ue.paddingXS,paddingInlineStart:ue.paddingXS,textAlign:"center",[`${Fe}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ge}-selection-column${ge}-cell-fix-left`]:{zIndex:ue.zIndexTableFixed+1},[`table tr th${ge}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${ge}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${ge}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${ue.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${ue.tablePaddingHorizontal/4}px`,[Ie]:{color:It,fontSize:Ze,verticalAlign:"baseline","&:hover":{color:Mt}}}}}},Xl=ue=>{const{componentCls:ge}=ue,Fe=(Ie,Ze,nt,vt)=>({[`${ge}${ge}-${Ie}`]:{fontSize:vt,[`
${ge}-title,
${ge}-footer,
${ge}-cell,
${ge}-thead > tr > th,
${ge}-tbody > tr > th,
${ge}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${Ze}px ${nt}px`},[`${ge}-filter-trigger`]:{marginInlineEnd:`-${nt/2}px`},[`${ge}-expanded-row-fixed`]:{margin:`-${Ze}px -${nt}px`},[`${ge}-tbody`]:{[`${ge}-wrapper:only-child ${ge}`]:{marginBlock:`-${Ze}px`,marginInline:`${ue.tableExpandColumnWidth-nt}px -${nt}px`}},[`${ge}-selection-column`]:{paddingInlineStart:`${nt/4}px`}}});return{[`${ge}-wrapper`]:Object.assign(Object.assign({},Fe("middle",ue.tablePaddingVerticalMiddle,ue.tablePaddingHorizontalMiddle,ue.tableFontSizeMiddle)),Fe("small",ue.tablePaddingVerticalSmall,ue.tablePaddingHorizontalSmall,ue.tableFontSizeSmall))}},Cl=ue=>{const{componentCls:ge,marginXXS:Fe,fontSizeIcon:Ie,tableHeaderIconColor:Ze,tableHeaderIconColorHover:nt}=ue;return{[`${ge}-wrapper`]:{[`${ge}-thead th${ge}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${ue.motionDurationSlow}`,"&:hover":{background:ue.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:ue.colorPrimary},[`
&${ge}-cell-fix-left:hover,
&${ge}-cell-fix-right:hover
`]:{background:ue.tableFixedHeaderSortActiveBg}},[`${ge}-thead th${ge}-column-sort`]:{background:ue.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ge}-column-sort`]:{background:ue.tableBodySortBg},[`${ge}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${ge}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ge}-column-sorter`]:{marginInlineStart:Fe,color:Ze,fontSize:0,transition:`color ${ue.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Ie,"&.active":{color:ue.colorPrimary}},[`${ge}-column-sorter-up + ${ge}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ge}-column-sorters:hover ${ge}-column-sorter`]:{color:nt}}}},ni=ue=>{const{componentCls:ge,opacityLoading:Fe,tableScrollThumbBg:Ie,tableScrollThumbBgHover:Ze,tableScrollThumbSize:nt,tableScrollBg:vt,zIndexTableSticky:It,stickyScrollBarBorderRadius:Mt}=ue,Wt=`${ue.lineWidth}px ${ue.lineType} ${ue.tableBorderColor}`;return{[`${ge}-wrapper`]:{[`${ge}-sticky`]:{"&-holder":{position:"sticky",zIndex:It,background:ue.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${nt}px !important`,zIndex:It,display:"flex",alignItems:"center",background:vt,borderTop:Wt,opacity:Fe,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:nt,backgroundColor:Ie,borderRadius:Mt,transition:`all ${ue.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Ze}}}}}}},Nl=ue=>{const{componentCls:ge,lineWidth:Fe,tableBorderColor:Ie}=ue,Ze=`${Fe}px ${ue.lineType} ${Ie}`;return{[`${ge}-wrapper`]:{[`${ge}-summary`]:{position:"relative",zIndex:ue.zIndexTableFixed,background:ue.tableBg,"> tr":{"> th, > td":{borderBottom:Ze}}},[`div${ge}-summary`]:{boxShadow:`0 -${Fe}px 0 ${Ie}`}}}},cu=ue=>{const{componentCls:ge}=ue,Fe=`${ue.lineWidth}px ${ue.lineType} ${ue.tableBorderColor}`,Ie=`${ge}-expanded-row-cell`;return{[`${ge}-wrapper`]:{[`${ge}-tbody-virtual`]:{[`${ge}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${ge}-cell`]:{borderBottom:Fe},[`${ge}-expanded-row`]:{[`${Ie}${Ie}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${ue.lineWidth}px)`,borderInlineEnd:"none"}}},[`${ge}-bordered`]:{[`${ge}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Fe,position:"absolute"},[`${ge}-cell`]:{borderInlineEnd:Fe,[`&${ge}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-ue.lineWidth,borderInlineStart:Fe}}}}}}};const eu=ue=>{const{componentCls:ge,fontWeightStrong:Fe,tablePaddingVertical:Ie,tablePaddingHorizontal:Ze,lineWidth:nt,lineType:vt,tableBorderColor:It,tableFontSize:Mt,tableBg:Wt,tableRadius:gn,tableHeaderTextColor:Qt,motionDurationMid:zn,tableHeaderBg:Hn,tableHeaderCellSplitColor:Kn,tableRowHoverBg:ea,tableSelectedRowBg:vn,tableSelectedRowHoverBg:va,tableFooterTextColor:oa,tableFooterBg:ja,paddingContentVerticalLG:gr}=ue,Pr=`${nt}px ${vt} ${It}`;return{[`${ge}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,zi.dF)()),{[ge]:Object.assign(Object.assign({},(0,zi.Wf)(ue)),{fontSize:Mt,background:Wt,borderRadius:`${gn}px ${gn}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${gn}px ${gn}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${ge}-cell,
${ge}-thead > tr > th,
${ge}-tbody > tr > th,
${ge}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${gr}px ${Ze}px`,overflowWrap:"break-word"},[`${ge}-title`]:{padding:`${Ie}px ${Ze}px`},[`${ge}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Qt,fontWeight:Fe,textAlign:"start",background:Hn,borderBottom:Pr,transition:`background ${zn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${ge}-selection-column):not(${ge}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Kn,transform:"translateY(-50%)",transition:`background-color ${zn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ge}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${zn}, border-color ${zn}`,borderBottom:Pr,[`
> ${ge}-wrapper:only-child,
> ${ge}-expanded-row-fixed > ${ge}-wrapper:only-child
`]:{[ge]:{marginBlock:`-${Ie}px`,marginInline:`${ue.tableExpandColumnWidth-Ze}px -${Ze}px`,[`${ge}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Qt,fontWeight:Fe,textAlign:"start",background:Hn,borderBottom:Pr,transition:`background ${zn} ease`},[`
&${ge}-row:hover > th,
&${ge}-row:hover > td,
> th${ge}-cell-row-hover,
> td${ge}-cell-row-hover
`]:{background:ea},[`&${ge}-row-selected`]:{"> th, > td":{background:vn},"&:hover > th, &:hover > td":{background:va}}}},[`${ge}-footer`]:{padding:`${Ie}px ${Ze}px`,color:oa,background:ja}})}};var hu=(0,rl.Z)("Table",ue=>{const{colorTextHeading:ge,colorSplit:Fe,colorIcon:Ie,colorIconHover:Ze,opacityLoading:nt,colorBgContainer:vt,controlInteractiveSize:It,headerBg:Mt,headerColor:Wt,headerSortActiveBg:gn,headerSortHoverBg:Qt,bodySortBg:zn,rowHoverBg:Hn,rowSelectedBg:Kn,rowSelectedHoverBg:ea,rowExpandedBg:vn,cellPaddingBlock:va,cellPaddingInline:oa,cellPaddingBlockMD:ja,cellPaddingInlineMD:gr,cellPaddingBlockSM:Pr,cellPaddingInlineSM:nr,borderColor:Lr,footerBg:Jr,footerColor:Ya,headerBorderRadius:or,cellFontSize:$a,cellFontSizeMD:Ga,cellFontSizeSM:qa,headerSplitColor:Tr,fixedHeaderSortActiveBg:no,headerFilterHoverBg:_r,filterDropdownBg:br,expandIconBg:ro,selectionColumnWidth:po,stickyScrollBarBg:Yo}=ue,bo=new gi.C(Ie),Si=new gi.C(Ze),Pi=2,qr=(0,Fi.TS)(ue,{tableFontSize:$a,tableBg:vt,tableRadius:or,tablePaddingVertical:va,tablePaddingHorizontal:oa,tablePaddingVerticalMiddle:ja,tablePaddingHorizontalMiddle:gr,tablePaddingVerticalSmall:Pr,tablePaddingHorizontalSmall:nr,tableBorderColor:Lr,tableHeaderTextColor:Wt,tableHeaderBg:Mt,tableFooterTextColor:Ya,tableFooterBg:Jr,tableHeaderCellSplitColor:Tr,tableHeaderSortBg:gn,tableHeaderSortHoverBg:Qt,tableHeaderIconColor:bo.clone().setAlpha(bo.getAlpha()*nt).toRgbString(),tableHeaderIconColorHover:Si.clone().setAlpha(Si.getAlpha()*nt).toRgbString(),tableBodySortBg:zn,tableFixedHeaderSortActiveBg:no,tableHeaderFilterActiveBg:_r,tableFilterDropdownBg:br,tableRowHoverBg:Hn,tableSelectedRowBg:Kn,tableSelectedRowHoverBg:ea,zIndexTableFixed:Pi,zIndexTableSticky:Pi+1,tableFontSizeMiddle:Ga,tableFontSizeSmall:qa,tableSelectionColumnWidth:po,tableExpandIconBg:ro,tableExpandColumnWidth:It+2*ue.padding,tableExpandedRowBg:vn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Yo,tableScrollThumbBgHover:ge,tableScrollBg:Fe});return[eu(qr),yl(qr),Nl(qr),Cl(qr),du(qr),zl(qr),_l(qr),Il(qr),Nl(qr),pu(qr),Ui(qr),Al(qr),ni(qr),ml(qr),Xl(qr),Ll(qr),cu(qr)]},ue=>{const{colorFillAlter:ge,colorBgContainer:Fe,colorTextHeading:Ie,colorFillSecondary:Ze,colorFillContent:nt,controlItemBgActive:vt,controlItemBgActiveHover:It,padding:Mt,paddingSM:Wt,paddingXS:gn,colorBorderSecondary:Qt,borderRadiusLG:zn,fontSize:Hn,controlHeight:Kn,colorTextPlaceholder:ea}=ue,vn=new gi.C(Ze).onBackground(Fe).toHexShortString(),va=new gi.C(nt).onBackground(Fe).toHexShortString(),oa=new gi.C(ge).onBackground(Fe).toHexShortString();return{headerBg:oa,headerColor:Ie,headerSortActiveBg:vn,headerSortHoverBg:va,bodySortBg:oa,rowHoverBg:oa,rowSelectedBg:vt,rowSelectedHoverBg:It,rowExpandedBg:ge,cellPaddingBlock:Mt,cellPaddingInline:Mt,cellPaddingBlockMD:Wt,cellPaddingInlineMD:gn,cellPaddingBlockSM:gn,cellPaddingInlineSM:gn,borderColor:Qt,headerBorderRadius:zn,footerBg:oa,footerColor:Ie,cellFontSize:Hn,cellFontSizeMD:Hn,cellFontSizeSM:Hn,headerSplitColor:Qt,fixedHeaderSortActiveBg:vn,headerFilterHoverBg:nt,filterDropdownMenuBg:Fe,filterDropdownBg:Fe,expandIconBg:Fe,selectionColumnWidth:Kn,stickyScrollBarBg:ea,stickyScrollBarBorderRadius:100}});const ou=[],to=(ue,ge)=>{const{prefixCls:Fe,className:Ie,rootClassName:Ze,style:nt,size:vt,bordered:It,dropdownPrefixCls:Mt,dataSource:Wt,pagination:gn,rowSelection:Qt,rowKey:zn="key",rowClassName:Hn,columns:Kn,children:ea,childrenColumnName:vn,onChange:va,getPopupContainer:oa,loading:ja,expandIcon:gr,expandable:Pr,expandedRowRender:nr,expandIconColumnIndex:Lr,indentSize:Jr,scroll:Ya,sortDirections:or,locale:$a,showSorterTooltip:Ga=!0,virtual:qa}=ue,Tr=ie.useMemo(()=>Kn||kn(ea),[Kn,ea]),no=ie.useMemo(()=>Tr.some(oo=>oo.responsive),[Tr]),_r=(0,Pa.Z)(no),br=ie.useMemo(()=>{const oo=new Set(Object.keys(_r).filter(ai=>_r[ai]));return Tr.filter(ai=>!ai.responsive||ai.responsive.some(ll=>oo.has(ll)))},[Tr,_r]),ro=(0,sr.Z)(ue,["className","style","columns"]),{locale:po=Qr.Z,direction:Yo,table:bo,renderEmpty:Si,getPrefixCls:Pi,getPopupContainer:qr}=ie.useContext(Mr.E_),Bi=(0,ka.Z)(vt),Oo=Object.assign(Object.assign({},po.Table),$a),mi=Wt||ou,ui=Pi("table",Fe),pl=Pi("dropdown",Mt),yr=Object.assign({childrenColumnName:vn,expandIconColumnIndex:Lr},Pr),{childrenColumnName:Fr="children"}=yr,Dr=ie.useMemo(()=>mi.some(oo=>oo==null?void 0:oo[Fr])?"nest":nr||Pr&&Pr.expandedRowRender?"row":null,[mi]),pr={body:ie.useRef()},No=ie.useMemo(()=>typeof zn=="function"?zn:oo=>oo==null?void 0:oo[zn],[zn]),[hr]=ra(mi,Fr,No),Wr={},Bo=function(oo,ai){let ll=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var pi,ul,xl;const wl=Object.assign(Object.assign({},Wr),oo);ll&&((pi=Wr.resetPagination)===null||pi===void 0||pi.call(Wr),!((ul=wl.pagination)===null||ul===void 0)&&ul.current&&(wl.pagination.current=1),gn&&gn.onChange&&gn.onChange(1,(xl=wl.pagination)===null||xl===void 0?void 0:xl.pageSize)),Ya&&Ya.scrollToFirstRowOnChange!==!1&&pr.body.current&&(0,$n.Z)(0,{getContainer:()=>pr.body.current}),va==null||va(wl.pagination,wl.filters,wl.sorter,{currentDataSource:ba(qi(mi,wl.sorterStates,Fr),wl.filterStates),action:ai})},ho=(oo,ai)=>{Bo({sorter:oo,sorterStates:ai},"sort",!1)},[ol,tl,Ol,Ii]=Yi({prefixCls:ui,mergedColumns:br,onSorterChange:ho,sortDirections:or||["ascend","descend"],tableLocale:Oo,showSorterTooltip:Ga}),Rl=ie.useMemo(()=>qi(mi,tl,Fr),[mi,tl]);Wr.sorter=Ii(),Wr.sorterStates=tl;const Ti=(oo,ai)=>{Bo({filters:oo,filterStates:ai},"filter",!0)},[hl,gu,zo]=na({prefixCls:ui,locale:Oo,dropdownPrefixCls:pl,mergedColumns:br,onFilterChange:Ti,getPopupContainer:oa||qr}),Ko=ba(Rl,gu);Wr.filters=zo,Wr.filterStates=gu;const fi=ie.useMemo(()=>{const oo={};return Object.keys(zo).forEach(ai=>{zo[ai]!==null&&(oo[ai]=zo[ai])}),Object.assign(Object.assign({},Ol),{filters:oo})},[Ol,zo]),[Ri]=Fl(fi),Hi=(oo,ai)=>{Bo({pagination:Object.assign(Object.assign({},Wr.pagination),{current:oo,pageSize:ai})},"paginate")},[mo,vl]=Xa(Ko.length,Hi,gn);Wr.pagination=gn===!1?{}:Va(mo,gn),Wr.resetPagination=vl;const il=ie.useMemo(()=>{if(gn===!1||!mo.pageSize)return Ko;const{current:oo=1,total:ai,pageSize:ll=sa}=mo;return Ko.length<ai?Ko.length>ll?Ko.slice((oo-1)*ll,oo*ll):Ko:Ko.slice((oo-1)*ll,oo*ll)},[!!gn,Ko,mo&&mo.current,mo&&mo.pageSize,mo&&mo.total]),[bl,Gl]=Ao({prefixCls:ui,data:Ko,pageData:il,getRowKey:No,getRecordByKey:hr,expandType:Dr,childrenColumnName:Fr,locale:Oo,getPopupContainer:oa||qr},Qt),Kl=(oo,ai,ll)=>{let pi;return typeof Hn=="function"?pi=Ne()(Hn(oo,ai,ll)):pi=Ne()(Hn),Ne()({[`${ui}-row-selected`]:Gl.has(No(oo,ai))},pi)};yr.__PARENT_RENDER_ICON__=yr.expandIcon,yr.expandIcon=yr.expandIcon||gr||ln(Oo),Dr==="nest"&&yr.expandIconColumnIndex===void 0?yr.expandIconColumnIndex=Qt?1:0:yr.expandIconColumnIndex>0&&Qt&&(yr.expandIconColumnIndex-=1),typeof yr.indentSize!="number"&&(yr.indentSize=typeof Jr=="number"?Jr:15);const vu=ie.useCallback(oo=>Ri(bl(hl(ol(oo)))),[ol,hl,bl]);let tu,Ml;if(gn!==!1&&(mo!=null&&mo.total)){let oo;mo.size?oo=mo.size:oo=Bi==="small"||Bi==="middle"?"small":void 0;const ai=ul=>ie.createElement(Li.Z,Object.assign({},mo,{className:Ne()(`${ui}-pagination ${ui}-pagination-${ul}`,mo.className),size:oo})),ll=Yo==="rtl"?"left":"right",{position:pi}=mo;if(pi!==null&&Array.isArray(pi)){const ul=pi.find(nu=>nu.includes("top")),xl=pi.find(nu=>nu.includes("bottom")),wl=pi.every(nu=>`${nu}`=="none");!ul&&!xl&&!wl&&(Ml=ai(ll)),ul&&(tu=ai(ul.toLowerCase().replace("top",""))),xl&&(Ml=ai(xl.toLowerCase().replace("bottom","")))}else Ml=ai(ll)}let Sl;typeof ja=="boolean"?Sl={spinning:ja}:typeof ja=="object"&&(Sl=Object.assign({spinning:!0},ja));const[dl,ji]=hu(ui),[,yi]=(0,fr.Z)(),Ul=Ne()(`${ui}-wrapper`,bo==null?void 0:bo.className,{[`${ui}-wrapper-rtl`]:Yo==="rtl"},Ie,Ze,ji),mu=Object.assign(Object.assign({},bo==null?void 0:bo.style),nt),$l=$a&&$a.emptyText||(Si==null?void 0:Si("Table"))||ie.createElement(li.Z,{componentName:"Table"}),Vl=qa?Oi:Po,Fu={},Cu=ie.useMemo(()=>{const{fontSize:oo,lineHeight:ai,padding:ll,paddingXS:pi,paddingSM:ul}=yi,xl=Math.floor(oo*ai);switch(Bi){case"large":return ll*2+xl;case"small":return pi*2+xl;default:return ul*2+xl}},[yi,Bi]);return qa&&(Fu.listItemHeight=Cu),dl(ie.createElement("div",{ref:ge,className:Ul,style:mu},ie.createElement(Jn.Z,Object.assign({spinning:!1},Sl),tu,ie.createElement(Vl,Object.assign({},Fu,ro,{columns:br,direction:Yo,expandable:yr,prefixCls:ui,className:Ne()({[`${ui}-middle`]:Bi==="middle",[`${ui}-small`]:Bi==="small",[`${ui}-bordered`]:It,[`${ui}-empty`]:mi.length===0}),data:il,rowKey:No,rowClassName:Kl,emptyText:$l,internalHooks:de,internalRefs:pr,transformColumns:vu})),Ml)))};var dr=ie.forwardRef(to);const yo=(ue,ge)=>{const Fe=ie.useRef(0);return Fe.current+=1,ie.createElement(dr,Object.assign({},ue,{ref:ge,_renderTimes:Fe.current}))},qo=ie.forwardRef(yo);qo.SELECTION_COLUMN=eo,qo.EXPAND_COLUMN=x,qo.SELECTION_ALL=Co,qo.SELECTION_INVERT=Go,qo.SELECTION_NONE=Vo,qo.Column=lo,qo.ColumnGroup=cr,qo.Summary=et;var Tl=qo,wu=Tl},79870:function(ft,ut,ee){"use strict";ee.d(ut,{default:function(){return jr}});var x=ee(87462),de=ee(4942),pe=ee(71002),De=ee(1413),we=ee(74902),ke=ee(15671),ie=ee(43144),We=ee(97326),Me=ee(60136),Te=ee(51630),ze=ee(94184),Be=ee.n(ze),me={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Pe){var Oe=Pe.keyCode;if(Pe.altKey&&!Pe.ctrlKey||Pe.metaKey||Oe>=me.F1&&Oe<=me.F12)return!1;switch(Oe){case me.ALT:case me.CAPS_LOCK:case me.CONTEXT_MENU:case me.CTRL:case me.DOWN:case me.END:case me.ESC:case me.HOME:case me.INSERT:case me.LEFT:case me.MAC_FF_META:case me.META:case me.NUMLOCK:case me.NUM_CENTER:case me.PAGE_DOWN:case me.PAGE_UP:case me.PAUSE:case me.PRINT_SCREEN:case me.RIGHT:case me.SHIFT:case me.UP:case me.WIN_KEY:case me.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Pe){if(Pe>=me.ZERO&&Pe<=me.NINE||Pe>=me.NUM_ZERO&&Pe<=me.NUM_MULTIPLY||Pe>=me.A&&Pe<=me.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Pe===0)return!0;switch(Pe){case me.SPACE:case me.QUESTION_MARK:case me.NUM_PLUS:case me.NUM_MINUS:case me.NUM_PERIOD:case me.NUM_DIVISION:case me.SEMICOLON:case me.DASH:case me.EQUALS:case me.COMMA:case me.PERIOD:case me.SLASH:case me.APOSTROPHE:case me.SINGLE_QUOTE:case me.OPEN_SQUARE_BRACKET:case me.BACKSLASH:case me.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},oe=me,a=ee(34952),y=ee(72978),b=ee(67294),E=ee(69610);function z(ce){var Pe=ce.dropPosition,Oe=ce.dropLevelOffset,Se=ce.indent,Qe={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Pe){case-1:Qe.top=0,Qe.left=-Oe*Se;break;case 1:Qe.bottom=0,Qe.left=-Oe*Se;break;case 0:Qe.bottom=0,Qe.left=Se;break}return b.createElement("div",{style:Qe})}var te=ee(36459),ne=ee(97685),re=ee(45987);function ae(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var le=ae()?b.useLayoutEffect:b.useEffect,he=le,ve=function(Pe,Oe){var Se=React.useRef(!0);le(function(){if(!Se.current)return Pe()},Oe),le(function(){return Se.current=!1,function(){Se.current=!0}},[])},Ce=ee(73299),be=ee(73935);function ye(ce){return ce instanceof HTMLElement||ce instanceof SVGElement}function Ae(ce){return ye(ce)?ce:ce instanceof b.Component?be.findDOMNode(ce):null}var Ne=ee(28580);function Xe(ce,Pe,Oe){var Se=React.useRef({});return(!("value"in Se.current)||Oe(Se.current.condition,Pe))&&(Se.current.value=ce(),Se.current.condition=Pe),Se.current.value}function Le(ce,Pe){typeof ce=="function"?ce(Pe):(0,pe.Z)(ce)==="object"&&ce&&"current"in ce&&(ce.current=Pe)}function Ge(){for(var ce=arguments.length,Pe=new Array(ce),Oe=0;Oe<ce;Oe++)Pe[Oe]=arguments[Oe];var Se=Pe.filter(function(Qe){return Qe});return Se.length<=1?Se[0]:function(Qe){Pe.forEach(function(ot){Le(ot,Qe)})}}function He(){for(var ce=arguments.length,Pe=new Array(ce),Oe=0;Oe<ce;Oe++)Pe[Oe]=arguments[Oe];return useMemo(function(){return Ge.apply(void 0,Pe)},Pe,function(Se,Qe){return Se.length===Qe.length&&Se.every(function(ot,wt){return ot===Qe[wt]})})}function Ke(ce){var Pe,Oe,Se=(0,Ne.isMemo)(ce)?ce.type.type:ce.type;return!(typeof Se=="function"&&!((Pe=Se.prototype)!==null&&Pe!==void 0&&Pe.render)||typeof ce=="function"&&!((Oe=ce.prototype)!==null&&Oe!==void 0&&Oe.render))}function qe(ce,Pe){var Oe={};return Oe[ce.toLowerCase()]=Pe.toLowerCase(),Oe["Webkit".concat(ce)]="webkit".concat(Pe),Oe["Moz".concat(ce)]="moz".concat(Pe),Oe["ms".concat(ce)]="MS".concat(Pe),Oe["O".concat(ce)]="o".concat(Pe.toLowerCase()),Oe}function it(ce,Pe){var Oe={animationend:qe("Animation","AnimationEnd"),transitionend:qe("Transition","TransitionEnd")};return ce&&("AnimationEvent"in Pe||delete Oe.animationend.animation,"TransitionEvent"in Pe||delete Oe.transitionend.transition),Oe}var mt=it(ae(),typeof window!="undefined"?window:{}),Yt={};if(ae()){var cn=document.createElement("div");Yt=cn.style}var rt={};function Pt(ce){if(rt[ce])return rt[ce];var Pe=mt[ce];if(Pe)for(var Oe=Object.keys(Pe),Se=Oe.length,Qe=0;Qe<Se;Qe+=1){var ot=Oe[Qe];if(Object.prototype.hasOwnProperty.call(Pe,ot)&&ot in Yt)return rt[ce]=Pe[ot],rt[ce]}return""}var Lt=Pt("animationend"),ct=Pt("transitionend"),Ft=!!(Lt&&ct),jt=Lt||"animationend",_e=ct||"transitionend";function En(ce,Pe){if(!ce)return null;if((0,pe.Z)(ce)==="object"){var Oe=Pe.replace(/-\w/g,function(Se){return Se[1].toUpperCase()});return ce[Oe]}return"".concat(ce,"-").concat(Pe)}var Fn="none",ha="appear",In="enter",at="leave",lt="none",dt="prepare",At="start",Et="active",gt="end";function Xt(ce){var Pe=b.useRef(!1),Oe=b.useState(ce),Se=(0,ne.Z)(Oe,2),Qe=Se[0],ot=Se[1];b.useEffect(function(){return Pe.current=!1,function(){Pe.current=!0}},[]);function wt(tt,st){st&&Pe.current||ot(tt)}return[Qe,wt]}var Ot=function(Pe){return+setTimeout(Pe,16)},bt=function(Pe){return clearTimeout(Pe)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Ot=function(Pe){return window.requestAnimationFrame(Pe)},bt=function(Pe){return window.cancelAnimationFrame(Pe)});var on=0,Jt=new Map;function $e(ce){Jt.delete(ce)}var Re=function(Pe){var Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;on+=1;var Se=on;function Qe(ot){if(ot===0)$e(Se),Pe();else{var wt=Ot(function(){Qe(ot-1)});Jt.set(Se,wt)}}return Qe(Oe),Se};Re.cancel=function(ce){var Pe=Jt.get(ce);return $e(Pe),bt(Pe)};var Nn=Re,xe=function(){var ce=b.useRef(null);function Pe(){Nn.cancel(ce.current)}function Oe(Se){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Pe();var ot=Nn(function(){Qe<=1?Se({isCanceled:function(){return ot!==ce.current}}):Oe(Se,Qe-1)});ce.current=ot}return b.useEffect(function(){return function(){Pe()}},[]),[Oe,Pe]},je=ae()?b.useLayoutEffect:b.useEffect,Ht=je,et=[dt,At,Et,gt],Ue=!1,Ct=!0;function yt(ce){return ce===Et||ce===gt}var kt=function(ce,Pe){var Oe=Xt(lt),Se=(0,ne.Z)(Oe,2),Qe=Se[0],ot=Se[1],wt=xe(),tt=(0,ne.Z)(wt,2),st=tt[0],ht=tt[1];function an(){ot(dt,!0)}return Ht(function(){if(Qe!==lt&&Qe!==gt){var fn=et.indexOf(Qe),Un=et[fn+1],Rn=Pe(Qe);Rn===Ue?ot(Un,!0):st(function(Fa){function fa(){Fa.isCanceled()||ot(Un,!0)}Rn===!0?fa():Promise.resolve(Rn).then(fa)})}},[ce,Qe]),b.useEffect(function(){return function(){ht()}},[]),[an,Qe]},Pn=function(ce){var Pe=(0,b.useRef)(),Oe=(0,b.useRef)(ce);Oe.current=ce;var Se=b.useCallback(function(wt){Oe.current(wt)},[]);function Qe(wt){wt&&(wt.removeEventListener(_e,Se),wt.removeEventListener(jt,Se))}function ot(wt){Pe.current&&Pe.current!==wt&&Qe(Pe.current),wt&&wt!==Pe.current&&(wt.addEventListener(_e,Se),wt.addEventListener(jt,Se),Pe.current=wt)}return b.useEffect(function(){return function(){Qe(Pe.current)}},[]),[ot,Qe]};function Nt(ce,Pe,Oe,Se){var Qe=Se.motionEnter,ot=Qe===void 0?!0:Qe,wt=Se.motionAppear,tt=wt===void 0?!0:wt,st=Se.motionLeave,ht=st===void 0?!0:st,an=Se.motionDeadline,fn=Se.motionLeaveImmediately,Un=Se.onAppearPrepare,Rn=Se.onEnterPrepare,Fa=Se.onLeavePrepare,fa=Se.onAppearStart,hn=Se.onEnterStart,Gt=Se.onLeaveStart,Sn=Se.onAppearActive,yn=Se.onEnterActive,pa=Se.onLeaveActive,Aa=Se.onAppearEnd,xa=Se.onEnterEnd,za=Se.onLeaveEnd,Na=Se.onVisibleChanged,qn=Xt(),Ba=(0,ne.Z)(qn,2),wa=Ba[0],Ua=Ba[1],er=Xt(Fn),Rr=(0,ne.Z)(er,2),ao=Rr[0],xo=Rr[1],ga=Xt(null),Eo=(0,ne.Z)(ga,2),ii=Eo[0],ki=Eo[1],sl=(0,b.useRef)(!1),Zi=(0,b.useRef)(null);function di(){return Oe()}var Uo=(0,b.useRef)(!1);function Xi(Ca){var Sa=di();if(!(Ca&&!Ca.deadline&&Ca.target!==Sa)){var Gr=Uo.current,_a;ao===ha&&Gr?_a=Aa==null?void 0:Aa(Sa,Ca):ao===In&&Gr?_a=xa==null?void 0:xa(Sa,Ca):ao===at&&Gr&&(_a=za==null?void 0:za(Sa,Ca)),ao!==Fn&&Gr&&_a!==!1&&(xo(Fn,!0),ki(null,!0))}}var Di=Pn(Xi),cl=(0,ne.Z)(Di,1),$t=cl[0],Zt=b.useMemo(function(){var Ca,Sa,Gr;switch(ao){case ha:return Ca={},(0,de.Z)(Ca,dt,Un),(0,de.Z)(Ca,At,fa),(0,de.Z)(Ca,Et,Sn),Ca;case In:return Sa={},(0,de.Z)(Sa,dt,Rn),(0,de.Z)(Sa,At,hn),(0,de.Z)(Sa,Et,yn),Sa;case at:return Gr={},(0,de.Z)(Gr,dt,Fa),(0,de.Z)(Gr,At,Gt),(0,de.Z)(Gr,Et,pa),Gr;default:return{}}},[ao]),zt=kt(ao,function(Ca){if(Ca===dt){var Sa=Zt[dt];return Sa?Sa(di()):Ue}if(Ma in Zt){var Gr;ki(((Gr=Zt[Ma])===null||Gr===void 0?void 0:Gr.call(Zt,di(),null))||null)}return Ma===Et&&($t(di()),an>0&&(clearTimeout(Zi.current),Zi.current=setTimeout(function(){Xi({deadline:!0})},an))),Ct}),Da=(0,ne.Z)(zt,2),ar=Da[0],Ma=Da[1],Zn=yt(Ma);Uo.current=Zn,Ht(function(){Ua(Pe);var Ca=sl.current;if(sl.current=!0,!!ce){var Sa;!Ca&&Pe&&tt&&(Sa=ha),Ca&&Pe&&ot&&(Sa=In),(Ca&&!Pe&&ht||!Ca&&fn&&!Pe&&ht)&&(Sa=at),Sa&&(xo(Sa),ar())}},[Pe]),(0,b.useEffect)(function(){(ao===ha&&!tt||ao===In&&!ot||ao===at&&!ht)&&xo(Fn)},[tt,ot,ht]),(0,b.useEffect)(function(){return function(){sl.current=!1,clearTimeout(Zi.current)}},[]);var Qa=b.useRef(!1);(0,b.useEffect)(function(){wa&&(Qa.current=!0),wa!==void 0&&ao===Fn&&((Qa.current||wa)&&(Na==null||Na(wa)),Qa.current=!0)},[wa,ao]);var bn=ii;return Zt[dt]&&Ma===At&&(bn=(0,De.Z)({transition:"none"},bn)),[ao,Ma,bn,wa!=null?wa:Pe]}var Tt=function(ce){(0,Me.Z)(Oe,ce);var Pe=(0,Te.Z)(Oe);function Oe(){return(0,ke.Z)(this,Oe),Pe.apply(this,arguments)}return(0,ie.Z)(Oe,[{key:"render",value:function(){return this.props.children}}]),Oe}(b.Component),St=Tt;function tn(ce){var Pe=ce;(0,pe.Z)(ce)==="object"&&(Pe=ce.transitionSupport);function Oe(Qe){return!!(Qe.motionName&&Pe)}var Se=b.forwardRef(function(Qe,ot){var wt=Qe.visible,tt=wt===void 0?!0:wt,st=Qe.removeOnLeave,ht=st===void 0?!0:st,an=Qe.forceRender,fn=Qe.children,Un=Qe.motionName,Rn=Qe.leavedClassName,Fa=Qe.eventProps,fa=Oe(Qe),hn=(0,b.useRef)(),Gt=(0,b.useRef)();function Sn(){try{return hn.current instanceof HTMLElement?hn.current:Ae(Gt.current)}catch(ga){return null}}var yn=Nt(fa,tt,Sn,Qe),pa=(0,ne.Z)(yn,4),Aa=pa[0],xa=pa[1],za=pa[2],Na=pa[3],qn=b.useRef(Na);Na&&(qn.current=!0);var Ba=b.useCallback(function(ga){hn.current=ga,Le(ot,ga)},[ot]),wa,Ua=(0,De.Z)((0,De.Z)({},Fa),{},{visible:tt});if(!fn)wa=null;else if(Aa===Fn||!Oe(Qe))Na?wa=fn((0,De.Z)({},Ua),Ba):!ht&&qn.current&&Rn?wa=fn((0,De.Z)((0,De.Z)({},Ua),{},{className:Rn}),Ba):an||!ht&&!Rn?wa=fn((0,De.Z)((0,De.Z)({},Ua),{},{style:{display:"none"}}),Ba):wa=null;else{var er,Rr;xa===dt?Rr="prepare":yt(xa)?Rr="active":xa===At&&(Rr="start"),wa=fn((0,De.Z)((0,De.Z)({},Ua),{},{className:Be()(En(Un,Aa),(er={},(0,de.Z)(er,En(Un,"".concat(Aa,"-").concat(Rr)),Rr),(0,de.Z)(er,Un,typeof Un=="string"),er)),style:za}),Ba)}if(b.isValidElement(wa)&&Ke(wa)){var ao=wa,xo=ao.ref;xo||(wa=b.cloneElement(wa,{ref:Ba}))}return b.createElement(St,{ref:Gt},wa)});return Se.displayName="CSSMotion",Se}var Kt=tn(Ft),mn="add",Qn="keep",wn="remove",Wn="removed";function ma(ce){var Pe;return ce&&(0,pe.Z)(ce)==="object"&&"key"in ce?Pe=ce:Pe={key:ce},(0,De.Z)((0,De.Z)({},Pe),{},{key:String(Pe.key)})}function _t(){var ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return ce.map(ma)}function Vt(){var ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Oe=[],Se=0,Qe=Pe.length,ot=_t(ce),wt=_t(Pe);ot.forEach(function(ht){for(var an=!1,fn=Se;fn<Qe;fn+=1){var Un=wt[fn];if(Un.key===ht.key){Se<fn&&(Oe=Oe.concat(wt.slice(Se,fn).map(function(Rn){return(0,De.Z)((0,De.Z)({},Rn),{},{status:mn})})),Se=fn),Oe.push((0,De.Z)((0,De.Z)({},Un),{},{status:Qn})),Se+=1,an=!0;break}}an||Oe.push((0,De.Z)((0,De.Z)({},ht),{},{status:wn}))}),Se<Qe&&(Oe=Oe.concat(wt.slice(Se).map(function(ht){return(0,De.Z)((0,De.Z)({},ht),{},{status:mn})})));var tt={};Oe.forEach(function(ht){var an=ht.key;tt[an]=(tt[an]||0)+1});var st=Object.keys(tt).filter(function(ht){return tt[ht]>1});return st.forEach(function(ht){Oe=Oe.filter(function(an){var fn=an.key,Un=an.status;return fn!==ht||Un!==wn}),Oe.forEach(function(an){an.key===ht&&(an.status=Qn)})}),Oe}var en=["component","children","onVisibleChanged","onAllRemoved"],la=["status"],aa=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function jn(ce){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Kt,Oe=function(Se){(0,Me.Z)(ot,Se);var Qe=(0,Te.Z)(ot);function ot(){var wt;(0,ke.Z)(this,ot);for(var tt=arguments.length,st=new Array(tt),ht=0;ht<tt;ht++)st[ht]=arguments[ht];return wt=Qe.call.apply(Qe,[this].concat(st)),(0,de.Z)((0,We.Z)(wt),"state",{keyEntities:[]}),(0,de.Z)((0,We.Z)(wt),"removeKey",function(an){var fn=wt.state.keyEntities,Un=fn.map(function(Rn){return Rn.key!==an?Rn:(0,De.Z)((0,De.Z)({},Rn),{},{status:Wn})});return wt.setState({keyEntities:Un}),Un.filter(function(Rn){var Fa=Rn.status;return Fa!==Wn}).length}),wt}return(0,ie.Z)(ot,[{key:"render",value:function(){var tt=this,st=this.state.keyEntities,ht=this.props,an=ht.component,fn=ht.children,Un=ht.onVisibleChanged,Rn=ht.onAllRemoved,Fa=(0,re.Z)(ht,en),fa=an||b.Fragment,hn={};return aa.forEach(function(Gt){hn[Gt]=Fa[Gt],delete Fa[Gt]}),delete Fa.keys,b.createElement(fa,Fa,st.map(function(Gt){var Sn=Gt.status,yn=(0,re.Z)(Gt,la),pa=Sn===mn||Sn===Qn;return b.createElement(Pe,(0,x.Z)({},hn,{key:yn.key,visible:pa,eventProps:yn,onVisibleChanged:function(xa){if(Un==null||Un(xa,{key:yn.key}),!xa){var za=tt.removeKey(yn.key);za===0&&Rn&&Rn()}}}),fn)}))}}],[{key:"getDerivedStateFromProps",value:function(tt,st){var ht=tt.keys,an=st.keyEntities,fn=_t(ht),Un=Vt(an,fn);return{keyEntities:Un.filter(function(Rn){var Fa=an.find(function(fa){var hn=fa.key;return Rn.key===hn});return!(Fa&&Fa.status===Wn&&Rn.status===wn)})}}}]),ot}(b.Component);return(0,de.Z)(Oe,"defaultProps",{component:"div"}),Oe}var Oa=jn(Ft),Ia=Kt,vr=ee(56261);function zr(ce,Pe){var Oe=b.useState(!1),Se=(0,ne.Z)(Oe,2),Qe=Se[0],ot=Se[1];b.useLayoutEffect(function(){if(Qe)return ce(),function(){Pe()}},[Qe]),b.useLayoutEffect(function(){return ot(!0),function(){ot(!1)}},[])}var La=ee(83898),Je=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Bt=function(Pe,Oe){var Se=Pe.className,Qe=Pe.style,ot=Pe.motion,wt=Pe.motionNodes,tt=Pe.motionType,st=Pe.onMotionStart,ht=Pe.onMotionEnd,an=Pe.active,fn=Pe.treeNodeRequiredProps,Un=(0,re.Z)(Pe,Je),Rn=b.useState(!0),Fa=(0,ne.Z)(Rn,2),fa=Fa[0],hn=Fa[1],Gt=b.useContext(E.k),Sn=Gt.prefixCls,yn=wt&&tt!=="hide";he(function(){wt&&yn!==fa&&hn(yn)},[wt]);var pa=function(){wt&&st()},Aa=b.useRef(!1),xa=function(){wt&&!Aa.current&&(Aa.current=!0,ht())};zr(pa,xa);var za=function(qn){yn===qn&&xa()};return wt?b.createElement(Ia,(0,x.Z)({ref:Oe,visible:fa},ot,{motionAppear:tt==="show",onVisibleChanged:za}),function(Na,qn){var Ba=Na.className,wa=Na.style;return b.createElement("div",{ref:qn,className:Be()("".concat(Sn,"-treenode-motion"),Ba),style:wa},wt.map(function(Ua){var er=(0,x.Z)({},((0,te.Z)(Ua.data),Ua.data)),Rr=Ua.title,ao=Ua.key,xo=Ua.isStart,ga=Ua.isEnd;delete er.children;var Eo=(0,La.H8)(ao,fn);return b.createElement(vr.Z,(0,x.Z)({},er,Eo,{title:Rr,active:an,data:Ua.data,key:ao,isStart:xo,isEnd:ga}))}))}):b.createElement(vr.Z,(0,x.Z)({domRef:Oe,className:Se,style:Qe},Un,{active:an}))};Bt.displayName="MotionTreeNode";var xt=b.forwardRef(Bt),Tn=xt;function pn(){var ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Oe=ce.length,Se=Pe.length;if(Math.abs(Oe-Se)!==1)return{add:!1,key:null};function Qe(ot,wt){var tt=new Map;ot.forEach(function(ht){tt.set(ht,!0)});var st=wt.filter(function(ht){return!tt.has(ht)});return st.length===1?st[0]:null}return Oe<Se?{add:!0,key:Qe(ce,Pe)}:{add:!1,key:Qe(Pe,ce)}}function _n(ce,Pe,Oe){var Se=ce.findIndex(function(tt){return tt.key===Oe}),Qe=ce[Se+1],ot=Pe.findIndex(function(tt){return tt.key===Oe});if(Qe){var wt=Pe.findIndex(function(tt){return tt.key===Qe.key});return Pe.slice(ot+1,wt)}return Pe.slice(ot+1)}var Xr=["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"],Ta={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Cr=function(){},Yr="RC_TREE_MOTION_".concat(Math.random()),co={key:Yr},Xn={key:Yr,level:0,index:0,pos:"0",node:co,nodes:[co]},ur={parent:null,children:[],pos:Xn.pos,data:co,title:null,key:Yr,isStart:[],isEnd:[]};function pt(ce,Pe,Oe,Se){return Pe===!1||!Oe?ce:ce.slice(0,Math.ceil(Oe/Se)+1)}function qt(ce){var Pe=ce.key,Oe=ce.pos;return(0,La.km)(Pe,Oe)}function Ut(ce){for(var Pe=String(ce.data.key),Oe=ce;Oe.parent;)Oe=Oe.parent,Pe="".concat(Oe.data.key," > ").concat(Pe);return Pe}var dn=b.forwardRef(function(ce,Pe){var Oe=ce.prefixCls,Se=ce.data,Qe=ce.selectable,ot=ce.checkable,wt=ce.expandedKeys,tt=ce.selectedKeys,st=ce.checkedKeys,ht=ce.loadedKeys,an=ce.loadingKeys,fn=ce.halfCheckedKeys,Un=ce.keyEntities,Rn=ce.disabled,Fa=ce.dragging,fa=ce.dragOverNodeKey,hn=ce.dropPosition,Gt=ce.motion,Sn=ce.height,yn=ce.itemHeight,pa=ce.virtual,Aa=ce.focusable,xa=ce.activeItem,za=ce.focused,Na=ce.tabIndex,qn=ce.onKeyDown,Ba=ce.onFocus,wa=ce.onBlur,Ua=ce.onActiveChange,er=ce.onListChangeStart,Rr=ce.onListChangeEnd,ao=(0,re.Z)(ce,Xr),xo=b.useRef(null),ga=b.useRef(null);b.useImperativeHandle(Pe,function(){return{scrollTo:function(vo){xo.current.scrollTo(vo)},getIndentWidth:function(){return ga.current.offsetWidth}}});var Eo=b.useState(wt),ii=(0,ne.Z)(Eo,2),ki=ii[0],sl=ii[1],Zi=b.useState(Se),di=(0,ne.Z)(Zi,2),Uo=di[0],Xi=di[1],Di=b.useState(Se),cl=(0,ne.Z)(Di,2),$t=cl[0],Zt=cl[1],zt=b.useState([]),Da=(0,ne.Z)(zt,2),ar=Da[0],Ma=Da[1],Zn=b.useState(null),Qa=(0,ne.Z)(Zn,2),bn=Qa[0],Ca=Qa[1],Sa=b.useRef(Se);Sa.current=Se;function Gr(){var lo=Sa.current;Xi(lo),Zt(lo),Ma([]),Ca(null),Rr()}he(function(){sl(wt);var lo=pn(ki,wt);if(lo.key!==null)if(lo.add){var vo=Uo.findIndex(function(ka){var Pa=ka.key;return Pa===lo.key}),cr=pt(_n(Uo,Se,lo.key),pa,Sn,yn),sr=Uo.slice();sr.splice(vo+1,0,ur),Zt(sr),Ma(cr),Ca("show")}else{var $n=Se.findIndex(function(ka){var Pa=ka.key;return Pa===lo.key}),Mr=pt(_n(Se,Uo,lo.key),pa,Sn,yn),li=Se.slice();li.splice($n+1,0,ur),Zt(li),Ma(Mr),Ca("hide")}else Uo!==Se&&(Xi(Se),Zt(Se))},[wt,Se]),b.useEffect(function(){Fa||Gr()},[Fa]);var _a=Gt?$t:Se,jo={expandedKeys:wt,selectedKeys:tt,loadedKeys:ht,loadingKeys:an,checkedKeys:st,halfCheckedKeys:fn,dragOverNodeKey:fa,dropPosition:hn,keyEntities:Un};return b.createElement(b.Fragment,null,za&&xa&&b.createElement("span",{style:Ta,"aria-live":"assertive"},Ut(xa)),b.createElement("div",null,b.createElement("input",{style:Ta,disabled:Aa===!1||Rn,tabIndex:Aa!==!1?Na:null,onKeyDown:qn,onFocus:Ba,onBlur:wa,value:"",onChange:Cr,"aria-label":"for screen reader"})),b.createElement("div",{className:"".concat(Oe,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},b.createElement("div",{className:"".concat(Oe,"-indent")},b.createElement("div",{ref:ga,className:"".concat(Oe,"-indent-unit")}))),b.createElement(Ce.Z,(0,x.Z)({},ao,{data:_a,itemKey:qt,height:Sn,fullHeight:!1,virtual:pa,itemHeight:yn,prefixCls:"".concat(Oe,"-list"),ref:xo,onVisibleChange:function(vo,cr){var sr=new Set(vo),$n=cr.filter(function(Mr){return!sr.has(Mr)});$n.some(function(Mr){return qt(Mr)===Yr})&&Gr()}}),function(lo){var vo=lo.pos,cr=(0,x.Z)({},((0,te.Z)(lo.data),lo.data)),sr=lo.title,$n=lo.key,Mr=lo.isStart,li=lo.isEnd,ka=(0,La.km)($n,vo);delete cr.key,delete cr.children;var Pa=(0,La.H8)(ka,jo);return b.createElement(Tn,(0,x.Z)({},cr,Pa,{title:sr,active:!!xa&&$n===xa.key,pos:vo,data:lo.data,isStart:Mr,isEnd:li,motion:Gt,motionNodes:$n===Yr?ar:null,motionType:bn,onMotionStart:er,onMotionEnd:Gr,treeNodeRequiredProps:jo,onMouseMove:function(){Ua(null)}}))}))});dn.displayName="NodeList";var Gn=dn,nn=ee(29873),Vn=ee(97153),Cn=ee(3596),ia=10,Za=function(ce){(0,Me.Z)(Oe,ce);var Pe=(0,Te.Z)(Oe);function Oe(){var Se;(0,ke.Z)(this,Oe);for(var Qe=arguments.length,ot=new Array(Qe),wt=0;wt<Qe;wt++)ot[wt]=arguments[wt];return Se=Pe.call.apply(Pe,[this].concat(ot)),Se.destroyed=!1,Se.delayedDragEnterLogic=void 0,Se.loadingRetryTimes={},Se.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,La.w$)()},Se.dragStartMousePosition=null,Se.dragNode=void 0,Se.currentMouseOverDroppableNodeKey=null,Se.listRef=b.createRef(),Se.onNodeDragStart=function(tt,st){var ht=Se.state,an=ht.expandedKeys,fn=ht.keyEntities,Un=Se.props.onDragStart,Rn=st.props.eventKey;Se.dragNode=st,Se.dragStartMousePosition={x:tt.clientX,y:tt.clientY};var Fa=(0,nn._5)(an,Rn);Se.setState({draggingNodeKey:Rn,dragChildrenKeys:(0,nn.wA)(Rn,fn),indent:Se.listRef.current.getIndentWidth()}),Se.setExpandedKeys(Fa),window.addEventListener("dragend",Se.onWindowDragEnd),Un==null||Un({event:tt,node:(0,La.F)(st.props)})},Se.onNodeDragEnter=function(tt,st){var ht=Se.state,an=ht.expandedKeys,fn=ht.keyEntities,Un=ht.dragChildrenKeys,Rn=ht.flattenNodes,Fa=ht.indent,fa=Se.props,hn=fa.onDragEnter,Gt=fa.onExpand,Sn=fa.allowDrop,yn=fa.direction,pa=st.props,Aa=pa.pos,xa=pa.eventKey,za=(0,We.Z)(Se),Na=za.dragNode;if(Se.currentMouseOverDroppableNodeKey!==xa&&(Se.currentMouseOverDroppableNodeKey=xa),!Na){Se.resetDragState();return}var qn=(0,nn.OM)(tt,Na,st,Fa,Se.dragStartMousePosition,Sn,Rn,fn,an,yn),Ba=qn.dropPosition,wa=qn.dropLevelOffset,Ua=qn.dropTargetKey,er=qn.dropContainerKey,Rr=qn.dropTargetPos,ao=qn.dropAllowed,xo=qn.dragOverNodeKey;if(Un.indexOf(Ua)!==-1||!ao){Se.resetDragState();return}if(Se.delayedDragEnterLogic||(Se.delayedDragEnterLogic={}),Object.keys(Se.delayedDragEnterLogic).forEach(function(ga){clearTimeout(Se.delayedDragEnterLogic[ga])}),Na.props.eventKey!==st.props.eventKey&&(tt.persist(),Se.delayedDragEnterLogic[Aa]=window.setTimeout(function(){if(Se.state.draggingNodeKey!==null){var ga=(0,we.Z)(an),Eo=(0,Cn.Z)(fn,st.props.eventKey);Eo&&(Eo.children||[]).length&&(ga=(0,nn.L0)(an,st.props.eventKey)),"expandedKeys"in Se.props||Se.setExpandedKeys(ga),Gt==null||Gt(ga,{node:(0,La.F)(st.props),expanded:!0,nativeEvent:tt.nativeEvent})}},800)),Na.props.eventKey===Ua&&wa===0){Se.resetDragState();return}Se.setState({dragOverNodeKey:xo,dropPosition:Ba,dropLevelOffset:wa,dropTargetKey:Ua,dropContainerKey:er,dropTargetPos:Rr,dropAllowed:ao}),hn==null||hn({event:tt,node:(0,La.F)(st.props),expandedKeys:an})},Se.onNodeDragOver=function(tt,st){var ht=Se.state,an=ht.dragChildrenKeys,fn=ht.flattenNodes,Un=ht.keyEntities,Rn=ht.expandedKeys,Fa=ht.indent,fa=Se.props,hn=fa.onDragOver,Gt=fa.allowDrop,Sn=fa.direction,yn=(0,We.Z)(Se),pa=yn.dragNode;if(pa){var Aa=(0,nn.OM)(tt,pa,st,Fa,Se.dragStartMousePosition,Gt,fn,Un,Rn,Sn),xa=Aa.dropPosition,za=Aa.dropLevelOffset,Na=Aa.dropTargetKey,qn=Aa.dropContainerKey,Ba=Aa.dropAllowed,wa=Aa.dropTargetPos,Ua=Aa.dragOverNodeKey;an.indexOf(Na)!==-1||!Ba||(pa.props.eventKey===Na&&za===0?Se.state.dropPosition===null&&Se.state.dropLevelOffset===null&&Se.state.dropTargetKey===null&&Se.state.dropContainerKey===null&&Se.state.dropTargetPos===null&&Se.state.dropAllowed===!1&&Se.state.dragOverNodeKey===null||Se.resetDragState():xa===Se.state.dropPosition&&za===Se.state.dropLevelOffset&&Na===Se.state.dropTargetKey&&qn===Se.state.dropContainerKey&&wa===Se.state.dropTargetPos&&Ba===Se.state.dropAllowed&&Ua===Se.state.dragOverNodeKey||Se.setState({dropPosition:xa,dropLevelOffset:za,dropTargetKey:Na,dropContainerKey:qn,dropTargetPos:wa,dropAllowed:Ba,dragOverNodeKey:Ua}),hn==null||hn({event:tt,node:(0,La.F)(st.props)}))}},Se.onNodeDragLeave=function(tt,st){Se.currentMouseOverDroppableNodeKey===st.props.eventKey&&!tt.currentTarget.contains(tt.relatedTarget)&&(Se.resetDragState(),Se.currentMouseOverDroppableNodeKey=null);var ht=Se.props.onDragLeave;ht==null||ht({event:tt,node:(0,La.F)(st.props)})},Se.onWindowDragEnd=function(tt){Se.onNodeDragEnd(tt,null,!0),window.removeEventListener("dragend",Se.onWindowDragEnd)},Se.onNodeDragEnd=function(tt,st){var ht=Se.props.onDragEnd;Se.setState({dragOverNodeKey:null}),Se.cleanDragState(),ht==null||ht({event:tt,node:(0,La.F)(st.props)}),Se.dragNode=null,window.removeEventListener("dragend",Se.onWindowDragEnd)},Se.onNodeDrop=function(tt,st){var ht,an=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,fn=Se.state,Un=fn.dragChildrenKeys,Rn=fn.dropPosition,Fa=fn.dropTargetKey,fa=fn.dropTargetPos,hn=fn.dropAllowed;if(hn){var Gt=Se.props.onDrop;if(Se.setState({dragOverNodeKey:null}),Se.cleanDragState(),Fa!==null){var Sn=(0,De.Z)((0,De.Z)({},(0,La.H8)(Fa,Se.getTreeNodeRequiredProps())),{},{active:((ht=Se.getActiveItem())===null||ht===void 0?void 0:ht.key)===Fa,data:(0,Cn.Z)(Se.state.keyEntities,Fa).node}),yn=Un.indexOf(Fa)!==-1;(0,y.ZP)(!yn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var pa=(0,nn.yx)(fa),Aa={event:tt,node:(0,La.F)(Sn),dragNode:Se.dragNode?(0,La.F)(Se.dragNode.props):null,dragNodesKeys:[Se.dragNode.props.eventKey].concat(Un),dropToGap:Rn!==0,dropPosition:Rn+Number(pa[pa.length-1])};an||Gt==null||Gt(Aa),Se.dragNode=null}}},Se.cleanDragState=function(){var tt=Se.state.draggingNodeKey;tt!==null&&Se.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Se.dragStartMousePosition=null,Se.currentMouseOverDroppableNodeKey=null},Se.triggerExpandActionExpand=function(tt,st){var ht=Se.state,an=ht.expandedKeys,fn=ht.flattenNodes,Un=st.expanded,Rn=st.key,Fa=st.isLeaf;if(!(Fa||tt.shiftKey||tt.metaKey||tt.ctrlKey)){var fa=fn.filter(function(Gt){return Gt.key===Rn})[0],hn=(0,La.F)((0,De.Z)((0,De.Z)({},(0,La.H8)(Rn,Se.getTreeNodeRequiredProps())),{},{data:fa.data}));Se.setExpandedKeys(Un?(0,nn._5)(an,Rn):(0,nn.L0)(an,Rn)),Se.onNodeExpand(tt,hn)}},Se.onNodeClick=function(tt,st){var ht=Se.props,an=ht.onClick,fn=ht.expandAction;fn==="click"&&Se.triggerExpandActionExpand(tt,st),an==null||an(tt,st)},Se.onNodeDoubleClick=function(tt,st){var ht=Se.props,an=ht.onDoubleClick,fn=ht.expandAction;fn==="doubleClick"&&Se.triggerExpandActionExpand(tt,st),an==null||an(tt,st)},Se.onNodeSelect=function(tt,st){var ht=Se.state.selectedKeys,an=Se.state,fn=an.keyEntities,Un=an.fieldNames,Rn=Se.props,Fa=Rn.onSelect,fa=Rn.multiple,hn=st.selected,Gt=st[Un.key],Sn=!hn;Sn?fa?ht=(0,nn.L0)(ht,Gt):ht=[Gt]:ht=(0,nn._5)(ht,Gt);var yn=ht.map(function(pa){var Aa=(0,Cn.Z)(fn,pa);return Aa?Aa.node:null}).filter(function(pa){return pa});Se.setUncontrolledState({selectedKeys:ht}),Fa==null||Fa(ht,{event:"select",selected:Sn,node:st,selectedNodes:yn,nativeEvent:tt.nativeEvent})},Se.onNodeCheck=function(tt,st,ht){var an=Se.state,fn=an.keyEntities,Un=an.checkedKeys,Rn=an.halfCheckedKeys,Fa=Se.props,fa=Fa.checkStrictly,hn=Fa.onCheck,Gt=st.key,Sn,yn={event:"check",node:st,checked:ht,nativeEvent:tt.nativeEvent};if(fa){var pa=ht?(0,nn.L0)(Un,Gt):(0,nn._5)(Un,Gt),Aa=(0,nn._5)(Rn,Gt);Sn={checked:pa,halfChecked:Aa},yn.checkedNodes=pa.map(function(wa){return(0,Cn.Z)(fn,wa)}).filter(function(wa){return wa}).map(function(wa){return wa.node}),Se.setUncontrolledState({checkedKeys:pa})}else{var xa=(0,Vn.S)([].concat((0,we.Z)(Un),[Gt]),!0,fn),za=xa.checkedKeys,Na=xa.halfCheckedKeys;if(!ht){var qn=new Set(za);qn.delete(Gt);var Ba=(0,Vn.S)(Array.from(qn),{checked:!1,halfCheckedKeys:Na},fn);za=Ba.checkedKeys,Na=Ba.halfCheckedKeys}Sn=za,yn.checkedNodes=[],yn.checkedNodesPositions=[],yn.halfCheckedKeys=Na,za.forEach(function(wa){var Ua=(0,Cn.Z)(fn,wa);if(Ua){var er=Ua.node,Rr=Ua.pos;yn.checkedNodes.push(er),yn.checkedNodesPositions.push({node:er,pos:Rr})}}),Se.setUncontrolledState({checkedKeys:za},!1,{halfCheckedKeys:Na})}hn==null||hn(Sn,yn)},Se.onNodeLoad=function(tt){var st=tt.key,ht=new Promise(function(an,fn){Se.setState(function(Un){var Rn=Un.loadedKeys,Fa=Rn===void 0?[]:Rn,fa=Un.loadingKeys,hn=fa===void 0?[]:fa,Gt=Se.props,Sn=Gt.loadData,yn=Gt.onLoad;if(!Sn||Fa.indexOf(st)!==-1||hn.indexOf(st)!==-1)return null;var pa=Sn(tt);return pa.then(function(){var Aa=Se.state.loadedKeys,xa=(0,nn.L0)(Aa,st);yn==null||yn(xa,{event:"load",node:tt}),Se.setUncontrolledState({loadedKeys:xa}),Se.setState(function(za){return{loadingKeys:(0,nn._5)(za.loadingKeys,st)}}),an()}).catch(function(Aa){if(Se.setState(function(za){return{loadingKeys:(0,nn._5)(za.loadingKeys,st)}}),Se.loadingRetryTimes[st]=(Se.loadingRetryTimes[st]||0)+1,Se.loadingRetryTimes[st]>=ia){var xa=Se.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Se.setUncontrolledState({loadedKeys:(0,nn.L0)(xa,st)}),an()}fn(Aa)}),{loadingKeys:(0,nn.L0)(hn,st)}})});return ht.catch(function(){}),ht},Se.onNodeMouseEnter=function(tt,st){var ht=Se.props.onMouseEnter;ht==null||ht({event:tt,node:st})},Se.onNodeMouseLeave=function(tt,st){var ht=Se.props.onMouseLeave;ht==null||ht({event:tt,node:st})},Se.onNodeContextMenu=function(tt,st){var ht=Se.props.onRightClick;ht&&(tt.preventDefault(),ht({event:tt,node:st}))},Se.onFocus=function(){var tt=Se.props.onFocus;Se.setState({focused:!0});for(var st=arguments.length,ht=new Array(st),an=0;an<st;an++)ht[an]=arguments[an];tt==null||tt.apply(void 0,ht)},Se.onBlur=function(){var tt=Se.props.onBlur;Se.setState({focused:!1}),Se.onActiveChange(null);for(var st=arguments.length,ht=new Array(st),an=0;an<st;an++)ht[an]=arguments[an];tt==null||tt.apply(void 0,ht)},Se.getTreeNodeRequiredProps=function(){var tt=Se.state,st=tt.expandedKeys,ht=tt.selectedKeys,an=tt.loadedKeys,fn=tt.loadingKeys,Un=tt.checkedKeys,Rn=tt.halfCheckedKeys,Fa=tt.dragOverNodeKey,fa=tt.dropPosition,hn=tt.keyEntities;return{expandedKeys:st||[],selectedKeys:ht||[],loadedKeys:an||[],loadingKeys:fn||[],checkedKeys:Un||[],halfCheckedKeys:Rn||[],dragOverNodeKey:Fa,dropPosition:fa,keyEntities:hn}},Se.setExpandedKeys=function(tt){var st=Se.state,ht=st.treeData,an=st.fieldNames,fn=(0,La.oH)(ht,tt,an);Se.setUncontrolledState({expandedKeys:tt,flattenNodes:fn},!0)},Se.onNodeExpand=function(tt,st){var ht=Se.state.expandedKeys,an=Se.state,fn=an.listChanging,Un=an.fieldNames,Rn=Se.props,Fa=Rn.onExpand,fa=Rn.loadData,hn=st.expanded,Gt=st[Un.key];if(!fn){var Sn=ht.indexOf(Gt),yn=!hn;if((0,y.ZP)(hn&&Sn!==-1||!hn&&Sn===-1,"Expand state not sync with index check"),yn?ht=(0,nn.L0)(ht,Gt):ht=(0,nn._5)(ht,Gt),Se.setExpandedKeys(ht),Fa==null||Fa(ht,{node:st,expanded:yn,nativeEvent:tt.nativeEvent}),yn&&fa){var pa=Se.onNodeLoad(st);pa&&pa.then(function(){var Aa=(0,La.oH)(Se.state.treeData,ht,Un);Se.setUncontrolledState({flattenNodes:Aa})}).catch(function(){var Aa=Se.state.expandedKeys,xa=(0,nn._5)(Aa,Gt);Se.setExpandedKeys(xa)})}}},Se.onListChangeStart=function(){Se.setUncontrolledState({listChanging:!0})},Se.onListChangeEnd=function(){setTimeout(function(){Se.setUncontrolledState({listChanging:!1})})},Se.onActiveChange=function(tt){var st=Se.state.activeKey,ht=Se.props.onActiveChange;st!==tt&&(Se.setState({activeKey:tt}),tt!==null&&Se.scrollTo({key:tt}),ht==null||ht(tt))},Se.getActiveItem=function(){var tt=Se.state,st=tt.activeKey,ht=tt.flattenNodes;return st===null?null:ht.find(function(an){var fn=an.key;return fn===st})||null},Se.offsetActiveKey=function(tt){var st=Se.state,ht=st.flattenNodes,an=st.activeKey,fn=ht.findIndex(function(Fa){var fa=Fa.key;return fa===an});fn===-1&&tt<0&&(fn=ht.length),fn=(fn+tt+ht.length)%ht.length;var Un=ht[fn];if(Un){var Rn=Un.key;Se.onActiveChange(Rn)}else Se.onActiveChange(null)},Se.onKeyDown=function(tt){var st=Se.state,ht=st.activeKey,an=st.expandedKeys,fn=st.checkedKeys,Un=st.fieldNames,Rn=Se.props,Fa=Rn.onKeyDown,fa=Rn.checkable,hn=Rn.selectable;switch(tt.which){case oe.UP:{Se.offsetActiveKey(-1),tt.preventDefault();break}case oe.DOWN:{Se.offsetActiveKey(1),tt.preventDefault();break}}var Gt=Se.getActiveItem();if(Gt&&Gt.data){var Sn=Se.getTreeNodeRequiredProps(),yn=Gt.data.isLeaf===!1||!!(Gt.data[Un.children]||[]).length,pa=(0,La.F)((0,De.Z)((0,De.Z)({},(0,La.H8)(ht,Sn)),{},{data:Gt.data,active:!0}));switch(tt.which){case oe.LEFT:{yn&&an.includes(ht)?Se.onNodeExpand({},pa):Gt.parent&&Se.onActiveChange(Gt.parent.key),tt.preventDefault();break}case oe.RIGHT:{yn&&!an.includes(ht)?Se.onNodeExpand({},pa):Gt.children&&Gt.children.length&&Se.onActiveChange(Gt.children[0].key),tt.preventDefault();break}case oe.ENTER:case oe.SPACE:{fa&&!pa.disabled&&pa.checkable!==!1&&!pa.disableCheckbox?Se.onNodeCheck({},pa,!fn.includes(ht)):!fa&&hn&&!pa.disabled&&pa.selectable!==!1&&Se.onNodeSelect({},pa);break}}}Fa==null||Fa(tt)},Se.setUncontrolledState=function(tt){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ht=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Se.destroyed){var an=!1,fn=!0,Un={};Object.keys(tt).forEach(function(Rn){if(Rn in Se.props){fn=!1;return}an=!0,Un[Rn]=tt[Rn]}),an&&(!st||fn)&&Se.setState((0,De.Z)((0,De.Z)({},Un),ht))}},Se.scrollTo=function(tt){Se.listRef.current.scrollTo(tt)},Se}return(0,ie.Z)(Oe,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Qe=this.props.activeKey;Qe!==void 0&&Qe!==this.state.activeKey&&(this.setState({activeKey:Qe}),Qe!==null&&this.scrollTo({key:Qe}))}},{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 Qe,ot=this.state,wt=ot.focused,tt=ot.flattenNodes,st=ot.keyEntities,ht=ot.draggingNodeKey,an=ot.activeKey,fn=ot.dropLevelOffset,Un=ot.dropContainerKey,Rn=ot.dropTargetKey,Fa=ot.dropPosition,fa=ot.dragOverNodeKey,hn=ot.indent,Gt=this.props,Sn=Gt.prefixCls,yn=Gt.className,pa=Gt.style,Aa=Gt.showLine,xa=Gt.focusable,za=Gt.tabIndex,Na=za===void 0?0:za,qn=Gt.selectable,Ba=Gt.showIcon,wa=Gt.icon,Ua=Gt.switcherIcon,er=Gt.draggable,Rr=Gt.checkable,ao=Gt.checkStrictly,xo=Gt.disabled,ga=Gt.motion,Eo=Gt.loadData,ii=Gt.filterTreeNode,ki=Gt.height,sl=Gt.itemHeight,Zi=Gt.virtual,di=Gt.titleRender,Uo=Gt.dropIndicatorRender,Xi=Gt.onContextMenu,Di=Gt.onScroll,cl=Gt.direction,$t=Gt.rootClassName,Zt=Gt.rootStyle,zt=(0,a.Z)(this.props,{aria:!0,data:!0}),Da;return er&&((0,pe.Z)(er)==="object"?Da=er:typeof er=="function"?Da={nodeDraggable:er}:Da={}),b.createElement(E.k.Provider,{value:{prefixCls:Sn,selectable:qn,showIcon:Ba,icon:wa,switcherIcon:Ua,draggable:Da,draggingNodeKey:ht,checkable:Rr,checkStrictly:ao,disabled:xo,keyEntities:st,dropLevelOffset:fn,dropContainerKey:Un,dropTargetKey:Rn,dropPosition:Fa,dragOverNodeKey:fa,indent:hn,direction:cl,dropIndicatorRender:Uo,loadData:Eo,filterTreeNode:ii,titleRender:di,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}},b.createElement("div",{role:"tree",className:Be()(Sn,yn,$t,(Qe={},(0,de.Z)(Qe,"".concat(Sn,"-show-line"),Aa),(0,de.Z)(Qe,"".concat(Sn,"-focused"),wt),(0,de.Z)(Qe,"".concat(Sn,"-active-focused"),an!==null),Qe)),style:Zt},b.createElement(Gn,(0,x.Z)({ref:this.listRef,prefixCls:Sn,style:pa,data:tt,disabled:xo,selectable:qn,checkable:!!Rr,motion:ga,dragging:ht!==null,height:ki,itemHeight:sl,virtual:Zi,focusable:xa,focused:wt,tabIndex:Na,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Xi,onScroll:Di},this.getTreeNodeRequiredProps(),zt))))}}],[{key:"getDerivedStateFromProps",value:function(Qe,ot){var wt=ot.prevProps,tt={prevProps:Qe};function st(xa){return!wt&&xa in Qe||wt&&wt[xa]!==Qe[xa]}var ht,an=ot.fieldNames;if(st("fieldNames")&&(an=(0,La.w$)(Qe.fieldNames),tt.fieldNames=an),st("treeData")?ht=Qe.treeData:st("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),ht=(0,La.zn)(Qe.children)),ht){tt.treeData=ht;var fn=(0,La.I8)(ht,{fieldNames:an});tt.keyEntities=(0,De.Z)((0,de.Z)({},Yr,Xn),fn.keyEntities)}var Un=tt.keyEntities||ot.keyEntities;if(st("expandedKeys")||wt&&st("autoExpandParent"))tt.expandedKeys=Qe.autoExpandParent||!wt&&Qe.defaultExpandParent?(0,nn.r7)(Qe.expandedKeys,Un):Qe.expandedKeys;else if(!wt&&Qe.defaultExpandAll){var Rn=(0,De.Z)({},Un);delete Rn[Yr],tt.expandedKeys=Object.keys(Rn).map(function(xa){return Rn[xa].key})}else!wt&&Qe.defaultExpandedKeys&&(tt.expandedKeys=Qe.autoExpandParent||Qe.defaultExpandParent?(0,nn.r7)(Qe.defaultExpandedKeys,Un):Qe.defaultExpandedKeys);if(tt.expandedKeys||delete tt.expandedKeys,ht||tt.expandedKeys){var Fa=(0,La.oH)(ht||ot.treeData,tt.expandedKeys||ot.expandedKeys,an);tt.flattenNodes=Fa}if(Qe.selectable&&(st("selectedKeys")?tt.selectedKeys=(0,nn.BT)(Qe.selectedKeys,Qe):!wt&&Qe.defaultSelectedKeys&&(tt.selectedKeys=(0,nn.BT)(Qe.defaultSelectedKeys,Qe))),Qe.checkable){var fa;if(st("checkedKeys")?fa=(0,nn.E6)(Qe.checkedKeys)||{}:!wt&&Qe.defaultCheckedKeys?fa=(0,nn.E6)(Qe.defaultCheckedKeys)||{}:ht&&(fa=(0,nn.E6)(Qe.checkedKeys)||{checkedKeys:ot.checkedKeys,halfCheckedKeys:ot.halfCheckedKeys}),fa){var hn=fa,Gt=hn.checkedKeys,Sn=Gt===void 0?[]:Gt,yn=hn.halfCheckedKeys,pa=yn===void 0?[]:yn;if(!Qe.checkStrictly){var Aa=(0,Vn.S)(Sn,!0,Un);Sn=Aa.checkedKeys,pa=Aa.halfCheckedKeys}tt.checkedKeys=Sn,tt.halfCheckedKeys=pa}}return st("loadedKeys")&&(tt.loadedKeys=Qe.loadedKeys),tt}}]),Oe}(b.Component);Za.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:z,allowDrop:function(){return!0},expandAction:!1},Za.TreeNode=vr.Z;var ir=Za,Nr=ir,Hr=ee(73148),Ln=ee(56747),_o={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"},Io=_o,Sr=ee(74643),wo=function(Pe,Oe){return b.createElement(Sr.Z,(0,x.Z)({},Pe,{ref:Oe,icon:Io}))},ua=b.forwardRef(wo),Ra=ee(53124),mr=ee(50881),Yn=ee(33603),$r=ee(32157);const Or=4;function Wo(ce){const{dropPosition:Pe,dropLevelOffset:Oe,prefixCls:Se,indent:Qe,direction:ot="ltr"}=ce,wt=ot==="ltr"?"left":"right",tt=ot==="ltr"?"right":"left",st={[wt]:-Oe*Qe+Or,[tt]:0};switch(Pe){case-1:st.top=-3;break;case 1:st.bottom=-3;break;default:st.bottom=-3,st[wt]=Qe+Or;break}return b.createElement("div",{style:st,className:`${Se}-drop-indicator`})}var Fo=ee(99184),Gi=b.forwardRef((ce,Pe)=>{const{getPrefixCls:Oe,direction:Se,virtual:Qe,tree:ot}=b.useContext(Ra.E_),{prefixCls:wt,className:tt,showIcon:st=!1,showLine:ht,switcherIcon:an,blockNode:fn=!1,children:Un,checkable:Rn=!1,selectable:Fa=!0,draggable:fa,motion:hn,style:Gt}=ce,Sn=Oe("tree",wt),yn=Oe(),pa=hn!=null?hn:Object.assign(Object.assign({},(0,Yn.Z)(yn)),{motionAppear:!1}),Aa=Object.assign(Object.assign({},ce),{checkable:Rn,selectable:Fa,showIcon:st,motion:pa,blockNode:fn,showLine:!!ht,dropIndicatorRender:Wo}),[xa,za]=(0,$r.ZP)(Sn),Na=b.useMemo(()=>{if(!fa)return!1;let Ba={};switch(typeof fa){case"function":Ba.nodeDraggable=fa;break;case"object":Ba=Object.assign({},fa);break;default:break}return Ba.icon!==!1&&(Ba.icon=Ba.icon||b.createElement(mr.Z,null)),Ba},[fa]),qn=Ba=>b.createElement(Fo.Z,{prefixCls:Sn,switcherIcon:an,treeNodeProps:Ba,showLine:ht});return xa(b.createElement(Nr,Object.assign({itemHeight:20,ref:Pe,virtual:Qe},Aa,{style:Object.assign(Object.assign({},ot==null?void 0:ot.style),Gt),prefixCls:Sn,className:Be()({[`${Sn}-icon-hide`]:!st,[`${Sn}-block-node`]:fn,[`${Sn}-unselectable`]:!Fa,[`${Sn}-rtl`]:Se==="rtl"},ot==null?void 0:ot.className,tt,za),direction:Se,checkable:Rn&&b.createElement("span",{className:`${Sn}-checkbox-inner`}),selectable:Fa,switcherIcon:qn,draggable:Na}),Un))}),Jo;(function(ce){ce[ce.None=0]="None",ce[ce.Start=1]="Start",ce[ce.End=2]="End"})(Jo||(Jo={}));function nl(ce,Pe){function Oe(Se){const{key:Qe,children:ot}=Se;Pe(Qe,Se)!==!1&&nl(ot||[],Pe)}ce.forEach(Oe)}function al(ce){let{treeData:Pe,expandedKeys:Oe,startKey:Se,endKey:Qe}=ce;const ot=[];let wt=Jo.None;if(Se&&Se===Qe)return[Se];if(!Se||!Qe)return[];function tt(st){return st===Se||st===Qe}return nl(Pe,st=>{if(wt===Jo.End)return!1;if(tt(st)){if(ot.push(st),wt===Jo.None)wt=Jo.Start;else if(wt===Jo.Start)return wt=Jo.End,!1}else wt===Jo.Start&&ot.push(st);return Oe.includes(st)}),ot}function kn(ce,Pe){const Oe=(0,we.Z)(Pe),Se=[];return nl(ce,(Qe,ot)=>{const wt=Oe.indexOf(Qe);return wt!==-1&&(Se.push(ot),Oe.splice(wt,1)),!!Oe.length}),Se}var Ea=function(ce,Pe){var Oe={};for(var Se in ce)Object.prototype.hasOwnProperty.call(ce,Se)&&Pe.indexOf(Se)<0&&(Oe[Se]=ce[Se]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,Se=Object.getOwnPropertySymbols(ce);Qe<Se.length;Qe++)Pe.indexOf(Se[Qe])<0&&Object.prototype.propertyIsEnumerable.call(ce,Se[Qe])&&(Oe[Se[Qe]]=ce[Se[Qe]]);return Oe};function io(ce){const{isLeaf:Pe,expanded:Oe}=ce;return Pe?b.createElement(Hr.Z,null):Oe?b.createElement(Ln.Z,null):b.createElement(ua,null)}function Ho(ce){let{treeData:Pe,children:Oe}=ce;return Pe||(0,La.zn)(Oe)}const xi=(ce,Pe)=>{var{defaultExpandAll:Oe,defaultExpandParent:Se,defaultExpandedKeys:Qe}=ce,ot=Ea(ce,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const wt=b.useRef(),tt=b.useRef(),st=()=>{const{keyEntities:Na}=(0,La.I8)(Ho(ot));let qn;return Oe?qn=Object.keys(Na):Se?qn=(0,nn.r7)(ot.expandedKeys||Qe||[],Na):qn=ot.expandedKeys||Qe,qn},[ht,an]=b.useState(ot.selectedKeys||ot.defaultSelectedKeys||[]),[fn,Un]=b.useState(()=>st());b.useEffect(()=>{"selectedKeys"in ot&&an(ot.selectedKeys)},[ot.selectedKeys]),b.useEffect(()=>{"expandedKeys"in ot&&Un(ot.expandedKeys)},[ot.expandedKeys]);const Rn=(Na,qn)=>{var Ba;return"expandedKeys"in ot||Un(Na),(Ba=ot.onExpand)===null||Ba===void 0?void 0:Ba.call(ot,Na,qn)},Fa=(Na,qn)=>{var Ba;const{multiple:wa}=ot,{node:Ua,nativeEvent:er}=qn,{key:Rr=""}=Ua,ao=Ho(ot),xo=Object.assign(Object.assign({},qn),{selected:!0}),ga=(er==null?void 0:er.ctrlKey)||(er==null?void 0:er.metaKey),Eo=er==null?void 0:er.shiftKey;let ii;wa&&ga?(ii=Na,wt.current=Rr,tt.current=ii,xo.selectedNodes=kn(ao,ii)):wa&&Eo?(ii=Array.from(new Set([].concat((0,we.Z)(tt.current||[]),(0,we.Z)(al({treeData:ao,expandedKeys:fn,startKey:Rr,endKey:wt.current}))))),xo.selectedNodes=kn(ao,ii)):(ii=[Rr],wt.current=Rr,tt.current=ii,xo.selectedNodes=kn(ao,ii)),(Ba=ot.onSelect)===null||Ba===void 0||Ba.call(ot,ii,xo),"selectedKeys"in ot||an(ii)},{getPrefixCls:fa,direction:hn}=b.useContext(Ra.E_),{prefixCls:Gt,className:Sn,showIcon:yn=!0,expandAction:pa="click"}=ot,Aa=Ea(ot,["prefixCls","className","showIcon","expandAction"]),xa=fa("tree",Gt),za=Be()(`${xa}-directory`,{[`${xa}-directory-rtl`]:hn==="rtl"},Sn);return b.createElement(Gi,Object.assign({icon:io,ref:Pe,blockNode:!0},Aa,{showIcon:yn,expandAction:pa,prefixCls:xa,className:za,expandedKeys:fn,selectedKeys:ht,onSelect:Fa,onExpand:Rn}))};var oi=b.forwardRef(xi);const Qi=Gi;Qi.DirectoryTree=oi,Qi.TreeNode=vr.Z;var jr=Qi},32157:function(ft,ut,ee){"use strict";ee.d(ut,{TM:function(){return me},Yk:function(){return Be}});var x=ee(45930),de=ee(63185),pe=ee(14747),De=ee(33507),we=ee(45503),ke=ee(67968);const ie=new x.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),We=(oe,a)=>({[`.${oe}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${a.motionDurationSlow}`}}}),Me=(oe,a)=>({[`.${oe}-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:'""'}}}),Te=(oe,a)=>{const{treeCls:y,treeNodeCls:b,treeNodePadding:E,titleHeight:z,nodeSelectedBg:te,nodeHoverBg:ne}=a,re=a.paddingXS;return{[y]:Object.assign(Object.assign({},(0,pe.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,pe.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,pe.oN)(a)),[`&:not(${b}-disabled).filter-node ${y}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${y}-draggable-icon`]:{flexShrink:0,width:z,lineHeight:`${z}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:z}},[`${y}-draggable-icon`]:{visibility:"hidden"},[`${y}-switcher`]:Object.assign(Object.assign({},We(oe,a)),{position:"relative",flex:"none",alignSelf:"stretch",width:z,margin:0,lineHeight:`${z}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:z/2,bottom:-E,marginInlineStart:-1,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:z/2*.8,height:z/2,borderBottom:`1px solid ${a.colorBorder}`,content:'""'}}}),[`${y}-checkbox`]:{top:"initial",marginInlineEnd:re},[`${y}-node-content-wrapper, ${y}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:z,margin:0,padding:`0 ${a.paddingXS/2}px`,color:"inherit",lineHeight:`${z}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:te},[`${y}-iconEle`]:{display:"inline-block",width:z,height:z,lineHeight:`${z}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${y}-unselectable ${y}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${y}-node-content-wrapper`]:Object.assign({lineHeight:`${z}px`,userSelect:"none"},Me(oe,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:z/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:`${z/2}px !important`}}}}})}},ze=oe=>{const{treeCls:a,treeNodeCls:y,treeNodePadding:b,directoryNodeSelectedBg:E,directoryNodeSelectedColor:z}=oe;return{[`${a}${a}-directory`]:{[y]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,transition:`background-color ${oe.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:oe.controlItemBgHover}},"> *":{zIndex:1},[`${a}-switcher`]:{transition:`color ${oe.motionDurationMid}`},[`${a}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${a}-node-selected`]:{color:z,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:E},[`${a}-switcher`]:{color:z},[`${a}-node-content-wrapper`]:{color:z,background:"transparent"}}}}}},Be=(oe,a)=>{const y=`.${oe}`,b=`${y}-treenode`,E=a.paddingXS/2,z=(0,we.TS)(a,{treeCls:y,treeNodeCls:b,treeNodePadding:E});return[Te(oe,z),ze(z)]},me=oe=>{const{controlHeightSM:a}=oe;return{titleHeight:a,nodeHoverBg:oe.controlItemBgHover,nodeSelectedBg:oe.controlItemBgActive}};ut.ZP=(0,ke.Z)("Tree",(oe,a)=>{let{prefixCls:y}=a;return[{[oe.componentCls]:(0,de.C2)(`${y}-checkbox`,oe)},Be(y,oe),(0,De.Z)(oe)]},oe=>{const{colorTextLightSolid:a,colorPrimary:y}=oe;return Object.assign(Object.assign({},me(oe)),{directoryNodeSelectedColor:a,directoryNodeSelectedBg:y})})},99184:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return y}});var x=ee(87462),de=ee(67294),pe={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"},De=pe,we=ee(74643),ke=function(E,z){return de.createElement(we.Z,(0,x.Z)({},E,{ref:z,icon:De}))},ie=de.forwardRef(ke),We=ee(73148),Me=ee(3407),Te=ee(34182),ze=ee(74664),Be=ee(94184),me=ee.n(Be),oe=ee(96159),y=b=>{const{prefixCls:E,switcherIcon:z,treeNodeProps:te,showLine:ne}=b,{isLeaf:re,expanded:ae,loading:le}=te;if(le)return de.createElement(Me.Z,{className:`${E}-switcher-loading-icon`});let he;if(ne&&typeof ne=="object"&&(he=ne.showLeafIcon),re){if(!ne)return null;if(typeof he!="boolean"&&he){const be=typeof he=="function"?he(te):he,ye=`${E}-switcher-line-custom-icon`;return(0,oe.l$)(be)?(0,oe.Tm)(be,{className:me()(be.props.className||"",ye)}):be}return he?de.createElement(We.Z,{className:`${E}-switcher-line-icon`}):de.createElement("span",{className:`${E}-switcher-leaf-line`})}const ve=`${E}-switcher-icon`,Ce=typeof z=="function"?z(te):z;return(0,oe.l$)(Ce)?(0,oe.Tm)(Ce,{className:me()(Ce.props.className||"",ve)}):Ce!==void 0?Ce:ne?ae?de.createElement(Te.Z,{className:`${E}-switcher-line-icon`}):de.createElement(ze.Z,{className:`${E}-switcher-line-icon`}):de.createElement(ie,{className:ve})}},59810:function(ft,ut,ee){"use strict";ee.d(ut,{default:function(){return ur}});var x=ee(67294),de=ee(74902),pe=ee(94184),De=ee.n(pe),we=ee(87462),ke=ee(15671),ie=ee(43144),We=ee(60136),Me=ee(51630),Te=ee(4942),ze=ee(45987),Be=ee(74165),me=ee(71002),oe=ee(15861),a=ee(64217);function y(pt,qt){var Ut="cannot ".concat(pt.method," ").concat(pt.action," ").concat(qt.status,"'"),dn=new Error(Ut);return dn.status=qt.status,dn.method=pt.method,dn.url=pt.action,dn}function b(pt){var qt=pt.responseText||pt.response;if(!qt)return qt;try{return JSON.parse(qt)}catch(Ut){return qt}}function E(pt){var qt=new XMLHttpRequest;pt.onProgress&&qt.upload&&(qt.upload.onprogress=function(nn){nn.total>0&&(nn.percent=nn.loaded/nn.total*100),pt.onProgress(nn)});var Ut=new FormData;pt.data&&Object.keys(pt.data).forEach(function(Gn){var nn=pt.data[Gn];if(Array.isArray(nn)){nn.forEach(function(Vn){Ut.append("".concat(Gn,"[]"),Vn)});return}Ut.append(Gn,nn)}),pt.file instanceof Blob?Ut.append(pt.filename,pt.file,pt.file.name):Ut.append(pt.filename,pt.file),qt.onerror=function(nn){pt.onError(nn)},qt.onload=function(){return qt.status<200||qt.status>=300?pt.onError(y(pt,qt),b(qt)):pt.onSuccess(b(qt),qt)},qt.open(pt.method,pt.action,!0),pt.withCredentials&&"withCredentials"in qt&&(qt.withCredentials=!0);var dn=pt.headers||{};return dn["X-Requested-With"]!==null&&qt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(dn).forEach(function(Gn){dn[Gn]!==null&&qt.setRequestHeader(Gn,dn[Gn])}),qt.send(Ut),{abort:function(){qt.abort()}}}var z=+new Date,te=0;function ne(){return"rc-upload-".concat(z,"-").concat(++te)}var re=ee(80334),ae=function(pt,qt){if(pt&&qt){var Ut=Array.isArray(qt)?qt:qt.split(","),dn=pt.name||"",Gn=pt.type||"",nn=Gn.replace(/\/.*$/,"");return Ut.some(function(Vn){var Cn=Vn.trim();if(/^\*(\/\*)?$/.test(Vn))return!0;if(Cn.charAt(0)==="."){var ia=dn.toLowerCase(),Za=Cn.toLowerCase(),ir=[Za];return(Za===".jpg"||Za===".jpeg")&&(ir=[".jpg",".jpeg"]),ir.some(function(Nr){return ia.endsWith(Nr)})}return/\/\*$/.test(Cn)?nn===Cn.replace(/\/.*$/,""):Gn===Cn?!0:/^\w+$/.test(Cn)?((0,re.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Cn,"'.Skip for check.")),!0):!1})}return!0};function le(pt,qt){var Ut=pt.createReader(),dn=[];function Gn(){Ut.readEntries(function(nn){var Vn=Array.prototype.slice.apply(nn);dn=dn.concat(Vn);var Cn=!Vn.length;Cn?qt(dn):Gn()})}Gn()}var he=function(qt,Ut,dn){var Gn=function nn(Vn,Cn){Vn&&(Vn.path=Cn||"",Vn.isFile?Vn.file(function(ia){dn(ia)&&(Vn.fullPath&&!ia.webkitRelativePath&&(Object.defineProperties(ia,{webkitRelativePath:{writable:!0}}),ia.webkitRelativePath=Vn.fullPath.replace(/^\//,""),Object.defineProperties(ia,{webkitRelativePath:{writable:!1}})),Ut([ia]))}):Vn.isDirectory&&le(Vn,function(ia){ia.forEach(function(Za){nn(Za,"".concat(Cn).concat(Vn.name,"/"))})}))};qt.forEach(function(nn){Gn(nn.webkitGetAsEntry())})},ve=he,Ce=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],be=function(pt){(0,We.Z)(Ut,pt);var qt=(0,Me.Z)(Ut);function Ut(){var dn;(0,ke.Z)(this,Ut);for(var Gn=arguments.length,nn=new Array(Gn),Vn=0;Vn<Gn;Vn++)nn[Vn]=arguments[Vn];return dn=qt.call.apply(qt,[this].concat(nn)),dn.state={uid:ne()},dn.reqs={},dn.fileInput=void 0,dn._isMounted=void 0,dn.onChange=function(Cn){var ia=dn.props,Za=ia.accept,ir=ia.directory,Nr=Cn.target.files,Hr=(0,de.Z)(Nr).filter(function(Ln){return!ir||ae(Ln,Za)});dn.uploadFiles(Hr),dn.reset()},dn.onClick=function(Cn){var ia=dn.fileInput;if(ia){var Za=dn.props,ir=Za.children,Nr=Za.onClick;if(ir&&ir.type==="button"){var Hr=ia.parentNode;Hr.focus(),Hr.querySelector("button").blur()}ia.click(),Nr&&Nr(Cn)}},dn.onKeyDown=function(Cn){Cn.key==="Enter"&&dn.onClick(Cn)},dn.onFileDrop=function(Cn){var ia=dn.props.multiple;if(Cn.preventDefault(),Cn.type!=="dragover")if(dn.props.directory)ve(Array.prototype.slice.call(Cn.dataTransfer.items),dn.uploadFiles,function(ir){return ae(ir,dn.props.accept)});else{var Za=(0,de.Z)(Cn.dataTransfer.files).filter(function(ir){return ae(ir,dn.props.accept)});ia===!1&&(Za=Za.slice(0,1)),dn.uploadFiles(Za)}},dn.uploadFiles=function(Cn){var ia=(0,de.Z)(Cn),Za=ia.map(function(ir){return ir.uid=ne(),dn.processFile(ir,ia)});Promise.all(Za).then(function(ir){var Nr=dn.props.onBatchStart;Nr==null||Nr(ir.map(function(Hr){var Ln=Hr.origin,_o=Hr.parsedFile;return{file:Ln,parsedFile:_o}})),ir.filter(function(Hr){return Hr.parsedFile!==null}).forEach(function(Hr){dn.post(Hr)})})},dn.processFile=function(){var Cn=(0,oe.Z)((0,Be.Z)().mark(function ia(Za,ir){var Nr,Hr,Ln,_o,Io,Sr,wo,ua,Ra;return(0,Be.Z)().wrap(function(Yn){for(;;)switch(Yn.prev=Yn.next){case 0:if(Nr=dn.props.beforeUpload,Hr=Za,!Nr){Yn.next=14;break}return Yn.prev=3,Yn.next=6,Nr(Za,ir);case 6:Hr=Yn.sent,Yn.next=12;break;case 9:Yn.prev=9,Yn.t0=Yn.catch(3),Hr=!1;case 12:if(Hr!==!1){Yn.next=14;break}return Yn.abrupt("return",{origin:Za,parsedFile:null,action:null,data:null});case 14:if(Ln=dn.props.action,typeof Ln!="function"){Yn.next=21;break}return Yn.next=18,Ln(Za);case 18:_o=Yn.sent,Yn.next=22;break;case 21:_o=Ln;case 22:if(Io=dn.props.data,typeof Io!="function"){Yn.next=29;break}return Yn.next=26,Io(Za);case 26:Sr=Yn.sent,Yn.next=30;break;case 29:Sr=Io;case 30:return wo=((0,me.Z)(Hr)==="object"||typeof Hr=="string")&&Hr?Hr:Za,wo instanceof File?ua=wo:ua=new File([wo],Za.name,{type:Za.type}),Ra=ua,Ra.uid=Za.uid,Yn.abrupt("return",{origin:Za,data:Sr,parsedFile:Ra,action:_o});case 35:case"end":return Yn.stop()}},ia,null,[[3,9]])}));return function(ia,Za){return Cn.apply(this,arguments)}}(),dn.saveFileInput=function(Cn){dn.fileInput=Cn},dn}return(0,ie.Z)(Ut,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(Gn){var nn=this,Vn=Gn.data,Cn=Gn.origin,ia=Gn.action,Za=Gn.parsedFile;if(this._isMounted){var ir=this.props,Nr=ir.onStart,Hr=ir.customRequest,Ln=ir.name,_o=ir.headers,Io=ir.withCredentials,Sr=ir.method,wo=Cn.uid,ua=Hr||E,Ra={action:ia,filename:Ln,data:Vn,file:Za,headers:_o,withCredentials:Io,method:Sr||"post",onProgress:function(Yn){var $r=nn.props.onProgress;$r==null||$r(Yn,Za)},onSuccess:function(Yn,$r){var Or=nn.props.onSuccess;Or==null||Or(Yn,Za,$r),delete nn.reqs[wo]},onError:function(Yn,$r){var Or=nn.props.onError;Or==null||Or(Yn,$r,Za),delete nn.reqs[wo]}};Nr(Cn),this.reqs[wo]=ua(Ra)}}},{key:"reset",value:function(){this.setState({uid:ne()})}},{key:"abort",value:function(Gn){var nn=this.reqs;if(Gn){var Vn=Gn.uid?Gn.uid:Gn;nn[Vn]&&nn[Vn].abort&&nn[Vn].abort(),delete nn[Vn]}else Object.keys(nn).forEach(function(Cn){nn[Cn]&&nn[Cn].abort&&nn[Cn].abort(),delete nn[Cn]})}},{key:"render",value:function(){var Gn,nn=this.props,Vn=nn.component,Cn=nn.prefixCls,ia=nn.className,Za=nn.disabled,ir=nn.id,Nr=nn.style,Hr=nn.multiple,Ln=nn.accept,_o=nn.capture,Io=nn.children,Sr=nn.directory,wo=nn.openFileDialogOnClick,ua=nn.onMouseEnter,Ra=nn.onMouseLeave,mr=(0,ze.Z)(nn,Ce),Yn=De()((Gn={},(0,Te.Z)(Gn,Cn,!0),(0,Te.Z)(Gn,"".concat(Cn,"-disabled"),Za),(0,Te.Z)(Gn,ia,ia),Gn)),$r=Sr?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},Or=Za?{}:{onClick:wo?this.onClick:function(){},onKeyDown:wo?this.onKeyDown:function(){},onMouseEnter:ua,onMouseLeave:Ra,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return x.createElement(Vn,(0,we.Z)({},Or,{className:Yn,role:"button",style:Nr}),x.createElement("input",(0,we.Z)({},(0,a.Z)(mr,{aria:!0,data:!0}),{id:ir,disabled:Za,type:"file",ref:this.saveFileInput,onClick:function(Fo){return Fo.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:Ln},$r,{multiple:Hr,onChange:this.onChange},_o!=null?{capture:_o}:{})),Io)}}]),Ut}(x.Component),ye=be;function Ae(){}var Ne=function(pt){(0,We.Z)(Ut,pt);var qt=(0,Me.Z)(Ut);function Ut(){var dn;(0,ke.Z)(this,Ut);for(var Gn=arguments.length,nn=new Array(Gn),Vn=0;Vn<Gn;Vn++)nn[Vn]=arguments[Vn];return dn=qt.call.apply(qt,[this].concat(nn)),dn.uploader=void 0,dn.saveUploader=function(Cn){dn.uploader=Cn},dn}return(0,ie.Z)(Ut,[{key:"abort",value:function(Gn){this.uploader.abort(Gn)}},{key:"render",value:function(){return x.createElement(ye,(0,we.Z)({},this.props,{ref:this.saveUploader}))}}]),Ut}(x.Component);Ne.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:Ae,onError:Ae,onSuccess:Ae,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var Xe=Ne,Le=Xe,Ge=ee(5663),He=ee(73935),Ke=ee(53124),qe=ee(98866),it=ee(10110),mt=ee(24457),Yt={icon:function(qt,Ut){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:Ut}},{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"},cn=Yt,rt=ee(74643),Pt=function(qt,Ut){return x.createElement(rt.Z,(0,we.Z)({},qt,{ref:Ut,icon:cn}))},Lt=x.forwardRef(Pt),ct=ee(3407),Ft={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"},jt=Ft,_e=function(qt,Ut){return x.createElement(rt.Z,(0,we.Z)({},qt,{ref:Ut,icon:jt}))},En=x.forwardRef(_e),Fn={icon:function(qt,Ut){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:Ut}},{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:Ut}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:Ut}},{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"},ha=Fn,In=function(qt,Ut){return x.createElement(rt.Z,(0,we.Z)({},qt,{ref:Ut,icon:ha}))},at=x.forwardRef(In),lt=ee(38379),dt=ee(57838),At=ee(33603),Et=ee(96159),gt=ee(71577);function Xt(pt){return Object.assign(Object.assign({},pt),{lastModified:pt.lastModified,lastModifiedDate:pt.lastModifiedDate,name:pt.name,size:pt.size,type:pt.type,uid:pt.uid,percent:0,originFileObj:pt})}function Ot(pt,qt){const Ut=(0,de.Z)(qt),dn=Ut.findIndex(Gn=>{let{uid:nn}=Gn;return nn===pt.uid});return dn===-1?Ut.push(pt):Ut[dn]=pt,Ut}function bt(pt,qt){const Ut=pt.uid!==void 0?"uid":"name";return qt.filter(dn=>dn[Ut]===pt[Ut])[0]}function on(pt,qt){const Ut=pt.uid!==void 0?"uid":"name",dn=qt.filter(Gn=>Gn[Ut]!==pt[Ut]);return dn.length===qt.length?null:dn}const Jt=function(){const qt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),dn=qt[qt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(dn)||[""])[0]},$e=pt=>pt.indexOf("image/")===0,Re=pt=>{if(pt.type&&!pt.thumbUrl)return $e(pt.type);const qt=pt.thumbUrl||pt.url||"",Ut=Jt(qt);return/^data:image\//.test(qt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Ut)?!0:!(/^data:/.test(qt)||Ut)},Nn=200;function xe(pt){return new Promise(qt=>{if(!pt.type||!$e(pt.type)){qt("");return}const Ut=document.createElement("canvas");Ut.width=Nn,Ut.height=Nn,Ut.style.cssText=`position: fixed; left: 0; top: 0; width: ${Nn}px; height: ${Nn}px; z-index: 9999; display: none;`,document.body.appendChild(Ut);const dn=Ut.getContext("2d"),Gn=new Image;if(Gn.onload=()=>{const{width:nn,height:Vn}=Gn;let Cn=Nn,ia=Nn,Za=0,ir=0;nn>Vn?(ia=Vn*(Nn/nn),ir=-(ia-Cn)/2):(Cn=nn*(Nn/Vn),Za=-(Cn-ia)/2),dn.drawImage(Gn,Za,ir,Cn,ia);const Nr=Ut.toDataURL();document.body.removeChild(Ut),window.URL.revokeObjectURL(Gn.src),qt(Nr)},Gn.crossOrigin="anonymous",pt.type.startsWith("image/svg+xml")){const nn=new FileReader;nn.onload=()=>{nn.result&&(Gn.src=nn.result)},nn.readAsDataURL(pt)}else if(pt.type.startsWith("image/gif")){const nn=new FileReader;nn.onload=()=>{nn.result&&qt(nn.result)},nn.readAsDataURL(pt)}else Gn.src=window.URL.createObjectURL(pt)})}var je=ee(84249),Ht=ee(90674),et=ee(99569),Ue=ee(38703),Ct=ee(83062),kt=x.forwardRef((pt,qt)=>{let{prefixCls:Ut,className:dn,style:Gn,locale:nn,listType:Vn,file:Cn,items:ia,progress:Za,iconRender:ir,actionIconRender:Nr,itemRender:Hr,isImgUrl:Ln,showPreviewIcon:_o,showRemoveIcon:Io,showDownloadIcon:Sr,previewIcon:wo,removeIcon:ua,downloadIcon:Ra,onPreview:mr,onDownload:Yn,onClose:$r}=pt;var Or,Wo;const{status:Fo}=Cn,[ko,Gi]=x.useState(Fo);x.useEffect(()=>{Fo!=="removed"&&Gi(Fo)},[Fo]);const[Jo,nl]=x.useState(!1);x.useEffect(()=>{const tt=setTimeout(()=>{nl(!0)},300);return()=>{clearTimeout(tt)}},[]);const al=ir(Cn);let kn=x.createElement("div",{className:`${Ut}-icon`},al);if(Vn==="picture"||Vn==="picture-card"||Vn==="picture-circle")if(ko==="uploading"||!Cn.thumbUrl&&!Cn.url){const tt=De()(`${Ut}-list-item-thumbnail`,{[`${Ut}-list-item-file`]:ko!=="uploading"});kn=x.createElement("div",{className:tt},al)}else{const tt=Ln!=null&&Ln(Cn)?x.createElement("img",{src:Cn.thumbUrl||Cn.url,alt:Cn.name,className:`${Ut}-list-item-image`,crossOrigin:Cn.crossOrigin}):al,st=De()(`${Ut}-list-item-thumbnail`,{[`${Ut}-list-item-file`]:Ln&&!Ln(Cn)});kn=x.createElement("a",{className:st,onClick:ht=>mr(Cn,ht),href:Cn.url||Cn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},tt)}const Ea=De()(`${Ut}-list-item`,`${Ut}-list-item-${ko}`),io=typeof Cn.linkProps=="string"?JSON.parse(Cn.linkProps):Cn.linkProps,Ho=Io?Nr((typeof ua=="function"?ua(Cn):ua)||x.createElement(je.Z,null),()=>$r(Cn),Ut,nn.removeFile):null,xi=Sr&&ko==="done"?Nr((typeof Ra=="function"?Ra(Cn):Ra)||x.createElement(Ht.Z,null),()=>Yn(Cn),Ut,nn.downloadFile):null,ri=Vn!=="picture-card"&&Vn!=="picture-circle"&&x.createElement("span",{key:"download-delete",className:De()(`${Ut}-list-item-actions`,{picture:Vn==="picture"})},xi,Ho),oi=De()(`${Ut}-list-item-name`),Qi=Cn.url?[x.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:oi,title:Cn.name},io,{href:Cn.url,onClick:tt=>mr(Cn,tt)}),Cn.name),ri]:[x.createElement("span",{key:"view",className:oi,onClick:tt=>mr(Cn,tt),title:Cn.name},Cn.name),ri],jr={pointerEvents:"none",opacity:.5},ce=_o?x.createElement("a",{href:Cn.url||Cn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Cn.url||Cn.thumbUrl?void 0:jr,onClick:tt=>mr(Cn,tt),title:nn.previewFile},typeof wo=="function"?wo(Cn):wo||x.createElement(et.Z,null)):null,Pe=(Vn==="picture-card"||Vn==="picture-circle")&&ko!=="uploading"&&x.createElement("span",{className:`${Ut}-list-item-actions`},ce,ko==="done"&&xi,Ho),{getPrefixCls:Oe}=x.useContext(Ke.E_),Se=Oe(),Qe=x.createElement("div",{className:Ea},kn,Qi,Pe,Jo&&x.createElement(lt.default,{motionName:`${Se}-fade`,visible:ko==="uploading",motionDeadline:2e3},tt=>{let{className:st}=tt;const ht="percent"in Cn?x.createElement(Ue.Z,Object.assign({},Za,{type:"line",percent:Cn.percent,"aria-label":Cn["aria-label"],"aria-labelledby":Cn["aria-labelledby"]})):null;return x.createElement("div",{className:De()(`${Ut}-list-item-progress`,st)},ht)})),ot=Cn.response&&typeof Cn.response=="string"?Cn.response:((Or=Cn.error)===null||Or===void 0?void 0:Or.statusText)||((Wo=Cn.error)===null||Wo===void 0?void 0:Wo.message)||nn.uploadError,wt=ko==="error"?x.createElement(Ct.Z,{title:ot,getPopupContainer:tt=>tt.parentNode},Qe):Qe;return x.createElement("div",{className:De()(`${Ut}-list-item-container`,dn),style:Gn,ref:qt},Hr?Hr(wt,Cn,ia,{download:Yn.bind(null,Cn),preview:mr.bind(null,Cn),remove:$r.bind(null,Cn)}):wt)});const Pn=(pt,qt)=>{const{listType:Ut="text",previewFile:dn=xe,onPreview:Gn,onDownload:nn,onRemove:Vn,locale:Cn,iconRender:ia,isImageUrl:Za=Re,prefixCls:ir,items:Nr=[],showPreviewIcon:Hr=!0,showRemoveIcon:Ln=!0,showDownloadIcon:_o=!1,removeIcon:Io,previewIcon:Sr,downloadIcon:wo,progress:ua={size:[-1,2],showInfo:!1},appendAction:Ra,appendActionVisible:mr=!0,itemRender:Yn,disabled:$r}=pt,Or=(0,dt.Z)(),[Wo,Fo]=x.useState(!1);x.useEffect(()=>{Ut!=="picture"&&Ut!=="picture-card"&&Ut!=="picture-circle"||(Nr||[]).forEach(jr=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(jr.originFileObj instanceof File||jr.originFileObj instanceof Blob)||jr.thumbUrl!==void 0||(jr.thumbUrl="",dn&&dn(jr.originFileObj).then(ce=>{jr.thumbUrl=ce||"",Or()}))})},[Ut,Nr,dn]),x.useEffect(()=>{Fo(!0)},[]);const ko=(jr,ce)=>{if(Gn)return ce==null||ce.preventDefault(),Gn(jr)},Gi=jr=>{typeof nn=="function"?nn(jr):jr.url&&window.open(jr.url)},Jo=jr=>{Vn==null||Vn(jr)},nl=jr=>{if(ia)return ia(jr,Ut);const ce=jr.status==="uploading",Pe=Za&&Za(jr)?x.createElement(at,null):x.createElement(Lt,null);let Oe=ce?x.createElement(ct.Z,null):x.createElement(En,null);return Ut==="picture"?Oe=ce?x.createElement(ct.Z,null):Pe:(Ut==="picture-card"||Ut==="picture-circle")&&(Oe=ce?Cn.uploading:Pe),Oe},al=(jr,ce,Pe,Oe)=>{const Se={type:"text",size:"small",title:Oe,onClick:Qe=>{ce(),(0,Et.l$)(jr)&&jr.props.onClick&&jr.props.onClick(Qe)},className:`${Pe}-list-item-action`,disabled:$r};if((0,Et.l$)(jr)){const Qe=(0,Et.Tm)(jr,Object.assign(Object.assign({},jr.props),{onClick:()=>{}}));return x.createElement(gt.ZP,Object.assign({},Se,{icon:Qe}))}return x.createElement(gt.ZP,Object.assign({},Se),x.createElement("span",null,jr))};x.useImperativeHandle(qt,()=>({handlePreview:ko,handleDownload:Gi}));const{getPrefixCls:kn}=x.useContext(Ke.E_),Ea=kn("upload",ir),io=kn(),Ho=De()(`${Ea}-list`,`${Ea}-list-${Ut}`),xi=(0,de.Z)(Nr.map(jr=>({key:jr.uid,file:jr})));let oi={motionDeadline:2e3,motionName:`${Ea}-${Ut==="picture-card"||Ut==="picture-circle"?"animate-inline":"animate"}`,keys:xi,motionAppear:Wo};const Qi=x.useMemo(()=>{const jr=Object.assign({},(0,At.Z)(io));return delete jr.onAppearEnd,delete jr.onEnterEnd,delete jr.onLeaveEnd,jr},[io]);return Ut!=="picture-card"&&Ut!=="picture-circle"&&(oi=Object.assign(Object.assign({},Qi),oi)),x.createElement("div",{className:Ho},x.createElement(lt.CSSMotionList,Object.assign({},oi,{component:!1}),jr=>{let{key:ce,file:Pe,className:Oe,style:Se}=jr;return x.createElement(kt,{key:ce,locale:Cn,prefixCls:Ea,className:Oe,style:Se,file:Pe,items:Nr,progress:ua,listType:Ut,isImgUrl:Za,showPreviewIcon:Hr,showRemoveIcon:Ln,showDownloadIcon:_o,removeIcon:Io,previewIcon:Sr,downloadIcon:wo,iconRender:nl,actionIconRender:al,itemRender:Yn,onPreview:ko,onDownload:Gi,onClose:Jo})}),Ra&&x.createElement(lt.default,Object.assign({},oi,{visible:mr,forceRender:!0}),jr=>{let{className:ce,style:Pe}=jr;return(0,Et.Tm)(Ra,Oe=>({className:De()(Oe.className,ce),style:Object.assign(Object.assign(Object.assign({},Pe),{pointerEvents:ce?"none":void 0}),Oe.style)}))}))};var Tt=x.forwardRef(Pn),St=ee(14747),tn=ee(33507),Kt=ee(67968),mn=ee(45503),wn=pt=>{const{componentCls:qt,iconCls:Ut}=pt;return{[`${qt}-wrapper`]:{[`${qt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:pt.colorFillAlter,border:`${pt.lineWidth}px dashed ${pt.colorBorder}`,borderRadius:pt.borderRadiusLG,cursor:"pointer",transition:`border-color ${pt.motionDurationSlow}`,[qt]:{padding:`${pt.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:pt.colorPrimaryHover},[`p${qt}-drag-icon`]:{marginBottom:pt.margin,[Ut]:{color:pt.colorPrimary,fontSize:pt.uploadThumbnailSize}},[`p${qt}-text`]:{margin:`0 0 ${pt.marginXXS}px`,color:pt.colorTextHeading,fontSize:pt.fontSizeLG},[`p${qt}-hint`]:{color:pt.colorTextDescription,fontSize:pt.fontSize},[`&${qt}-disabled`]:{cursor:"not-allowed",[`p${qt}-drag-icon ${Ut},
p${qt}-text,
p${qt}-hint
`]:{color:pt.colorTextDisabled}}}}}},ma=pt=>{const{componentCls:qt,antCls:Ut,iconCls:dn,fontSize:Gn,lineHeight:nn}=pt,Vn=`${qt}-list-item`,Cn=`${Vn}-actions`,ia=`${Vn}-action`,Za=Math.round(Gn*nn);return{[`${qt}-wrapper`]:{[`${qt}-list`]:Object.assign(Object.assign({},(0,St.dF)()),{lineHeight:pt.lineHeight,[Vn]:{position:"relative",height:pt.lineHeight*Gn,marginTop:pt.marginXS,fontSize:Gn,display:"flex",alignItems:"center",transition:`background-color ${pt.motionDurationSlow}`,"&:hover":{backgroundColor:pt.controlItemBgHover},[`${Vn}-name`]:Object.assign(Object.assign({},St.vS),{padding:`0 ${pt.paddingXS}px`,lineHeight:nn,flex:"auto",transition:`all ${pt.motionDurationSlow}`}),[Cn]:{[ia]:{opacity:0},[`${ia}${Ut}-btn-sm`]:{height:Za,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
${ia}:focus-visible,
&.picture ${ia}
`]:{opacity:1},[dn]:{color:pt.actionsColor,transition:`all ${pt.motionDurationSlow}`},[`&:hover ${dn}`]:{color:pt.colorText}},[`${qt}-icon ${dn}`]:{color:pt.colorTextDescription,fontSize:Gn},[`${Vn}-progress`]:{position:"absolute",bottom:-pt.uploadProgressOffset,width:"100%",paddingInlineStart:Gn+pt.paddingXS,fontSize:Gn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Vn}:hover ${ia}`]:{opacity:1,color:pt.colorText},[`${Vn}-error`]:{color:pt.colorError,[`${Vn}-name, ${qt}-icon ${dn}`]:{color:pt.colorError},[Cn]:{[`${dn}, ${dn}:hover`]:{color:pt.colorError},[ia]:{opacity:1}}},[`${qt}-list-item-container`]:{transition:`opacity ${pt.motionDurationSlow}, height ${pt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},_t=ee(45930),Vt=ee(16932);const en=new _t.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),la=new _t.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var jn=pt=>{const{componentCls:qt}=pt,Ut=`${qt}-animate-inline`;return[{[`${qt}-wrapper`]:{[`${Ut}-appear, ${Ut}-enter, ${Ut}-leave`]:{animationDuration:pt.motionDurationSlow,animationTimingFunction:pt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Ut}-appear, ${Ut}-enter`]:{animationName:en},[`${Ut}-leave`]:{animationName:la}}},{[`${qt}-wrapper`]:(0,Vt.J$)(pt)},en,la]},Oa=ee(47448),Ia=ee(84780);const vr=pt=>{const{componentCls:qt,iconCls:Ut,uploadThumbnailSize:dn,uploadProgressOffset:Gn}=pt,nn=`${qt}-list`,Vn=`${nn}-item`;return{[`${qt}-wrapper`]:{[`
${nn}${nn}-picture,
${nn}${nn}-picture-card,
${nn}${nn}-picture-circle
`]:{[Vn]:{position:"relative",height:dn+pt.lineWidth*2+pt.paddingXS*2,padding:pt.paddingXS,border:`${pt.lineWidth}px ${pt.lineType} ${pt.colorBorder}`,borderRadius:pt.borderRadiusLG,"&:hover":{background:"transparent"},[`${Vn}-thumbnail`]:Object.assign(Object.assign({},St.vS),{width:dn,height:dn,lineHeight:`${dn+pt.paddingSM}px`,textAlign:"center",flex:"none",[Ut]:{fontSize:pt.fontSizeHeading2,color:pt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Vn}-progress`]:{bottom:Gn,width:`calc(100% - ${pt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:dn+pt.paddingXS}},[`${Vn}-error`]:{borderColor:pt.colorError,[`${Vn}-thumbnail ${Ut}`]:{[`svg path[fill='${Oa.blue[0]}']`]:{fill:pt.colorErrorBg},[`svg path[fill='${Oa.blue.primary}']`]:{fill:pt.colorError}}},[`${Vn}-uploading`]:{borderStyle:"dashed",[`${Vn}-name`]:{marginBottom:Gn}}},[`${nn}${nn}-picture-circle ${Vn}`]:{[`&, &::before, ${Vn}-thumbnail`]:{borderRadius:"50%"}}}}},zr=pt=>{const{componentCls:qt,iconCls:Ut,fontSizeLG:dn,colorTextLightSolid:Gn}=pt,nn=`${qt}-list`,Vn=`${nn}-item`,Cn=pt.uploadPicCardSize;return{[`
${qt}-wrapper${qt}-picture-card-wrapper,
${qt}-wrapper${qt}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,St.dF)()),{display:"inline-block",width:"100%",[`${qt}${qt}-select`]:{width:Cn,height:Cn,marginInlineEnd:pt.marginXS,marginBottom:pt.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:pt.colorFillAlter,border:`${pt.lineWidth}px dashed ${pt.colorBorder}`,borderRadius:pt.borderRadiusLG,cursor:"pointer",transition:`border-color ${pt.motionDurationSlow}`,[`> ${qt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${qt}-disabled):hover`]:{borderColor:pt.colorPrimary}},[`${nn}${nn}-picture-card, ${nn}${nn}-picture-circle`]:{[`${nn}-item-container`]:{display:"inline-block",width:Cn,height:Cn,marginBlock:`0 ${pt.marginXS}px`,marginInline:`0 ${pt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Vn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${pt.paddingXS*2}px)`,height:`calc(100% - ${pt.paddingXS*2}px)`,backgroundColor:pt.colorBgMask,opacity:0,transition:`all ${pt.motionDurationSlow}`,content:'" "'}},[`${Vn}:hover`]:{[`&::before, ${Vn}-actions`]:{opacity:1}},[`${Vn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${pt.motionDurationSlow}`,[`${Ut}-eye, ${Ut}-download, ${Ut}-delete`]:{zIndex:10,width:dn,margin:`0 ${pt.marginXXS}px`,fontSize:dn,cursor:"pointer",transition:`all ${pt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${Vn}-actions, ${Vn}-actions:hover`]:{[`${Ut}-eye, ${Ut}-download, ${Ut}-delete`]:{color:new Ia.C(Gn).setAlpha(.65).toRgbString(),"&:hover":{color:Gn}}},[`${Vn}-thumbnail, ${Vn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Vn}-name`]:{display:"none",textAlign:"center"},[`${Vn}-file + ${Vn}-name`]:{position:"absolute",bottom:pt.margin,display:"block",width:`calc(100% - ${pt.paddingXS*2}px)`},[`${Vn}-uploading`]:{[`&${Vn}`]:{backgroundColor:pt.colorFillAlter},[`&::before, ${Ut}-eye, ${Ut}-download, ${Ut}-delete`]:{display:"none"}},[`${Vn}-progress`]:{bottom:pt.marginXL,width:`calc(100% - ${pt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${qt}-wrapper${qt}-picture-circle-wrapper`]:{[`${qt}${qt}-select`]:{borderRadius:"50%"}}}};var Je=pt=>{const{componentCls:qt}=pt;return{[`${qt}-rtl`]:{direction:"rtl"}}};const Bt=pt=>{const{componentCls:qt,colorTextDisabled:Ut}=pt;return{[`${qt}-wrapper`]:Object.assign(Object.assign({},(0,St.Wf)(pt)),{[qt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${qt}-select`]:{display:"inline-block"},[`${qt}-disabled`]:{color:Ut,cursor:"not-allowed"}})}};var xt=(0,Kt.Z)("Upload",pt=>{const{fontSizeHeading3:qt,fontSize:Ut,lineHeight:dn,lineWidth:Gn,controlHeightLG:nn}=pt,Vn=Math.round(Ut*dn),Cn=(0,mn.TS)(pt,{uploadThumbnailSize:qt*2,uploadProgressOffset:Vn/2+Gn,uploadPicCardSize:nn*2.55});return[Bt(Cn),wn(Cn),vr(Cn),zr(Cn),ma(Cn),jn(Cn),Je(Cn),(0,tn.Z)(Cn)]},pt=>({actionsColor:pt.colorTextDescription})),Tn=function(pt,qt,Ut,dn){function Gn(nn){return nn instanceof Ut?nn:new Ut(function(Vn){Vn(nn)})}return new(Ut||(Ut=Promise))(function(nn,Vn){function Cn(ir){try{Za(dn.next(ir))}catch(Nr){Vn(Nr)}}function ia(ir){try{Za(dn.throw(ir))}catch(Nr){Vn(Nr)}}function Za(ir){ir.done?nn(ir.value):Gn(ir.value).then(Cn,ia)}Za((dn=dn.apply(pt,qt||[])).next())})};const pn=`__LIST_IGNORE_${Date.now()}__`,_n=(pt,qt)=>{const{fileList:Ut,defaultFileList:dn,onRemove:Gn,showUploadList:nn=!0,listType:Vn="text",onPreview:Cn,onDownload:ia,onChange:Za,onDrop:ir,previewFile:Nr,disabled:Hr,locale:Ln,iconRender:_o,isImageUrl:Io,progress:Sr,prefixCls:wo,className:ua,type:Ra="select",children:mr,style:Yn,itemRender:$r,maxCount:Or,data:Wo={},multiple:Fo=!1,action:ko="",accept:Gi="",supportServerRender:Jo=!0,rootClassName:nl}=pt,al=x.useContext(qe.Z),kn=Hr!=null?Hr:al,[Ea,io]=(0,Ge.Z)(dn||[],{value:Ut,postState:qn=>qn!=null?qn:[]}),[Ho,xi]=x.useState("drop"),ri=x.useRef(null);x.useMemo(()=>{const qn=Date.now();(Ut||[]).forEach((Ba,wa)=>{!Ba.uid&&!Object.isFrozen(Ba)&&(Ba.uid=`__AUTO__${qn}_${wa}__`)})},[Ut]);const oi=(qn,Ba,wa)=>{let Ua=(0,de.Z)(Ba),er=!1;Or===1?Ua=Ua.slice(-1):Or&&(er=Ua.length>Or,Ua=Ua.slice(0,Or)),(0,He.flushSync)(()=>{io(Ua)});const Rr={file:qn,fileList:Ua};wa&&(Rr.event=wa),(!er||Ua.some(ao=>ao.uid===qn.uid))&&(0,He.flushSync)(()=>{Za==null||Za(Rr)})},Qi=(qn,Ba)=>Tn(void 0,void 0,void 0,function*(){const{beforeUpload:wa,transformFile:Ua}=pt;let er=qn;if(wa){const Rr=yield wa(qn,Ba);if(Rr===!1)return!1;if(delete qn[pn],Rr===pn)return Object.defineProperty(qn,pn,{value:!0,configurable:!0}),!1;typeof Rr=="object"&&Rr&&(er=Rr)}return Ua&&(er=yield Ua(er)),er}),jr=qn=>{const Ba=qn.filter(er=>!er.file[pn]);if(!Ba.length)return;const wa=Ba.map(er=>Xt(er.file));let Ua=(0,de.Z)(Ea);wa.forEach(er=>{Ua=Ot(er,Ua)}),wa.forEach((er,Rr)=>{let ao=er;if(Ba[Rr].parsedFile)er.status="uploading";else{const{originFileObj:xo}=er;let ga;try{ga=new File([xo],xo.name,{type:xo.type})}catch(Eo){ga=new Blob([xo],{type:xo.type}),ga.name=xo.name,ga.lastModifiedDate=new Date,ga.lastModified=new Date().getTime()}ga.uid=er.uid,ao=ga}oi(ao,Ua)})},ce=(qn,Ba,wa)=>{try{typeof qn=="string"&&(qn=JSON.parse(qn))}catch(Rr){}if(!bt(Ba,Ea))return;const Ua=Xt(Ba);Ua.status="done",Ua.percent=100,Ua.response=qn,Ua.xhr=wa;const er=Ot(Ua,Ea);oi(Ua,er)},Pe=(qn,Ba)=>{if(!bt(Ba,Ea))return;const wa=Xt(Ba);wa.status="uploading",wa.percent=qn.percent;const Ua=Ot(wa,Ea);oi(wa,Ua,qn)},Oe=(qn,Ba,wa)=>{if(!bt(wa,Ea))return;const Ua=Xt(wa);Ua.error=qn,Ua.response=Ba,Ua.status="error";const er=Ot(Ua,Ea);oi(Ua,er)},Se=qn=>{let Ba;Promise.resolve(typeof Gn=="function"?Gn(qn):Gn).then(wa=>{var Ua;if(wa===!1)return;const er=on(qn,Ea);er&&(Ba=Object.assign(Object.assign({},qn),{status:"removed"}),Ea==null||Ea.forEach(Rr=>{const ao=Ba.uid!==void 0?"uid":"name";Rr[ao]===Ba[ao]&&!Object.isFrozen(Rr)&&(Rr.status="removed")}),(Ua=ri.current)===null||Ua===void 0||Ua.abort(Ba),oi(Ba,er))})},Qe=qn=>{xi(qn.type),qn.type==="drop"&&(ir==null||ir(qn))};x.useImperativeHandle(qt,()=>({onBatchStart:jr,onSuccess:ce,onProgress:Pe,onError:Oe,fileList:Ea,upload:ri.current}));const{getPrefixCls:ot,direction:wt,upload:tt}=x.useContext(Ke.E_),st=ot("upload",wo),ht=Object.assign(Object.assign({onBatchStart:jr,onError:Oe,onProgress:Pe,onSuccess:ce},pt),{data:Wo,multiple:Fo,action:ko,accept:Gi,supportServerRender:Jo,prefixCls:st,disabled:kn,beforeUpload:Qi,onChange:void 0});delete ht.className,delete ht.style,(!mr||kn)&&delete ht.id;const[an,fn]=xt(st),[Un]=(0,it.Z)("Upload",mt.Z.Upload),{showRemoveIcon:Rn,showPreviewIcon:Fa,showDownloadIcon:fa,removeIcon:hn,previewIcon:Gt,downloadIcon:Sn}=typeof nn=="boolean"?{}:nn,yn=(qn,Ba)=>nn?x.createElement(Tt,{prefixCls:st,listType:Vn,items:Ea,previewFile:Nr,onPreview:Cn,onDownload:ia,onRemove:Se,showRemoveIcon:!kn&&Rn,showPreviewIcon:Fa,showDownloadIcon:fa,removeIcon:hn,previewIcon:Gt,downloadIcon:Sn,iconRender:_o,locale:Object.assign(Object.assign({},Un),Ln),isImageUrl:Io,progress:Sr,appendAction:qn,appendActionVisible:Ba,itemRender:$r,disabled:kn}):qn,pa=De()(`${st}-wrapper`,ua,nl,fn,tt==null?void 0:tt.className,{[`${st}-rtl`]:wt==="rtl",[`${st}-picture-card-wrapper`]:Vn==="picture-card",[`${st}-picture-circle-wrapper`]:Vn==="picture-circle"}),Aa=Object.assign(Object.assign({},tt==null?void 0:tt.style),Yn);if(Ra==="drag"){const qn=De()(fn,st,`${st}-drag`,{[`${st}-drag-uploading`]:Ea.some(Ba=>Ba.status==="uploading"),[`${st}-drag-hover`]:Ho==="dragover",[`${st}-disabled`]:kn,[`${st}-rtl`]:wt==="rtl"});return an(x.createElement("span",{className:pa},x.createElement("div",{className:qn,style:Aa,onDrop:Qe,onDragOver:Qe,onDragLeave:Qe},x.createElement(Le,Object.assign({},ht,{ref:ri,className:`${st}-btn`}),x.createElement("div",{className:`${st}-drag-container`},mr))),yn()))}const xa=De()(st,`${st}-select`,{[`${st}-disabled`]:kn}),Na=(qn=>x.createElement("div",{className:xa,style:qn},x.createElement(Le,Object.assign({},ht,{ref:ri}))))(mr?void 0:{display:"none"});return an(Vn==="picture-card"||Vn==="picture-circle"?x.createElement("span",{className:pa},yn(Na,!!mr)):x.createElement("span",{className:pa},Na,yn()))};var Ta=x.forwardRef(_n),Cr=function(pt,qt){var Ut={};for(var dn in pt)Object.prototype.hasOwnProperty.call(pt,dn)&&qt.indexOf(dn)<0&&(Ut[dn]=pt[dn]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gn=0,dn=Object.getOwnPropertySymbols(pt);Gn<dn.length;Gn++)qt.indexOf(dn[Gn])<0&&Object.prototype.propertyIsEnumerable.call(pt,dn[Gn])&&(Ut[dn[Gn]]=pt[dn[Gn]]);return Ut},co=x.forwardRef((pt,qt)=>{var{style:Ut,height:dn}=pt,Gn=Cr(pt,["style","height"]);return x.createElement(Ta,Object.assign({ref:qt},Gn,{type:"drag",style:Object.assign(Object.assign({},Ut),{height:dn})}))});const Xn=Ta;Xn.Dragger=co,Xn.LIST_IGNORE=pn;var ur=Xn},97909:function(ft){(function(ut,ee){ft.exports=ee()})(this,function(){"use strict";var ut=1e3,ee=6e4,x=36e5,de="millisecond",pe="second",De="minute",we="hour",ke="day",ie="week",We="month",Me="quarter",Te="year",ze="date",Be="Invalid Date",me=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,oe=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,a={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Ce){var be=["th","st","nd","rd"],ye=Ce%100;return"["+Ce+(be[(ye-20)%10]||be[ye]||be[0])+"]"}},y=function(Ce,be,ye){var Ae=String(Ce);return!Ae||Ae.length>=be?Ce:""+Array(be+1-Ae.length).join(ye)+Ce},b={s:y,z:function(Ce){var be=-Ce.utcOffset(),ye=Math.abs(be),Ae=Math.floor(ye/60),Ne=ye%60;return(be<=0?"+":"-")+y(Ae,2,"0")+":"+y(Ne,2,"0")},m:function Ce(be,ye){if(be.date()<ye.date())return-Ce(ye,be);var Ae=12*(ye.year()-be.year())+(ye.month()-be.month()),Ne=be.clone().add(Ae,We),Xe=ye-Ne<0,Le=be.clone().add(Ae+(Xe?-1:1),We);return+(-(Ae+(ye-Ne)/(Xe?Ne-Le:Le-Ne))||0)},a:function(Ce){return Ce<0?Math.ceil(Ce)||0:Math.floor(Ce)},p:function(Ce){return{M:We,y:Te,w:ie,d:ke,D:ze,h:we,m:De,s:pe,ms:de,Q:Me}[Ce]||String(Ce||"").toLowerCase().replace(/s$/,"")},u:function(Ce){return Ce===void 0}},E="en",z={};z[E]=a;var te="$isDayjsObject",ne=function(Ce){return Ce instanceof he||!(!Ce||!Ce[te])},re=function Ce(be,ye,Ae){var Ne;if(!be)return E;if(typeof be=="string"){var Xe=be.toLowerCase();z[Xe]&&(Ne=Xe),ye&&(z[Xe]=ye,Ne=Xe);var Le=be.split("-");if(!Ne&&Le.length>1)return Ce(Le[0])}else{var Ge=be.name;z[Ge]=be,Ne=Ge}return!Ae&&Ne&&(E=Ne),Ne||!Ae&&E},ae=function(Ce,be){if(ne(Ce))return Ce.clone();var ye=typeof be=="object"?be:{};return ye.date=Ce,ye.args=arguments,new he(ye)},le=b;le.l=re,le.i=ne,le.w=function(Ce,be){return ae(Ce,{locale:be.$L,utc:be.$u,x:be.$x,$offset:be.$offset})};var he=function(){function Ce(ye){this.$L=re(ye.locale,null,!0),this.parse(ye),this.$x=this.$x||ye.x||{},this[te]=!0}var be=Ce.prototype;return be.parse=function(ye){this.$d=function(Ae){var Ne=Ae.date,Xe=Ae.utc;if(Ne===null)return new Date(NaN);if(le.u(Ne))return new Date;if(Ne instanceof Date)return new Date(Ne);if(typeof Ne=="string"&&!/Z$/i.test(Ne)){var Le=Ne.match(me);if(Le){var Ge=Le[2]-1||0,He=(Le[7]||"0").substring(0,3);return Xe?new Date(Date.UTC(Le[1],Ge,Le[3]||1,Le[4]||0,Le[5]||0,Le[6]||0,He)):new Date(Le[1],Ge,Le[3]||1,Le[4]||0,Le[5]||0,Le[6]||0,He)}}return new Date(Ne)}(ye),this.init()},be.init=function(){var ye=this.$d;this.$y=ye.getFullYear(),this.$M=ye.getMonth(),this.$D=ye.getDate(),this.$W=ye.getDay(),this.$H=ye.getHours(),this.$m=ye.getMinutes(),this.$s=ye.getSeconds(),this.$ms=ye.getMilliseconds()},be.$utils=function(){return le},be.isValid=function(){return this.$d.toString()!==Be},be.isSame=function(ye,Ae){var Ne=ae(ye);return this.startOf(Ae)<=Ne&&Ne<=this.endOf(Ae)},be.isAfter=function(ye,Ae){return ae(ye)<this.startOf(Ae)},be.isBefore=function(ye,Ae){return this.endOf(Ae)<ae(ye)},be.$g=function(ye,Ae,Ne){return le.u(ye)?this[Ae]:this.set(Ne,ye)},be.unix=function(){return Math.floor(this.valueOf()/1e3)},be.valueOf=function(){return this.$d.getTime()},be.startOf=function(ye,Ae){var Ne=this,Xe=!!le.u(Ae)||Ae,Le=le.p(ye),Ge=function(rt,Pt){var Lt=le.w(Ne.$u?Date.UTC(Ne.$y,Pt,rt):new Date(Ne.$y,Pt,rt),Ne);return Xe?Lt:Lt.endOf(ke)},He=function(rt,Pt){return le.w(Ne.toDate()[rt].apply(Ne.toDate("s"),(Xe?[0,0,0,0]:[23,59,59,999]).slice(Pt)),Ne)},Ke=this.$W,qe=this.$M,it=this.$D,mt="set"+(this.$u?"UTC":"");switch(Le){case Te:return Xe?Ge(1,0):Ge(31,11);case We:return Xe?Ge(1,qe):Ge(0,qe+1);case ie:var Yt=this.$locale().weekStart||0,cn=(Ke<Yt?Ke+7:Ke)-Yt;return Ge(Xe?it-cn:it+(6-cn),qe);case ke:case ze:return He(mt+"Hours",0);case we:return He(mt+"Minutes",1);case De:return He(mt+"Seconds",2);case pe:return He(mt+"Milliseconds",3);default:return this.clone()}},be.endOf=function(ye){return this.startOf(ye,!1)},be.$set=function(ye,Ae){var Ne,Xe=le.p(ye),Le="set"+(this.$u?"UTC":""),Ge=(Ne={},Ne[ke]=Le+"Date",Ne[ze]=Le+"Date",Ne[We]=Le+"Month",Ne[Te]=Le+"FullYear",Ne[we]=Le+"Hours",Ne[De]=Le+"Minutes",Ne[pe]=Le+"Seconds",Ne[de]=Le+"Milliseconds",Ne)[Xe],He=Xe===ke?this.$D+(Ae-this.$W):Ae;if(Xe===We||Xe===Te){var Ke=this.clone().set(ze,1);Ke.$d[Ge](He),Ke.init(),this.$d=Ke.set(ze,Math.min(this.$D,Ke.daysInMonth())).$d}else Ge&&this.$d[Ge](He);return this.init(),this},be.set=function(ye,Ae){return this.clone().$set(ye,Ae)},be.get=function(ye){return this[le.p(ye)]()},be.add=function(ye,Ae){var Ne,Xe=this;ye=Number(ye);var Le=le.p(Ae),Ge=function(qe){var it=ae(Xe);return le.w(it.date(it.date()+Math.round(qe*ye)),Xe)};if(Le===We)return this.set(We,this.$M+ye);if(Le===Te)return this.set(Te,this.$y+ye);if(Le===ke)return Ge(1);if(Le===ie)return Ge(7);var He=(Ne={},Ne[De]=ee,Ne[we]=x,Ne[pe]=ut,Ne)[Le]||1,Ke=this.$d.getTime()+ye*He;return le.w(Ke,this)},be.subtract=function(ye,Ae){return this.add(-1*ye,Ae)},be.format=function(ye){var Ae=this,Ne=this.$locale();if(!this.isValid())return Ne.invalidDate||Be;var Xe=ye||"YYYY-MM-DDTHH:mm:ssZ",Le=le.z(this),Ge=this.$H,He=this.$m,Ke=this.$M,qe=Ne.weekdays,it=Ne.months,mt=Ne.meridiem,Yt=function(Pt,Lt,ct,Ft){return Pt&&(Pt[Lt]||Pt(Ae,Xe))||ct[Lt].slice(0,Ft)},cn=function(Pt){return le.s(Ge%12||12,Pt,"0")},rt=mt||function(Pt,Lt,ct){var Ft=Pt<12?"AM":"PM";return ct?Ft.toLowerCase():Ft};return Xe.replace(oe,function(Pt,Lt){return Lt||function(ct){switch(ct){case"YY":return String(Ae.$y).slice(-2);case"YYYY":return le.s(Ae.$y,4,"0");case"M":return Ke+1;case"MM":return le.s(Ke+1,2,"0");case"MMM":return Yt(Ne.monthsShort,Ke,it,3);case"MMMM":return Yt(it,Ke);case"D":return Ae.$D;case"DD":return le.s(Ae.$D,2,"0");case"d":return String(Ae.$W);case"dd":return Yt(Ne.weekdaysMin,Ae.$W,qe,2);case"ddd":return Yt(Ne.weekdaysShort,Ae.$W,qe,3);case"dddd":return qe[Ae.$W];case"H":return String(Ge);case"HH":return le.s(Ge,2,"0");case"h":return cn(1);case"hh":return cn(2);case"a":return rt(Ge,He,!0);case"A":return rt(Ge,He,!1);case"m":return String(He);case"mm":return le.s(He,2,"0");case"s":return String(Ae.$s);case"ss":return le.s(Ae.$s,2,"0");case"SSS":return le.s(Ae.$ms,3,"0");case"Z":return Le}return null}(Pt)||Le.replace(":","")})},be.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},be.diff=function(ye,Ae,Ne){var Xe,Le=this,Ge=le.p(Ae),He=ae(ye),Ke=(He.utcOffset()-this.utcOffset())*ee,qe=this-He,it=function(){return le.m(Le,He)};switch(Ge){case Te:Xe=it()/12;break;case We:Xe=it();break;case Me:Xe=it()/3;break;case ie:Xe=(qe-Ke)/6048e5;break;case ke:Xe=(qe-Ke)/864e5;break;case we:Xe=qe/x;break;case De:Xe=qe/ee;break;case pe:Xe=qe/ut;break;default:Xe=qe}return Ne?Xe:le.a(Xe)},be.daysInMonth=function(){return this.endOf(We).$D},be.$locale=function(){return z[this.$L]},be.locale=function(ye,Ae){if(!ye)return this.$L;var Ne=this.clone(),Xe=re(ye,Ae,!0);return Xe&&(Ne.$L=Xe),Ne},be.clone=function(){return le.w(this.$d,this)},be.toDate=function(){return new Date(this.valueOf())},be.toJSON=function(){return this.isValid()?this.toISOString():null},be.toISOString=function(){return this.$d.toISOString()},be.toString=function(){return this.$d.toUTCString()},Ce}(),ve=he.prototype;return ae.prototype=ve,[["$ms",de],["$s",pe],["$m",De],["$H",we],["$W",ke],["$M",We],["$y",Te],["$D",ze]].forEach(function(Ce){ve[Ce[1]]=function(be){return this.$g(be,Ce[0],Ce[1])}}),ae.extend=function(Ce,be){return Ce.$i||(Ce(be,he,ae),Ce.$i=!0),ae},ae.locale=re,ae.isDayjs=ne,ae.unix=function(Ce){return ae(1e3*Ce)},ae.en=z[E],ae.Ls=z,ae.p={},ae})},86625:function(ft){(function(ut,ee){ft.exports=ee()})(this,function(){"use strict";return function(ut,ee){var x=ee.prototype,de=x.format;x.format=function(pe){var De=this,we=this.$locale();if(!this.isValid())return de.bind(this)(pe);var ke=this.$utils(),ie=(pe||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(We){switch(We){case"Q":return Math.ceil((De.$M+1)/3);case"Do":return we.ordinal(De.$D);case"gggg":return De.weekYear();case"GGGG":return De.isoWeekYear();case"wo":return we.ordinal(De.week(),"W");case"w":case"ww":return ke.s(De.week(),We==="w"?1:2,"0");case"W":case"WW":return ke.s(De.isoWeek(),We==="W"?1:2,"0");case"k":case"kk":return ke.s(String(De.$H===0?24:De.$H),We==="k"?1:2,"0");case"X":return Math.floor(De.$d.getTime()/1e3);case"x":return De.$d.getTime();case"z":return"["+De.offsetName()+"]";case"zzz":return"["+De.offsetName("long")+"]";default:return We}});return de.bind(this)(ie)}}})},40618:function(ft){(function(ut,ee){ft.exports=ee()})(this,function(){"use strict";var ut={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},ee=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,x=/\d\d/,de=/\d\d?/,pe=/\d*[^-_:/,()\s\d]+/,De={},we=function(Be){return(Be=+Be)+(Be>68?1900:2e3)},ke=function(Be){return function(me){this[Be]=+me}},ie=[/[+-]\d\d:?(\d\d)?|Z/,function(Be){(this.zone||(this.zone={})).offset=function(me){if(!me||me==="Z")return 0;var oe=me.match(/([+-]|\d\d)/g),a=60*oe[1]+(+oe[2]||0);return a===0?0:oe[0]==="+"?-a:a}(Be)}],We=function(Be){var me=De[Be];return me&&(me.indexOf?me:me.s.concat(me.f))},Me=function(Be,me){var oe,a=De.meridiem;if(a){for(var y=1;y<=24;y+=1)if(Be.indexOf(a(y,0,me))>-1){oe=y>12;break}}else oe=Be===(me?"pm":"PM");return oe},Te={A:[pe,function(Be){this.afternoon=Me(Be,!1)}],a:[pe,function(Be){this.afternoon=Me(Be,!0)}],S:[/\d/,function(Be){this.milliseconds=100*+Be}],SS:[x,function(Be){this.milliseconds=10*+Be}],SSS:[/\d{3}/,function(Be){this.milliseconds=+Be}],s:[de,ke("seconds")],ss:[de,ke("seconds")],m:[de,ke("minutes")],mm:[de,ke("minutes")],H:[de,ke("hours")],h:[de,ke("hours")],HH:[de,ke("hours")],hh:[de,ke("hours")],D:[de,ke("day")],DD:[x,ke("day")],Do:[pe,function(Be){var me=De.ordinal,oe=Be.match(/\d+/);if(this.day=oe[0],me)for(var a=1;a<=31;a+=1)me(a).replace(/\[|\]/g,"")===Be&&(this.day=a)}],M:[de,ke("month")],MM:[x,ke("month")],MMM:[pe,function(Be){var me=We("months"),oe=(We("monthsShort")||me.map(function(a){return a.slice(0,3)})).indexOf(Be)+1;if(oe<1)throw new Error;this.month=oe%12||oe}],MMMM:[pe,function(Be){var me=We("months").indexOf(Be)+1;if(me<1)throw new Error;this.month=me%12||me}],Y:[/[+-]?\d+/,ke("year")],YY:[x,function(Be){this.year=we(Be)}],YYYY:[/\d{4}/,ke("year")],Z:ie,ZZ:ie};function ze(Be){var me,oe;me=Be,oe=De&&De.formats;for(var a=(Be=me.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(re,ae,le){var he=le&&le.toUpperCase();return ae||oe[le]||ut[le]||oe[he].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(ve,Ce,be){return Ce||be.slice(1)})})).match(ee),y=a.length,b=0;b<y;b+=1){var E=a[b],z=Te[E],te=z&&z[0],ne=z&&z[1];a[b]=ne?{regex:te,parser:ne}:E.replace(/^\[|\]$/g,"")}return function(re){for(var ae={},le=0,he=0;le<y;le+=1){var ve=a[le];if(typeof ve=="string")he+=ve.length;else{var Ce=ve.regex,be=ve.parser,ye=re.slice(he),Ae=Ce.exec(ye)[0];be.call(ae,Ae),re=re.replace(Ae,"")}}return function(Ne){var Xe=Ne.afternoon;if(Xe!==void 0){var Le=Ne.hours;Xe?Le<12&&(Ne.hours+=12):Le===12&&(Ne.hours=0),delete Ne.afternoon}}(ae),ae}}return function(Be,me,oe){oe.p.customParseFormat=!0,Be&&Be.parseTwoDigitYear&&(we=Be.parseTwoDigitYear);var a=me.prototype,y=a.parse;a.parse=function(b){var E=b.date,z=b.utc,te=b.args;this.$u=z;var ne=te[1];if(typeof ne=="string"){var re=te[2]===!0,ae=te[3]===!0,le=re||ae,he=te[2];ae&&(he=te[2]),De=this.$locale(),!re&&he&&(De=oe.Ls[he]),this.$d=function(ye,Ae,Ne){try{if(["x","X"].indexOf(Ae)>-1)return new Date((Ae==="X"?1e3:1)*ye);var Xe=ze(Ae)(ye),Le=Xe.year,Ge=Xe.month,He=Xe.day,Ke=Xe.hours,qe=Xe.minutes,it=Xe.seconds,mt=Xe.milliseconds,Yt=Xe.zone,cn=new Date,rt=He||(Le||Ge?1:cn.getDate()),Pt=Le||cn.getFullYear(),Lt=0;Le&&!Ge||(Lt=Ge>0?Ge-1:cn.getMonth());var ct=Ke||0,Ft=qe||0,jt=it||0,_e=mt||0;return Yt?new Date(Date.UTC(Pt,Lt,rt,ct,Ft,jt,_e+60*Yt.offset*1e3)):Ne?new Date(Date.UTC(Pt,Lt,rt,ct,Ft,jt,_e)):new Date(Pt,Lt,rt,ct,Ft,jt,_e)}catch(En){return new Date("")}}(E,ne,z),this.init(),he&&he!==!0&&(this.$L=this.locale(he).$L),le&&E!=this.format(ne)&&(this.$d=new Date("")),De={}}else if(ne instanceof Array)for(var ve=ne.length,Ce=1;Ce<=ve;Ce+=1){te[1]=ne[Ce-1];var be=oe.apply(this,te);if(be.isValid()){this.$d=be.$d,this.$L=be.$L,this.init();break}Ce===ve&&(this.$d=new Date(""))}else y.call(this,b)}}})},26850:function(ft){(function(ut,ee){ft.exports=ee()})(this,function(){"use strict";return function(ut,ee,x){var de=ee.prototype,pe=function(We){return We&&(We.indexOf?We:We.s)},De=function(We,Me,Te,ze,Be){var me=We.name?We:We.$locale(),oe=pe(me[Me]),a=pe(me[Te]),y=oe||a.map(function(E){return E.slice(0,ze)});if(!Be)return y;var b=me.weekStart;return y.map(function(E,z){return y[(z+(b||0))%7]})},we=function(){return x.Ls[x.locale()]},ke=function(We,Me){return We.formats[Me]||function(Te){return Te.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(ze,Be,me){return Be||me.slice(1)})}(We.formats[Me.toUpperCase()])},ie=function(){var We=this;return{months:function(Me){return Me?Me.format("MMMM"):De(We,"months")},monthsShort:function(Me){return Me?Me.format("MMM"):De(We,"monthsShort","months",3)},firstDayOfWeek:function(){return We.$locale().weekStart||0},weekdays:function(Me){return Me?Me.format("dddd"):De(We,"weekdays")},weekdaysMin:function(Me){return Me?Me.format("dd"):De(We,"weekdaysMin","weekdays",2)},weekdaysShort:function(Me){return Me?Me.format("ddd"):De(We,"weekdaysShort","weekdays",3)},longDateFormat:function(Me){return ke(We.$locale(),Me)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};de.localeData=function(){return ie.bind(this)()},x.localeData=function(){var We=we();return{firstDayOfWeek:function(){return We.weekStart||0},weekdays:function(){return x.weekdays()},weekdaysShort:function(){return x.weekdaysShort()},weekdaysMin:function(){return x.weekdaysMin()},months:function(){return x.months()},monthsShort:function(){return x.monthsShort()},longDateFormat:function(Me){return ke(We,Me)},meridiem:We.meridiem,ordinal:We.ordinal}},x.months=function(){return De(we(),"months")},x.monthsShort=function(){return De(we(),"monthsShort","months",3)},x.weekdays=function(We){return De(we(),"weekdays",null,null,We)},x.weekdaysShort=function(We){return De(we(),"weekdaysShort","weekdays",3,We)},x.weekdaysMin=function(We){return De(we(),"weekdaysMin","weekdays",2,We)}}})},23082:function(ft){(function(ut,ee){ft.exports=ee()})(this,function(){"use strict";var ut="week",ee="year";return function(x,de,pe){var De=de.prototype;De.week=function(we){if(we===void 0&&(we=null),we!==null)return this.add(7*(we-this.week()),"day");var ke=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var ie=pe(this).startOf(ee).add(1,ee).date(ke),We=pe(this).endOf(ut);if(ie.isBefore(We))return 1}var Me=pe(this).startOf(ee).date(ke).startOf(ut).subtract(1,"millisecond"),Te=this.diff(Me,ut,!0);return Te<0?pe(this).startOf("week").week():Math.ceil(Te)},De.weeks=function(we){return we===void 0&&(we=null),this.week(we)}}})},99873:function(ft){(function(ut,ee){ft.exports=ee()})(this,function(){"use strict";return function(ut,ee){ee.prototype.weekYear=function(){var x=this.month(),de=this.week(),pe=this.year();return de===1&&x===11?pe+1:x===0&&de>=52?pe-1:pe}}})},33088:function(ft){(function(ut,ee){ft.exports=ee()})(this,function(){"use strict";return function(ut,ee){ee.prototype.weekday=function(x){var de=this.$locale().weekStart||0,pe=this.$W,De=(pe<de?pe+7:pe)-de;return this.$utils().u(x)?De:this.subtract(De,"day").add(x,"day")}}})},72665:function(ft,ut){"use strict";var ee;var x=typeof Symbol=="function"&&Symbol.for,de=x?Symbol.for("react.element"):60103,pe=x?Symbol.for("react.portal"):60106,De=x?Symbol.for("react.fragment"):60107,we=x?Symbol.for("react.strict_mode"):60108,ke=x?Symbol.for("react.profiler"):60114,ie=x?Symbol.for("react.provider"):60109,We=x?Symbol.for("react.context"):60110,Me=x?Symbol.for("react.async_mode"):60111,Te=x?Symbol.for("react.concurrent_mode"):60111,ze=x?Symbol.for("react.forward_ref"):60112,Be=x?Symbol.for("react.suspense"):60113,me=x?Symbol.for("react.suspense_list"):60120,oe=x?Symbol.for("react.memo"):60115,a=x?Symbol.for("react.lazy"):60116,y=x?Symbol.for("react.block"):60121,b=x?Symbol.for("react.fundamental"):60117,E=x?Symbol.for("react.responder"):60118,z=x?Symbol.for("react.scope"):60119;function te(re){if(typeof re=="object"&&re!==null){var ae=re.$$typeof;switch(ae){case de:switch(re=re.type,re){case Me:case Te:case De:case ke:case we:case Be:return re;default:switch(re=re&&re.$$typeof,re){case We:case ze:case a:case oe:case ie:return re;default:return ae}}case pe:return ae}}}function ne(re){return te(re)===Te}ee=Me,ee=Te,ee=We,ee=ie,ee=de,ee=ze,ee=De,ee=a,ee=oe,ee=pe,ee=ke,ee=we,ee=Be,ee=function(re){return ne(re)||te(re)===Me},ee=ne,ee=function(re){return te(re)===We},ee=function(re){return te(re)===ie},ee=function(re){return typeof re=="object"&&re!==null&&re.$$typeof===de},ee=function(re){return te(re)===ze},ee=function(re){return te(re)===De},ee=function(re){return te(re)===a},ut.isMemo=function(re){return te(re)===oe},ee=function(re){return te(re)===pe},ee=function(re){return te(re)===ke},ee=function(re){return te(re)===we},ee=function(re){return te(re)===Be},ee=function(re){return typeof re=="string"||typeof re=="function"||re===De||re===Te||re===ke||re===we||re===Be||re===me||typeof re=="object"&&re!==null&&(re.$$typeof===a||re.$$typeof===oe||re.$$typeof===ie||re.$$typeof===We||re.$$typeof===ze||re.$$typeof===b||re.$$typeof===E||re.$$typeof===z||re.$$typeof===y)},ee=te},12060:function(ft,ut,ee){"use strict";ft.exports=ee(72665)},56261:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return he}});var x=ee(87462),de=ee(4942),pe=ee(45987),De=ee(1413),we=ee(15671),ke=ee(43144),ie=ee(97326),We=ee(60136),Me=ee(51630),Te=ee(94184),ze=ee.n(Te),Be=ee(34952),me=ee(67294),oe=ee(69610),a=function(Ce){for(var be=Ce.prefixCls,ye=Ce.level,Ae=Ce.isStart,Ne=Ce.isEnd,Xe="".concat(be,"-indent-unit"),Le=[],Ge=0;Ge<ye;Ge+=1){var He;Le.push(me.createElement("span",{key:Ge,className:ze()(Xe,(He={},(0,de.Z)(He,"".concat(Xe,"-start"),Ae[Ge]),(0,de.Z)(He,"".concat(Xe,"-end"),Ne[Ge]),He))}))}return me.createElement("span",{"aria-hidden":"true",className:"".concat(be,"-indent")},Le)},y=me.memo(a),b=ee(3596),E=ee(83898),z=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],te="open",ne="close",re="---",ae=function(ve){(0,We.Z)(be,ve);var Ce=(0,Me.Z)(be);function be(){var ye;(0,we.Z)(this,be);for(var Ae=arguments.length,Ne=new Array(Ae),Xe=0;Xe<Ae;Xe++)Ne[Xe]=arguments[Xe];return ye=Ce.call.apply(Ce,[this].concat(Ne)),ye.state={dragNodeHighlight:!1},ye.selectHandle=void 0,ye.cacheIndent=void 0,ye.onSelectorClick=function(Le){var Ge=ye.props.context.onNodeClick;Ge(Le,(0,E.F)(ye.props)),ye.isSelectable()?ye.onSelect(Le):ye.onCheck(Le)},ye.onSelectorDoubleClick=function(Le){var Ge=ye.props.context.onNodeDoubleClick;Ge(Le,(0,E.F)(ye.props))},ye.onSelect=function(Le){if(!ye.isDisabled()){var Ge=ye.props.context.onNodeSelect;Ge(Le,(0,E.F)(ye.props))}},ye.onCheck=function(Le){if(!ye.isDisabled()){var Ge=ye.props,He=Ge.disableCheckbox,Ke=Ge.checked,qe=ye.props.context.onNodeCheck;if(!(!ye.isCheckable()||He)){var it=!Ke;qe(Le,(0,E.F)(ye.props),it)}}},ye.onMouseEnter=function(Le){var Ge=ye.props.context.onNodeMouseEnter;Ge(Le,(0,E.F)(ye.props))},ye.onMouseLeave=function(Le){var Ge=ye.props.context.onNodeMouseLeave;Ge(Le,(0,E.F)(ye.props))},ye.onContextMenu=function(Le){var Ge=ye.props.context.onNodeContextMenu;Ge(Le,(0,E.F)(ye.props))},ye.onDragStart=function(Le){var Ge=ye.props.context.onNodeDragStart;Le.stopPropagation(),ye.setState({dragNodeHighlight:!0}),Ge(Le,(0,ie.Z)(ye));try{Le.dataTransfer.setData("text/plain","")}catch(He){}},ye.onDragEnter=function(Le){var Ge=ye.props.context.onNodeDragEnter;Le.preventDefault(),Le.stopPropagation(),Ge(Le,(0,ie.Z)(ye))},ye.onDragOver=function(Le){var Ge=ye.props.context.onNodeDragOver;Le.preventDefault(),Le.stopPropagation(),Ge(Le,(0,ie.Z)(ye))},ye.onDragLeave=function(Le){var Ge=ye.props.context.onNodeDragLeave;Le.stopPropagation(),Ge(Le,(0,ie.Z)(ye))},ye.onDragEnd=function(Le){var Ge=ye.props.context.onNodeDragEnd;Le.stopPropagation(),ye.setState({dragNodeHighlight:!1}),Ge(Le,(0,ie.Z)(ye))},ye.onDrop=function(Le){var Ge=ye.props.context.onNodeDrop;Le.preventDefault(),Le.stopPropagation(),ye.setState({dragNodeHighlight:!1}),Ge(Le,(0,ie.Z)(ye))},ye.onExpand=function(Le){var Ge=ye.props,He=Ge.loading,Ke=Ge.context.onNodeExpand;He||Ke(Le,(0,E.F)(ye.props))},ye.setSelectHandle=function(Le){ye.selectHandle=Le},ye.getNodeState=function(){var Le=ye.props.expanded;return ye.isLeaf()?null:Le?te:ne},ye.hasChildren=function(){var Le=ye.props.eventKey,Ge=ye.props.context.keyEntities,He=(0,b.Z)(Ge,Le)||{},Ke=He.children;return!!(Ke||[]).length},ye.isLeaf=function(){var Le=ye.props,Ge=Le.isLeaf,He=Le.loaded,Ke=ye.props.context.loadData,qe=ye.hasChildren();return Ge===!1?!1:Ge||!Ke&&!qe||Ke&&He&&!qe},ye.isDisabled=function(){var Le=ye.props.disabled,Ge=ye.props.context.disabled;return!!(Ge||Le)},ye.isCheckable=function(){var Le=ye.props.checkable,Ge=ye.props.context.checkable;return!Ge||Le===!1?!1:Ge},ye.syncLoadData=function(Le){var Ge=Le.expanded,He=Le.loading,Ke=Le.loaded,qe=ye.props.context,it=qe.loadData,mt=qe.onNodeLoad;He||it&&Ge&&!ye.isLeaf()&&!ye.hasChildren()&&!Ke&&mt((0,E.F)(ye.props))},ye.isDraggable=function(){var Le=ye.props,Ge=Le.data,He=Le.context.draggable;return!!(He&&(!He.nodeDraggable||He.nodeDraggable(Ge)))},ye.renderDragHandler=function(){var Le=ye.props.context,Ge=Le.draggable,He=Le.prefixCls;return Ge!=null&&Ge.icon?me.createElement("span",{className:"".concat(He,"-draggable-icon")},Ge.icon):null},ye.renderSwitcherIconDom=function(Le){var Ge=ye.props.switcherIcon,He=ye.props.context.switcherIcon,Ke=Ge||He;return typeof Ke=="function"?Ke((0,De.Z)((0,De.Z)({},ye.props),{},{isLeaf:Le})):Ke},ye.renderSwitcher=function(){var Le=ye.props.expanded,Ge=ye.props.context.prefixCls;if(ye.isLeaf()){var He=ye.renderSwitcherIconDom(!0);return He!==!1?me.createElement("span",{className:ze()("".concat(Ge,"-switcher"),"".concat(Ge,"-switcher-noop"))},He):null}var Ke=ze()("".concat(Ge,"-switcher"),"".concat(Ge,"-switcher_").concat(Le?te:ne)),qe=ye.renderSwitcherIconDom(!1);return qe!==!1?me.createElement("span",{onClick:ye.onExpand,className:Ke},qe):null},ye.renderCheckbox=function(){var Le=ye.props,Ge=Le.checked,He=Le.halfChecked,Ke=Le.disableCheckbox,qe=ye.props.context.prefixCls,it=ye.isDisabled(),mt=ye.isCheckable();if(!mt)return null;var Yt=typeof mt!="boolean"?mt:null;return me.createElement("span",{className:ze()("".concat(qe,"-checkbox"),Ge&&"".concat(qe,"-checkbox-checked"),!Ge&&He&&"".concat(qe,"-checkbox-indeterminate"),(it||Ke)&&"".concat(qe,"-checkbox-disabled")),onClick:ye.onCheck},Yt)},ye.renderIcon=function(){var Le=ye.props.loading,Ge=ye.props.context.prefixCls;return me.createElement("span",{className:ze()("".concat(Ge,"-iconEle"),"".concat(Ge,"-icon__").concat(ye.getNodeState()||"docu"),Le&&"".concat(Ge,"-icon_loading"))})},ye.renderSelector=function(){var Le=ye.state.dragNodeHighlight,Ge=ye.props,He=Ge.title,Ke=He===void 0?re:He,qe=Ge.selected,it=Ge.icon,mt=Ge.loading,Yt=Ge.data,cn=ye.props.context,rt=cn.prefixCls,Pt=cn.showIcon,Lt=cn.icon,ct=cn.loadData,Ft=cn.titleRender,jt=ye.isDisabled(),_e="".concat(rt,"-node-content-wrapper"),En;if(Pt){var Fn=it||Lt;En=Fn?me.createElement("span",{className:ze()("".concat(rt,"-iconEle"),"".concat(rt,"-icon__customize"))},typeof Fn=="function"?Fn(ye.props):Fn):ye.renderIcon()}else ct&&mt&&(En=ye.renderIcon());var ha;typeof Ke=="function"?ha=Ke(Yt):Ft?ha=Ft(Yt):ha=Ke;var In=me.createElement("span",{className:"".concat(rt,"-title")},ha);return me.createElement("span",{ref:ye.setSelectHandle,title:typeof Ke=="string"?Ke:"",className:ze()("".concat(_e),"".concat(_e,"-").concat(ye.getNodeState()||"normal"),!jt&&(qe||Le)&&"".concat(rt,"-node-selected")),onMouseEnter:ye.onMouseEnter,onMouseLeave:ye.onMouseLeave,onContextMenu:ye.onContextMenu,onClick:ye.onSelectorClick,onDoubleClick:ye.onSelectorDoubleClick},En,In,ye.renderDropIndicator())},ye.renderDropIndicator=function(){var Le=ye.props,Ge=Le.disabled,He=Le.eventKey,Ke=ye.props.context,qe=Ke.draggable,it=Ke.dropLevelOffset,mt=Ke.dropPosition,Yt=Ke.prefixCls,cn=Ke.indent,rt=Ke.dropIndicatorRender,Pt=Ke.dragOverNodeKey,Lt=Ke.direction,ct=!!qe,Ft=!Ge&&ct&&Pt===He,jt=cn!=null?cn:ye.cacheIndent;return ye.cacheIndent=cn,Ft?rt({dropPosition:mt,dropLevelOffset:it,indent:jt,prefixCls:Yt,direction:Lt}):null},ye}return(0,ke.Z)(be,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var Ae=this.props.selectable,Ne=this.props.context.selectable;return typeof Ae=="boolean"?Ae:Ne}},{key:"render",value:function(){var Ae,Ne=this.props,Xe=Ne.eventKey,Le=Ne.className,Ge=Ne.style,He=Ne.dragOver,Ke=Ne.dragOverGapTop,qe=Ne.dragOverGapBottom,it=Ne.isLeaf,mt=Ne.isStart,Yt=Ne.isEnd,cn=Ne.expanded,rt=Ne.selected,Pt=Ne.checked,Lt=Ne.halfChecked,ct=Ne.loading,Ft=Ne.domRef,jt=Ne.active,_e=Ne.data,En=Ne.onMouseMove,Fn=Ne.selectable,ha=(0,pe.Z)(Ne,z),In=this.props.context,at=In.prefixCls,lt=In.filterTreeNode,dt=In.keyEntities,At=In.dropContainerKey,Et=In.dropTargetKey,gt=In.draggingNodeKey,Xt=this.isDisabled(),Ot=(0,Be.Z)(ha,{aria:!0,data:!0}),bt=(0,b.Z)(dt,Xe)||{},on=bt.level,Jt=Yt[Yt.length-1],$e=this.isDraggable(),Re=!Xt&&$e,Nn=gt===Xe,xe=Fn!==void 0?{"aria-selected":!!Fn}:void 0;return me.createElement("div",(0,x.Z)({ref:Ft,className:ze()(Le,"".concat(at,"-treenode"),(Ae={},(0,de.Z)(Ae,"".concat(at,"-treenode-disabled"),Xt),(0,de.Z)(Ae,"".concat(at,"-treenode-switcher-").concat(cn?"open":"close"),!it),(0,de.Z)(Ae,"".concat(at,"-treenode-checkbox-checked"),Pt),(0,de.Z)(Ae,"".concat(at,"-treenode-checkbox-indeterminate"),Lt),(0,de.Z)(Ae,"".concat(at,"-treenode-selected"),rt),(0,de.Z)(Ae,"".concat(at,"-treenode-loading"),ct),(0,de.Z)(Ae,"".concat(at,"-treenode-active"),jt),(0,de.Z)(Ae,"".concat(at,"-treenode-leaf-last"),Jt),(0,de.Z)(Ae,"".concat(at,"-treenode-draggable"),$e),(0,de.Z)(Ae,"dragging",Nn),(0,de.Z)(Ae,"drop-target",Et===Xe),(0,de.Z)(Ae,"drop-container",At===Xe),(0,de.Z)(Ae,"drag-over",!Xt&&He),(0,de.Z)(Ae,"drag-over-gap-top",!Xt&&Ke),(0,de.Z)(Ae,"drag-over-gap-bottom",!Xt&&qe),(0,de.Z)(Ae,"filter-node",lt&&lt((0,E.F)(this.props))),Ae)),style:Ge,draggable:Re,"aria-grabbed":Nn,onDragStart:Re?this.onDragStart:void 0,onDragEnter:$e?this.onDragEnter:void 0,onDragOver:$e?this.onDragOver:void 0,onDragLeave:$e?this.onDragLeave:void 0,onDrop:$e?this.onDrop:void 0,onDragEnd:$e?this.onDragEnd:void 0,onMouseMove:En},xe,Ot),me.createElement(y,{prefixCls:at,level:on,isStart:mt,isEnd:Yt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),be}(me.Component),le=function(Ce){return me.createElement(oe.k.Consumer,null,function(be){return me.createElement(ae,(0,x.Z)({},Ce,{context:be}))})};le.displayName="TreeNode",le.isTreeNode=1;var he=le},69610:function(ft,ut,ee){"use strict";ee.d(ut,{k:function(){return de}});var x=ee(67294),de=x.createContext(null)},29873:function(ft,ut,ee){"use strict";ee.d(ut,{BT:function(){return y},E6:function(){return z},L0:function(){return Te},OM:function(){return a},_5:function(){return Me},r7:function(){return te},wA:function(){return Be},yx:function(){return ze}});var x=ee(74902),de=ee(71002),pe=ee(72978),De=ee(67294),we=ee(56261),ke=ee(3596),ie=ee(83898),We=null;function Me(ne,re){if(!ne)return[];var ae=ne.slice(),le=ae.indexOf(re);return le>=0&&ae.splice(le,1),ae}function Te(ne,re){var ae=(ne||[]).slice();return ae.indexOf(re)===-1&&ae.push(re),ae}function ze(ne){return ne.split("-")}function Be(ne,re){var ae=[],le=(0,ke.Z)(re,ne);function he(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];ve.forEach(function(Ce){var be=Ce.key,ye=Ce.children;ae.push(be),he(ye)})}return he(le.children),ae}function me(ne){if(ne.parent){var re=ze(ne.pos);return Number(re[re.length-1])===ne.parent.children.length-1}return!1}function oe(ne){var re=ze(ne.pos);return Number(re[re.length-1])===0}function a(ne,re,ae,le,he,ve,Ce,be,ye,Ae){var Ne,Xe=ne.clientX,Le=ne.clientY,Ge=ne.target.getBoundingClientRect(),He=Ge.top,Ke=Ge.height,qe=(Ae==="rtl"?-1:1)*(((he==null?void 0:he.x)||0)-Xe),it=(qe-12)/le,mt=(0,ke.Z)(be,ae.props.eventKey);if(Le<He+Ke/2){var Yt=Ce.findIndex(function(In){return In.key===mt.key}),cn=Yt<=0?0:Yt-1,rt=Ce[cn].key;mt=(0,ke.Z)(be,rt)}var Pt=mt.key,Lt=mt,ct=mt.key,Ft=0,jt=0;if(!ye.includes(Pt))for(var _e=0;_e<it&&me(mt);_e+=1)mt=mt.parent,jt+=1;var En=re.props.data,Fn=mt.node,ha=!0;return oe(mt)&&mt.level===0&&Le<He+Ke/2&&ve({dragNode:En,dropNode:Fn,dropPosition:-1})&&mt.key===ae.props.eventKey?Ft=-1:(Lt.children||[]).length&&ye.includes(ct)?ve({dragNode:En,dropNode:Fn,dropPosition:0})?Ft=0:ha=!1:jt===0?it>-1.5?ve({dragNode:En,dropNode:Fn,dropPosition:1})?Ft=1:ha=!1:ve({dragNode:En,dropNode:Fn,dropPosition:0})?Ft=0:ve({dragNode:En,dropNode:Fn,dropPosition:1})?Ft=1:ha=!1:ve({dragNode:En,dropNode:Fn,dropPosition:1})?Ft=1:ha=!1,{dropPosition:Ft,dropLevelOffset:jt,dropTargetKey:mt.key,dropTargetPos:mt.pos,dragOverNodeKey:ct,dropContainerKey:Ft===0?null:((Ne=mt.parent)===null||Ne===void 0?void 0:Ne.key)||null,dropAllowed:ha}}function y(ne,re){if(ne){var ae=re.multiple;return ae?ne.slice():ne.length?[ne[0]]:ne}}var b=function(re){return re};function E(ne,re){if(!ne)return[];var ae=re||{},le=ae.processProps,he=le===void 0?b:le,ve=Array.isArray(ne)?ne:[ne];return ve.map(function(Ce){var be=Ce.children,ye=_objectWithoutProperties(Ce,We),Ae=E(be,re);return React.createElement(TreeNode,_extends({key:ye.key},he(ye)),Ae)})}function z(ne){if(!ne)return null;var re;if(Array.isArray(ne))re={checkedKeys:ne,halfCheckedKeys:void 0};else if((0,de.Z)(ne)==="object")re={checkedKeys:ne.checked||void 0,halfCheckedKeys:ne.halfChecked||void 0};else return(0,pe.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return re}function te(ne,re){var ae=new Set;function le(he){if(!ae.has(he)){var ve=(0,ke.Z)(re,he);if(ve){ae.add(he);var Ce=ve.parent,be=ve.node;be.disabled||Ce&&le(Ce.key)}}}return(ne||[]).forEach(function(he){le(he)}),(0,x.Z)(ae)}},97153:function(ft,ut,ee){"use strict";ee.d(ut,{S:function(){return ie}});var x=ee(72978),de=ee(3596);function pe(We,Me){var Te=new Set;return We.forEach(function(ze){Me.has(ze)||Te.add(ze)}),Te}function De(We){var Me=We||{},Te=Me.disabled,ze=Me.disableCheckbox,Be=Me.checkable;return!!(Te||ze)||Be===!1}function we(We,Me,Te,ze){for(var Be=new Set(We),me=new Set,oe=0;oe<=Te;oe+=1){var a=Me.get(oe)||new Set;a.forEach(function(z){var te=z.key,ne=z.node,re=z.children,ae=re===void 0?[]:re;Be.has(te)&&!ze(ne)&&ae.filter(function(le){return!ze(le.node)}).forEach(function(le){Be.add(le.key)})})}for(var y=new Set,b=Te;b>=0;b-=1){var E=Me.get(b)||new Set;E.forEach(function(z){var te=z.parent,ne=z.node;if(!(ze(ne)||!z.parent||y.has(z.parent.key))){if(ze(z.parent.node)){y.add(te.key);return}var re=!0,ae=!1;(te.children||[]).filter(function(le){return!ze(le.node)}).forEach(function(le){var he=le.key,ve=Be.has(he);re&&!ve&&(re=!1),!ae&&(ve||me.has(he))&&(ae=!0)}),re&&Be.add(te.key),ae&&me.add(te.key),y.add(te.key)}})}return{checkedKeys:Array.from(Be),halfCheckedKeys:Array.from(pe(me,Be))}}function ke(We,Me,Te,ze,Be){for(var me=new Set(We),oe=new Set(Me),a=0;a<=ze;a+=1){var y=Te.get(a)||new Set;y.forEach(function(te){var ne=te.key,re=te.node,ae=te.children,le=ae===void 0?[]:ae;!me.has(ne)&&!oe.has(ne)&&!Be(re)&&le.filter(function(he){return!Be(he.node)}).forEach(function(he){me.delete(he.key)})})}oe=new Set;for(var b=new Set,E=ze;E>=0;E-=1){var z=Te.get(E)||new Set;z.forEach(function(te){var ne=te.parent,re=te.node;if(!(Be(re)||!te.parent||b.has(te.parent.key))){if(Be(te.parent.node)){b.add(ne.key);return}var ae=!0,le=!1;(ne.children||[]).filter(function(he){return!Be(he.node)}).forEach(function(he){var ve=he.key,Ce=me.has(ve);ae&&!Ce&&(ae=!1),!le&&(Ce||oe.has(ve))&&(le=!0)}),ae||me.delete(ne.key),le&&oe.add(ne.key),b.add(ne.key)}})}return{checkedKeys:Array.from(me),halfCheckedKeys:Array.from(pe(oe,me))}}function ie(We,Me,Te,ze){var Be=[],me;ze?me=ze:me=De;var oe=new Set(We.filter(function(E){var z=!!(0,de.Z)(Te,E);return z||Be.push(E),z})),a=new Map,y=0;Object.keys(Te).forEach(function(E){var z=Te[E],te=z.level,ne=a.get(te);ne||(ne=new Set,a.set(te,ne)),ne.add(z),y=Math.max(y,te)}),(0,x.ZP)(!Be.length,"Tree missing follow keys: ".concat(Be.slice(0,100).map(function(E){return"'".concat(E,"'")}).join(", ")));var b;return Me===!0?b=we(oe,a,y,me):b=ke(oe,Me.halfCheckedKeys,a,y,me),b}},3596:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return x}});function x(de,pe){return de[pe]}},83898:function(ft,ut,ee){"use strict";ee.d(ut,{I8:function(){return te},F:function(){return re},zn:function(){return b},w$:function(){return a},oH:function(){return E},km:function(){return oe},H8:function(){return ne}});var x=ee(71002),de=ee(74902),pe=ee(1413),De=ee(45987),we=ee(67294),ke=ee(28580);function ie(ae){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},he=[];return we.Children.forEach(ae,function(ve){ve==null&&!le.keepEmpty||(Array.isArray(ve)?he=he.concat(ie(ve)):(0,ke.isFragment)(ve)&&ve.props?he=he.concat(ie(ve.props.children,le)):he.push(ve))}),he}function We(ae,le){var he=(0,pe.Z)({},ae);return Array.isArray(le)&&le.forEach(function(ve){delete he[ve]}),he}var Me=ee(72978),Te=ee(3596),ze=["children"];function Be(ae,le){return"".concat(ae,"-").concat(le)}function me(ae){return ae&&ae.type&&ae.type.isTreeNode}function oe(ae,le){return ae!=null?ae:le}function a(ae){var le=ae||{},he=le.title,ve=le._title,Ce=le.key,be=le.children,ye=he||"title";return{title:ye,_title:ve||[ye],key:Ce||"key",children:be||"children"}}function y(ae,le){var he=new Map;function ve(Ce){var be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(Ce||[]).forEach(function(ye){var Ae=ye[le.key],Ne=ye[le.children];warning(Ae!=null,"Tree node must have a certain key: [".concat(be).concat(Ae,"]"));var Xe=String(Ae);warning(!he.has(Xe)||Ae===null||Ae===void 0,"Same 'key' exist in the Tree: ".concat(Xe)),he.set(Xe,!0),ve(Ne,"".concat(be).concat(Xe," > "))})}ve(ae)}function b(ae){function le(he){var ve=ie(he);return ve.map(function(Ce){if(!me(Ce))return(0,Me.ZP)(!Ce,"Tree/TreeNode can only accept TreeNode as children."),null;var be=Ce.key,ye=Ce.props,Ae=ye.children,Ne=(0,De.Z)(ye,ze),Xe=(0,pe.Z)({key:be},Ne),Le=le(Ae);return Le.length&&(Xe.children=Le),Xe}).filter(function(Ce){return Ce})}return le(ae)}function E(ae,le,he){var ve=a(he),Ce=ve._title,be=ve.key,ye=ve.children,Ae=new Set(le===!0?[]:le),Ne=[];function Xe(Le){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Le.map(function(He,Ke){for(var qe=Be(Ge?Ge.pos:"0",Ke),it=oe(He[be],qe),mt,Yt=0;Yt<Ce.length;Yt+=1){var cn=Ce[Yt];if(He[cn]!==void 0){mt=He[cn];break}}var rt=(0,pe.Z)((0,pe.Z)({},We(He,[].concat((0,de.Z)(Ce),[be,ye]))),{},{title:mt,key:it,parent:Ge,pos:qe,children:null,data:He,isStart:[].concat((0,de.Z)(Ge?Ge.isStart:[]),[Ke===0]),isEnd:[].concat((0,de.Z)(Ge?Ge.isEnd:[]),[Ke===Le.length-1])});return Ne.push(rt),le===!0||Ae.has(it)?rt.children=Xe(He[ye]||[],rt):rt.children=[],rt})}return Xe(ae),Ne}function z(ae,le,he){var ve={};(0,x.Z)(he)==="object"?ve=he:ve={externalGetKey:he},ve=ve||{};var Ce=ve,be=Ce.childrenPropName,ye=Ce.externalGetKey,Ae=Ce.fieldNames,Ne=a(Ae),Xe=Ne.key,Le=Ne.children,Ge=be||Le,He;ye?typeof ye=="string"?He=function(it){return it[ye]}:typeof ye=="function"&&(He=function(it){return ye(it)}):He=function(it,mt){return oe(it[Xe],mt)};function Ke(qe,it,mt,Yt){var cn=qe?qe[Ge]:ae,rt=qe?Be(mt.pos,it):"0",Pt=qe?[].concat((0,de.Z)(Yt),[qe]):[];if(qe){var Lt=He(qe,rt),ct={node:qe,index:it,pos:rt,key:Lt,parentPos:mt.node?mt.pos:null,level:mt.level+1,nodes:Pt};le(ct)}cn&&cn.forEach(function(Ft,jt){Ke(Ft,jt,{node:qe,pos:rt,level:mt?mt.level+1:-1},Pt)})}Ke(null)}function te(ae){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},he=le.initWrapper,ve=le.processEntity,Ce=le.onProcessFinished,be=le.externalGetKey,ye=le.childrenPropName,Ae=le.fieldNames,Ne=arguments.length>2?arguments[2]:void 0,Xe=be||Ne,Le={},Ge={},He={posEntities:Le,keyEntities:Ge};return he&&(He=he(He)||He),z(ae,function(Ke){var qe=Ke.node,it=Ke.index,mt=Ke.pos,Yt=Ke.key,cn=Ke.parentPos,rt=Ke.level,Pt=Ke.nodes,Lt={node:qe,nodes:Pt,index:it,key:Yt,pos:mt,level:rt},ct=oe(Yt,mt);Le[mt]=Lt,Ge[ct]=Lt,Lt.parent=Le[cn],Lt.parent&&(Lt.parent.children=Lt.parent.children||[],Lt.parent.children.push(Lt)),ve&&ve(Lt,He)},{externalGetKey:Xe,childrenPropName:ye,fieldNames:Ae}),Ce&&Ce(He),He}function ne(ae,le){var he=le.expandedKeys,ve=le.selectedKeys,Ce=le.loadedKeys,be=le.loadingKeys,ye=le.checkedKeys,Ae=le.halfCheckedKeys,Ne=le.dragOverNodeKey,Xe=le.dropPosition,Le=le.keyEntities,Ge=(0,Te.Z)(Le,ae),He={eventKey:ae,expanded:he.indexOf(ae)!==-1,selected:ve.indexOf(ae)!==-1,loaded:Ce.indexOf(ae)!==-1,loading:be.indexOf(ae)!==-1,checked:ye.indexOf(ae)!==-1,halfChecked:Ae.indexOf(ae)!==-1,pos:String(Ge?Ge.pos:""),dragOver:Ne===ae&&Xe===0,dragOverGapTop:Ne===ae&&Xe===-1,dragOverGapBottom:Ne===ae&&Xe===1};return He}function re(ae){var le=ae.data,he=ae.expanded,ve=ae.selected,Ce=ae.checked,be=ae.loaded,ye=ae.loading,Ae=ae.halfChecked,Ne=ae.dragOver,Xe=ae.dragOverGapTop,Le=ae.dragOverGapBottom,Ge=ae.pos,He=ae.active,Ke=ae.eventKey,qe=(0,pe.Z)((0,pe.Z)({},le),{},{expanded:he,selected:ve,checked:Ce,loaded:be,loading:ye,halfChecked:Ae,dragOver:Ne,dragOverGapTop:Xe,dragOverGapBottom:Le,pos:Ge,active:He,key:Ke});return"props"in qe||Object.defineProperty(qe,"props",{get:function(){return(0,Me.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ae}}),qe}},34952:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return We}});var x=ee(1413),de=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,pe=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,De="".concat(de," ").concat(pe).split(/[\s\n]+/),we="aria-",ke="data-";function ie(Me,Te){return Me.indexOf(Te)===0}function We(Me){var Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ze;Te===!1?ze={aria:!0,data:!0,attr:!0}:Te===!0?ze={aria:!0}:ze=(0,x.Z)({},Te);var Be={};return Object.keys(Me).forEach(function(me){(ze.aria&&(me==="role"||ie(me,we))||ze.data&&ie(me,ke)||ze.attr&&De.includes(me))&&(Be[me]=Me[me])}),Be}},72978:function(ft,ut,ee){"use strict";var x={};function de(We,Me){}function pe(We,Me){}function De(){x={}}function we(We,Me,Te){!Me&&!x[Te]&&(We(!1,Te),x[Te]=!0)}function ke(We,Me){we(de,We,Me)}function ie(We,Me){we(pe,We,Me)}ut.ZP=ke},81533:function(ft,ut){"use strict";var ee;var x=typeof Symbol=="function"&&Symbol.for,de=x?Symbol.for("react.element"):60103,pe=x?Symbol.for("react.portal"):60106,De=x?Symbol.for("react.fragment"):60107,we=x?Symbol.for("react.strict_mode"):60108,ke=x?Symbol.for("react.profiler"):60114,ie=x?Symbol.for("react.provider"):60109,We=x?Symbol.for("react.context"):60110,Me=x?Symbol.for("react.async_mode"):60111,Te=x?Symbol.for("react.concurrent_mode"):60111,ze=x?Symbol.for("react.forward_ref"):60112,Be=x?Symbol.for("react.suspense"):60113,me=x?Symbol.for("react.suspense_list"):60120,oe=x?Symbol.for("react.memo"):60115,a=x?Symbol.for("react.lazy"):60116,y=x?Symbol.for("react.block"):60121,b=x?Symbol.for("react.fundamental"):60117,E=x?Symbol.for("react.responder"):60118,z=x?Symbol.for("react.scope"):60119;function te(re){if(typeof re=="object"&&re!==null){var ae=re.$$typeof;switch(ae){case de:switch(re=re.type,re){case Me:case Te:case De:case ke:case we:case Be:return re;default:switch(re=re&&re.$$typeof,re){case We:case ze:case a:case oe:case ie:return re;default:return ae}}case pe:return ae}}}function ne(re){return te(re)===Te}ee=Me,ee=Te,ee=We,ee=ie,ee=de,ee=ze,ee=De,ee=a,ee=oe,ee=pe,ee=ke,ee=we,ee=Be,ee=function(re){return ne(re)||te(re)===Me},ee=ne,ee=function(re){return te(re)===We},ee=function(re){return te(re)===ie},ee=function(re){return typeof re=="object"&&re!==null&&re.$$typeof===de},ee=function(re){return te(re)===ze},ut.isFragment=function(re){return te(re)===De},ee=function(re){return te(re)===a},ut.isMemo=function(re){return te(re)===oe},ee=function(re){return te(re)===pe},ee=function(re){return te(re)===ke},ee=function(re){return te(re)===we},ee=function(re){return te(re)===Be},ee=function(re){return typeof re=="string"||typeof re=="function"||re===De||re===Te||re===ke||re===we||re===Be||re===me||typeof re=="object"&&re!==null&&(re.$$typeof===a||re.$$typeof===oe||re.$$typeof===ie||re.$$typeof===We||re.$$typeof===ze||re.$$typeof===b||re.$$typeof===E||re.$$typeof===z||re.$$typeof===y)},ee=te},28580:function(ft,ut,ee){"use strict";ft.exports=ee(81533)},92389:function(ft,ut){"use strict";var ee={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(de){var pe=de.keyCode;if(de.altKey&&!de.ctrlKey||de.metaKey||pe>=ee.F1&&pe<=ee.F12)return!1;switch(pe){case ee.ALT:case ee.CAPS_LOCK:case ee.CONTEXT_MENU:case ee.CTRL:case ee.DOWN:case ee.END:case ee.ESC:case ee.HOME:case ee.INSERT:case ee.LEFT:case ee.MAC_FF_META:case ee.META:case ee.NUMLOCK:case ee.NUM_CENTER:case ee.PAGE_DOWN:case ee.PAGE_UP:case ee.PAUSE:case ee.PRINT_SCREEN:case ee.RIGHT:case ee.SHIFT:case ee.UP:case ee.WIN_KEY:case ee.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(de){if(de>=ee.ZERO&&de<=ee.NINE||de>=ee.NUM_ZERO&&de<=ee.NUM_MULTIPLY||de>=ee.A&&de<=ee.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&de===0)return!0;switch(de){case ee.SPACE:case ee.QUESTION_MARK:case ee.NUM_PLUS:case ee.NUM_MINUS:case ee.NUM_PERIOD:case ee.NUM_DIVISION:case ee.SEMICOLON:case ee.DASH:case ee.EQUALS:case ee.COMMA:case ee.PERIOD:case ee.SLASH:case ee.APOSTROPHE:case ee.SINGLE_QUOTE:case ee.OPEN_SQUARE_BRACKET:case ee.BACKSLASH:case ee.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};ut.Z=ee},19575:function(ft,ut,ee){var x,de;(function(pe,De){ft.exports=De(pe)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ee.g!="undefined"?ee.g:this,function(pe){"use strict";pe=pe||{};var De=pe.Base64,we="2.6.4",ke="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ie=function(Ne){for(var Xe={},Le=0,Ge=Ne.length;Le<Ge;Le++)Xe[Ne.charAt(Le)]=Le;return Xe}(ke),We=String.fromCharCode,Me=function(Ne){if(Ne.length<2){var Xe=Ne.charCodeAt(0);return Xe<128?Ne:Xe<2048?We(192|Xe>>>6)+We(128|Xe&63):We(224|Xe>>>12&15)+We(128|Xe>>>6&63)+We(128|Xe&63)}else{var Xe=65536+(Ne.charCodeAt(0)-55296)*1024+(Ne.charCodeAt(1)-56320);return We(240|Xe>>>18&7)+We(128|Xe>>>12&63)+We(128|Xe>>>6&63)+We(128|Xe&63)}},Te=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ze=function(Ne){return Ne.replace(Te,Me)},Be=function(Ne){var Xe=[0,2,1][Ne.length%3],Le=Ne.charCodeAt(0)<<16|(Ne.length>1?Ne.charCodeAt(1):0)<<8|(Ne.length>2?Ne.charCodeAt(2):0),Ge=[ke.charAt(Le>>>18),ke.charAt(Le>>>12&63),Xe>=2?"=":ke.charAt(Le>>>6&63),Xe>=1?"=":ke.charAt(Le&63)];return Ge.join("")},me=pe.btoa&&typeof pe.btoa=="function"?function(Ne){return pe.btoa(Ne)}:function(Ne){if(Ne.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Ne.replace(/[\s\S]{1,3}/g,Be)},oe=function(Ne){return me(ze(String(Ne)))},a=function(Ne){return Ne.replace(/[+\/]/g,function(Xe){return Xe=="+"?"-":"_"}).replace(/=/g,"")},y=function(Ne,Xe){return Xe?a(oe(Ne)):oe(Ne)},b=function(Ne){return y(Ne,!0)},E;pe.Uint8Array&&(E=function(Ne,Xe){for(var Le="",Ge=0,He=Ne.length;Ge<He;Ge+=3){var Ke=Ne[Ge],qe=Ne[Ge+1],it=Ne[Ge+2],mt=Ke<<16|qe<<8|it;Le+=ke.charAt(mt>>>18)+ke.charAt(mt>>>12&63)+(typeof qe!="undefined"?ke.charAt(mt>>>6&63):"=")+(typeof it!="undefined"?ke.charAt(mt&63):"=")}return Xe?a(Le):Le});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,te=function(Ne){switch(Ne.length){case 4:var Xe=(7&Ne.charCodeAt(0))<<18|(63&Ne.charCodeAt(1))<<12|(63&Ne.charCodeAt(2))<<6|63&Ne.charCodeAt(3),Le=Xe-65536;return We((Le>>>10)+55296)+We((Le&1023)+56320);case 3:return We((15&Ne.charCodeAt(0))<<12|(63&Ne.charCodeAt(1))<<6|63&Ne.charCodeAt(2));default:return We((31&Ne.charCodeAt(0))<<6|63&Ne.charCodeAt(1))}},ne=function(Ne){return Ne.replace(z,te)},re=function(Ne){var Xe=Ne.length,Le=Xe%4,Ge=(Xe>0?ie[Ne.charAt(0)]<<18:0)|(Xe>1?ie[Ne.charAt(1)]<<12:0)|(Xe>2?ie[Ne.charAt(2)]<<6:0)|(Xe>3?ie[Ne.charAt(3)]:0),He=[We(Ge>>>16),We(Ge>>>8&255),We(Ge&255)];return He.length-=[0,0,2,1][Le],He.join("")},ae=pe.atob&&typeof pe.atob=="function"?function(Ne){return pe.atob(Ne)}:function(Ne){return Ne.replace(/\S{1,4}/g,re)},le=function(Ne){return ae(String(Ne).replace(/[^A-Za-z0-9\+\/]/g,""))},he=function(Ne){return ne(ae(Ne))},ve=function(Ne){return String(Ne).replace(/[-_]/g,function(Xe){return Xe=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ce=function(Ne){return he(ve(Ne))},be;pe.Uint8Array&&(be=function(Ne){return Uint8Array.from(le(ve(Ne)),function(Xe){return Xe.charCodeAt(0)})});var ye=function(){var Ne=pe.Base64;return pe.Base64=De,Ne};if(pe.Base64={VERSION:we,atob:le,btoa:me,fromBase64:Ce,toBase64:y,utob:ze,encode:y,encodeURI:b,btou:ne,decode:Ce,noConflict:ye,fromUint8Array:E,toUint8Array:be},typeof Object.defineProperty=="function"){var Ae=function(Ne){return{value:Ne,enumerable:!1,writable:!0,configurable:!0}};pe.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Ae(function(){return Ce(this)})),Object.defineProperty(String.prototype,"toBase64",Ae(function(Ne){return y(this,Ne)})),Object.defineProperty(String.prototype,"toBase64URI",Ae(function(){return y(this,!0)}))}}return pe.Meteor&&(Base64=pe.Base64),ft.exports?ft.exports.Base64=pe.Base64:(x=[],de=function(){return pe.Base64}.apply(ut,x),de!==void 0&&(ft.exports=de)),{Base64:pe.Base64}})},81626:function(ft,ut){"use strict";ut.Z={items_per_page:"\u6761/\u9875",jump_to:"\u8DF3\u81F3",jump_to_confirm:"\u786E\u5B9A",page:"\u9875",prev_page:"\u4E0A\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",prev_5:"\u5411\u524D 5 \u9875",next_5:"\u5411\u540E 5 \u9875",prev_3:"\u5411\u524D 3 \u9875",next_3:"\u5411\u540E 3 \u9875",page_size:"\u9875\u7801"}},46762:function(ft,ut){"use strict";var ee;var x=Symbol.for("react.element"),de=Symbol.for("react.portal"),pe=Symbol.for("react.fragment"),De=Symbol.for("react.strict_mode"),we=Symbol.for("react.profiler"),ke=Symbol.for("react.provider"),ie=Symbol.for("react.context"),We=Symbol.for("react.server_context"),Me=Symbol.for("react.forward_ref"),Te=Symbol.for("react.suspense"),ze=Symbol.for("react.suspense_list"),Be=Symbol.for("react.memo"),me=Symbol.for("react.lazy"),oe=Symbol.for("react.offscreen"),a;a=Symbol.for("react.module.reference");function y(b){if(typeof b=="object"&&b!==null){var E=b.$$typeof;switch(E){case x:switch(b=b.type,b){case pe:case we:case De:case Te:case ze:return b;default:switch(b=b&&b.$$typeof,b){case We:case ie:case Me:case me:case Be:case ke:return b;default:return E}}case de:return E}}}ee=ie,ee=ke,ee=x,ee=Me,ee=pe,ee=me,ee=Be,ee=de,ee=we,ee=De,ee=Te,ee=ze,ee=function(){return!1},ee=function(){return!1},ee=function(b){return y(b)===ie},ee=function(b){return y(b)===ke},ee=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===x},ee=function(b){return y(b)===Me},ut.isFragment=function(b){return y(b)===pe},ee=function(b){return y(b)===me},ee=function(b){return y(b)===Be},ee=function(b){return y(b)===de},ee=function(b){return y(b)===we},ee=function(b){return y(b)===De},ee=function(b){return y(b)===Te},ee=function(b){return y(b)===ze},ee=function(b){return typeof b=="string"||typeof b=="function"||b===pe||b===we||b===De||b===Te||b===ze||b===oe||typeof b=="object"&&b!==null&&(b.$$typeof===me||b.$$typeof===Be||b.$$typeof===ke||b.$$typeof===ie||b.$$typeof===Me||b.$$typeof===a||b.getModuleId!==void 0)},ee=y},35110:function(ft,ut,ee){"use strict";ft.exports=ee(46762)},64217:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return We}});var x=ee(1413),de=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,pe=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,De="".concat(de," ").concat(pe).split(/[\s\n]+/),we="aria-",ke="data-";function ie(Me,Te){return Me.indexOf(Te)===0}function We(Me){var Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ze;Te===!1?ze={aria:!0,data:!0,attr:!0}:Te===!0?ze={aria:!0}:ze=(0,x.Z)({},Te);var Be={};return Object.keys(Me).forEach(function(me){(ze.aria&&(me==="role"||ie(me,we))||ze.data&&ie(me,ke)||ze.attr&&De.includes(me))&&(Be[me]=Me[me])}),Be}},57761:function(ft,ut,ee){"use strict";Object.defineProperty(ut,"__esModule",{value:!0});var x=function(){function Be(me,oe){for(var a=0;a<oe.length;a++){var y=oe[a];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(me,y.key,y)}}return function(me,oe,a){return oe&&Be(me.prototype,oe),a&&Be(me,a),me}}(),de=ee(67294),pe=ke(de),De=ee(45697),we=ke(De);function ke(Be){return Be&&Be.__esModule?Be:{default:Be}}function ie(Be,me){var oe={};for(var a in Be)me.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(Be,a)&&(oe[a]=Be[a]);return oe}function We(Be,me){if(!(Be instanceof me))throw new TypeError("Cannot call a class as a function")}function Me(Be,me){if(!Be)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return me&&(typeof me=="object"||typeof me=="function")?me:Be}function Te(Be,me){if(typeof me!="function"&&me!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof me);Be.prototype=Object.create(me&&me.prototype,{constructor:{value:Be,enumerable:!1,writable:!0,configurable:!0}}),me&&(Object.setPrototypeOf?Object.setPrototypeOf(Be,me):Be.__proto__=me)}var ze=function(Be){Te(me,Be);function me(oe){We(this,me);var a=Me(this,(me.__proto__||Object.getPrototypeOf(me)).call(this,oe));return a.scrollListener=a.scrollListener.bind(a),a.eventListenerOptions=a.eventListenerOptions.bind(a),a.mousewheelListener=a.mousewheelListener.bind(a),a}return x(me,[{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 z=document.documentElement||document.body.parentNode||document.body,te=y.pageYOffset!==void 0?y.pageYOffset:z.scrollTop;this.props.isReverse?E=te:E=this.calculateOffset(a,te)}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,z=y.hasMore,te=y.initialLoad,ne=y.isReverse,re=y.loader,ae=y.loadMore,le=y.pageStart,he=y.ref,ve=y.threshold,Ce=y.useCapture,be=y.useWindow,ye=y.getScrollParent,Ae=ie(y,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);Ae.ref=function(Xe){a.scrollComponent=Xe,he&&he(Xe)};var Ne=[b];return z&&(re?ne?Ne.unshift(re):Ne.push(re):this.defaultLoader&&(ne?Ne.unshift(this.defaultLoader):Ne.push(this.defaultLoader))),pe.default.createElement(E,Ae,Ne)}}]),me}(de.Component);ze.propTypes={children:we.default.node.isRequired,element:we.default.node,hasMore:we.default.bool,initialLoad:we.default.bool,isReverse:we.default.bool,loader:we.default.node,loadMore:we.default.func.isRequired,pageStart:we.default.number,ref:we.default.func,getScrollParent:we.default.func,threshold:we.default.number,useCapture:we.default.bool,useWindow:we.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},ut.default=ze,ft.exports=ut.default},246:function(ft,ut,ee){ft.exports=ee(57761)},95742:function(ft,ut,ee){"use strict";ee.d(ut,{JN:function(){return At},Rp:function(){return te},W8:function(){return Xt}});var x=ee(87462),de=ee(97685),pe=ee(94334),De=ee(15671),we=ee(43144),ke=ee(82963),ie=ee(61120),We=ee(60136),Me=ee(97326),Te=ee(4942),ze=ee(67294),Be=ee(45697),me=ee.n(Be),oe=ee(73935),a=ee(41143),y=ee.n(a),b=ee(74902),E=function(){function Ot(){(0,De.Z)(this,Ot),(0,Te.Z)(this,"refs",{})}return(0,we.Z)(Ot,[{key:"add",value:function(on,Jt){this.refs[on]||(this.refs[on]=[]),this.refs[on].push(Jt)}},{key:"remove",value:function(on,Jt){var $e=this.getIndex(on,Jt);$e!==-1&&this.refs[on].splice($e,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var on=this;return this.refs[this.active.collection].find(function(Jt){var $e=Jt.node;return $e.sortableInfo.index==on.active.index})}},{key:"getIndex",value:function(on,Jt){return this.refs[on].indexOf(Jt)}},{key:"getOrderedRefs",value:function(){var on=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[on].sort(z)}}]),Ot}();function z(Ot,bt){var on=Ot.node.sortableInfo.index,Jt=bt.node.sortableInfo.index;return on-Jt}function te(Ot,bt,on){return Ot=Ot.slice(),Ot.splice(on<0?Ot.length+on:on,0,Ot.splice(bt,1)[0]),Ot}function ne(Ot,bt){return Object.keys(Ot).reduce(function(on,Jt){return bt.indexOf(Jt)===-1&&(on[Jt]=Ot[Jt]),on},{})}var re={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},ae=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var Ot=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],bt=(Array.prototype.slice.call(Ot).join("").match(/-(moz|webkit|ms)-/)||Ot.OLink===""&&["","o"])[1];switch(bt){case"ms":return"ms";default:return bt&&bt.length?bt[0].toUpperCase()+bt.substr(1):""}}();function le(Ot,bt){Object.keys(bt).forEach(function(on){Ot.style[on]=bt[on]})}function he(Ot,bt){Ot.style["".concat(ae,"Transform")]=bt==null?"":"translate3d(".concat(bt.x,"px,").concat(bt.y,"px,0)")}function ve(Ot,bt){Ot.style["".concat(ae,"TransitionDuration")]=bt==null?"":"".concat(bt,"ms")}function Ce(Ot,bt){for(;Ot;){if(bt(Ot))return Ot;Ot=Ot.parentNode}return null}function be(Ot,bt,on){return Math.max(Ot,Math.min(on,bt))}function ye(Ot){return Ot.substr(-2)==="px"?parseFloat(Ot):0}function Ae(Ot){var bt=window.getComputedStyle(Ot);return{bottom:ye(bt.marginBottom),left:ye(bt.marginLeft),right:ye(bt.marginRight),top:ye(bt.marginTop)}}function Ne(Ot,bt){var on=bt.displayName||bt.name;return on?"".concat(Ot,"(").concat(on,")"):Ot}function Xe(Ot,bt){var on=Ot.getBoundingClientRect();return{top:on.top+bt.top,left:on.left+bt.left}}function Le(Ot){return Ot.touches&&Ot.touches.length?{x:Ot.touches[0].pageX,y:Ot.touches[0].pageY}:Ot.changedTouches&&Ot.changedTouches.length?{x:Ot.changedTouches[0].pageX,y:Ot.changedTouches[0].pageY}:{x:Ot.pageX,y:Ot.pageY}}function Ge(Ot){return Ot.touches&&Ot.touches.length||Ot.changedTouches&&Ot.changedTouches.length}function He(Ot,bt){var on=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(Ot){var Jt={left:on.left+Ot.offsetLeft,top:on.top+Ot.offsetTop};return Ot.parentNode===bt?Jt:He(Ot.parentNode,bt,Jt)}}function Ke(Ot,bt,on){return Ot<on&&Ot>bt?Ot-1:Ot>on&&Ot<bt?Ot+1:Ot}function qe(Ot){var bt=Ot.lockOffset,on=Ot.width,Jt=Ot.height,$e=bt,Re=bt,Nn="px";if(typeof bt=="string"){var xe=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(bt);y()(xe!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',bt),$e=parseFloat(bt),Re=parseFloat(bt),Nn=xe[1]}return y()(isFinite($e)&&isFinite(Re),"lockOffset value should be a finite. Given %s",bt),Nn==="%"&&($e=$e*on/100,Re=Re*Jt/100),{x:$e,y:Re}}function it(Ot){var bt=Ot.height,on=Ot.width,Jt=Ot.lockOffset,$e=Array.isArray(Jt)?Jt:[Jt,Jt];y()($e.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",Jt);var Re=(0,de.Z)($e,2),Nn=Re[0],xe=Re[1];return[qe({height:bt,lockOffset:Nn,width:on}),qe({height:bt,lockOffset:xe,width:on})]}function mt(Ot){var bt=window.getComputedStyle(Ot),on=/(auto|scroll)/,Jt=["overflow","overflowX","overflowY"];return Jt.find(function($e){return on.test(bt[$e])})}function Yt(Ot){return Ot instanceof HTMLElement?mt(Ot)?Ot:Yt(Ot.parentNode):null}function cn(Ot){var bt=window.getComputedStyle(Ot);return bt.display==="grid"?{x:ye(bt.gridColumnGap),y:ye(bt.gridRowGap)}:{x:0,y:0}}var rt={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},Pt={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function Lt(Ot){var bt="input, textarea, select, canvas, [contenteditable]",on=Ot.querySelectorAll(bt),Jt=Ot.cloneNode(!0),$e=(0,b.Z)(Jt.querySelectorAll(bt));return $e.forEach(function(Re,Nn){if(Re.type!=="file"&&(Re.value=on[Nn].value),Re.type==="radio"&&Re.name&&(Re.name="__sortableClone__".concat(Re.name)),Re.tagName===Pt.Canvas&&on[Nn].width>0&&on[Nn].height>0){var xe=Re.getContext("2d");xe.drawImage(on[Nn],0,0)}}),Jt}function ct(Ot){var bt,on,Jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return on=bt=function($e){_inherits(Re,$e);function Re(){return _classCallCheck(this,Re),_possibleConstructorReturn(this,_getPrototypeOf(Re).apply(this,arguments))}return _createClass(Re,[{key:"componentDidMount",value:function(){var xe=findDOMNode(this);xe.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return invariant(Jt.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 xe=Jt.withRef?"wrappedInstance":null;return createElement(Ot,_extends({ref:xe},this.props))}}]),Re}(Component),_defineProperty(bt,"displayName",Ne("sortableHandle",Ot)),on}function Ft(Ot){return Ot.sortableHandle!=null}var jt=function(){function Ot(bt,on){(0,De.Z)(this,Ot),this.container=bt,this.onScrollCallback=on}return(0,we.Z)(Ot,[{key:"clear",value:function(){this.interval!=null&&(clearInterval(this.interval),this.interval=null)}},{key:"update",value:function(on){var Jt=this,$e=on.translate,Re=on.minTranslate,Nn=on.maxTranslate,xe=on.width,je=on.height,Ht={x:0,y:0},et={x:1,y:1},Ue={x:10,y:10},Ct=this.container,yt=Ct.scrollTop,kt=Ct.scrollLeft,Pn=Ct.scrollHeight,Nt=Ct.scrollWidth,Tt=Ct.clientHeight,St=Ct.clientWidth,tn=yt===0,Kt=Pn-yt-Tt===0,mn=kt===0,Qn=Nt-kt-St===0;$e.y>=Nn.y-je/2&&!Kt?(Ht.y=1,et.y=Ue.y*Math.abs((Nn.y-je/2-$e.y)/je)):$e.x>=Nn.x-xe/2&&!Qn?(Ht.x=1,et.x=Ue.x*Math.abs((Nn.x-xe/2-$e.x)/xe)):$e.y<=Re.y+je/2&&!tn?(Ht.y=-1,et.y=Ue.y*Math.abs(($e.y-je/2-Re.y)/je)):$e.x<=Re.x+xe/2&&!mn&&(Ht.x=-1,et.x=Ue.x*Math.abs(($e.x-xe/2-Re.x)/xe)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(Ht.x!==0||Ht.y!==0)&&(this.interval=setInterval(function(){Jt.isAutoScrolling=!0;var wn={left:et.x*Ht.x,top:et.y*Ht.y};Jt.container.scrollTop+=wn.top,Jt.container.scrollLeft+=wn.left,Jt.onScrollCallback(wn)},5))}}]),Ot}();function _e(Ot){var bt=Ot.node;return{height:bt.offsetHeight,width:bt.offsetWidth}}function En(Ot){var bt=[Pt.Input,Pt.Textarea,Pt.Select,Pt.Option,Pt.Button];return!!(bt.indexOf(Ot.target.tagName)!==-1||Ce(Ot.target,function(on){return on.contentEditable==="true"}))}var Fn={axis:me().oneOf(["x","y","xy"]),contentWindow:me().any,disableAutoscroll:me().bool,distance:me().number,getContainer:me().func,getHelperDimensions:me().func,helperClass:me().string,helperContainer:me().oneOfType([me().func,typeof HTMLElement=="undefined"?me().any:me().instanceOf(HTMLElement)]),hideSortableGhost:me().bool,keyboardSortingTransitionDuration:me().number,lockAxis:me().string,lockOffset:me().oneOfType([me().number,me().string,me().arrayOf(me().oneOfType([me().number,me().string]))]),lockToContainerEdges:me().bool,onSortEnd:me().func,onSortMove:me().func,onSortOver:me().func,onSortStart:me().func,pressDelay:me().number,pressThreshold:me().number,keyCodes:me().shape({lift:me().arrayOf(me().number),drop:me().arrayOf(me().number),cancel:me().arrayOf(me().number),up:me().arrayOf(me().number),down:me().arrayOf(me().number)}),shouldCancelStart:me().func,transitionDuration:me().number,updateBeforeSortStart:me().func,useDragHandle:me().bool,useWindowAsScrollContainer:me().bool},ha={lift:[rt.SPACE],drop:[rt.SPACE],cancel:[rt.ESC],up:[rt.UP,rt.LEFT],down:[rt.DOWN,rt.RIGHT]},In={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:_e,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:ha,shouldCancelStart:En,transitionDuration:300,useWindowAsScrollContainer:!1},at=Object.keys(Fn);function lt(Ot){y()(!(Ot.distance&&Ot.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 dt(Ot,bt){try{var on=Ot()}catch(Jt){return bt(!0,Jt)}return on&&on.then?on.then(bt.bind(null,!1),bt.bind(null,!0)):bt(!1,value)}function At(Ot){var bt,on,Jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return on=bt=function($e){(0,We.Z)(Re,$e);function Re(Nn){var xe;return(0,De.Z)(this,Re),xe=(0,ke.Z)(this,(0,ie.Z)(Re).call(this,Nn)),(0,Te.Z)((0,Me.Z)((0,Me.Z)(xe)),"state",{}),(0,Te.Z)((0,Me.Z)((0,Me.Z)(xe)),"handleStart",function(je){var Ht=xe.props,et=Ht.distance,Ue=Ht.shouldCancelStart;if(!(je.button===2||Ue(je))){xe.touched=!0,xe.position=Le(je);var Ct=Ce(je.target,function(St){return St.sortableInfo!=null});if(Ct&&Ct.sortableInfo&&xe.nodeIsChild(Ct)&&!xe.state.sorting){var yt=xe.props.useDragHandle,kt=Ct.sortableInfo,Pn=kt.index,Nt=kt.collection,Tt=kt.disabled;if(Tt||yt&&!Ce(je.target,Ft))return;xe.manager.active={collection:Nt,index:Pn},!Ge(je)&&je.target.tagName===Pt.Anchor&&je.preventDefault(),et||(xe.props.pressDelay===0?xe.handlePress(je):xe.pressTimer=setTimeout(function(){return xe.handlePress(je)},xe.props.pressDelay))}}}),(0,Te.Z)((0,Me.Z)((0,Me.Z)(xe)),"nodeIsChild",function(je){return je.sortableInfo.manager===xe.manager}),(0,Te.Z)((0,Me.Z)((0,Me.Z)(xe)),"handleMove",function(je){var Ht=xe.props,et=Ht.distance,Ue=Ht.pressThreshold;if(!xe.state.sorting&&xe.touched&&!xe._awaitingUpdateBeforeSortStart){var Ct=Le(je),yt={x:xe.position.x-Ct.x,y:xe.position.y-Ct.y},kt=Math.abs(yt.x)+Math.abs(yt.y);xe.delta=yt,!et&&(!Ue||kt>=Ue)?(clearTimeout(xe.cancelTimer),xe.cancelTimer=setTimeout(xe.cancel,0)):et&&kt>=et&&xe.manager.isActive()&&xe.handlePress(je)}}),(0,Te.Z)((0,Me.Z)((0,Me.Z)(xe)),"handleEnd",function(){xe.touched=!1,xe.cancel()}),(0,Te.Z)((0,Me.Z)((0,Me.Z)(xe)),"cancel",function(){var je=xe.props.distance,Ht=xe.state.sorting;Ht||(je||clearTimeout(xe.pressTimer),xe.manager.active=null)}),(0,Te.Z)((0,Me.Z)((0,Me.Z)(xe)),"handlePress",function(je){try{var Ht=xe.manager.getActive(),et=function(){if(Ht){var Ue=function(){var ma=Kt.sortableInfo.index,_t=Ae(Kt),Vt=cn(xe.container),en=xe.scrollContainer.getBoundingClientRect(),la=kt({index:ma,node:Kt,collection:mn});if(xe.node=Kt,xe.margin=_t,xe.gridGap=Vt,xe.width=la.width,xe.height=la.height,xe.marginOffset={x:xe.margin.left+xe.margin.right+xe.gridGap.x,y:Math.max(xe.margin.top,xe.margin.bottom,xe.gridGap.y)},xe.boundingClientRect=Kt.getBoundingClientRect(),xe.containerBoundingRect=en,xe.index=ma,xe.newIndex=ma,xe.axis={x:yt.indexOf("x")>=0,y:yt.indexOf("y")>=0},xe.offsetEdge=He(Kt,xe.container),Qn?xe.initialOffset=Le((0,pe.Z)({},je,{pageX:xe.boundingClientRect.left,pageY:xe.boundingClientRect.top})):xe.initialOffset=Le(je),xe.initialScroll={left:xe.scrollContainer.scrollLeft,top:xe.scrollContainer.scrollTop},xe.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},xe.helper=xe.helperContainer.appendChild(Lt(Kt)),le(xe.helper,{boxSizing:"border-box",height:"".concat(xe.height,"px"),left:"".concat(xe.boundingClientRect.left-_t.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(xe.boundingClientRect.top-_t.top,"px"),width:"".concat(xe.width,"px")}),Qn&&xe.helper.focus(),Nt&&(xe.sortableGhost=Kt,le(Kt,{opacity:0,visibility:"hidden"})),xe.minTranslate={},xe.maxTranslate={},Qn){var aa=tn?{top:0,left:0,width:xe.contentWindow.innerWidth,height:xe.contentWindow.innerHeight}:xe.containerBoundingRect,jn=aa.top,Oa=aa.left,Ia=aa.width,vr=aa.height,zr=jn+vr,La=Oa+Ia;xe.axis.x&&(xe.minTranslate.x=Oa-xe.boundingClientRect.left,xe.maxTranslate.x=La-(xe.boundingClientRect.left+xe.width)),xe.axis.y&&(xe.minTranslate.y=jn-xe.boundingClientRect.top,xe.maxTranslate.y=zr-(xe.boundingClientRect.top+xe.height))}else xe.axis.x&&(xe.minTranslate.x=(tn?0:en.left)-xe.boundingClientRect.left-xe.width/2,xe.maxTranslate.x=(tn?xe.contentWindow.innerWidth:en.left+en.width)-xe.boundingClientRect.left-xe.width/2),xe.axis.y&&(xe.minTranslate.y=(tn?0:en.top)-xe.boundingClientRect.top-xe.height/2,xe.maxTranslate.y=(tn?xe.contentWindow.innerHeight:en.top+en.height)-xe.boundingClientRect.top-xe.height/2);Pn&&Pn.split(" ").forEach(function(Je){return xe.helper.classList.add(Je)}),xe.listenerNode=je.touches?Kt:xe.contentWindow,Qn?(xe.listenerNode.addEventListener("wheel",xe.handleKeyEnd,!0),xe.listenerNode.addEventListener("mousedown",xe.handleKeyEnd,!0),xe.listenerNode.addEventListener("keydown",xe.handleKeyDown)):(re.move.forEach(function(Je){return xe.listenerNode.addEventListener(Je,xe.handleSortMove,!1)}),re.end.forEach(function(Je){return xe.listenerNode.addEventListener(Je,xe.handleSortEnd,!1)})),xe.setState({sorting:!0,sortingIndex:ma}),St&&St({node:Kt,index:ma,collection:mn,isKeySorting:Qn,nodes:xe.manager.getOrderedRefs(),helper:xe.helper},je),Qn&&xe.keyMove(0)},Ct=xe.props,yt=Ct.axis,kt=Ct.getHelperDimensions,Pn=Ct.helperClass,Nt=Ct.hideSortableGhost,Tt=Ct.updateBeforeSortStart,St=Ct.onSortStart,tn=Ct.useWindowAsScrollContainer,Kt=Ht.node,mn=Ht.collection,Qn=xe.manager.isKeySorting,wn=function(){if(typeof Tt=="function"){xe._awaitingUpdateBeforeSortStart=!0;var Wn=dt(function(){var ma=Kt.sortableInfo.index;return Promise.resolve(Tt({collection:mn,index:ma,node:Kt,isKeySorting:Qn},je)).then(function(){})},function(ma,_t){if(xe._awaitingUpdateBeforeSortStart=!1,ma)throw _t;return _t});if(Wn&&Wn.then)return Wn.then(function(){})}}();return wn&&wn.then?wn.then(Ue):Ue(wn)}}();return Promise.resolve(et&&et.then?et.then(function(){}):void 0)}catch(Ue){return Promise.reject(Ue)}}),(0,Te.Z)((0,Me.Z)((0,Me.Z)(xe)),"handleSortMove",function(je){var Ht=xe.props.onSortMove;typeof je.preventDefault=="function"&&je.preventDefault(),xe.updateHelperPosition(je),xe.animateNodes(),xe.autoscroll(),Ht&&Ht(je)}),(0,Te.Z)((0,Me.Z)((0,Me.Z)(xe)),"handleSortEnd",function(je){var Ht=xe.props,et=Ht.hideSortableGhost,Ue=Ht.onSortEnd,Ct=xe.manager,yt=Ct.active.collection,kt=Ct.isKeySorting,Pn=xe.manager.getOrderedRefs();xe.listenerNode&&(kt?(xe.listenerNode.removeEventListener("wheel",xe.handleKeyEnd,!0),xe.listenerNode.removeEventListener("mousedown",xe.handleKeyEnd,!0),xe.listenerNode.removeEventListener("keydown",xe.handleKeyDown)):(re.move.forEach(function(Kt){return xe.listenerNode.removeEventListener(Kt,xe.handleSortMove)}),re.end.forEach(function(Kt){return xe.listenerNode.removeEventListener(Kt,xe.handleSortEnd)}))),xe.helper.parentNode.removeChild(xe.helper),et&&xe.sortableGhost&&le(xe.sortableGhost,{opacity:"",visibility:""});for(var Nt=0,Tt=Pn.length;Nt<Tt;Nt++){var St=Pn[Nt],tn=St.node;St.edgeOffset=null,St.boundingClientRect=null,he(tn,null),ve(tn,null),St.translate=null}xe.autoScroller.clear(),xe.manager.active=null,xe.manager.isKeySorting=!1,xe.setState({sorting:!1,sortingIndex:null}),typeof Ue=="function"&&Ue({collection:yt,newIndex:xe.newIndex,oldIndex:xe.index,isKeySorting:kt,nodes:Pn},je),xe.touched=!1}),(0,Te.Z)((0,Me.Z)((0,Me.Z)(xe)),"autoscroll",function(){var je=xe.props.disableAutoscroll,Ht=xe.manager.isKeySorting;if(je){xe.autoScroller.clear();return}if(Ht){var et=(0,pe.Z)({},xe.translate),Ue=0,Ct=0;xe.axis.x&&(et.x=Math.min(xe.maxTranslate.x,Math.max(xe.minTranslate.x,xe.translate.x)),Ue=xe.translate.x-et.x),xe.axis.y&&(et.y=Math.min(xe.maxTranslate.y,Math.max(xe.minTranslate.y,xe.translate.y)),Ct=xe.translate.y-et.y),xe.translate=et,he(xe.helper,xe.translate),xe.scrollContainer.scrollLeft+=Ue,xe.scrollContainer.scrollTop+=Ct;return}xe.autoScroller.update({height:xe.height,maxTranslate:xe.maxTranslate,minTranslate:xe.minTranslate,translate:xe.translate,width:xe.width})}),(0,Te.Z)((0,Me.Z)((0,Me.Z)(xe)),"onAutoScroll",function(je){xe.translate.x+=je.left,xe.translate.y+=je.top,xe.animateNodes()}),(0,Te.Z)((0,Me.Z)((0,Me.Z)(xe)),"handleKeyDown",function(je){var Ht=je.keyCode,et=xe.props,Ue=et.shouldCancelStart,Ct=et.keyCodes,yt=Ct===void 0?{}:Ct,kt=(0,pe.Z)({},ha,yt);xe.manager.active&&!xe.manager.isKeySorting||!xe.manager.active&&(!kt.lift.includes(Ht)||Ue(je)||!xe.isValidSortingTarget(je))||(je.stopPropagation(),je.preventDefault(),kt.lift.includes(Ht)&&!xe.manager.active?xe.keyLift(je):kt.drop.includes(Ht)&&xe.manager.active?xe.keyDrop(je):kt.cancel.includes(Ht)?(xe.newIndex=xe.manager.active.index,xe.keyDrop(je)):kt.up.includes(Ht)?xe.keyMove(-1):kt.down.includes(Ht)&&xe.keyMove(1))}),(0,Te.Z)((0,Me.Z)((0,Me.Z)(xe)),"keyLift",function(je){var Ht=je.target,et=Ce(Ht,function(kt){return kt.sortableInfo!=null}),Ue=et.sortableInfo,Ct=Ue.index,yt=Ue.collection;xe.initialFocusedNode=Ht,xe.manager.isKeySorting=!0,xe.manager.active={index:Ct,collection:yt},xe.handlePress(je)}),(0,Te.Z)((0,Me.Z)((0,Me.Z)(xe)),"keyMove",function(je){var Ht=xe.manager.getOrderedRefs(),et=Ht[Ht.length-1].node.sortableInfo.index,Ue=xe.newIndex+je,Ct=xe.newIndex;if(!(Ue<0||Ue>et)){xe.prevIndex=Ct,xe.newIndex=Ue;var yt=Ke(xe.newIndex,xe.prevIndex,xe.index),kt=Ht.find(function(Qn){var wn=Qn.node;return wn.sortableInfo.index===yt}),Pn=kt.node,Nt=xe.containerScrollDelta,Tt=kt.boundingClientRect||Xe(Pn,Nt),St=kt.translate||{x:0,y:0},tn={top:Tt.top+St.y-Nt.top,left:Tt.left+St.x-Nt.left},Kt=Ct<Ue,mn={x:Kt&&xe.axis.x?Pn.offsetWidth-xe.width:0,y:Kt&&xe.axis.y?Pn.offsetHeight-xe.height:0};xe.handleSortMove({pageX:tn.left+mn.x,pageY:tn.top+mn.y,ignoreTransition:je===0})}}),(0,Te.Z)((0,Me.Z)((0,Me.Z)(xe)),"keyDrop",function(je){xe.handleSortEnd(je),xe.initialFocusedNode&&xe.initialFocusedNode.focus()}),(0,Te.Z)((0,Me.Z)((0,Me.Z)(xe)),"handleKeyEnd",function(je){xe.manager.active&&xe.keyDrop(je)}),(0,Te.Z)((0,Me.Z)((0,Me.Z)(xe)),"isValidSortingTarget",function(je){var Ht=xe.props.useDragHandle,et=je.target,Ue=Ce(et,function(Ct){return Ct.sortableInfo!=null});return Ue&&Ue.sortableInfo&&!Ue.sortableInfo.disabled&&(Ht?Ft(et):et.sortableInfo)}),lt(Nn),xe.manager=new E,xe.events={end:xe.handleEnd,move:xe.handleMove,start:xe.handleStart},xe}return(0,we.Z)(Re,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var xe=this,je=this.props.useWindowAsScrollContainer,Ht=this.getContainer();Promise.resolve(Ht).then(function(et){xe.container=et,xe.document=xe.container.ownerDocument||document;var Ue=xe.props.contentWindow||xe.document.defaultView||window;xe.contentWindow=typeof Ue=="function"?Ue():Ue,xe.scrollContainer=je?xe.document.scrollingElement||xe.document.documentElement:Yt(xe.container)||xe.container,xe.autoScroller=new jt(xe.scrollContainer,xe.onAutoScroll),Object.keys(xe.events).forEach(function(Ct){return re[Ct].forEach(function(yt){return xe.container.addEventListener(yt,xe.events[Ct],!1)})}),xe.container.addEventListener("keydown",xe.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var xe=this;this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),this.container&&(Object.keys(this.events).forEach(function(je){return re[je].forEach(function(Ht){return xe.container.removeEventListener(Ht,xe.events[je])})}),this.container.removeEventListener("keydown",this.handleKeyDown))}},{key:"updateHelperPosition",value:function(xe){var je=this.props,Ht=je.lockAxis,et=je.lockOffset,Ue=je.lockToContainerEdges,Ct=je.transitionDuration,yt=je.keyboardSortingTransitionDuration,kt=yt===void 0?Ct:yt,Pn=this.manager.isKeySorting,Nt=xe.ignoreTransition,Tt=Le(xe),St={x:Tt.x-this.initialOffset.x,y:Tt.y-this.initialOffset.y};if(St.y-=window.pageYOffset-this.initialWindowScroll.top,St.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=St,Ue){var tn=it({height:this.height,lockOffset:et,width:this.width}),Kt=(0,de.Z)(tn,2),mn=Kt[0],Qn=Kt[1],wn={x:this.width/2-mn.x,y:this.height/2-mn.y},Wn={x:this.width/2-Qn.x,y:this.height/2-Qn.y};St.x=be(this.minTranslate.x+wn.x,this.maxTranslate.x-Wn.x,St.x),St.y=be(this.minTranslate.y+wn.y,this.maxTranslate.y-Wn.y,St.y)}Ht==="x"?St.y=0:Ht==="y"&&(St.x=0),Pn&&kt&&!Nt&&ve(this.helper,kt),he(this.helper,St)}},{key:"animateNodes",value:function(){var xe=this.props,je=xe.transitionDuration,Ht=xe.hideSortableGhost,et=xe.onSortOver,Ue=this.containerScrollDelta,Ct=this.windowScrollDelta,yt=this.manager.getOrderedRefs(),kt={left:this.offsetEdge.left+this.translate.x+Ue.left,top:this.offsetEdge.top+this.translate.y+Ue.top},Pn=this.manager.isKeySorting,Nt=this.newIndex;this.newIndex=null;for(var Tt=0,St=yt.length;Tt<St;Tt++){var tn=yt[Tt].node,Kt=tn.sortableInfo.index,mn=tn.offsetWidth,Qn=tn.offsetHeight,wn={height:this.height>Qn?Qn/2:this.height/2,width:this.width>mn?mn/2:this.width/2},Wn=Pn&&Kt>this.index&&Kt<=Nt,ma=Pn&&Kt<this.index&&Kt>=Nt,_t={x:0,y:0},Vt=yt[Tt].edgeOffset;Vt||(Vt=He(tn,this.container),yt[Tt].edgeOffset=Vt,Pn&&(yt[Tt].boundingClientRect=Xe(tn,Ue)));var en=Tt<yt.length-1&&yt[Tt+1],la=Tt>0&&yt[Tt-1];if(en&&!en.edgeOffset&&(en.edgeOffset=He(en.node,this.container),Pn&&(en.boundingClientRect=Xe(en.node,Ue))),Kt===this.index){Ht&&(this.sortableGhost=tn,le(tn,{opacity:0,visibility:"hidden"}));continue}je&&ve(tn,je),this.axis.x?this.axis.y?ma||Kt<this.index&&(kt.left+Ct.left-wn.width<=Vt.left&&kt.top+Ct.top<=Vt.top+wn.height||kt.top+Ct.top+wn.height<=Vt.top)?(_t.x=this.width+this.marginOffset.x,Vt.left+_t.x>this.containerBoundingRect.width-wn.width&&en&&(_t.x=en.edgeOffset.left-Vt.left,_t.y=en.edgeOffset.top-Vt.top),this.newIndex===null&&(this.newIndex=Kt)):(Wn||Kt>this.index&&(kt.left+Ct.left+wn.width>=Vt.left&&kt.top+Ct.top+wn.height>=Vt.top||kt.top+Ct.top+wn.height>=Vt.top+Qn))&&(_t.x=-(this.width+this.marginOffset.x),Vt.left+_t.x<this.containerBoundingRect.left+wn.width&&la&&(_t.x=la.edgeOffset.left-Vt.left,_t.y=la.edgeOffset.top-Vt.top),this.newIndex=Kt):Wn||Kt>this.index&&kt.left+Ct.left+wn.width>=Vt.left?(_t.x=-(this.width+this.marginOffset.x),this.newIndex=Kt):(ma||Kt<this.index&&kt.left+Ct.left<=Vt.left+wn.width)&&(_t.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=Kt)):this.axis.y&&(Wn||Kt>this.index&&kt.top+Ct.top+wn.height>=Vt.top?(_t.y=-(this.height+this.marginOffset.y),this.newIndex=Kt):(ma||Kt<this.index&&kt.top+Ct.top<=Vt.top+wn.height)&&(_t.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=Kt))),he(tn,_t),yt[Tt].translate=_t}this.newIndex==null&&(this.newIndex=this.index),Pn&&(this.newIndex=Nt);var aa=Pn?this.prevIndex:Nt;et&&this.newIndex!==aa&&et({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:aa,isKeySorting:Pn,nodes:yt,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return y()(Jt.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 xe=this.props.getContainer;return typeof xe!="function"?(0,oe.findDOMNode)(this):xe(Jt.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var xe=Jt.withRef?"wrappedInstance":null;return(0,ze.createElement)(Ot,(0,x.Z)({ref:xe},ne(this.props,at)))}},{key:"helperContainer",get:function(){var xe=this.props.helperContainer;return typeof xe=="function"?xe():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var xe=this.props.useWindowAsScrollContainer;return xe?{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}}}]),Re}(ze.Component),(0,Te.Z)(bt,"displayName",Ne("sortableList",Ot)),(0,Te.Z)(bt,"defaultProps",In),(0,Te.Z)(bt,"propTypes",Fn),(0,Te.Z)(bt,"childContextTypes",{manager:me().object.isRequired}),on}var Et={index:me().number.isRequired,collection:me().oneOfType([me().number,me().string]),disabled:me().bool},gt=Object.keys(Et);function Xt(Ot){var bt,on,Jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return on=bt=function($e){(0,We.Z)(Re,$e);function Re(){return(0,De.Z)(this,Re),(0,ke.Z)(this,(0,ie.Z)(Re).apply(this,arguments))}return(0,we.Z)(Re,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(xe){this.node&&(xe.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),xe.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),xe.collection!==this.props.collection&&(this.unregister(xe.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var xe=this.props,je=xe.collection,Ht=xe.disabled,et=xe.index,Ue=(0,oe.findDOMNode)(this);Ue.sortableInfo={collection:je,disabled:Ht,index:et,manager:this.context.manager},this.node=Ue,this.ref={node:Ue},this.context.manager.add(je,this.ref)}},{key:"unregister",value:function(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(xe,this.ref)}},{key:"getWrappedInstance",value:function(){return y()(Jt.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 xe=Jt.withRef?"wrappedInstance":null;return(0,ze.createElement)(Ot,(0,x.Z)({ref:xe},ne(this.props,gt)))}}]),Re}(ze.Component),(0,Te.Z)(bt,"displayName",Ne("sortableElement",Ot)),(0,Te.Z)(bt,"contextTypes",{manager:me().object.isRequired}),(0,Te.Z)(bt,"propTypes",Et),(0,Te.Z)(bt,"defaultProps",{collection:0}),on}},25510:function(ft){"use strict";ft.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4C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NIjFyFhzv8chScx5/wBWosYw/wCnZkynIS/m+4C3eHlqSzUEIgI//gj7DyhZLC+0NkhTIKUCXKe0/pV//wAFBIgR1f8AEKN6qX/qKK0Acv8ANBwqHhrAqgVAOQV/CbB8YoDiACdJM/8A2J//2Q=="},36459:function(ft,ut,ee){"use strict";ee.d(ut,{Z:function(){return x}});function x(de){if(de==null)throw new TypeError("Cannot destructure "+de)}}}]);
}());