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.
344 lines
1.2 MiB
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,st,ee)=>st in ft?us(ft,st,{enumerable:!0,configurable:!0,writable:!0,value:ee}):ft[st]=ee,Zr=(ft,st)=>{for(var ee in st||(st={}))as.call(st,ee)&&ns(ft,ee,st[ee]);if(Ou)for(var ee of Ou(st))rs.call(st,ee)&&ns(ft,ee,st[ee]);return ft},ui=(ft,st)=>ss(ft,ds(st));var Mu=(ft,st)=>{var ee={};for(var x in ft)as.call(ft,x)&&st.indexOf(x)<0&&(ee[x]=ft[x]);if(ft!=null&&Ou)for(var x of Ou(ft))st.indexOf(x)<0&&rs.call(ft,x)&&(ee[x]=ft[x]);return ee};var os=(ft,st,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,st)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[3951],{52310:function(ft,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";ee.d(st,{LB:function(){return To},g4:function(){return je},we:function(){return Nt},pE:function(){return ve},VK:function(){return mt},Cj:function(){return io},O1:function(){return da},Zj:function(){return So},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 Je={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:Je,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:Je,event:ot}=Se;ce.forEach(wt=>{var tt;return(tt=wt[Je])==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:Je=ze}=ce;const{announce:ot,announcement:wt}=ie(),tt=(0,pe.Ld)("DndLiveRegion"),[it,ht]=(0,x.useState)(!1);if((0,x.useEffect)(()=>{ht(!0)},[]),Me((0,x.useMemo)(()=>({onDragStart(fn){let{active:$n}=fn;ot(Pe.onDragStart({active:$n}))},onDragMove(fn){let{active:$n,over:In}=fn;Pe.onDragMove&&ot(Pe.onDragMove({active:$n,over:In}))},onDragOver(fn){let{active:$n,over:In}=fn;ot(Pe.onDragOver({active:$n,over:In}))},onDragEnd(fn){let{active:$n,over:In}=fn;ot(Pe.onDragEnd({active:$n,over:In}))},onDragCancel(fn){let{active:$n,over:In}=fn;ot(Pe.onDragCancel({active:$n,over:In}))}}),[ot,Pe])),!it)return null;const nn=x.createElement(x.Fragment,null,x.createElement(we,{id:Se,value:Je.draggable}),x.createElement(ke,{id:tt,announcement:wt}));return Oe?(0,de.createPortal)(nn,Oe):nn}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:Je}=ce;return[{x:Pe,y:Oe},{x:Pe+Je,y:Oe},{x:Pe,y:Oe+Se},{x:Pe+Je,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 Je=he(Pe,Pe.left,Pe.top),ot=[];for(const wt of Se){const{id:tt}=wt,it=Oe.get(tt);if(it){const ht=z(he(it),Je);ot.push({id:tt,data:{droppableContainer:wt,value:ht}})}}return ot.sort(ne)},Ce=ce=>{let{collisionRect:Pe,droppableRects:Oe,droppableContainers:Se}=ce;const Je=ae(Pe),ot=[];for(const wt of Se){const{id:tt}=wt,it=Oe.get(tt);if(it){const ht=ae(it),nn=Je.reduce(($n,In,Aa)=>$n+z(ht[Aa],In),0),fn=Number((nn/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),Je=Math.min(Pe.left+Pe.width,ce.left+ce.width),ot=Math.min(Pe.top+Pe.height,ce.top+ce.height),wt=Je-Se,tt=ot-Oe;if(Se<Je&&Oe<ot){const it=Pe.width*Pe.height,ht=ce.width*ce.height,nn=wt*tt,fn=nn/(it+ht-nn);return Number(fn.toFixed(4))}return 0}const ye=ce=>{let{collisionRect:Pe,droppableRects:Oe,droppableContainers:Se}=ce;const Je=[];for(const ot of Se){const{id:wt}=ot,tt=Oe.get(wt);if(tt){const it=be(tt,Pe);it>0&&Je.push({id:wt,data:{droppableContainer:ot,value:it}})}}return Je.sort(re)};function Ae(ce,Pe){const{top:Oe,left:Se,bottom:Je,right:ot}=Pe;return Oe<=ce.y&&ce.y<=Je&&Se<=ce.x&&ce.x<=ot}const Ne=ce=>{let{droppableContainers:Pe,droppableRects:Oe,pointerCoordinates:Se}=ce;if(!Se)return[];const Je=[];for(const ot of Pe){const{id:wt}=ot,tt=Oe.get(wt);if(tt&&Ae(Se,tt)){const ht=ae(tt).reduce((fn,$n)=>fn+z(Se,$n),0),nn=Number((ht/4).toFixed(4));Je.push({id:wt,data:{droppableContainer:ot,value:nn}})}}return Je.sort(ne)};function Qe(ce,Pe,Oe){return ui(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,Je=new Array(Se>1?Se-1:0),ot=1;ot<Se;ot++)Je[ot-1]=arguments[ot];return Je.reduce((wt,tt)=>ui(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:Je,scaleY:ot,x:wt,y:tt}=Se,it=ce.left-wt-(1-Je)*parseFloat(Oe),ht=ce.top-tt-(1-ot)*parseFloat(Oe.slice(Oe.indexOf(" ")+1)),nn=Je?ce.width/Je:ce.width,fn=ot?ce.height/ot:ce.height;return{width:nn,height:fn,top:ht,right:it+nn,bottom:ht+fn,left:it}}const lt={ignoreTransform:!1};function mt(ce,Pe){Pe===void 0&&(Pe=lt);let Oe=ce.getBoundingClientRect();if(Pe.ignoreTransform){const{transform:ht,transformOrigin:nn}=(0,pe.Jj)(ce).getComputedStyle(ce);ht&&(Oe=qe(Oe,ht,nn))}const{top:Se,left:Je,width:ot,height:wt,bottom:tt,right:it}=Oe;return{top:Se,left:Je,width:ot,height:wt,bottom:tt,right:it}}function Vt(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 yt(ce,Pe){Pe===void 0&&(Pe=(0,pe.Jj)(ce).getComputedStyle(ce));const Oe=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(Je=>{const ot=Pe[Je];return typeof ot=="string"?Oe.test(ot):!1})}function Lt(ce,Pe){const Oe=[];function Se(Je){if(Pe!=null&&Oe.length>=Pe||!Je)return Oe;if((0,pe.qk)(Je)&&Je.scrollingElement!=null&&!Oe.includes(Je.scrollingElement))return Oe.push(Je.scrollingElement),Oe;if(!(0,pe.Re)(Je)||(0,pe.vZ)(Je)||Oe.includes(Je))return Oe;const ot=(0,pe.Jj)(ce).getComputedStyle(Je);return Je!==ce&&yt(Je,ot)&&Oe.push(Je),rt(Je,ot)?Oe:Se(Je.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 Sn(ce){return{x:jt(ce),y:_e(ce)}}var wn;(function(ce){ce[ce.Forward=1]="Forward",ce[ce.Backward=-1]="Backward"})(wn||(wn={}));function ha(ce){return!pe.Nq||!ce?!1:ce===document.scrollingElement}function Mn(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},Je=ce.scrollTop<=Pe.y,ot=ce.scrollLeft<=Pe.x,wt=ce.scrollTop>=Se.y,tt=ce.scrollLeft>=Se.x;return{isTop:Je,isLeft:ot,isBottom:wt,isRight:tt,maxScroll:Se,minScroll:Pe}}const at={x:.2,y:.2};function ut(ce,Pe,Oe,Se,Je){let{top:ot,left:wt,right:tt,bottom:it}=Oe;Se===void 0&&(Se=10),Je===void 0&&(Je=at);const{isTop:ht,isBottom:nn,isLeft:fn,isRight:$n}=Mn(ce),In={x:0,y:0},Aa={x:0,y:0},va={height:Pe.height*Je.y,width:Pe.width*Je.x};return!ht&&ot<=Pe.top+va.height?(In.y=wn.Backward,Aa.y=Se*Math.abs((Pe.top+va.height-ot)/va.height)):!nn&&it>=Pe.bottom-va.height&&(In.y=wn.Forward,Aa.y=Se*Math.abs((Pe.bottom-va.height-it)/va.height)),!$n&&tt>=Pe.right-va.width?(In.x=wn.Forward,Aa.x=Se*Math.abs((Pe.right-va.width-tt)/va.width)):!fn&&wt<=Pe.left+va.width&&(In.x=wn.Backward,Aa.x=Se*Math.abs((Pe.left+va.width-wt)/va.width)),{direction:In,speed:Aa}}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:Je}=ce.getBoundingClientRect();return{top:Pe,left:Oe,right:Se,bottom:Je,width:ce.clientWidth,height:ce.clientHeight}}function At(ce){return ce.reduce((Pe,Oe)=>(0,pe.IH)(Pe,Sn(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 Qt(ce,Pe){if(Pe===void 0&&(Pe=mt),!ce)return;const{top:Oe,left:Se,bottom:Je,right:ot}=Pe(ce);ct(ce)&&(Je<=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),Je=At(Se);this.rect=Zr({},Pe),this.width=Pe.width,this.height=Pe.height;for(const[ot,wt,tt]of Ot)for(const it of wt)Object.defineProperty(this,it,{get:()=>{const ht=tt(Se),nn=Je[ot]-ht;return this.rect[it]+nn},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class rn{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 Je;(Je=this.target)==null||Je.addEventListener(Pe,Oe,Se),this.listeners.push([Pe,Oe,Se])}}function Xt(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 Ln(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 ui(Zr({},Oe),{x:Oe.x+25});case je.Left:return ui(Zr({},Oe),{x:Oe.x-25});case je.Down:return ui(Zr({},Oe),{y:Oe.y+25});case je.Up:return ui(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 rn((0,pe.r3)(Oe)),this.windowListeners=new rn((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&&Qt(Se),Oe(E)}handleKeyDown(Pe){if((0,pe.vd)(Pe)){const{active:Oe,context:Se,options:Je}=this.props,{keyboardCodes:ot=Ht,coordinateGetter:wt=et,scrollBehavior:tt="smooth"}=Je,{code:it}=Pe;if(ot.end.includes(it)){this.handleEnd(Pe);return}if(ot.cancel.includes(it)){this.handleCancel(Pe);return}const{collisionRect:ht}=Se.current,nn=ht?{x:ht.left,y:ht.top}:E;this.referenceCoordinates||(this.referenceCoordinates=nn);const fn=wt(Pe,{active:Oe,context:Se.current,currentCoordinates:nn});if(fn){const $n=(0,pe.$X)(fn,nn),In={x:0,y:0},{scrollableAncestors:Aa}=Se.current;for(const va of Aa){const Fa=Pe.code,{isTop:Wn,isRight:Cn,isLeft:on,isBottom:yn,maxScroll:An,minScroll:ea}=Mn(va),za=dt(va),Ba={x:Math.min(Fa===je.Right?za.right-za.width/2:za.right,Math.max(Fa===je.Right?za.left:za.left+za.width/2,fn.x)),y:Math.min(Fa===je.Down?za.bottom-za.height/2:za.bottom,Math.max(Fa===je.Down?za.top:za.top+za.height/2,fn.y))},qn=Fa===je.Right&&!Cn||Fa===je.Left&&!on,Ea=Fa===je.Down&&!yn||Fa===je.Up&&!Wn;if(qn&&Ba.x!==fn.x){const Ma=va.scrollLeft+$n.x,La=Fa===je.Right&&Ma<=An.x||Fa===je.Left&&Ma>=ea.x;if(La&&!$n.y){va.scrollTo({left:Ma,behavior:tt});return}La?In.x=va.scrollLeft-Ma:In.x=Fa===je.Right?va.scrollLeft-An.x:va.scrollLeft-ea.x,In.x&&va.scrollBy({left:-In.x,behavior:tt});break}else if(Ea&&Ba.y!==fn.y){const Ma=va.scrollTop+$n.y,La=Fa===je.Down&&Ma<=An.y||Fa===je.Up&&Ma>=ea.y;if(La&&!$n.x){va.scrollTo({top:Ma,behavior:tt});return}La?In.y=va.scrollTop-Ma:In.y=Fa===je.Down?va.scrollTop-An.y:va.scrollTop-ea.y,In.y&&va.scrollBy({top:-In.y,behavior:tt});break}}this.handleMove(Pe,(0,pe.IH)((0,pe.$X)(fn,this.referenceCoordinates),In))}}}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:Je}=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(),Je==null||Je({event:ce.nativeEvent}),!0)}return!1}}];function Ct(ce){return!!(ce&&"distance"in ce)}function Pt(ce){return!!(ce&&"delay"in ce)}class Zt{constructor(Pe,Oe,Se){var Je;Se===void 0&&(Se=Xt(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 rn(this.document),this.listeners=new rn(Se),this.windowListeners=new rn((0,pe.Jj)(wt)),this.initialCoordinates=(Je=(0,pe.DC)(ot))!=null?Je: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,Ln),this.windowListeners.add(Re.VisibilityChange,this.handleCancel),this.windowListeners.add(Re.ContextMenu,Ln),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(Pt(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:Je,props:ot}=this,{onMove:wt,options:{activationConstraint:tt}}=ot;if(!Je)return;const it=(Oe=(0,pe.DC)(Pe))!=null?Oe:E,ht=(0,pe.$X)(Je,it);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 Pt(tt)&&$e(ht,tt.tolerance)?this.handleCancel():void 0}Pe.cancelable&&Pe.preventDefault(),wt(it)}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 vn={move:{name:"pointermove"},end:{name:"pointerup"}};class Nt extends Zt{constructor(Pe){const{event:Oe}=Pe,Se=(0,pe.r3)(Oe.target);super(Pe,vn,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 en extends Zt{constructor(Pe){super(Pe,Tt,(0,pe.r3)(Pe.event.target))}}en.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 Gt={move:{name:"touchmove"},end:{name:"touchend"}};class mn extends Zt{constructor(Pe){super(Pe,Gt)}static setup(){return window.addEventListener(Gt.move.name,Pe,{capture:!1,passive:!1}),function(){window.removeEventListener(Gt.move.name,Pe)};function Pe(){}}}mn.activators=[{eventName:"onTouchStart",handler:(ce,Pe)=>{let{nativeEvent:Oe}=ce,{onActivation:Se}=Pe;const{touches:Je}=Oe;return Je.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 xn;(function(ce){ce[ce.TreeOrder=0]="TreeOrder",ce[ce.ReversedTreeOrder=1]="ReversedTreeOrder"})(xn||(xn={}));function Un(ce){let{acceleration:Pe,activator:Oe=Qn.Pointer,canScroll:Se,draggingRect:Je,enabled:ot,interval:wt=5,order:tt=xn.TreeOrder,pointerCoordinates:it,scrollableAncestors:ht,scrollableAncestorRects:nn,delta:fn,threshold:$n}=ce;const In=Kt({delta:fn,disabled:!ot}),[Aa,va]=(0,pe.Yz)(),Fa=(0,x.useRef)({x:0,y:0}),Wn=(0,x.useRef)({x:0,y:0}),Cn=(0,x.useMemo)(()=>{switch(Oe){case Qn.Pointer:return it?{top:it.y,bottom:it.y,left:it.x,right:it.x}:null;case Qn.DraggableRect:return Je}},[Oe,Je,it]),on=(0,x.useRef)(null),yn=(0,x.useCallback)(()=>{const ea=on.current;if(!ea)return;const za=Fa.current.x*Wn.current.x,Ba=Fa.current.y*Wn.current.y;ea.scrollBy(za,Ba)},[]),An=(0,x.useMemo)(()=>tt===xn.TreeOrder?[...ht].reverse():ht,[tt,ht]);(0,x.useEffect)(()=>{if(!ot||!ht.length||!Cn){va();return}for(const ea of An){if((Se==null?void 0:Se(ea))===!1)continue;const za=ht.indexOf(ea),Ba=nn[za];if(!Ba)continue;const{direction:qn,speed:Ea}=ut(ea,Ba,Cn,Pe,$n);for(const Ma of["x","y"])In[Ma][qn[Ma]]||(Ea[Ma]=0,qn[Ma]=0);if(Ea.x>0||Ea.y>0){va(),on.current=ea,Aa(yn,wt),Fa.current=Ea,Wn.current=qn;return}}Fa.current={x:0,y:0},Wn.current={x:0,y:0},va()},[Pe,yn,Se,va,ot,wt,JSON.stringify(Cn),JSON.stringify(In),Aa,ht,An,nn,JSON.stringify($n)])}const pa={x:{[wn.Backward]:!1,[wn.Forward]:!1},y:{[wn.Backward]:!1,[wn.Forward]:!1}};function Kt(ce){let{delta:Pe,disabled:Oe}=ce;const Se=(0,pe.D9)(Pe);return(0,pe.Gj)(Je=>{if(Oe||!Se||!Je)return pa;const ot={x:Math.sign(Pe.x-Se.x),y:Math.sign(Pe.y-Se.y)};return{x:{[wn.Backward]:Je.x[wn.Backward]||ot.x===-1,[wn.Forward]:Je.x[wn.Forward]||ot.x===1},y:{[wn.Backward]:Je.y[wn.Backward]||ot.y===-1,[wn.Forward]:Je.y[wn.Forward]||ot.y===1}}},[Oe,Pe,Se])}function $t(ce,Pe){const Oe=Pe!==null?ce.get(Pe):void 0,Se=Oe?Oe.node.current:null;return(0,pe.Gj)(Je=>{var ot;return Pe===null?null:(ot=Se!=null?Se:Je)!=null?ot:null},[Se,Pe])}function qt(ce,Pe){return(0,x.useMemo)(()=>ce.reduce((Oe,Se)=>{const{sensor:Je}=Se,ot=Je.activators.map(wt=>({eventName:wt.eventName,handler:Pe(wt.handler,Se)}));return[...Oe,...ot]},[]),[ce,Pe])}var sa;(function(ce){ce[ce.Always=0]="Always",ce[ce.BeforeDragging=1]="BeforeDragging",ce[ce.WhileDragging=2]="WhileDragging"})(sa||(sa={}));var ra;(function(ce){ce.Optimized="optimized"})(ra||(ra={}));const Hn=new Map;function Oa(ce,Pe){let{dragging:Oe,dependencies:Se,config:Je}=Pe;const[ot,wt]=(0,x.useState)(null),{frequency:tt,measure:it,strategy:ht}=Je,nn=(0,x.useRef)(ce),fn=Fa(),$n=(0,pe.Ey)(fn),In=(0,x.useCallback)(function(Wn){Wn===void 0&&(Wn=[]),!$n.current&&wt(Cn=>Cn===null?Wn:Cn.concat(Wn.filter(on=>!Cn.includes(on))))},[$n]),Aa=(0,x.useRef)(null),va=(0,pe.Gj)(Wn=>{if(fn&&!Oe)return Hn;if(!Wn||Wn===Hn||nn.current!==ce||ot!=null){const Cn=new Map;for(let on of ce){if(!on)continue;if(ot&&ot.length>0&&!ot.includes(on.id)&&on.rect.current){Cn.set(on.id,on.rect.current);continue}const yn=on.node.current,An=yn?new bt(it(yn),yn):null;on.rect.current=An,An&&Cn.set(on.id,An)}return Cn}return Wn},[ce,ot,Oe,fn,it]);return(0,x.useEffect)(()=>{nn.current=ce},[ce]),(0,x.useEffect)(()=>{fn||In()},[Oe,fn]),(0,x.useEffect)(()=>{ot&&ot.length>0&&wt(null)},[JSON.stringify(ot)]),(0,x.useEffect)(()=>{fn||typeof tt!="number"||Aa.current!==null||(Aa.current=setTimeout(()=>{In(),Aa.current=null},tt))},[tt,fn,In,...Se]),{droppableRects:va,measureDroppableContainers:In,measuringScheduled:ot!=null};function Fa(){switch(ht){case sa.Always:return!1;case sa.BeforeDragging:return Oe;default:return!Oe}}}function Ta(ce,Pe){return(0,pe.Gj)(Oe=>ce?Oe||(typeof Pe=="function"?Pe(ce):ce):null,[Pe,ce])}function Pr(ce,Pe){return Ta(ce,Pe)}function zr(ce){let{callback:Pe,disabled:Oe}=ce;const Se=(0,pe.zX)(Pe),Je=(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)(()=>()=>Je==null?void 0:Je.disconnect(),[Je]),Je}function Na(ce){let{callback:Pe,disabled:Oe}=ce;const Se=(0,pe.zX)(Pe),Je=(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)(()=>()=>Je==null?void 0:Je.disconnect(),[Je]),Je}function Xe(ce){return new bt(mt(ce),ce)}function Bt(ce,Pe,Oe){Pe===void 0&&(Pe=Xe);const[Se,Je]=(0,x.useReducer)(tt,null),ot=zr({callback(it){if(ce)for(const ht of it){const{type:nn,target:fn}=ht;if(nn==="childList"&&fn instanceof HTMLElement&&fn.contains(ce)){Je();break}}}}),wt=Na({callback:Je});return(0,pe.LI)(()=>{Je(),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(it){if(!ce)return null;if(ce.isConnected===!1){var ht;return(ht=it!=null?it:Oe)!=null?ht:null}const nn=Pe(ce);return JSON.stringify(it)===JSON.stringify(nn)?it:nn}}function xt(ce){const Pe=Ta(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),Je=(0,x.useCallback)(ot=>{const wt=Ft(ot.target);wt&&Oe(tt=>tt?(tt.set(wt,Sn(wt)),new Map(tt)):null)},[]);return(0,x.useEffect)(()=>{const ot=Se.current;if(ce!==ot){wt(ot);const tt=ce.map(it=>{const ht=Ft(it);return ht?(ht.addEventListener("scroll",Je,{passive:!0}),[ht,Sn(ht)]):null}).filter(it=>it!=null);Oe(tt.length?new Map(tt):null),Se.current=ce}return()=>{wt(ce),wt(ot)};function wt(tt){tt.forEach(it=>{const ht=Ft(it);ht==null||ht.removeEventListener("scroll",Je)})}},[Je,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 Qr(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 Ra(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 br(ce,Pe){return(0,x.useMemo)(()=>ce.reduce((Oe,Se)=>{let{eventName:Je,handler:ot}=Se;return Oe[Je]=wt=>{ot(wt,Pe)},Oe},{}),[ce,Pe])}function Vr(ce){return(0,x.useMemo)(()=>ce?cn(ce):null,[ce])}const mo=[];function Xn(ce,Pe){Pe===void 0&&(Pe=mt);const[Oe]=ce,Se=Vr(Oe?(0,pe.Jj)(Oe):null),[Je,ot]=(0,x.useReducer)(tt,mo),wt=Na({callback:ot});return ce.length>0&&Je===mo&&ot(),(0,pe.LI)(()=>{ce.length?ce.forEach(it=>wt==null?void 0:wt.observe(it)):(wt==null||wt.disconnect(),ot())},[ce]),Je;function tt(){return ce.length?ce.map(it=>ha(it)?Se:new bt(Pe(it),it)):mo}}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),Je=(0,x.useCallback)(ht=>{for(const{target:nn}of ht)if((0,pe.Re)(nn)){Se(fn=>{const $n=Pe(nn);return fn?ui(Zr({},fn),{width:$n.width,height:$n.height}):$n});break}},[Pe]),ot=Na({callback:Je}),wt=(0,x.useCallback)(ht=>{const nn=ur(ht);ot==null||ot.disconnect(),nn&&(ot==null||ot.observe(nn)),Se(nn?Pe(nn):null)},[Pe,ot]),[tt,it]=(0,pe.wm)(wt);return(0,x.useMemo)(()=>({nodeRef:tt,rect:Oe,setRef:it}),[Oe,tt,it])}const Jt=[{sensor:Nt,options:{}},{sensor:Ue,options:{}}],Ut={current:{}},dn={draggable:{measure:Vt},droppable:{measure:Vt,strategy:sa.WhileDragging,frequency:ra.Optimized},dragOverlay:{measure:mt}};class jn 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 tn={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new jn,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:a},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:dn,measureDroppableContainers:a,windowRect:null,measuringScheduled:!1},Yn={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:a,draggableNodes:new Map,over:null,measureDroppableContainers:a},Pn=(0,x.createContext)(Yn),ua=(0,x.createContext)(tn);function Ha(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new jn}}}function ir(ce,Pe){switch(Pe.type){case oe.DragStart:return ui(Zr({},ce),{draggable:ui(Zr({},ce.draggable),{initialCoordinates:Pe.initialCoordinates,active:Pe.active})});case oe.DragMove:return ce.draggable.active?ui(Zr({},ce),{draggable:ui(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 ui(Zr({},ce),{draggable:ui(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,Je=new jn(ce.droppable.containers);return Je.set(Se,Oe),ui(Zr({},ce),{droppable:ui(Zr({},ce.droppable),{containers:Je})})}case oe.SetDroppableDisabled:{const{id:Oe,key:Se,disabled:Je}=Pe,ot=ce.droppable.containers.get(Oe);if(!ot||Se!==ot.key)return ce;const wt=new jn(ce.droppable.containers);return wt.set(Oe,ui(Zr({},ot),{disabled:Je})),ui(Zr({},ce),{droppable:ui(Zr({},ce.droppable),{containers:wt})})}case oe.UnregisterDroppable:{const{id:Oe,key:Se}=Pe,Je=ce.droppable.containers.get(Oe);if(!Je||Se!==Je.key)return ce;const ot=new jn(ce.droppable.containers);return ot.delete(Oe),ui(Zr({},ce),{droppable:ui(Zr({},ce.droppable),{containers:ot})})}default:return ce}}function Mr(ce){let{disabled:Pe}=ce;const{active:Oe,activatorEvent:Se,draggableNodes:Je}=(0,x.useContext)(Pn),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=Je.get(wt);if(!tt)return;const{activatorNode:it,node:ht}=tt;if(!it.current&&!ht.current)return;requestAnimationFrame(()=>{for(const nn of[it.current,ht.current]){if(!nn)continue;const fn=(0,pe.so)(nn);if(fn){fn.focus();break}}})}},[Se,Pe,Je,wt,ot]),null}function Hr(ce,Pe){let Je=Pe,{transform:Oe}=Je,Se=Mu(Je,["transform"]);return ce!=null&&ce.length?ce.reduce((ot,wt)=>wt(Zr({transform:ot},Se)),Oe):Oe}function oo(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 zo(ce){let{activeNode:Pe,measure:Oe,initialRect:Se,config:Je=!0}=ce;const ot=(0,x.useRef)(!1),{x:wt,y:tt}=typeof Je=="boolean"?{x:Je,y:Je}:Je;(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 nn=Oe(ht),fn=Le(nn,Se);if(wt||(fn.x=0),tt||(fn.y=0),ot.current=!0,Math.abs(fn.x)>0||Math.abs(fn.y)>0){const $n=ct(ht);$n&&$n.scrollBy({top:fn.y,left:fn.x})}},[Pe,wt,tt,Se,Oe])}const Kn=(0,x.createContext)(ui(Zr({},E),{scaleX:1,scaleY:1}));var Br;(function(ce){ce[ce.Uninitialized=0]="Uninitialized",ce[ce.Initializing=1]="Initializing",ce[ce.Initialized=2]="Initialized"})(Br||(Br={}));const To=(0,x.memo)(function(Pe){var Oe,Se,Je,ot;let Lr=Pe,{id:wt,accessibility:tt,autoScroll:it=!0,children:ht,sensors:nn=Jt,collisionDetection:fn=ye,measuring:$n,modifiers:In}=Lr,Aa=Mu(Lr,["id","accessibility","autoScroll","children","sensors","collisionDetection","measuring","modifiers"]);const va=(0,x.useReducer)(ir,void 0,Ha),[Fa,Wn]=va,[Cn,on]=Te(),[yn,An]=(0,x.useState)(Br.Uninitialized),ea=yn===Br.Initialized,{draggable:{active:za,nodes:Ba,translate:qn},droppable:{containers:Ea}}=Fa,Ma=za?Ba.get(za):null,La=(0,x.useRef)({initial:null,translated:null}),er=(0,x.useMemo)(()=>{var so;return za!=null?{id:za,data:(so=Ma==null?void 0:Ma.data)!=null?so:Ut,rect:La}:null},[za,Ma]),Sr=(0,x.useRef)(null),[eo,Lo]=(0,x.useState)(null),[ga,ii]=(0,x.useState)(null),ei=(0,pe.Ey)(Aa,Object.values(Aa)),Fo=(0,pe.Ld)("DndDescribedBy",wt),dl=(0,x.useMemo)(()=>Ea.getEnabled(),[Ea]),Hi=oo($n),{droppableRects:pi,measureDroppableContainers:Fi,measuringScheduled:Qi}=Oa(dl,{dragging:ea,dependencies:[qn.x,qn.y],config:Hi.droppable}),Xo=$t(Ba,za),cl=(0,x.useMemo)(()=>ga?(0,pe.DC)(ga):null,[ga]),_t=wr(),kt=Pr(Xo,Hi.draggable.measure);zo({activeNode:za?Ba.get(za):null,config:_t.layoutShiftCompensation,initialRect:kt,measure:Hi.draggable.measure});const zt=Bt(Xo,Hi.draggable.measure,kt),Da=Bt(Xo?Xo.parentElement:null),ar=(0,x.useRef)({activatorEvent:null,active:null,activeNode:Xo,collisionRect:null,collisions:null,droppableRects:pi,draggableNodes:Ba,draggingNode:null,draggingNodeRect:null,droppableContainers:Ea,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Ia=Ea.getNodeFor((Oe=ar.current.over)==null?void 0:Oe.id),Rn=pt({measure:Hi.dragOverlay.measure}),Qa=(Se=Rn.nodeRef.current)!=null?Se:Xo,En=ea?(Je=Rn.rect)!=null?Je:zt:null,ba=!!(Rn.nodeRef.current&&Rn.rect),Pa=xt(ba?null:zt),Gr=Vr(Qa?(0,pe.Jj)(Qa):null),Wa=pn(ea?Ia!=null?Ia:Xo:null),Ko=Xn(Wa),uo=Hr(In,{transform:{x:qn.x-Pa.x,y:qn.y-Pa.y,scaleX:1,scaleY:1},activatorEvent:ga,active:er,activeNodeRect:zt,containerNodeRect:Da,draggingNodeRect:En,over:ar.current.over,overlayNodeRect:Rn.rect,scrollableAncestors:Wa,scrollableAncestorRects:Ko,windowRect:Gr}),Po=cl?(0,pe.IH)(cl,qn):null,cr=_n(Wa),sr=Qr(cr),Vn=Qr(cr,[zt]),Ir=(0,pe.IH)(uo,sr),oi=En?He(En,uo):null,ka=er&&oi?fn({active:er,collisionRect:oi,droppableRects:pi,droppableContainers:dl,pointerCoordinates:Po}):null,ya=le(ka,"id"),[Yr,Oi]=(0,x.useState)(null),Jn=ba?uo:(0,pe.IH)(uo,Vn),pr=Qe(Jn,(ot=Yr==null?void 0:Yr.rect)!=null?ot:null,zt),Ca=(0,x.useCallback)((so,Fr)=>{let{sensor:po,options:lr}=Fr;if(Sr.current==null)return;const Nr=Ba.get(Sr.current);if(!Nr)return;const yo=so.nativeEvent,Uo=new po({active:Sr.current,activeNode:Nr,event:yo,options:lr,context:ar,onStart(fa){const rr=Sr.current;if(rr==null)return;const na=Ba.get(rr);if(!na)return;const{onDragStart:Ua}=ei.current,Kr={active:{id:rr,data:na.data,rect:La}};(0,de.unstable_batchedUpdates)(()=>{Ua==null||Ua(Kr),An(Br.Initializing),Wn({type:oe.DragStart,initialCoordinates:fa,active:rr}),Cn({type:"onDragStart",event:Kr})})},onMove(fa){Wn({type:oe.DragMove,coordinates:fa})},onEnd:Nn(oe.DragEnd),onCancel:Nn(oe.DragCancel)});(0,de.unstable_batchedUpdates)(()=>{Lo(Uo),ii(so.nativeEvent)});function Nn(fa){return function(){return os(this,null,function*(){const{active:na,collisions:Ua,over:Kr,scrollAdjustedTranslate:Tr}=ar.current;let No=null;if(na&&Tr){const{cancelDrop:hi}=ei.current;No={activatorEvent:yo,active:na,collisions:Ua,delta:Tr,over:Kr},fa===oe.DragEnd&&typeof hi=="function"&&(yield Promise.resolve(hi(No)))&&(fa=oe.DragCancel)}Sr.current=null,(0,de.unstable_batchedUpdates)(()=>{Wn({type:fa}),An(Br.Uninitialized),Oi(null),Lo(null),ii(null);const hi=fa===oe.DragEnd?"onDragEnd":"onDragCancel";if(No){const _i=ei.current[hi];_i==null||_i(No),Cn({type:hi,event:No})}})})}}},[Ba]),ln=(0,x.useCallback)((so,Fr)=>(po,lr)=>{const Nr=po.nativeEvent,yo=Ba.get(lr);if(Sr.current!==null||!yo||Nr.dndKit||Nr.defaultPrevented)return;const Uo={active:yo};so(po,Fr.options,Uo)===!0&&(Nr.dndKit={capturedBy:Fr.sensor},Sr.current=lr,Ca(po,Fr))},[Ba,Ca]),ma=qt(nn,ln);Ra(nn),(0,pe.LI)(()=>{zt&&yn===Br.Initializing&&An(Br.Initialized)},[zt,yn]),(0,x.useEffect)(()=>{const{onDragMove:so}=ei.current,{active:Fr,activatorEvent:po,collisions:lr,over:Nr}=ar.current;if(!Fr||!po)return;const yo={active:Fr,activatorEvent:po,collisions:lr,delta:{x:Ir.x,y:Ir.y},over:Nr};(0,de.unstable_batchedUpdates)(()=>{so==null||so(yo),Cn({type:"onDragMove",event:yo})})},[Ir.x,Ir.y]),(0,x.useEffect)(()=>{const{active:so,activatorEvent:Fr,collisions:po,droppableContainers:lr,scrollAdjustedTranslate:Nr}=ar.current;if(!so||Sr.current==null||!Fr||!Nr)return;const{onDragOver:yo}=ei.current,Uo=lr.get(ya),Nn=Uo&&Uo.rect.current?{id:Uo.id,rect:Uo.rect.current,data:Uo.data,disabled:Uo.disabled}:null,fa={active:so,activatorEvent:Fr,collisions:po,delta:{x:Nr.x,y:Nr.y},over:Nn};(0,de.unstable_batchedUpdates)(()=>{Oi(Nn),yo==null||yo(fa),Cn({type:"onDragOver",event:fa})})},[ya]),(0,pe.LI)(()=>{ar.current={activatorEvent:ga,active:er,activeNode:Xo,collisionRect:oi,collisions:ka,droppableRects:pi,draggableNodes:Ba,draggingNode:Qa,draggingNodeRect:En,droppableContainers:Ea,over:Yr,scrollableAncestors:Wa,scrollAdjustedTranslate:Ir},La.current={initial:En,translated:oi}},[er,Xo,ka,oi,Ba,Qa,En,pi,Ea,Yr,Wa,Ir]),Un(ui(Zr({},_t),{delta:qn,draggingRect:oi,pointerCoordinates:Po,scrollableAncestors:Wa,scrollableAncestorRects:Ko}));const Fn=(0,x.useMemo)(()=>({active:er,activeNode:Xo,activeNodeRect:zt,activatorEvent:ga,collisions:ka,containerNodeRect:Da,dragOverlay:Rn,draggableNodes:Ba,droppableContainers:Ea,droppableRects:pi,over:Yr,measureDroppableContainers:Fi,scrollableAncestors:Wa,scrollableAncestorRects:Ko,measuringConfiguration:Hi,measuringScheduled:Qi,windowRect:Gr}),[er,Xo,zt,ga,ka,Da,Rn,Ba,Ea,pi,Yr,Fi,Wa,Ko,Hi,Qi,Gr]),$r=(0,x.useMemo)(()=>({activatorEvent:ga,activators:ma,active:er,activeNodeRect:zt,ariaDescribedById:{draggable:Fo},dispatch:Wn,draggableNodes:Ba,over:Yr,measureDroppableContainers:Fi}),[ga,ma,er,zt,Wn,Fo,Ba,Yr,Fi]);return x.createElement(We.Provider,{value:on},x.createElement(Pn.Provider,{value:$r},x.createElement(ua.Provider,{value:Fn},x.createElement(Kn.Provider,{value:pr},ht)),x.createElement(Mr,{disabled:(tt==null?void 0:tt.restoreFocus)===!1})),x.createElement(me,ui(Zr({},tt),{hiddenTextDescribedById:Fo})));function wr(){const so=(eo==null?void 0:eo.autoScrollEnabled)===!1,Fr=typeof it=="object"?it.enabled===!1:it===!1,po=ea&&!so&&!Fr;return typeof it=="object"?ui(Zr({},it),{enabled:po}):{enabled:po}}}),oa=(0,x.createContext)(null),Za="button",mr="Droppable";function da(ce){let{id:Pe,data:Oe,disabled:Se=!1,attributes:Je}=ce;const ot=(0,pe.Ld)(mr),{activators:wt,activatorEvent:tt,active:it,activeNodeRect:ht,ariaDescribedById:nn,draggableNodes:fn,over:$n}=(0,x.useContext)(Pn),{role:In=Za,roleDescription:Aa="draggable",tabIndex:va=0}=Je!=null?Je:{},Fa=(it==null?void 0:it.id)===Pe,Wn=(0,x.useContext)(Fa?Kn:oa),[Cn,on]=(0,pe.wm)(),[yn,An]=(0,pe.wm)(),ea=br(wt,Pe),za=(0,pe.Ey)(Oe);(0,pe.LI)(()=>(fn.set(Pe,{id:Pe,key:ot,node:Cn,activatorNode:yn,data:za}),()=>{const qn=fn.get(Pe);qn&&qn.key===ot&&fn.delete(Pe)}),[fn,Pe]);const Ba=(0,x.useMemo)(()=>({role:In,tabIndex:va,"aria-disabled":Se,"aria-pressed":Fa&&In===Za?!0:void 0,"aria-roledescription":Aa,"aria-describedby":nn.draggable}),[Se,In,va,Fa,Aa,nn.draggable]);return{active:it,activatorEvent:tt,activeNodeRect:ht,attributes:Ba,isDragging:Fa,listeners:Se?void 0:ea,node:Cn,over:$n,setNodeRef:on,setActivatorNodeRef:An,transform:Wn}}function io(){return(0,x.useContext)(ua)}const fr="Droppable",wo={timeout:25};function So(ce){let{data:Pe,disabled:Oe=!1,id:Se,resizeObserverConfig:Je}=ce;const ot=(0,pe.Ld)(fr),{active:wt,dispatch:tt,over:it,measureDroppableContainers:ht}=(0,x.useContext)(Pn),nn=(0,x.useRef)({disabled:Oe}),fn=(0,x.useRef)(!1),$n=(0,x.useRef)(null),In=(0,x.useRef)(null),{disabled:Aa,updateMeasurementsFor:va,timeout:Fa}=Zr(Zr({},wo),Je),Wn=(0,pe.Ey)(va!=null?va:Se),Cn=(0,x.useCallback)(()=>{if(!fn.current){fn.current=!0;return}In.current!=null&&clearTimeout(In.current),In.current=setTimeout(()=>{ht(Array.isArray(Wn.current)?Wn.current:[Wn.current]),In.current=null},Fa)},[Fa]),on=Na({callback:Cn,disabled:Aa||!wt}),yn=(0,x.useCallback)((Ba,qn)=>{on&&(qn&&(on.unobserve(qn),fn.current=!1),Ba&&on.observe(Ba))},[on]),[An,ea]=(0,pe.wm)(yn),za=(0,pe.Ey)(Pe);return(0,x.useEffect)(()=>{!on||!An.current||(on.disconnect(),fn.current=!1,on.observe(An.current))},[An,on]),(0,pe.LI)(()=>(tt({type:oe.RegisterDroppable,element:{id:Se,key:ot,disabled:Oe,node:An,rect:$n,data:za}}),()=>tt({type:oe.UnregisterDroppable,key:ot,id:Se})),[Se]),(0,x.useEffect)(()=>{Oe!==nn.current.disabled&&(tt({type:oe.SetDroppableDisabled,id:Se,key:ot,disabled:Oe}),nn.current.disabled=Oe)},[Se,ot,Oe,tt]),{active:wt,rect:$n,isOver:(it==null?void 0:it.id)===Se,node:An,over:it,setNodeRef:ea}}function Ro(ce){let{animation:Pe,children:Oe}=ce;const[Se,Je]=useState(null),[ot,wt]=useState(null),tt=usePrevious(Oe);return!Oe&&!Se&&tt&&Je(tt),useIsomorphicLayoutEffect(()=>{if(!ot)return;const it=Se==null?void 0:Se.key,ht=Se==null?void 0:Se.props.id;if(it==null||ht==null){Je(null);return}Promise.resolve(Pe(ht,ot)).then(()=>{Je(null)})},[Pe,Se,ot]),React.createElement(React.Fragment,null,Oe,Se?cloneElement(Se,{ref:wt}):null)}const Ni={x:0,y:0,scaleX:1,scaleY:1};function qo(ce){let{children:Pe}=ce;return React.createElement(Pn.Provider,{value:Yn},React.createElement(Kn.Provider,{value:Ni},Pe))}const ul={position:"fixed",touchAction:"none"},Yi=ce=>isKeyboardEvent(ce)?"transform 250ms ease":void 0,kn=null,Go={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 Je={},{styles:ot,className:wt}=ce;if(ot!=null&&ot.active)for(const[tt,it]of Object.entries(ot.active))it!==void 0&&(Je[tt]=Oe.node.style.getPropertyValue(tt),Oe.node.style.setProperty(tt,it));if(ot!=null&&ot.dragOverlay)for(const[tt,it]of Object.entries(ot.dragOverlay))it!==void 0&&Se.node.style.setProperty(tt,it);return wt!=null&&wt.active&&Oe.node.classList.add(wt.active),wt!=null&&wt.dragOverlay&&Se.node.classList.add(wt.dragOverlay),function(){for(const[it,ht]of Object.entries(Je))Oe.node.style.setProperty(it,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:Je}=ce;return useEvent((ot,wt)=>{if(Pe===null)return;const tt=Oe.get(ot);if(!tt)return;const it=tt.node.current;if(!it)return;const ht=ur(wt);if(!ht)return;const{transform:nn}=getWindow(wt).getComputedStyle(wt),fn=Ke(nn);if(!fn)return;const $n=typeof Pe=="function"?Pe:wi(Pe);return Qt(it,Je.draggable.measure),$n({active:{id:ot,data:tt.data,node:it,rect:Je.draggable.measure(it)},draggableNodes:Oe,dragOverlay:{node:wt,rect:Je.dragOverlay.measure(ht)},droppableContainers:Se,measuringConfiguration:Je,transform:fn})})}function wi(ce){const{duration:Pe,easing:Oe,sideEffects:Se,keyframes:Je}=Zr(Zr({},Go),ce);return ot=>{let Cn=ot,{active:wt,dragOverlay:tt,transform:it}=Cn,ht=Mu(Cn,["active","dragOverlay","transform"]);if(!Pe)return;const nn={x:tt.rect.left-wt.rect.left,y:tt.rect.top-wt.rect.top},fn={scaleX:it.scaleX!==1?wt.rect.width*it.scaleX/tt.rect.width:1,scaleY:it.scaleY!==1?wt.rect.height*it.scaleY/tt.rect.height:1},$n=Zr({x:it.x-nn.x,y:it.y-nn.y},fn),In=Je(ui(Zr({},ht),{active:wt,dragOverlay:tt,transform:{initial:it,final:$n}})),[Aa]=In,va=In[In.length-1];if(JSON.stringify(Aa)===JSON.stringify(va))return;const Fa=Se==null?void 0:Se(Zr({active:wt,dragOverlay:tt},ht)),Wn=tt.node.animate(In,{duration:Pe,easing:Oe,fill:"forwards"});return new Promise(on=>{Wn.onfinish=()=>{Fa==null||Fa(),on()}})}}let si=0;function zi(ce){return useMemo(()=>{if(ce!=null)return si++,si},[ce])}const jr=null},32339:function(ft,st,ee){"use strict";ee.d(st,{DL:function(){return ie}});var x=ee(24285);function de(Te){return ze=>{let{transform:Be}=ze;return ui(Zr({},Be),{x:Math.ceil(Be.x/Te)*Te,y:Math.ceil(Be.y/Te)*Te})}}const pe=Te=>{let{transform:ze}=Te;return ui(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 ui(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 ui(Zr({},me),{x:me.x+a-Be.width/2,y:me.y+y-Be.height/2})}return me}},45587:function(ft,st,ee){"use strict";ee.d(st,{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 lt=He.slice();return lt.splice(qe<0?lt.length+qe:qe,0,lt.splice(Ke,1)[0]),lt}function we(He,Ke,qe){const lt=He.slice();return lt[Ke]=He[qe],lt[qe]=He[Ke],lt}function ke(He,Ke){return He.reduce((qe,lt,mt)=>{const Vt=Ke.get(lt);return Vt&&(qe[mt]=Vt),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:lt,activeIndex:mt,overIndex:Vt,index:cn}=He;const rt=(Ke=qe[mt])!=null?Ke:lt;if(!rt)return null;const yt=Be(qe,cn,mt);if(cn===mt){const Lt=qe[Vt];return Lt?Zr({x:mt<Vt?Lt.left+Lt.width-(rt.left+rt.width):Lt.left-rt.left,y:0},Te):null}return cn>mt&&cn<=Vt?Zr({x:-rt.width-yt,y:0},Te):cn<mt&&cn>=Vt?Zr({x:rt.width+yt,y:0},Te):Zr({x:0,y:0},Te)};function Be(He,Ke,qe){const lt=He[Ke],mt=He[Ke-1],Vt=He[Ke+1];return!lt||!mt&&!Vt?0:qe<Ke?mt?lt.left-(mt.left+mt.width):Vt.left-(lt.left+lt.width):Vt?Vt.left-(lt.left+lt.width):lt.left-(mt.left+mt.width)}const me=He=>{let{rects:Ke,activeIndex:qe,overIndex:lt,index:mt}=He;const Vt=De(Ke,lt,qe),cn=Ke[mt],rt=Vt[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:lt,overIndex:mt}=He,Vt,cn;return qe===Ke&&(Vt=lt[qe],cn=lt[mt]),qe===mt&&(Vt=lt[qe],cn=lt[Ke]),!cn||!Vt?null:{x:cn.left-Vt.left,y:cn.top-Vt.top,scaleX:cn.width/Vt.width,scaleY:cn.height/Vt.height}},a={scaleX:1,scaleY:1},y=He=>{var Ke;let{activeIndex:qe,activeNodeRect:lt,index:mt,rects:Vt,overIndex:cn}=He;const rt=(Ke=Vt[qe])!=null?Ke:lt;if(!rt)return null;if(mt===qe){const Lt=Vt[cn];return Lt?Zr({x:0,y:qe<cn?Lt.top+Lt.height-(rt.top+rt.height):Lt.top-rt.top},a):null}const yt=b(Vt,mt,qe);return mt>qe&&mt<=cn?Zr({x:0,y:-rt.height-yt},a):mt<qe&&mt>=cn?Zr({x:0,y:rt.height+yt},a):Zr({x:0,y:0},a)};function b(He,Ke,qe){const lt=He[Ke],mt=He[Ke-1],Vt=He[Ke+1];return lt?qe<Ke?mt?lt.top-(mt.top+mt.height):Vt?Vt.top-(lt.top+lt.height):0:Vt?Vt.top-(lt.top+lt.height):mt?lt.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:lt,strategy:mt=me,disabled:Vt=!1}=He;const{active:cn,dragOverlay:rt,droppableRects:yt,over:Lt,measureDroppableContainers:ct}=(0,de.Cj)(),Ft=(0,pe.Ld)(E,qe),jt=rt.rect!==null,_e=(0,x.useMemo)(()=>lt.map(Et=>typeof Et=="object"&&"id"in Et?Et.id:Et),[lt]),Sn=cn!=null,wn=cn?_e.indexOf(cn.id):-1,ha=Lt?_e.indexOf(Lt.id):-1,Mn=(0,x.useRef)(_e),at=!We(_e,Mn.current),ut=ha!==-1&&wn===-1||at,dt=Me(Vt);(0,pe.LI)(()=>{at&&Sn&&ct(_e)},[at,_e,Sn,ct]),(0,x.useEffect)(()=>{Mn.current=_e},[_e]);const At=(0,x.useMemo)(()=>({activeIndex:wn,containerId:Ft,disabled:dt,disableTransforms:ut,items:_e,overIndex:ha,useDragOverlay:jt,sortedRects:ke(_e,yt),strategy:mt}),[wn,Ft,dt.draggable,dt.droppable,ut,_e,ha,yt,jt,mt]);return x.createElement(z.Provider,{value:At},Ke)}const ne=He=>{let{id:Ke,items:qe,activeIndex:lt,overIndex:mt}=He;return De(qe,lt,mt).indexOf(Ke)},re=He=>{let{containerId:Ke,isSorting:qe,wasDragging:lt,index:mt,items:Vt,newIndex:cn,previousItems:rt,previousContainerId:yt,transition:Lt}=He;return!Lt||!lt||rt!==Vt&&mt===cn?!1:qe?!0:cn!==mt&&Ke===yt},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:lt,rect:mt}=He;const[Vt,cn]=(0,x.useState)(null),rt=(0,x.useRef)(qe);return(0,pe.LI)(()=>{if(!Ke&&qe!==rt.current&<.current){const yt=mt.current;if(yt){const Lt=(0,de.VK)(lt.current,{ignoreTransform:!0}),ct={x:yt.left-Lt.left,y:yt.top-Lt.top,scaleX:yt.width/Lt.width,scaleY:yt.height/Lt.height};(ct.x||ct.y)&&cn(ct)}}qe!==rt.current&&(rt.current=qe)},[Ke,qe,lt,mt]),(0,x.useEffect)(()=>{Vt&&cn(null)},[Vt]),Vt}function be(He){let{animateLayoutChanges:Ke=re,attributes:qe,disabled:lt,data:mt,getNewIndex:Vt=ne,id:cn,strategy:rt,resizeObserverConfig:yt,transition:Lt=ae}=He;const{items:ct,containerId:Ft,activeIndex:jt,disabled:_e,disableTransforms:Sn,sortedRects:wn,overIndex:ha,useDragOverlay:Mn,strategy:at}=(0,x.useContext)(z),ut=ye(lt,_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:Qt,isOver:Ot,setNodeRef:bt}=(0,de.Zj)({id:cn,data:At,disabled:ut.droppable,resizeObserverConfig:Zr({updateMeasurementsFor:Et},yt)}),{active:rn,activatorEvent:Xt,activeNodeRect:$e,attributes:Re,setNodeRef:Ln,listeners:xe,isDragging:je,over:Ht,setActivatorNodeRef:et,transform:Ue}=(0,de.O1)({id:cn,data:At,attributes:Zr(Zr({},ve),qe),disabled:ut.draggable}),Ct=(0,pe.HB)(bt,Ln),Pt=!!rn,Zt=Pt&&!Sn&&ie(jt)&&ie(ha),vn=!Mn&&je,Nt=vn&&Zt?Ue:null,Tt=rt!=null?rt:at,St=Zt?Nt!=null?Nt:Tt({rects:wn,activeNodeRect:$e,activeIndex:jt,overIndex:ha,index:dt}):null,en=ie(jt)&&ie(ha)?Vt({id:cn,items:ct,activeIndex:jt,overIndex:ha}):dt,Gt=rn==null?void 0:rn.id,mn=(0,x.useRef)({activeId:Gt,items:ct,newIndex:en,containerId:Ft}),Qn=ct!==mn.current.items,xn=Ke({active:rn,containerId:Ft,isDragging:je,isSorting:Pt,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}),Un=Ce({disabled:!xn,index:dt,node:Qt,rect:gt});return(0,x.useEffect)(()=>{Pt&&mn.current.newIndex!==en&&(mn.current.newIndex=en),Ft!==mn.current.containerId&&(mn.current.containerId=Ft),ct!==mn.current.items&&(mn.current.items=ct)},[Pt,en,Ft,ct]),(0,x.useEffect)(()=>{if(Gt===mn.current.activeId)return;if(Gt&&!mn.current.activeId){mn.current.activeId=Gt;return}const Kt=setTimeout(()=>{mn.current.activeId=Gt},50);return()=>clearTimeout(Kt)},[Gt]),{active:rn,activeIndex:jt,attributes:Re,data:At,rect:gt,index:dt,newIndex:en,items:ct,isOver:Ot,isSorting:Pt,isDragging:je,listeners:xe,node:Qt,overIndex:ha,over:Ht,setNodeRef:Ct,setActivatorNodeRef:et,setDroppableNodeRef:bt,setDraggableNodeRef:Ln,transform:Un!=null?Un:St,transition:pa()};function pa(){if(Un||Qn&&mn.current.newIndex===dt)return he;if(!(vn&&!(0,pe.vd)(Xt)||!Lt)&&(Pt||xn))return pe.ux.Transition.toString(ui(Zr({},Lt),{property:le}))}}function ye(He,Ke){var qe,lt;return typeof He=="boolean"?{draggable:He,droppable:!1}:{draggable:(qe=He==null?void 0:He.draggable)!=null?qe:Ke.draggable,droppable:(lt=He==null?void 0:He.droppable)!=null?lt: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],Qe=(He,Ke)=>{let{context:{active:qe,collisionRect:lt,droppableRects:mt,droppableContainers:Vt,over:cn,scrollableAncestors:rt}}=Ke;if(Ne.includes(He.code)){if(He.preventDefault(),!qe||!lt)return;const yt=[];Vt.getEnabled().forEach(Ft=>{if(!Ft||Ft!=null&&Ft.disabled)return;const jt=mt.get(Ft.id);if(jt)switch(He.code){case KeyboardCode.Down:lt.top<jt.top&&yt.push(Ft);break;case KeyboardCode.Up:lt.top>jt.top&&yt.push(Ft);break;case KeyboardCode.Left:lt.left>jt.left&&yt.push(Ft);break;case KeyboardCode.Right:lt.left<jt.left&&yt.push(Ft);break}});const Lt=closestCorners({active:qe,collisionRect:lt,droppableRects:mt,droppableContainers:yt,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=Vt.get(qe.id),jt=Vt.get(ct),_e=jt?mt.get(jt.id):null,Sn=jt==null?void 0:jt.node.current;if(Sn&&_e&&Ft&&jt){const ha=getScrollableAncestors(Sn).some((Et,gt)=>rt[gt]!==Et),Mn=Le(Ft,jt),at=Ge(Ft,jt),ut=ha||!Mn?{x:0,y:0}:{x:at?lt.width-_e.width:0,y:at?lt.height-_e.height:0},dt={x:_e.left,y:_e.top};return ut.x&&ut.y?dt:subtract(dt,ut)}}}};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,st,ee){"use strict";ee.d(st,{$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),Qe=0;Qe<Ae;Qe++)Ne[Qe]=arguments[Qe];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,Qe;return Ae?De(Ae)?Ae:we(Ae)&&(Ne=(Qe=Ae.ownerDocument)==null?void 0:Qe.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 Qe=arguments.length,Le=new Array(Qe),Ge=0;Ge<Qe;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)},[]),Qe=(0,x.useCallback)(()=>{Ae.current!==null&&(clearInterval(Ae.current),Ae.current=null)},[]);return[Ne,Qe]}function oe(Ae,Ne){Ne===void 0&&(Ne=[Ae]);const Qe=(0,x.useRef)(Ae);return ze(()=>{Qe.current!==Ae&&(Qe.current=Ae)},Ne),Qe}function a(Ae,Ne){const Qe=(0,x.useRef)();return(0,x.useMemo)(()=>{const Le=Ae(Qe.current);return Qe.current=Le,Le},[...Ne])}function y(Ae){const Ne=Be(Ae),Qe=(0,x.useRef)(null),Le=(0,x.useCallback)(Ge=>{Ge!==Qe.current&&(Ne==null||Ne(Ge,Qe.current)),Qe.current=Ge},[]);return[Qe,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 Qe=E[Ae]==null?0:E[Ae]+1;return E[Ae]=Qe,Ae+"-"+Qe},[Ae,Ne])}function te(Ae){return function(Ne){for(var Qe=arguments.length,Le=new Array(Qe>1?Qe-1:0),Ge=1;Ge<Qe;Ge++)Le[Ge-1]=arguments[Ge];return Le.reduce((He,Ke)=>{const qe=Object.entries(Ke);for(const[lt,mt]of qe){const Vt=He[lt];Vt!=null&&(He[lt]=Vt+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:Qe}=Ae.touches[0];return{x:Ne,y:Qe}}else if(Ae.changedTouches&&Ae.changedTouches.length){const{clientX:Ne,clientY:Qe}=Ae.changedTouches[0];return{x:Ne,y:Qe}}}return ae(Ae)?{x:Ae.clientX,y:Ae.clientY}:null}const Ce=Object.freeze({Translate:{toString(Ae){if(!Ae)return;const{x:Ne,y:Qe}=Ae;return"translate3d("+(Ne?Math.round(Ne):0)+"px, "+(Qe?Math.round(Qe):0)+"px, 0)"}},Scale:{toString(Ae){if(!Ae)return;const{scaleX:Ne,scaleY:Qe}=Ae;return"scaleX("+Ne+") scaleY("+Qe+")"}},Transform:{toString(Ae){if(Ae)return[Ce.Translate.toString(Ae),Ce.Scale.toString(Ae)].join(" ")}},Transition:{toString(Ae){let{property:Ne,duration:Qe,easing:Le}=Ae;return Ne+" "+Qe+"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,st){"use strict";st.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,st){"use strict";st.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,st){"use strict";st.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,st){"use strict";st.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,st){"use strict";st.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,st,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"}));st.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI+PHBhdGggZmlsbD0iI0Y3QjUwMCIgZD0iTTcgNGMzLjg5OSAwIDcgMy4xNDEgNyA3cy0zLjEwMSA3LTcgNy03LTMuMTQxLTctNyAzLjEwMS03IDctN1ptMSAzSDYuMzk1YTMuNTAxIDMuNTAxIDAgMCAxLS44NTcgMS4yNDVjLS4zMi4yOTQtLjc1Mi41NTEtMS4yOTcuNzcyTDQgOS4xMDlWMTAuOWMuNDQ4LS4xNTQuODItLjMxNSAxLjExNy0uNDgzLjIyMi0uMTI2LjQ1LS4yODIuNjg1LS40NjZsLjIzNi0uMTk0VjE1SDhWN1pNNC44MTIgMGMuMTc1IDAgLjM1LjE2LjQzOC4zMThsMS4zMTMgMi4zMDlzLTIuOC4xNi00LjQ2MyAxLjY3MkwuMDg4LjcxNkMwIC42MzYgMCAuNTU3IDAgLjQ3OCAwIC4xNTkuMjYzIDAgLjUyNSAwWm04LjY2MyAwYy4yNjMgMCAuNTI1LjIzOS41MjUuNDc4IDAgLjA4IDAgLjE1OS0uMDg4LjIzOEwxMS45IDQuMjJjLTEuNjYyLTEuNDMzLTQuNDYzLTEuNTkyLTQuNDYzLTEuNTkyTDguNzUuMzE4QzguNzUuMTYgOC45MjUgMCA5LjE4OCAwWiIvPjwvc3ZnPg=="},37752:function(ft,st,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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4xNzUgMCAuMzUuMTYuNDM3LjMxOGwxLjMxMyAyLjMwOXMtMi44LjE2LTQuNDYzIDEuNjcyTC4wODguNzE2QzAgLjYzNiAwIC41NTcgMCAuNDc4IDAgLjE1OS4yNjMgMCAuNTI1IDBabTguNjYyIDBjLjI2MyAwIC41MjUuMjM5LjUyNS40NzggMCAuMDggMCAuMTU5LS4wODguMjM4TDExLjkgNC4yMmMtMS42NjItMS40MzMtNC40NjMtMS41OTItNC40NjMtMS41OTJMOC43NS4zMThDOC43NS4xNiA4LjkyNSAwIDkuMTg4IDBaIi8+PC9zdmc+"},33648:function(ft,st,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"}));st.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI+PHBhdGggZmlsbD0iI0QwOUYxOCIgZD0iTTcgNGMzLjg5OSAwIDcgMy4xNDEgNyA3cy0zLjEwMSA3LTcgNy03LTMuMTQxLTctNyAzLjEwMS03IDctN1ptLS4wNjIgM2MtLjgyNiAwLTEuNDY0LjE3Mi0xLjkxNS41MTctLjQuMzA3LS42ODYuNzMzLS44NTYgMS4yNzhsLS4wNTguMjEgMS45MDguMzY0Yy4wNTItLjM4My4xNTMtLjY1MS4zMDItLjgwNGEuNzcyLjc3MiAwIDAgMSAuNTgtLjIzYy4yMyAwIC40MTIuMDcuNTQ0LjIxMS4xMzMuMTQuMTk5LjMzLjE5OS41NjVhLjg4Ljg4IDAgMCAxLS4yNjUuNjM4Ljg5Ljg5IDAgMCAxLS42NjIuMjcgMS4zNSAxLjM1IDAgMCAxLS4xNTgtLjAxMmwtLjEwNC0uMDE1LS4xMDUgMS41MzZjLjI3OC0uMDg1LjQ5Ni0uMTI3LjY1NC0uMTI3LjI5OCAwIC41MzMuMDk5LjcwNy4yOTYuMTczLjE5Ny4yNi40NzUuMjYuODMzIDAgLjM1Mi0uMDkuNjM0LS4yNy44NDVhLjg1Mi44NTIgMCAwIDEtLjY3Ny4zMTYuODYyLjg2MiAwIDAgMS0uNjM2LS4yNWMtLjE0My0uMTQ0LS4yNTQtLjM4NC0uMzMzLS43MjNsLS4wMzYtLjE3N0w0IDEyLjgyNmMuMTMyLjQ4Mi4zMjEuODgyLjU2NyAxLjIuMjQ2LjMxOS41Ni41Ni45NDIuNzI2LjM4MS4xNjUuOTAyLjI0OCAxLjU2My4yNDguNjc3IDAgMS4yMjQtLjExMiAxLjY0LS4zMzUuNDE2LS4yMjMuNzM1LS41NDIuOTU2LS45NTUuMjIxLS40MTQuMzMyLS44NDUuMzMyLTEuMjk2IDAtLjM1OS0uMDY3LS42NjctLjItLjkyNmExLjYzMyAxLjYzMyAwIDAgMC0uNTYzLS42MjVjLS4xNDktLjA5OS0uMzYzLS4xODUtLjY0NC0uMjU5LjM0Ny0uMjA0LjYwNi0uNDQxLjc3OC0uNzEyYTEuNjYgMS42NiAwIDAgMCAuMjU3LS45MDggMS44MiAxLjgyIDAgMCAwLS42MzQtMS40MkM4LjU3MSA3LjE4OSA3Ljg4NiA3IDYuOTM4IDdaTTQuODEzIDBjLjE3NSAwIC4zNS4xNy40MzcuMzM4bDEuMzEzIDIuNDUzcy0yLjguMTctNC40NjMgMS43NzZMLjA4OC43NjFDMCAuNjc3IDAgLjU5MiAwIC41MDcgMCAuMTcuMjYzIDAgLjUyNSAwWm04LjY2MiAwYy4yNjMgMCAuNTI1LjI1NC41MjUuNTA3IDAgLjA4NSAwIC4xNy0uMDg4LjI1NEwxMS45IDQuNDgzQzEwLjIzOCAyLjk2IDcuNDM3IDIuNzkgNy40MzcgMi43OUw4Ljc1LjMzOEM4Ljc1LjE3IDguOTI1IDAgOS4xODggMFoiLz48L3N2Zz4="},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 st=[];function ee(oe,a){var y=st.pop();return y===void 0?new go.Point(oe,a):(y.x=oe,y.y=a,y)}function x(){var oe=st.pop();return oe===void 0?new go.Point:oe}function de(oe){st.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,Qe=y*be+E*ye,Le=b*be+z*ye,Ge=E*be+te*ye,He=z*be+ne*ye,Ke=Ae*be+Qe*ye,qe=Ne*be+Le*ye,lt=Qe*be+Ge*ye,mt=Le*be+He*ye,Vt=Ke*be+lt*ye,cn=qe*be+mt*ye;ae.x=Ae,ae.y=Ne,le.x=Ke,le.y=qe,he.x=Vt,he.y=cn,ve.x=lt,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(),Qe=x();De(te,ne+z,te-E,ne+z,te-z,ne+E,te-z,ne,.42,Ae,Ne,Qe,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,Qe.x*a,Qe.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,Qe.x*a,Qe.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(Qe),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={},st="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":st=Me.toFixed(1);break;case"string":Me.match(new RegExp("^[0-9]\\.[0-9]+$"))?st=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,yt){ie=rt,mt(rt,yt)},ft.setJavaCodebase=ft.setJavaCodebaseVersion=ft.isCompiledInstalled=ft.setPreCompiledScriptPath=ft.setPreCompiledResourcePath=function(){},ft.setHTML5CodebaseVersion=function(rt,yt){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,lt(rt,yt)},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 yt="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)$/)?yt=_e:Lt=arguments[jt]):typeof _e=="boolean"?Ft=_e:_e instanceof HTMLElement&&(ct=_e)}Sn();function Sn(){if(!we){setTimeout(Sn,200);return}yt=Ke(yt);var wn=ct||document.getElementById(Lt);if(!wn){console.log("possibly bug on ajax loading? ");return}if(ft.removeExistingApplet(wn,!1),ee.width===void 0&&wn.clientWidth&&(ee.width=wn.clientWidth),ee.height===void 0&&wn.clientHeight&&(ee.height=wn.clientHeight),!(ee.width&&ee.height)&&yt==="html5"&&(delete ee.width,delete ee.height),me=yt,yt==="screenshot")Ne(wn,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(wn,ee,Ft,yt)):Ae(wn,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 yt=function(jt){var _e=JSON.parse(jt),Sn=function(Mn){return Mn.type=="G"||Mn.type=="E"},wn=_e.elements?_e.elements.filter(Sn)[0]:_e;if(!wn||!wn.url){Lt();return}ee.fileName=wn.url,ve(wn.settings||{}),x.is3D=!0;var ha="https://www.geogebra.org/images/";ft.setPreviewImage(b||wn.previewUrl,ha+"GeoGebra_loading.png",ha+"applet_play.png"),rt()},Lt=function(){ee.onError&&ee.onError(),Vt("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),yt,Lt)};function ve(rt){var yt=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Lt){rt[Lt]=!!rt[Lt]}),yt.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,yt,Lt){var ct=new XMLHttpRequest;ct.open("GET",rt),ct.onload=function(){yt(ct.responseText)},ct.onerror=Lt,ct.send()}ft.isHTML5Installed=function(){return!0},ft.getLoadedAppletType=function(){return me},ft.setPreviewImage=function(rt,yt,Lt){b=rt,E=yt,z=Lt},ft.removeExistingApplet=function(rt,yt){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"?yt?(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,Sn=window[_e];Sn&&typeof Sn.getBase64=="function"&&(Sn.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,yt,Lt){var ct=document.createElement("param");ct.setAttribute("name",yt),ct.setAttribute("value",Lt),rt.appendChild(ct)},ye=function(rt){return rt&&rt!=="false"},Ae=function(rt,yt,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=yt.width,_e=yt.height;if(yt.disableAutoScale=yt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():yt.disableAutoScale,yt.width!==void 0)if(re(oe)<=4.4)ye(yt.showToolBar)&&(yt.height-=7),ye(yt.showAlgebraInput)&&(yt.height-=37),yt.width<605&&ye(yt.showToolBar)&&(yt.width=605,jt=605);else{var Sn=100;(ye(yt.showToolBar)||ye(yt.showMenuBar))&&(yt.hasOwnProperty("customToolBar")&&(yt.customToolbar=yt.customToolBar),Sn=ye(yt.showMenuBar)?245:155),jt<Sn&&(yt.width=Sn,jt=Sn)}Ft.style.border="none",Ft.style.display="inline-block";for(var wn in yt)yt.hasOwnProperty(wn)&&wn!=="appletOnLoad"&&Ft.setAttribute("data-param-"+wn,yt[wn]);te&&Ft.setAttribute("data-param-fontscssurl",te),ft.resize=function(){GGBAppletUtils.responsiveResize(rt,yt)},window.addEventListener("resize",function(Xt){ft.resize()});var ha=typeof yt.appletOnLoad=="function"?yt.appletOnLoad:function(){};if(!Lt&&yt.width!==void 0){yt.hasOwnProperty("showSplash")||Ft.setAttribute("data-param-showSplash","false");var Mn=rt.querySelector(".applet_scaler.prerender"),at=Mn!==null;if(at)var ut=Mn.querySelector(".ggb_preview");else{var ut=He(jt,_e,yt.borderColor,!1);Mn=document.createElement("div"),Mn.className="applet_scaler",Mn.style.position="relative",Mn.style.display="block",Mn.style.width=jt+"px",Mn.style.height=_e+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Mn,"66%"),re(oe)>=5?(yt.appletOnLoad=function(Xt){var $e=rt.querySelector(".ggb_preview");$e&&$e.parentNode.removeChild($e),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Mn),window.GGBT_wsf_view&&$(window).trigger("resize"),ha(Xt)},at||Mn.appendChild(ut)):Ft.appendChild(ut),Mn.appendChild(Ft),at||rt.appendChild(Mn),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),yt.appletOnLoad=function(Xt){ft.resize(),ha(Xt)}}function At(Xt,$e){$e&&typeof $e.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Xt,$e.appletOnLoad):renderGGBElement(Xt),Vt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",$e)}function Et(Xt,$e){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Xt,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&&(Xt.className+=" geogebraweb")):At(Xt,$e)}if(ct){scriptLoadStarted=!0;for(var gt=0;gt<Ft.childNodes.length;gt++){var Qt=Ft.childNodes[gt].tagName;Qt==="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"),rn=function(){Et(Ft,yt)};bt.src=ze+a,ggbHTML5LoadedCodebaseIsWebSimple=y,ggbHTML5LoadedCodebaseVersion=oe,ggbHTML5LoadedScript=bt.src,Vt("GeoGebra HTML5 codebase loaded: '"+ze+"'.",yt),!ie&&(!ke||ke=="5.0")?(y?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),rn()):ze.requirejs?__webpack_require__.e(12).then(function(){var Xt=[__webpack_require__(12)];rn.apply(null,Xt)}.bind(this)).catch(__webpack_require__.oe):(bt.onload=rn,rt.appendChild(bt))}else Et(Ft,yt);yt.height=_e,yt.width=jt},Ne=function(rt,yt,Lt){var ct=He(yt.width,yt.height,yt.borderColor,Lt),Ft=document.createElement("div");Ft.style.position="relative",Ft.style.display="block",Ft.style.width=yt.width+"px",Ft.style.height=yt.height+"px",Ft.className="applet_screenshot applet_scaler"+(Lt?" applet_screenshot_play":""),Ft.appendChild(ct);var jt=GGBAppletUtils.getScale(yt,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=yt.width+"px",Ft.style.height=yt.height+"px",Ft.parentNode.style.width=yt.width*jt+"px",Ft.parentNode.style.height=yt.height*jt+"px"),ft.resize=function(){Qe(rt,ct,Ft,Lt)},window.addEventListener("resize",function(_e){ft.resize()}),ft.resize()};function Qe(rt,yt,Lt,ct){if(rt.contains(yt)){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,yt){yt.appendChild(rt)};var Le=function(rt,yt,Lt,ct){Ne(rt,yt,!0);for(var Ft=function(){var Sn=[];for(_e=0;_e<rt.childNodes.length;_e++)Sn.push(rt.childNodes[_e]);if(window.GGBT_wsf_view){var wn=window.GGBT_wsf_view.renderFullScreen(rt,yt.id),ha=document.getElementById("fullscreencontainer"),Mn=jQuery(rt).find(".fullscreencontent");Mn.length>0?(wn.remove(),Mn.attr("id","fullscreencontent").show(),jQuery(ha).append(Mn),window.dispatchEvent(new Event("resize"))):Ae(wn,yt,!1),window.GGBT_wsf_view.launchFullScreen(ha)}else me=ct,Ae(rt,yt,!1);if(!window.GGBT_wsf_view)for(_e=0;_e<Sn.length;_e++)rt.removeChild(Sn[_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 yt='.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=yt:Lt.appendChild(document.createTextNode(yt)),document.getElementsByTagName("head")[0].appendChild(Lt)}return rt},He=function(rt,yt,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=yt-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 Sn,wn,ha;if(!ct){Sn=document.createElement("img"),Sn.style.position="absolute",Sn.style.zIndex="1001",Sn.style.opacity=1,_e.style.opacity=.3,wn=360,wn>rt/4*3&&(wn=rt/4*3),ha=wn/5.8,Sn.setAttribute("src",E),Sn.setAttribute("width",wn),Sn.setAttribute("height",ha);var Mn=(rt-wn)/2,at=(yt-ha)/2;Sn.style.left=Mn+"px",Sn.style.top=at+"px",Ft.appendChild(Sn)}}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"],lt=function(rt,yt){if(oe=rt,yt){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 Sn in qe)if(oe.slice(qe[Sn].length*-1)===qe[Sn]||oe.slice((qe[Sn].length+1)*-1)===qe[Sn]+"/"){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,yt){if(rt.requirejs){ze=rt;return}rt.slice(-1)!=="/"&&(rt+="/"),ze=rt,yt===null&&(yt=rt.indexOf("http")===-1),Be=yt,a="web.nocache.js",y=!1;var Lt=ze.split("/");Lt.length>1&&(!yt&&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."),lt("5.0",yt))},Vt=function(rt,yt){window.console&&window.console.log&&(!yt||typeof yt.showLogging=="undefined"||yt.showLogging&&yt.showLogging!=="false")&&console.log(rt)};ee.material_id!==void 0?he(cn):cn();function cn(){var rt=st;ke!==null?rt=ke:parseFloat(rt)<5&&(rt="5.0"),lt(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 st(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",st(Me,We)):(st(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:st}}();__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,st){}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 st=s[L].bindings;s[L].bindings=function(){for(var ee=st?st():{},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 st=document.compatMode==U?V:W;t.write(st+X),t.close()}}}function w(ft){function st(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)}st(function(){ee(ft)})}webModule.__startLoadingFragment=function(ft){return C(ft)},webModule.__installRunAsyncCode=function(ft){var st=u(),ee=st.body,x=st.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 st=c[ft];return st==null?null:st},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 st(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=st(De),De}function C(ft){return ft.match(/^\//)||ft.match(/^[a-zA-Z]+:\/\//)?ft:webModule.__moduleBase+ft}function D(){var ft=[],st=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&&(st=parseInt(pe.substring(De+P),$),pe=pe.substring(O,De))}catch(we){}return webModule.__softPermutationId=st,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,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";ee.d(st,{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),[Qe,Le]=(0,x.useState)(!1),[Ge,He]=(0,x.useState)(!1),[Ke,qe]=(0,x.useState)([]),[lt,mt]=(0,x.useState)([]),[Vt,cn]=(0,x.useState)([]),[rt,yt]=(0,x.useState)([]),[Lt,ct]=(0,x.useState)([]),[Ft,jt]=(0,x.useState)([]),[_e,Sn]=(0,x.useState)([]),[wn,ha]=(0,x.useState)([]),[Mn,at]=(0,x.useState)([]);(0,x.useEffect)(()=>{le?ut():At()},[le]);const ut=()=>b(void 0,null,function*(){Ne(!0);const Et=yield(0,a.oR)(he[0],{course_id:ve});He(Et.no_group),Ce?(Sn(Et.all_course_groups),ha(Et.all_course_groups)):(yt(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?Mn.length===0:Vt.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?Mn:Vt,end_time:gt,late_group_ids:Ce?Mn: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:Qe,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:wn,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:lt,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,st,ee){"use strict";ee.d(st,{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(){Qe()},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)})},Qe=()=>{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,st,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")))});st.Z=Te},39717:function(ft,st,ee){"use strict";ee.d(st,{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"))};st.Z=ie},96332:function(ft,st,ee){"use strict";ee.d(st,{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,Qe)=>x.createElement("a",{href:`/shixuns/${Ne.identifier}/challenges`,target:"_blank"},"\u300A",Ne==null?void 0:Ne.name,"\u300B",Qe+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,Qe)=>x.createElement("a",{href:`/shixuns/${Ne.identifier}/challenges`,target:"_blank"},"\u300A",Ne==null?void 0:Ne.name,"\u300B",Qe+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,st,ee){"use strict";ee.d(st,{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"]};st.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,st,ee){"use strict";ee.d(st,{Z:function(){return Na}});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:Xe="",className:Bt,showTextOnly:xt,showLines:Tn,style:pn={}})=>{const _n=(0,x.useMemo)(()=>"",[Xe]);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=(Xe,Bt,xt)=>Bt in Xe?oe(Xe,Bt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):Xe[Bt]=xt,ne=(Xe,Bt)=>{for(var xt in Bt||(Bt={}))E.call(Bt,xt)&&te(Xe,xt,Bt[xt]);if(b)for(var xt of b(Bt))z.call(Bt,xt)&&te(Xe,xt,Bt[xt]);return Xe},re=(Xe,Bt)=>a(Xe,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:Xe,title:Bt,icon:xt,actionName:Tn,className:pn="",children:_n}){function Qr(){Xe(Tn)}return me.createElement("a",{title:Bt,className:pn,onClick:Qr},me.createElement("i",{className:`${xt}`}),_n)}var he=({watch:Xe,showNullButton:Bt,showNullProgramButton:xt,onActionCallback:Tn,fullScreen:pn,insertTemp:_n,hidetoolBar:Qr,extraUse:Ra})=>{const br=[...ae,{title:`${Xe?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Xe?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return me.createElement("ul",{className:"markdown-toolbar-container"},!Qr&&br.map((Vr,mo)=>me.createElement("li",{key:mo},Vr.actionName?me.createElement(le,re(ne({},Vr),{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"))),Ra&&me.createElement("li",null,Ra),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,Qe=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,Ke=(Xe,Bt,xt)=>Bt in Xe?Ae(Xe,Bt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):Xe[Bt]=xt,qe=(Xe,Bt)=>{for(var xt in Bt||(Bt={}))Ge.call(Bt,xt)&&Ke(Xe,xt,Bt[xt]);if(Le)for(var xt of Le(Bt))He.call(Bt,xt)&&Ke(Xe,xt,Bt[xt]);return Xe},lt=(Xe,Bt)=>Ne(Xe,Qe(Bt));const mt={labelCol:{span:4},wrapperCol:{span:20}};var Vt=({callback:Xe,onCancel:Bt})=>{function xt(Tn){Xe(Tn)}return x.createElement(Ce.default,lt(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),yt=ee(14446),Lt=ee(71230),ct=ee(63205),Ft=ee(67294),jt=({callback:Xe,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(yt.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=>{Xe({src:_n.url})},onClose:Bt})))},_e=ee(23495);function Sn(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Sn,go.CommandHandler),Sn.prototype.canAlignSelection=function(){var Xe=this.diagram;return!(Xe===null||Xe.isReadOnly||Xe.isModelReadOnly||Xe.selection.count<2)},Sn.prototype.alignLeft=function(){var Xe=this.diagram;Xe.startTransaction("aligning left");var Bt=1/0;Xe.selection.each(function(xt){xt instanceof go.Link||(Bt=Math.min(xt.position.x,Bt))}),Xe.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(Bt,xt.position.y))}),Xe.commitTransaction("aligning left")},Sn.prototype.alignRight=function(){var Xe=this.diagram;Xe.startTransaction("aligning right");var Bt=-1/0;Xe.selection.each(function(xt){if(!(xt instanceof go.Link)){var Tn=xt.actualBounds.x+xt.actualBounds.width;Bt=Math.max(Tn,Bt)}}),Xe.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(Bt-xt.actualBounds.width,xt.position.y))}),Xe.commitTransaction("aligning right")},Sn.prototype.alignTop=function(){var Xe=this.diagram;Xe.startTransaction("alignTop");var Bt=1/0;Xe.selection.each(function(xt){xt instanceof go.Link||(Bt=Math.min(xt.position.y,Bt))}),Xe.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(xt.position.x,Bt))}),Xe.commitTransaction("alignTop")},Sn.prototype.alignBottom=function(){var Xe=this.diagram;Xe.startTransaction("aligning bottom");var Bt=-1/0;Xe.selection.each(function(xt){if(!(xt instanceof go.Link)){var Tn=xt.actualBounds.y+xt.actualBounds.height;Bt=Math.max(Tn,Bt)}}),Xe.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(xt.actualBounds.x,Bt-xt.actualBounds.height))}),Xe.commitTransaction("aligning bottom")},Sn.prototype.alignCenterX=function(){var Xe=this.diagram,Bt=Xe.selection.first();if(Bt){Xe.startTransaction("aligning Center X");var xt=Bt.actualBounds.x+Bt.actualBounds.width/2;Xe.selection.each(function(Tn){Tn instanceof go.Link||Tn.move(new go.Point(xt-Tn.actualBounds.width/2,Tn.actualBounds.y))}),Xe.commitTransaction("aligning Center X")}},Sn.prototype.alignCenterY=function(){var Xe=this.diagram,Bt=Xe.selection.first();if(Bt){Xe.startTransaction("aligning Center Y");var xt=Bt.actualBounds.y+Bt.actualBounds.height/2;Xe.selection.each(function(Tn){Tn instanceof go.Link||Tn.move(new go.Point(Tn.actualBounds.x,xt-Tn.actualBounds.height/2))}),Xe.commitTransaction("aligning Center Y")}},Sn.prototype.alignColumn=function(Xe){var Bt=this.diagram;Bt.startTransaction("align Column"),Xe===void 0&&(Xe=0),Xe=parseFloat(Xe);var xt=new Array;Bt.selection.each(function(Ra){Ra instanceof go.Link||xt.push(Ra)});for(var Tn=0;Tn<xt.length-1;Tn++){var pn=xt[Tn],_n=pn.actualBounds.y+pn.actualBounds.height+Xe,Qr=xt[Tn+1];Qr.move(new go.Point(pn.actualBounds.x,_n))}Bt.commitTransaction("align Column")},Sn.prototype.alignRow=function(Xe){Xe===void 0&&(Xe=0),Xe=parseFloat(Xe);var Bt=this.diagram;Bt.startTransaction("align Row");var xt=new Array;Bt.selection.each(function(Ra){Ra instanceof go.Link||xt.push(Ra)});for(var Tn=0;Tn<xt.length-1;Tn++){var pn=xt[Tn],_n=pn.actualBounds.x+pn.actualBounds.width+Xe,Qr=xt[Tn+1];Qr.move(new go.Point(_n,pn.actualBounds.y))}Bt.commitTransaction("align Row")},Sn.prototype.canRotate=function(Xe){var Bt=this.diagram;return!(Bt===null||Bt.isReadOnly||Bt.isModelReadOnly||Bt.selection.count<1)},Sn.prototype.rotate=function(Xe){Xe===void 0&&(Xe=90);var Bt=this.diagram;Bt.startTransaction("rotate "+Xe.toString());var Bt=this.diagram;Bt.selection.each(function(xt){xt instanceof go.Link||xt instanceof go.Group||(xt.angle+=Xe)}),Bt.commitTransaction("rotate "+Xe.toString())},Sn.prototype.pullToFront=function(){var Xe=this.diagram;Xe.startTransaction("pullToFront");var Bt=new go.Map;Xe.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)}),Xe.selection.each(function(xt){Sn._assignZOrder(xt,Bt.get(xt.layer)+1)}),Xe.commitTransaction("pullToFront")},Sn.prototype.pushToBack=function(){var Xe=this.diagram;Xe.startTransaction("pushToBack");var Bt=new go.Map;Xe.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)}),Xe.selection.each(function(xt){Sn._assignZOrder(xt,Bt.get(xt.layer)-1-Sn._findGroupDepth(xt))}),Xe.commitTransaction("pushToBack")},Sn._assignZOrder=function(Xe,Bt,xt){xt===void 0&&(xt=Xe),Xe.layer===xt.layer&&(Xe.zOrder=Bt),Xe instanceof go.Group&&Xe.memberParts.each(function(Tn){Sn._assignZOrder(Tn,Bt+1,xt)})},Sn._findGroupDepth=function(Xe){if(Xe instanceof go.Group){var Bt=0;return Xe.memberParts.each(function(xt){Bt=Math.max(Bt,Sn._findGroupDepth(xt))}),Bt+1}else return 0},Sn.prototype.doKeyDown=function(){var Xe=this.diagram;if(Xe!==null){var Bt=Xe.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)}},Sn.prototype._getAllParts=function(){var Xe=new Array;return this.diagram.nodes.each(function(Bt){Xe.push(Bt)}),this.diagram.parts.each(function(Bt){Xe.push(Bt)}),Xe},Sn.prototype._arrowKeyMove=function(){var Xe=this.diagram,Bt=Xe.lastInput,xt=0,Tn=0;if(Bt.control||Bt.meta)xt=1,Tn=1;else if(Xe.grid!==null){var pn=Xe.grid.gridCellSize;Tn=pn.width,xt=pn.height}Xe.startTransaction("arrowKeyMove"),Xe.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))}),Xe.commitTransaction("arrowKeyMove")},Sn.prototype._arrowKeySelect=function(){var Xe=this.diagram,Bt=Xe.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:Xe.select(xt))},Sn.prototype._findNearestPartTowards=function(Xe){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,Qr=0;Qr<Tn.length;Qr++){var Ra=Tn[Qr];if(Ra!==Bt&&Ra.canSelect()){var br=Ra.actualBounds.center,Vr=xt.directionPoint(br),mo=this._angleCloseness(Vr,Xe);if(mo<=45){var Xn=xt.distanceSquaredPoint(br);Xn*=1+Math.sin(mo*Math.PI/180),Xn<pn&&(pn=Xn,_n=Ra)}}}return _n},Sn.prototype._angleCloseness=function(Xe,Bt){return Math.min(Math.abs(Bt-Xe),Math.min(Math.abs(Bt+360-Xe),Math.abs(Bt-360-Xe)))},Sn.prototype._arrowKeyTree=function(){var Xe=this.diagram,Bt=Xe.selection.first();if(Bt instanceof go.Node){var xt=Xe.lastInput;if(xt.key==="Right"){if(!Bt.isTreeLeaf)if(!Bt.isTreeExpanded)Xe.commandHandler.canExpandTree(Bt)&&Xe.commandHandler.expandTree(Bt);else{var Tn=this._sortTreeChildrenByY(Bt).first();Tn!==null&&Xe.select(Tn)}}else if(xt.key==="Left")if(!Bt.isTreeLeaf&&Bt.isTreeExpanded)Xe.commandHandler.canCollapseTree(Bt)&&Xe.commandHandler.collapseTree(Bt);else{var pn=Bt.findTreeParentNode();pn!==null&&Xe.select(pn)}else if(xt.key==="Up"){var pn=Bt.findTreeParentNode();if(pn!==null){var _n=this._sortTreeChildrenByY(pn),Qr=_n.indexOf(Bt);if(Qr>0){for(var Ra=_n.elt(Qr-1);Ra!==null&&Ra.isTreeExpanded&&!Ra.isTreeLeaf;){var br=this._sortTreeChildrenByY(Ra);Ra=br.last()}Ra!==null&&Xe.select(Ra)}else Xe.select(pn)}}else if(xt.key==="Down")if(Bt.isTreeExpanded&&!Bt.isTreeLeaf){var Tn=this._sortTreeChildrenByY(Bt).first();Tn!==null&&Xe.select(Tn)}else for(;Bt!==null;){var pn=Bt.findTreeParentNode();if(pn===null)break;var _n=this._sortTreeChildrenByY(pn),Qr=_n.indexOf(Bt);if(Qr<_n.length-1){Xe.select(_n.elt(Qr+1));break}else Bt=pn}var Vr=Xe.selection.first();Vr!==null&&Xe.scrollToRect(Vr.actualBounds)}},Sn.prototype._sortTreeChildrenByY=function(Xe){var Bt=new go.List().addAll(Xe.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},Sn.prototype.copyToClipboard=function(Xe){go.CommandHandler.prototype.copyToClipboard.call(this,Xe),this._lastPasteOffset.set(this.pasteOffset)},Sn.prototype.pasteFromClipboard=function(){var Xe=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Xe,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Xe},Object.defineProperty(Sn.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Xe){if(Xe!=="move"&&Xe!=="select"&&Xe!=="scroll"&&Xe!=="tree"&&Xe!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Xe);this._arrowKeyBehavior=Xe}}),Object.defineProperty(Sn.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Xe){if(!(Xe instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Xe);this._pasteOffset.set(Xe)}});var wn=Sn,ha=ee(18023),Mn=ee(15746),at=ee(33170),ut={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},dt=ee(67294),At=(Xe,Bt,xt)=>new Promise((Tn,pn)=>{var _n=br=>{try{Ra(xt.next(br))}catch(Vr){pn(Vr)}},Qr=br=>{try{Ra(xt.throw(br))}catch(Vr){pn(Vr)}},Ra=br=>br.done?Tn(br.value):Promise.resolve(br.value).then(_n,Qr);Ra((xt=xt.apply(Xe,Bt)).next())});function Et({onCancel:Xe,callback:Bt}){let xt=(0,x.useRef)(),Tn=(0,x.useRef)(),pn=(0,x.useRef)(),_n=(0,x.useRef)(!1);const Qr=(0,x.useRef)(!1),[Ra,br]=(0,x.useState)(0);function Vr(){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:oa=>{var Za=oa.diagram.commandHandler.addTopLevelParts(oa.diagram.selection,!0);Za||oa.diagram.currentTool.doCancel()},commandHandler:Xn(wn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:oa=>{var Za=oa.subject;Za.location=Za.location.copy().snapToGridPoint(oa.diagram.grid.gridOrigin,oa.diagram.grid.gridCellSize),setTimeout(()=>{oa.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:oa=>{var Za=oa.subject;setTimeout(()=>{oa.diagram.commandHandler.editTextBlock()})},LinkRelinked:oa=>{var Za=oa.parameter.part;Za.invalidateConnectedLinks();var mr=oa.subject;oa.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(oa,Za){var mr=(da,io)=>{da.handled=!0,da.diagram.model.commit(fr=>{var wo=io.part.adornedPart,So=new _e.E9().setRectSpot(wo.actualBounds,oa);So.subtract(wo.location),So.scale(2,2),So.x+=Math.sign(So.x)*130,So.y+=Math.sign(So.y)*130,So.add(wo.location),So.snapToGridPoint(da.diagram.grid.gridOrigin,da.diagram.grid.gridCellSize);var Ro=fr.copyNodeData(wo.data);fr.setGroupKeyForNodeData(Ro,fr.getGroupKeyForNodeData(wo.data)),fr.addNodeData(Ro);var Ni={from:wo.key,to:fr.getKeyForNodeData(Ro)};fr.addLinkData(Ni);var qo=da.diagram.findNodeForData(Ro);qo.location=So,da.diagram.select(qo),setTimeout(()=>{da.diagram.commandHandler.editTextBlock()},20)})};return Xn(_e.bn,{figure:Za,alignment:oa,alignmentFocus:oa.opposite(),width:oa.equals(_e.z6.Top)||oa.equals(_e.z6.Bottom)?25:18,height:oa.equals(_e.z6.Top)||oa.equals(_e.z6.Bottom)?18:25,fill:"orange",stroke:ur.white,strokeWidth:4,mouseEnter:(da,io)=>io.fill="dodgerblue",mouseLeave:(da,io)=>io.fill="orange",isActionable:!0,click:mr,contextClick:mr})}function Jt(oa){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:(Za,mr)=>mr.fill="dodgerblue",mouseLeave:(Za,mr)=>mr.fill="orange",click:(Za,mr)=>{Za.diagram.commandHandler.showContextMenu(mr.part.adornedPart)}},oa||{})}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"),Jt({alignment:new _e.z6(.75,0)}));function Ut(oa,Za){return(mr,da)=>{mr.handled=!0,mr.diagram.model.commit(io=>{io.set(da.part.adornedPart.data,oa,Za)})}}function dn(oa,Za){return Za||(Za="color"),Xn(_e.bn,{width:16,height:16,stroke:"lightgray",fill:oa,margin:1,background:"transparent",mouseEnter:(mr,da)=>da.stroke="dodgerblue",mouseLeave:(mr,da)=>da.stroke="lightgray",click:Ut(Za,oa),contextClick:Ut(Za,oa)})}function jn(){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 tn(){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 Yn(oa,Za){return Za||(Za="thickness"),Xn(_e.bn,"LineH",{width:16,height:16,strokeWidth:oa,margin:1,background:"transparent",mouseEnter:(mr,da)=>da.background="dodgerblue",mouseLeave:(mr,da)=>da.background="transparent",click:Ut(Za,oa),contextClick:Ut(Za,oa)})}function Pn(oa,Za){return Za||(Za="dash"),Xn(_e.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:oa,margin:1,background:"transparent",mouseEnter:(mr,da)=>da.background="dodgerblue",mouseLeave:(mr,da)=>da.background="transparent",click:Ut(Za,oa),contextClick:Ut(Za,oa)})}function ua(){return[Xn("ContextMenuButton",Xn(_e.s_,"Horizontal",Yn(1),Yn(2),Yn(3),Yn(4))),Xn("ContextMenuButton",Xn(_e.s_,"Horizontal",Pn(null),Pn([2,4]),Pn([4,4])))]}function Ha(oa,Za){return Za||(Za="figure"),Xn(_e.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:oa,margin:1,background:"transparent",mouseEnter:(mr,da)=>da.fill="dodgerblue",mouseLeave:(mr,da)=>da.fill="lightgray",click:Ut(Za,oa),contextClick:Ut(Za,oa)})}xt.current.nodeTemplate.contextMenu=Xn("ContextMenu",Xn("ContextMenuButton",Xn(_e.s_,"Horizontal",Ha("Rectangle"),Ha("RoundedRectangle"),Ha("Ellipse"),Ha("Diamond"))),Xn("ContextMenuButton",Xn(_e.s_,"Horizontal",Ha("Parallelogram2"),Ha("ManualOperation"),Ha("Procedure"),Ha("Cylinder1"))),Xn("ContextMenuButton",Xn(_e.s_,"Horizontal",Ha("Terminator"),Ha("CreateRequest"),Ha("Document"),Ha("TriangleDown"))),jn(),tn(),ua()),xt.current.groupTemplate=Xn(_e.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:_e.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(oa,Za)=>{var mr=Za.addMembers(Za.diagram.selection,!0);mr||Za.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})),Jt({alignment:_e.z6.TopRight,alignmentFocus:_e.z6.BottomRight})),xt.current.groupTemplate.contextMenu=Xn("ContextMenu",jn(),tn(),ua()),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",oa=>oa>=1?10:0),new _e.KX("toShortLength","dir",oa=>oa>=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",oa=>oa===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",oa=>oa>=1),new _e.KX("width","thickness",oa=>7+3*oa),new _e.KX("height","thickness",oa=>7+3*oa),new _e.KX("segmentOffset","thickness",oa=>new _e.E9(-15,4+1.5*oa))),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",oa=>oa===2),new _e.KX("width","thickness",oa=>7+3*oa),new _e.KX("height","thickness",oa=>7+3*oa),new _e.KX("segmentOffset","thickness",oa=>new _e.E9(-15,4+1.5*oa))),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)),Jt({alignmentFocus:new _e.z6(0,0,-6,-4)}));function ir(oa){return Xn(_e.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(oa+4).toString()+" H3"})}function Mr(oa){var Za="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return oa===0?Za="M0 0 M16 16 M0 8 L16 8":oa===2&&(Za="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Xn(_e.bn,{geometryString:Za,margin:2,background:"transparent",mouseEnter:(mr,da)=>da.background="dodgerblue",mouseLeave:(mr,da)=>da.background="transparent",click:Ut("dir",oa),contextClick:Ut("dir",oa)})}function Hr(oa){var Za=(mr,da)=>{mr.handled=!0,mr.diagram.model.commit(io=>{var fr=da.part.adornedPart;io.set(fr.data,oa?"toSpot":"fromSpot",_e.z6.stringify(_e.z6.AllSides)),(oa?fr.toNode:fr.fromNode).invalidateConnectedLinks()})};return Xn(_e.bn,{width:12,height:12,fill:"transparent",mouseEnter:(mr,da)=>da.background="dodgerblue",mouseLeave:(mr,da)=>da.background="transparent",click:Za,contextClick:Za})}function oo(oa,Za){var mr=0,da=_e.z6.RightSide;oa.equals(_e.z6.Top)?(mr=270,da=_e.z6.TopSide):oa.equals(_e.z6.Left)?(mr=180,da=_e.z6.LeftSide):oa.equals(_e.z6.Bottom)&&(mr=90,da=_e.z6.BottomSide),Za||(mr-=180);var io=(fr,wo)=>{fr.handled=!0,fr.diagram.model.commit(So=>{var Ro=wo.part.adornedPart;So.set(Ro.data,Za?"toSpot":"fromSpot",_e.z6.stringify(da)),(Za?Ro.toNode:Ro.fromNode).invalidateConnectedLinks()})};return Xn(_e.bn,{alignment:oa,alignmentFocus:oa.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:mr,background:"transparent",mouseEnter:(fr,wo)=>wo.background="dodgerblue",mouseLeave:(fr,wo)=>wo.background="transparent",click:io,contextClick:io})}xt.current.linkTemplate.contextMenu=Xn("ContextMenu",tn(),ua(),Xn("ContextMenuButton",Xn(_e.s_,"Horizontal",Mr(0),Mr(1),Mr(2))),Xn("ContextMenuButton",Xn(_e.s_,"Horizontal",Xn(_e.s_,"Spot",Hr(!1),oo(_e.z6.Top,!1),oo(_e.z6.Left,!1),oo(_e.z6.Right,!1),oo(_e.z6.Bottom,!1)),Xn(_e.s_,"Spot",{margin:new _e.Zt(0,0,0,2)},Hr(!0),oo(_e.z6.Top,!0),oo(_e.z6.Left,!0),oo(_e.z6.Right,!0),oo(_e.z6.Bottom,!0)))));const zo=`{ "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 Kn=["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 Br(oa){return console.log("shapeName:",oa),Kn.indexOf(oa)>=0}var To=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(oa=>({text:"\u672A\u547D\u540D",size:"100 100",figure:oa.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return xt.current.addDiagramListener("TextEdited",function(oa){var Za;const mr=oa.subject.part;var da=(Za=document.activeElement)==null?void 0:Za.value;typeof da=="string"&&da.trim()===""&&xt.current.model.commit(function(io){io.set(mr.data,"text","\u672A\u547D\u540D"),xt.current.commandHandler.stopCommand()},"increment")}),To.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 mo=()=>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(()=>{Vr()},500),br(Ra+1),()=>{xt.current=null}),[]),dt.createElement("div",{ref:Qr,className:_n.current?`${ut.maxH60} body-overflow-initial`:"body-overflow-initial"},dt.createElement(yt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Ra,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:dt.createElement(Lt.Z,null,dt.createElement(Mn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),dt.createElement(Mn.Z,{onClick:()=>{var Xn,ur,pt=xt.current.selection.first();if(_n.current=!_n.current,document.activeElement&&pt){let Jt=(ur=(Xn=document.activeElement)==null?void 0:Xn.value)==null?void 0:ur.trim();typeof Jt=="string"&&xt.current.model.commit(function(Ut){Ut.set(pt.data,"text",Jt||"\u672A\u547D\u540D"),xt.current.commandHandler.stopCommand()},"increment")}br(Ra+1)}},dt.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Xe},dt.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:ut.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:ut.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:mo,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var gt=Et,Qt=ee(78045),Ot=ee(31795);const bt=Qt.ZP.Group,rn={margin:"0 8px"};var Xt=({callback:Xe,onCancel:Bt})=>{function xt(Tn){Xe(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:rn},"\u5355\u5143\u683C\u6570\uFF1A"),x.createElement("span",{style:rn},"\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:rn},"\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:rn},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),x.createElement(Ce.default.Item,{name:"align"},x.createElement(bt,null,x.createElement(Qt.ZP,{value:"default"},x.createElement("i",{className:"fa fa-align-justify"})),x.createElement(Qt.ZP,{value:"left"},x.createElement("i",{className:"fa fa-align-left"})),x.createElement(Qt.ZP,{value:"center"},x.createElement("i",{className:"fa fa-align-center"})),x.createElement(Qt.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),Ln=ee.n(Re),je=(0,x.forwardRef)(({use3d:Xe,width:Bt,height:xt,callback:Tn,showSaveButton:pn},_n)=>{const Qr=(0,x.useRef)(),Ra=(0,x.useRef)(),[br,Vr]=(0,x.useState)(!1),mo=(0,x.useRef)({id:Qr,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)(()=>{Ra.current=new(Ln())(mo.current,!0),window.onload=function(){Ra.current.inject("applet_container")}},[]);const Xn=()=>{var ur=window.ggbApplet.getPNGBase64(1,!0,72);return Tn&&Tn(ur),ur};return(0,x.useEffect)(()=>{mo.current.appName=br?"3D":"graphing",Ra.current.inject("applet_container")},[br]),(0,x.useEffect)(()=>{Vr(Xe)},[Xe]),(0,x.useImperativeHandle)(_n,()=>({getImgData:Xn})),x.createElement(x.Fragment,null,x.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Qr}),x.createElement(Lt.Z,{align:"middle"},x.createElement(Mn.Z,{flex:1},x.createElement($e.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:br,onChange:ur=>Vr(ur)})),x.createElement(Mn.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",Pt="upload-image",Zt="add-flowchart",vn="draw-image",Nt="add-flowchart",Tt="code-block",St="add-table",en="------------",Gt={default:en,left:`:${en}`,center:`:${en}:`,right:`${en}:`};var mn=ee(99914),Qn=(Xe,Bt,xt)=>new Promise((Tn,pn)=>{var _n=br=>{try{Ra(xt.next(br))}catch(Vr){pn(Vr)}},Qr=br=>{try{Ra(xt.throw(br))}catch(Vr){pn(Vr)}},Ra=br=>br.done?Tn(br.value):Promise.resolve(br.value).then(_n,Qr);Ra((xt=xt.apply(Xe,Bt)).next())});function xn(){}let Un=0;const pa=1e4,Kt="\u2581",$t="@\u2581\u2581@",qt="@\u2581@",sa=`
|
|
**\u6A21\u677F\u6807\u9898**
|
|
\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,ra=["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 Hn(Xe){return/^\d+$/.test(Xe)?`${Xe}px`:Xe}const Ta=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Pr={[Ta+"-B"]:"bold",[Ta+"-I"]:"italic"},zr={[Ct]:"\u6DFB\u52A0\u94FE\u63A5",[Tt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Pt]:"\u6DFB\u52A0\u56FE\u7247",[vn]:"\u6DFB\u52A0\u753B\u56FE",[Zt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[St]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Na=({defaultValue:Xe="",onChange:Bt,width:xt="100%",height:Tn=400,miniToolbar:pn=!1,isFocus:_n=!1,watch:Qr,insertTemp:Ra,mode:br="markdown",id:Vr="markdown-editor-id",showResizeBar:mo=!1,noStorage:Xn=!1,showNullButton:ur=!1,showNullProgramButton:pt=!1,hidetoolBar:Jt=!1,fullScreen:Ut=!1,onBlur:dn,onCMBeforeChange:jn,onFullScreen:tn,className:Yn="",disablePaste:Pn=!1,disabled:ua=!1,disabledFill:Ha=!1,placeholder:ir="",values:Mr="",extraUse:Hr,isShowTool:oo=!0,disableImageUpload:zo=!1})=>{const[Kn,Br]=(0,x.useState)(null),[To,oa]=(0,x.useState)(Xe),[Za,mr]=(0,x.useState)(Qr),[da,io]=(0,x.useState)(Ut),[fr,wo]=(0,x.useState)(""),[So,Ro]=(0,x.useState)(0),[Ni,qo]=(0,x.useState)(Tn),[ul,Yi]=(0,x.useState)(!1),kn=(0,x.useRef)((0,et.Z)()),wa=(0,x.useRef)(!1),lo=(0,x.useRef)(),[Go,xi]=(0,x.useState)(0),[wi,si]=(0,x.useState)(0),zi=(0,x.useRef)(),jr=(0,x.useRef)(),ce=(0,x.useRef)(),Pe=(0,x.useRef)(),Oe=()=>Qn(void 0,null,function*(){var Cn;const on=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:kn.current}});(Cn=on==null?void 0:on.attachments)!=null&&Cn.length&&(console.log("cm:",Kn,zi),on.attachments.map(yn=>{yn.content_type.indexOf("image")>-1?Kn.replaceSelection(``):yn.content_type.indexOf("video")>-1?Kn.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):yn.content_type.indexOf("pdf")>-1?Kn.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${yn.id}?type=${yn.content_type}&disposition=inline" target="_blank">${yn.name}</a>`):Kn.replaceSelection(`[${yn.name}](${ENV.API_SERVER}/api/attachments/${yn.id}?type=${yn.content_type})`)}))});(0,x.useEffect)(()=>{const Cn=window.scrollY||window.pageYOffset;oa(Mr),Kn==null||Kn.setValue(Mr),window.scrollTo(0,Cn)},[Mr]),(0,x.useEffect)(()=>{tn==null||tn(da)},[da]),(0,x.useEffect)(()=>{if(zi.current){let Cn=function(yn,An){var ea,za;if(Pn){An.preventDefault();return}const Ba=An.clipboardData;if(Ba){const qn=Ba.types.toString(),Ea=Ba.items;if(qn==="Files"||Ba.types.indexOf("Files")>-1){if(An.preventDefault(),br=="stex")return;try{let Ma=Ea[1];((ea=Ea[0])==null?void 0:ea.kind)==="file"&&(Ma=Ea[0]);const La=Ma.getAsFile(),er=La.name.split(".").pop();if(zo&&((za=La==null?void 0:La.type)==null?void 0:za.indexOf("image"))>-1)return!0;(0,rt.I)(La,Sr=>{var eo,Lo,ga;Sr.id?((eo=La==null?void 0:La.type)==null?void 0:eo.indexOf("image"))>-1?on.replaceSelection(`<img width="100%" src="/api/attachments/${Sr.id}?type=${Sr.content_type})" alt="" />`):((Lo=La==null?void 0:La.type)==null?void 0:Lo.indexOf("video"))>-1?on.replaceSelection(`<video width="100%" controls src="/api/attachments/${Sr.id}"></video>`):((ga=La==null?void 0:La.type)==null?void 0:ga.indexOf("pdf"))>-1?on.replaceSelection(`<a href="/api/attachments/${Sr.id}?type=${La.type}&disposition=inline" target="_blank">${La.name}</a>`):ra.includes(er)?on.replaceSelection(`<a href="/api/attachments/${Sr.id}?type=office&disposition=inline" target="_blank">${La.name}</a>`):on.replaceSelection(`[${La.name}](/api/attachments/${Sr.id}?type=${Sr.content_type})`):(Sr==null?void 0:Sr.status)===401&&(Ue.ZP.warning((Sr==null?void 0:Sr.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Ma){Ue.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const on=pe().fromTextArea(zi.current,{mode:br,lineNumbers:!pn,lineWrapping:!0,value:Xe,autoCloseTags:!pt,autoCloseBrackets:!0});return on.on("keyup",function(yn,An){An.keyCode===8&&(yn.getValue()==""?on.setOption("placeholder",ir):on.setOption("placeholder",null))}),on.on("keydown",function(yn,An){if(An.keyCode===8){var ea=Je(yn);ea&&An.preventDefault()}}),_n&&on.focus(),on.on("paste",Cn),on.on("dragleave",function(yn,An){jr.current.classList.remove("mouse-hover-md")}),ua&&on.on("beforeChange",function(yn,An){(An.origin==="paste"||An.origin==="+input")&&An.cancel()}),Br(on),()=>{on.off("paste",Cn)}}},[]);const Se=(0,x.useCallback)(()=>{if(jr.current)try{}catch(Cn){console.log(Cn,"---- to set md editor body height")}},[Ni,jr,da]);(0,x.useEffect)(()=>{function Cn(){let on=new De.Z(yn=>{for(let An of yn)(An.target.offsetHeight>0||An.target.offsetWidth>0)&&(Se(),Kn.setSize("100%","100%"),Kn.refresh())});return on.observe(zi.current.parentElement),on}if(Kn){const on=Cn();return()=>{var yn,An;(yn=zi.current)!=null&&yn.parentElement&&on.unobserve((An=zi.current)==null?void 0:An.parentElement)}}},[Kn,Se]),(0,x.useEffect)(()=>{if(Kn){let Cn=[];for(const[on,yn]of Object.entries(Pr)){let An={[on]:()=>{ot(yn)}};Cn.push(An),Kn.addKeyMap(An)}return lo.current=setInterval(()=>{wa.current&&Oe()},4e3),()=>{clearInterval(lo.current);for(let on of Cn)Kn.removeKeyMap(on)}}},[Kn]),(0,x.useEffect)(()=>{Ut!==da&&io(Ut)},[Ut]),(0,mn.Z)(()=>{if(!Xn&&So>0){let Cn=new Date().getTime(),on=window.sessionStorage.getItem(Vr);Cn>=So+pa&&(!on||on!==To)&&(window.sessionStorage.setItem(Vr,To),Yi(!0))}},pa),(0,x.useEffect)(()=>{mr(Qr)},[Kn,Qr]),(0,x.useEffect)(()=>{Kn&&_n&&Kn.focus()},[Kn,_n]),(0,x.useEffect)(()=>{if(Za&&Kn){let Cn=function(yn){let An=yn.target;if(Pe.current){let ea=An.scrollTop/An.scrollHeight;Pe.current.scrollTop=Pe.current.scrollHeight*ea}};const on=Kn.getScrollerElement();return on.addEventListener("scroll",Cn),()=>{on.removeEventListener("scroll",Cn)}}},[Kn,Za]),(0,x.useEffect)(()=>{if(Kn&&jn){let Cn=function(on,yn){jn(on,yn)};return Kn.on("beforeChange",Cn),()=>{Kn.off("beforeChange",Cn)}}},[Kn,jn]),(0,x.useEffect)(()=>{if(Kn&&dn){let Cn=function(){dn(Kn.getValue())};return Kn.on("blur",Cn),()=>{Kn.off("blur",Cn)}}},[Kn,dn]);function Je(Cn,on){var yn=Cn.getDoc(),An=yn.getCursor(),ea=yn.getLine(An.line),za=ea.charAt(An.ch-1),Ba=ea.lastIndexOf("@\u2581@",An.ch),qn=ea.lastIndexOf("@\u2581\u2581@",An.ch),Ea=Ba>qn?Ba:qn,Ma=Ba>qn?3:4;if($t.indexOf(za)===-1)return null;if(console.log("change1:",on,Cn,ea,An,Ea,Ba,qn,za),Ea>=0&&An.ch-Ea<5){var La=Ea+Ma;return yn.replaceRange("",{line:An.line,ch:Ea},{line:An.line,ch:La}),{line:An.line,ch:La}}return null}(0,x.useEffect)(()=>{if(Kn){let Cn=function(on,yn){const An=on.getValue();oa(An),Ro(new Date().getTime()),on.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Bt&&(pt?Bt(An,In(An)):Bt(An))};return Kn.on("change",Cn),()=>{Kn.off("change",Cn)}}},[Kn,Bt]),(0,x.useEffect)(()=>{if(Kn)if(Xe==null)Kn.setValue(""),oa("");else{const Cn=window.scrollY||window.pageYOffset;Xe!==Kn.getValue()&&(Kn.setValue(Xe),oa(Xe),Kn.setCursor(ua?1:Kn.lineCount(),0),window.scrollTo(0,Cn))}},[Kn,Xe]);const ot=(0,x.useCallback)(Cn=>{const on=Kn.getCursor(),yn=Kn.getSelection();let An=yn.split(`
|
|
`);switch(Cn){case"bold":return Kn.replaceSelection("**"+yn+"**"),yn===""&&Kn.setCursor(on.line,on.ch+2),Kn.focus();case"italic":return Kn.replaceSelection("*"+yn+"*"),yn===""&&Kn.setCursor(on.line,on.ch+1),Kn.focus();case"code":return Kn.replaceSelection("`"+yn+"`"),yn===""&&Kn.setCursor(on.line,on.ch+1),Kn.focus();case"inline-latex":return wo("inline-latex"),Kn.focus();case"latex":return Kn.replaceSelection("```latex\n"+yn+"\n```"),Kn.setCursor(on.line+1,yn.length+1),Kn.focus();case"line-break":return Kn.replaceSelection(`<br/>
|
|
`),Kn.focus();case"list-ul":return yn===""?Kn.replaceSelection("- "+yn):Kn.replaceSelection(An.map(ea=>ea===""?"":`- ${ea}`).join(`
|
|
`)),Kn.focus();case"list-ol":return yn===""?Kn.replaceSelection("1. "+yn):Kn.replaceSelection(An.map((ea,za)=>ea===""?"":`${za+1}. ${ea}`).join(`
|
|
`)),Kn.focus();case"add-null-ch":return yn===""&&Kn.setCursor(on.line,on.ch),Kn.replaceSelection(Kt),Kn.focus();case"add-signal":return yn===""&&Kn.setCursor(on.line,on.ch),Kn.replaceSelection(qt),Kn.focus();case"add-multiple":return yn===""&&Kn.setCursor(on.line,on.ch),Kn.replaceSelection($t),Kn.focus();case"inster-template-1":return yn===""&&Kn.setCursor(on.line,on.ch),Kn.replaceSelection(sa),Kn.focus();case"eraser":return Kn.setValue(""),Kn.focus();case"trigger-watch":return mr(!Za),Kn.focus();case"trigger-full-screen":return io(!da),Kn.focus();case Ct:wo(Ct);return;case Tt:wo(Tt);return;case Pt:wo(Pt);return;case vn:wo(vn);return;case"maths-latex":wo("maths-latex");return;case Zt:wo(Zt);return;case St:wo(St);return;default:throw new Error}},[Kn,Za,da]),wt=(0,x.useCallback)((Cn,on)=>{var yn,An,ea,za,Ba,qn;if(wo(""),!(zo&&fr==Pt))switch(fr){case Ct:const{title:Sr,link:eo}=Cn;return Kn.replaceSelection(`[${Sr}](${eo})`),Kn.focus();case Tt:const{language:Lo,content:ga}=Cn;return Kn.replaceSelection(["```"+Lo,ga,"```"].join(`
|
|
`)),Kn.focus();case"maths-latex":for(var Ea=atob(Cn),Ma=new Uint8Array(Ea.length),La=0;La<Ea.length;La++)Ma[La]=Ea.charCodeAt(La);var er=new Blob([Ma],{type:"image/png"});(0,rt.I)(er,Xo=>{Xo.id?Kn.replaceSelection(``):(Xo==null?void 0:Xo.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Kn.replaceSelection("`$$"+Cn+"$$`");break;case Pt:case vn:case Nt:const{src:ii,alt:ei}=Cn,Fo=on,dl=(ea=(An=(yn=Fo==null?void 0:Fo.name)==null?void 0:yn.split("."))==null?void 0:An.pop)==null?void 0:ea.call(An);return((za=Fo==null?void 0:Fo.type)==null?void 0:za.indexOf("image"))>-1||!(Fo!=null&&Fo.type)?Fo.align||Fo.width?Kn.replaceSelection(`<p style="text-align:${Fo.align||"initial"}"><img width="${Fo.width?Fo.width+"%":"initial"}" src="${ii}" alt="${ei||""}" /></p>`):Kn.replaceSelection(`<img width="100%" src="${ii}" alt="${ei||""}" />`):((Ba=Fo==null?void 0:Fo.type)==null?void 0:Ba.indexOf("video"))>-1?Kn.replaceSelection(`<video width="100%" controls src="${ii}"></video>`):((qn=Fo==null?void 0:Fo.type)==null?void 0:qn.indexOf("pdf"))>-1?Kn.replaceSelection(`<a href="${ii}?type=${Fo.type}&disposition=inline" target="_blank">${Fo.name}</a>`):ra.includes(dl)?Kn.replaceSelection(`<a href="${ii}?type=office&disposition=inline" target="_blank">${Fo.name}</a>`):Kn.replaceSelection(`[${Fo.name}](${ii})`),Kn.focus();case St:const{row:Hi,col:pi,align:Fi}=Cn;let Qi=`
|
|
`;for(let Xo=0;Xo<Hi;Xo++){let cl=[],_t=[];for(let kt=0;kt<pi;kt++)Xo===1&&_t.push(Gt[Fi]),cl.push(" ");Xo===1&&(Qi+=`| ${_t.join(" | ")} |
|
|
`),Qi+=`| ${cl.join(pi===1?"":" | ")} |
|
|
`}return Kn.replaceSelection(Qi+`
|
|
`),Kn.focus();default:throw new Error}},[Kn,fr,zo]),tt=(0,x.useMemo)(()=>{switch(fr){case Ct:return x.createElement(Vt,{callback:wt,onCancel:it});case Tt:return x.createElement(cn.Z,{callback:wt,onCancel:it});case Pt:return x.createElement(rt.Z,{callback:wt,onCancel:it});case Zt:return x.createElement(gt,{callback:wt,onCancel:it});case St:return x.createElement(Xt,{callback:wt,onCancel:it});case"maths-latex":return x.createElement(je,{showSaveButton:!0,callback:wt});case"inline-latex":return x.createElement(Ht.Z,{showSaveButton:!0,callback:wt});default:return null}},[fr]);function it(){wo("")}(0,x.useEffect)(()=>{if(ce.current){let Cn=function(Ba){ea=!0,za=Ba.pageY},on=function(){ea=!1},yn=function(Ba){if(ea){let qn=Ba.pageY-za;qn<0&&(qn=0),qn>300&&(qn=300);let Ea=Tn+qn+"px";qo(Ea)}},An=ce.current,ea=!1,za=0;return An.addEventListener("mousedown",Cn),document.addEventListener("mousemove",yn),document.addEventListener("mouseup",on),()=>{An.removeEventListener("mousedown",Cn),document.removeEventListener("mousemove",yn),document.removeEventListener("mouseup",on)}}},[Kn,ce]),(0,x.useEffect)(()=>{qo(Tn)},[Tn]);const ht=Hn(xt),nn=Hn(Ni),fn={width:ht,height:nn},$n=(0,x.useMemo)(()=>{if(So){let Cn=new Date(So),on=Cn.getHours(),yn=Cn.getMinutes(),An=Cn.getSeconds();return on=on<10?"0"+on:on,yn=yn<10?"0"+yn:yn,An=An<10?"0"+An:An,`${on}:${yn}:${An}`}return 0},[So]),In=Cn=>{const on=[];if(pt){let yn=-1;Cn=Cn.replace(/(@▁▁@|@▁@)/g,function(An,ea,za){on.push({multiLine:An!==qt})})}return on};function Aa(){window.sessionStorage.removeItem(Vr),Yi(!1),Ro(0)}function va(){Yi(!1),Ro(0),Kn.setValue(window.sessionStorage.getItem(Vr))}(0,x.useEffect)(()=>{zr[fr]&&fr!==vn&&fr!==Zt&&setTimeout(()=>{const Cn=document.getElementsByClassName("markdown-popup-form")[0],on=window.innerWidth/2-Cn.offsetWidth/2,yn=window.innerHeight/2-Cn.offsetHeight/2;xi(on),si(yn)},0)},[fr]);const Fa=Cn=>{Cn.preventDefault();const on=Cn.clientX-Go,yn=Cn.clientY-wi;document.body.onmousemove=An=>{let ea=An.clientX-on,za=An.clientY-yn;const Ba=document.getElementsByClassName("markdown-popup-form")[0],qn=window.innerWidth-Ba.offsetWidth,Ea=window.innerHeight-Ba.offsetHeight;ea=Math.max(0,Math.min(ea,qn)),za=Math.max(0,Math.min(za,Ea)),Wn(An.clientX,An.clientY,on,yn)&&(xi(ea),si(za))},document.body.onmouseup=function(){document.body.onmousemove=null}},Wn=(Cn,on,yn,An)=>{const ea=document.body.clientHeight,za=document.body.clientWidth;return Cn<20&&yn>Cn||Cn>za-20&&yn<Cn||on<20&&An>on||on>ea-20&&An<on?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return x.createElement(x.Fragment,null,x.createElement("div",{className:"markdown-editor-wrapper",ref:jr},x.createElement("div",{className:`markdown-editor-container ${Yn} ${Za?"on-preview":""} ${pn?"mini":""} ${da?"full-screen":""}`,style:fn},oo&&x.createElement(he,{insertTemp:Ra,watch:Za,fullScreen:da,showNullButton:ur,showNullProgramButton:pt,onActionCallback:ot,hidetoolBar:Jt,extraUse:Hr}),x.createElement("div",{className:"markdown-editor-body"},x.createElement("div",{className:"codemirror-container"},x.createElement("textarea",{ref:zi,placeholder:ir})),Za?x.createElement("div",{ref:Pe,className:"preview-container"},br==="stex"&&x.createElement(Be,{value:To}),br!=="stex"&&x.createElement(ze.Z,{disabledFill:Ha,showProgramFill:pt,value:To})):null))),mo?x.createElement("a",{ref:ce,className:"editor-resize"}):null,fr===vn&&x.createElement(jt,{callback:wt,onCancel:it}),fr===Zt&&x.createElement(gt,{callback:wt,onCancel:it}),x.createElement(ve.Z,null,zr[fr]&&fr!==vn&&fr!==Zt?x.createElement(yt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Go,top:wi},title:x.createElement("div",{style:{cursor:"move"},onMouseDown:Fa},zr[fr]),open:!0,onCancel:it,footer:null,destroyOnClose:!0,width:fr===Zt?"1200px":null,height:fr===Zt?"80vh":null,className:"markdown-popup-form"},tt):null))}},70859:function(ft,st,ee){"use strict";ee.d(st,{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 Qe(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,Qe)}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,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";ee.d(st,{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,lt)=>qe in Ke?ne(Ke,qe,{enumerable:!0,configurable:!0,writable:!0,value:lt}):Ke[qe]=lt,be=(Ke,qe)=>{for(var lt in qe||(qe={}))he.call(qe,lt)&&Ce(Ke,lt,qe[lt]);if(le)for(var lt of le(qe))ve.call(qe,lt)&&Ce(Ke,lt,qe[lt]);return Ke},ye=(Ke,qe)=>re(Ke,ae(qe)),Ae=(Ke,qe,lt)=>new Promise((mt,Vt)=>{var cn=Lt=>{try{yt(lt.next(Lt))}catch(ct){Vt(ct)}},rt=Lt=>{try{yt(lt.throw(Lt))}catch(ct){Vt(ct)}},yt=Lt=>Lt.done?mt(Lt.value):Promise.resolve(Lt.value).then(cn,rt);yt((lt=lt.apply(Ke,qe)).next())});const Ne={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var Qe=(Ke=>(Ke[Ke.SET_PATH=0]="SET_PATH",Ke[Ke.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Ke))(Qe||{});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:lt,v:mt,languages:Vt,classroomList:cn,autoHeight:rt,diff_code_count:yt,data:Lt})=>{const[ct,Ft]=(0,x.useState)(Vt==null?void 0:Vt[0]),jt=(0,a.useParams)();return(0,x.useEffect)(()=>{Ft(Vt==null?void 0:Vt[0])},[]),(0,x.useEffect)(()=>{var _e;Ft((_e=Vt==null?void 0:Vt.filter(Sn=>Sn.language===(ct==null?void 0:ct.language)))==null?void 0:_e[0])},[Vt]),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")),(Vt==null?void 0:Vt.length)>1&&te.createElement(de.ZP.Group,{defaultValue:Ke,style:{marginLeft:10},onChange:_e=>{var Sn;mt.language=_e.target.value,Ft((Sn=Vt==null?void 0:Vt.filter(wn=>wn.language===_e.target.value))==null?void 0:Sn[0])}},Vt==null?void 0:Vt.map(_e=>te.createElement(de.ZP,{value:_e==null?void 0:_e.language},_e==null?void 0:_e.language)))),(0,Be.GJ)()&<!="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,Sn;if(!((Sn=(_e=cn.AssistantObject)==null?void 0:_e.hack)!=null&&Sn.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 wn=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=>{wn=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:wn}})).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)()&<!="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:lt.user_id,type:"1",language:ct==null?void 0:ct.language,v:mt,data:be({},lt)}}})}},"\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,st,ee){"use strict";ee.r(st),ee.d(st,{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+yEtk9QaiEYDHy0cWPb639CbdjAwADP8/zRkmk9BYADIU4nLUqdycX5Agxdh4cXkLh5E8m5WTD2A4SA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42tpa+v75iqqtvy+RwqwiEIvPjJw+vXv+q8011dXXx/f/9WWZaVQCBwE0Bfe3v7NCHE/rDuOmzw+Pj4p4lEYruLZWeqa2o2xmKxIXvCb487Tm3fsdeDAAAAAElFTkSuQmCC",ze=ee(96074),Be=ee(85725),me=ee(11320),oe=(ye,Ae,Ne)=>new Promise((Qe,Le)=>{var Ge=qe=>{try{Ke(Ne.next(qe))}catch(lt){Le(lt)}},He=qe=>{try{Ke(Ne.throw(qe))}catch(lt){Le(lt)}},Ke=qe=>qe.done?Qe(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:Qe})=>{var Le;const Ge=(0,x.useRef)(),[He,Ke]=(0,x.useState)(),[qe,lt]=(0,x.useState)(!0);return(0,x.useEffect)(()=>{if(!Ge.current)return;function mt(){var cn;let rt=new ResizeObserver(yt=>{for(let Lt of yt)console.log("----",Lt,yt),Ke(Lt.target.offsetHeight>=52)});return rt.observe((cn=Ge.current)==null?void 0:cn.firstElementChild),rt}const Vt=mt();return()=>{var cn,rt;(cn=Ge.current)!=null&&cn.firstElementChild&&Vt.unobserve((rt=Ge.current)==null?void 0:rt.firstElementChild)}},[Ge.current]),x.createElement("div",{onClick:()=>{de.history.push(`/classrooms/${Qe.coursesId}/program_homework/${Qe.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 Vt;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:(Vt=Ae==null?void 0:Ae.author)==null?void 0:Vt.id}});cn&&(window.open(`/myproblems/${cn==null?void 0:cn.identifier}?type=1`),localStorage.setItem("program_homework",[Qe.coursesId,Qe.categoryId]))}),className:Me.Z.tips},Ae==null?void 0:Ae.hack_name),He&&x.createElement("div",{onClick:mt=>{mt.stopPropagation(),lt(!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((Qe,Le)=>{var Ge=qe=>{try{Ke(Ne.next(qe))}catch(lt){Le(lt)}},He=qe=>{try{Ke(Ne.throw(qe))}catch(lt){Le(lt)}},Ke=qe=>qe.done?Qe(qe.value):Promise.resolve(qe.value).then(Ge,He);Ke((Ne=Ne.apply(ye,Ae)).next())});const Ce=({user:ye})=>{var Ae,Ne,Qe,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)(()=>{lt()},[]);function lt(){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)),lt()}},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:lt})),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,Vt)=>{Ge.page=mt,Ge.per_page=Vt,He(le({},Ge)),lt()}}))),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")),((Qe=Ke==null?void 0:Ke.radio_messages)==null?void 0:Qe.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,st,ee){"use strict";ee.d(st,{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,Qe]=(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(lt=>ae(re({},lt),{key:`${Ke}-${lt.key}`}));Ae(qe),Qe(qe[0].key)}},[ve.length]);const Ge=Ke=>{Qe(Ke),Le.current=Ke;const qe=document.getElementById(Ke);if(qe){const lt=qe.getBoundingClientRect().top+window.scrollY-50;window.scrollTo({top:lt,behavior:"smooth"})}},He=()=>{const Ke=ye.map(lt=>document.getElementById(lt.key)),qe=window.innerHeight/2;for(const lt of Ke)if(lt){const mt=lt.getBoundingClientRect();if(mt.top>=0&&mt.top<qe){if(Le.current===lt.id){Le.current="";return}if(Le.current)return;Qe(lt.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,st,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?"))};st.Z=(0,we.connect)(({shixunHomeworks:a})=>({shixunHomeworks:a}))(oe)},96469:function(ft,st,ee){"use strict";ee.d(st,{n:function(){return Pt},Z:function(){return vn}});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,Qe=(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 en in Nt)ye.call(Nt,en)&&Tt.indexOf(en)<0&&(St[en]=Nt[en]);if(Nt!=null&&be)for(var en of be(Nt))Tt.indexOf(en)<0&&Ae.call(Nt,en)&&(St[en]=Nt[en]);return St},Ge=(Nt,Tt,St)=>new Promise((en,Gt)=>{var mn=Un=>{try{xn(St.next(Un))}catch(pa){Gt(pa)}},Qn=Un=>{try{xn(St.throw(Un))}catch(pa){Gt(pa)}},xn=Un=>Un.done?en(Un.value):Promise.resolve(Un.value).then(mn,Qn);xn((St=St.apply(Nt,Tt)).next())});const He=Nt=>{var Tt=Nt,{shixunHomeworks:St,dispatch:en}=Tt,Gt=Le(Tt,["shixunHomeworks","dispatch"]);const mn=(0,ve.useParams)(),[Qn,xn]=(0,x.useState)(!0),[Un,pa]=(0,x.useState)(!1),[Kt]=de.default.useForm(),$t=()=>Ge(void 0,null,function*(){const qt=Kt.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:qt.hidden_comment,comment:qt.comment}})).status===0&&(pe.ZP.success("\u8BC4\u9605\u6210\u529F"),Kt.resetFields(),en({type:"shixunHomeworks/setActionTabs",payload:{}}),en({type:"shixunHomeworks/getWorkList",payload:Qe({},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 qt=Kt.getFieldValue();JSON.stringify(qt)==="{}"||qt.hidden_comment===""&&qt.comment===""?pa(!0):St.workList.partial_comment?en({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4E00\u952E\u70B9\u8BC4\u786E\u8BA4",selectArrs:St.actionTabs.selectArrs,params:St.actionTabs.params}}):$t()}),onCancel:()=>{en({type:"shixunHomeworks/setActionTabs",payload:{}})}},x.createElement(de.default,{form:Kt,onChange:()=>{Un&&pa(!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}))),Un&&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:()=>{$t()},onCancel:()=>{en({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:qt=>{xn(qt.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),lt=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"},Vt=Object.getOwnPropertySymbols,cn=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable,yt=(Nt,Tt)=>{var St={};for(var en in Nt)cn.call(Nt,en)&&Tt.indexOf(en)<0&&(St[en]=Nt[en]);if(Nt!=null&&Vt)for(var en of Vt(Nt))Tt.indexOf(en)<0&&rt.call(Nt,en)&&(St[en]=Nt[en]);return St},Lt=(Nt,Tt,St)=>new Promise((en,Gt)=>{var mn=Un=>{try{xn(St.next(Un))}catch(pa){Gt(pa)}},Qn=Un=>{try{xn(St.throw(Un))}catch(pa){Gt(pa)}},xn=Un=>Un.done?en(Un.value):Promise.resolve(Un.value).then(mn,Qn);xn((St=St.apply(Nt,Tt)).next())});const ct=Nt=>{var Tt=Nt,{shixunHomeworks:St,dispatch:en}=Tt,Gt=yt(Tt,["shixunHomeworks","dispatch"]),mn,Qn,xn,Un;const pa=(0,ve.useParams)(),[Kt,$t]=(0,x.useState)(!1),[qt,sa]=(0,x.useState)((Qn=(mn=St.actionTabs.selectArrs)==null?void 0:mn.data)==null?void 0:Qn.name),[ra]=de.default.useForm();(0,x.useEffect)(()=>{var Oa,Ta,Pr,zr,Na,Xe;St.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&ra.setFieldsValue({comment:(Ta=(Oa=St.actionTabs.selectArrs)==null?void 0:Oa.data)==null?void 0:Ta.work_comment,hidden_comment:(zr=(Pr=St.actionTabs.selectArrs)==null?void 0:Pr.data)==null?void 0:zr.work_comment_hidden}),sa((Xe=(Na=St.actionTabs.selectArrs)==null?void 0:Na.data)==null?void 0:Xe.name)},[St.actionTabs.key]);const Hn=()=>Lt(void 0,null,function*(){var Oa,Ta;const Pr=ra.getFieldValue();if((yield(0,he.ZP)(`/api/student_works/${(Ta=(Oa=St.actionTabs.selectArrs)==null?void 0:Oa.data)==null?void 0:Ta.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:Pr.hidden_comment,comment:Pr.comment}})).status===0)return pe.ZP.success("\u8BC4\u9605\u6210\u529F"),ra.resetFields(),en({type:"shixunHomeworks/setActionTabs",payload:{}}),en({type:"shixunHomeworks/getWorkList",payload:pa})});return x.createElement(x.Fragment,null,x.createElement(we.default,{centered:!0,title:(Un=(xn=St.actionTabs.selectArrs)==null?void 0:xn.data)!=null&&Un.work_comment_hidden?"\u66F4\u6539"+qt+"\u70B9\u8BC4":qt+"\u70B9\u8BC4",open:St.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Lt(void 0,null,function*(){const Oa=ra.getFieldValue();JSON.stringify(Oa)==="{}"||Oa.hidden_comment===""&&Oa.comment===""?$t(!0):Hn()}),onCancel:()=>{en({type:"shixunHomeworks/setActionTabs",payload:{}})}},x.createElement(de.default,{form:ra,onChange:()=>{Kt&&$t(!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}))),Kt&&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,Sn=Object.prototype.propertyIsEnumerable,wn=(Nt,Tt)=>{var St={};for(var en in Nt)_e.call(Nt,en)&&Tt.indexOf(en)<0&&(St[en]=Nt[en]);if(Nt!=null&&jt)for(var en of jt(Nt))Tt.indexOf(en)<0&&Sn.call(Nt,en)&&(St[en]=Nt[en]);return St},ha=(Nt,Tt,St)=>new Promise((en,Gt)=>{var mn=Un=>{try{xn(St.next(Un))}catch(pa){Gt(pa)}},Qn=Un=>{try{xn(St.throw(Un))}catch(pa){Gt(pa)}},xn=Un=>Un.done?en(Un.value):Promise.resolve(Un.value).then(mn,Qn);xn((St=St.apply(Nt,Tt)).next())});const Mn=Nt=>{var Tt=Nt,{shixunHomeworks:St,dispatch:en}=Tt,Gt=wn(Tt,["shixunHomeworks","dispatch"]);const mn=(0,ve.useParams)(),[Qn,xn]=(0,x.useState)([]),[Un,pa]=(0,x.useState)([]);(0,x.useEffect)(()=>{St.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B"&&Kt()},[St.actionTabs.key]);function Kt(){return ha(this,null,function*(){const qt=yield(0,he.ZP)(`/api/homework_commons/${mn.categoryId}/code_quality_analyses/group_list.json`,{method:"GET",params:{page:1,limit:200}});xn(qt)})}const $t=[{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 qt=yield(0,he.ZP)(`/api/homework_commons/${mn.categoryId}/code_quality_analyses.json`,{method:"POST",body:{group_ids:Un}});(qt==null?void 0:qt.status)===0&&(ve.history.replace(`/classrooms/${mn.coursesId}/shixun_homework/${mn.categoryId}/detail?tabs=4`),window.location.reload(),en({type:"shixunHomeworks/setActionTabs",payload:{}}),pa([]))}),onCancel:()=>{pa([]),en({type:"shixunHomeworks/setActionTabs",payload:{}})}},x.createElement(me.default,{rowSelection:{type:"checkbox",onChange:(qt,sa)=>{pa([...qt])},selectedRowKeys:Un,getCheckboxProps:qt=>({disabled:qt.status==="\u8FDB\u884C\u4E2D"||qt.works_count===0})},rowKey:qt=>qt.key||qt.id,scroll:{y:300},pagination:!1,columns:$t,dataSource:Qn==null?void 0:Qn.group_list})))};var at=(0,ve.connect)(({shixunHomeworks:Nt})=>({shixunHomeworks:Nt}))(Mn),ut=ee(35567),dt=ee(98769),At=Object.defineProperty,Et=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,Qt=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))Qt.call(Tt,St)&&Ot(Nt,St,Tt[St]);return Nt},rn=(Nt,Tt,St)=>new Promise((en,Gt)=>{var mn=Un=>{try{xn(St.next(Un))}catch(pa){Gt(pa)}},Qn=Un=>{try{xn(St.throw(Un))}catch(pa){Gt(pa)}},xn=Un=>Un.done?en(Un.value):Promise.resolve(Un.value).then(mn,Qn);xn((St=St.apply(Nt,Tt)).next())});const Xt=({shixunHomeworks:Nt,dispatch:Tt,isShow:St,setIsShow:en,item:Gt,coursesId:mn,categoryId:Qn})=>{const[xn,Un]=(0,x.useState)({page:1,limit:10}),[pa,Kt]=(0,x.useState)([]),[$t,qt]=(0,x.useState)(!1);(0,x.useEffect)(()=>{St&&sa()},[St]);function sa(){return rn(this,null,function*(){qt(!0);const Hn=yield(0,he.ZP)(`/api/student_works/${Gt.id}/game_details.json`,{method:"get",params:bt({},xn)});qt(!1),Hn.status===0&&Kt(Hn==null?void 0:Hn.data)})}const ra=[{title:"\u5E8F\u53F7",dataIndex:"number",width:50,fixed:"left",ellipsis:!0,render:(Hn,Oa,Ta)=>x.createElement("span",{style:{color:"#000"}},xn.limit*(xn.page-1)+Ta+1)},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",ellipsis:!0,render:(Hn,Oa,Ta)=>x.createElement("span",{style:{color:"#000"}},Hn)},{title:"\u901A\u5173\u8BE6\u60C5",dataIndex:"complete_status",key:"complete_status",ellipsis:!0,width:100,render:(Hn,Oa,Ta)=>x.createElement("span",null,Hn==0?"\u672A\u901A\u5173":Hn==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:(Hn,Oa,Ta)=>x.createElement("span",{style:{color:"#333"}},Hn)},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming",key:"time_consuming",width:120,ellipsis:!0,render:(Hn,Oa,Ta)=>x.createElement("span",{style:{color:"#333"}},Hn)}];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:()=>{xn.page=1,xn.limit=10,Un(bt({},xn)),en(!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:Gt==null?void 0:Gt.user_name,style:{color:"#232B40"}},Gt==null?void 0:Gt.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:Gt==null?void 0:Gt.student_id,style:{color:"#232B40"}},(Gt==null?void 0:Gt.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:Gt==null?void 0:Gt.group_name,style:{color:"#232B40"}},(Gt==null?void 0:Gt.group_name)||"--"))),x.createElement(me.default,{scroll:{y:380},columns:ra,loading:$t,style:{marginBottom:xn.limit>(pa==null?void 0:pa.count)?"16px":"0"},dataSource:pa.games,pagination:{size:"default",showQuickJumper:!0,showSizeChanger:!0,pageSizeOptions:["10","15","50","100","200"],hideOnSinglePage:!0,pageSize:xn.limit,current:xn.page,position:["bottomRight"],onChange:(Hn,Oa)=>{xn.page=Hn,xn.limit=Oa,Un(bt({},xn)),sa()},total:pa==null?void 0:pa.count,showTotal:(Hn,Oa)=>x.createElement("span",null,"\u5171",x.createElement("span",{style:{color:"#165DFF"}}," ",Hn," "),"\u6761\u6570\u636E")}})))};var $e=(0,ve.connect)(({shixunHomeworks:Nt})=>({shixunHomeworks:Nt}))(Xt),Re=ee(67294),Ln=Object.defineProperty,xe=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable,et=(Nt,Tt,St)=>Tt in Nt?Ln(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((en,Gt)=>{var mn=Un=>{try{xn(St.next(Un))}catch(pa){Gt(pa)}},Qn=Un=>{try{xn(St.throw(Un))}catch(pa){Gt(pa)}},xn=Un=>Un.done?en(Un.value):Promise.resolve(Un.value).then(mn,Qn);xn((St=St.apply(Nt,Tt)).next())});const Pt=({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)}},Zt=({shixunHomeworks:Nt,classroomList:Tt,globalSetting:St,loading:en,dispatch:Gt,setExportParams:mn,user:Qn})=>{var xn,Un,pa,Kt,$t,qt,sa,ra,Hn,Oa,Ta,Pr,zr;const Na=(0,ve.useParams)(),[Xe,Bt]=(0,x.useState)(Ue(Ue({},{page:1,limit:20,order:"work_score",b_order:"desc"}),Na)),[xt]=de.default.useForm(),[Tn,pn]=(0,x.useState)(),[_n,Qr]=(0,x.useState)({}),[Ra,br]=(0,x.useState)([]),[Vr,mo]=(0,x.useState)(!1),[Xn,ur]=(0,x.useState)([]),[pt,Jt]=(0,x.useState)(!1),[Ut,dn]=(0,x.useState)(),[jn,tn]=(0,x.useState)(1),[Yn,Pn]=(0,x.useState)(),[ua,Ha]=(0,x.useState)(),[ir,Mr]=(0,x.useState)(),[Hr,oo]=(0,x.useState)(),[zo,Kn]=(0,x.useState)(),[Br,To]=(0,x.useState)(!1),[oa,Za]=(0,x.useState)(!1),[mr,da]=(0,x.useState)(),io=(0,ve.useLocation)();(0,x.useEffect)(()=>(fr(),()=>{Qr([]),br([])}),[Xe.coursesId]),(0,x.useEffect)(()=>{var kn;const wa=JSON.parse(JSON.stringify(Nt.workList));!((kn=wa==null?void 0:wa.student_works)!=null&&kn.length)&&(wa!=null&&wa.id)?(wa.student_works=[Ue({},wa)],Qr(wa)):(wa!=null&&wa.id&&br([Ue(Ue({},wa),{number:"\u6211"})]),Qr(Ue({},wa)))},[Nt.workList]);const fr=kn=>(mn(Ue({},Xe)),Gt({type:"shixunHomeworks/getWorkList",payload:Xe}));(0,x.useEffect)(()=>{Gt({type:"user/getUserInfo",payload:{course_id:Xe.coursesId}})},[]);const wo=()=>Ct(void 0,null,function*(){const kn=yield(0,qe.Uc)({categoryId:Na.categoryId});pn(kn==null?void 0:kn.update_score)}),So=()=>Ct(void 0,null,function*(){Gt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6210\u7EE9\u8BA1\u7B97\u4E2D\uFF0C\u8BF7\u7A0D\u5019..."}});const kn=yield(0,qe.Vs)({categoryId:Na.categoryId});Gt({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(kn==null?void 0:kn.status)===0&&(pe.ZP.success(kn==null?void 0:kn.message),fr())}),Ro=()=>{Xe.page=1;const kn=Object.assign({},xt.getFieldsValue());delete Xe.course_group,delete Xe.teacher_comment,Object.keys(kn).map(function(wa){var lo;switch(wa){case"task_status":kn[wa].includes("all")||!kn[wa].length?(delete Xe.work_status,xt.setFieldsValue({task_status:"all"})):(Xe.work_status=kn[wa],xt.setFieldsValue({task_status:Xe.work_status}));break;case"course_group_info":kn[wa].includes("all")||!kn[wa].length?(delete Xe.course_group,xt.setFieldsValue({course_group_info:"all"})):(Xe.course_group=kn[wa],xt.setFieldsValue({course_group_info:Xe.course_group}));break;case"teacher_comment":kn[wa].includes("all")||!kn[wa].length?(delete Xe.teacher_comment,xt.setFieldsValue({teacher_comment:"all"})):(Xe.teacher_comment=((lo=kn[wa])==null?void 0:lo.length)===1?Number(kn[wa][0]):"",xt.setFieldsValue({teacher_comment:kn[wa]}));break}}),fr()};(0,x.useEffect)(()=>{document.getElementById("divhe")&&document.getElementById("divhe").scrollHeight>47&&(Kn(47),To(!0))},[document.getElementById("divhe")]);const Ni=(kn,wa)=>{Xe.page=kn,Xe.limit=20,fr()};function qo(){tn(1),Pn(""),Ha(""),Mr(""),oo(""),ur([])}const ul=[{title:"\u5E8F\u53F7",dataIndex:"number",align:"center",width:50,fixed:"left",ellipsis:!0,render:(kn,wa,lo)=>Xe.limit*(Xe.page-1)+lo+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,lt.Jd)()&&{title:"\u5B66\u53F7",dataIndex:"student_id",align:"center",sorter:!0,fixed:"left",width:100,ellipsis:!0,showSorterTooltip:!1,sortOrder:Xe.order==="student_id"?Xe.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,wa)=>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:Xe.order==="work_status"?Xe.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:Xe.order==="achieve_time"?Xe.b_order==="desc"?"descend":"ascend":null,render:(kn,wa)=>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,wa)=>Re.createElement("span",{onClick:lo=>{var Go;lo.stopPropagation(),(Go=_n.homework_status)!=null&&Go.includes("\u5BFC\u5165")&&(da(wa),Za(!0))}},kn||"- -")},{title:"\u6700\u7EC8\u6210\u7EE9",align:"center",dataIndex:"score",ellipsis:!0,sorter:!0,sortOrder:Xe.order==="work_score"?Xe.b_order==="desc"?"descend":"ascend":null,render:(kn,wa)=>Re.createElement(De.Z,{title:Re.createElement(Re.Fragment,null,Re.createElement("div",null,"\u8BD5\u9898\u5F97\u5206\uFF1A",(wa==null?void 0:wa.late_final_score)||0),Re.createElement("div",null,"\u8865\u4EA4\u6263\u5206\uFF1A",(wa==null?void 0:wa.late_penalty)||0),Re.createElement("div",null,"\u6700\u7EC8\u6210\u7EE9\uFF1A",(wa==null?void 0:wa.score)||0))},Pt({value:kn,placeholder:"- -"}))},{title:"\u5B8C\u6210\u65F6\u957F",dataIndex:"achieve_time_long",align:"center",sorter:!0,ellipsis:!0,sortOrder:Xe.order==="achieve_time_long"?Xe.b_order==="desc"?"descend":"ascend":null,render:(kn,wa)=>kn&&kn!="--"?Re.createElement(De.Z,{placement:"bottom",title:kn},Re.createElement("span",{className:"current"},kn)):"--"},((xn=_n.homework_status)==null?void 0:xn.includes("\u5BFC\u5165"))&&{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"sum_evaluate_count",align:"center"},!((Un=_n.homework_status)!=null&&Un.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,wa)=>{var lo;return(lo=_n.homework_status)!=null&&lo.includes("\u5BFC\u5165")?(0,lt.GJ)()?Re.createElement("a",{onClick:Go=>{Go.stopPropagation(),Gt({type:"classroomList/setActionTabs",payload:{key:"\u4FEE\u6539\u6210\u7EE9",id:wa==null?void 0:wa.id,type:"normal"}})}},"\u4FEE\u6539\u6210\u7EE9"):Re.createElement("a",{onClick:Go=>{Go.stopPropagation(),da(wa),Za(!0)}},"\u67E5\u770B"):(0,lt.dE)()?Re.createElement("div",null,(0,re.JL)(wa==null?void 0:wa.work_status)==="\u672A\u5F00\u542F"?Re.createElement("span",null,"--"):Re.createElement("a",{onClick:Go=>{var xi;if(Go.stopPropagation(),(0,lt.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/${Xe.coursesId}/program_homework/${Xe.categoryId}/${wa.id}/${wa.user_id}/comment`,"_blank")}},"\u67E5\u770B")):Re.createElement("a",{target:"_blank",onClick:Go=>{var xi,wi;if(Go.stopPropagation(),(0,lt.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((wi=Qn.userInfo)!=null&&wi.professional_certification)window.open(`/classrooms/${Xe.coursesId}/program_homework/${Xe.categoryId}/${wa.id}/${wa.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),Yi=()=>{var kn,wa;return Re.createElement(ke.default,null,Re.createElement(ke.default.Item,{onClick:()=>{var lo;if((0,lt.Rm)()&&!((lo=Tt.AssistantObject.hack)!=null&&lo.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}Gt({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,lt.GJ)()&&((kn=_n==null?void 0:_n.student_works)==null?void 0:kn.length)>0&&!((wa=_n==null?void 0:_n.homework_status)!=null&&wa.includes("\u5BFC\u5165"))&&Re.createElement(ke.default.Item,{key:"3",onClick:()=>{var lo;if((0,lt.Rm)()&&!((lo=Tt.AssistantObject.hack)!=null&&lo.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}Gt({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 Go,xi,wi,si;Gt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A",type:2}}),localStorage.setItem("dowolders","1"),ve.history.push(`/classrooms/${Xe==null?void 0:Xe.coursesId}/program_homework/${Xe.categoryId}/${(xi=(Go=_n==null?void 0:_n.student_works)==null?void 0:Go[0])==null?void 0:xi.id}/${(si=(wi=_n==null?void 0:_n.student_works)==null?void 0:wi[0])==null?void 0:si.user_id}/comment`)}}})}},"\u7F16\u7A0B\u62A5\u544A"),Re.createElement(ke.default.Item,{key:"2",onClick:()=>{var lo;if((0,lt.Rm)()&&!((lo=Tt.AssistantObject.hack)!=null&&lo.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/${Xe.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`},((pa=_n.homework_status)==null?void 0:pa.includes("\u672A\u53D1\u5E03"))&&Re.createElement(ne.Z,null),!((Kt=_n.homework_status)!=null&&Kt.includes("\u672A\u53D1\u5E03"))&&Re.createElement("aside",null,!(0,lt.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,lt.GJ)()&&Re.createElement(Re.Fragment,null,Re.createElement(de.default,{form:xt,onChange:Ro,initialValues:{task_status:"all",course_group_info:"all",teacher_comment:"all"}},(($t=_n.task_status)==null?void 0:$t.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,wa)=>Re.createElement(ie.default,{name:"task_status",value:kn.id},kn.name,"(",kn.count,")")))))),((qt=_n.course_group_info)==null?void 0:qt.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:zo+"px",overflow:"hidden"}},(sa=_n.course_group_info)==null?void 0:sa.map((kn,wa)=>Re.createElement(ie.default,{value:kn.course_group_id},kn.group_group_name,"(",kn.count,")"))),Br&&Re.createElement("span",{onClick:()=>{let kn=document.getElementById("divhe").scrollHeight;zo>47?Kn(47):Kn(kn)},style:{color:"rgb(76, 172, 255)",cursor:"pointer",alignItems:"flex-end",display:"flex"}},zo===47?"\u5C55\u5F00":"\u6536\u8D77",zo===47?Re.createElement(b.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}):Re.createElement(E.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}))))),((ra=_n.teacher_comment)==null?void 0:ra.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,wa)=>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=>{Xe.search=kn.trim(),Xe.page=1,fr()},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,lt.GJ)()&&!((Hn=_n.homework_status)!=null&&Hn.includes("\u5BFC\u5165"))&&!((Oa=St==null?void 0:St.setting)!=null&&Oa.hide_code_repeat)&&Re.createElement(ze.ZP,{className:"ml10",onClick:()=>{Gt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",selectArrs:_n.student_works.map(kn=>kn.id),params:Xe}})}},Re.createElement("span",{className:`${mt.tr1} iconfont icon-daimachazhong`}),"\u4EE3\u7801\u67E5\u91CD"),(0,lt.GJ)()&&!((Ta=_n.homework_status)!=null&&Ta.includes("\u5BFC\u5165"))&&Re.createElement(ze.ZP,{className:"ml10",onClick:So},Re.createElement("i",{className:"iconfont icon-gengxinchengji font14 pr5"}),"\u66F4\u65B0\u6210\u7EE9"),(0,lt.GJ)()&&Re.createElement(Be.Z,{dropdownRender:Yi,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,lt.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:en["shixunHomeworks/getWorkList"],pagination:!1,style:{cursor:"pointer"},onRow:kn=>({onClick:wa=>{var lo,Go;if(!((lo=_n.homework_status)!=null&&lo.includes("\u5BFC\u5165"))){if((0,lt.Rm)()&&!((Go=Tt.AssistantObject.hack)!=null&&Go.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/${Xe.coursesId}/program_homework/${Xe.categoryId}/${kn.id}/${kn.user_id}/comment`,"_blank")}}}),scroll:{x:1200},dataSource:_n.student_works,columns:ul,onChange:(kn,wa,lo)=>{lo.field&&(Xe.order=lo.field==="score"?"work_score":lo.field),lo.order||(Xe.b_order="asc"),lo.order==="ascend"&&(Xe.b_order="asc"),lo.order==="descend"&&(Xe.b_order="desc"),lo.order||(Xe.b_order="asc"),fr()}}),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:Vr,centered:!0,destroyOnClose:!0,forceRender:!0,width:700,onOk:()=>Ct(void 0,null,function*(){if(jn===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/${Xe.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:Xe.categoryId,comment:Hr,status:Xn}});kn.status===0&&(dn(kn),mo(!1),Jt(!0))}else{if(!(ir===0||ua===0)){if(!ir){pe.ZP.info("\u6700\u4F4E\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}if(!ua){pe.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}}if(ir>ua){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/${Xe.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:Xe.categoryId,comment:Hr,min_score:ir,max_score:ua}});kn.status===0&&(dn(kn),mo(!1),Jt(!0))}}),onCancel:()=>{mo(!1),qo()}},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:jn,onChange:kn=>{tn(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"))),jn===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=>Mr(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:ua,onChange:kn=>Ha(kn),style:{width:"100px"}})),jn===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%"}},(Pr=_n.task_status)==null?void 0:Pr.map((kn,wa)=>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(ut.Z,{className:mt.MdEditor,onChange:kn=>oo(kn),placeholder:"\u8BF7\u586B\u5199\u8BC4\u8BED"}))))),Re.createElement(we.default,{open:pt,title:"\u6253\u56DE\u786E\u8BA4",onOk:()=>Ct(void 0,null,function*(){jn===2?(yield(0,he.ZP)(`/api/homework_commons/${Xe.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:Xe.categoryId,comment:Hr,status:Xn}})).status===0&&(pe.ZP.info("\u6253\u56DE\u6210\u529F"),qo(),fr(),Jt(!1)):(yield(0,he.ZP)(`/api/homework_commons/${Xe.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:Xe.categoryId,comment:Hr,min_score:ir,max_score:ua}})).status===0&&(pe.ZP.info("\u6253\u56DE\u6210\u529F"),qo(),fr(),Jt(!1))}),onCancel:()=>{qo(),Jt(!1)}},Re.createElement("div",{style:{padding:"32px"}},jn===1&&Re.createElement("span",null,"\u786E\u8BA4\u5C06\u6210\u7EE9\u5728",ir,"-",ua,"\u7684\u5B66\u751F\u8FDB\u884C\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),jn===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:oa,setIsShow:Za,item:mr,coursesId:Xe.coursesId,categoryId:Xe.categoryId}),Re.createElement("aside",{className:"tc mb50 mt30"},Re.createElement(y.Z,{showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,onChange:Ni,current:Xe.page||1,defaultPageSize:20,total:_n.work_count})))};var vn=(0,ve.connect)(({shixunHomeworks:Nt,classroomList:Tt,globalSetting:St,loading:en,user:Gt})=>({shixunHomeworks:Nt,classroomList:Tt,globalSetting:St,loading:en.effects,user:Gt}))(Zt)},27776:function(ft,st,ee){"use strict";ee.r(st),ee.d(st,{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,kt,zt)=>kt in _t?oe(_t,kt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):_t[kt]=zt,z=(_t,kt)=>{for(var zt in kt||(kt={}))y.call(kt,zt)&&E(_t,zt,kt[zt]);if(a)for(var zt of a(kt))b.call(kt,zt)&&E(_t,zt,kt[zt]);return _t},te=(_t,kt,zt)=>new Promise((Da,ar)=>{var Ia=En=>{try{Qa(zt.next(En))}catch(ba){ar(ba)}},Rn=En=>{try{Qa(zt.throw(En))}catch(ba){ar(ba)}},Qa=En=>En.done?Da(En.value):Promise.resolve(En.value).then(Ia,Rn);Qa((zt=zt.apply(_t,kt)).next())});const ne=({shixunHomeworks:_t,dispatch:kt})=>{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 kt({type:"shixunHomeworks/deleteReply",payload:{object_id:_t.actionTabs.selectArr.id,object_type:"journals_for_message"}})).status===0&&(De.ZP.success("\u5220\u9664\u6210\u529F"),kt({type:"shixunHomeworks/setActionTabs",payload:{}}),kt({type:"shixunHomeworks/getReplyList",payload:z({},_t.actionTabs.params)}))}),onCancel:()=>{kt({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/NBoaXMnARwjwMeGvxNSqgFZXzSq36AOxIUk3kYcfulDdI1qPJ4iFDF7EwEJiVABoBZV9a9pFWzsnwu8g7UEN7A8NED9RX72np6cNTNOJcB8Thpl5ITHpDK4gohEA7QRaLUCtXqV89dRPx97Mnpwfqq3p4cGTBHgR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9M98Xz1T4yDJQohVeZ3JrcR1kh/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),Qe=ee(50881),Le=ee(60887),Ge=ee(32339),He=ee(96469),Ke=ee(45587),qe=ee(24285),lt=ee(95742),mt=ee(53978),Vt=ee(42922),cn=Object.defineProperty,rt=Object.defineProperties,yt=Object.getOwnPropertyDescriptors,Lt=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,jt=(_t,kt,zt)=>kt in _t?cn(_t,kt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):_t[kt]=zt,_e=(_t,kt)=>{for(var zt in kt||(kt={}))ct.call(kt,zt)&&jt(_t,zt,kt[zt]);if(Lt)for(var zt of Lt(kt))Ft.call(kt,zt)&&jt(_t,zt,kt[zt]);return _t},Sn=(_t,kt)=>rt(_t,yt(kt)),wn=(_t,kt,zt)=>new Promise((Da,ar)=>{var Ia=En=>{try{Qa(zt.next(En))}catch(ba){ar(ba)}},Rn=En=>{try{Qa(zt.throw(En))}catch(ba){ar(ba)}},Qa=En=>En.done?Da(En.value):Promise.resolve(En.value).then(Ia,Rn);Qa((zt=zt.apply(_t,kt)).next())});le().locale("ZH-cn");let ha=["","\u7B80\u5355","\u4E2D\u7B49","\u56F0\u96BE"];const Mn=x.createContext({}),at=()=>{const{setActivatorNodeRef:_t,listeners:kt}=(0,x.useContext)(Mn);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(Qe.Z,null)),style:{cursor:"move"},ref:_t},kt))},ut=_t=>{const{attributes:kt,listeners:zt,setNodeRef:Da,setActivatorNodeRef:ar,transform:Ia,transition:Rn,isDragging:Qa}=(0,Ke.nB)({id:_t["data-row-key"]}),En=_e(Sn(_e({},_t.style),{transform:qe.ux.Translate.toString(Ia),transition:Rn}),Qa?{position:"relative",zIndex:100}:{}),ba=(0,x.useMemo)(()=>({setActivatorNodeRef:ar,listeners:zt}),[ar,zt]);return x.createElement(Mn.Provider,{value:ba},x.createElement("tr",_e(Sn(_e({},_t),{ref:Da,style:En}),kt)))},dt=({shixunHomeworks:_t,classroomList:kt,globalSetting:zt,user:Da,loading:ar,dispatch:Ia})=>{var Rn,Qa,En,ba;const[Pa,Gr]=(0,x.useState)(Sn(_e({},(0,pe.useParams)()),{page:1,per_page:10})),[Wa,Ko]=(0,x.useState)([]),[uo,Po]=(0,x.useState)(-1),[cr,sr]=(0,x.useState)(""),[Vn,Ir]=(0,x.useState)(""),{detailLeftMenus:oi}=kt,ka=(0,pe.useLocation)(),[ya,Yr]=(0,x.useState)({}),{workDetail:Oi,workList:Jn,workSetting:pr}=_t,[Ca,ln]=(0,x.useState)("1"),[ma,Fn]=(0,x.useState)(!1),[$r,wr]=(0,x.useState)(!1),[Lr,so]=(0,x.useState)(""),[Fr,po]=(0,x.useState)(1),lr=(0,x.useRef)(null),[Nr,yo]=(0,x.useState)(!1);(0,x.useEffect)(()=>{Jn.homework_status&&Uo()},[Jn]),(0,x.useEffect)(()=>{lr.current&&(lr.current.clientHeight>200?po(2):po(4))},[Wa==null?void 0:Wa.description]);function Uo(){return wn(this,null,function*(){var na,Ua,Kr;Fn(!0);let Tr=yield(0,de.ZP)(`/api/courses/${Pa.coursesId}/homework_commons/edit_hack_homework.json`,{method:"get",params:Sn(_e({},Pa),{id:Pa.categoryId})});if(Ko(Tr),Fn(!1),Pa.defaultExpandedRowKeys=[`${(Ua=(na=Tr==null?void 0:Tr.data)==null?void 0:na[0])==null?void 0:Ua.identifier}`],Tr!=null&&Tr.hide_description)ln("2");else if(Ca!="2"){if((Kr=Jn.homework_status)!=null&&Kr.includes("\u5BFC\u5165"))return;ln(Tr!=null&&Tr.description?"1":"2")}Gr(_e({},Pa))})}const Nn=()=>{if(Fr===1)return{visibility:"hidden"};if(Fr===2)return{overflow:"hidden",height:"200px"};if(Fr===3)return{overflow:"initial"};if(Fr===4)return{overflow:"initial"}},fa=na=>wn(void 0,[na],function*({active:Ua,over:Kr}){if(Ua.id!==(Kr==null?void 0:Kr.id)&&(Kr!=null&&Kr.id)){Ko(No=>{var hi;const _i=(hi=No==null?void 0:No.data)==null?void 0:hi.findIndex(Pl=>Pl.identifier===Ua.id),qi=No==null?void 0:No.data.findIndex(Pl=>Pl.identifier===(Kr==null?void 0:Kr.id));return Sn(_e({},No),{data:(0,lt.Rp)(No==null?void 0:No.data,_i,qi)})});let Tr=yield(0,de.ZP)(`/api/courses/${Pa==null?void 0:Pa.coursesId}/homework_commons/change_hack_position.json`,{method:"post",body:{id:Pa==null?void 0:Pa.categoryId,origin_identifier:Ua==null?void 0:Ua.id,target_identifier:Kr==null?void 0:Kr.id}});(Tr==null?void 0:Tr.status)==0&&(De.ZP.success("\u6392\u5E8F\u6210\u529F"),Uo())}}),rr=na=>wn(void 0,null,function*(){const Ua=()=>wn(void 0,null,function*(){let Tr=yield(0,de.ZP)(`/api/item_banks/${na}/copy_hack_item.json`,{method:"post"});(Tr==null?void 0:Tr.status)===0&&De.ZP.success("\u52A0\u5165\u8BD5\u9898\u5E93\u6210\u529F\uFF01")});yo(!0);let Kr=yield(0,de.ZP)(`/api/item_banks/${na}/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:Ua}):Ua(),yo(!1)});return x.createElement("section",{className:be.bg},x.createElement(ve.Z,{spinning:ma},(!(Wa!=null&&Wa.hide_description)||(0,Ae.GJ)())&&x.createElement("section",{className:" edu-container",style:{padding:"20px 20px 0 20px",background:"#fff",position:"relative"}},!$r&&(0,Ae.GJ)()&&x.createElement("div",{style:{position:"absolute",zIndex:10,right:34,top:30}},(pr==null?void 0:pr.hack_edit_permission)&&x.createElement("span",{className:be.deseIconSty,style:{marginLeft:"auto",cursor:"pointer"},onClick:()=>{wr(!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:()=>wn(void 0,null,function*(){if(!(Wa!=null&&Wa.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:()=>wn(void 0,null,function*(){let na=yield(0,de.ZP)(`/api/homework_commons/${Pa==null?void 0:Pa.categoryId}/hide_description.json`,{method:"post",body:{status:!0}});(na==null?void 0:na.status)==0&&(De.ZP.success("\u9690\u85CF\u6210\u529F"),Uo())})});else{let na=yield(0,de.ZP)(`/api/homework_commons/${Pa==null?void 0:Pa.categoryId}/hide_description.json`,{method:"post",body:{status:!1}});(na==null?void 0:na.status)==0&&(De.ZP.success("\u516C\u5F00\u6210\u529F"),Uo())}})},x.createElement(We.Z,{title:Wa!=null&&Wa.hide_description?"\u516C\u5F00\u8BF4\u660E":"\u9690\u85CF\u8BF4\u660E"},x.createElement("i",{className:"iconfont icon-xianshiyincang font14"}),x.createElement("span",null,Wa!=null&&Wa.hide_description?"\u516C\u5F00\u8BF4\u660E":"\u9690\u85CF\u8BF4\u660E")))),$r?x.createElement(x.Fragment,null,x.createElement(Ne.Z,{defaultValue:Wa==null?void 0:Wa.description,watch:!0,height:155,onChange:na=>{so(na)}}),x.createElement("div",{style:{display:"flex"}},x.createElement(ke.ZP,{size:"middle",type:"primary",className:`${be.buttonEdit} mr20`,style:{marginLeft:"auto"},htmlType:"submit",onClick:()=>wn(void 0,null,function*(){po(1);let na=yield(0,de.ZP)(`/api/homework_commons/${Pa==null?void 0:Pa.categoryId}/update_description.json`,{method:"post",body:{description:Lr}});(na==null?void 0:na.status)==0&&(De.ZP.success("\u7F16\u8F91\u6210\u529F"),wr(!1),Uo())})},"\u63D0\u4EA4"),x.createElement(ke.ZP,{size:"middle",type:"primary",ghost:!0,className:be.buttonEdit,onClick:()=>{wr(!1)}},"\u53D6\u6D88"))):!!(Wa!=null&&Wa.description)&&x.createElement("div",{ref:lr,className:be.maskWrap,style:Nn()},x.createElement("div",{className:be.desHead},x.createElement("img",{src:ye,width:94})),x.createElement(me.Z,{className:be.md,value:(Wa==null?void 0:Wa.description)||""}),Fr===2&&x.createElement("div",{className:be.mask},x.createElement("div",{onClick:()=>po(3)},"\u5C55\u5F00",x.createElement("i",{className:"iconfont icon-zhankai4"}))),Fr===3&&x.createElement("div",{className:be.mask,style:{position:"relative",height:30,background:"transparent",paddingTop:5}},x.createElement("div",{onClick:()=>po(2)},"\u6536\u8D77",x.createElement("i",{className:"iconfont icon-shouqi5"}))))),(0,Ae.dE)()&&!!(Wa!=null&&Wa.group_name)&&x.createElement("div",{className:be.info},x.createElement("img",{src:`${he.Z.IMG_SERVER}/images/${(Rn=Wa==null?void 0:Wa.user)==null?void 0:Rn.image_url}`}),x.createElement("div",{className:"ml20",style:{alignItems:"start"}},x.createElement("b",null,(Wa==null?void 0:Wa.name)||""),x.createElement("span",{title:(Wa==null?void 0:Wa.group_name)||"",style:{maxWidth:"130px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",wordBreak:"break-all"}},(Wa==null?void 0:Wa.group_name)||"")),x.createElement(We.Z,{title:x.createElement(x.Fragment,null,x.createElement("div",null,"\u8BD5\u9898\u5F97\u5206\uFF1A",(Wa==null?void 0:Wa.late_final_score)||0),x.createElement("div",null,"\u8865\u4EA4\u6263\u5206\uFF1A",(Wa==null?void 0:Wa.late_penalty)||0),x.createElement("div",null,"\u6700\u7EC8\u6210\u7EE9\uFF1A",(Wa==null?void 0:Wa.total_score)||0))},x.createElement("div",null,x.createElement("b",null,x.createElement(He.n,{value:Wa==null?void 0:Wa.total_score})),x.createElement("span",null,"\u603B\u6210\u7EE9"))),x.createElement("div",null,x.createElement("b",null,(Wa==null?void 0:Wa.total_time)||"-"),x.createElement("span",null,"\u603B\u8017\u65F6")),x.createElement("div",null,x.createElement("b",{style:{color:"#009C0F"}},Wa==null?void 0:Wa.pass_count),x.createElement("span",null,"\u5DF2\u901A\u8FC7\u6570")),x.createElement("div",null,x.createElement("b",{style:{color:"#FA6400"}},Wa==null?void 0:Wa.doing_count),x.createElement("span",null,"\u8FDB\u884C\u4E2D")),x.createElement("div",null,x.createElement("b",{style:{color:"#E30000"}},Wa==null?void 0:Wa.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(Qe.Z,null)," \u201D\u8FDB\u884C\u8BD5\u9898\u6392\u5E8F\uFF0C\u5B66\u751F\u7AEF\u5C06\u6309\u7167\u6B64\u6392\u5E8F\u5C55\u793A"),Pa.defaultExpandedRowKeys&&x.createElement(Le.LB,{modifiers:[Ge.DL],onDragEnd:fa},x.createElement(Ke.Fo,{items:(En=Wa==null?void 0:Wa.data)==null?void 0:En.map(na=>na==null?void 0:na.identifier),strategy:Ke.qw},x.createElement(Te.default,{components:{body:{row:ut}},dataSource:Wa==null?void 0:Wa.data,rowKey:na=>na==null?void 0:na.identifier,pagination:!1,expandable:{expandIcon:({expanded:na,onExpand:Ua,record:Kr})=>na?x.createElement(We.Z,{title:"\u6536\u8D77"},x.createElement(mt.Z,{className:be.upDownSty,onClick:Tr=>Ua(Kr,Tr)})):x.createElement(We.Z,{title:"\u5C55\u5F00"},x.createElement(Vt.Z,{className:be.upDownSty,onClick:Tr=>Ua(Kr,Tr)})),expandedRowRender:na=>{var Ua;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",na==null?void 0:na.name),x.createElement("p",null,"\u63CF\u8FF0\uFF1A",x.createElement(me.Z,{value:(na==null?void 0:na.description)||""})),!(0,Ae.dE)()&&x.createElement("p",null,"\u9898\u76EE\u89E3\u6790:",x.createElement(me.Z,{style:{fontSize:"14px"},value:(na==null?void 0:na.analysis)||"\u6682\u65E0\u89E3\u6790"}))),x.createElement("div",{style:{width:"100%",textAlign:"end"}},(pr==null?void 0:pr.hack_edit_permission)&&x.createElement(ke.ZP,{className:"mt20",type:"primary",ghost:!0,onClick:()=>{window.open(`/problems/newedit/${na==null?void 0:na.identifier}?type=1`),localStorage.setItem("program_homework",[Pa.coursesId,Pa.categoryId])}},"\u7F16\u8F91"),(pr==null?void 0:pr.hack_edit_permission)&&((Ua=Wa==null?void 0:Wa.homework_status)==null?void 0:Ua.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:()=>wn(void 0,null,function*(){let Kr=yield(0,de.ZP)(`/api/problems/${na==null?void 0:na.identifier}.json`,{method:"delete"});(Kr==null?void 0:Kr.status)===0&&(De.ZP.info("\u5220\u9664\u6210\u529F"),Pa.page=1,Uo())})})}},"\u5220\u9664")))},defaultExpandedRowKeys:Pa.defaultExpandedRowKeys},columns:(ba=[(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:(na,Ua,Kr)=>`${(Pa.page-1)*Pa.per_page+Kr+1}`},{title:"\u6807\u9898",dataIndex:"name",ellipsis:!0,key:"name"},((0,Ae.dE)()||(Wa==null?void 0:Wa.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(na,Ua,Kr){return x.createElement("div",null,ha[na])}},{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:na=>{let Ua="",Kr=Number(na);return Kr>=0&&Kr<=60?Ua="c-red":Kr>=90?Ua="c-green":Kr>60?Ua="c-orange":Ua="",x.createElement("span",{className:Ua},na)}},(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:(na,Ua)=>x.createElement("span",{style:{backgroundColor:"#ECFAF5",color:"#1B8565",overflow:"hidden",textOverflow:"ellipsis",padding:"2px 6px"}},na||"--")},(0,Ae.dE)()&&{title:"\u901A\u8FC7\u72B6\u6001",dataIndex:"finish_status",key:"finish_status",render(na){return x.createElement(x.Fragment,null,na===0&&x.createElement("span",{style:{color:"#E30000"}},"\u672A\u7B54\u9898"),na===1&&x.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),na===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(na,Ua,Kr){return x.createElement("div",null,(0,Ae.GJ)()&&x.createElement(ke.ZP,{type:"link",style:{marginRight:"5px"},loading:Nr,onClick:()=>wn(this,null,function*(){rr(Ua==null?void 0:Ua.id)})},"\u52A0\u5165\u8BD5\u9898\u5E93"),x.createElement("a",{onClick:()=>{var Tr;if((0,Ae.Rm)()&&!((Tr=kt.AssistantObject.hack)!=null&&Tr.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/${Pa.coursesId}/program_homework/${Pa.categoryId}/${na}/ranking`)}},"\u6392\u884C"),x.createElement("a",{onClick:()=>wn(this,null,function*(){let Tr=yield(0,de.ZP)(`/api/problems/${Ua==null?void 0:Ua.identifier}/start.json`,{method:"get"});Tr&&(window.open(`/myproblems/${Tr==null?void 0:Tr.identifier}?type=1&backUrl=/classrooms/${Pa.coursesId}/program_homework/${Pa.categoryId}/detail?tabs=1`),localStorage.setItem("program_homework",[Pa.coursesId,Pa.categoryId]))}),className:"ml20"},(0,Ae.GJ)()?"\u4F53\u9A8C":"\u8FDB\u5165\u7B54\u9898"),(pr==null?void 0:pr.hack_edit_permission)&&x.createElement("a",{className:"ml20",onClick:()=>wn(this,null,function*(){window.open(`/problems/newedit/${Ua==null?void 0:Ua.identifier}?type=1`),localStorage.setItem("program_homework",[Pa.coursesId,Pa.categoryId])})},"\u7F16\u8F91"))}}])==null?void 0:ba.filter(na=>!!na)})))),x.createElement("aside",{style:{padding:"0 20px 20px 20px"}},x.createElement(Ce.Z,{defaultCurrent:1,total:Wa==null?void 0:Wa.count,hideOnSinglePage:!0,showTotal:na=>x.createElement("span",null,"\u5171",na,"\u6761"),current:Pa.page||1,pageSize:Pa.per_page||10,onChange:(na,Ua)=>{Pa.page=na,Pa.per_page=Ua,Gr(_e({},Pa)),Uo()}})))),x.createElement(re,null))};var At=(0,pe.connect)(({shixunHomeworks:_t,classroomList:kt,loading:zt,user:Da,globalSetting:ar})=>({shixunHomeworks:_t,globalSetting:ar,classroomList:kt,user:Da,loading:zt.effects}))(dt),Et=ee(22150),gt=ee(71230),Qt=ee(15746),Ot=ee(69677),bt=ee(84567),rn=ee(26194),Xt=ee(67294),$e=Object.defineProperty,Re=Object.getOwnPropertySymbols,Ln=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,je=(_t,kt,zt)=>kt in _t?$e(_t,kt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):_t[kt]=zt,Ht=(_t,kt)=>{for(var zt in kt||(kt={}))Ln.call(kt,zt)&&je(_t,zt,kt[zt]);if(Re)for(var zt of Re(kt))xe.call(kt,zt)&&je(_t,zt,kt[zt]);return _t},et=(_t,kt,zt)=>new Promise((Da,ar)=>{var Ia=En=>{try{Qa(zt.next(En))}catch(ba){ar(ba)}},Rn=En=>{try{Qa(zt.throw(En))}catch(ba){ar(ba)}},Qa=En=>En.done?Da(En.value):Promise.resolve(En.value).then(Ia,Rn);Qa((zt=zt.apply(_t,kt)).next())});const Ue=({shixunHomeworks:_t,loading:kt,dispatch:zt,classroomList:Da})=>{var ar;const Ia=(0,pe.useParams)(),[Rn,Qa]=(0,x.useState)(Ht(Ht({},{page:1,limit:20,group_ids:[]}),Ia)),En=(0,pe.useLocation)(),{codeReview:ba}=_t,[Pa,Gr]=(0,x.useState)({}),[Wa]=Et.default.useForm();Rn.order="code_rate",Rn.sort="desc",Rn.category=Rn.categoryId,(0,x.useEffect)(()=>{Ko(),console.log("params",Rn)},[Rn]),(0,x.useEffect)(()=>{_t.actionTabs.key==="\u6267\u884C\u4EE3\u7801\u67E5\u91CD"&&Ko()},[_t.actionTabs.key]);const Ko=()=>et(void 0,null,function*(){(yield zt({type:"shixunHomeworks/getCodeReview",payload:Ht({},Rn)})).status===-2&&setTimeout(()=>Ko(),1500)}),uo=()=>{},Po=(sr,Vn)=>{Rn.page=sr,Rn.limit=20,zt({type:"shixunHomeworks/getCodeReview",payload:Ht({},Rn)})},cr=[{title:"\u5E8F\u53F7",dataIndex:"number",render:(sr,Vn,Ir)=>Rn.limit*(Rn.page-1)+Ir+1},{title:"\u59D3\u540D",dataIndex:"username"},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u76F8\u4F3C\u5EA6",dataIndex:"code_rate",render:sr=>Xt.createElement("span",{className:"c-orange"},sr)},{title:"\u64CD\u4F5C",dataInex:"action",render:(sr,Vn)=>Xt.createElement("div",null,Xt.createElement("a",{onClick:()=>{var Ir;if((0,Ae.Rm)()&&!((Ir=Da.AssistantObject.hack)!=null&&Ir.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/${Rn.coursesId}/program_homework/${Rn.categoryId}/review_detail/${Vn.user_id}`)}},"\u67E5\u770B"),Xt.createElement("br",null))}];return Xt.createElement("section",{className:"minH500 bg-white pl30 pr30 pt10"},(ba==null?void 0:ba.status)===-2&&Xt.createElement(rn.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"}),(ba==null?void 0:ba.status)!==-2&&Xt.createElement("div",null,Xt.createElement(gt.Z,null,Xt.createElement(Qt.Z,{flex:"1"},Xt.createElement("p",{className:"mt10"},"\u67E5\u91CD\u65F6\u95F4\uFF1A",ba.last_review_time,Xt.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:Rn}})}},"\u4EE3\u7801\u67E5\u91CD"))),Xt.createElement(Qt.Z,null,Xt.createElement(Ot.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:sr=>{Rn.search=sr,zt({type:"shixunHomeworks/getCodeReview",payload:Rn})},style:{width:200}}),Xt.createElement("span",{className:"ml5 c-red"}))),((ar=ba.group_info)==null?void 0:ar.length)>0&&Xt.createElement(Xt.Fragment,null,Xt.createElement(gt.Z,null,Xt.createElement(Qt.Z,{flex:"80px",className:"font14"},"\u5206\u73ED\u60C5\u51B5:"),Xt.createElement(Qt.Z,{flex:"80px"},Xt.createElement(bt.default,{checked:Rn.group_ids=="",value:"all",onChange:sr=>{delete Rn.group_ids,Rn.group_ids=[],Rn.page=1,Qa(Ht({},Rn))}},"\u5168\u90E8")),Xt.createElement(Qt.Z,{flex:"1"},ba.group_info&&ba.group_info.map((sr,Vn)=>Xt.createElement(bt.default,{style:{marginLeft:0},value:sr.id,checked:Rn.group_ids.includes(sr.id),onChange:Ir=>{Ir.target.checked?Rn.group_ids.push(sr.id):Rn.group_ids.splice(Rn.group_ids.indexOf(sr.id),1),Rn.page=1,Qa(Ht({},Rn))}},sr.name,"(",sr.members_count,")")))),Xt.createElement(gt.Z,{className:"font14 c-red mt5"},Xt.createElement(Qt.Z,null,"\u672C\u9875\u4EC5\u663E\u793A\u5168\u90E8\u5DF2\u67E5\u91CD\u5206\u73ED"))),Xt.createElement("p",{className:"mt10"},Xt.createElement("span",{className:"c-red"},ba.copy_reviews_count),"\u4E2A\u7591\u4F3C\u6284\u88AD\u4F5C\u54C1\uFF08",ba.all_reviews_count,"\u4F5C\u54C1\uFF09"),Xt.createElement(Te.default,{className:"mt30",loading:kt["shixunHomeworks/getCodeReview"],pagination:!1,dataSource:ba.users_reviews,columns:cr,onChange:(sr,Vn,Ir)=>{Ir.order==="ascend"&&(Rn.b_order="asc"),Ir.order==="descend"&&(Rn.b_order="desc"),Ir.order||delete Rn.b_order,zt({type:"shixunHomeworks/getCodeReview",payload:Ht({},Rn)})}}),Xt.createElement("aside",{className:"tc mb50 mt30"},Xt.createElement(Ce.Z,{showSizeChanger:!1,onChange:Po,defaultCurrent:Rn.page||1,current:Rn.page||1,defaultPageSize:20,hideOnSinglePage:!0,total:ba.copy_reviews_count}))))};var Ct=(0,pe.connect)(({shixunHomeworks:_t,classroomList:kt,loading:zt})=>({shixunHomeworks:_t,classroomList:kt,loading:zt.effects}))(Ue),Pt=ee(42469),Zt=ee(34336),vn=ee(11713),Nt=ee(78045),Tt=ee(31795),St=ee(40043),en=ee(24018),Gt=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),xn=ee(17998),Un=ee(78207),pa=ee(92882),Kt=ee(67294),$t=Object.defineProperty,qt=Object.defineProperties,sa=Object.getOwnPropertyDescriptors,ra=Object.getOwnPropertySymbols,Hn=Object.prototype.hasOwnProperty,Oa=Object.prototype.propertyIsEnumerable,Ta=(_t,kt,zt)=>kt in _t?$t(_t,kt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):_t[kt]=zt,Pr=(_t,kt)=>{for(var zt in kt||(kt={}))Hn.call(kt,zt)&&Ta(_t,zt,kt[zt]);if(ra)for(var zt of ra(kt))Oa.call(kt,zt)&&Ta(_t,zt,kt[zt]);return _t},zr=(_t,kt)=>qt(_t,sa(kt)),Na=(_t,kt,zt)=>new Promise((Da,ar)=>{var Ia=En=>{try{Qa(zt.next(En))}catch(ba){ar(ba)}},Rn=En=>{try{Qa(zt.throw(En))}catch(ba){ar(ba)}},Qa=En=>En.done?Da(En.value):Promise.resolve(En.value).then(Ia,Rn);Qa((zt=zt.apply(_t,kt)).next())});const{RangePicker:Xe}=Zt.default,{Option:Bt}=vn.default,xt=({shixunHomeworks:_t,user:kt,loading:zt,classroomList:Da,dispatch:ar})=>{var Ia,Rn,Qa,En,ba,Pa,Gr,Wa,Ko,uo,Po,cr;const sr=(0,pe.useParams)(),{workSetting:Vn,workList:Ir,changeData:oi}=_t,[ka,ya]=(0,x.useState)(!0),[Yr,Oi]=(0,x.useState)(!1);let[Jn,pr]=(0,x.useState)([]),[Ca,ln]=(0,x.useState)([]);const ma=(0,x.useRef)(!0);let[Fn,$r]=(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)(()=>(wr(),()=>{pr([])}),[]);const wr=()=>{ar({type:"shixunHomeworks/getWorkSetting",payload:Pr({},sr)})};(0,x.useEffect)(()=>{var Nn,fa;((0,Ae.G5)()||(0,Ae.Rm)()&&((Nn=Da.AssistantObject.hack)!=null&&Nn.can_late||(fa=Da.AssistantObject.hack)!=null&&fa.can_publish))&&ya(!1)},[kt,Da]),(0,x.useEffect)(()=>{if(!(Vn!=null&&Vn.course_id)||!ma.current)return;ma.current=!1,Object.keys(Fn).map(function(fa){Fn[fa]=Vn[fa]}),(!Fn.allow_late||!Fn.unified_late)&&(Fn.late_minus_score=20,Fn.penalty_type=Qn.Q.Percent),Fn.unified_setting||(Fn.unified_late=!1,Fn.unified_anonymous_comment=!1,Fn.unified_anonymous_appeal=!1),Jn=JSON.parse(JSON.stringify(Vn.group_settings.map(fa=>zr(Pr({},fa),{group_name:[fa.group_name]})).filter(fa=>fa.publish_time!==null))),Ca=JSON.parse(JSON.stringify(Vn.allow_late_settings.map(fa=>zr(Pr({},fa),{group_name:[fa.group_name]})).filter(fa=>fa.late_time!==null))),Fn.difficult_settings.length===0&&(Fn.difficult_settings=[0,0,0]),$r(Pr({},Fn));const Nn=(0,Be.QE)((Jn==null?void 0:Jn.length)>0?Jn:[]);pr([...Nn]),(Ca==null?void 0:Ca.length)<=0?ln([{late_minus_score:20}]):ln([...Ca])},[Vn]);const Lr=()=>{var Nn;if(((Nn=kt==null?void 0:kt.userInfo)==null?void 0:Nn.user_status)===2){(0,Un.Rd)();return}const fa=JSON.parse(JSON.stringify(Fn));if(fa.categoryId=sr.categoryId,Fn.unified_setting||(Jn=Jn==null?void 0:Jn.map(rr=>{var na;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=(na=Vn.group_settings)==null?void 0:na.filter(Ua=>{var Kr;return(Kr=rr==null?void 0:rr.group_name)==null?void 0:Kr.includes(Ua.group_name)}).map(Ua=>Ua.group_id||Ua.id).toString().split(","),rr})),fa.group_settings=Jn,Fn.allow_late)if(Fn.unified_late){if(Fn.late_minus_score===null||Fn.late_minus_score===void 0||Fn.late_minus_score<0||Fn.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(!Fn.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 Ca=Ca==null?void 0:Ca.map(rr=>{var na,Ua;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=(Ua=(na=rr==null?void 0:rr.group_name)==null?void 0:na.map(Kr=>{var Tr,No;let hi=(No=(Tr=Vn.group_settings)==null?void 0:Tr.filter(_i=>(_i==null?void 0:_i.group_name)===Kr))==null?void 0:No[0];return hi==null?void 0:hi.group_id}))==null?void 0:Ua.toString().split(","),rr}),fa.allow_late_settings=Ca;fa.send_type===1&&(fa.difficult_settings=fa.difficult_settings.map(rr=>rr||0)),so(fa)},so=Nn=>{var fa;if(Nn.total_score===null){De.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(Nn!=null&&Nn.work_efficiency&&Nn.eff_score===null){De.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const rr={shixun_evaluation:Nn.shixun_evaluation,challenge_settings:Nn.challenge_settings},na=()=>Na(void 0,null,function*(){Oi(!0),(yield(0,de.ZP)(`/api/homework_commons/${sr.categoryId}/publish_setting.json`,{method:"post",body:Pr({},Nn)})).status===0&&(De.ZP.success("\u66F4\u65B0\u6210\u529F"),wr(),ar({type:"shixunHomeworks/getWorkList",payload:Pr({},sr)})),Oi(!1)});!(0,Gt.isEqual)(oi,rr)&&!((fa=Ir==null?void 0:Ir.homework_status)!=null&&fa.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:na}):na()},Fr=(Nn,fa,rr="group_id")=>{var na;return fa?fa.find(Ua=>Ua[rr]===Nn):(na=Vn==null?void 0:Vn.group_settings)==null?void 0:na.find(Ua=>Ua.group_id[0]===Nn)},po=(Vn==null?void 0:Vn.allow_late)||(Vn==null?void 0:Vn.anonymous_comment),lr=Nn=>{var fa,rr;const na=Fr(Nn,Vn==null?void 0:Vn.allow_late_settings,"id"),Ua=Fr(Nn,Vn==null?void 0:Vn.anonymous_comment_settings),Kr=Fr(Nn);return(Vn==null?void 0:Vn.allow_late)&&na&&le()(na==null?void 0:na.late_time)<=le()()||(Vn==null?void 0:Vn.anonymous_comment)&&Ua&&(Ua==null?void 0:Ua.evaluation_start)!==null||((rr=(le()(Kr==null?void 0:Kr.end_time)<=le()()&&((fa=Vn==null?void 0:Vn.allow_late_settings)==null?void 0:fa.filter(Tr=>Tr.group_id.includes(Nn))))[0])==null?void 0:rr.late_time)!=null},Nr=Vn==null?void 0:Vn.anonymous_comment,yo=Nn=>{if(!Nn)return!1;const fa=Fr(Nn,Vn==null?void 0:Vn.anonymous_comment_settings);return(Vn==null?void 0:Vn.anonymous_comment)&&fa&&(fa==null?void 0:fa.evaluation_start)!==null},Uo=(Nn,fa)=>{var rr,na,Ua;ar({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:Nn,index:fa,rangePickerDisabled:ka||(le()()<=le()((na=Fr((rr=Nn==null?void 0:Nn.group_id)==null?void 0:rr[0]))==null?void 0:na.publish_time)?!1:[!0,lr((Ua=Nn==null?void 0:Nn.group_id)==null?void 0:Ua[0])]),disabledDate:Vn==null?void 0:Vn.course_end_date}})};return Kt.createElement("section",{className:mn.form},Kt.createElement("div",{className:mn.title},"\u8BD5\u9898\u53D1\u5E03",Kt.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")),Kt.createElement("div",{className:mn.content},Kt.createElement(Nt.ZP.Group,{disabled:ka||!((Ia=Ir==null?void 0:Ir.homework_status)!=null&&Ia.includes("\u672A\u53D1\u5E03"))||!((Rn=Da.AssistantObject.hack)!=null&&Rn.can_publish)&&(0,Ae.Rm)(),value:Fn.send_type,onChange:Nn=>{Fn.send_type=Nn.target.value,$r(Object.assign({},Fn))}},Kt.createElement(Nt.ZP,{value:0,style:{color:"#333333"}},"\u56FA\u5B9A\u8BD5\u9898\u6A21\u5F0F"),Kt.createElement(Nt.ZP,{style:{marginLeft:40,color:"#333333"},value:1},"\u968F\u673A\u62BD\u9898\u6A21\u5F0F"))),Fn.send_type===1&&Kt.createElement("div",{className:mn.content,style:{borderTop:"1px solid #fff"}},Kt.createElement(gt.Z,{style:{marginLeft:"165px"}},Kt.createElement(Qt.Z,{style:{color:"#333333"}},"\u7B80\u5355\u9898\u6570",Kt.createElement(Tt.Z,{size:"large",precision:0,disabled:ka||!((Qa=Ir==null?void 0:Ir.homework_status)!=null&&Qa.includes("\u672A\u53D1\u5E03")),placeholder:`\u6700\u5927${Fn.difficult_count[0]||0}`,min:0,max:Fn.difficult_count[0]||0,value:Fn.difficult_settings[0],onChange:Nn=>{Fn.difficult_settings[0]=Nn,$r(Object.assign({},Fn))},className:"ml10 mr20",style:{width:120}})),Kt.createElement(Qt.Z,{style:{color:"#333333"}},"\u9002\u4E2D\u9898\u6570",Kt.createElement(Tt.Z,{size:"large",precision:0,disabled:ka||!((En=Ir==null?void 0:Ir.homework_status)!=null&&En.includes("\u672A\u53D1\u5E03")),placeholder:`\u6700\u5927${Fn.difficult_count[1]||0}`,min:0,max:Fn.difficult_count[1]||0,value:Fn.difficult_settings[1],onChange:Nn=>{Fn.difficult_settings[1]=Nn,$r(Object.assign({},Fn))},className:"ml10 mr20",style:{width:120}})),Kt.createElement(Qt.Z,{style:{color:"#333333"}},"\u56F0\u96BE\u9898\u6570",Kt.createElement(Tt.Z,{size:"large",precision:0,disabled:ka||!((ba=Ir==null?void 0:Ir.homework_status)!=null&&ba.includes("\u672A\u53D1\u5E03")),placeholder:`\u6700\u5927${Fn.difficult_count[2]||0}`,min:0,max:Fn.difficult_count[2]||0,value:Fn.difficult_settings[2],onChange:Nn=>{Fn.difficult_settings[2]=Nn,$r(Object.assign({},Fn))},className:"ml10 mr20",style:{width:120}})))),Kt.createElement("div",{className:`${mn.title} mt30`},"\u4F5C\u4E1A\u53D1\u5E03",Kt.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")),Kt.createElement("div",{className:mn.content},Kt.createElement(Nt.ZP.Group,{disabled:ka||!((Pa=Ir==null?void 0:Ir.homework_status)!=null&&Pa.includes("\u672A\u53D1\u5E03"))||!((Gr=Da.AssistantObject.hack)!=null&&Gr.can_publish)&&(0,Ae.Rm)(),value:Fn.unified_setting,onChange:Nn=>{var fa;if(!((fa=Ir==null?void 0:Ir.homework_status)!=null&&fa.includes("\u672A\u53D1\u5E03"))){De.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(Fn.unified_setting=!Fn.unified_setting,Fn.unified_setting||(Fn.unified_late=!1),$r(Object.assign({},Fn)),Fn.unified_setting===!1&&Jn==""){pr(Jn.concat({}));return}Fn.unified_setting&&(pr([]),ln([{late_minus_score:5}]))}},Kt.createElement(Nt.ZP,{value:!0,disabled:!(Vn!=null&&Vn.manage_all_group),style:{color:"#333333"}},"\u7EDF\u4E00\u53D1\u5E03"),Kt.createElement(Nt.ZP,{style:{marginLeft:70,color:"#333333"},disabled:((Wa=Vn==null?void 0:Vn.group_settings)==null?void 0:Wa.length)===0,value:!1},"\u5206\u73ED\u53D1\u5E03")),((Ko=Vn==null?void 0:Vn.group_settings)==null?void 0:Ko.length)===0&&Kt.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")),Kt.createElement("div",{className:mn.content,style:{borderTop:"1px solid #fff"}},Fn.unified_setting&&Kt.createElement(gt.Z,{align:"middle",className:"ml25"},Kt.createElement(gt.Z,{align:"middle"},Kt.createElement(Qt.Z,{className:"c-grey-333"},"\u53D1\u5E03\u65F6\u95F4"),Kt.createElement(Qt.Z,{className:"ml10"},Kt.createElement(Zt.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},allowClear:!1,size:"large",format:"YYYY-MM-DD HH:mm",disabledDate:Nn=>(0,xn.Q8)(Nn,Vn==null?void 0:Vn.course_end_date),disabledTime:Nn=>(0,xn.d0)(Nn),disabled:ka||le()()>=le()(Vn==null?void 0:Vn.publish_time)||!((uo=Da.AssistantObject.hack)!=null&&uo.can_publish)&&(0,Ae.Rm)(),value:Fn.publish_time?le()(Fn.publish_time):"",onChange:(Nn,fa)=>{Fn.publish_time=fa,(Fn.end_time==""||!Fn.end_time)&&Fn.unified_setting&&(Fn.end_time=le()(Nn).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),$r(Object.assign({},Fn))}}))),Kt.createElement(gt.Z,{align:"middle",style:{marginLeft:40}},Kt.createElement(Qt.Z,{className:"c-grey-333"},"\u622A\u6B62\u65F6\u95F4"),Kt.createElement(Qt.Z,{className:"ml10"},Kt.createElement(Zt.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:(Vn==null?void 0:Vn.allow_late)&&(Vn==null?void 0:Vn.homework_status.includes("\u5DF2\u622A\u6B62"))||ka||(Vn==null?void 0:Vn.allow_late)&&le()()>=le()(Vn==null?void 0:Vn.end_time)||!((Po=Da.AssistantObject.hack)!=null&&Po.can_publish)&&(0,Ae.Rm)(),disabledDate:Nn=>(0,xn.Q8)(Nn,Vn==null?void 0:Vn.course_end_date,Fn.publish_time),disabledTime:Nn=>(0,xn.d0)(Nn,Fn.publish_time),value:Fn.end_time?le()(Fn.end_time):"",onChange:(Nn,fa)=>{Fn.end_time=fa,$r(Object.assign({},Fn))}})))),!Fn.unified_setting&&(Jn==null?void 0:Jn.length)>0&&Kt.createElement(gt.Z,{className:"ml25"},Jn&&Jn.map(function(Nn,fa){var rr,na,Ua,Kr;return Kt.createElement(Qt.Z,{className:fa!==0&&"mt20",span:24,key:fa},Kt.createElement(gt.Z,{gutter:[0,16]},Kt.createElement(Qt.Z,{span:8},Kt.createElement(gt.Z,{gutter:[8,16],align:"middle"},Kt.createElement(Qt.Z,{style:{minWidth:85},className:"c-grey-333"},"\u53D1\u5E03\u89C4\u5219 ",fa+1),Kt.createElement(Qt.Z,{flex:"1",style:{maxWidth:300}},Kt.createElement(vn.default,{size:"large",disabled:ka||((rr=Vn==null?void 0:Vn.homework_status)!=null&&rr.includes("\u672A\u53D1\u5E03")&&Nn.id||le()()<le()(Nn==null?void 0:Nn.publish_time)?!1:!!(Nn!=null&&Nn.publish_time)),mode:"multiple",className:`${mn.selectSty}`,style:{width:250},value:Nn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Tr=>{var No;if(!((No=Da.AssistantObject.hack)!=null&&No.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[fa].group_name=Tr,Jn[fa].group_id=Nn.group_id;const hi=(0,Gt.flattenDeep)(Jn.map(qi=>qi.group_name)),_i=Ca.map(qi=>{let Pl=(qi==null?void 0:qi.group_name)||[];return zr(Pr({},qi),{group_name:(0,Gt.remove)(Pl,xu=>hi.includes(xu))})});ln(_i),pr(Jn.slice())},maxTagCount:4,maxTagPlaceholder:Tr=>Kt.createElement("div",{style:{cursor:"pointer"},onClick:()=>Uo(Nn,fa)},"+",Tr==null?void 0:Tr.length)},Vn.group_settings&&Vn.group_settings.map(function(Tr){if(!Jn.map(No=>No.group_name).toString().split(",").includes(String(Tr.group_name)))return Kt.createElement(Bt,{value:Tr.group_name,key:Tr.id},Tr.group_name)}))))),Kt.createElement(Qt.Z,{span:14,style:{display:"flex",alignItems:"center"}},Kt.createElement(Xe,{size:"large",allowClear:!1,ranges:{\u6B64\u523B:[Nn.publish_time?le()(Nn.publish_time):le()(),le()()]},disabled:ka||(le()()<=le()((na=Fr(Nn.id))==null?void 0:na.publish_time)?!1:[!0,lr(Nn.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:Tr=>(0,xn.Q8)(Tr,Vn==null?void 0:Vn.course_end_date),disabledTime:Tr=>(0,xn.d0)(Tr),showTime:{format:"HH:mm",defaultValue:[le()((0,Be.U6)(),"HH:mm"),le()((0,Be.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:Nn.publish_time&&[le()(Nn.publish_time),Nn.end_time?le()(Nn.end_time):void 0],onChange:(Tr,No)=>{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[fa].publish_time=No[0],!Nn.end_time&&No[0]?Jn[fa].end_time=le()(No[0]).add(7,"days"):Jn[fa].end_time=No[1],pr([...Jn])},onCalendarChange:(Tr,No,hi)=>{if(No!=null&&No[0]&&!No[1]){const _i=le()(No[0]).add(7,"days");Jn[fa].publish_time=No[0],Jn[fa].end_time=_i,pr([...Jn])}}})),!ka&&Kt.createElement(Qt.Z,{span:2,style:{display:"flex",alignItems:"center"}},((Ua=Nn==null?void 0:Nn.group_id)==null?void 0:Ua.length)>1&&Kt.createElement(We.Z,{title:"\u89C4\u5219\u62C6\u5206"},Kt.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0",fontSize:14},onClick:()=>Uo(Nn,fa)})),Jn.length<((Kr=Vn==null?void 0:Vn.group_settings)==null?void 0:Kr.length)&&Kt.createElement(St.Z,{className:"c-green ml10 mr10",onClick:()=>{pr(Jn.concat({}))}}),((Nn==null?void 0:Nn.publish_time)&&le()()<le()(Nn==null?void 0:Nn.publish_time)||!(Nn!=null&&Nn.publish_time))&&fa!=0&&Kt.createElement(en.Z,{style:{color:"#E30000"},onClick:()=>{var Tr;if(!((Tr=Da.AssistantObject.hack)!=null&&Tr.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 No=(0,Gt.cloneDeep)(Ca);No.forEach((hi,_i)=>{hi.group_name&&(hi.group_name=hi.group_name.filter(qi=>{var Pl;return!((Pl=Jn[fa].group_name)!=null&&Pl.includes(qi))}))}),ln(No),Jn=Jn.filter((hi,_i)=>fa!==_i),pr(Jn.slice()),setTimeout(()=>pr(Jn.slice()),10)}}))))}))),Kt.createElement("div",{className:`${mn.title} mt30`},"\u8865\u4EA4\u8BBE\u7F6E",Kt.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")),Kt.createElement("div",{className:mn.content},Kt.createElement(gt.Z,null,Kt.createElement(bt.default,{checked:Fn.allow_late,disabled:ka||(Vn==null?void 0:Vn.allow_late),onChange:Nn=>{var fa;if(!((fa=Da.AssistantObject.hack)!=null&&fa.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}Nn.target.checked&&we.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",width:480,centered:!0,content:Kt.createElement("div",{style:{padding:10,background:"#f5f6f9"}},Kt.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"),Kt.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),Kt.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"))}),Fn.allow_late=!Fn.allow_late,Ca==""&&ln([{late_minus_score:5}]),$r(Object.assign({},Fn))}},Kt.createElement("span",{style:{fontSize:"14px"}},"\u5F00\u542F\u8865\u4EA4")))),(Fn==null?void 0:Fn.allow_late)&&Kt.createElement("div",{className:mn.content,style:{borderTop:"1px solid #fff",paddingLeft:54}},Kt.createElement("div",null,Kt.createElement("span",{style:{color:"#333333",marginRight:12}},"\u8865\u4EA4\u65B9\u5F0F\uFF1A"),Kt.createElement(Nt.ZP.Group,{disabled:ka||(Vn==null?void 0:Vn.anonymous_comment)||(Vn==null?void 0:Vn.allow_late),value:Fn.unified_late,onChange:Nn=>{var fa;if((0,Ae.Rm)()&&!((fa=Da.AssistantObject.hack)!=null&&fa.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}Fn.unified_late=Nn.target.value,Ca==""&&!Nn.target.value&&ln([{late_minus_score:5}]),$r(Pr({},Fn))}},(Fn==null?void 0:Fn.unified_setting)&&Kt.createElement(Nt.ZP,{value:!0,style:{color:"#333333"},disabled:!(Vn!=null&&Vn.manage_all_group)}," \u7EDF\u4E00\u8865\u4EA4 "),((cr=Vn==null?void 0:Vn.group_settings)==null?void 0:cr.length)&&Kt.createElement(Nt.ZP,{value:!1,style:{color:"#333333"}}," \u5206\u73ED\u8865\u4EA4 "))),Fn!=null&&Fn.unified_late?Kt.createElement(Kt.Fragment,null,Kt.createElement(gt.Z,{align:"middle",className:"mt25"},Kt.createElement(Qt.Z,{style:{color:"#333333"}},"\u8865\u4EA4\u6263\u5206:"),Kt.createElement(Qt.Z,{className:"ml5"},Kt.createElement(Qn.Z,{disabled:ka||Nr,value:{type:Fn.penalty_type,inputValue:Fn.late_minus_score},onChange:Nn=>{var fa;if((0,Ae.Rm)()&&!((fa=Da.AssistantObject.hack)!=null&&fa.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}$r(zr(Pr({},Fn),{late_minus_score:Nn.inputValue,penalty_type:Nn.type}))}})),Kt.createElement(Qt.Z,{flex:"1",className:"ml5"},Kt.createElement("span",{className:"c-grey-c ml10"},Fn.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)"))),Kt.createElement(gt.Z,{align:"middle",className:"mt25"},Kt.createElement(Qt.Z,{style:{color:"#333333"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4:"),Kt.createElement(Qt.Z,{className:"ml5"},Kt.createElement(Zt.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||Nr,value:Fn.late_time?le()(Fn.late_time):"",disabledDate:Nn=>(0,xn.Q8)(Nn,Vn==null?void 0:Vn.course_end_date),disabledTime:Nn=>(0,xn.d0)(Nn),onChange:(Nn,fa)=>{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}Fn.late_time=fa,$r(Object.assign({},Fn))}})),Kt.createElement(Qt.Z,null,Kt.createElement("span",{className:"c-grey-c ml10"},"(\u5B66\u751F\u201C\u5EF6\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9)")))):Ca.map(function(Nn,fa){var rr;return Kt.createElement(Qt.Z,{span:24,key:fa},Kt.createElement(gt.Z,{className:"mt25",align:"middle"},Kt.createElement(Qt.Z,null,Kt.createElement("span",{style:{minWidth:85,display:"inline-block",color:"#333333"}},"\u8865\u4EA4\u89C4\u5219",fa+1,"\uFF1A"),Kt.createElement(vn.default,{size:"large",disabled:ka||!((rr=Ir==null?void 0:Ir.homework_status)!=null&&rr.includes("\u672A\u53D1\u5E03"))&&Nn.id||(Vn==null?void 0:Vn.anonymous_comment),mode:"multiple",className:`${mn.selectSty}`,style:{width:200},value:typeof Nn.group_name=="string"?[Nn.group_name]:Nn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:na=>{var Ua;if((0,Ae.Rm)()&&!((Ua=Da.AssistantObject.hack)!=null&&Ua.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}Ca[fa].group_name=na,Ca[fa].group_id=Nn.group_id,ln(Ca.slice())}},Vn.group_settings&&Vn.group_settings.map(function(na){if(Fn!=null&&Fn.unified_setting&&!Ca.map(Ua=>Ua.group_name).toString().split(",").includes(String(na.group_name)))return Kt.createElement(Bt,{value:na.group_name,key:na.id},na.group_name);if(Jn.map(Ua=>Ua.group_name).toString().split(",").includes(String(na.group_name))&&!Ca.map(Ua=>Ua.group_name).toString().split(",").includes(String(na.group_name)))return Kt.createElement(Bt,{value:na.group_name,key:na.id},na.group_name)}))),Kt.createElement(Qt.Z,{className:"ml20",style:{display:"flex",alignItems:"center"}},Kt.createElement("div",{style:{color:"#333333"}},"\u8865\u4EA4\u6263\u5206\uFF1A"),Kt.createElement(Qn.Z,{disabled:ka||yo(Nn.id),value:{type:Nn.penalty_type,inputValue:Nn.late_minus_score},onChange:na=>{var Ua;if((0,Ae.Rm)()&&!((Ua=Da.AssistantObject.hack)!=null&&Ua.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}Ca[fa].late_minus_score=na.inputValue,Ca[fa].penalty_type=na.type,ln([...Ca])}})),Kt.createElement(Qt.Z,{className:"ml20"},Kt.createElement("span",{style:{color:"#333333"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\uFF1A"),Kt.createElement(Zt.default,{size:"large",disabled:ka||yo(Nn.id),style:{width:200},showTime:{format:"HH:mm",defaultValue:le()((0,Be.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:na=>(0,xn.Q8)(na,Vn==null?void 0:Vn.course_end_date),disabledTime:na=>(0,xn.d0)(na),format:"YYYY-MM-DD HH:mm",value:Nn!=null&&Nn.late_time?le()(Nn.late_time):void 0,onChange:(na,Ua)=>{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}Ca[fa].late_time=Ua,ln([...Ca])}})),!ka&&Kt.createElement(Qt.Z,{style:{marginLeft:10}},fa>0&&!Nn.id&&Kt.createElement(en.Z,{className:"mr10",style:{color:"#E30000"},onClick:()=>{Ca=Ca.filter((na,Ua)=>fa!==Ua),ln(Ca.slice()),setTimeout(()=>ln(Ca.slice()),10)}}),Kt.createElement(St.Z,{className:"c-green",onClick:()=>{var na;if((0,Ae.Rm)()&&!((na=Da.AssistantObject.hack)!=null&&na.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(Ca.concat({penalty_type:Qn.Q.Percent,late_minus_score:20}))}}))))})),!ka&&Kt.createElement(ke.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:Yr,onClick:()=>Lr()},"\u4FDD\u5B58"),Kt.createElement(pa.Z,{onConfirm:(Nn,fa)=>{Jn.splice(Nn,0,...fa),Jn.splice(Nn+fa.length,1);const rr=(0,Be.QE)([...Jn]);pr([...rr])}}))};var Tn=(0,pe.connect)(({shixunHomeworks:_t,classroomList:kt,user:zt,loading:Da})=>({shixunHomeworks:_t,loading:Da.effects,user:zt,classroomList:kt}))(xt),pn=ee(67294),_n=Object.defineProperty,Qr=Object.defineProperties,Ra=Object.getOwnPropertyDescriptors,br=Object.getOwnPropertySymbols,Vr=Object.prototype.hasOwnProperty,mo=Object.prototype.propertyIsEnumerable,Xn=(_t,kt,zt)=>kt in _t?_n(_t,kt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):_t[kt]=zt,ur=(_t,kt)=>{for(var zt in kt||(kt={}))Vr.call(kt,zt)&&Xn(_t,zt,kt[zt]);if(br)for(var zt of br(kt))mo.call(kt,zt)&&Xn(_t,zt,kt[zt]);return _t},pt=(_t,kt)=>Qr(_t,Ra(kt)),Jt=(_t,kt,zt)=>new Promise((Da,ar)=>{var Ia=En=>{try{Qa(zt.next(En))}catch(ba){ar(ba)}},Rn=En=>{try{Qa(zt.throw(En))}catch(ba){ar(ba)}},Qa=En=>En.done?Da(En.value):Promise.resolve(En.value).then(Ia,Rn);Qa((zt=zt.apply(_t,kt)).next())});function Ut(_t,kt){const zt=[];for(let Da=_t;Da<kt;Da++)zt.push(Da);return zt}const dn=_t=>{let kt=new Date;const zt=le()(_t).format("HH");if(le()(_t).isSame(le()(kt),"day")){const Da=le()(kt).format("HH"),ar=le()(kt).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()(kt),"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:jn}=Zt.default,{Option:tn}=vn.default,Yn=({shixunHomeworks:_t,loading:kt,dispatch:zt})=>{const Da=(0,pe.useParams)(),ar=(0,pe.useLocation)(),{workSetting:Ia,workList:Rn,changeData:Qa}=_t,[En,ba]=(0,x.useState)(!0),[Pa,Gr]=(0,x.useState)({}),[Wa,Ko]=(0,x.useState)(!1),[uo]=Et.default.useForm();let[Po,cr]=(0,x.useState)([]),[sr,Vn]=(0,x.useState)([]);const[Ir,oi]=(0,x.useState)([]),ka=(0,x.useRef)(!0);let[ya,Yr]=(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)(()=>{Ia!=null&&Ia.can_edit&&ba(!1)},[Ia]);const Oi=()=>{zt({type:"shixunHomeworks/getWorkSetting",payload:ur({},Da)})},Jn=ln=>ln&&ln<le()().startOf("day");(0,x.useEffect)(()=>{Ia!=null&&Ia.course_id&&ka.current&&(ka.current=!1,Object.keys(ya).map(function(ln){Ia[ln]!==void 0&&(ya[ln]=Ia[ln])}),(!ya.allow_late||!ya.unified_late)&&(ya.late_penalty=5),Po=JSON.parse(JSON.stringify(Ia.group_settings.map(ln=>pt(ur({},ln),{group_name:[ln.group_name]})).filter(ln=>ln.publish_time!==null))),sr=JSON.parse(JSON.stringify(Ia.allow_late_settings.map(ln=>pt(ur({},ln),{group_name:[ln.group_name]})).filter(ln=>ln.rank_forbidden_start!==null))),Yr(ur({},ya)),console.log(ya,Ia,"data"),cr([...Po]),(sr==null?void 0:sr.length)<=0?Vn([{}]):Vn([...sr]))},[Ia]);const pr=()=>{const ln=JSON.parse(JSON.stringify(ya));if(ln.categoryId=Da.categoryId,ya.unified_setting||(Po=Po==null?void 0:Po.map(ma=>{var Fn;if(!ma.publish_time||!ma.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(!ma.group_name)throw De.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return ma.group_name=typeof(ma==null?void 0:ma.group_name)=="string"?[ma==null?void 0:ma.group_name]:ma==null?void 0:ma.group_name,ma.group_id=(Fn=Ia.group_settings)==null?void 0:Fn.filter($r=>{var wr;return(wr=ma==null?void 0:ma.group_name)==null?void 0:wr.includes($r.group_name)}).map($r=>$r.group_id||$r.id).toString().split(","),ma})),ln.group_settings=Po,ya.rank_forbidden)if(ya.unified_setting){if(!ya.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(!ya.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()(ya.rank_forbidden_end)<le()(ya.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(ma=>{var Fn,$r;if(!ma.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(!ma.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(!ma.group_name)throw De.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return ma.group_name=typeof(ma==null?void 0:ma.group_name)=="string"?[ma==null?void 0:ma.group_name]:ma==null?void 0:ma.group_name,ma.group_id=($r=(Fn=ma==null?void 0:ma.group_name)==null?void 0:Fn.map(wr=>{var Lr,so;let Fr=(so=(Lr=Ia.group_settings)==null?void 0:Lr.filter(po=>(po==null?void 0:po.group_name)===wr))==null?void 0:so[0];return Fr==null?void 0:Fr.group_id}))==null?void 0:$r.toString().split(","),ma}),ln.group_settingss=sr;Ca(ln)},Ca=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 ma={shixun_evaluation:ln.shixun_evaluation};Jt(void 0,null,function*(){Ko(!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"),Oi(),zt({type:"shixunHomeworks/getWorkList",payload:ur({},Da)})),Ko(!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(Qt.Z,{span:24,className:mn.pubColSty},pn.createElement(bt.default,{checked:ya.score_open,disabled:En,onChange:ln=>{ya.score_open=ln.target.checked,Yr(Object.assign({},ya))}},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(Qt.Z,{span:24,className:mn.pubColSty,style:{borderBottom:ya.open_code?"none":"1px solid #fff"}},pn.createElement(bt.default,{checked:ya.open_code,disabled:En,onChange:ln=>{ya.open_code=ln.target.checked,ln.target.checked&&(ya.open_code_type=1),Yr(Object.assign({},ya))}},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")),!!ya.open_code&&pn.createElement(Qt.Z,{span:24,className:mn.pubColSty},pn.createElement(Nt.ZP.Group,{style:{marginLeft:"24px"},disabled:En,value:ya.open_code_type,onChange:ln=>{ya.open_code_type=ln.target.value,Yr(Object.assign({},ya))}},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(Qt.Z,{span:24,className:mn.pubColSty,style:{borderBottom:ya.rank_forbidden&&ya.unified_setting||!ya.unified_setting&&(Po==null?void 0:Po.length)>0&&ya.rank_forbidden?"none":"1px solid #fff"}},pn.createElement(bt.default,{checked:ya.rank_forbidden,disabled:En,onChange:ln=>{ya.rank_forbidden=ln.target.checked,Yr(Object.assign({},ya))}},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")),!!ya.rank_forbidden&&ya.unified_setting&&pn.createElement(Qt.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(Qt.Z,null,"\u5F00\u59CB\u65F6\u95F4"),pn.createElement(Qt.Z,{className:"ml10"},pn.createElement(Zt.default,{size:"large",style:{width:370},placeholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4\uFF08\u5B66\u751F\u770B\u4E0D\u5230\u6392\u884C\u699C\u7684\u5F00\u59CB\u65F6\u95F4\uFF09",showTime:{format:"HH:mm"},allowClear:!1,format:"YYYY-MM-DD HH:mm",disabledDate:Jn,disabledTime:dn,disabled:En||le()()>le()(Ia.rank_forbidden_start),value:ya.rank_forbidden_start?le()(ya.rank_forbidden_start):"",onChange:(ln,ma)=>{ya.rank_forbidden_start=ma,(ya.end_time==""||!ya.end_time)&&ya.unified_setting&&(ya.end_time=le()(ln).add(1,"month").format("YYYY-MM-DD HH:mm:ss")),Yr(Object.assign({},ya))}})),pn.createElement(Qt.Z,{className:"ml20"},"\u622A\u6B62\u65F6\u95F4"),pn.createElement(Qt.Z,{className:"ml10"},pn.createElement(Zt.default,{size:"large",style:{width:370},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u770B\u4E0D\u5230\u6392\u884C\u699C\u7684\u7ED3\u675F\u65F6\u95F4\uFF09",showTime:{format:"HH:mm",defaultValue:le()((0,Be.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:En,disabledDate:Jn,value:ya.rank_forbidden_end?le()(ya.rank_forbidden_end):"",onChange:(ln,ma)=>{ya.rank_forbidden_end=ma,Yr(Object.assign({},ya))}}))))),!ya.unified_setting&&(Po==null?void 0:Po.length)>0&&!!ya.rank_forbidden&&pn.createElement(gt.Z,{align:"middle",style:{borderBottom:"1px solid #fff",paddingBottom:"5px",width:"100%"}},sr.map(function(ln,ma){var Fn,$r,wr,Lr,so,Fr,po;return pn.createElement(Qt.Z,{span:24,key:ma,style:{marginLeft:"24px"}},pn.createElement(gt.Z,{className:"mt10 ml30",align:"middle"},pn.createElement(Qt.Z,null,pn.createElement("span",{style:{color:"#666"}},"\u5C01\u699C\u89C4\u5219",ma+1,"\uFF1A"),pn.createElement(vn.default,{size:"large",disabled:En||!((Fn=Rn==null?void 0:Rn.homework_status)!=null&&Fn.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[ma].group_name=lr,sr[ma].group_id=ln.group_id,Vn(sr.slice())}},Ia.group_settings&&Ia.group_settings.map(function(lr){if(ya!=null&&ya.unified_setting&&!sr.map(Nr=>Nr.group_name).toString().split(",").includes(String(lr.group_name)))return pn.createElement(tn,{value:lr.group_name,key:lr.id},lr.group_name);if(Po.map(Nr=>Nr.group_name).toString().split(",").includes(String(lr.group_name))&&!sr.map(Nr=>Nr.group_name).toString().split(",").includes(String(lr.group_name)))return pn.createElement(tn,{value:lr.group_name,key:lr.id},lr.group_name)}))),pn.createElement(Qt.Z,{span:15},pn.createElement("div",{className:"ml20"},pn.createElement(jn,{size:"large",allowClear:!1,disabled:En||((Lr=(wr=($r=Ia==null?void 0:Ia.group_settings)==null?void 0:$r.filter(lr=>lr.id===ln.id))==null?void 0:wr[0])!=null&&Lr.rank_forbidden_start?le()()<le()((po=(Fr=(so=Ia==null?void 0:Ia.group_settings)==null?void 0:so.filter(lr=>lr.id===ln.id))==null?void 0:Fr[0])==null?void 0:po.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,Nr)=>{sr[ma].rank_forbidden_start=Nr[0],sr[ma].rank_forbidden_end=Nr[1],Vn([...sr])}}))),!En&&pn.createElement(Qt.Z,null,pn.createElement(St.Z,{className:"c-green",onClick:()=>{Vn(sr.concat({}))}}),ma>0&&!ln.id&&pn.createElement(en.Z,{className:"c-red ml10",onClick:()=>{sr=sr.filter((lr,Nr)=>ma!==Nr),Vn(sr.slice()),setTimeout(()=>Vn(sr.slice()),10)}}))))})),pn.createElement(Qt.Z,{span:24,className:mn.pubColSty,style:{borderBottom:ya.hack_analysis?"none":"1px solid #fff"}},pn.createElement(bt.default,{checked:ya.hack_analysis,disabled:En,onChange:ln=>{ya.hack_analysis=ln.target.checked,ln.target.checked&&(ya.hack_analysis_type=2),Yr(Object.assign({},ya))}},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")),!!ya.hack_analysis&&pn.createElement(Qt.Z,{span:24,className:mn.pubColSty},pn.createElement(Nt.ZP.Group,{style:{marginLeft:"24px"},disabled:En,value:ya.hack_analysis_type,onChange:ln=>{ya.hack_analysis_type=ln.target.value,Yr(Object.assign({},ya))}},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(Qt.Z,{span:24,className:mn.pubColSty,style:{borderBottom:ya.hack_answer?"none":"1px solid #fff"}},pn.createElement(bt.default,{checked:ya.hack_answer,disabled:En,onChange:ln=>{ya.hack_answer=ln.target.checked,ln.target.checked&&(ya.hack_answer_type=1),Yr(Object.assign({},ya))}},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")),!!ya.hack_answer&&pn.createElement(Qt.Z,{span:24,className:mn.pubColSty},pn.createElement(Nt.ZP.Group,{style:{marginLeft:"24px"},disabled:En,value:ya.hack_answer_type,onChange:ln=>{ya.hack_answer_type=ln.target.value,Yr(Object.assign({},ya))}},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:En,checked:ya.show_late_code,onChange:()=>{ya.show_late_code=!ya.show_late_code,Yr(Object.assign({},ya))}},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"))),!En&&pn.createElement(ke.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:Wa,onClick:()=>pr()},"\u4FDD\u5B58"))};var Pn=(0,pe.connect)(({shixunHomeworks:_t,loading:kt})=>({shixunHomeworks:_t,loading:kt.effects}))(Yn),ua=ee(67294),Ha=Object.defineProperty,ir=Object.defineProperties,Mr=Object.getOwnPropertyDescriptors,Hr=Object.getOwnPropertySymbols,oo=Object.prototype.hasOwnProperty,zo=Object.prototype.propertyIsEnumerable,Kn=(_t,kt,zt)=>kt in _t?Ha(_t,kt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):_t[kt]=zt,Br=(_t,kt)=>{for(var zt in kt||(kt={}))oo.call(kt,zt)&&Kn(_t,zt,kt[zt]);if(Hr)for(var zt of Hr(kt))zo.call(kt,zt)&&Kn(_t,zt,kt[zt]);return _t},To=(_t,kt)=>ir(_t,Mr(kt)),oa=(_t,kt,zt)=>new Promise((Da,ar)=>{var Ia=En=>{try{Qa(zt.next(En))}catch(ba){ar(ba)}},Rn=En=>{try{Qa(zt.throw(En))}catch(ba){ar(ba)}},Qa=En=>En.done?Da(En.value):Promise.resolve(En.value).then(Ia,Rn);Qa((zt=zt.apply(_t,kt)).next())});const Za=({shixunHomeworks:_t,loading:kt,dispatch:zt})=>{var Da;const ar=(0,pe.useParams)(),{workSetting:Ia,workList:Rn,changeData:Qa}=_t,[En,ba]=(0,x.useState)(!0),[Pa,Gr]=(0,x.useState)(!1),[Wa,Ko]=(0,x.useState)(!1),[uo]=Et.default.useForm();let[Po,cr]=(0,x.useState)([]),[sr,Vn]=(0,x.useState)([]);const Ir=!((Da=Rn==null?void 0:Rn.homework_status)!=null&&Da.includes("\u672A\u53D1\u5E03")),oi=(0,x.useRef)(!0);let[ka,ya]=(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)(()=>{Ia!=null&&Ia.can_edit&&ba(!1)},[Ia]);const Yr=()=>{zt({type:"shixunHomeworks/getWorkSetting",payload:Br({},ar)})};(0,x.useEffect)(()=>{Ia!=null&&Ia.course_id&&oi.current&&(oi.current=!1,Object.keys(ka).map(function(ln){ka[ln]=Ia[ln]}),(!ka.allow_late||!ka.unified_late)&&(ka.late_penalty=5),Po=JSON.parse(JSON.stringify(Ia.group_settings.map(ln=>To(Br({},ln),{group_name:[ln.group_name]})).filter(ln=>ln.publish_time!==null))),sr=JSON.parse(JSON.stringify(Ia.allow_late_settings.map(ln=>To(Br({},ln),{group_name:[ln.group_name]})).filter(ln=>ln.late_time!==null))),pr(),ya(Br({},ka)),cr([...Po]),Vn([...sr]))},[Ia]);const Oi=()=>{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 ma=()=>oa(void 0,null,function*(){Gr(!0),(yield(0,de.ZP)(`/api/homework_commons/${ar.categoryId}/hack_score_setting.json`,{method:"post",body:Br({},ln)})).status===0&&(De.ZP.success("\u66F4\u65B0\u6210\u529F"),Yr(),zt({type:"shixunHomeworks/getWorkList",payload:Br({},ar)})),Gr(!1)});(ka==null?void 0:ka.hack_score_settings)!==(Ia==null?void 0:Ia.hack_score_settings)&&Ir?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:ma}):ma()},pr=()=>{var ln;const{total_score:ma}=ka,Fn=(ln=ka.hack_settings)==null?void 0:ln.length;if(!Fn)return;let $r=0,wr;switch(ka.hack_score_settings){case 0:const Lr=(ma/Fn).toFixed(2);ka.hack_settings.map((Nn,fa)=>{$r=fa,Nn.hack_score=Lr>0?Lr:0}),wr=(ma-Lr*(Fn-1)).toFixed(2),ka.hack_settings[$r].hack_score=wr>0?wr:0;break;case 1:const so=[0,1,3,6];let Fr=0;const po=ka.hack_settings.filter(Nn=>Nn.difficult===1).length*so[1],lr=ka.hack_settings.filter(Nn=>Nn.difficult===2).length*so[2],Nr=ka.hack_settings.filter(Nn=>Nn.difficult===3).length*so[3],yo=ma/(po+lr+Nr);console.log(yo,2222),ka.hack_settings.map((Nn,fa)=>{$r=fa,Nn.hack_score=(so[Nn.difficult]*yo).toFixed(2),Fr=Fr+Number(Nn.hack_score)});let Uo=ka.hack_settings[$r].hack_score;wr=(ma-Fr+Number(Uo)).toFixed(2),ka.hack_settings[$r].hack_score=wr>0?wr:0;break}},Ca=(Ia==null?void 0:Ia.send_type)===0||(Ia==null?void 0:Ia.send_type)===1&&(ka==null?void 0:ka.hack_score_settings)===2;return ua.createElement("section",{className:mn.form},ua.createElement("div",{className:mn.title},"\u5206\u503C\u8BBE\u7F6E"),ua.createElement("div",{className:`${mn.content} mb30`},ua.createElement(gt.Z,{align:"middle"},ua.createElement(gt.Z,{align:"middle"},ua.createElement("span",{className:"c-grey-333"},"\u603B\u5206\u503C"),ua.createElement(Tt.Z,{min:0,className:"ml20",style:{width:220},size:"large",value:ka.total_score,disabled:En,onChange:ln=>{ka.total_score=ln,ya(Object.assign({},ka)),pr()},addonAfter:"\u5206"})),ua.createElement(gt.Z,{align:"middle",style:{marginLeft:60}},ua.createElement("span",{className:"c-grey-333"},"\u6D4B\u8BC4\u5355\u6B21\u62A5\u9519\u589E\u52A0\u65F6\u957F"),ua.createElement(Tt.Z,{className:"ml20",style:{width:220},size:"large",min:0,value:ka.punish_time,precision:0,disabled:En,onChange:ln=>{ka.punish_time=ln,ya(Object.assign({},ka)),pr()},addonAfter:"\u5206\u949F"})))),ua.createElement("div",{className:mn.title},"\u6392\u884C\u699C\u65F6\u95F4\u540D\u6B21\u89C4\u5219"),ua.createElement("div",{className:`${mn.content} mb30`},ua.createElement(Nt.ZP.Group,{disabled:En,value:ka.hack_rank_rule,onChange:ln=>{ka.hack_rank_rule=ln.target.value,ya(Object.assign({},ka))}},ua.createElement(Nt.ZP,{value:0},ua.createElement("span",{className:"c-black"},"\u8017\u65F6\u65F6\u957F\u4F18\u5148"),ua.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u8017\u65F6\u8D8A\u77ED\u540D\u6B21\u8D8A\u524D\uFF09")),ua.createElement(Nt.ZP,{style:{marginLeft:40},value:1},ua.createElement("span",{className:"c-black"},"\u5B8C\u6210\u65F6\u95F4\u70B9\u4F18\u5148"),ua.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u5B8C\u6210\u65F6\u95F4\u8D8A\u65E9\u540D\u6B21\u8D8A\u524D\uFF09")))),ua.createElement("div",{className:mn.title},"\u8BD5\u9898\u5206\u503C"),ua.createElement("div",{className:mn.content},ua.createElement(Nt.ZP.Group,{value:ka.hack_score_settings,onChange:ln=>{ka.hack_score_settings=ln.target.value,ya(Object.assign({},ka)),pr()}},ua.createElement(Nt.ZP,{value:0},"\u5747\u5206\u6BD4\u4F8B"),ua.createElement(Nt.ZP,{style:{margin:"0 40px"},value:1},"\u96BE\u6613\u5EA6"),ua.createElement(Nt.ZP,{value:2},"\u81EA\u5B9A\u4E49\u5206\u503C"))),ua.createElement("div",{className:mn.content,style:{borderTop:"1px solid #fff"}},ua.createElement("div",{style:{padding:"0px 20px 20px 20px"}},ka.hack_settings&&ka.hack_settings.map(function(ln,ma){return ua.createElement(gt.Z,{key:ma,align:"middle",style:{marginTop:20}},ua.createElement(Qt.Z,{flex:"1",className:"pr10"},ua.createElement("span",{style:{color:"#333333"}},ln.hack_name)),ua.createElement(Qt.Z,{flex:"150px"},ua.createElement(Tt.Z,{min:0,step:.1,style:{visibility:Ca?"visible":"hidden"},value:ln.hack_score,disabled:ka.hack_score_settings!==2,onChange:Fn=>{ka.hack_settings[ma].hack_score=Fn;const $r=ka.hack_settings.reduce((wr,Lr)=>wr+Number(Lr.hack_score),0);ka.total_score=$r.toFixed(2),ya(Br({},ka))},size:"large",addonAfter:"\u5206"})),ua.createElement(Qt.Z,{className:"ml20",style:{lineHeight:"20px"}},ln.difficult===1&&ua.createElement("span",{className:"tag-style-border-small bg-green c-white mr10"},"\u7B80\u5355"),ln.difficult===2&&ua.createElement("span",{className:"tag-style-border-small bg-blue c-white mr10"},"\u9002\u4E2D"),ln.difficult===3&&ua.createElement("span",{className:"tag-style-border-small bg-orange c-white mr10"},"\u56F0\u96BE")))}))),!En&&ua.createElement(ke.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:Pa,onClick:()=>Oi()},"\u4FDD\u5B58"))};var mr=(0,pe.connect)(({shixunHomeworks:_t,loading:kt})=>({shixunHomeworks:_t,loading:kt.effects}))(Za),da=ee(67294),io=(_t,kt,zt)=>new Promise((Da,ar)=>{var Ia=En=>{try{Qa(zt.next(En))}catch(ba){ar(ba)}},Rn=En=>{try{Qa(zt.throw(En))}catch(ba){ar(ba)}},Qa=En=>En.done?Da(En.value):Promise.resolve(En.value).then(Ia,Rn);Qa((zt=zt.apply(_t,kt)).next())});const fr=({shixunHomeworks:_t,loading:kt,dispatch:zt})=>{var Da,ar;const[Ia,Rn]=(0,x.useState)(!0),[Qa,En]=(0,x.useState)(!1),[ba,Pa]=(0,x.useState)([]),[Gr,Wa]=(0,x.useState)([]),[Ko,uo]=(0,x.useState)([]),[Po,cr]=(0,x.useState)([]),[sr,Vn]=(0,x.useState)(!1),[Ir,oi]=(0,x.useState)(""),ka=(0,pe.useParams)();function ya(){return io(this,null,function*(){let Jn=yield(0,de.ZP)(`/api/homework_commons/${ka.categoryId}/homework_common_collaborators.json`,{method:"get"});Wa(Jn)})}function Yr(){return io(this,null,function*(){var Jn;let pr=yield(0,de.ZP)(`/api/courses/${ka==null?void 0:ka.coursesId}/teachers`,{method:"get",params:{homework_id:ka.categoryId,limit:1e3}});(Jn=pr==null?void 0:pr.teacher_list)==null||Jn.map(Ca=>{Ca.key=Ca.user_id}),uo(pr==null?void 0:pr.teacher_list),cr(pr==null?void 0:pr.teacher_list)})}(0,x.useEffect)(()=>{ya(),Yr()},[ka]);const Oi=()=>{};return da.createElement("section",{className:mn.form},da.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=>da.createElement(gt.Z,{align:"middle",className:`${mn.borderSty} ${Ir===(Jn==null?void 0:Jn.id)?mn.delBorder:""}`,style:{height:"38px",borderRadius:"2px",padding:"0 12px",color:"#333333",background:"#fff"}},da.createElement("span",{className:"c-grey-333"},Jn==null?void 0:Jn.real_name),(Gr==null?void 0:Gr.can_edit)&&da.createElement("span",{style:{cursor:"pointer",marginLeft:"20px"},className:`iconfont icon-guanbi11 ${mn.delSty}`,onMouseEnter:()=>{oi(Jn.id)},onMouseLeave:()=>{oi("")},onClick:()=>io(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"),ya(),Yr())})}))),!(Gr!=null&&Gr.can_edit)&&!((ar=Gr==null?void 0:Gr.data)!=null&&ar.length)&&da.createElement("span",{className:"c-grey-666"},"\u6682\u672A\u6DFB\u52A0\u534F\u4F5C\u8005"),(Gr==null?void 0:Gr.can_edit)&&da.createElement(ke.ZP,{className:mn.copHover,style:{height:38,padding:"6px 15px",backgroundColor:"#fff"},type:"primary",ghost:!0,onClick:()=>En(!0)},"\u6DFB\u52A0\u534F\u4F5C\u8005")),da.createElement(we.default,{title:"\u6DFB\u52A0\u534F\u4F5C\u8005",open:Qa,confirmLoading:sr,onCancel:()=>En(!1),onOk:()=>io(void 0,null,function*(){if(ba.length===0){De.ZP.info("\u8BF7\u9009\u62E9\u534F\u4F5C\u8001\u5E08");return}Vn(!0),(yield(0,de.ZP)(`/api/homework_commons/${ka.categoryId}/homework_common_collaborators.json`,{method:"post",body:{user_ids:ba}})).status===0&&(De.ZP.info("\u6DFB\u52A0\u6210\u529F"),Pa([]),ya(),Yr(),En(!1)),Vn(!1)})},da.createElement("div",null,da.createElement("div",{style:{display:"flex"}},da.createElement("label",{style:{width:"50px"}},"\u59D3\u540D\uFF1A")," ",da.createElement(Ot.default.Search,{onChange:Jn=>{uo(Po.filter(pr=>pr.name.indexOf(Jn.target.value)>-1))}})),da.createElement(Te.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},rowSelection:{type:"checkbox",onChange:(Jn,pr)=>{Pa(Jn)},selectedRowKeys:ba,getCheckboxProps:Jn=>({disabled:Jn.is_collaborator})},pagination:!1,dataSource:Ko,columns:[{title:"\u59D3\u540D",dataIndex:"name",key:"name"},{title:"\u89D2\u8272",dataIndex:"role",key:"role"}]}))))};var wo=(0,pe.connect)(({shixunHomeworks:_t,loading:kt})=>({shixunHomeworks:_t,loading:kt.effects}))(fr),So=ee(67294);const Ro=[{key:"1",label:"\u53D1\u5E03\u8BBE\u7F6E",element:So.createElement(Tn,null)},{key:"2",label:"\u8BC4\u5206\u8BBE\u7F6E",element:So.createElement(mr,null)},{key:"3",label:"\u5C55\u793A\u8BBE\u7F6E",element:So.createElement(Pn,null)},{key:"4",label:"\u534F\u4F5C\u8BBE\u7F6E",element:So.createElement(wo,null)}];var qo=()=>So.createElement(Pt.Z,{dataSource:Ro,style:{marginBottom:52}}),ul=ee(246),Yi=ee.n(ul),kn=ee(86763),wa=ee(67294),lo=Object.defineProperty,Go=Object.defineProperties,xi=Object.getOwnPropertyDescriptors,wi=Object.getOwnPropertySymbols,si=Object.prototype.hasOwnProperty,zi=Object.prototype.propertyIsEnumerable,jr=(_t,kt,zt)=>kt in _t?lo(_t,kt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):_t[kt]=zt,ce=(_t,kt)=>{for(var zt in kt||(kt={}))si.call(kt,zt)&&jr(_t,zt,kt[zt]);if(wi)for(var zt of wi(kt))zi.call(kt,zt)&&jr(_t,zt,kt[zt]);return _t},Pe=(_t,kt)=>Go(_t,xi(kt)),Oe=(_t,kt,zt)=>new Promise((Da,ar)=>{var Ia=En=>{try{Qa(zt.next(En))}catch(ba){ar(ba)}},Rn=En=>{try{Qa(zt.throw(En))}catch(ba){ar(ba)}},Qa=En=>En.done?Da(En.value):Promise.resolve(En.value).then(Ia,Rn);Qa((zt=zt.apply(_t,kt)).next())});const Se=({shixunHomeworks:_t,loading:kt,dispatch:zt})=>{const Da=(0,pe.useParams)(),ar=(0,pe.useLocation)(),[Ia,Rn]=(0,x.useState)([]),[Qa,En]=(0,x.useState)([]),[ba,Pa]=(0,x.useState)(!0),[Gr,Wa]=(0,x.useState)(!1),[Ko,uo]=(0,x.useState)(1),[Po,cr]=(0,x.useState)([]),[sr,Vn]=(0,x.useState)(!1),[Ir,oi]=(0,x.useState)(!1),[ka,ya]=(0,x.useState)(!1);(0,x.useEffect)(()=>{_t.actionTabs.key==="\u4EE3\u7801\u67E5\u91CD"?(Yr.resetFields(),Rn([]),Vn(!0),Jn()):Vn(!1)},[_t.actionTabs.key]);const[Yr]=Et.default.useForm();let Oi=[];const Jn=()=>Oe(void 0,null,function*(){var ln;if(ba&&!Gr){Wa(!0),uo(Ko+1);const ma=yield(0,kn.JG)(Pe(ce({},Da),{page:Ko})),Fn=[...ma.group_list];ma!=null&&ma.ungroup_list&&Fn.push({id:ma==null?void 0:ma.ungroup_list.id,name:ma==null?void 0:ma.ungroup_list.name,works_count:ma==null?void 0:ma.ungroup_list.work_count,last_review_time:ma==null?void 0:ma.ungroup_list.last_review_time}),Rn([...Ia,...Fn]),Wa(!1),((ln=ma.group_list)==null?void 0:ln.length)<10&&Pa(!1)}}),pr=()=>{zt({type:"shixunHomeworks/setActionTabs",payload:{}}),oi(!1),Pa(!0),Wa(!1),uo(1),Rn([]),Yr.resetFields()},Ca=[{title:"",dataIndex:"id",width:280,render:(ln,ma)=>wa.createElement(bt.default,{disabled:!(ma.works_count>1),value:String(ma.id)},ma.name)},{title:"\u6709\u6548\u4F5C\u54C1\u6570",dataIndex:"works_count"},{title:"\u4E0A\u6B21\u67E5\u91CD\u65F6\u95F4",dataIndex:"last_review_time",width:130}];return wa.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=Yr.getFieldValue();ya(!0);const ma=yield(0,de.ZP)(`/api/homework_commons/${Da.categoryId}/hack_homework_code_repeat.json`,{method:"post",body:{group_ids:[...ln.group_ids]}});ya(!1),ma.status===0&&(pr(),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:pr},wa.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&&wa.createElement(Et.default,{form:Yr,onChange:ln=>{cr(ce({},Yr.getFieldValue()))},initialValues:{group_ids:Oi,end_time:le()(le()().add(7,"days").format("YYYY-MM-DD HH:mm"))}},wa.createElement("div",{className:"flexd-table-header mt20"},wa.createElement(Te.default,{pagination:!1,dataSource:[],columns:Ca})),wa.createElement(Et.default.Item,{name:"group_ids"},wa.createElement(bt.default.Group,{className:"w100"},wa.createElement("div",{style:{width:"100%",maxHeight:260,overflow:"auto"}},wa.createElement(Yi(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:ln=>{Jn()},hasMore:ba,useWindow:!1},wa.createElement(Te.default,{loading:kt.effects["shixunHomeworks/getCodeReviewCourse"],showHeader:!1,columns:Ca,dataSource:Ia,pagination:!1})))))),wa.createElement(gt.Z,null,wa.createElement(Qt.Z,{className:"ml10"},wa.createElement(bt.default,{checked:Ir,onChange:ln=>{oi(ln.target.checked);let ma=[];ln.target.checked&&(ma=Ia.filter(Fn=>Fn.works_count>1).map(Fn=>Fn.id+"")),Yr.setFieldsValue({group_ids:ma})}},"\u5168\u9009"))))};var Je=(0,pe.connect)(({shixunHomeworks:_t,loading:kt})=>({shixunHomeworks:_t,loading:kt}))(Se),ot=ee(86169),wt=ee(12082),tt=ee(41642),it=ee(93686),ht=ee(98769),nn=ee(9151),fn=ee(37752),$n=ee(33648),In=ee(70562),Aa=ee(51959),va=Object.defineProperty,Fa=Object.defineProperties,Wn=Object.getOwnPropertyDescriptors,Cn=Object.getOwnPropertySymbols,on=Object.prototype.hasOwnProperty,yn=Object.prototype.propertyIsEnumerable,An=(_t,kt,zt)=>kt in _t?va(_t,kt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):_t[kt]=zt,ea=(_t,kt)=>{for(var zt in kt||(kt={}))on.call(kt,zt)&&An(_t,zt,kt[zt]);if(Cn)for(var zt of Cn(kt))yn.call(kt,zt)&&An(_t,zt,kt[zt]);return _t},za=(_t,kt)=>Fa(_t,Wn(kt)),Ba=(_t,kt,zt)=>new Promise((Da,ar)=>{var Ia=En=>{try{Qa(zt.next(En))}catch(ba){ar(ba)}},Rn=En=>{try{Qa(zt.throw(En))}catch(ba){ar(ba)}},Qa=En=>En.done?Da(En.value):Promise.resolve(En.value).then(Ia,Rn);Qa((zt=zt.apply(_t,kt)).next())});let qn=[nn.Z,fn.Z,$n.Z];const Ea=({user:_t,classroomList:kt,shixunHomeworks:zt})=>{var Da,ar,Ia;let[Rn,Qa]=(0,x.useState)(ea(za(ea({},(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[En,ba]=(0,x.useState)([]),[Pa,Gr]=(0,x.useState)([]),[Wa,Ko]=(0,x.useState)([]),[uo,Po]=(0,x.useState)(!1),[cr,sr]=(0,x.useState)(!1);let[Vn,Ir]=(0,x.useState)([{title:"\u6392\u884C",dataIndex:"rank",width:70,fixed:"left",ellipsis:!0,sorter:(Jn,pr)=>Jn.rank-pr.rank,render:(Jn,pr,Ca)=>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,pr,Ca)=>x.createElement("span",null,pr.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[oi,ka]=(0,x.useState)(null),ya=()=>{var Jn,pr;const Ca=((Jn=document.getElementById("filterWarp"))==null?void 0:Jn.clientHeight)||0,ln=((pr=document.getElementById("pagination"))==null?void 0:pr.clientHeight)||0;return window.innerHeight-Ca-ln-110};(0,x.useEffect)(()=>{const Jn=()=>{ka(ya())};return window.addEventListener("resize",Jn),()=>{window.removeEventListener("resize",Jn)}},[]),(0,x.useEffect)(()=>{var Jn,pr,Ca,ln,ma;Vn.splice(7);for(let Fn=0;Fn<((Jn=En==null?void 0:En.question_data)==null?void 0:Jn.length);Fn++){let $r={};$r.title=En!=null&&En.sent_type?x.createElement("span",null,"\u9898\u76EE"+(Fn+1)+`\uFF08${(Ca=(pr=En==null?void 0:En.question_data)==null?void 0:pr[Fn])==null?void 0:Ca.question_score}\uFF09`):x.createElement("a",{onClick:()=>Ba(void 0,null,function*(){var wr,Lr;let so=yield(0,de.ZP)(`/api/problems/${(Lr=(wr=En==null?void 0:En.question_data)==null?void 0:wr[Fn])==null?void 0:Lr.identifier}/start.json`,{method:"get"});so&&(window.open(`/myproblems/${so==null?void 0:so.identifier}?type=1`),localStorage.setItem("program_homework",[Rn.coursesId,Rn.categoryId]))})},"\u9898\u76EE"+(Fn+1)+`\uFF08${(ma=(ln=En==null?void 0:En.question_data)==null?void 0:ln[Fn])==null?void 0:ma.question_score}\uFF09`),$r.dataIndex="question_data",$r.width=140,$r.render=(wr,Lr)=>{var so,Fr,po,lr,Nr;return x.createElement("div",null,((so=wr==null?void 0:wr[Fn])==null?void 0:so.answer_question_time)&&x.createElement("div",null,x.createElement("span",{style:{cursor:"pointer"},className:"iconfont icon-shixun4 c-blue",onClick:()=>Ba(void 0,null,function*(){var yo,Uo,Nn,fa,rr,na,Ua,Kr;if((0,Ae.Rm)()&&!((yo=kt.AssistantObject.hack)!=null&&yo.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(!((Uo=wr==null?void 0:wr[Fn])!=null&&Uo.open_code)){De.ZP.info("\u6682\u4E0D\u5141\u8BB8\u67E5\u770B\u4EE3\u7801");return}let Tr=yield(0,de.ZP)("/api/courses/view_code.json",{method:"get",params:za(ea({},Rn),{id:Rn.coursesId,homework_common_id:Rn.categoryId,hack_user_code_id:(Nn=wr==null?void 0:wr[Fn])==null?void 0:Nn.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",(fa=wr==null?void 0:wr[Fn])==null?void 0:fa.current_language),x.createElement("span",null,"\u8FD0\u884C\u5185\u5B58\uFF1A",(rr=wr==null?void 0:wr[Fn])==null?void 0:rr.memory,"\uFF08KB\uFF09"),x.createElement("span",null,"\u8FD0\u884C\u65F6\u957F\uFF1A",(na=wr==null?void 0:wr[Fn])==null?void 0:na.run_time,"\uFF08ms\uFF09"),x.createElement("span",null,"\u5F97\u5206\uFF1A",(Ua=wr==null?void 0:wr[Fn])==null?void 0:Ua.score)),content:x.createElement(In.Z,{classroomList:kt,user:_t,languages:[{language:(Kr=wr==null?void 0:wr[Fn])==null?void 0:Kr.language,code:Tr==null?void 0:Tr.code}],v:wr,shixunWorkReport:"shixunWorkReport",dispatch:"dispatch",autoHeight:!1,language:wr.language,game_id:wr.id,diff_code_count:wr.diff_code_count})})})}),x.createElement("span",{style:{margin:"0px 10px"}},((Fr=wr==null?void 0:wr[Fn])==null?void 0:Fr.answer_question_time)||"- -"),(po=wr==null?void 0:wr[Fn])!=null&&po.submit_count?x.createElement(We.Z,{title:`${((lr=wr==null?void 0:wr[Fn])==null?void 0:lr.submit_count)||0}\u6B21\u5C1D\u8BD5\u51FA\u9519`},x.createElement("span",{style:{color:"red",marginRight:5},className:"iconfont icon-Bug"}),((Nr=wr==null?void 0:wr[Fn])==null?void 0:Nr.submit_count)||0):null))},Vn.push($r)}Ir([...Vn])},[En==null?void 0:En.question_data]),(0,x.useEffect)(()=>{var Jn;(Jn=_t==null?void 0:_t.userInfo)!=null&&Jn.course&&((0,Ae.dE)()&&(Rn.course_group=(0,Ae.dE)()?[_t.userInfo.course.course_group_id]:[],Qa(ea({},Rn))),Yr(1))},[_t==null?void 0:_t.userInfo]);function Yr(Jn){return Ba(this,null,function*(){var pr,Ca,ln,ma,Fn,$r,wr;Po(!0);let Lr=yield(0,de.ZP)("/api/courses/rank_list.json",{method:"get",params:za(ea({},Rn),{id:Rn.coursesId,rank_type:2,homework_common_id:Rn.categoryId})});if(ba(Lr),Po(!1),Lr.status!=-1&&((0,Ae.dE)()?(Jn===1&&Gr([(Ca=(pr=Lr==null?void 0:Lr.course_group)==null?void 0:pr[0])==null?void 0:Ca.id]),Lr!=null&&Lr.my_rank?Ko([ea({is_me:!0},Lr==null?void 0:Lr.my_rank),...Lr==null?void 0:Lr.rank_list]):Ko([...Lr==null?void 0:Lr.rank_list])):Ko([...Lr==null?void 0:Lr.rank_list]),Jn===1)){let so={title:(Lr==null?void 0:Lr.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${Lr==null?void 0:Lr.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:(Lr==null?void 0:Lr.hack_rank_rule)===0?"finish_time":"finish_at",width:(Lr==null?void 0:Lr.hack_rank_rule)===0?80:150,ellipsis:!0,fixed:"left",key:"finish_time"};Vn.push(so);for(let Fr=0;Fr<((ln=Lr==null?void 0:Lr.question_data)==null?void 0:ln.length);Fr++){let po={};po.title=Lr!=null&&Lr.sent_type?x.createElement("span",null,"\u9898\u76EE"+(Fr+1)+`\uFF08${(Fn=(ma=Lr==null?void 0:Lr.question_data)==null?void 0:ma[Fr])==null?void 0:Fn.question_score}\uFF09`):x.createElement("a",{onClick:()=>Ba(this,null,function*(){var lr,Nr;let yo=yield(0,de.ZP)(`/api/problems/${(Nr=(lr=Lr==null?void 0:Lr.question_data)==null?void 0:lr[Fr])==null?void 0:Nr.identifier}/start.json`,{method:"get"});yo&&(window.open(`/myproblems/${yo==null?void 0:yo.identifier}?type=1`),localStorage.setItem("program_homework",[Rn.coursesId,Rn.categoryId]))})},"\u9898\u76EE"+(Fr+1)+`\uFF08${(wr=($r=Lr==null?void 0:Lr.question_data)==null?void 0:$r[Fr])==null?void 0:wr.question_score}\uFF09`),po.dataIndex="question_data",po.width=140,po.render=(lr,Nr)=>{var yo,Uo,Nn,fa,rr;return x.createElement("div",null,((yo=lr==null?void 0:lr[Fr])==null?void 0:yo.answer_question_time)&&x.createElement("div",null,x.createElement("span",{style:{cursor:"pointer"},className:"iconfont icon-shixun4 c-blue",onClick:()=>Ba(this,null,function*(){var na,Ua,Kr,Tr,No,hi,_i,qi;if((0,Ae.Rm)()&&!((na=kt.AssistantObject.hack)!=null&&na.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(!((Ua=lr==null?void 0:lr[Fr])!=null&&Ua.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(ea({},Rn),{id:Rn.coursesId,homework_common_id:Rn.categoryId,hack_user_code_id:(Kr=lr==null?void 0:lr[Fr])==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",(Tr=lr==null?void 0:lr[Fr])==null?void 0:Tr.current_language),x.createElement("span",null,"\u8FD0\u884C\u5185\u5B58\uFF1A",(No=lr==null?void 0:lr[Fr])==null?void 0:No.memory,"\uFF08KB\uFF09"),x.createElement("span",null,"\u8FD0\u884C\u65F6\u957F\uFF1A",(hi=lr==null?void 0:lr[Fr])==null?void 0:hi.run_time,"\uFF08ms\uFF09"),x.createElement("span",null,"\u5F97\u5206\uFF1A",(_i=lr==null?void 0:lr[Fr])==null?void 0:_i.score)),content:x.createElement(In.Z,{classroomList:kt,user:_t,languages:[{language:(qi=lr==null?void 0:lr[Fr])==null?void 0:qi.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"}},((Uo=lr==null?void 0:lr[Fr])==null?void 0:Uo.answer_question_time)||"- -"),(Nn=lr==null?void 0:lr[Fr])!=null&&Nn.submit_count?x.createElement(We.Z,{title:`${((fa=lr==null?void 0:lr[Fr])==null?void 0:fa.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[Fr])==null?void 0:rr.submit_count)||0):null))},Vn.push(po)}Ir([...Vn])}})}console.log("----",zt,Vn);const Oi=(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"},(En==null?void 0:En.message)==="\u5C01\u699C\u4E2D"?x.createElement(rn.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:Pa,onChange:Jn=>{var pr;Rn.type===1?(Gr([]),Rn.course_group=[],Rn.page=1,Qa(ea({},Rn)),Yr()):Rn.type===2?(Gr(["\u5168\u90E8"]),Rn.course_group=(pr=En==null?void 0:En.course_group)==null?void 0:pr.map(Ca=>Ca.id),Rn.page=1,Qa(ea({},Rn)),Yr()):(Gr([...Jn.filter(Ca=>Ca!="\u5168\u90E8")]),Rn.course_group=Jn.filter(Ca=>Ca!="\u5168\u90E8"),Rn.page=1,Qa(ea({},Rn)),Yr())}},x.createElement(bt.default,{value:"\u5168\u90E8",style:{marginBottom:10},onChange:Jn=>{Jn.target.checked?Rn.type=2:Rn.type=1}},"\u5168\u90E8\u5206\u73ED"),(ar=En==null?void 0:En.course_group)==null?void 0:ar.map((Jn,pr)=>x.createElement(bt.default,{style:{marginBottom:10},onChange:Ca=>{Rn.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"?(Rn.course_group=[],Rn.page=1,Qa(ea({},Rn)),Yr()):(Rn.course_group=[Jn.target.value],Rn.page=1,Qa(ea({},Rn)),Yr())},defaultValue:_t.userInfo.course.course_group_id},x.createElement(Nt.ZP,{value:"\u5168\u90E8",style:{marginBottom:10}},"\u5168\u90E8\u5206\u73ED"),(Ia=En==null?void 0:En.course_group)==null?void 0:Ia.map((Jn,pr)=>x.createElement(Nt.ZP,{style:{marginBottom:10},value:Jn.id},Jn.name)))),x.createElement("div",{style:{color:"#3061D0",cursor:"pointer"},onClick:()=>{cr?(0,Aa.BU)():(0,Aa.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",Oi===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,Oi===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"),Oi==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=>{Rn.page=1,Rn.search=Jn,Qa(ea({},Rn)),Yr()},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(ea({},Rn),{id:Rn.coursesId,rank_type:2,homework_common_id:Rn.categoryId}))}},"\u5BFC\u51FA")))),x.createElement(ve.Z,{spinning:uo},x.createElement(Te.default,{style:{marginTop:10},pagination:!1,scroll:{x:1200,y:cr?oi:null},rowClassName:(Jn,pr)=>pr===0&&(0,Ae.dE)()&&tt.Z.tables,dataSource:Wa,columns:Vn})),x.createElement("div",{id:"pagination",style:{width:"100%",textAlign:"center",marginTop:10}},x.createElement(Ce.Z,{current:Rn.page,pageSize:Rn.per_page,total:En==null?void 0:En.count,showSizeChanger:!0,onChange:(Jn,pr)=>{Rn.page=Jn,Rn.per_page=pr,Qa(ea({},Rn)),Yr()}}))))};var Ma=(0,pe.connect)(({shixunHomeworks:_t,user:kt,classroomList:zt})=>({user:kt,shixunHomeworks:_t,classroomList:zt}))(Ea),La=ee(6151),er=ee(58387),Sr=ee(17755),eo=ee(44694),Lo=ee(52765),ga=ee(67294),ii=Object.defineProperty,ei=Object.getOwnPropertySymbols,Fo=Object.prototype.hasOwnProperty,dl=Object.prototype.propertyIsEnumerable,Hi=(_t,kt,zt)=>kt in _t?ii(_t,kt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):_t[kt]=zt,pi=(_t,kt)=>{for(var zt in kt||(kt={}))Fo.call(kt,zt)&&Hi(_t,zt,kt[zt]);if(ei)for(var zt of ei(kt))dl.call(kt,zt)&&Hi(_t,zt,kt[zt]);return _t},Fi=(_t,kt,zt)=>new Promise((Da,ar)=>{var Ia=En=>{try{Qa(zt.next(En))}catch(ba){ar(ba)}},Rn=En=>{try{Qa(zt.throw(En))}catch(ba){ar(ba)}},Qa=En=>En.done?Da(En.value):Promise.resolve(En.value).then(Ia,Rn);Qa((zt=zt.apply(_t,kt)).next())});let Qi=[{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 Xo=({shixunHomeworks:_t,classroomList:kt,globalSetting:zt,user:Da,loading:ar,dispatch:Ia})=>{var Rn,Qa,En,ba;const Pa=(0,pe.useParams)(),[Gr]=(0,pe.useSearchParams)(),[Wa,Ko]=(0,x.useState)(Gr.get("tabs")||"0"),[uo,Po]=(0,x.useState)({}),{workList:cr,workSetting:sr}=_t,[Vn,Ir]=(0,x.useState)(!1);Pa.category=Gr.get("category_id"),Pa.order="work_score",Pa.b_order="desc",(0,x.useEffect)(()=>{(0,Ae.Rm)()&&Ia({type:"classroomList/getAssistantPermissions",payload:{course_id:Pa.coursesId}})},[(Rn=Da==null?void 0:Da.userInfo)==null?void 0:Rn.login]);const oi=Ca=>{var ln;if(Ca==="3"&&Ia({type:"shixunHomeworks/getWorkSetting",payload:pi({},Pa)}),Ca==="5"&&!((ln=kt.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}Ko(Ca),Ca==="0"&&Ia({type:"shixunHomeworks/getWorkList",payload:Pa})},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:()=>Fi(void 0,null,function*(){var Ca;const ln=(Ca=_t.workList)==null?void 0:Ca.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`),Ia({type:"shixunHomeworks/getWorkList",payload:uo}))})})},ya=Ca=>{Ca=Ca!=null&&Ca.includes(".json")?Ca:`${Ca}.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:()=>Fi(void 0,null,function*(){const ln=yield(0,it.$Q)({url:Ca});if(!ln)return;De.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const ma=yield(0,it.Ir)({id:ln.shixun_identifier});if(ma!=null&&ma.game_identifier){(0,Be.xg)(`/tasks/${ma.game_identifier}?coursesId=${Pa.coursesId}`);return}(ma==null?void 0:ma.status)===2?ya(ma==null?void 0:ma.message):(ma==null?void 0:ma.status)===3&&Yr(ma==null?void 0:ma.message)})})},Yr=Ca=>{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",Ca,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},Oi=Ca=>Fi(void 0,null,function*(){Ca=Ca!=null&&Ca.includes(".json")?Ca:`${Ca}.json`;const ln=yield(0,it.$Q)({url:Ca});if(console.log(ln,"execRes"),ln!=null&&ln.game_identifier){(0,Be.xg)(`/tasks/${ln.game_identifier}?coursesId=${Pa.coursesId}`);return}(ln==null?void 0:ln.status)===-3?(0,Be.eF)():(ln==null?void 0:ln.status)===2?ya(ln==null?void 0:ln.message):(ln==null?void 0:ln.status)===3&&Yr(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:Po}),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(Ma,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(eo.Z,null)},{name:"\u8BBE\u7F6E",id:"3",compontent:(En=cr.homework_status)!=null&&En.includes("\u5BFC\u5165")?ga.createElement(Sr.Z,null):ga.createElement(qo,null),forceRender:!0},{name:"\u89E3\u7B54&\u8BA8\u8BBA",id:"6",compontent:ga.createElement(Lo.default,null)}].filter(Ca=>!!Ca).filter(Ca=>{var ln,ma;return(0,Ae.dE)()?Ca.name!=="\u4EE3\u7801\u67E5\u91CD"&&Ca.name!=="\u8BBE\u7F6E":(0,Ae.dE)()||((ln=cr==null?void 0:cr.homework_status)==null?void 0:ln[0])!=="\u5DF2\u622A\u6B62"?Ca.name!=="\u8D28\u91CF\u68C0\u6D4B":!cr.code_review&&((ma=cr==null?void 0:cr.homework_status)==null?void 0:ma[0])!=="\u672A\u53D1\u5E03"?!0:Ca.name!=="\u4EE3\u7801\u67E5\u91CD"}).filter(Ca=>cr.open_code_quality_analysis?!0:Ca.name!=="\u8D28\u91CF\u68C0\u6D4B").filter(Ca=>{var ln;return(ln=cr.homework_status)!=null&&ln.includes("\u5BFC\u5165")?(0,Ae.dE)()?["0","1"].includes(Ca.id):["0","1","3"].includes(Ca.id):!0}).filter(Ca=>!(Ca!=null&&Ca.hidden)),pr=()=>{var Ca,ln,ma,Fn,$r,wr,Lr,so,Fr,po,lr;return ga.createElement("aside",{className:tt.Z.workListTabButton},(0,Ae.dE)()&&!((Ca=cr.homework_status)!=null&&Ca.includes("\u5BFC\u5165"))&&ga.createElement("span",{style:{fontWeight:800,color:"#0152d9",textAlign:"end",flex:1,cursor:"pointer"}},ga.createElement(ke.ZP,{onClick:()=>Fi(void 0,null,function*(){var Nr;let yo=yield(0,de.ZP)(`/api/problems/${(Nr=_t.workList)==null?void 0:Nr.start_identifier}/start.json`,{method:"get"});yo&&(window.open(`/myproblems/${yo==null?void 0:yo.identifier}?type=1&backUrl=/classrooms/${Pa.coursesId}/program_homework/${Pa.categoryId}/detail?tabs=1`),localStorage.setItem("program_homework",[Pa==null?void 0:Pa.coursesId,Pa==null?void 0:Pa.categoryId]))}),type:"primary"},(ln=cr.homework_status)!=null&&ln.includes("\u5DF2\u622A\u6B62")?"\u67E5\u770B\u4F5C\u4E1A":"\u8FDB\u5165\u7EC3\u4E60"," ")),(0,Ae.dE)()&&((ma=_t.workList)==null?void 0:ma.redo_work)&&ga.createElement(ke.ZP,{onClick:ka,type:"primary",icon:ga.createElement("i",{className:"iconfont icon-dahuizhongzuo3x"})},"\u91CD\u505A"),((Fn=_t.workList)==null?void 0:Fn.shixun_status)>1&&(($r=_t.workList)==null?void 0:$r.time_status)<5&&(0,Ae.dE)()&&ga.createElement(ke.ZP,{type:"primary",icon:ga.createElement("i",{className:"iconfont icon-kaiqizhong"}),onClick:()=>{var Nr,yo,Uo,Nn,fa,rr,na;(0,Un.tJ)(Ia,!0)&&((Uo=(yo=(Nr=_t.workList)==null?void 0:Nr.task_operation)==null?void 0:yo[1])!=null&&Uo.includes("/")?Oi((fa=(Nn=_t.workList)==null?void 0:Nn.task_operation)==null?void 0:fa[1]):(0,Be.xg)(`/tasks/${(na=(rr=_t.workList)==null?void 0:rr.task_operation)==null?void 0:na[1]}`))}},(Lr=(wr=_t.workList)==null?void 0:wr.task_operation)==null?void 0:Lr[0]),((so=_t.workList)==null?void 0:so.commit_des)&&((Fr=_t.workList)==null?void 0:Fr.commit_des)&&ga.createElement(ke.ZP,{type:"primary",icon:ga.createElement("i",{className:"iconfont icon-tijiaozongjie"}),onClick:()=>{var Nr;(0,Be.xg)(`/classrooms/${Pa.coursesId}/shixun_homework/${Pa.categoryId}/${(Nr=_t.workList)==null?void 0:Nr.id}/commitsummary`)}},(po=_t.workList)==null?void 0:po.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 Nr;if(!((Nr=kt.AssistantObject.hack)!=null&&Nr.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/${Pa.coursesId}/program_homework/${Pa.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 Nr,yo;if(!((Nr=kt.AssistantObject.hack)!=null&&Nr.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(((yo=Da==null?void 0:Da.userInfo)==null?void 0:yo.user_status)===2){(0,Un.Rd)();return}Ia({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u53D1\u5E03",selectArrs:[Pa.categoryId],selectArrsAll:[cr],params:Pa,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 Nr;if(!((Nr=kt.AssistantObject.hack)!=null&&Nr.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}Ia({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u622A\u6B62",params:Pa,type:2,detail:!0,selectArrs:[Pa.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/${Pa==null?void 0:Pa.coursesId}/program_homework`},cr.course_name)),ga.createElement(ie.Z.Item,null,ga.createElement(pe.Link,{to:`/classrooms/${Pa==null?void 0:Pa.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:Wa,activeKey:Wa,tabBarExtraContent:(ba=cr.homework_status)!=null&&ba.includes("\u5BFC\u5165")&&(0,Ae.GJ)()?ga.createElement(ke.ZP,{icon:ga.createElement("span",{className:"iconfont icon-shixun3 translateY1"}),onClick:()=>{Ia({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"):pr(),onChange:oi},Jn.map((Ca,ln)=>ga.createElement(Me.default.TabPane,{tab:Ca.name,key:Ca.id,forceRender:Ca.forceRender},Ca.compontent))))),ga.createElement(Je,null),ga.createElement(ot.Z,{courseEndTime:cr==null?void 0:cr.course_end_date,successCallback:()=>{Ia({type:"shixunHomeworks/getWorkList",payload:pi({},Pa)})},visible:kt.actionTabs.key==="\u7ACB\u5373\u622A\u6B62",homeworkIds:[Pa.categoryId],courseId:Pa.coursesId,isBatch:!1}),ga.createElement(wt.Z,{courseEndTime:cr==null?void 0:cr.course_end_date}),ga.createElement(La.Z,{onOk:()=>{Ia({type:"shixunHomeworks/getWorkList",payload:pi({},Pa)})}}),ga.createElement(er.Z,{onOk:()=>{Ia({type:"shixunHomeworks/getWorkList",payload:pi({},Pa)})}}),ga.createElement(we.default,{open:Vn,title:"\u89C4\u5219\u8BF4\u660E",width:800,footer:null,onCancel:()=>{Ir(!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:Qi,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:kt,loading:zt,user:Da,globalSetting:ar})=>({classroomList:kt,shixunHomeworks:_t,globalSetting:ar,user:Da,loading:zt.effects}))(Xo)},12082:function(ft,st,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 lt=cn=>{try{Vt(He.next(cn))}catch(rt){qe(rt)}},mt=cn=>{try{Vt(He.throw(cn))}catch(rt){qe(rt)}},Vt=cn=>cn.done?Ke(cn.value):Promise.resolve(cn.value).then(lt,mt);Vt((He=He.apply(Le,Ge)).next())});const Qe=Le=>{var Ge=Le,{classroomList:He,dispatch:Ke,courseEndTime:qe,onWindowBack:lt}=Ge,mt=Ae(Ge,["classroomList","dispatch","courseEndTime","onWindowBack"]),Vt,cn,rt,yt,Lt,ct,Ft,jt,_e,Sn,wn,ha,Mn,at,ut,dt,At,Et,gt,Qt,Ot,bt,rn,Xt,$e,Re,Ln,xe,je,Ht,et,Ue,Ct,Pt,Zt,vn,Nt,Tt,St;const en=(0,y.useParams)(),[Gt]=de.default.useForm(),[mn,Qn]=(0,x.useState)(1),[xn,Un]=(0,x.useState)([]),[pa,Kt]=(0,x.useState)(0),[$t,qt]=(0,x.useState)(2e3),[sa,ra]=(0,x.useState)(!0),[Hn,Oa]=(0,x.useState)(!1),[Ta,Pr]=(0,x.useState)(!1),[zr,Na]=(0,x.useState)([]),[Xe,Bt]=(0,x.useState)(!0),[xt,Tn]=(0,x.useState)(!((rt=(cn=(Vt=He.actionTabs)==null?void 0:Vt.selectArrsAll)==null?void 0:cn[0])!=null&&rt.send_type));let[pn,_n]=(0,x.useState)([0,0,0]);(0,x.useEffect)(()=>{var pt,Jt,Ut,dn,jn,tn,Yn,Pn,ua,Ha,ir,Mr,Hr;if(He.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03")if(Vr(),(Ut=(Jt=(pt=He.actionTabs)==null?void 0:pt.selectArrsAll)==null?void 0:Jt[0])!=null&&Ut.can_publish?_n([...(ua=(Pn=(Yn=He.actionTabs)==null?void 0:Yn.selectArrsAll)==null?void 0:Pn[0])==null?void 0:ua.difficult_count]):_n([...(tn=(jn=(dn=He.actionTabs)==null?void 0:dn.selectArrsAll)==null?void 0:jn[0])==null?void 0:tn.difficult_settings]),Tn(!((Mr=(ir=(Ha=He.actionTabs)==null?void 0:Ha.selectArrsAll)==null?void 0:ir[0])!=null&&Mr.send_type)),Qr(),He.actionTabs.type===2){const oo=(Hr=He.actionTabs.selectArrsAll)==null?void 0:Hr[0];Bt(oo.unified_setting)}else Bt(!1)},[He.actionTabs]),(0,x.useEffect)(()=>{if(Hn){if(Ta)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({},en)})):Ke({type:"classroomList/getClassroomCommonList",payload:be({},He.actionTabs.params)})}},[Hn]);const Qr=pt=>Ne(void 0,null,function*(){ra(!0);const Jt=yield(0,E.c_)(ye(be({},en),{page:pt||mn,limit:2e4,homework_id:He.actionTabs.type===1?"":He.actionTabs.selectArrs[0]}));Jt==null||Jt.course_groups.map((Ut,dn)=>{Ut.key=Ut.id,Ut.title=Ut.name,Ut.disabled=Ut.is_published}),Jt&&(Un([...Jt==null?void 0:Jt.course_groups]),Kt(Jt==null?void 0:Jt.course_groups_count),ra(!1),pt||Gt.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"))}))}),Ra=()=>{(0,oe.GJ)()?He.actionTabs.detail?(Ke({type:"shixunHomeworks/setActionTabs",payload:{}}),Ke({type:"shixunHomeworks/getWorkList",payload:be({},en)}),Ke({type:"shixunHomeworks/getWorkSetting",payload:be({},en)})):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)})},br=()=>Ne(void 0,null,function*(){var pt,Jt;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({},Gt.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&&!Xe&&xn.length>0){pe.ZP.info("\u53D1\u5E03\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A"),ur(!1);return}if(pn.reduce((tn,Yn)=>tn+Yn)===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(tn=>tn.id):(Jt=He.detailCommonHomeworksList)==null?void 0:Jt.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(tn=>tn),send_type:xt?"0":"1",unified_setting:!zr.length};if(ur(!0),(yield(0,me.ZP)(`/api/courses/${en.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"}}),lt){lt();return}mt.onCallback&&mt.onCallback(),Ra(),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)}),Vr=()=>{Qn(1),Un([]),Na([])},mo=pa>mn*$t,[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:br,onCancel:()=>{if(Vr(),Ke({type:"classroomList/setActionTabs",payload:{}}),lt){lt();return}Ra()}},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'),xn&&te.createElement(de.default,{form:Gt},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=(yt=He.actionTabs)==null?void 0:yt.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${(Mn=(ha=(wn=(Sn=He.actionTabs)==null?void 0:Sn.selectArrsAll)==null?void 0:wn[0])==null?void 0:ha.difficult_count)==null?void 0:Mn[0]}`,max:(At=(dt=(ut=(at=He.actionTabs)==null?void 0:at.selectArrsAll)==null?void 0:ut[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:!((Qt=(gt=(Et=He.actionTabs)==null?void 0:Et.selectArrsAll)==null?void 0:gt[0])!=null&&Qt.can_publish),max:(Xt=(rn=(bt=(Ot=He.actionTabs)==null?void 0:Ot.selectArrsAll)==null?void 0:bt[0])==null?void 0:rn.difficult_count)==null?void 0:Xt[1],placeholder:`\u6700\u5927${(xe=(Ln=(Re=($e=He.actionTabs)==null?void 0:$e.selectArrsAll)==null?void 0:Re[0])==null?void 0:Ln.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${(Zt=(Pt=(Ct=(Ue=He.actionTabs)==null?void 0:Ue.selectArrsAll)==null?void 0:Ct[0])==null?void 0:Pt.difficult_count)==null?void 0:Zt[2]}`,max:(St=(Tt=(Nt=(vn=He.actionTabs)==null?void 0:vn.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,Gt.getFieldValue("publish_time")),disabledTime:pt=>(0,z.d0)(pt,Gt.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:Xe,onChange:pt=>{Bt(pt.target.value),Na([])}},te.createElement(ke.ZP,{value:!0,disabled:!He.actionTabs.manage_all_group},"\u7EDF\u4E00\u53D1\u5E03"),te.createElement(ke.ZP,{className:"ml20",disabled:xn.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),xn.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||!Xe)&&xn.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===xn.length,onChange:pt=>{zr.length===xn.length?Na([]):Na(xn.filter(Jt=>!Jt.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||!Xe)&&xn.length>0&&te.createElement(b.Z,{data:xn,selectedRowKeys:zr,setSelectedRowKeys:Na})))};st.Z=(0,y.connect)(({classroomList:Le})=>({classroomList:Le}))(Qe)},17998:function(ft,st,ee){"use strict";ee.d(st,{Q8:function(){return lt},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,Qe=Object.prototype.propertyIsEnumerable,Le=(yt,Lt,ct)=>Lt in yt?Ce(yt,Lt,{enumerable:!0,configurable:!0,writable:!0,value:ct}):yt[Lt]=ct,Ge=(yt,Lt)=>{for(var ct in Lt||(Lt={}))Ne.call(Lt,ct)&&Le(yt,ct,Lt[ct]);if(Ae)for(var ct of Ae(Lt))Qe.call(Lt,ct)&&Le(yt,ct,Lt[ct]);return yt},He=(yt,Lt)=>be(yt,ye(Lt)),Ke=(yt,Lt,ct)=>new Promise((Ft,jt)=>{var _e=ha=>{try{wn(ct.next(ha))}catch(Mn){jt(Mn)}},Sn=ha=>{try{wn(ct.throw(ha))}catch(Mn){jt(Mn)}},wn=ha=>ha.done?Ft(ha.value):Promise.resolve(ha.value).then(_e,Sn);wn((ct=ct.apply(yt,Lt)).next())});function qe(yt,Lt){const ct=[];for(let Ft=yt;Ft<Lt;Ft++)ct.push(Ft);return ct}const lt=(yt,Lt,ct)=>{const Ft=yt<me()().startOf("day"),jt=yt>me()(Lt).endOf("day"),_e=yt<me()(ct).startOf("day");return Lt?ct?me()()<=me()(ct)?_e||jt:Ft||jt:yt&&Ft||jt:ct&&me()()<=me()(ct)?_e:Ft},mt=(yt,Lt)=>{const ct=parseInt(me()(yt).format("HH")),Ft=parseInt(me()().format("HH")),jt=parseInt(me()().format("mm"));if(!yt)return{disabledHours:()=>qe(0,Ft),disabledMinutes:()=>qe(0,jt)};if(Lt){const _e=parseInt(me()(Lt).format("HH")),Sn=parseInt(me()(Lt).format("mm"));return me()(yt).isSame(me()(Lt),"day")?{disabledHours:()=>qe(0,_e),disabledMinutes:()=>ct<=_e?qe(0,Sn):[]}:void 0}if(me()(yt).isSame(me()(),"day"))return{disabledHours:()=>qe(0,Ft),disabledMinutes:()=>me()(yt).isSame(me()(),"hour")&&ct<=Ft?qe(0,jt):[]}},{RangePicker:Vt}=de.default,{Option:cn}=pe.default,rt=({shixunHomeworks:yt,loading:Lt,dispatch:ct,classroomList:Ft,user:jt})=>{var _e,Sn,wn,ha,Mn,at,ut,dt,At;const Et=(0,te.useParams)(),{workSetting:gt,workList:Qt,shixunWorkList:Ot,headerInfo:bt,changeData:rn}=yt,[Xt,$e]=(0,x.useState)(!1),[Re,Ln]=(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[Pt,Zt]=(0,x.useState)({}),[vn,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&>.course_id))return;Object.keys(Ue).map(function(qt){Ue[qt]=gt[qt]}),(!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(qt=>He(Ge({},qt),{group_name:[qt.group_name]})).filter(qt=>qt.publish_time!==null))),Ht=JSON.parse(JSON.stringify(gt.allow_late_settings.map(qt=>He(Ge({},qt),{group_name:[qt.group_name]})).filter(qt=>qt.late_time!==null))),Ct(Ge({},Ue));const $t=(0,E.QE)((xe==null?void 0:xe.length)>0?xe:[]);je([...$t]),(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 $t,qt;if((($t=jt==null?void 0:jt.userInfo)==null?void 0:$t.user_status)===2){(0,re.Rd)();return}const sa=JSON.parse(JSON.stringify(Ue));if(sa.challenge_settings.filter(Hn=>!Hn.hide),sa.categoryId=Et.categoryId,(qt=sa.challenge_settings)!=null&&qt.every(Hn=>!Hn.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(Hn=>{var Oa;if(!Hn.publish_time||!Hn.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(!Hn.group_name)throw De.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Hn.group_name=typeof(Hn==null?void 0:Hn.group_name)=="string"?[Hn==null?void 0:Hn.group_name]:Hn==null?void 0:Hn.group_name,Hn.group_id=(Oa=gt.group_settings)==null?void 0:Oa.filter(Ta=>{var Pr;return(Pr=Hn==null?void 0:Hn.group_name)==null?void 0:Pr.includes(Ta.group_name)}).map(Ta=>Ta.group_id||Ta.id).toString().split(","),Hn});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(sa.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(Hn=>{var Oa,Ta;if(Hn.late_penalty===null||Hn.late_penalty===void 0||Hn.late_penalty<0||Hn.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(!Hn.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(!Hn.group_name)throw De.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Hn.group_name=typeof(Hn==null?void 0:Hn.group_name)=="string"?[Hn==null?void 0:Hn.group_name]:Hn==null?void 0:Hn.group_name,Hn.group_id=(Ta=(Oa=Hn==null?void 0:Hn.group_name)==null?void 0:Oa.map(Pr=>{var zr,Na;let Xe=(Na=(zr=gt.group_settings)==null?void 0:zr.filter(Bt=>(Bt==null?void 0:Bt.group_name)===Pr))==null?void 0:Na[0];return Xe==null?void 0:Xe.group_id}))==null?void 0:Ta.toString().split(","),Hn}),sa.allow_late_settings=Ht;let ra=yield(0,he.Tr)({homework_common_ids:[parseInt(Et.categoryId)],course_id:Et.coursesId,type:"homework_common"});(ra==null?void 0:ra.student_count)===0?en(sa):(Nt(sa),Zt(ra))}),en=$t=>{var qt;if($t.total_score===null){De.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if($t!=null&&$t.work_efficiency&&$t.eff_score===null){De.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const sa=$t.challenge_settings.reduce((Oa,Ta)=>Oa+Number(Ta.challenge_score),0);if((sa==null?void 0:sa.toFixed(10))!==((qt=$t.total_score-$t.eff_score)==null?void 0:qt.toFixed(10))){De.ZP.warning(`\u6548\u7387\u5206\u52A0\u5173\u5361\u4EFB\u52A1\u603B\u5206\u5FC5\u987B\u7B49\u4E8E\u603B\u5206\u503C\uFF1A${$t.total_score}\u5206`);return}const ra={shixun_evaluation:$t.shixun_evaluation,challenge_settings:$t.challenge_settings};let Hn=()=>{var Oa;const Ta=()=>Ke(void 0,null,function*(){Ln(!0),(yield(0,a.ZP)(`/api/homework_commons/${Et.categoryId}/publish_setting.json`,{method:"post",body:Ge({},$t)})).status===0&&(De.ZP.success("\u66F4\u65B0\u6210\u529F"),Tt(),ct({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:Ge({},Et)})),Ln(!1)});!(0,y.isEqual)(rn,ra)&&!((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:Ta}):Ta()};gt!=null&>.high_resources_consume&&!(gt!=null&>.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:()=>{Hn()}}}):Hn()},Gt=($t,qt,sa="group_id")=>{var ra;return qt?qt.find(Hn=>Hn[sa]===$t):(ra=gt==null?void 0:gt.group_settings)==null?void 0:ra.find(Hn=>Hn.group_id[0]===$t)},mn=(gt==null?void 0:gt.allow_late)||(gt==null?void 0:gt.anonymous_comment),Qn=$t=>{var qt,sa;const ra=Gt($t,gt==null?void 0:gt.allow_late_settings,"id"),Hn=Gt($t,gt==null?void 0:gt.anonymous_comment_settings),Oa=Gt($t);return(gt==null?void 0:gt.allow_late)&&ra&&me()(ra==null?void 0:ra.late_time)<=me()()||(gt==null?void 0:gt.anonymous_comment)&&Hn&&(Hn==null?void 0:Hn.evaluation_start)!==null||((sa=(me()(Oa==null?void 0:Oa.end_time)<=me()()&&((qt=gt==null?void 0:gt.allow_late_settings)==null?void 0:qt.filter(Ta=>Ta.group_id.includes($t))))[0])==null?void 0:sa.late_time)!=null},xn=(0,x.useMemo)(()=>(gt==null?void 0:gt.allow_late)||(gt==null?void 0:gt.all_group_late),[gt,bt]),Un=gt==null?void 0:gt.anonymous_comment,pa=$t=>{if(!$t)return!1;const qt=Gt($t,gt==null?void 0:gt.anonymous_comment_settings);return(gt==null?void 0:gt.anonymous_comment)&&qt&&(qt==null?void 0:qt.evaluation_start)!==null},Kt=($t,qt)=>{var sa,ra,Hn;ct({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:$t,index:qt,rangePickerDisabled:Xt||(me()()<=me()((ra=Gt((sa=$t==null?void 0:$t.group_id)==null?void 0:sa[0]))==null?void 0:ra.publish_time)?!1:[!0,Qn((Hn=$t==null?void 0:$t.group_id)==null?void 0:Hn[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:Xt||!((_e=bt==null?void 0:bt.homework_status)!=null&&_e.includes("\u672A\u53D1\u5E03"))||(0,oe.Rm)()&&!((Sn=Ft.AssistantObject.practice)!=null&&Sn.can_publish),value:Ue.unified_setting,onChange:$t=>{var qt;if(!((qt=bt==null?void 0:bt.homework_status)!=null&&qt.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:Xt||!(gt!=null&>.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),ve.createElement(ke.ZP,{disabled:Xt||!((wn=gt==null?void 0:gt.group_settings)!=null&&wn.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:Xt||!((Mn=bt==null?void 0:bt.homework_status)!=null&&Mn.includes("\u672A\u53D1\u5E03")||(at=bt==null?void 0:bt.homework_status)!=null&&at.includes("\u672A\u5F00\u59CB"))||(0,oe.Rm)()&&!((ut=Ft.AssistantObject.practice)!=null&&ut.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:$t=>lt($t,gt==null?void 0:gt.course_end_date),disabledTime:$t=>mt($t),value:Ue.publish_time?me()(Ue.publish_time):"",onChange:($t,qt)=>{Ue.publish_time=qt,(Ue.end_time==""||!Ue.end_time)&&Ue.unified_setting&&(Ue.end_time=me()($t).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"))||Xt||(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:$t=>lt($t,gt==null?void 0:gt.course_end_date,Ue.publish_time),disabledTime:$t=>mt($t,Ue.publish_time),value:Ue.end_time?me()(Ue.end_time):"",onChange:($t,qt)=>{Ue.end_time=qt,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($t,qt){var sa,ra,Hn,Oa,Ta,Pr,zr;return ve.createElement(We.Z,{span:24,key:qt},ve.createElement(ie.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:qt==(xe==null?void 0:xe.length)-1?"0px":"10px"}},ve.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",qt+1),ve.createElement(pe.default,{disabled:Xt||((sa=bt==null?void 0:bt.homework_status)!=null&&sa.includes("\u672A\u53D1\u5E03")&&$t.id||me()()<me()($t==null?void 0:$t.publish_time)?!1:!!($t!=null&&$t.publish_time))||(0,oe.Rm)()&&!((ra=Ft.AssistantObject.practice)!=null&&ra.can_publish),mode:"multiple",className:z.Z.multiple_select,style:{width:"250px"},value:$t.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Na=>{var Xe;if((0,oe.Rm)()&&!((Xe=Ft.AssistantObject.practice)!=null&&Xe.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[qt].group_name=Na,xe[qt].group_id=$t.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:Na=>ve.createElement("div",{style:{cursor:"pointer"},onClick:()=>Kt($t,qt)},"+",Na==null?void 0:Na.length)},gt.group_settings&>.group_settings.map(function(Na){if(!xe.map(Bt=>Bt.group_name).flat().includes(Na.group_name))return ve.createElement(cn,{value:Na.group_name,key:Na.id},Na.group_name)})),ve.createElement("div",{className:"ml20"},ve.createElement(Vt,{size:"large",ranges:{\u6B64\u523B:[$t.publish_time?me()($t.publish_time):me()(),me()()]},allowClear:!1,disabled:Xt||(me()()<=me()((Oa=Gt((Hn=$t==null?void 0:$t.group_id)==null?void 0:Hn[0]))==null?void 0:Oa.publish_time)?!1:[!0,Qn((Ta=$t==null?void 0:$t.group_id)==null?void 0:Ta[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:Na=>lt(Na,gt==null?void 0:gt.course_end_date),disabledTime:Na=>mt(Na),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:$t.publish_time&&[me()($t.publish_time),$t.end_time?me()($t.end_time):void 0],onChange:(Na,Xe)=>{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[qt].publish_time=Xe[0],!$t.end_time&&Xe[0]?xe[qt].end_time=me()(Xe[0]).add(7,"days"):xe[qt].end_time=Xe[1],je([...xe])},onCalendarChange:(Na,Xe,Bt)=>{if(Xe!=null&&Xe[0]&&!Xe[1]){const xt=me()(Xe[0]).add(7,"days");xe[qt].publish_time=Xe[0],xe[qt].end_time=xt,je([...xe])}}})),!Xt&&ve.createElement("div",{style:{display:"flex",width:"50px"}},((Pr=$t==null?void 0:$t.group_id)==null?void 0:Pr.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:()=>Kt($t,qt)})),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 Na;if((0,oe.Rm)()&&!((Na=Ft.AssistantObject.practice)!=null&&Na.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({}))}}),(($t==null?void 0:$t.publish_time)&&me()()<me()($t==null?void 0:$t.publish_time)||!($t!=null&&$t.publish_time))&&qt!=0&&ve.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const Na=(0,y.cloneDeep)(Ht);Na.forEach((Xe,Bt)=>{Xe.group_name&&(Xe.group_name=Xe.group_name.filter(xt=>{var Tn;return!((Tn=xe[qt].group_name)!=null&&Tn.includes(xt))}))}),xe=xe.filter((Xe,Bt)=>qt!==Bt),et(Na),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:Xt||xn,onChange:$t=>{var qt;if((0,oe.Rm)()&&!((qt=Ft.AssistantObject.practice)!=null&&qt.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}$t.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:Xt||(gt==null?void 0:gt.anonymous_comment)||(gt==null?void 0:gt.allow_late),value:Ue.unified_late,onChange:$t=>{var qt;if((0,oe.Rm)()&&!((qt=Ft.AssistantObject.practice)!=null&&qt.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=$t.target.value,Ht==""&&!$t.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&>.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:Xt||Un,value:{type:Ue.penalty_type,inputValue:Ue.late_penalty},onChange:$t=>{var qt;if((0,oe.Rm)()&&!((qt=Ft.AssistantObject.practice)!=null&&qt.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:$t.inputValue,penalty_type:$t.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:Xt||Un,value:Ue.late_time?me()(Ue.late_time):"",disabledDate:$t=>lt($t,gt==null?void 0:gt.course_end_date),onChange:($t,qt)=>{var sa;if((0,oe.Rm)()&&!((sa=Ft.AssistantObject.practice)!=null&&sa.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=qt,Ct(Object.assign({},Ue))}})))):Ht.map(function($t,qt){var sa;return ve.createElement(We.Z,{span:24,key:qt},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",qt+1),ve.createElement(pe.default,{disabled:Xt||!((sa=bt==null?void 0:bt.homework_status)!=null&&sa.includes("\u672A\u53D1\u5E03"))&&$t.id||(gt==null?void 0:gt.anonymous_comment),mode:"multiple",className:z.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof $t.group_name=="string"?[$t.group_name]:$t.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:ra=>{var Hn;if((0,oe.Rm)()&&!((Hn=Ft.AssistantObject.practice)!=null&&Hn.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[qt].group_name=ra,Ht[qt].group_id=$t.group_id,et(Ht.slice())}},gt.group_settings&>.group_settings.map(function(ra){const Hn=Ht.map(Ta=>Ta.group_name).flat(),Oa=xe.map(Ta=>Ta.group_name).flat();if(Ue!=null&&Ue.unified_setting){if(!Hn.includes(ra.group_name))return ve.createElement(cn,{value:ra.group_name,key:ra.id},ra.group_name)}else if(Oa.includes(ra.group_name)&&!Hn.includes(ra.group_name))return ve.createElement(cn,{value:ra.group_name,key:ra.id},ra.group_name)})),ve.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),ve.createElement(ne.Z,{disabled:Xt||pa($t.id),value:{type:$t.penalty_type,inputValue:$t.late_penalty},onChange:ra=>{var Hn;if((0,oe.Rm)()&&!((Hn=Ft.AssistantObject.practice)!=null&&Hn.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[qt].late_penalty=ra.inputValue,Ht[qt].penalty_type=ra.type,et([...Ht])}}),ve.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),ve.createElement(de.default,{size:"large",disabled:Xt||pa($t.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:me()((0,E.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:ra=>lt(ra,gt==null?void 0:gt.course_end_date),format:"YYYY-MM-DD HH:mm",value:$t!=null&&$t.late_time?me()($t.late_time):void 0,onChange:(ra,Hn)=>{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[qt].late_time=Hn,et([...Ht])}}),!Xt&&ve.createElement("div",{style:{display:"flex",width:"50px"}},ve.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var ra;if((0,oe.Rm)()&&!((ra=Ft.AssistantObject.practice)!=null&&ra.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}))}}),qt>0&&!$t.id&&ve.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var ra;if((0,oe.Rm)()&&!((ra=Ft.AssistantObject.practice)!=null&&ra.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((Hn,Oa)=>qt!==Oa),et(Ht.slice()),setTimeout(()=>et(Ht.slice()),10)}}))))})),!Xt&&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:($t,qt)=>{xe.splice($t,0,...qt),xe.splice($t+qt.length,1);const sa=(0,E.QE)([...xe]);je([...sa])}}),ve.createElement(le.Z,{resdata:Pt,type:"shixun",okloading:Re,oktext:(Pt==null?void 0:Pt.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:$t=>Ke(void 0,null,function*(){Ln(!0);let qt=yield(0,a.ZP)(`/api/courses/${Et.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(Et.categoryId)]}});Ln(!1),(qt==null?void 0:qt.status)===0&&en(vn)})}))};st.ZP=(0,te.connect)(({shixunHomeworks:yt,classroomList:Lt,loading:ct,user:Ft})=>({shixunHomeworks:yt,classroomList:Lt,loading:ct.effects,user:Ft}))(rt)},6151:function(ft,st,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=Qe=>{try{Ne(ve.next(Qe))}catch(Le){be(Le)}},Ae=Qe=>{try{Ne(ve.throw(Qe))}catch(Le){be(Le)}},Ne=Qe=>Qe.done?Ce(Qe.value):Promise.resolve(Qe.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,Qe]=(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}Qe(!0);let lt=new FormData;lt.append("type",le.actionTabs.type),lt.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 Vt=yield(0,Te.ZP)(mt,{method:"post",body:lt},!0);Qe(!1),(Vt==null?void 0:Vt.status)===0&&(ve(),be.resetFields(),he({type:"classroomList/setActionTabs",payload:{}}),((Ke=(He=Vt==null?void 0:Vt.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=Vt==null?void 0:Vt.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"))))))};st.Z=(0,ie.connect)(({classroomList:le})=>({classroomList:le}))(ae)},44694:function(ft,st,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}}))};st.Z=(0,ie.connect)(({classroomList:a})=>({classroomList:a}))(oe)},58387:function(ft,st,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=Qe=>{try{Ne(ve.next(Qe))}catch(Le){be(Le)}},Ae=Qe=>{try{Ne(ve.throw(Qe))}catch(Le){be(Le)}},Ne=Qe=>Qe.done?Ce(Qe.value):Promise.resolve(Qe.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,Qe]=(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`;Qe(!0);let lt=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:""})});Qe(!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%"}}))))};st.Z=(0,ke.connect)(({classroomList:le})=>({classroomList:le}))(ae)},17755:function(ft,st,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")))))};st.Z=(0,We.connect)(({classroomList:b})=>({classroomList:b}))(y)},12317:function(ft,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";ee.d(st,{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,Qe)=>{var Le;return{group_id:ye==null?void 0:ye.group_id[Qe],group_name:ye==null?void 0:ye.group_name[Qe],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,Qe;return(Qe=(Ne=Ae==null?void 0:Ae.group_name)==null?void 0:Ne.toLowerCase())==null?void 0:Qe.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:Qe=>{var Le;return(0,ze.Q8)(Qe,(Le=E.actionTabs)==null?void 0:Le.disabledDate)},disabledTime:Qe=>(0,ze.d0)(Qe),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:(Qe,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((Qe,Le)=>{Qe.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,st,ee){"use strict";ee.d(st,{AD:function(){return Qe},BA:function(){return Mn},D9:function(){return lt},Hp:function(){return ae},IM:function(){return Vt},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 Sn},VY:function(){return yt},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 wn},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,ut,dt)=>ut in at?ke(at,ut,{enumerable:!0,configurable:!0,writable:!0,value:dt}):at[ut]=dt,ze=(at,ut)=>{for(var dt in ut||(ut={}))We.call(ut,dt)&&Te(at,dt,ut[dt]);if(ie)for(var dt of ie(ut))Me.call(ut,dt)&&Te(at,dt,ut[dt]);return at},Be=(at,ut,dt)=>new Promise((At,Et)=>{var gt=bt=>{try{Ot(dt.next(bt))}catch(rn){Et(rn)}},Qt=bt=>{try{Ot(dt.throw(bt))}catch(rn){Et(rn)}},Ot=bt=>bt.done?At(bt.value):Promise.resolve(bt.value).then(gt,Qt);Ot((dt=dt.apply(at,ut)).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 ut=yield(0,x.yS)(ze({},at));if(ut.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(ut.status===-2)return ut;ut.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 ut=yield(0,x.W0)(ze({},at));if(ut.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(ut.status===-4)return ut;ut.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 ut=yield(0,x.Nl)(ze({},at));if(ut.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(ut.status===-4)return ut;ut.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 ut=yield(0,x.IU)(ze({},at));if(ut.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(ut.status===-4)return ut;ut.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 ut=yield(0,x.td)(ze({},at));if(ut.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(ut.status===-2)return ut;if(ut.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(ut.status===-4)return ut}}),ne=at=>Be(void 0,null,function*(){const ut=yield(0,x.QX)(ze({},at));if(ut.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(ut.status===-4)return ut;ut.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,ut)=>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/${ut}`)):dt.status===-3&&((0,de.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),de.history.push(`/classrooms/${at.coursesId}/exportlist/${ut}`))}),ae=(at,ut)=>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/${ut}`)):dt.status===-3&&((0,de.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),de.history.push(`/classrooms/${at.coursesId}/exportlist/${ut}`))}),le=(at,ut)=>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/${ut}`)):dt.status===-3&&((0,de.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),de.history.push(`/classrooms/${at.coursesId}/exportlist/${ut}`))}),he=(at,ut)=>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/${ut}`)):dt.status===-3&&((0,de.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),de.history.push(`/classrooms/${at.coursesId}/exportlist/${ut}`))}),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}))}),Qe=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 ut=yield(0,x.Uy)(ze({},at));ut.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`)):ut.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}))}),lt=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(ut=>`course_group_id[]=${ut}`).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}))}),Vt=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}))}),yt=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}))}),Sn=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}))}),wn=(at,ut)=>Be(void 0,null,function*(){yield(0,pe.FH)(ut||"",(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}))}),Mn=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,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";ee.d(st,{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+paqzsPCHAr0oQzcUhw4FOhbqjoPC3Mo0IcycEtx4FCgb6nqPCzMoUAfysAtxYFDgb6lqvOwMIcCfSgDtxQHDgX6lqrOw8IcCvShDNxS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0Cv01KLrEWdRAr1Cz2Kp9DxNLYFeoacWXY84ixLoFXoWS6XnaWoJ9Ao9teh6xFmUwP8BvOeeqRbgzD0AAAAASUVORK5CYII=",Te=ee.p+"static/newqrcode.a8740efb.png",ze=ee(32637),Be=ee(67294),me=(le,he,ve)=>new Promise((Ce,be)=>{var ye=Qe=>{try{Ne(ve.next(Qe))}catch(Le){be(Le)}},Ae=Qe=>{try{Ne(ve.throw(Qe))}catch(Le){be(Le)}},Ne=Qe=>Qe.done?Ce(Qe.value):Promise.resolve(Qe.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,st){"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}st.Z=ee},66367:function(ft,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";ee.d(st,{Z:function(){return de}});var x=ee(67294);function de(){const[,pe]=x.useReducer(De=>De+1,0);return pe}},58375:function(ft,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";ee.d(st,{Z:function(){return Qe}});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:lt}=Ge,mt=Be(Ge,["className","onClick"]),Vt=Object.assign(Object.assign({},(0,De.Z)(mt,{data:!0,aria:!0})),{onClick:lt});return Ke!==void 0?we.createElement("a",Object.assign({},Vt,{className:de()(`${Le}-link`,qe),href:Ke}),He):we.createElement("span",Object.assign({},Vt,{className:de()(`${Le}-link`,qe)}),He)}function a(Le,Ge){return(Ke,qe,lt,mt,Vt)=>{if(Ge)return Ge(Ke,qe,lt,mt);const cn=me(Ke,qe);return oe(Le,Ke,cn,Vt)}}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:lt,dropdownProps:mt,href:Vt}=Le,rt=(yt=>{if(qe||lt){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,Sn)=>{var{key:wn,title:ha,label:Mn,path:at}=_e,ut=y(_e,["key","title","label","path"]);let dt=Mn!=null?Mn:ha;return at&&(dt=we.createElement("a",{href:`${Vt}${at}`},dt)),Object.assign(Object.assign({},ut),{key:wn!=null?wn:Sn,label:dt})})})}else lt&&(Lt.overlay=lt);return we.createElement(Me.Z,Object.assign({placement:"bottom"},Lt),we.createElement("span",{className:`${Ge}-overlay-link`},yt,we.createElement(We.Z,null)))}return yt})(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:lt}=we.useContext(ie.E_),mt=lt("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(lt=>{var{breadcrumbName:mt}=lt,Vt=he(lt,["breadcrumbName"]);return Object.assign(Object.assign({},Vt),{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:lt,routes:mt,items:Vt,children:cn,itemRender:rt,params:yt={}}=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 Sn=ct("breadcrumb",Ge),[wn,ha]=le(Sn),Mn=Ce(Vt,mt),at=a(Sn,rt);if(Mn&&Mn.length>0){const At=[],Et=Vt||mt;_e=Mn.map((gt,Qt)=>{const{path:Ot,key:bt,type:rn,menu:Xt,overlay:$e,onClick:Re,className:Ln,separator:xe,dropdownProps:je}=gt,Ht=ye(yt,Ot);Ht!==void 0&&At.push(Ht);const et=bt!=null?bt:Qt;if(rn==="separator")return we.createElement(ze,{key:et},xe);const Ue={},Ct=Qt===Mn.length-1;Xt?Ue.menu=Xt:$e&&(Ue.overlay=$e);let{href:Pt}=gt;return At.length&&Ht!==void 0&&(Pt=`#/${At.join("/")}`),we.createElement(b,Object.assign({key:et},Ue,(0,De.Z)(gt,{data:!0,aria:!0}),{className:Ln,dropdownProps:je,href:Pt,separator:Ct?"":He,onClick:Re,prefixCls:Sn}),at(gt,yt,Et,At,Pt))})}else if(cn){const At=(0,pe.Z)(cn).length;_e=(0,pe.Z)(cn).map((Et,gt)=>{if(!Et)return Et;const Qt=gt===At-1;return(0,ke.Tm)(Et,{separator:Qt?"":He,key:gt})})}const ut=de()(Sn,jt==null?void 0:jt.className,{[`${Sn}-rtl`]:Ft==="rtl"},qe,lt,ha),dt=Object.assign(Object.assign({},jt==null?void 0:jt.style),Ke);return wn(we.createElement("nav",Object.assign({className:ut,style:dt},Lt),we.createElement("ol",null,_e)))};Ae.Item=z,Ae.Separator=ze;var Ne=Ae,Qe=Ne},84567:function(ft,st,ee){"use strict";ee.d(st,{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:Qe=!1,style:Le,onMouseEnter:Ge,onMouseLeave:He,skipGroup:Ke=!1,disabled:qe}=he,lt=me(he,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:mt,direction:Vt,checkbox:cn}=De.useContext(we.E_),rt=De.useContext(Me),{isFormItemInput:yt}=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(lt.value);De.useEffect(()=>{rt==null||rt.registerValue(lt.value)},[]),De.useEffect(()=>{if(!Ke)return lt.value!==Ft.current&&(rt==null||rt.cancelValue(Ft.current),rt==null||rt.registerValue(lt.value),Ft.current=lt.value),()=>rt==null?void 0:rt.cancelValue(lt.value)},[lt.value]);const jt=mt("checkbox",be),[_e,Sn]=(0,Te.ZP)(jt),wn=Object.assign({},lt);rt&&!Ke&&(wn.onChange=function(){lt.onChange&<.onChange.apply(lt,arguments),rt.toggleOption&&rt.toggleOption({label:Ne,value:lt.value})},wn.name=rt.name,wn.checked=rt.value.includes(lt.value));const ha=de()(`${jt}-wrapper`,{[`${jt}-rtl`]:Vt==="rtl",[`${jt}-wrapper-checked`]:wn.checked,[`${jt}-wrapper-disabled`]:ct,[`${jt}-wrapper-in-form-item`]:yt},cn==null?void 0:cn.className,ye,Ae,Sn),Mn=de()({[`${jt}-indeterminate`]:Qe},Be.A,Sn),at=Qe?"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},wn,{prefixCls:jt,className:Mn,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:Qe,style:Le,onChange:Ge}=he,He=z(he,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Ke,direction:qe}=De.useContext(we.E_),[lt,mt]=De.useState(He.value||Ce||[]),[Vt,cn]=De.useState([]);De.useEffect(()=>{"value"in He&&mt(He.value||[])},[He.value]);const rt=De.useMemo(()=>ye.map(ut=>typeof ut=="string"||typeof ut=="number"?{label:ut,value:ut}:ut),[ye]),yt=ut=>{cn(dt=>dt.filter(At=>At!==ut))},Lt=ut=>{cn(dt=>[].concat((0,b.Z)(dt),[ut]))},ct=ut=>{const dt=lt.indexOf(ut.value),At=(0,b.Z)(lt);dt===-1?At.push(ut.value):At.splice(dt,1),"value"in He||mt(At),Ge==null||Ge(At.filter(Et=>Vt.includes(Et)).sort((Et,gt)=>{const Qt=rt.findIndex(bt=>bt.value===Et),Ot=rt.findIndex(bt=>bt.value===gt);return Qt-Ot}))},Ft=Ke("checkbox",Ae),jt=`${Ft}-group`,[_e,Sn]=(0,Te.ZP)(Ft),wn=(0,E.Z)(He,["value","disabled"]),ha=ye.length?rt.map(ut=>De.createElement(y,{prefixCls:Ft,key:ut.value.toString(),disabled:"disabled"in ut?ut.disabled:He.disabled,value:ut.value,checked:lt.includes(ut.value),onChange:ut.onChange,className:`${jt}-item`,style:ut.style,title:ut.title},ut.label)):be,Mn={toggleOption:ct,value:lt,disabled:He.disabled,name:He.name,registerValue:Lt,cancelValue:yt},at=de()(jt,{[`${jt}-rtl`]:qe==="rtl"},Ne,Qe,Sn);return _e(De.createElement("div",Object.assign({className:at,style:Le},wn,{ref:ve}),De.createElement(Me.Provider,{value:Mn},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,st,ee){"use strict";ee.d(st,{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)]}st.ZP=(0,pe.Z)("Checkbox",(ke,ie)=>{let{prefixCls:We}=ie;return[we(We,ke)]})},34336:function(ft,st,ee){"use strict";ee.d(st,{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],an=Ee;if(Dt.includes("wo")||Dt.includes("Wo")){for(var un=an.split("-")[0],bn=an.split("-")[1],xa=de()(un,"YYYY").startOf("year").locale(Ye),Bn=0;Bn<=52;Bn+=1){var On=xa.add(Bn,"week");if(On.format("Wo")===bn)return On}return E(),null}var aa=de()(an,Dt,!0).locale(Ye);if(aa.isValid())return aa}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}))},Qe=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),lt=ee(94184),mt=ee.n(lt),Vt=ee(15671),cn=ee(43144),rt=ee(97326),yt=ee(60136),Lt=ee(51630),ct=ee(4942),Ft=ee(1413),jt=ee(97685),_e=ee(5663),Sn=ee(1337),wn=ee(92739),ha=ee(7699),Mn=10,at=Mn*10,ut=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 Qt(se,fe,Ee){var Ve=dt(fe,Ee);return typeof Ve=="boolean"?Ve:Et(se,fe,Ee)&>(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 rn(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 Xt(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)&&rn(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 Ln(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(ia,sn,Dn){for(var ca=sn;ca<=Dn;){var Va=void 0;switch(ia){case"date":{if(Va=Ye.setDate(fe,ca),!Ve(Va))return!1;break}case"month":{if(Va=Ye.setMonth(fe,ca),!et({cellDate:Va,mode:"month",generateConfig:Ye,disabledDate:Ve}))return!1;break}case"year":{if(Va=Ye.setYear(fe,ca),!et({cellDate:Va,mode:"year",generateConfig:Ye,disabledDate:Ve}))return!1;break}}ca+=1}return!0};switch(Ee){case"date":case"week":return Ve(fe);case"month":{var Dt=1,an=Ye.getDate(Ye.getEndDate(fe));return Rt("date",Dt,an)}case"quarter":{var un=Math.floor(Ye.getMonth(fe)/3)*3,bn=un+2;return Rt("month",un,bn)}case"year":return Rt("month",0,11);case"decade":{var xa=Ye.getYear(fe),Bn=Math.floor(xa/Mn)*Mn,On=Bn+Mn-1;return Rt("year",Bn,On)}}}function Ue(se,fe){var Ee=fe.formatList,Ve=fe.generateConfig,Ye=fe.locale;return(0,wn.Z)(function(){if(!se)return[[""],""];for(var Rt="",Dt=[],an=0;an<Ee.length;an+=1){var un=Ee[an],bn=je(se,{generateConfig:Ve,locale:Ye,format:un});Dt.push(bn),an===0&&(Rt=bn)}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),an=Dt[0],un=Dt[1],bn=(0,ae.useRef)(null);function xa(Dn){var ca=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(bn.current),ca){un(Dn);return}bn.current=requestAnimationFrame(function(){un(Dn)})}var Bn=Ue(an,{formatList:Ee,generateConfig:Ve,locale:Ye}),On=(0,jt.Z)(Bn,2),aa=On[1];function ia(Dn){xa(Dn)}function sn(){var Dn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;xa(null,Dn)}return(0,ae.useEffect)(function(){sn(!0)},[se]),(0,ae.useEffect)(function(){return function(){return cancelAnimationFrame(bn.current)}},[]),[aa,ia,sn]}var Pt=ee(92389),Zt=ee(96523),vn=ee(74902),Nt=ee(48130),Tt=new Map;function St(se,fe){var Ee;function Ve(){(0,Nt.Z)(se)?fe():Ee=(0,Zt.Z)(function(){Ve()})}return Ve(),function(){Zt.Z.cancel(Ee)}}function en(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&&en(se,fe,Ee-10)}))}function Gt(se,fe){var Ee=fe.onLeftRight,Ve=fe.onCtrlLeftRight,Ye=fe.onUpDown,Rt=fe.onPageUpDown,Dt=fe.onEnter,an=se.which,un=se.ctrlKey,bn=se.metaKey;switch(an){case Pt.Z.LEFT:if(un||bn){if(Ve)return Ve(-1),!0}else if(Ee)return Ee(-1),!0;break;case Pt.Z.RIGHT:if(un||bn){if(Ve)return Ve(1),!0}else if(Ee)return Ee(1),!0;break;case Pt.Z.UP:if(Ye)return Ye(-1),!0;break;case Pt.Z.DOWN:if(Ye)return Ye(1),!0;break;case Pt.Z.PAGE_UP:if(Rt)return Rt(-1),!0;break;case Pt.Z.PAGE_DOWN:if(Rt)return Rt(1),!0;break;case Pt.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 xn=null,Un=new Set;function pa(se){return!xn&&typeof window!="undefined"&&window.addEventListener&&(xn=function(Ee){(0,vn.Z)(Un).forEach(function(Ve){Ve(Ee)})},window.addEventListener("mousedown",xn)),Un.add(se),function(){Un.delete(se),Un.size===0&&(window.removeEventListener("mousedown",xn),xn=null)}}function Kt(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 $t=function(fe){return fe==="month"||fe==="date"?"year":fe},qt=function(fe){return fe==="date"?"month":fe},sa=function(fe){return fe==="month"||fe==="date"?"quarter":fe},ra=function(fe){return fe==="date"?"week":fe},Hn={year:$t,month:qt,quarter:sa,week:ra,time:null,date:null};function Oa(se,fe){return se.some(function(Ee){return Ee&&Ee.contains(fe)})}function Ta(se){var fe=se.open,Ee=se.value,Ve=se.isClickOutside,Ye=se.triggerOpen,Rt=se.forwardKeyDown,Dt=se.onKeyDown,an=se.blurToCancel,un=se.onSubmit,bn=se.onCancel,xa=se.onFocus,Bn=se.onBlur,On=se.changeOnBlur,aa=(0,ae.useState)(!1),ia=(0,jt.Z)(aa,2),sn=ia[0],Dn=ia[1],ca=(0,ae.useState)(!1),Va=(0,jt.Z)(ca,2),_a=Va[0],Xa=Va[1],tr=(0,ae.useRef)(!1),Ja=(0,ae.useRef)(!1),ja=(0,ae.useRef)(!1),co={onMouseDown:function(){Dn(!0),Ye(!0)},onKeyDown:function(qr){var bo=function(){ja.current=!0};if(Dt(qr,bo),!ja.current){switch(qr.which){case Pt.Z.ENTER:{fe?un()!==!1&&Dn(!0):Ye(!0),qr.preventDefault();return}case Pt.Z.TAB:{sn&&fe&&!qr.shiftKey?(Dn(!1),qr.preventDefault()):!sn&&fe&&!Rt(qr)&&qr.shiftKey&&(Dn(!0),qr.preventDefault());return}case Pt.Z.ESC:{Dn(!0),bn();return}}!fe&&![Pt.Z.SHIFT].includes(qr.which)?Ye(!0):sn||Rt(qr)}},onFocus:function(qr){Dn(!0),Xa(!0),xa&&xa(qr)},onBlur:function(qr){if(tr.current||!Ve(document.activeElement)){tr.current=!1;return}an?setTimeout(function(){for(var bo=document,_o=bo.activeElement;_o&&_o.shadowRoot;)_o=_o.shadowRoot.activeElement;Ve(_o)&&bn()},0):fe&&(Ye(!1),Ja.current&&un()),Xa(!1),Bn==null||Bn(qr)}};return(0,ae.useEffect)(function(){Ja.current=!1},[fe]),(0,ae.useEffect)(function(){Ja.current=!0},[Ee]),(0,ae.useEffect)(function(){return pa(function(kr){var qr=Kt(kr),bo=Ve(qr);fe&&(bo?!On&&(!_a||bo)&&Ye(!1):(tr.current=!0,(0,Zt.Z)(function(){tr.current=!1})))})}),[co,{focused:_a,typing:sn}]}function Pr(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 Na(se){var fe=se.valueTexts,Ee=se.onTextChange,Ve=ae.useState(""),Ye=(0,jt.Z)(Ve,2),Rt=Ye[0],Dt=Ye[1],an=ae.useRef([]);an.current=fe;function un(xa){Dt(xa),Ee(xa)}function bn(){Dt(an.current[0])}return(0,zr.Z)(function(){fe.every(function(xa){return xa!==Rt})&&bn()},[fe.join("||")]),[Rt,un,bn]}var Xe=ae.createContext({}),Bt=Xe,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 an=Rt;return Ve&&Dt.type==="date"?Ve(an,Dt.today):Ee&&Dt.type==="month"?Ee(an,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 Qr(se){return se==null?[]:Array.isArray(se)?se:[se]}function Ra(se,fe){return se?se[fe]:null}function br(se,fe,Ee){var Ve=[Ra(se,0),Ra(se,1)];return Ve[Ee]=typeof fe=="function"?fe(Ve[Ee]):fe,!Ve[0]&&!Ve[1]?null:Ve}function Vr(se){return typeof se=="function"?se():se}function mo(se){var fe=se.cellPrefixCls,Ee=se.generateConfig,Ve=se.rangedValue,Ye=se.hoverRangedValue,Rt=se.isInView,Dt=se.isSameCell,an=se.offsetCell,un=se.today,bn=se.value;function xa(Bn){var On,aa=an(Bn,-1),ia=an(Bn,1),sn=Ra(Ve,0),Dn=Ra(Ve,1),ca=Ra(Ye,0),Va=Ra(Ye,1),_a=Re(Ee,ca,Va,Bn);function Xa(qr){return Dt(sn,qr)}function tr(qr){return Dt(Dn,qr)}var Ja=Dt(ca,Bn),ja=Dt(Va,Bn),co=(_a||ja)&&(!Rt(aa)||tr(aa)),kr=(_a||Ja)&&(!Rt(ia)||Xa(ia));return On={},(0,ct.Z)(On,"".concat(fe,"-in-view"),Rt(Bn)),(0,ct.Z)(On,"".concat(fe,"-in-range"),Re(Ee,sn,Dn,Bn)),(0,ct.Z)(On,"".concat(fe,"-range-start"),Xa(Bn)),(0,ct.Z)(On,"".concat(fe,"-range-end"),tr(Bn)),(0,ct.Z)(On,"".concat(fe,"-range-start-single"),Xa(Bn)&&!Dn),(0,ct.Z)(On,"".concat(fe,"-range-end-single"),tr(Bn)&&!sn),(0,ct.Z)(On,"".concat(fe,"-range-start-near-hover"),Xa(Bn)&&(Dt(aa,ca)||Re(Ee,ca,Va,aa))),(0,ct.Z)(On,"".concat(fe,"-range-end-near-hover"),tr(Bn)&&(Dt(ia,Va)||Re(Ee,ca,Va,ia))),(0,ct.Z)(On,"".concat(fe,"-range-hover"),_a),(0,ct.Z)(On,"".concat(fe,"-range-hover-start"),Ja),(0,ct.Z)(On,"".concat(fe,"-range-hover-end"),ja),(0,ct.Z)(On,"".concat(fe,"-range-hover-edge-start"),co),(0,ct.Z)(On,"".concat(fe,"-range-hover-edge-end"),kr),(0,ct.Z)(On,"".concat(fe,"-range-hover-edge-start-near-range"),co&&Dt(aa,Dn)),(0,ct.Z)(On,"".concat(fe,"-range-hover-edge-end-near-range"),kr&&Dt(ia,sn)),(0,ct.Z)(On,"".concat(fe,"-today"),Dt(un,Bn)),(0,ct.Z)(On,"".concat(fe,"-selected"),Dt(bn,Bn)),On}return xa}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 Jt(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 an=Math.floor(fe/Ye)*Ye;if(an<fe)return[Dt,an,60-Rt];var un=Math.floor(Ee/Rt)*Rt;return[Dt,an,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 jn(se){for(var fe=se.prefixCls,Ee=se.disabledDate,Ve=se.onSelect,Ye=se.picker,Rt=se.rowNum,Dt=se.colNum,an=se.prefixColumn,un=se.rowClassName,bn=se.baseDate,xa=se.getCellClassName,Bn=se.getCellText,On=se.getCellNode,aa=se.getCellDate,ia=se.generateConfig,sn=se.titleCell,Dn=se.headerCells,ca=ae.useContext(Bt),Va=ca.onDateMouseEnter,_a=ca.onDateMouseLeave,Xa=ca.mode,tr="".concat(fe,"-cell"),Ja=[],ja=0;ja<Rt;ja+=1){for(var co=[],kr=void 0,qr=function(){var $o,vi=ja*Dt+bo,Ho=aa(bn,vi),Do=et({cellDate:Ho,mode:Xa,disabledDate:Ee,generateConfig:ia});bo===0&&(kr=Ho,an&&co.push(an(kr)));var Ao=sn&&sn(Ho),Yo=ae.createElement("div",{className:"".concat(tr,"-inner")},Bn(Ho));co.push(ae.createElement("td",{key:bo,title:Ao,className:mt()(tr,(0,Ft.Z)(($o={},(0,ct.Z)($o,"".concat(tr,"-disabled"),Do),(0,ct.Z)($o,"".concat(tr,"-start"),Bn(Ho)===1||Ye==="year"&&Number(Ao)%10===0),(0,ct.Z)($o,"".concat(tr,"-end"),Ao===dn(ia,Ho)||Ye==="year"&&Number(Ao)%10===9),$o),xa(Ho))),onClick:function(){Do||Ve(Ho)},onMouseEnter:function(){!Do&&Va&&Va(Ho)},onMouseLeave:function(){!Do&&_a&&_a(Ho)}},On?On(Ho,Yo):Yo))},bo=0;bo<Dt;bo+=1)qr();Ja.push(ae.createElement("tr",{key:ja,className:un&&un(kr)},co))}return ae.createElement("div",{className:"".concat(fe,"-body")},ae.createElement("table",{className:"".concat(fe,"-content")},Dn&&ae.createElement("thead",null,ae.createElement("tr",null,Dn)),ae.createElement("tbody",null,Ja)))}function tn(se){var fe=se.prefixCls,Ee=se.generateConfig,Ve=se.prefixColumn,Ye=se.locale,Rt=se.rowCount,Dt=se.viewDate,an=se.value,un=se.cellRender,bn=se.isSameCell,xa=ae.useContext(ur),Bn=xa.rangedValue,On=xa.hoverRangedValue,aa=Ln(Ye.locale,Ee,Dt),ia="".concat(fe,"-cell"),sn=Ee.locale.getWeekFirstDay(Ye.locale),Dn=Ee.getNow(),ca=[],Va=Ye.shortWeekDays||(Ee.locale.getShortWeekDays?Ee.locale.getShortWeekDays(Ye.locale):[]);Ve&&ca.push(ae.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var _a=0;_a<ut;_a+=1)ca.push(ae.createElement("th",{key:_a},Va[(_a+sn)%ut]));var Xa=mo({cellPrefixCls:ia,today:Dn,value:an,generateConfig:Ee,rangedValue:Ve?null:Bn,hoverRangedValue:Ve?null:On,isSameCell:bn||function(Ja,ja){return bt(Ee,Ja,ja)},isInView:function(ja){return Ot(Ee,ja,Dt)},offsetCell:function(ja,co){return Ee.addDate(ja,co)}}),tr=un?function(Ja,ja){return un(Ja,{originNode:ja,today:Dn,type:"date",locale:Ye})}:void 0;return ae.createElement(jn,(0,re.Z)({},se,{rowNum:Rt,colNum:ut,baseDate:aa,getCellNode:tr,getCellText:Ee.getDate,getCellClassName:Xa,getCellDate:Ee.addDate,titleCell:function(ja){return je(ja,{locale:Ye,format:"YYYY-MM-DD",generateConfig:Ee})},headerCells:ca}))}var Yn=tn,Pn={visibility:"hidden"};function ua(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,an=Dt===void 0?"\xAB":Dt,un=se.superNextIcon,bn=un===void 0?"\xBB":un,xa=se.onSuperPrev,Bn=se.onSuperNext,On=se.onPrev,aa=se.onNext,ia=se.children,sn=ae.useContext(Bt),Dn=sn.hideNextBtn,ca=sn.hidePrevBtn;return ae.createElement("div",{className:fe},xa&&ae.createElement("button",{type:"button",onClick:xa,tabIndex:-1,className:"".concat(fe,"-super-prev-btn"),style:ca?Pn:{}},an),On&&ae.createElement("button",{type:"button",onClick:On,tabIndex:-1,className:"".concat(fe,"-prev-btn"),style:ca?Pn:{}},Ve),ae.createElement("div",{className:"".concat(fe,"-view")},ia),aa&&ae.createElement("button",{type:"button",onClick:aa,tabIndex:-1,className:"".concat(fe,"-next-btn"),style:Dn?Pn:{}},Rt),Bn&&ae.createElement("button",{type:"button",onClick:Bn,tabIndex:-1,className:"".concat(fe,"-super-next-btn"),style:Dn?Pn:{}},bn))}var Ha=ua;function ir(se){var fe=se.prefixCls,Ee=se.generateConfig,Ve=se.locale,Ye=se.viewDate,Rt=se.onNextMonth,Dt=se.onPrevMonth,an=se.onNextYear,un=se.onPrevYear,bn=se.onYearClick,xa=se.onMonthClick,Bn=ae.useContext(Bt),On=Bn.hideHeader;if(On)return null;var aa="".concat(fe,"-header"),ia=Ve.shortMonths||(Ee.locale.getShortMonths?Ee.locale.getShortMonths(Ve.locale):[]),sn=Ee.getMonth(Ye),Dn=ae.createElement("button",{type:"button",key:"year",onClick:bn,tabIndex:-1,className:"".concat(fe,"-year-btn")},je(Ye,{locale:Ve,format:Ve.yearFormat,generateConfig:Ee})),ca=ae.createElement("button",{type:"button",key:"month",onClick:xa,tabIndex:-1,className:"".concat(fe,"-month-btn")},Ve.monthFormat?je(Ye,{locale:Ve,format:Ve.monthFormat,generateConfig:Ee}):ia[sn]),Va=Ve.monthBeforeYear?[ca,Dn]:[Dn,ca];return ae.createElement(Ha,(0,re.Z)({},se,{prefixCls:aa,onSuperPrev:un,onPrev:Dt,onNext:Rt,onSuperNext:an}),Va)}var Mr=ir,Hr=6;function oo(se){var fe=se.prefixCls,Ee=se.panelName,Ve=Ee===void 0?"date":Ee,Ye=se.keyboardConfig,Rt=se.active,Dt=se.operationRef,an=se.generateConfig,un=se.value,bn=se.viewDate,xa=se.onViewDateChange,Bn=se.onPanelChange,On=se.onSelect,aa="".concat(fe,"-").concat(Ve,"-panel");Dt.current={onKeyDown:function(ca){return Gt(ca,(0,Ft.Z)({onLeftRight:function(_a){On(an.addDate(un||bn,_a),"key")},onCtrlLeftRight:function(_a){On(an.addYear(un||bn,_a),"key")},onUpDown:function(_a){On(an.addDate(un||bn,_a*ut),"key")},onPageUpDown:function(_a){On(an.addMonth(un||bn,_a),"key")}},Ye))}};var ia=function(ca){var Va=an.addYear(bn,ca);xa(Va),Bn(null,Va)},sn=function(ca){var Va=an.addMonth(bn,ca);xa(Va),Bn(null,Va)};return ae.createElement("div",{className:mt()(aa,(0,ct.Z)({},"".concat(aa,"-active"),Rt))},ae.createElement(Mr,(0,re.Z)({},se,{prefixCls:fe,value:un,viewDate:bn,onPrevYear:function(){ia(-1)},onNextYear:function(){ia(1)},onPrevMonth:function(){sn(-1)},onNextMonth:function(){sn(1)},onMonthClick:function(){Bn("month",bn)},onYearClick:function(){Bn("year",bn)}})),ae.createElement(Yn,(0,re.Z)({},se,{onSelect:function(ca){return On(ca,"mouse")},prefixCls:fe,value:un,viewDate:bn,rowCount:Hr})))}var zo=oo;function Kn(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,an=se.format,un="".concat(Ve,"-header");return ae.createElement(Ha,{prefixCls:un},Dt?je(Dt,{locale:Rt,format:an,generateConfig:Ye}):"\xA0")}var Br=Kn;function To(se){var fe=se.value,Ee=se.generateConfig,Ve=se.disabledMinutes,Ye=se.disabledSeconds,Rt=se.minutes,Dt=se.seconds,an=se.use12Hours,un=function(xa,Bn,On,aa){var ia=Ee.getNow(),sn=fe||ia,Dn=Bn<0?Ee.getHour(ia):Bn,ca=On<0?Ee.getMinute(ia):On,Va=aa<0?Ee.getSecond(ia):aa,_a=Ve&&Ve(Dn);if(_a!=null&&_a.includes(ca)){var Xa=Rt.find(function(ja){return!_a.includes(ja.value)});if(Xa)ca=Xa.value;else return null}var tr=Ye&&Ye(Dn,ca);if(tr!=null&&tr.includes(Va)){var Ja=Dt.find(function(ja){return!tr.includes(ja.value)});if(Ja)Va=Ja.value;else return null}return sn=pt(Ee,sn,!an||!xa?Dn:Dn+12,ca,Va),sn};return un}function oa(se){var fe=se.prefixCls,Ee=se.units,Ve=se.onSelect,Ye=se.value,Rt=se.active,Dt=se.hideDisabledOptions,an=se.info,un=se.type,bn="".concat(fe,"-cell"),xa=ae.useContext(Bt),Bn=xa.open,On=(0,ae.useRef)(null),aa=(0,ae.useRef)(new Map),ia=(0,ae.useRef)();return(0,ae.useLayoutEffect)(function(){var sn=aa.current.get(Ye);sn&&Bn!==!1&&en(On.current,sn.offsetTop,120)},[Ye]),(0,ae.useLayoutEffect)(function(){if(Bn){var sn=aa.current.get(Ye);sn&&(ia.current=St(sn,function(){en(On.current,sn.offsetTop,0)}))}return function(){var Dn;(Dn=ia.current)===null||Dn===void 0||Dn.call(ia)}},[Bn]),ae.createElement("ul",{className:mt()("".concat(fe,"-column"),(0,ct.Z)({},"".concat(fe,"-column-active"),Rt)),ref:On,style:{position:"relative"}},Ee.map(function(sn){var Dn;return Dt&&sn.disabled?null:ae.createElement("li",{key:sn.value,ref:function(Va){aa.current.set(sn.value,Va)},className:mt()(bn,(Dn={},(0,ct.Z)(Dn,"".concat(bn,"-disabled"),sn.disabled),(0,ct.Z)(Dn,"".concat(bn,"-selected"),Ye===sn.value),Dn)),onClick:function(){sn.disabled||Ve(sn.value)}},an.cellRender?an.cellRender(sn.value,{today:an.today,locale:an.locale,originNode:ae.createElement("div",{className:"".concat(bn,"-inner")},sn.label),type:"time",subType:un}):ae.createElement("div",{className:"".concat(bn,"-inner")},sn.label))}))}var Za=oa;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 da(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 io(se){var fe=se.generateConfig,Ee=se.prefixCls,Ve=se.operationRef,Ye=se.activeColumnIndex,Rt=se.value,Dt=se.showHour,an=se.showMinute,un=se.showSecond,bn=se.use12Hours,xa=se.hourStep,Bn=xa===void 0?1:xa,On=se.minuteStep,aa=On===void 0?1:On,ia=se.secondStep,sn=ia===void 0?1:ia,Dn=se.disabledHours,ca=se.disabledMinutes,Va=se.disabledSeconds,_a=se.disabledTime,Xa=se.hideDisabledOptions,tr=se.onSelect,Ja=se.cellRender,ja=se.locale,co=[],kr="".concat(Ee,"-content"),qr="".concat(Ee,"-time-panel"),bo,_o=Rt?fe.getHour(Rt):-1,$o=_o,vi=Rt?fe.getMinute(Rt):-1,Ho=Rt?fe.getSecond(Rt):-1,Do=fe.getNow(),Ao=ae.useMemo(function(){if(_a){var Eo=_a(Do);return[Eo.disabledHours,Eo.disabledMinutes,Eo.disabledSeconds]}return[Dn,ca,Va]},[Dn,ca,Va,_a,Do]),Yo=(0,jt.Z)(Ao,3),ti=Yo[0],ko=Yo[1],ni=Yo[2],Mi=da(0,23,Bn,ti&&ti()),Ei=(0,wn.Z)(function(){return Mi},Mi,mr);bn&&(bo=$o>=12,$o%=12);var Xi=ae.useMemo(function(){if(!bn)return[!1,!1];var Eo=[!0,!0];return Ei.forEach(function(Ii){var ci=Ii.disabled,ji=Ii.value;ci||(ji>=12?Eo[1]=!1:Eo[0]=!1)}),Eo},[bn,Ei]),Di=(0,jt.Z)(Xi,2),Wi=Di[0],di=Di[1],Bi=ae.useMemo(function(){return bn?Ei.filter(bo?function(Eo){return Eo.value>=12}:function(Eo){return Eo.value<12}).map(function(Eo){var Ii=Eo.value%12,ci=Ii===0?"12":pn(Ii,2);return(0,Ft.Z)((0,Ft.Z)({},Eo),{},{label:ci,value:Ii})}):Ei},[bn,bo,Ei]),Ui=da(0,59,aa,ko&&ko(_o)),el=da(0,59,sn,ni&&ni(_o,vi)),Ji=To({value:Rt,generateConfig:fe,disabledMinutes:ko,disabledSeconds:ni,minutes:Ui,seconds:el,use12Hours:bn});Ve.current={onUpDown:function(Ii){var ci=co[Ye];if(ci)for(var ji=ci.units.findIndex(function(zl){return zl.value===ci.value}),al=ci.units.length,Ai=1;Ai<al;Ai+=1){var tl=ci.units[(ji+Ii*Ai+al)%al];if(tl.disabled!==!0){ci.onSelect(tl.value);break}}}};function gl(Eo,Ii,ci,ji,al){Eo!==!1&&co.push({node:ae.cloneElement(Ii,{prefixCls:qr,value:ci,active:Ye===co.length,onSelect:al,units:ji,hideDisabledOptions:Xa}),onSelect:al,value:ci,units:ji})}gl(Dt,ae.createElement(Za,{key:"hour",type:"hour",info:{today:Do,locale:ja,cellRender:Ja}}),$o,Bi,function(Eo){tr(Ji(bo,Eo,vi,Ho),"mouse")}),gl(an,ae.createElement(Za,{key:"minute",type:"minute",info:{today:Do,locale:ja,cellRender:Ja}}),vi,Ui,function(Eo){tr(Ji(bo,$o,Eo,Ho),"mouse")}),gl(un,ae.createElement(Za,{key:"second",type:"second",info:{today:Do,locale:ja,cellRender:Ja}}),Ho,el,function(Eo){tr(Ji(bo,$o,vi,Eo),"mouse")});var Fl=-1;return typeof bo=="boolean"&&(Fl=bo?1:0),gl(bn===!0,ae.createElement(Za,{key:"meridiem",type:"meridiem",info:{today:Do,locale:ja,cellRender:Ja}}),Fl,[{label:"AM",value:0,disabled:Wi},{label:"PM",value:1,disabled:di}],function(Eo){tr(Ji(!!Eo,$o,vi,Ho),"mouse")}),ae.createElement("div",{className:kr},co.map(function(Eo){var Ii=Eo.node;return Ii}))}var fr=io,wo=function(fe){return fe.filter(function(Ee){return Ee!==!1}).length};function So(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,an=se.showHour,un=se.showMinute,bn=se.showSecond,xa=se.use12Hours,Bn=xa===void 0?!1:xa,On=se.onSelect,aa=se.value,ia="".concat(Ye,"-time-panel"),sn=ae.useRef(),Dn=ae.useState(-1),ca=(0,jt.Z)(Dn,2),Va=ca[0],_a=ca[1],Xa=wo([an,un,bn,Bn]);return Dt.current={onKeyDown:function(Ja){return Gt(Ja,{onLeftRight:function(co){_a((Va+co+Xa)%Xa)},onUpDown:function(co){Va===-1?_a(0):sn.current&&sn.current.onUpDown(co)},onEnter:function(){On(aa||fe.getNow(),"key"),_a(-1)}})},onBlur:function(){_a(-1)}},ae.createElement("div",{className:mt()(ia,(0,ct.Z)({},"".concat(ia,"-active"),Rt))},ae.createElement(Br,(0,re.Z)({},se,{format:Ve,prefixCls:Ye})),ae.createElement(fr,(0,re.Z)({},se,{prefixCls:Ye,activeColumnIndex:Va,operationRef:sn})))}var Ro=So,Ni=_n("date","time");function qo(se){var fe=se.prefixCls,Ee=se.operationRef,Ve=se.generateConfig,Ye=se.value,Rt=se.defaultValue,Dt=se.disabledTime,an=se.showTime,un=se.onSelect,bn=se.cellRender,xa="".concat(fe,"-datetime-panel"),Bn=ae.useState(null),On=(0,jt.Z)(Bn,2),aa=On[0],ia=On[1],sn=ae.useRef({}),Dn=ae.useRef({}),ca=(0,xt.Z)(an)==="object"?(0,Ft.Z)({},an):{};function Va(Ja){var ja=Ni.indexOf(aa)+Ja,co=Ni[ja]||null;return co}var _a=function(ja){Dn.current.onBlur&&Dn.current.onBlur(ja),ia(null)};Ee.current={onKeyDown:function(ja){if(ja.which===Pt.Z.TAB){var co=Va(ja.shiftKey?-1:1);return ia(co),co&&ja.preventDefault(),!0}if(aa){var kr=aa==="date"?sn:Dn;return kr.current&&kr.current.onKeyDown&&kr.current.onKeyDown(ja),!0}return[Pt.Z.LEFT,Pt.Z.RIGHT,Pt.Z.UP,Pt.Z.DOWN].includes(ja.which)?(ia("date"),!0):!1},onBlur:_a,onClose:_a};var Xa=function(ja,co){var kr=ja;co==="date"&&!Ye&&ca.defaultValue?(kr=Ve.setHour(kr,Ve.getHour(ca.defaultValue)),kr=Ve.setMinute(kr,Ve.getMinute(ca.defaultValue)),kr=Ve.setSecond(kr,Ve.getSecond(ca.defaultValue))):co==="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()(xa,(0,ct.Z)({},"".concat(xa,"-active"),aa))},ae.createElement(zo,(0,re.Z)({},se,{cellRender:bn,operationRef:sn,active:aa==="date",onSelect:function(ja){Xa(Jt(Ve,ja,!Ye&&(0,xt.Z)(an)==="object"?an.defaultValue:null),"date")}})),ae.createElement(Ro,(0,re.Z)({},se,{cellRender:bn?function(Ja,ja){return bn(Ja,(0,Ft.Z)((0,Ft.Z)({},ja),{},{type:"time"}))}:void 0,format:void 0},ca,tr,{disabledTime:null,defaultValue:void 0,operationRef:Dn,active:aa==="time",onSelect:function(ja){Xa(ja,"time")}})))}var ul=qo;function Yi(se){var fe=se.prefixCls,Ee=se.generateConfig,Ve=se.viewDate,Ye=se.onPrevDecades,Rt=se.onNextDecades,Dt=ae.useContext(Bt),an=Dt.hideHeader;if(an)return null;var un="".concat(fe,"-header"),bn=Ee.getYear(Ve),xa=Math.floor(bn/at)*at,Bn=xa+at-1;return ae.createElement(Ha,(0,re.Z)({},se,{prefixCls:un,onSuperPrev:Ye,onSuperNext:Rt}),xa,"-",Bn)}var kn=Yi,wa=3,lo=4;function Go(se){var fe=Mn-1,Ee=se.prefixCls,Ve=se.viewDate,Ye=se.generateConfig,Rt=se.cellRender,Dt=se.locale,an="".concat(Ee,"-cell"),un=Ye.getYear(Ve),bn=Math.floor(un/Mn)*Mn,xa=Math.floor(un/at)*at,Bn=xa+at-1,On=Ye.setYear(Ve,xa-Math.ceil((wa*lo*Mn-at)/2)),aa=function(Dn){var ca,Va=Ye.getYear(Dn),_a=Va+fe;return ca={},(0,ct.Z)(ca,"".concat(an,"-in-view"),xa<=Va&&_a<=Bn),(0,ct.Z)(ca,"".concat(an,"-selected"),Va===bn),ca},ia=Rt?function(sn,Dn){return Rt(sn,{originNode:Dn,today:Ye.getNow(),type:"decade",locale:Dt})}:void 0;return ae.createElement(jn,(0,re.Z)({},se,{rowNum:lo,colNum:wa,baseDate:On,getCellNode:ia,getCellText:function(Dn){var ca=Ye.getYear(Dn);return"".concat(ca,"-").concat(ca+fe)},getCellClassName:aa,getCellDate:function(Dn,ca){return Ye.addYear(Dn,ca*Mn)}}))}var xi=Go;function wi(se){var fe=se.prefixCls,Ee=se.onViewDateChange,Ve=se.generateConfig,Ye=se.viewDate,Rt=se.operationRef,Dt=se.onSelect,an=se.onPanelChange,un="".concat(fe,"-decade-panel");Rt.current={onKeyDown:function(On){return Gt(On,{onLeftRight:function(ia){Dt(Ve.addYear(Ye,ia*Mn),"key")},onCtrlLeftRight:function(ia){Dt(Ve.addYear(Ye,ia*at),"key")},onUpDown:function(ia){Dt(Ve.addYear(Ye,ia*Mn*wa),"key")},onEnter:function(){an("year",Ye)}})}};var bn=function(On){var aa=Ve.addYear(Ye,On*at);Ee(aa),an(null,aa)},xa=function(On){Dt(On,"mouse"),an("year",On)};return ae.createElement("div",{className:un},ae.createElement(kn,(0,re.Z)({},se,{prefixCls:fe,onPrevDecades:function(){bn(-1)},onNextDecades:function(){bn(1)}})),ae.createElement(xi,(0,re.Z)({},se,{prefixCls:fe,onSelect:xa})))}var si=wi;function zi(se){var fe=se.prefixCls,Ee=se.generateConfig,Ve=se.locale,Ye=se.viewDate,Rt=se.onNextYear,Dt=se.onPrevYear,an=se.onYearClick,un=ae.useContext(Bt),bn=un.hideHeader;if(bn)return null;var xa="".concat(fe,"-header");return ae.createElement(Ha,(0,re.Z)({},se,{prefixCls:xa,onSuperPrev:Dt,onSuperNext:Rt}),ae.createElement("button",{type:"button",onClick:an,className:"".concat(fe,"-year-btn")},je(Ye,{locale:Ve,format:Ve.yearFormat,generateConfig:Ee})))}var jr=zi,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,an=ae.useContext(ur),un=an.rangedValue,bn=an.hoverRangedValue,xa="".concat(fe,"-cell"),Bn=mo({cellPrefixCls:xa,value:Ve,generateConfig:Rt,rangedValue:un,hoverRangedValue:bn,isSameCell:function(Dn,ca){return Ot(Rt,Dn,ca)},isInView:function(){return!0},offsetCell:function(Dn,ca){return Rt.addMonth(Dn,ca)}}),On=Ee.shortMonths||(Rt.locale.getShortMonths?Rt.locale.getShortMonths(Ee.locale):[]),aa=Rt.setMonth(Ye,0),ia=Dt?function(sn,Dn){return Dt(sn,{originNode:Dn,locale:Ee,today:Rt.getNow(),type:"month"})}:void 0;return ae.createElement(jn,(0,re.Z)({},se,{rowNum:Pe,colNum:ce,baseDate:aa,getCellNode:ia,getCellText:function(Dn){return Ee.monthFormat?je(Dn,{locale:Ee,format:Ee.monthFormat,generateConfig:Rt}):On[Rt.getMonth(Dn)]},getCellClassName:Bn,getCellDate:Rt.addMonth,titleCell:function(Dn){return je(Dn,{locale:Ee,format:"YYYY-MM",generateConfig:Rt})}}))}var Se=Oe;function Je(se){var fe=se.prefixCls,Ee=se.operationRef,Ve=se.onViewDateChange,Ye=se.generateConfig,Rt=se.value,Dt=se.viewDate,an=se.onPanelChange,un=se.onSelect,bn="".concat(fe,"-month-panel");Ee.current={onKeyDown:function(On){return Gt(On,{onLeftRight:function(ia){un(Ye.addMonth(Rt||Dt,ia),"key")},onCtrlLeftRight:function(ia){un(Ye.addYear(Rt||Dt,ia),"key")},onUpDown:function(ia){un(Ye.addMonth(Rt||Dt,ia*ce),"key")},onEnter:function(){an("date",Rt||Dt)}})}};var xa=function(On){var aa=Ye.addYear(Dt,On);Ve(aa),an(null,aa)};return ae.createElement("div",{className:bn},ae.createElement(jr,(0,re.Z)({},se,{prefixCls:fe,onPrevYear:function(){xa(-1)},onNextYear:function(){xa(1)},onYearClick:function(){an("year",Dt)}})),ae.createElement(Se,(0,re.Z)({},se,{prefixCls:fe,onSelect:function(On){un(On,"mouse"),an("date",On)}})))}var ot=Je;function wt(se){var fe=se.prefixCls,Ee=se.generateConfig,Ve=se.locale,Ye=se.viewDate,Rt=se.onNextYear,Dt=se.onPrevYear,an=se.onYearClick,un=ae.useContext(Bt),bn=un.hideHeader;if(bn)return null;var xa="".concat(fe,"-header");return ae.createElement(Ha,(0,re.Z)({},se,{prefixCls:xa,onSuperPrev:Dt,onSuperNext:Rt}),ae.createElement("button",{type:"button",onClick:an,className:"".concat(fe,"-year-btn")},je(Ye,{locale:Ve,format:Ve.yearFormat,generateConfig:Ee})))}var tt=wt,it=4,ht=1;function nn(se){var fe=se.prefixCls,Ee=se.locale,Ve=se.value,Ye=se.viewDate,Rt=se.generateConfig,Dt=se.cellRender,an=ae.useContext(ur),un=an.rangedValue,bn=an.hoverRangedValue,xa="".concat(fe,"-cell"),Bn=mo({cellPrefixCls:xa,value:Ve,generateConfig:Rt,rangedValue:un,hoverRangedValue:bn,isSameCell:function(sn,Dn){return Qt(Rt,sn,Dn)},isInView:function(){return!0},offsetCell:function(sn,Dn){return Rt.addMonth(sn,Dn*3)}}),On=Rt.setDate(Rt.setMonth(Ye,0),1),aa=Dt?function(ia,sn){return Dt(ia,{originNode:sn,locale:Ee,today:Rt.getNow(),type:"quarter"})}:void 0;return ae.createElement(jn,(0,re.Z)({},se,{rowNum:ht,colNum:it,baseDate:On,getCellNode:aa,getCellText:function(sn){return je(sn,{locale:Ee,format:Ee.quarterFormat||"[Q]Q",generateConfig:Rt})},getCellClassName:Bn,getCellDate:function(sn,Dn){return Rt.addMonth(sn,Dn*3)},titleCell:function(sn){return je(sn,{locale:Ee,format:"YYYY-[Q]Q",generateConfig:Rt})}}))}var fn=nn;function $n(se){var fe=se.prefixCls,Ee=se.operationRef,Ve=se.onViewDateChange,Ye=se.generateConfig,Rt=se.value,Dt=se.viewDate,an=se.onPanelChange,un=se.onSelect,bn="".concat(fe,"-quarter-panel");Ee.current={onKeyDown:function(On){return Gt(On,{onLeftRight:function(ia){un(Ye.addMonth(Rt||Dt,ia*3),"key")},onCtrlLeftRight:function(ia){un(Ye.addYear(Rt||Dt,ia),"key")},onUpDown:function(ia){un(Ye.addYear(Rt||Dt,ia),"key")}})}};var xa=function(On){var aa=Ye.addYear(Dt,On);Ve(aa),an(null,aa)};return ae.createElement("div",{className:bn},ae.createElement(tt,(0,re.Z)({},se,{prefixCls:fe,onPrevYear:function(){xa(-1)},onNextYear:function(){xa(1)},onYearClick:function(){an("year",Dt)}})),ae.createElement(fn,(0,re.Z)({},se,{prefixCls:fe,onSelect:function(On){un(On,"mouse")}})))}var In=$n;function Aa(se){var fe=se.prefixCls,Ee=se.generateConfig,Ve=se.locale,Ye=se.value,Rt=se.disabledDate,Dt=se.onSelect,an=ae.useContext(ur),un=an.rangedValue,bn=an.hoverRangedValue,xa=ae.useContext(Bt),Bn=xa.onDateMouseEnter,On=xa.onDateMouseLeave,aa=(bn==null?void 0:bn[0])||(un==null?void 0:un[0]),ia=(bn==null?void 0:bn[1])||(un==null?void 0:un[1]),sn="".concat(fe,"-cell"),Dn=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&&On&&On(Xa)}},ae.createElement("div",{className:"".concat(sn,"-inner")},Ee.locale.getWeek(Ve.locale,Xa)))},ca="".concat(fe,"-week-panel-row"),Va=function(Xa){var tr,Ja=Xt(Ee,Ve.locale,aa,Xa),ja=Xt(Ee,Ve.locale,ia,Xa);return mt()(ca,(tr={},(0,ct.Z)(tr,"".concat(ca,"-selected"),!un&&Xt(Ee,Ve.locale,Ye,Xa)),(0,ct.Z)(tr,"".concat(ca,"-range-start"),Ja),(0,ct.Z)(tr,"".concat(ca,"-range-end"),ja),(0,ct.Z)(tr,"".concat(ca,"-range-hover"),!Ja&&!ja&&Re(Ee,aa,ia,Xa)),tr))};return ae.createElement(zo,(0,re.Z)({},se,{panelName:"week",prefixColumn:Dn,rowClassName:Va,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var va=Aa,Fa=10;function Wn(se){var fe=se.prefixCls,Ee=se.generateConfig,Ve=se.viewDate,Ye=se.onPrevDecade,Rt=se.onNextDecade,Dt=se.onDecadeClick,an=ae.useContext(Bt),un=an.hideHeader;if(un)return null;var bn="".concat(fe,"-header"),xa=Ee.getYear(Ve),Bn=Math.floor(xa/Fa)*Fa,On=Bn+Fa-1;return ae.createElement(Ha,(0,re.Z)({},se,{prefixCls:bn,onSuperPrev:Ye,onSuperNext:Rt}),ae.createElement("button",{type:"button",onClick:Dt,className:"".concat(fe,"-decade-btn")},Bn,"-",On))}var Cn=Wn,on=3,yn=4;function An(se){var fe=se.prefixCls,Ee=se.value,Ve=se.viewDate,Ye=se.locale,Rt=se.generateConfig,Dt=se.cellRender,an=ae.useContext(ur),un=an.rangedValue,bn=an.hoverRangedValue,xa="".concat(fe,"-cell"),Bn=Rt.getYear(Ve),On=Math.floor(Bn/Fa)*Fa,aa=On+Fa-1,ia=Rt.setYear(Ve,On-Math.ceil((on*yn-Fa)/2)),sn=Rt.getNow(),Dn=function(Xa){var tr=Rt.getYear(Xa);return On<=tr&&tr<=aa},ca=mo({cellPrefixCls:xa,value:Ee,generateConfig:Rt,rangedValue:un,hoverRangedValue:bn,isSameCell:function(Xa,tr){return Et(Rt,Xa,tr)},isInView:Dn,offsetCell:function(Xa,tr){return Rt.addYear(Xa,tr)}}),Va=Dt?function(_a,Xa){return Dt(_a,{originNode:Xa,today:sn,type:"year",locale:Ye})}:void 0;return ae.createElement(jn,(0,re.Z)({},se,{rowNum:yn,colNum:on,baseDate:ia,getCellNode:Va,getCellText:Rt.getYear,getCellClassName:ca,getCellDate:Rt.addYear,titleCell:function(Xa){return je(Xa,{locale:Ye,format:"YYYY",generateConfig:Rt})}}))}var ea=An;function za(se){var fe=se.prefixCls,Ee=se.operationRef,Ve=se.onViewDateChange,Ye=se.generateConfig,Rt=se.value,Dt=se.viewDate,an=se.sourceMode,un=se.onSelect,bn=se.onPanelChange,xa="".concat(fe,"-year-panel");Ee.current={onKeyDown:function(aa){return Gt(aa,{onLeftRight:function(sn){un(Ye.addYear(Rt||Dt,sn),"key")},onCtrlLeftRight:function(sn){un(Ye.addYear(Rt||Dt,sn*Fa),"key")},onUpDown:function(sn){un(Ye.addYear(Rt||Dt,sn*on),"key")},onEnter:function(){bn(an==="date"?"date":"month",Rt||Dt)}})}};var Bn=function(aa){var ia=Ye.addYear(Dt,aa*10);Ve(ia),bn(null,ia)};return ae.createElement("div",{className:xa},ae.createElement(Cn,(0,re.Z)({},se,{prefixCls:fe,onPrevDecade:function(){Bn(-1)},onNextDecade:function(){Bn(1)},onDecadeClick:function(){bn("decade",Dt)}})),ae.createElement(ea,(0,re.Z)({},se,{prefixCls:fe,onSelect:function(aa){bn(an==="date"?"date":"month",aa),un(aa,"mouse")}})))}var Ba=za;function qn(se,fe,Ee){return Ee?ae.createElement("div",{className:"".concat(se,"-footer-extra")},Ee(fe)):null}function Ea(se){var fe=se.prefixCls,Ee=se.components,Ve=Ee===void 0?{}:Ee,Ye=se.needConfirmButton,Rt=se.onNow,Dt=se.onOk,an=se.okDisabled,un=se.showNow,bn=se.locale,xa,Bn;if(Ye){var On=Ve.button||"button";Rt&&un!==!1&&(xa=ae.createElement("li",{className:"".concat(fe,"-now")},ae.createElement("a",{className:"".concat(fe,"-now-btn"),onClick:Rt},bn.now))),Bn=Ye&&ae.createElement("li",{className:"".concat(fe,"-ok")},ae.createElement(On,{disabled:an,onClick:Dt},bn.ok))}return!xa&&!Bn?null:ae.createElement("ul",{className:"".concat(fe,"-ranges")},xa,Bn)}var Ma=["date","month"];function La(se){var fe,Ee=se,Ve=Ee.prefixCls,Ye=Ve===void 0?"rc-picker":Ve,Rt=Ee.className,Dt=Ee.style,an=Ee.locale,un=Ee.generateConfig,bn=Ee.value,xa=Ee.defaultValue,Bn=Ee.pickerValue,On=Ee.defaultPickerValue,aa=Ee.disabledDate,ia=Ee.mode,sn=Ee.picker,Dn=sn===void 0?"date":sn,ca=Ee.tabIndex,Va=ca===void 0?0:ca,_a=Ee.showNow,Xa=Ee.showTime,tr=Ee.showToday,Ja=Ee.renderExtraFooter,ja=Ee.hideHeader,co=Ee.onSelect,kr=Ee.onChange,qr=Ee.onPanelChange,bo=Ee.onMouseDown,_o=Ee.onPickerValueChange,$o=Ee.onOk,vi=Ee.components,Ho=Ee.direction,Do=Ee.hourStep,Ao=Do===void 0?1:Do,Yo=Ee.minuteStep,ti=Yo===void 0?1:Yo,ko=Ee.secondStep,ni=ko===void 0?1:ko,Mi=Ee.dateRender,Ei=Ee.monthCellRender,Xi=Ee.cellRender,Di=Dn==="date"&&!!Xa||Dn==="time",Wi=24%Ao===0,di=60%ti===0,Bi=60%ni===0,Ui=ae.useContext(Bt),el=Ui.operationRef,Ji=Ui.onSelect,gl=Ui.hideRanges,Fl=Ui.defaultOpenValue,Eo=ae.useContext(ur),Ii=Eo.inRange,ci=Eo.panelPosition,ji=Eo.rangedValue,al=Eo.hoverRangedValue,Ai=ae.useRef({}),tl=ae.useRef(!0),zl=(0,_e.Z)(null,{value:bn,defaultValue:xa,postState:function(dr){return!dr&&Fl&&Dn==="time"?Fl:dr}}),Hl=(0,jt.Z)(zl,2),ml=Hl[0],uu=Hl[1],pu=(0,_e.Z)(null,{value:Bn,defaultValue:On||ml,postState:function(dr){var Co=un.getNow();if(!dr)return Co;if(!ml&&Xa){var Jo=(0,xt.Z)(Xa)==="object"?Xa.defaultValue:xa;return Jt(un,Array.isArray(dr)?dr[0]:dr,Jo||Co)}return Array.isArray(dr)?dr[0]:dr}}),su=(0,jt.Z)(pu,2),fl=su[0],Il=su[1],Dl=function(dr){Il(dr),_o&&_o(dr)},du=function(dr){var Co=Hn[Dn];return Co?Co(dr):dr},ru=(0,_e.Z)(function(){return Dn==="time"?"time":du("date")},{value:ia}),Al=(0,jt.Z)(ru,2),Ti=Al[0],yl=Al[1];ae.useEffect(function(){yl(Dn)},[Dn]);var Ql=ae.useState(function(){return Ti}),_l=(0,jt.Z)(Ql,2),Bl=_l[0],Ll=_l[1],Wl=function(dr,Co){var Jo=du(dr||Ti);Ll(Ti),yl(Jo),qr&&(Ti!==Jo||$e(un,fl,fl))&&qr(Co,Jo)},$i=function(dr,Co){var Jo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(Ti===Dn||Jo)&&(uu(dr),co&&co(dr),Ji&&Ji(dr,Co),kr&&!$e(un,dr,ml)&&!(aa!=null&&aa(dr))&&kr(dr))},El=function(dr){if(Ma.includes(Ti)){var Co,Jo,Tl=Ti==="date";switch(dr===Pt.Z.PAGE_UP||dr===Pt.Z.PAGE_DOWN?Jo=Tl?un.addMonth:un.addYear:Jo=Tl?un.addDate:un.addMonth,dr){case Pt.Z.LEFT:case Pt.Z.PAGE_UP:Co=Jo(fl,-1);break;case Pt.Z.RIGHT:case Pt.Z.PAGE_DOWN:Co=Jo(fl,1);break;case Pt.Z.UP:case Pt.Z.DOWN:Co=Jo(fl,Number("".concat(dr===Pt.Z.UP?"-":"").concat(Tl?ut:ce)));break}if(Co)return!(aa!=null&&aa(Co))}return!0},Xl=function(dr){if(Ai.current&&Ai.current.onKeyDown){var Co=!0,Jo=dr.which;if([Pt.Z.LEFT,Pt.Z.RIGHT,Pt.Z.UP,Pt.Z.DOWN,Pt.Z.PAGE_UP,Pt.Z.PAGE_DOWN,Pt.Z.ENTER].includes(Jo)&&(dr.preventDefault(),Jo!==Pt.Z.ENTER&&Va===0&&(Co=El(Jo))),Co)return Ai.current.onKeyDown(dr)}return(0,pe.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},Vi=function(dr){Ai.current&&Ai.current.onBlur&&Ai.current.onBlur(dr)};el&&ci!=="right"&&(el.current={onKeyDown:Xl,onClose:function(){Ai.current&&Ai.current.onClose&&Ai.current.onClose()}}),ae.useEffect(function(){bn&&!tl.current&&Il(bn)},[bn]),ae.useEffect(function(){tl.current=!1},[]);var Cl,Jl=Tn({cellRender:Xi,monthCellRender:Ei,dateRender:Mi}),ai=(0,Ft.Z)((0,Ft.Z)({},se),{},{cellRender:Jl,operationRef:Ai,prefixCls:Ye,viewDate:fl,value:ml,onViewDateChange:Dl,sourceMode:Bl,onPanelChange:Wl,disabledDate:aa});switch(delete ai.onChange,delete ai.onSelect,Ti){case"decade":Cl=ae.createElement(si,(0,re.Z)({},ai,{onSelect:function(dr,Co){Dl(dr),$i(dr,Co)}}));break;case"year":Cl=ae.createElement(Ba,(0,re.Z)({},ai,{onSelect:function(dr,Co){Dl(dr),$i(dr,Co)}}));break;case"month":Cl=ae.createElement(ot,(0,re.Z)({},ai,{onSelect:function(dr,Co){Dl(dr),$i(dr,Co)}}));break;case"quarter":Cl=ae.createElement(In,(0,re.Z)({},ai,{onSelect:function(dr,Co){Dl(dr),$i(dr,Co)}}));break;case"week":Cl=ae.createElement(va,(0,re.Z)({},ai,{onSelect:function(dr,Co){Dl(dr),$i(dr,Co)}}));break;case"time":delete ai.showTime,Cl=ae.createElement(Ro,(0,re.Z)({},ai,(0,xt.Z)(Xa)==="object"?Xa:null,{onSelect:function(dr,Co){Dl(dr),$i(dr,Co)}}));break;default:Xa?Cl=ae.createElement(ul,(0,re.Z)({},ai,{onSelect:function(dr,Co){Dl(dr),$i(dr,Co)}})):Cl=ae.createElement(zo,(0,re.Z)({},ai,{onSelect:function(dr,Co){Dl(dr),$i(dr,Co)}}))}var ql,Nl,jl=function(){var dr=un.getNow(),Co=Ut(un.getHour(dr),un.getMinute(dr),un.getSecond(dr),Wi?Ao:1,di?ti:1,Bi?ni:1),Jo=pt(un,dr,Co[0],Co[1],Co[2]);$i(Jo,"submit")};gl||(ql=qn(Ye,Ti,Ja),Xa&&Ti!=="date"?Nl=null:Nl=Ea({prefixCls:Ye,components:vi,needConfirmButton:Di,okDisabled:!ml||aa&&aa(ml),locale:an,showNow:_a,onNow:Di&&jl,onOk:function(){ml&&($i(ml,"submit",!0),$o&&$o(ml))}}));var cu;if(tr&&Ti==="date"&&Dn==="date"&&!Xa){var eu=un.getNow(),hu="".concat(Ye,"-today-btn"),ou=aa&&aa(eu);cu=ae.createElement("a",{className:mt()(hu,ou&&"".concat(hu,"-disabled")),"aria-disabled":ou,onClick:function(){ou||$i(eu,"mouse",!0)}},an.today)}return ae.createElement(Bt.Provider,{value:(0,Ft.Z)((0,Ft.Z)({},Ui),{},{mode:Ti,hideHeader:"hideHeader"in se?ja:Ui.hideHeader,hidePrevBtn:Ii&&ci==="right",hideNextBtn:Ii&&ci==="left"})},ae.createElement("div",{tabIndex:Va,className:mt()("".concat(Ye,"-panel"),Rt,(fe={},(0,ct.Z)(fe,"".concat(Ye,"-panel-has-range"),ji&&ji[0]&&ji[1]),(0,ct.Z)(fe,"".concat(Ye,"-panel-has-range-hover"),al&&al[0]&&al[1]),(0,ct.Z)(fe,"".concat(Ye,"-panel-rtl"),Ho==="rtl"),fe)),style:Dt,onKeyDown:Xl,onBlur:Vi,onMouseDown:bo},Cl,ql||Nl||cu?ae.createElement("div",{className:"".concat(Ye,"-footer")},ql,Nl,cu):null))}var er=La,Sr=ee(62709),eo={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 Lo(se){var fe,Ee=se.prefixCls,Ve=se.popupElement,Ye=se.popupStyle,Rt=se.visible,Dt=se.dropdownClassName,an=se.dropdownAlign,un=se.transitionName,bn=se.getPopupContainer,xa=se.children,Bn=se.range,On=se.popupPlacement,aa=se.direction,ia="".concat(Ee,"-dropdown"),sn=function(){return On!==void 0?On:aa==="rtl"?"bottomRight":"bottomLeft"};return ae.createElement(Sr.Z,{showAction:[],hideAction:[],popupPlacement:sn(),builtinPlacements:eo,prefixCls:ia,popupTransitionName:un,popup:Ve,popupAlign:an,popupVisible:Rt,popupClassName:mt()(Dt,(fe={},(0,ct.Z)(fe,"".concat(ia,"-range"),Bn),(0,ct.Z)(fe,"".concat(ia,"-rtl"),aa==="rtl"),fe)),popupStyle:Ye,getPopupContainer:bn},xa)}var ga=Lo;function ii(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 an=Rt.label,un=Rt.value;return ae.createElement("li",{key:Dt,onClick:function(){return Ve==null?void 0:Ve(Vr(un))},onMouseEnter:function(){return Ye==null?void 0:Ye(Vr(un))},onMouseLeave:function(){return Ye==null?void 0:Ye(null)}},an)}))):null}function ei(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 Fo(se,fe,Ee){var Ve=(0,xt.Z)(fe)==="object"?fe.clearIcon:Ee;return Ve||ae.createElement("span",{className:"".concat(se,"-clear-btn")})}function dl(se){var fe,Ee=se,Ve=Ee.prefixCls,Ye=Ve===void 0?"rc-picker":Ve,Rt=Ee.id,Dt=Ee.name,an=Ee.tabIndex,un=Ee.style,bn=Ee.className,xa=Ee.dropdownClassName,Bn=Ee.dropdownAlign,On=Ee.popupStyle,aa=Ee.transitionName,ia=Ee.generateConfig,sn=Ee.locale,Dn=Ee.inputReadOnly,ca=Ee.allowClear,Va=Ee.autoFocus,_a=Ee.showTime,Xa=Ee.picker,tr=Xa===void 0?"date":Xa,Ja=Ee.format,ja=Ee.use12Hours,co=Ee.value,kr=Ee.defaultValue,qr=Ee.presets,bo=Ee.open,_o=Ee.defaultOpen,$o=Ee.defaultOpenValue,vi=Ee.suffixIcon,Ho=Ee.clearIcon,Do=Ee.disabled,Ao=Ee.disabledDate,Yo=Ee.placeholder,ti=Ee.getPopupContainer,ko=Ee.pickerRef,ni=Ee.panelRender,Mi=Ee.onChange,Ei=Ee.onOpenChange,Xi=Ee.onFocus,Di=Ee.onBlur,Wi=Ee.onMouseDown,di=Ee.onMouseUp,Bi=Ee.onMouseEnter,Ui=Ee.onMouseLeave,el=Ee.onContextMenu,Ji=Ee.onClick,gl=Ee.onKeyDown,Fl=Ee.onSelect,Eo=Ee.direction,Ii=Ee.autoComplete,ci=Ii===void 0?"off":Ii,ji=Ee.inputRender,al=Ee.changeOnBlur,Ai=ae.useRef(null),tl=tr==="date"&&!!_a||tr==="time",zl=Pr(qr),Hl=Qr(mn(Ja,tr,_a,ja)),ml=ae.useRef(null),uu=ae.useRef(null),pu=ae.useRef(null),su=(0,_e.Z)(null,{value:co,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],Ti=ru[1],yl=ae.useRef(null),Ql=(0,_e.Z)(!1,{value:bo,defaultValue:_o,postState:function(hn){return Do?!1:hn},onChange:function(hn){Ei&&Ei(hn),!hn&&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:ia,locale:sn}),$i=(0,jt.Z)(Wl,2),El=$i[0],Xl=$i[1],Vi=Na({valueTexts:El,onTextChange:function(hn){var Sa=Ht(hn,{locale:sn,formatList:Hl,generateConfig:ia});Sa&&(!Ao||!Ao(Sa))&&Ti(Sa)}}),Cl=(0,jt.Z)(Vi,3),Jl=Cl[0],ai=Cl[1],ql=Cl[2],Nl=function(hn){Ti(hn),Dl(hn),Mi&&!$e(ia,Il,hn)&&Mi(hn,hn?je(hn,{generateConfig:ia,locale:sn,format:Hl[0]}):"")},jl=function(hn){Do&&hn||Ll(hn)},cu=function(hn){return Bl&&yl.current&&yl.current.onKeyDown?yl.current.onKeyDown(hn):((0,pe.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},eu=function(){for(var hn=arguments.length,Sa=new Array(hn),la=0;la<hn;la++)Sa[la]=arguments[la];Ji==null||Ji.apply(void 0,Sa),Ai.current&&(Ai.current.focus(),jl(!0))},hu=function(hn){al&&Nl(Al),Di==null||Di(hn)},ou=Ta({blurToCancel:tl,open:Bl,value:Jl,triggerOpen:jl,forwardKeyDown:cu,isClickOutside:function(hn){return!Oa([ml.current,uu.current,pu.current],hn)},onSubmit:function(){return!Al||Ao&&Ao(Al)?!1:(Nl(Al),jl(!1),ql(),!0)},onCancel:function(){jl(!1),Ti(Il),ql()},onKeyDown:function(hn,Sa){gl==null||gl(hn,Sa)},onFocus:Xi,onBlur:hu,changeOnBlur:al}),to=(0,jt.Z)(ou,2),dr=to[0],Co=to[1],Jo=Co.focused,Tl=Co.typing;ae.useEffect(function(){Bl||(Ti(Il),!El.length||El[0]===""?ai(""):Xl!==Jl&&ql())},[Bl,El]),ae.useEffect(function(){Bl||ql()},[tr]),ae.useEffect(function(){Ti(Il)},[Il]),ko&&(ko.current={focus:function(){var hn;(hn=Ai.current)===null||hn===void 0||hn.focus()},blur:function(){var hn;(hn=Ai.current)===null||hn===void 0||hn.blur()}});var wu=Ct(Jl,{formatList:Hl,generateConfig:ia,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(ii,{prefixCls:Ye,presets:zl,onClick:function(hn){Nl(hn),jl(!1)}}),ae.createElement(er,(0,re.Z)({},Ze,{generateConfig:ia,className:mt()((0,ct.Z)({},"".concat(Ye,"-panel-focused"),!Tl)),value:Al,locale:sn,tabIndex:-1,onSelect:function(hn){Fl==null||Fl(hn),Ti(hn)},direction:Eo,onPanelChange:function(hn,Sa){var la=se.onPanelChange;Ie(!0),la==null||la(hn,Sa)}})));ni&&(nt=ni(nt));var vt=ae.createElement("div",{className:"".concat(Ye,"-panel-container"),ref:ml,onMouseDown:function(hn){hn.preventDefault()}},nt),It;vi&&(It=ae.createElement("span",{className:"".concat(Ye,"-suffix"),onMouseDown:function(hn){hn.preventDefault()}},vi));var Mt=Fo(Ye,ca,Ho),Wt=ae.createElement("span",{onMouseDown:function(hn){hn.preventDefault(),hn.stopPropagation()},onMouseUp:function(hn){hn.preventDefault(),hn.stopPropagation(),Nl(null),jl(!1)},className:"".concat(Ye,"-clear"),role:"button"},Mt),gn=!!ca&&Il&&!Do,Yt=(0,Ft.Z)((0,Ft.Z)((0,Ft.Z)({id:Rt,tabIndex:an,disabled:Do,readOnly:Dn||typeof Hl[0]=="function"||!Tl,value:ge||Jl,onChange:function(hn){ai(hn.target.value)},autoFocus:Va,placeholder:Yo,ref:Ai,title:Jl},dr),{},{size:Qn(tr,Hl[0],ia),name:Dt},(0,Sn.Z)(se,{aria:!0,data:!0})),{},{autoComplete:ci}),Zn=ji?ji(Yt):ae.createElement("input",Yt),zn=function(hn,Sa){(Sa==="submit"||Sa!=="key"&&!tl)&&(Nl(hn),jl(!1))},Gn=Eo==="rtl"?"bottomRight":"bottomLeft";return ae.createElement(Bt.Provider,{value:{operationRef:yl,hideHeader:tr==="time",onSelect:zn,open:Bl,defaultOpenValue:$o,onDateMouseEnter:Fe,onDateMouseLeave:Ie}},ae.createElement(ga,{visible:Bl,popupElement:vt,popupStyle:On,prefixCls:Ye,dropdownClassName:xa,dropdownAlign:Bn,getPopupContainer:ti,transitionName:aa,popupPlacement:Gn,direction:Eo},ae.createElement("div",{ref:pu,className:mt()(Ye,bn,(fe={},(0,ct.Z)(fe,"".concat(Ye,"-disabled"),Do),(0,ct.Z)(fe,"".concat(Ye,"-focused"),Jo),(0,ct.Z)(fe,"".concat(Ye,"-rtl"),Eo==="rtl"),fe)),style:un,onMouseDown:Wi,onMouseUp:di,onMouseEnter:Bi,onMouseLeave:Ui,onContextMenu:el,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 Hi=function(se){(0,yt.Z)(Ee,se);var fe=(0,Lt.Z)(Ee);function Ee(){var Ve;(0,Vt.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(dl,(0,re.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),Ee}(ae.Component),pi=Hi;function Fi(se,fe){var Ee=se.picker,Ve=se.locale,Ye=se.selectedValue,Rt=se.disabledDate,Dt=se.disabled,an=se.generateConfig,un=Ra(Ye,0),bn=Ra(Ye,1);function xa(sn){return an.locale.getWeekFirstDate(Ve.locale,sn)}function Bn(sn){var Dn=an.getYear(sn),ca=an.getMonth(sn);return Dn*100+ca}function On(sn){var Dn=an.getYear(sn),ca=gt(an,sn);return Dn*10+ca}var aa=ae.useCallback(function(sn){if(Dt[0]||Rt&&Rt(sn))return!0;if(Dt[1]&&bn)return!bt(an,sn,bn)&&an.isAfter(sn,bn);if(!fe&&bn)switch(Ee){case"quarter":return On(sn)>On(bn);case"month":return Bn(sn)>Bn(bn);case"week":return xa(sn)>xa(bn);default:return!bt(an,sn,bn)&&an.isAfter(sn,bn)}return!1},[Rt,Dt[1],bn,fe]),ia=ae.useCallback(function(sn){if(Dt[1]||Rt&&Rt(sn))return!0;if(Dt[0]&&un)return!bt(an,sn,bn)&&an.isAfter(un,sn);if(!fe&&un)switch(Ee){case"quarter":return On(sn)<On(un);case"month":return Bn(sn)<Bn(un);case"week":return xa(sn)<xa(un);default:return!bt(an,sn,un)&&an.isAfter(un,sn)}return!1},[Rt,Dt[0],un,fe]);return[aa,ia]}var Qi=ee(60276),Xo=ee(77527);function cl(se,fe,Ee,Ve,Ye,Rt,Dt,an,un,bn){var xa=ae.useState(!1),Bn=(0,jt.Z)(xa,2),On=Bn[0],aa=Bn[1],ia=(0,Qi.useMergedState)(se||!1,{value:fe}),sn=(0,jt.Z)(ia,2),Dn=sn[0],ca=sn[1],Va=(0,Qi.useMergedState)(se||!1,{value:fe,onChange:function(Ao){bn==null||bn(Ao)}}),_a=(0,jt.Z)(Va,2),Xa=_a[0],tr=_a[1],Ja=(0,Qi.useMergedState)(0,{value:Ee}),ja=(0,jt.Z)(Ja,2),co=ja[0],kr=ja[1],qr=ae.useState(null),bo=(0,jt.Z)(qr,2),_o=bo[0],$o=bo[1];ae.useEffect(function(){Xa&&aa(!0)},[Xa]);var vi=function(Ao){return Ao===0?1:0},Ho=(0,Xo.Z)(function(Do,Ao,Yo){if(Ao===!1)tr(Do);else if(Do){kr(Ao),tr(Do);var ti=vi(Ao);!Xa||![Dt,an][ti]?$o(ti):(aa(!1),_o!==null&&$o(null))}else if(Yo==="confirm"||Yo==="blur"&&Ve){var ko=Dn?vi(Ao):_o;ko!==null&&(aa(!1),kr(ko)),$o(null),ko!==null&&!un[ko]?(0,Zt.Z)(function(){var ni,Mi=[Ye,Rt][ko];(ni=Mi.current)===null||ni===void 0||ni.focus()}):tr(!1)}else tr(!1),ca(!1)});return[Xa,co,On,Ho]}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,an){return At(Ve,Dt,an)});case"quarter":case"month":return Rt(function(Dt,an){return Et(Ve,Dt,an)});default:return Rt(function(Dt,an){return Ot(Ve,Dt,an)})}}function kt(se,fe,Ee,Ve){var Ye=Ra(se,0),Rt=Ra(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[Ra(Ve,0),Ra(Ve,1)]}),Dt=(0,jt.Z)(Rt,2),an=Dt[0],un=Dt[1],bn=ae.useState(null),xa=(0,jt.Z)(bn,2),Bn=xa[0],On=xa[1],aa=Ra(fe,0),ia=Ra(fe,1);function sn(ca){return an[ca]?an[ca]:Ra(Bn,ca)||kt(fe,ca,Ee,Ye)||aa||ia||Ye.getNow()}function Dn(ca,Va){if(ca){var _a=br(Bn,ca,Va);un(br(an,null,Va)||[null,null]);var Xa=(Va+1)%2;Ra(fe,Xa)||(_a=br(_a,ca,Xa)),On(_a)}else(aa||ia)&&On(null)}return[sn,Dn]}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 Ia(se){var fe,Ee,Ve,Ye=se,Rt=Ye.prefixCls,Dt=Rt===void 0?"rc-picker":Rt,an=Ye.id,un=Ye.style,bn=Ye.className,xa=Ye.popupStyle,Bn=Ye.dropdownClassName,On=Ye.transitionName,aa=Ye.dropdownAlign,ia=Ye.getPopupContainer,sn=Ye.generateConfig,Dn=Ye.locale,ca=Ye.placeholder,Va=Ye.autoFocus,_a=Ye.disabled,Xa=Ye.format,tr=Ye.picker,Ja=tr===void 0?"date":tr,ja=Ye.showTime,co=Ye.use12Hours,kr=Ye.separator,qr=kr===void 0?"~":kr,bo=Ye.value,_o=Ye.defaultValue,$o=Ye.defaultPickerValue,vi=Ye.open,Ho=Ye.defaultOpen,Do=Ye.disabledDate,Ao=Ye.disabledTime,Yo=Ye.dateRender,ti=Ye.monthCellRender,ko=Ye.cellRender,ni=Ye.panelRender,Mi=Ye.presets,Ei=Ye.ranges,Xi=Ye.allowEmpty,Di=Ye.allowClear,Wi=Ye.suffixIcon,di=Ye.clearIcon,Bi=Ye.pickerRef,Ui=Ye.inputReadOnly,el=Ye.mode,Ji=Ye.renderExtraFooter,gl=Ye.onChange,Fl=Ye.onOpenChange,Eo=Ye.onPanelChange,Ii=Ye.onCalendarChange,ci=Ye.onFocus,ji=Ye.onBlur,al=Ye.onMouseDown,Ai=Ye.onMouseUp,tl=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"&&!!ja||Ja==="time",Ti=(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),$i=(0,ae.useRef)(null),El=Qr(mn(Xa,Ja,ja,co)),Xl=(0,ae.useRef)(null),Vi=ae.useMemo(function(){return Array.isArray(_a)?_a:[_a||!1,_a||!1]},[_a]),Cl=(0,_e.Z)(null,{value:bo,defaultValue:_o,postState:function(Cr){return Ja==="time"&&!su?Cr:Da(Cr,sn)}}),Jl=(0,jt.Z)(Cl,2),ai=Jl[0],ql=Jl[1],Nl=zt({values:ai,picker:Ja,defaultDates:$o,generateConfig:sn}),jl=(0,jt.Z)(Nl,2),cu=jl[0],eu=jl[1],hu=(0,_e.Z)(ai,{postState:function(Cr){var Ur=Cr;if(Vi[0]&&Vi[1])return Ur;for(var Io=0;Io<2;Io+=1)Vi[Io]&&!Ur&&!Ra(Ur,Io)&&!Ra(Xi,Io)&&(Ur=br(Ur,sn.getNow(),Io));return Ur}}),ou=(0,jt.Z)(hu,2),to=ou[0],dr=ou[1],Co=(0,_e.Z)([Ja,Ja],{value:el}),Jo=(0,jt.Z)(Co,2),Tl=Jo[0],wu=Jo[1];(0,ae.useEffect)(function(){wu([Ja,Ja])},[Ja]);var ue=function(Cr,Ur){wu(Cr),Eo&&Eo(Ur,Cr)},ge=cl(Ho,vi,Il,ru,Ll,Wl,Ra(to,0),Ra(to,1),Vi,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=Fi({picker:Ja,selectedValue:to,locale:Dn,disabled:Vi,disabledDate:Do,generateConfig:sn},!Ie||nt),gn=(0,jt.Z)(Wt,2),Yt=gn[0],Zn=gn[1],zn=(0,ae.useState)(0),Gn=(0,jt.Z)(zn,2),ta=Gn[0],hn=Gn[1];(0,ae.useEffect)(function(){!Ie&&Ti.current&&hn(Ti.current.offsetWidth)},[Ie]);function Sa(Zo){vt(!0,Zo,"open"),(0,Zt.Z)(function(){var Cr,Ur=[Ll,Wl][Zo];(Cr=Ur.current)===null||Cr===void 0||Cr.focus()},0)}function la(Zo,Cr){var Ur=Zo,Io=Ra(Ur,0),Ci=Ra(Ur,1);Io&&Ci&&sn.isAfter(Io,Ci)&&(Ja==="week"&&!Xt(sn,Dn.locale,Io,Ci)||Ja==="quarter"&&!Qt(sn,Io,Ci)||Ja!=="week"&&Ja!=="quarter"&&Ja!=="time"&&!bt(sn,Io,Ci)?Cr===0?(Ur=[Io,null],Ci=null):(Io=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:Dn,format:El[0]}):"",kl=Ur&&Ur[1]?je(Ur[1],{generateConfig:sn,locale:Dn,format:El[0]}):"";if(Ii){var au={range:Cr===0?"start":"end"};Ii(Ur,[Pu,kl],au)}var lu=ar(Io,0,Vi,Xi),bu=ar(Ci,1,Vi,Xi),fu=Ur===null||lu&&bu;fu&&(ql(Ur),gl&&(!$e(sn,Ra(ai,0),Io)||!$e(sn,Ra(ai,1),Ci))&&gl(Ur,[Pu,kl]))}var Ga=function(Cr){return Ie&&Xl.current&&Xl.current.onKeyDown?Xl.current.onKeyDown(Cr):((0,pe.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},gr={formatList:El,generateConfig:sn,locale:Dn},yr=Ue(Ra(to,0),gr),nr=(0,jt.Z)(yr,2),Or=nr[0],Xr=nr[1],Ya=Ue(Ra(to,1),gr),or=(0,jt.Z)(Ya,2),$a=or[0],Ka=or[1],qa=function(Cr,Ur){var Io=Ht(Cr,{locale:Dn,formatList:El,generateConfig:sn}),Ci=Ur===0?Yt:Zn;Io&&!Ci(Io)&&(dr(br(to,Io,Ur)),eu(Io,Ur))},Rr=Na({valueTexts:Or,onTextChange:function(Cr){return qa(Cr,0)}}),no=(0,jt.Z)(Rr,3),_r=no[0],xr=no[1],ao=no[2],ho=Na({valueTexts:$a,onTextChange:function(Cr){return qa(Cr,1)}}),Vo=(0,jt.Z)(ho,3),xo=Vo[0],Si=Vo[1],Pi=Vo[2],Jr=(0,ae.useState)(null),Li=(0,jt.Z)(Jr,2),Mo=Li[0],gi=Li[1],li=(0,ae.useState)(null),pl=(0,jt.Z)(li,2),Er=pl[0],Dr=pl[1],Ar=Ct(_r,{formatList:El,generateConfig:sn,locale:Dn}),hr=(0,jt.Z)(Ar,3),Oo=hr[0],vr=hr[1],Wr=hr[2],Bo=Ct(xo,{formatList:El,generateConfig:sn,locale:Dn}),vo=(0,jt.Z)(Bo,3),rl=vo[0],nl=vo[1],Ol=vo[2],Ri=function(Cr){Dr(br(to,Cr,Ze)),Ze===0?vr(Cr):nl(Cr)},Rl=function(){Dr(br(to,null,Ze)),Ze===0?Wr():Ol()},ki=ae.useState(Ie),hl=(0,jt.Z)(ki,2),gu=hl[0],jo=hl[1];ae.useEffect(function(){jo(Ie)},[Ie]);var Wo=function(Cr){if(ru&&gu){var Ur=Ra(to,Ze);Ur&&la(to,Ze)}return ji==null?void 0:ji(Cr)},mi=function(Cr,Ur){return{blurToCancel:!ru&&Al,forwardKeyDown:Ga,onBlur:Wo,isClickOutside:function(Ci){return!Oa([yl.current,Ql.current,_l.current,Ti.current],Ci)},onFocus:function(Ci){ci&&ci(Ci)},triggerOpen:function(Ci){Ci?vt(Ci,Cr,"open"):vt(Ci,Ra(to,Cr)?Cr:!1,"blur")},onSubmit:function(){if(!to||Do&&Do(to[Cr]))return!1;la(to,Cr),Ur(),vt(!1,Ze,"confirm")},onCancel:function(){vt(!1,Cr,"cancel"),dr(ai),Ur()}}},Zi={onKeyDown:function(Cr,Ur){uu==null||uu(Cr,Ur)},changeOnBlur:ru},Gi=Ta((0,Ft.Z)((0,Ft.Z)({},mi(0,ao)),{},{open:It,value:_r},Zi)),fo=(0,jt.Z)(Gi,2),vl=fo[0],ol=fo[1],bl=ol.focused,Gl=ol.typing,Kl=Ta((0,Ft.Z)((0,Ft.Z)({},mi(1,Pi)),{},{open:Mt,value:xo},Zi)),vu=(0,jt.Z)(Kl,2),tu=vu[0],Ml=vu[1],Sl=Ml.focused,sl=Ml.typing,Ki=function(Cr){Hl&&Hl(Cr),!Ie&&!Ll.current.contains(Cr.target)&&!Wl.current.contains(Cr.target)&&(Vi[0]?Vi[1]||Sa(1):Sa(0))},yi=function(Cr){al&&al(Cr),Ie&&(bl||Sl)&&!Ll.current.contains(Cr.target)&&!Wl.current.contains(Cr.target)&&Cr.preventDefault()},Ul=ai&&ai[0]?je(ai[0],{locale:Dn,format:"YYYYMMDDHHmmss",generateConfig:sn}):"",mu=ai&&ai[1]?je(ai[1],{locale:Dn,format:"YYYYMMDDHHmmss",generateConfig:sn}):"";(0,ae.useEffect)(function(){Ie||(dr(ai),!Or.length||Or[0]===""?xr(""):Xr!==_r&&ao(),!$a.length||$a[0]===""?Si(""):Ka!==xo&&Pi())},[Ie,Or,$a]),(0,ae.useEffect)(function(){dr(ai)},[Ul,mu]);var $l=Tn({cellRender:ko,monthCellRender:ti,dateRender:Yo}),Vl=ae.useMemo(function(){if($l)return function(Zo,Cr){return $l(Zo,(0,Ft.Z)((0,Ft.Z)({},Cr),{},{range:Ze?"end":"start"}))}},[Ze,$l]);Bi&&(Bi.current={focus:function(){Ll.current&&Ll.current.focus()},blur:function(){Ll.current&&Ll.current.blur(),Wl.current&&Wl.current.blur()}});var Fu=Pr(Mi,Ei);function Cu(){var Zo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Cr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ur=null;Ie&&Er&&Er[0]&&Er[1]&&sn.isAfter(Er[1],Er[0])&&(Ur=Er);var Io=ja;if(ja&&(0,xt.Z)(ja)==="object"&&ja.defaultValue){var Ci=ja.defaultValue;Io=(0,Ft.Z)((0,Ft.Z)({},ja),{},{defaultValue:Ra(Ci,Ze)||void 0})}return ae.createElement(ur.Provider,{value:{inRange:!0,panelPosition:Zo,rangedValue:Mo||to,hoverRangedValue:Ur}},ae.createElement(er,(0,re.Z)({},se,Cr,{cellRender:Vl,showTime:Io,mode:Tl[Ze],generateConfig:sn,style:void 0,direction:fl,disabledDate:Ze===0?Yt: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:!sl)),value:Ra(to,Ze),locale:Dn,tabIndex:-1,onPanelChange:function(kl,au){Ze===0&&Wr(!0),Ze===1&&Ol(!0),ue(br(Tl,au,Ze),br(to,kl,Ze));var lu=kl;Zo==="right"&&Tl[Ze]===au&&(lu=xe(lu,au,sn,-1)),eu(lu,Ze)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Ze===0?Ra(to,1):Ra(to,0)})))}var ro=0,ri=0;if(Ze&&Ql.current&&Bl.current&&yl.current&&$i.current){ro=Ql.current.offsetWidth+Bl.current.offsetWidth;var il=$i.current.offsetLeft>ro?$i.current.offsetLeft-ro:$i.current.offsetLeft,fi=yl.current.offsetWidth,ll=$i.current.offsetWidth;fi&&ll&&ro>fi-ll-(fl==="rtl"?0:il)&&(ri=ro)}var xl=fl==="rtl"?{right:ro}:{left:ro};function wl(){var Zo,Cr=qn(Dt,Tl[Ze],Ji),Ur=Ea({prefixCls:Dt,components:pu,needConfirmButton:Al,okDisabled:!Ra(to,Ze)||Do&&Do(to[Ze]),locale:Dn,onOk:function(){var Zl=Ra(to,Ze);Zl&&(la(to,Ze),ml==null||ml(to),vt(!1,Ze,"confirm"))}});if(Ja!=="time"&&!ja){var Io=cu(Ze),Ci=xe(Io,Ja,sn),Pu=Tl[Ze],kl=Pu===Ja,au=Cu(kl?"left":!1,{pickerValue:Io,onPickerValueChange:function(Zl){eu(Zl,Ze)}}),lu=Cu("right",{pickerValue:Ci,onPickerValueChange:function(Zl){eu(xe(Zl,Ja,sn,-1),Ze)}});fl==="rtl"?Zo=ae.createElement(ae.Fragment,null,lu,kl&&au):Zo=ae.createElement(ae.Fragment,null,au,kl&&lu)}else Zo=Cu();var bu=ae.createElement("div",{className:"".concat(Dt,"-panel-layout")},ae.createElement(ii,{prefixCls:Dt,presets:Fu,onClick:function(Zl){la(Zl,null),vt(!1,Ze,"preset")},onHover:function(Zl){gi(Zl)}}),ae.createElement("div",null,ae.createElement("div",{className:"".concat(Dt,"-panels")},Zo),(Cr||Ur)&&ae.createElement("div",{className:"".concat(Dt,"-footer")},Cr,Ur)));return ni&&(bu=ni(bu)),ae.createElement("div",{className:"".concat(Dt,"-panel-container"),style:{marginLeft:ri},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:ta}},ae.createElement("div",{ref:$i,className:"".concat(Dt,"-range-arrow"),style:xl}),wl()),Du;Wi&&(Du=ae.createElement("span",{className:"".concat(Dt,"-suffix"),onMouseDown:function(Cr){Cr.preventDefault()}},Wi));var Tu=Fo(Dt,Di,di),Bu=ae.createElement("span",{onMouseDown:function(Cr){Cr.preventDefault(),Cr.stopPropagation()},onMouseUp:function(Cr){Cr.preventDefault(),Cr.stopPropagation();var Ur=ai;Vi[0]||(Ur=br(Ur,null,0)),Vi[1]||(Ur=br(Ur,null,1)),la(Ur,null),vt(!1,Ze,"clear")},className:"".concat(Dt,"-clear"),role:"button"},Tu),Ru=Di&&(Ra(ai,0)&&!Vi[0]||Ra(ai,1)&&!Vi[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=ro,iu=_l.current.offsetWidth));var Lu=fl==="rtl"?{right:Su}:{left:Su},ku=function(Cr,Ur){var Io=br(to,Cr,Ze);if(Ur==="submit"||Ur!=="key"&&!Al){la(Io,Ze),Ze===0?Wr():Ol();var Ci=Ze===0?1:0;Vi[Ci]?vt(!1,!1,"confirm"):vt(!1,Ze,"confirm")}else dr(Io)};return ae.createElement(Bt.Provider,{value:{operationRef:Xl,hideHeader:Ja==="time",onDateMouseEnter:Ri,onDateMouseLeave:Rl,hideRanges:!0,onSelect:ku,open:Ie}},ae.createElement(ga,{visible:Ie,popupElement:nu,popupStyle:xa,prefixCls:Dt,dropdownClassName:Bn,dropdownAlign:aa,getPopupContainer:ia,transitionName:On,range:!0,direction:fl},ae.createElement("div",(0,re.Z)({ref:Ti,className:mt()(Dt,"".concat(Dt,"-range"),bn,(fe={},(0,ct.Z)(fe,"".concat(Dt,"-disabled"),Vi[0]&&Vi[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:Ki,onMouseEnter:tl,onMouseLeave:zl,onMouseDown:yi,onMouseUp:Ai},(0,Sn.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"),!!Oo),Ee)),ref:Ql},ae.createElement("input",(0,re.Z)({id:an,disabled:Vi[0],readOnly:Ui||typeof El[0]=="function"||!Gl,value:Oo||_r,onChange:function(Cr){xr(Cr.target.value)},autoFocus:Va,placeholder:Ra(ca,0)||"",ref:Ll},vl,Au,{autoComplete:du}))),ae.createElement("div",{className:"".concat(Dt,"-range-separator"),ref:Bl},qr),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"),!!rl),Ve)),ref:_l},ae.createElement("input",(0,re.Z)({disabled:Vi[1],readOnly:Ui||typeof El[0]=="function"||!sl,value:rl||xo,onChange:function(Cr){Si(Cr.target.value)},placeholder:Ra(ca,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 Rn=function(se){(0,yt.Z)(Ee,se);var fe=(0,Lt.Z)(Ee);function Ee(){var Ve;(0,Vt.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(Ia,(0,re.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),Ee}(ae.Component),Qa=Rn,En=pi,ba=ee(9708),Pa=ee(53124),Gr=ee(98866),Wa=ee(98675),Ko=ee(65223),uo=ee(10110),Po=ee(4173),cr=ee(16516),sr=ee(84780),Vn=ee(47673),Ir=ee(14747),oi=ee(79511),ka=ee(80110),ya=ee(67771),Yr=ee(33297),Oi=ee(45503),Jn=ee(67968);const pr=(se,fe,Ee,Ve)=>{const{lineHeight:Ye}=se,Rt=Math.floor(Ee*Ye)+2,Dt=Math.max((fe-Rt)/2,0),an=Math.max(fe-Rt-Dt,0);return{padding:`${Dt}px ${Ve}px ${an}px`}},Ca=se=>{const{componentCls:fe,pickerCellCls:Ee,pickerCellInnerCls:Ve,cellHeight:Ye,motionDurationSlow:Rt,borderRadiusSM:Dt,motionDurationMid:an,cellHoverBg:un,lineWidth:bn,lineType:xa,colorPrimary:Bn,cellActiveWithRangeBg:On,colorTextLightSolid:aa,controlHeightSM:ia,cellRangeBorderColor:sn,pickerCellBorderGap:Dn,cellHoverWithRangeBg:ca,cellWidth:Va,colorTextDisabled:_a,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 ${an}, border ${an}`},"&-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:`${bn}px ${xa} ${Bn}`,borderRadius:Dt,content:'""'}},[`&-in-view${Ee}-in-range`]:{position:"relative","&::before":{background:On}},[`&-in-view${Ee}-selected ${Ve},
|
|
&-in-view${Ee}-range-start ${Ve},
|
|
&-in-view${Ee}-range-end ${Ve}`]:{color:aa,background:Bn},[`&-in-view${Ee}-range-start:not(${Ee}-range-start-single),
|
|
&-in-view${Ee}-range-end:not(${Ee}-range-end-single)`]:{"&::before":{background:On}},[`&-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:ia,borderTop:`${bn}px dashed ${sn}`,borderBottom:`${bn}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:Dn},[`&-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:ca},[`&-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:`${bn}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:`${bn}px dashed ${sn}`,borderStartEndRadius:Dt,borderEndEndRadius:Dt},"&-disabled":{color:_a,pointerEvents:"none",[Ve]:{background:"transparent"},"&::before":{background:Xa}},[`&-disabled${Ee}-today ${Ve}::before`]:{borderColor:_a}}},ln=se=>{const{componentCls:fe,pickerCellCls:Ee,pickerCellInnerCls:Ve,pickerYearMonthCellWidth:Ye,pickerControlIconSize:Rt,cellWidth:Dt,paddingSM:an,paddingXS:un,paddingXXS:bn,colorBgContainer:xa,lineWidth:Bn,lineType:On,borderRadiusLG:aa,colorPrimary:ia,colorTextHeading:sn,colorSplit:Dn,pickerControlIconBorderWidth:ca,colorIcon:Va,textHeight:_a,motionDurationMid:Xa,colorIconHover:tr,fontWeightStrong:Ja,cellHeight:ja,pickerCellPaddingVertical:co,colorTextDisabled:kr,colorText:qr,fontSize:bo,cellHoverWithRangeBg:_o,motionDurationSlow:$o,withoutTimeCellHeight:vi,pickerQuarterPanelContentHeight:Ho,colorLink:Do,colorLinkActive:Ao,colorLinkHover:Yo,cellRangeBorderColor:ti,borderRadiusSM:ko,colorTextLightSolid:ni,cellHoverBg:Mi,timeColumnHeight:Ei,timeColumnWidth:Xi,timeCellHeight:Di,controlItemBgActive:Wi,marginXXS:di,pickerDatePanelPaddingHorizontal:Bi}=se,Ui=Dt*7+Bi*2,el=(Ui-un*2)/3-Ye-an,Ji=(Ui-un*2)/4-Ye;return{[fe]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:xa,border:`${Bn}px ${On} ${Dn}`,borderRadius:aa,outline:"none","&-focused":{borderColor:ia},"&-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:Ui},"&-header":{display:"flex",padding:`0 ${un}px`,color:sn,borderBottom:`${Bn}px ${On} ${Dn}`,"> *":{flex:"none"},button:{padding:0,color:Va,lineHeight:`${_a}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${Xa}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:bo,"&:hover":{color:tr}},"&-view":{flex:"auto",fontWeight:Ja,lineHeight:`${_a}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:un},"&:hover":{color:ia}}}},"&-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:ca,borderBlockEndWidth:0,borderInlineStartWidth:ca,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:ca,borderBlockEndWidth:0,borderInlineStartWidth:ca,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:ja,fontWeight:"normal"},th:{height:ja+co*2,color:qr,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${co}px 0`,color:kr,cursor:"pointer","&-in-view":{color:qr}},Ca(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:_o,transition:`all ${$o}`,content:'""'}},[`&-date-panel
|
|
${fe}-cell-in-view${fe}-cell-in-range${fe}-cell-range-hover-start
|
|
${Ve}::after`]:{insetInlineEnd:-(Dt-ja)/2,insetInlineStart:0},[`&-date-panel ${fe}-cell-in-view${fe}-cell-in-range${fe}-cell-range-hover-end ${Ve}::after`]:{insetInlineEnd:0,insetInlineStart:-(Dt-ja)/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:Ho},[`${fe}-cell-range-hover-start::after`]:{insetInlineStart:Ji,borderInlineStart:`${Bn}px dashed ${ti}`,[`${fe}-panel-rtl &`]:{insetInlineEnd:Ji,borderInlineEnd:`${Bn}px dashed ${ti}`}},[`${fe}-cell-range-hover-end::after`]:{insetInlineEnd:Ji,borderInlineEnd:`${Bn}px dashed ${ti}`,[`${fe}-panel-rtl &`]:{insetInlineStart:Ji,borderInlineStart:`${Bn}px dashed ${ti}`}}},[`&-panel ${fe}-footer`]:{borderTop:`${Bn}px ${On} ${Dn}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${_a-2*Bn}px`,textAlign:"center","&-extra":{padding:`0 ${an}px`,lineHeight:`${_a-2*Bn}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${Bn}px ${On} ${Dn}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:Do,"&:hover":{color:Yo},"&: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:ko,borderEndStartRadius:ko,borderStartEndRadius:0,borderEndEndRadius:0,[`${fe}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:ko,borderEndEndRadius:ko}},[`${fe}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:ko,borderEndEndRadius:ko,[`${fe}-panel-rtl &`]:{borderStartStartRadius:ko,borderEndStartRadius:ko,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${fe}-cell-range-hover-start::after`]:{insetInlineStart:el,borderInlineStart:`${Bn}px dashed ${ti}`,[`${fe}-panel-rtl &`]:{insetInlineEnd:el,borderInlineEnd:`${Bn}px dashed ${ti}`}},[`${fe}-cell-range-hover-end::after`]:{insetInlineEnd:el,borderInlineEnd:`${Bn}px dashed ${ti}`,[`${fe}-panel-rtl &`]:{insetInlineStart:el,borderInlineStart:`${Bn}px dashed ${ti}`}}},"&-week-panel":{[`${fe}-body`]:{padding:`${un}px ${an}px`},[`${fe}-cell`]:{[`&:hover ${Ve},
|
|
&-selected ${Ve},
|
|
${Ve}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Xa}`},"&:first-child:before":{borderStartStartRadius:ko,borderEndStartRadius:ko},"&:last-child:before":{borderStartEndRadius:ko,borderEndEndRadius:ko}},"&:hover td":{"&:before":{background:Mi}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${Ee}`]:{"&:before":{background:ia},[`&${fe}-cell-week`]:{color:new sr.C(ni).setAlpha(.5).toHexString()},[Ve]:{color:ni}}},"&-range-hover td:before":{background:Wi}}},"&-date-panel":{[`${fe}-body`]:{padding:`${un}px ${Bi}px`},[`${fe}-content`]:{width:Dt*7,th:{width:Dt,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${fe}-time-panel`]:{borderInlineStart:`${Bn}px ${On} ${Dn}`},[`${fe}-date-panel,
|
|
${fe}-time-panel`]:{transition:`opacity ${$o}`},"&-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:Xi,margin:`${bn}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Xa}`,overflowX:"hidden","&::after":{display:"block",height:Ei-Di,content:'""'},"&:not(:first-child)":{borderInlineStart:`${Bn}px ${On} ${Dn}`},"&-active":{background:new sr.C(Wi).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${fe}-time-panel-cell`]:{marginInline:di,[`${fe}-time-panel-cell-inner`]:{display:"block",width:Xi-2*di,height:Di,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(Xi-Di)/2,color:qr,lineHeight:`${Di}px`,borderRadius:ko,cursor:"pointer",transition:`background ${Xa}`,"&:hover":{background:Mi}},"&-selected":{[`${fe}-time-panel-cell-inner`]:{background:Wi}},"&-disabled":{[`${fe}-time-panel-cell-inner`]:{color:kr,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${fe}-time-panel-column:after`]:{height:Ei-Di+bn*2}}}},ma=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,Vn.M1)((0,Oi.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,Vn.M1)((0,Oi.TS)(se,{activeBorderColor:Rt,activeShadow:Dt}))),[`${fe}-active-bar`]:{background:Rt}}}}},Fn=se=>{const{componentCls:fe,antCls:Ee,controlHeight:Ve,fontSize:Ye,paddingInline:Rt,colorBgContainer:Dt,lineWidth:an,lineType:un,colorBorder:bn,borderRadius:xa,motionDurationMid:Bn,colorBgContainerDisabled:On,colorTextDisabled:aa,colorTextPlaceholder:ia,controlHeightLG:sn,fontSizeLG:Dn,controlHeightSM:ca,paddingInlineSM:Va,paddingXS:_a,marginXS:Xa,colorTextDescription:tr,lineWidthBold:Ja,lineHeight:ja,colorPrimary:co,motionDurationSlow:kr,zIndexPopup:qr,paddingXXS:bo,paddingSM:_o,textHeight:$o,cellActiveWithRangeBg:vi,colorPrimaryBorder:Ho,sizePopupArrow:Do,borderRadiusXS:Ao,borderRadiusOuter:Yo,colorBgElevated:ti,borderRadiusLG:ko,boxShadowSecondary:ni,borderRadiusSM:Mi,colorSplit:Ei,cellHoverBg:Xi,presetsWidth:Di,presetsMaxWidth:Wi,boxShadowPopoverArrow:di,colorTextQuaternary:Bi}=se;return[{[fe]:Object.assign(Object.assign(Object.assign({},(0,Ir.Wf)(se)),pr(se,Ve,Ye,Rt)),{position:"relative",display:"inline-flex",alignItems:"center",background:Dt,lineHeight:1,border:`${an}px ${un} ${bn}`,borderRadius:xa,transition:`border ${Bn}, box-shadow ${Bn}`,"&:hover, &-focused":Object.assign({},(0,Vn.pU)(se)),"&-focused":Object.assign({},(0,Vn.M1)(se)),[`&${fe}-disabled`]:{background:On,borderColor:bn,cursor:"not-allowed",[`${fe}-suffix`]:{color:Bi}},[`&${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,Vn.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:ia}}},"&-large":Object.assign(Object.assign({},pr(se,sn,Dn,Rt)),{[`${fe}-input > input`]:{fontSize:Dn}}),"&-small":Object.assign({},pr(se,ca,Ye,Va)),[`${fe}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:_a/2,color:aa,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Xa}}},[`${fe}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:aa,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:Dn,color:aa,fontSize:Dn,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:-an,height:Ja,marginInlineStart:Rt,background:co,opacity:0,transition:`all ${kr} ease-out`,pointerEvents:"none"},[`&${fe}-focused`]:{[`${fe}-active-bar`]:{opacity:1}},[`${fe}-range-separator`]:{alignItems:"center",padding:`0 ${_a}px`,lineHeight:1},[`&${fe}-small`]:{[`${fe}-clear`]:{insetInlineEnd:Va},[`${fe}-active-bar`]:{marginInlineStart:Va}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,Ir.Wf)(se)),ln(se)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:qr,[`&${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:ya.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:ya.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:ya.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:ya.Uw},[`${fe}-panel > ${fe}-time-panel`]:{paddingTop:bo},[`${fe}-ranges`]:{marginBottom:0,padding:`${bo}px ${_o}px`,overflow:"hidden",lineHeight:`${$o-2*an-_a/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${fe}-preset > ${Ee}-tag-blue`]:{color:co,background:vi,borderColor:Ho,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,oi.r)(Do,Ao,Yo,ti,di)),[`${fe}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:ti,borderRadius:ko,boxShadow:ni,transition:`margin ${kr}`,[`${fe}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${fe}-presets`]:{display:"flex",flexDirection:"column",minWidth:Di,maxWidth:Wi,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:_a,borderInlineEnd:`${an}px ${un} ${Ei}`,li:Object.assign(Object.assign({},Ir.vS),{borderRadius:Mi,paddingInline:_a,paddingBlock:(ca-Math.round(Ye*ja))/2,cursor:"pointer",transition:`all ${kr}`,"+ li":{marginTop:Xa},"&:hover":{background:Xi}})}},[`${fe}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${fe}-panel`]:{borderWidth:`0 0 ${an}px`},"&:last-child":{[`${fe}-panel`]:{borderWidth:0}}},[`${fe}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${fe}-content,
|
|
table`]:{textAlign:"center"},"&-focused":{borderColor:bn}}}}),"&-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,ya.oN)(se,"slide-up"),(0,ya.oN)(se,"slide-down"),(0,Yr.Fm)(se,"move-up"),(0,Yr.Fm)(se,"move-down")]},$r=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}},wr=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 Lr=(0,Jn.Z)("DatePicker",se=>{const fe=(0,Oi.TS)((0,Vn.e5)(se),$r(se));return[Fn(fe),ma(fe),(0,ka.c)(se,{focusElCls:`${se.componentCls}-focused`})]},se=>Object.assign(Object.assign(Object.assign({},(0,Vn.TM)(se)),wr(se)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:se.zIndexPopupBase+50}));function so(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 Fr(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 po(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 Nr(se){const{format:fe,picker:Ee,showHour:Ve,showMinute:Ye,showSecond:Rt,use12Hours:Dt}=se,an=lr(fe)[0],un=Object.assign({},se);return fe&&Array.isArray(fe)&&(un.format=an),an&&typeof an=="string"&&(!an.includes("s")&&Rt===void 0&&(un.showSecond=!1),!an.includes("m")&&Ye===void 0&&(un.showMinute=!1),!an.includes("H")&&!an.includes("h")&&!an.includes("K")&&!an.includes("k")&&Ve===void 0&&(un.showHour=!1),(an.includes("a")||an.includes("A"))&&Dt===void 0&&(un.use12Hours=!0)),Ee==="time"?un:(typeof an=="function"&&delete un.format,{showTime:un})}function yo(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 Uo=ee(71577);function Nn(se){return ae.createElement(Uo.ZP,Object.assign({size:"small",type:"primary"},se))}var rr={button:Nn},na=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 Ua(se){return(0,ae.forwardRef)((Ee,Ve)=>{const{prefixCls:Ye,getPopupContainer:Rt,className:Dt,placement:an,size:un,disabled:bn,bordered:xa=!0,placeholder:Bn,popupClassName:On,dropdownClassName:aa,status:ia,clearIcon:sn,allowClear:Dn,rootClassName:ca}=Ee,Va=na(Ee,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),_a=ae.useRef(null),{getPrefixCls:Xa,direction:tr,getPopupContainer:Ja}=(0,ae.useContext)(Pa.E_),ja=Xa("picker",Ye),{compactSize:co,compactItemClassnames:kr}=(0,Po.ri)(ja,tr),{format:qr,showTime:bo,picker:_o}=Ee,$o=Xa(),[vi,Ho]=Lr(ja),Do=Object.assign(Object.assign({},bo?Nr(Object.assign({format:qr,picker:_o},bo)):{}),_o==="time"?Nr(Object.assign(Object.assign({format:qr},Ee),{picker:_o})):{}),Ao=(0,Wa.Z)(di=>{var Bi;return(Bi=un!=null?un:co)!==null&&Bi!==void 0?Bi:di}),Yo=ae.useContext(Gr.Z),ti=bn!=null?bn:Yo,ko=(0,ae.useContext)(Ko.aM),{hasFeedback:ni,status:Mi,feedbackIcon:Ei}=ko,Xi=ae.createElement(ae.Fragment,null,_o==="time"?ae.createElement(Qe,null):ae.createElement(be,null),ni&&Ei);(0,ae.useImperativeHandle)(Ve,()=>({focus:()=>{var di;return(di=_a.current)===null||di===void 0?void 0:di.focus()},blur:()=>{var di;return(di=_a.current)===null||di===void 0?void 0:di.blur()}}));const[Di]=(0,uo.Z)("Calendar",cr.Z),Wi=Object.assign(Object.assign({},Di),Ee.locale);return vi(ae.createElement(Qa,Object.assign({separator:ae.createElement("span",{"aria-label":"to",className:`${ja}-separator`},ae.createElement(qe,null)),disabled:ti,ref:_a,dropdownAlign:po(tr,an),placeholder:Fr(Wi,_o,Bn),suffixIcon:Xi,prevIcon:ae.createElement("span",{className:`${ja}-prev-icon`}),nextIcon:ae.createElement("span",{className:`${ja}-next-icon`}),superPrevIcon:ae.createElement("span",{className:`${ja}-super-prev-icon`}),superNextIcon:ae.createElement("span",{className:`${ja}-super-next-icon`}),transitionName:`${$o}-slide-up`},Va,Do,{className:mt()({[`${ja}-${Ao}`]:Ao,[`${ja}-borderless`]:!xa},(0,ba.Z)(ja,(0,ba.F)(Mi,ia),ni),Ho,kr,Dt,ca),locale:Wi.lang,prefixCls:ja,getPopupContainer:Rt||Ja,generateConfig:se,components:rr,direction:tr,dropdownClassName:mt()(Ho,On||aa,ca),allowClear:yo(Dn,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 Tr(se){function fe(un,bn){const xa=bn==="TimePicker"?"timePicker":"datePicker",Bn=(0,ae.forwardRef)((On,aa)=>{const{prefixCls:ia,getPopupContainer:sn,style:Dn,className:ca,rootClassName:Va,size:_a,bordered:Xa=!0,placement:tr,placeholder:Ja,popupClassName:ja,dropdownClassName:co,disabled:kr,status:qr,clearIcon:bo,allowClear:_o}=On,$o=Kr(On,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:vi,direction:Ho,getPopupContainer:Do,[xa]:Ao}=(0,ae.useContext)(Pa.E_),Yo=vi("picker",ia),{compactSize:ti,compactItemClassnames:ko}=(0,Po.ri)(Yo,Ho),ni=ae.useRef(null),{format:Mi,showTime:Ei}=On,[Xi,Di]=Lr(Yo);(0,ae.useImperativeHandle)(aa,()=>({focus:()=>{var tl;return(tl=ni.current)===null||tl===void 0?void 0:tl.focus()},blur:()=>{var tl;return(tl=ni.current)===null||tl===void 0?void 0:tl.blur()}}));const Wi={showToday:!0};let di={};un&&(di.picker=un);const Bi=un||On.picker;di=Object.assign(Object.assign(Object.assign({},di),Ei?Nr(Object.assign({format:Mi,picker:Bi},Ei)):{}),Bi==="time"?Nr(Object.assign(Object.assign({format:Mi},On),{picker:Bi})):{});const Ui=vi(),el=(0,Wa.Z)(tl=>{var zl;return(zl=_a!=null?_a:ti)!==null&&zl!==void 0?zl:tl}),Ji=ae.useContext(Gr.Z),gl=kr!=null?kr:Ji,Fl=(0,ae.useContext)(Ko.aM),{hasFeedback:Eo,status:Ii,feedbackIcon:ci}=Fl,ji=ae.createElement(ae.Fragment,null,Bi==="time"?ae.createElement(Qe,null):ae.createElement(be,null),Eo&&ci),[al]=(0,uo.Z)("DatePicker",cr.Z),Ai=Object.assign(Object.assign({},al),On.locale);return Xi(ae.createElement(En,Object.assign({ref:ni,placeholder:so(Ai,Bi,Ja),suffixIcon:ji,dropdownAlign:po(Ho,tr),prevIcon:ae.createElement("span",{className:`${Yo}-prev-icon`}),nextIcon:ae.createElement("span",{className:`${Yo}-next-icon`}),superPrevIcon:ae.createElement("span",{className:`${Yo}-super-prev-icon`}),superNextIcon:ae.createElement("span",{className:`${Yo}-super-next-icon`}),transitionName:`${Ui}-slide-up`},Wi,$o,di,{locale:Ai.lang,className:mt()({[`${Yo}-${el}`]:el,[`${Yo}-borderless`]:!Xa},(0,ba.Z)(Yo,(0,ba.F)(Ii,qr),Eo),Di,ko,Ao==null?void 0:Ao.className,ca,Va),style:Object.assign(Object.assign({},Ao==null?void 0:Ao.style),Dn),prefixCls:Yo,getPopupContainer:sn||Do,generateConfig:se,components:rr,direction:Ho,disabled:gl,dropdownClassName:mt()(Di,Va,ja||co),allowClear:yo(_o,bo,ae.createElement(Le.Z,null))})))});return bn&&(Bn.displayName=bn),Bn}const Ee=fe(),Ve=fe("week","WeekPicker"),Ye=fe("month","MonthPicker"),Rt=fe("year","YearPicker"),Dt=fe("time","TimePicker"),an=fe("quarter","QuarterPicker");return{DatePicker:Ee,WeekPicker:Ve,MonthPicker:Ye,YearPicker:Rt,TimePicker:Dt,QuarterPicker:an}}const No=null;function hi(se){const{DatePicker:fe,WeekPicker:Ee,MonthPicker:Ve,YearPicker:Ye,TimePicker:Rt,QuarterPicker:Dt}=Tr(se),an=Ua(se),un=fe;return un.WeekPicker=Ee,un.MonthPicker=Ve,un.YearPicker=Ye,un.RangePicker=an,un.TimePicker=Rt,un.QuarterPicker=Dt,un}var _i=hi;const qi=_i(te);function Pl(se){const fe=po(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)(qi,"picker",null,Pl);qi._InternalPanelDoNotUseOrYouWillBeFired=xu;const Iu=(0,ne.Z)(qi.RangePicker,"picker",null,Pl);qi._InternalRangePanelDoNotUseOrYouWillBeFired=Iu,qi.generatePicker=_i;var $u=qi},96074:function(ft,st,ee){"use strict";ee.d(st,{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,Qe=!!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`]:Qe,[`${be}-with-text${Ne}`]:Qe,[`${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,st,ee){"use strict";ee.d(st,{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 Qt=React.useRef({});return(!("value"in Qt.current)||gt(Qt.current.condition,Et))&&(Qt.current.value=At(),Qt.current.condition=Et),Qt.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 Qt=Et.filter(function(Ot){return Ot});return Qt.length<=1?Qt[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(Qt,Ot){return Qt.length===Ot.length&&Qt.every(function(bt,rn){return bt===Ot[rn]})})}function y(At){var Et,gt,Qt=(0,ze.isMemo)(At)?At.type.type:At.type;return!(typeof Qt=="function"&&!((Et=Qt.prototype)!==null&&Et!==void 0&&Et.render)||typeof At=="function"&&!((gt=At.prototype)!==null&>!==void 0&>.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&><=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 Qt=ne;function Ot(bt){if(bt===0)ae(Qt),Et();else{var rn=z(function(){Ot(bt-1)});re.set(Qt,rn)}}return Ot(gt),Qt};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,Qt=At.onVisibleChange,Ot=At.autoFocus,bt=At.overlayRef,rn=x.useRef(!1),Xt=function(){if(Et){var xe,je;(xe=gt.current)===null||xe===void 0||(je=xe.focus)===null||je===void 0||je.call(xe),Qt==null||Qt(!1)}},$e=function(){var xe;return(xe=bt.current)!==null&&xe!==void 0&&xe.focus?(bt.current.focus(),rn.current=!0,!0):!1},Re=function(xe){switch(xe.keyCode){case ve:Xt();break;case Ce:{var je=!1;rn.current||(je=$e()),je?xe.preventDefault():Xt();break}}};x.useEffect(function(){return Et?(window.addEventListener("keydown",Re),Ot&&he($e,3),function(){window.removeEventListener("keydown",Re),rn.current=!1}):function(){rn.current=!1}},[Et])}var ye=(0,x.forwardRef)(function(At,Et){var gt=At.overlay,Qt=At.arrow,Ot=At.prefixCls,bt=(0,x.useMemo)(function(){var Xt;return typeof gt=="function"?Xt=gt():Xt=gt,Xt},[gt]),rn=oe(Et,bt==null?void 0:bt.ref);return x.createElement(x.Fragment,null,Qt&&x.createElement("div",{className:"".concat(Ot,"-arrow")}),x.cloneElement(bt,{ref:y(bt)?rn:void 0}))}),Ae=ye,Ne={adjustX:1,adjustY:1},Qe=[0,0],Le={topLeft:{points:["bl","tl"],overflow:Ne,offset:[0,-4],targetOffset:Qe},top:{points:["bc","tc"],overflow:Ne,offset:[0,-4],targetOffset:Qe},topRight:{points:["br","tr"],overflow:Ne,offset:[0,-4],targetOffset:Qe},bottomLeft:{points:["tl","bl"],overflow:Ne,offset:[0,4],targetOffset:Qe},bottom:{points:["tc","bc"],overflow:Ne,offset:[0,4],targetOffset:Qe},bottomRight:{points:["tr","br"],overflow:Ne,offset:[0,4],targetOffset:Qe}},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,Qt=At.arrow,Ot=Qt===void 0?!1:Qt,bt=At.prefixCls,rn=bt===void 0?"rc-dropdown":bt,Xt=At.transitionName,$e=At.animation,Re=At.align,Ln=At.placement,xe=Ln===void 0?"bottomLeft":Ln,je=At.placements,Ht=je===void 0?Ge:je,et=At.getPopupContainer,Ue=At.showAction,Ct=At.hideAction,Pt=At.overlayClassName,Zt=At.overlayStyle,vn=At.visible,Nt=At.trigger,Tt=Nt===void 0?["hover"]:Nt,St=At.autoFocus,en=At.overlay,Gt=At.children,mn=At.onVisibleChange,Qn=(0,We.Z)(At,He),xn=x.useState(),Un=(0,ie.Z)(xn,2),pa=Un[0],Kt=Un[1],$t="visible"in At?vn:pa,qt=x.useRef(null),sa=x.useRef(null),ra=x.useRef(null);x.useImperativeHandle(Et,function(){return qt.current});var Hn=function(Tn){Kt(Tn),mn==null||mn(Tn)};be({visible:$t,triggerRef:ra,onVisibleChange:Hn,autoFocus:St,overlayRef:sa});var Oa=function(Tn){var pn=At.onOverlayClick;Kt(!1),pn&&pn(Tn)},Ta=function(){return x.createElement(Ae,{ref:sa,overlay:en,prefixCls:rn,arrow:Ot})},Pr=function(){return typeof en=="function"?Ta:Ta()},zr=function(){var Tn=At.minOverlayWidthMatchTrigger,pn=At.alignPoint;return"minOverlayWidthMatchTrigger"in At?Tn:!pn},Na=function(){var Tn=At.openClassName;return Tn!==void 0?Tn:"".concat(rn,"-open")},Xe=x.cloneElement(Gt,{className:De()((gt=Gt.props)===null||gt===void 0?void 0:gt.className,$t&&Na()),ref:y(Gt)?oe(ra,Gt.ref):void 0}),Bt=Ct;return!Bt&&Tt.indexOf("contextMenu")!==-1&&(Bt=["click"]),x.createElement(Me.Z,(0,we.Z)({builtinPlacements:Ht},Qn,{prefixCls:rn,ref:qt,popupClassName:De()(Pt,(0,ke.Z)({},"".concat(rn,"-show-arrow"),Ot)),popupStyle:Zt,action:Tt,showAction:Ue,hideAction:Bt,popupPlacement:xe,popupAlign:Re,popupTransitionName:Xt,popupAnimation:$e,popupVisible:$t,stretch:zr()?"minWidth":"",popup:Pr(),onPopupVisibleChange:Hn,onPopupClick:Oa,getPopupContainer:et}),Xe)}var qe=x.forwardRef(Ke),lt=qe,mt=ee(60276),Vt=ee(5663),cn=ee(10366),rt=ee(80636),yt=ee(8745),Lt=ee(96159),ct=ee(53124),Ft=ee(68508),jt=ee(76529),_e=ee(46605),Sn=ee(66748);const wn=null,ha=At=>{const{menu:Et,arrow:gt,prefixCls:Qt,children:Ot,trigger:bt,disabled:rn,dropdownRender:Xt,getPopupContainer:$e,overlayClassName:Re,rootClassName:Ln,open:xe,onOpenChange:je,visible:Ht,onVisibleChange:et,mouseEnterDelay:Ue=.15,mouseLeaveDelay:Ct=.1,autoAdjustOverflow:Pt=!0,placement:Zt="",overlay:vn,transitionName:Nt}=At,{getPopupContainer:Tt,getPrefixCls:St,direction:en}=x.useContext(ct.E_),Gt=x.useMemo(()=>{const Xe=St();return Nt!==void 0?Nt:Zt.includes("top")?`${Xe}-slide-down`:`${Xe}-slide-up`},[St,Zt,Nt]),mn=x.useMemo(()=>Zt?Zt.includes("Center")?Zt.slice(0,Zt.indexOf("Center")):Zt:en==="rtl"?"bottomRight":"bottomLeft",[Zt,en]),Qn=St("dropdown",Qt),[xn,Un]=(0,Sn.Z)(Qn),[,pa]=(0,_e.Z)(),Kt=x.Children.only(Ot),$t=(0,Lt.Tm)(Kt,{className:De()(`${Qn}-trigger`,{[`${Qn}-rtl`]:en==="rtl"},Kt.props.className),disabled:rn}),qt=rn?[]:bt;let sa;qt&&qt.includes("contextMenu")&&(sa=!0);const[ra,Hn]=(0,Vt.Z)(!1,{value:xe!=null?xe:Ht}),Oa=(0,mt.useEvent)(Xe=>{je==null||je(Xe),et==null||et(Xe),Hn(Xe)}),Ta=De()(Re,Ln,Un,{[`${Qn}-rtl`]:en==="rtl"}),Pr=(0,rt.Z)({arrowPointAtCenter:typeof gt=="object"&>.pointAtCenter,autoAdjustOverflow:Pt,offset:pa.marginXXS,arrowWidth:gt?pa.sizePopupArrow:0,borderRadius:pa.borderRadius}),zr=x.useCallback(()=>{Hn(!1)},[]),Na=()=>{let Xe;return Et!=null&&Et.items?Xe=x.createElement(Ft.default,Object.assign({},Et)):typeof vn=="function"?Xe=vn():Xe=vn,Xt&&(Xe=Xt(Xe)),Xe=x.Children.only(typeof Xe=="string"?x.createElement("span",null,Xe):Xe),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}},Xe)};return xn(x.createElement(lt,Object.assign({alignPoint:sa},(0,cn.Z)(At,["rootClassName"]),{mouseEnterDelay:Ue,mouseLeaveDelay:Ct,visible:ra,builtinPlacements:Pr,arrow:!!gt,overlayClassName:Ta,prefixCls:Qn,getPopupContainer:$e||Tt,transitionName:Gt,trigger:qt,overlay:Na,placement:mn,onVisibleChange:Oa}),$t))};function Mn(At){return Object.assign(Object.assign({},At),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const at=(0,yt.Z)(ha,"dropdown",At=>At,Mn),ut=At=>x.createElement(at,Object.assign({},At),x.createElement("span",null));ha._InternalPanelDoNotUseOrYouWillBeFired=ut;var dt=ha},85418:function(ft,st,ee){"use strict";ee.d(st,{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:Qe,trigger:Le,align:Ge,open:He,onOpenChange:Ke,placement:qe,getPopupContainer:lt,href:mt,icon:Vt=De.createElement(we.Z,null),title:cn,buttonsRender:rt=rn=>rn,mouseEnterDelay:yt,mouseLeaveDelay:Lt,overlayClassName:ct,overlayStyle:Ft,destroyPopupOnHide:jt,dropdownRender:_e}=y,Sn=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"]),wn=E("dropdown",te),ha=`${wn}-button`,[Mn,at]=(0,Te.Z)(wn),ut={menu:ye,arrow:Ae,autoFocus:Ne,align:Ge,disabled:ae,trigger:ae?[]:Le,onOpenChange:Ke,getPopupContainer:lt||b,mouseEnterDelay:yt,mouseLeaveDelay:Lt,overlayClassName:ct,overlayStyle:Ft,destroyPopupOnHide:jt,dropdownRender:_e},{compactSize:dt,compactItemClassnames:At}=(0,Me.ri)(wn,z),Et=pe()(ha,At,be,at);"overlay"in y&&(ut.overlay=Qe),"open"in y&&(ut.open=He),"placement"in y?ut.placement=qe:ut.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),Qt=De.createElement(ke.ZP,{type:ne,danger:re,icon:Vt}),[Ot,bt]=rt([gt,Qt]);return Mn(De.createElement(We.Z.Compact,Object.assign({className:Et,size:dt,block:!0},Sn),Ot,De.createElement(x.Z,Object.assign({},ut),bt)))};Be.__ANT_BUTTON=!0;var me=Be;const oe=x.Z;oe.Button=me;var a=oe},66748:function(ft,st,ee){"use strict";ee.d(st,{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,st,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}st.Z=we},71322:function(ft,st,ee){"use strict";ee.d(st,{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:Qe=!1,reverseArrow:Le=!1,width:Ge=200,collapsedWidth:He=80,zeroWidthTriggerStyle:Ke,breakpoint:qe,onCollapse:lt,onBreakpoint:mt}=ae,Vt=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,yt]=(0,de.useState)("collapsed"in ae?ae.collapsed:ye),[Lt,ct]=(0,de.useState)(!1);(0,de.useEffect)(()=>{"collapsed"in ae&&yt(ae.collapsed)},[ae.collapsed]);const Ft=(Mn,at)=>{"collapsed"in ae||yt(Mn),lt==null||lt(Mn,at)},jt=(0,de.useRef)();jt.current=Mn=>{ct(Mn.matches),mt==null||mt(Mn.matches),rt!==Mn.matches&&Ft(Mn.matches,"responsive")},(0,de.useEffect)(()=>{function Mn(ut){return jt.current(ut)}let at;if(typeof window!="undefined"){const{matchMedia:ut}=window;if(ut&&qe&&qe in E){at=ut(`(max-width: ${E[qe]})`);try{at.addEventListener("change",Mn)}catch(dt){at.addListener(Mn)}Mn(at)}}return()=>{try{at==null||at.removeEventListener("change",Mn)}catch(ut){at==null||at.removeListener(Mn)}}},[qe]),(0,de.useEffect)(()=>{const Mn=te("ant-sider-");return cn.addSider(Mn),()=>cn.removeSider(Mn)},[]);const _e=()=>{Ft(!rt,"clickTrigger")},{getPrefixCls:Sn}=(0,de.useContext)(a.E_),wn=()=>{const Mn=Sn("layout-sider",he),at=(0,Be.Z)(Vt,["collapsed"]),ut=rt?He:Ge,dt=oe(ut)?`${ut}px`:String(ut),At=parseFloat(String(He||0))===0?de.createElement("span",{onClick:_e,className:ze()(`${Mn}-zero-width-trigger`,`${Mn}-zero-width-trigger-${Le?"right":"left"}`),style:Ke},Ce||de.createElement(ie,null)):null,Qt={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:`${Mn}-trigger`,onClick:_e,style:{width:dt}},Ce||Qt):null,bt=Object.assign(Object.assign({},Ne),{flex:`0 0 ${dt}`,maxWidth:dt,minWidth:dt,width:dt}),rn=ze()(Mn,`${Mn}-${Ae}`,{[`${Mn}-collapsed`]:!!rt,[`${Mn}-has-trigger`]:Qe&&Ce!==null&&!At,[`${Mn}-below`]:!!Lt,[`${Mn}-zero-width`]:parseFloat(dt)===0},ve);return de.createElement("aside",Object.assign({className:rn},at,{style:bt,ref:le}),de.createElement("div",{className:`${Mn}-children`},be),Qe||Lt&&At?Ot:null)},ha=de.useMemo(()=>({siderCollapsed:rt}),[rt]);return de.createElement(z.Provider,{value:ha},wn())})},84321:function(ft,st,ee){"use strict";ee.d(st,{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:Qe,triggerHeight:Le,zeroTriggerHeight:Ge,zeroTriggerWidth:He,motionDurationMid:Ke,motionDurationSlow:qe,fontSize:lt,borderRadius:mt,bodyBg:Vt,headerBg:cn,siderBg:rt}=re;return{[le]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Vt,"&, *":{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:Qe,color:he,fontSize:lt,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,Qe]=ze(Ae),Le=he?`${Ae}-${he}`:Ae;return Ne(we.createElement(Ce,Object.assign({className:pe()(le||Le,ve,Qe),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:Qe,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_),lt=Ke("layout",Ce),[mt,Vt]=ze(lt),cn=pe()(lt,{[`${lt}-has-sider`]:typeof Ne=="boolean"?Ne:he.length>0,[`${lt}-rtl`]:le==="rtl"},qe==null?void 0:qe.className,be,ye,Vt),rt=we.useMemo(()=>({siderHook:{addSider:yt=>{ve(Lt=>[].concat((0,x.Z)(Lt),[yt]))},removeSider:yt=>{ve(Lt=>Lt.filter(ct=>ct!==yt))}}}),[]);return mt(we.createElement(me.Provider,{value:rt},we.createElement(Qe,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,st,ee){"use strict";ee.d(st,{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))});st.Z=we},68508:function(ft,st,ee){"use strict";ee.d(st,{default:function(){return Mn}});var x=ee(78595),de=ee(67294),pe=ee(71322),De=ee(94184),we=ee.n(De),ke=ee(53124),ie=function(at,ut){var dt={};for(var At in at)Object.prototype.hasOwnProperty.call(at,At)&&ut.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++)ut.indexOf(At[Et])<0&&Object.prototype.propertyIsEnumerable.call(at,At[Et])&&(dt[At[Et]]=at[At[Et]]);return dt},Me=at=>{const{prefixCls:ut,className:dt,dashed:At}=at,Et=ie(at,["prefixCls","className","dashed"]),{getPrefixCls:gt}=de.useContext(ke.E_),Qt=gt("menu",ut),Ot=we()({[`${Qt}-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 ut;const{className:dt,children:At,icon:Et,title:gt,danger:Qt}=at,{prefixCls:Ot,firstLevel:bt,direction:rn,disableMenuItemTitleTooltip:Xt,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:Ln}=de.useContext(pe.D);let xe=gt;typeof gt=="undefined"?xe=bt?At:"":gt===!1&&(xe="");const je={title:xe};!Ln&&!$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`]:Qt,[`${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)?(ut=Et.props)===null||ut===void 0?void 0:ut.className:"",`${Ot}-item-icon`)}),Re($e));return Xt||(et=de.createElement(Be.Z,Object.assign({},je,{placement:rn==="rtl"?"left":"right",overlayClassName:`${Ot}-inline-collapsed-tooltip`}),et)),et},z=at=>{var ut;const{popupClassName:dt,icon:At,title:Et,theme:gt}=at,Qt=de.useContext(a),{prefixCls:Ot,inlineCollapsed:bt,theme:rn}=Qt,Xt=(0,x.Xl)();let $e;if(!At)$e=bt&&!Xt.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 Ln=(0,me.l$)(Et)&&Et.type==="span";$e=de.createElement(de.Fragment,null,(0,me.Tm)(At,{className:we()((0,me.l$)(At)?(ut=At.props)===null||ut===void 0?void 0:ut.className:"",`${Ot}-item-icon`)}),Ln?Et:de.createElement("span",{className:`${Ot}-title-content`},Et))}const Re=de.useMemo(()=>Object.assign(Object.assign({},Qt),{firstLevel:!1}),[Qt]);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||rn}`)})))},te=ee(25877),ne=ee(60276),re=ee(33603),ae=ee(76529),le=function(at,ut){var dt={};for(var At in at)Object.prototype.hasOwnProperty.call(at,At)&&ut.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++)ut.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((ut,dt)=>{if(ut&&typeof ut=="object"){const At=ut,{label:Et,children:gt,key:Qt,type:Ot}=At,bt=le(At,["label","children","key","type"]),rn=Qt!=null?Qt:`tmp-${dt}`;return gt||Ot==="group"?Ot==="group"?de.createElement(x.BW,Object.assign({key:rn},bt,{title:Et}),he(gt)):de.createElement(z,Object.assign({key:rn},bt,{title:Et}),he(gt)):Ot==="divider"?de.createElement(Me,Object.assign({key:rn},bt)):de.createElement(b,Object.assign({key:rn},bt),Et)}return null}).filter(ut=>ut)}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),Qe=ee(67968),Le=ee(45503),He=at=>{const{componentCls:ut,motionDurationSlow:dt,horizontalLineHeight:At,colorSplit:Et,lineWidth:gt,lineType:Qt,itemPaddingInline:Ot}=at;return{[`${ut}-horizontal`]:{lineHeight:At,border:0,borderBottom:`${gt}px ${Qt} ${Et}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${ut}-item, ${ut}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Ot},[`> ${ut}-item:hover,
|
|
> ${ut}-item-active,
|
|
> ${ut}-submenu ${ut}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${ut}-item, ${ut}-submenu-title`]:{transition:[`border-color ${dt}`,`background ${dt}`].join(",")},[`${ut}-submenu-arrow`]:{display:"none"}}}},qe=at=>{let{componentCls:ut,menuArrowOffset:dt}=at;return{[`${ut}-rtl`]:{direction:"rtl"},[`${ut}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${ut}-rtl${ut}-vertical,
|
|
${ut}-submenu-rtl ${ut}-vertical`]:{[`${ut}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${dt})`},"&::after":{transform:`rotate(45deg) translateY(${dt})`}}}}};const lt=at=>Object.assign({},(0,be.oN)(at));var Vt=(at,ut)=>{const{componentCls:dt,itemColor:At,itemSelectedColor:Et,groupTitleColor:gt,itemBg:Qt,subMenuItemBg:Ot,itemSelectedBg:bt,activeBarHeight:rn,activeBarWidth:Xt,activeBarBorderWidth:$e,motionDurationSlow:Re,motionEaseInOut:Ln,motionEaseOut:xe,itemPaddingInline:je,motionDurationMid:Ht,itemHoverColor:et,lineType:Ue,colorSplit:Ct,itemDisabledColor:Pt,dangerItemColor:Zt,dangerItemHoverColor:vn,dangerItemSelectedColor:Nt,dangerItemActiveBg:Tt,dangerItemSelectedBg:St,itemHoverBg:en,itemActiveBg:Gt,menuSubMenuBg:mn,horizontalItemSelectedColor:Qn,horizontalItemSelectedBg:xn,horizontalItemBorderRadius:Un,horizontalItemHoverBg:pa,popupBg:Kt}=at;return{[`${dt}-${ut}, ${dt}-${ut} > ${dt}`]:{color:At,background:Qt,[`&${dt}-root:focus-visible`]:Object.assign({},lt(at)),[`${dt}-item-group-title`]:{color:gt},[`${dt}-submenu-selected`]:{[`> ${dt}-submenu-title`]:{color:Et}},[`${dt}-item-disabled, ${dt}-submenu-disabled`]:{color:`${Pt} !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:en},"&:active":{backgroundColor:Gt}},[`${dt}-submenu-title`]:{"&:hover":{backgroundColor:en},"&:active":{backgroundColor:Gt}}},[`${dt}-item-danger`]:{color:Zt,[`&${dt}-item:hover`]:{[`&:not(${dt}-item-selected):not(${dt}-submenu-selected)`]:{color:vn}},[`&${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({},lt(at))},[`&${dt}-submenu > ${dt}`]:{backgroundColor:mn},[`&${dt}-popup > ${dt}`]:{backgroundColor:Kt},[`&${dt}-horizontal`]:Object.assign(Object.assign({},ut==="dark"?{borderBottom:0}:{}),{[`> ${dt}-item, > ${dt}-submenu`]:{top:$e,marginTop:-$e,marginBottom:0,borderRadius:Un,"&::after":{position:"absolute",insetInline:je,bottom:0,borderBottom:`${rn}px solid transparent`,transition:`border-color ${Re} ${Ln}`,content:'""'},"&:hover, &-active, &-open":{background:pa,"&::after":{borderBottomWidth:rn,borderBottomColor:Qn}},"&-selected":{color:Qn,backgroundColor:xn,"&:hover":{backgroundColor:xn},"&::after":{borderBottomWidth:rn,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&&Xt?{width:`calc(100% + ${$e}px)`}:{},[`${dt}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Xt}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} ${Ln}`,`opacity ${Ht} ${Ln}`].join(",")}}}}}};const cn=at=>{const{componentCls:ut,itemHeight:dt,itemMarginInline:At,padding:Et,menuArrowSize:gt,marginXS:Qt,itemMarginBlock:Ot}=at,bt=Et+gt+Qt;return{[`${ut}-item`]:{position:"relative",overflow:"hidden"},[`${ut}-item, ${ut}-submenu-title`]:{height:dt,lineHeight:`${dt}px`,paddingInline:Et,overflow:"hidden",textOverflow:"ellipsis",marginInline:At,marginBlock:Ot,width:`calc(100% - ${At*2}px)`},[`> ${ut}-item,
|
|
> ${ut}-submenu > ${ut}-submenu-title`]:{height:dt,lineHeight:`${dt}px`},[`${ut}-item-group-list ${ut}-submenu-title,
|
|
${ut}-submenu-title`]:{paddingInlineEnd:bt}}};var yt=at=>{const{componentCls:ut,iconCls:dt,itemHeight:At,colorTextLightSolid:Et,dropdownWidth:gt,controlHeightLG:Qt,motionDurationMid:Ot,motionEaseOut:bt,paddingXL:rn,itemMarginInline:Xt,fontSizeLG:$e,motionDurationSlow:Re,paddingXS:Ln,boxShadowSecondary:xe,collapsedWidth:je,collapsedIconSize:Ht}=at,et={height:At,lineHeight:`${At}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[ut]:{"&-inline, &-vertical":Object.assign({[`&${ut}-root`]:{boxShadow:"none"}},cn(at))},[`${ut}-submenu-popup`]:{[`${ut}-vertical`]:Object.assign(Object.assign({},cn(at)),{boxShadow:xe})}},{[`${ut}-submenu-popup ${ut}-vertical${ut}-sub`]:{minWidth:gt,maxHeight:`calc(100vh - ${Qt*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${ut}-inline`]:{width:"100%",[`&${ut}-root`]:{[`${ut}-item, ${ut}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Re}`,`background ${Re}`,`padding ${Ot} ${bt}`].join(","),[`> ${ut}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${ut}-sub${ut}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${ut}-submenu > ${ut}-submenu-title`]:et,[`& ${ut}-item-group-title`]:{paddingInlineStart:rn}},[`${ut}-item`]:et}},{[`${ut}-inline-collapsed`]:{width:je,[`&${ut}-root`]:{[`${ut}-item, ${ut}-submenu ${ut}-submenu-title`]:{[`> ${ut}-inline-collapsed-noicon`]:{fontSize:$e,textAlign:"center"}}},[`> ${ut}-item,
|
|
> ${ut}-item-group > ${ut}-item-group-list > ${ut}-item,
|
|
> ${ut}-item-group > ${ut}-item-group-list > ${ut}-submenu > ${ut}-submenu-title,
|
|
> ${ut}-submenu > ${ut}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${$e/2}px - ${Xt}px)`,textOverflow:"clip",[`
|
|
${ut}-submenu-arrow,
|
|
${ut}-submenu-expand-icon
|
|
`]:{opacity:0},[`${ut}-item-icon, ${dt}`]:{margin:0,fontSize:Ht,lineHeight:`${At}px`,"+ span":{display:"inline-block",opacity:0}}},[`${ut}-item-icon, ${dt}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${ut}-item-icon, ${dt}`]:{display:"none"},"a, a:hover":{color:Et}},[`${ut}-item-group-title`]:Object.assign(Object.assign({},be.vS),{paddingInline:Ln})}}]};const Lt=at=>{const{componentCls:ut,motionDurationSlow:dt,motionDurationMid:At,motionEaseInOut:Et,motionEaseOut:gt,iconCls:Qt,iconSize:Ot,iconMarginInlineEnd:bt}=at;return{[`${ut}-item, ${ut}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${dt}`,`background ${dt}`,`padding ${dt} ${Et}`].join(","),[`${ut}-item-icon, ${Qt}`]:{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(",")}},[`${ut}-item-icon`]:Object.assign({},(0,be.Ro)()),[`&${ut}-item-only-child`]:{[`> ${Qt}, > ${ut}-item-icon`]:{marginInlineEnd:0}}},[`${ut}-item-disabled, ${ut}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${ut}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},ct=at=>{const{componentCls:ut,motionDurationSlow:dt,motionEaseInOut:At,borderRadius:Et,menuArrowSize:gt,menuArrowOffset:Qt}=at;return{[`${ut}-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(-${Qt})`},"&::after":{transform:`rotate(-45deg) translateY(${Qt})`}}}}},Ft=at=>{const{antCls:ut,componentCls:dt,fontSize:At,motionDurationSlow:Et,motionDurationMid:gt,motionEaseInOut:Qt,paddingXS:Ot,padding:bt,colorSplit:rn,lineWidth:Xt,zIndexPopup:$e,borderRadiusLG:Re,subMenuItemBorderRadius:Ln,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} ${Qt}`,`background ${Et} ${Qt}`].join(",")},[`${dt}-submenu, ${dt}-submenu-inline`]:{transition:[`border-color ${Et} ${Qt}`,`background ${Et} ${Qt}`,`padding ${gt} ${Qt}`].join(",")},[`${dt}-submenu ${dt}-sub`]:{cursor:"initial",transition:[`background ${Et} ${Qt}`,`padding ${Et} ${Qt}`].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:rn,borderStyle:Ht,borderWidth:0,borderTopWidth:Xt,marginBlock:Xt,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:Ln},[`${dt}-submenu-title::after`]:{transition:`transform ${Et} ${Qt}`}})}}),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})`}}})},{[`${ut}-layout-header`]:{[dt]:{lineHeight:"inherit"}}}]};var jt=(at,ut)=>(0,Qe.Z)("Menu",At=>{if(ut===!1)return[];const{colorBgElevated:Et,colorPrimary:gt,colorTextLightSolid:Qt,controlHeightLG:Ot,fontSize:bt,darkItemColor:rn,darkDangerItemColor:Xt,darkItemBg:$e,darkSubMenuItemBg:Re,darkItemSelectedColor:Ln,darkItemSelectedBg:xe,darkDangerItemSelectedBg:je,darkItemHoverBg:Ht,darkGroupTitleColor:et,darkItemHoverColor:Ue,darkItemDisabledColor:Ct,darkDangerItemHoverColor:Pt,darkDangerItemSelectedColor:Zt,darkDangerItemActiveBg:vn}=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:rn,itemHoverColor:Ue,groupTitleColor:et,itemSelectedColor:Ln,itemBg:$e,popupBg:$e,subMenuItemBg:Re,itemActiveBg:"transparent",itemSelectedBg:xe,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Ht,itemDisabledColor:Ct,dangerItemColor:Xt,dangerItemHoverColor:Pt,dangerItemSelectedColor:Zt,dangerItemActiveBg:vn,dangerItemSelectedBg:je,menuSubMenuBg:Re,horizontalItemSelectedColor:Qt,horizontalItemSelectedBg:gt});return[Ft(Tt),He(Tt),yt(Tt),Vt(Tt,"light"),Vt(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:Qt,colorErrorBg:Ot,colorText:bt,colorTextDescription:rn,colorBgContainer:Xt,colorFillAlter:$e,colorFillContent:Re,lineWidth:Ln,lineWidthBold:xe,controlItemBgActive:je,colorBgTextHover:Ht,controlHeightLG:et,lineHeight:Ue,colorBgElevated:Ct,marginXXS:Pt,padding:Zt,fontSize:vn,controlHeightSM:Nt,fontSizeLG:Tt,colorTextLightSolid:St,colorErrorHover:en}=At,Gt=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:rn,groupTitleColor:rn,colorItemTextSelected:Et,itemSelectedColor:Et,colorItemTextSelectedHorizontal:Et,horizontalItemSelectedColor:Et,colorItemBg:Xt,itemBg:Xt,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:Ln,activeBarBorderWidth:Ln,colorItemTextDisabled:Qt,itemDisabledColor:Qt,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:Pt,itemPaddingInline:Zt,horizontalLineHeight:`${et*1.15}px`,iconSize:vn,iconMarginInlineEnd:Nt-vn,collapsedIconSize:Tt,groupTitleFontSize:vn,darkItemDisabledColor:new Ce.C(St).setAlpha(.25).toRgbString(),darkItemColor:Gt,darkDangerItemColor:gt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:St,darkItemSelectedBg:Et,darkDangerItemSelectedBg:gt,darkItemHoverBg:"transparent",darkGroupTitleColor:Gt,darkItemHoverColor:St,darkDangerItemHoverColor:en,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,ut){var dt={};for(var At in at)Object.prototype.hasOwnProperty.call(at,At)&&ut.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++)ut.indexOf(At[Et])<0&&Object.prototype.propertyIsEnumerable.call(at,At[Et])&&(dt[At[Et]]=at[At[Et]]);return dt},wn=(0,de.forwardRef)((at,ut)=>{var dt,At;const Et=de.useContext(ae.Z),gt=Et||{},{getPrefixCls:Qt,getPopupContainer:Ot,direction:bt,menu:rn}=de.useContext(ke.E_),Xt=Qt(),{prefixCls:$e,className:Re,style:Ln,theme:xe="light",expandIcon:je,_internalDisableMenuItemTitleTooltip:Ht,inlineCollapsed:et,siderCollapsed:Ue,items:Ct,children:Pt,rootClassName:Zt,mode:vn,selectable:Nt,onClick:Tt,overflowedIndicatorPopupClassName:St}=at,en=_e(at,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Gt=(0,ze.Z)(en,["collapsedWidth"]),mn=ve(Ct)||Pt;(dt=gt.validator)===null||dt===void 0||dt.call(gt,{mode:vn});const Qn=(0,ne.useEvent)(function(){var Ta;Tt==null||Tt.apply(void 0,arguments),(Ta=gt.onClick)===null||Ta===void 0||Ta.call(gt)}),xn=gt.mode||vn,Un=Nt!=null?Nt:gt.selectable,pa=de.useMemo(()=>Ue!==void 0?Ue:et,[et,Ue]),Kt={horizontal:{motionName:`${Xt}-slide-up`},inline:(0,re.Z)(Xt),other:{motionName:`${Xt}-zoom-big`}},$t=Qt("menu",$e||gt.prefixCls),[qt,sa]=jt($t,!Et),ra=we()(`${$t}-${xe}`,rn==null?void 0:rn.className,Re);let Hn;if(typeof je=="function")Hn=je;else if(je===null||je===!1)Hn=null;else if(gt.expandIcon===null||gt.expandIcon===!1)Hn=null;else{const Ta=je!=null?je:gt.expandIcon;Hn=(0,me.Tm)(Ta,{className:we()(`${$t}-submenu-expand-icon`,(0,me.l$)(Ta)?(At=Ta.props)===null||At===void 0?void 0:At.className:"")})}const Oa=de.useMemo(()=>({prefixCls:$t,inlineCollapsed:pa||!1,direction:bt,firstLevel:!0,theme:xe,mode:xn,disableMenuItemTitleTooltip:Ht}),[$t,pa,bt,Ht,xe]);return qt(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()($t,`${$t}-${xe}`,St),mode:xn,selectable:Un,onClick:Qn},Gt,{inlineCollapsed:pa,style:Object.assign(Object.assign({},rn==null?void 0:rn.style),Ln),className:ra,prefixCls:$t,direction:bt,defaultMotions:Kt,expandIcon:Hn,ref:ut,rootClassName:we()(Zt,sa)}),mn))))});const ha=(0,de.forwardRef)((at,ut)=>{const dt=(0,de.useRef)(null),At=de.useContext(pe.D);return(0,de.useImperativeHandle)(ut,()=>({menu:dt.current,focus:Et=>{var gt;(gt=dt.current)===null||gt===void 0||gt.focus(Et)}})),de.createElement(wn,Object.assign({ref:dt},at,At))});ha.Item=b,ha.SubMenu=z,ha.Divider=Me,ha.ItemGroup=x.BW;var Mn=ha},28452:function(ft,st,ee){"use strict";ee.d(st,{Z:function(){return Xt}});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,Ln){return de.createElement(we.Z,(0,x.Z)({},Re,{ref:Ln,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,Ln;Re===!1?Ln={aria:!0,data:!0,attr:!0}:Re===!0?Ln={aria:!0}:Ln=(0,oe.Z)({},Re);var xe={};return Object.keys($e).forEach(function(je){(Ln.aria&&(je==="role"||le(je,re))||Ln.data&&le(je,ae)||Ln.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)(Ln,$e);var Re=(0,E.Z)(Ln);function Ln(){var xe;(0,a.Z)(this,Ln);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,Pt=Ct.goButton,Zt=Ct.quickGo,vn=Ct.rootPrefixCls,Nt=xe.state.goInputText;Pt||Nt===""||(xe.setState({goInputText:""}),!(Ue.relatedTarget&&(Ue.relatedTarget.className.indexOf("".concat(vn,"-item-link"))>=0||Ue.relatedTarget.className.indexOf("".concat(vn,"-item"))>=0))&&Zt(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)(Ln,[{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 Pt=Number.isNaN(Number(Ue))?0:Number(Ue),Zt=Number.isNaN(Number(Ct))?0:Number(Ct);return Pt-Zt})}},{key:"render",value:function(){var je=this,Ht=this.props,et=Ht.pageSize,Ue=Ht.locale,Ct=Ht.rootPrefixCls,Pt=Ht.changeSize,Zt=Ht.quickGo,vn=Ht.goButton,Nt=Ht.selectComponentClass,Tt=Ht.buildOptionText,St=Ht.selectPrefixCls,en=Ht.disabled,Gt=this.state.goInputText,mn="".concat(Ct,"-options"),Qn=Nt,xn=null,Un=null,pa=null;if(!Pt&&!Zt)return null;var Kt=this.getPageSizeOptions();if(Pt&&Qn){var $t=Kt.map(function(qt,sa){return de.createElement(Qn.Option,{key:sa,value:qt.toString()},(Tt||je.buildOptionText)(qt))});xn=de.createElement(Qn,{disabled:en,prefixCls:St,showSearch:!1,className:"".concat(mn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(et||Kt[0]).toString(),onChange:this.changeSize,getPopupContainer:function(sa){return sa.parentNode},"aria-label":Ue.page_size,defaultOpen:!1},$t)}return Zt&&(vn&&(pa=typeof vn=="boolean"?de.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:en,className:"".concat(mn,"-quick-jumper-button")},Ue.jump_to_confirm):de.createElement("span",{onClick:this.go,onKeyUp:this.go},vn)),Un=de.createElement("div",{className:"".concat(mn,"-quick-jumper")},Ue.jump_to,de.createElement("input",{disabled:en,type:"text",value:Gt,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Ue.page}),Ue.page,pa)),de.createElement("li",{className:"".concat(mn)},xn,Un)}}]),Ln}(de.Component);ye.defaultProps={pageSizeOptions:["10","20","50","100"]};var Ae=ye,Ne=function(Re){var Ln,xe=Re.rootPrefixCls,je=Re.page,Ht=Re.active,et=Re.className,Ue=Re.showTitle,Ct=Re.onClick,Pt=Re.onKeyPress,Zt=Re.itemRender,vn="".concat(xe,"-item"),Nt=Be()(vn,"".concat(vn,"-").concat(je),(Ln={},(0,me.Z)(Ln,"".concat(vn,"-active"),Ht),(0,me.Z)(Ln,"".concat(vn,"-disabled"),!je),(0,me.Z)(Ln,Re.className,et),Ln)),Tt=function(){Ct(je)},St=function(mn){Pt(mn,Ct,je)},en=Zt(je,"page",de.createElement("a",{rel:"nofollow"},je));return en?de.createElement("li",{title:Ue?je.toString():null,className:Nt,onClick:Tt,onKeyPress:St,tabIndex:0},en):null},Qe=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,Ln,xe){return xe};function Ke($e,Re,Ln){var xe=typeof $e=="undefined"?Re.pageSize:$e;return Math.floor((Ln.total-1)/xe)+1}var qe=function($e){(0,b.Z)(Ln,$e);var Re=(0,E.Z)(Ln);function Ln(xe){var je;(0,a.Z)(this,Ln),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(Pt,Zt){var vn=je.props.prefixCls,Nt=Pt||de.createElement("button",{type:"button","aria-label":Zt,className:"".concat(vn,"-item-link")});return typeof Pt=="function"&&(Nt=de.createElement(Pt,(0,oe.Z)({},je.props))),Nt},je.isValid=function(Pt){var Zt=je.props.total;return Ge(Pt)&&Pt!==je.state.current&&Ge(Zt)&&Zt>0},je.shouldDisplayQuickJumper=function(){var Pt=je.props,Zt=Pt.showQuickJumper,vn=Pt.total,Nt=je.state.pageSize;return vn<=Nt?!1:Zt},je.handleKeyDown=function(Pt){(Pt.keyCode===Ce.ARROW_UP||Pt.keyCode===Ce.ARROW_DOWN)&&Pt.preventDefault()},je.handleKeyUp=function(Pt){var Zt=je.getValidValue(Pt),vn=je.state.currentInputValue;Zt!==vn&&je.setState({currentInputValue:Zt}),Pt.keyCode===Ce.ENTER?je.handleChange(Zt):Pt.keyCode===Ce.ARROW_UP?je.handleChange(Zt-1):Pt.keyCode===Ce.ARROW_DOWN&&je.handleChange(Zt+1)},je.handleBlur=function(Pt){var Zt=je.getValidValue(Pt);je.handleChange(Zt)},je.changePageSize=function(Pt){var Zt=je.state.current,vn=Ke(Pt,je.state,je.props);Zt=Zt>vn?vn:Zt,vn===0&&(Zt=je.state.current),typeof Pt=="number"&&("pageSize"in je.props||je.setState({pageSize:Pt}),"current"in je.props||je.setState({current:Zt,currentInputValue:Zt})),je.props.onShowSizeChange(Zt,Pt),"onChange"in je.props&&je.props.onChange&&je.props.onChange(Zt,Pt)},je.handleChange=function(Pt){var Zt=je.props,vn=Zt.disabled,Nt=Zt.onChange,Tt=je.state,St=Tt.pageSize,en=Tt.current,Gt=Tt.currentInputValue;if(je.isValid(Pt)&&!vn){var mn=Ke(void 0,je.state,je.props),Qn=Pt;return Pt>mn?Qn=mn:Pt<1&&(Qn=1),"current"in je.props||je.setState({current:Qn}),Qn!==Gt&&je.setState({currentInputValue:Qn}),Nt(Qn,St),Qn}return en},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(Pt,Zt){if(Pt.key==="Enter"||Pt.charCode===13){for(var vn=arguments.length,Nt=new Array(vn>2?vn-2:0),Tt=2;Tt<vn;Tt++)Nt[Tt-2]=arguments[Tt];Zt.apply(void 0,Nt)}},je.runIfEnterPrev=function(Pt){je.runIfEnter(Pt,je.prev)},je.runIfEnterNext=function(Pt){je.runIfEnter(Pt,je.next)},je.runIfEnterJumpPrev=function(Pt){je.runIfEnter(Pt,je.jumpPrev)},je.runIfEnterJumpNext=function(Pt){je.runIfEnter(Pt,je.jumpNext)},je.handleGoTO=function(Pt){(Pt.keyCode===Ce.ENTER||Pt.type==="click")&&je.handleChange(je.state.currentInputValue)},je.renderPrev=function(Pt){var Zt=je.props,vn=Zt.prevIcon,Nt=Zt.itemRender,Tt=Nt(Pt,"prev",je.getItemIcon(vn,"prev page")),St=!je.hasPrev();return(0,de.isValidElement)(Tt)?(0,de.cloneElement)(Tt,{disabled:St}):Tt},je.renderNext=function(Pt){var Zt=je.props,vn=Zt.nextIcon,Nt=Zt.itemRender,Tt=Nt(Pt,"next",je.getItemIcon(vn,"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)(Ln,[{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,Pt=je.hideOnSinglePage,Zt=je.total,vn=je.locale,Nt=je.showQuickJumper,Tt=je.showLessItems,St=je.showTitle,en=je.showTotal,Gt=je.simple,mn=je.itemRender,Qn=je.showPrevNextJumpers,xn=je.jumpPrevIcon,Un=je.jumpNextIcon,pa=je.selectComponentClass,Kt=je.selectPrefixCls,$t=je.pageSizeOptions,qt=this.state,sa=qt.current,ra=qt.pageSize,Hn=qt.currentInputValue;if(Pt===!0&&Zt<=ra)return null;var Oa=Ke(void 0,this.state,this.props),Ta=[],Pr=null,zr=null,Na=null,Xe=null,Bt=null,xt=Nt&&Nt.goButton,Tn=Tt?1:2,pn=sa-1>0?sa-1:0,_n=sa+1<Oa?sa+1:Oa,Qr=he(this.props,{aria:!0,data:!0}),Ra=en&&de.createElement("li",{className:"".concat(Ht,"-total-text")},en(Zt,[Zt===0?0:(sa-1)*ra+1,sa*ra>Zt?Zt:sa*ra]));if(Gt){xt&&(typeof xt=="boolean"?Bt=de.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},vn.jump_to_confirm):Bt=de.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},xt),Bt=de.createElement("li",{title:St?"".concat(vn.jump_to).concat(sa,"/").concat(Oa):null,className:"".concat(Ht,"-simple-pager")},Bt));var br=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},Qr),Ra,br?de.createElement("li",{title:St?vn.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()},br):null,de.createElement("li",{title:St?"".concat(sa,"/").concat(Oa):null,className:"".concat(Ht,"-simple-pager")},de.createElement("input",{type:"text",value:Hn,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?vn.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 Vr={locale:vn,rootPrefixCls:Ht,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:St,itemRender:mn};Oa||Ta.push(de.createElement(Qe,(0,x.Z)({},Vr,{key:"noPager",page:1,className:"".concat(Ht,"-item-disabled")})));for(var mo=1;mo<=Oa;mo+=1){var Xn=sa===mo;Ta.push(de.createElement(Qe,(0,x.Z)({},Vr,{key:mo,page:mo,active:Xn})))}}else{var ur=Tt?vn.prev_3:vn.prev_5,pt=Tt?vn.next_3:vn.next_5,Jt=mn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(xn,"prev page")),Ut=mn(this.getJumpNextPage(),"jump-next",this.getItemIcon(Un,"next page"));Qn&&(Pr=Jt?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"),!!xn))},Jt):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"),!!Un))},Ut):null),Xe=de.createElement(Qe,{locale:vn,last:!0,rootPrefixCls:Ht,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Oa,page:Oa,active:!1,showTitle:St,itemRender:mn}),Na=de.createElement(Qe,{locale:vn,rootPrefixCls:Ht,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:St,itemRender:mn});var dn=Math.max(1,sa-Tn),jn=Math.min(sa+Tn,Oa);sa-1<=Tn&&(jn=1+Tn*2),Oa-sa<=Tn&&(dn=Oa-Tn*2);for(var tn=dn;tn<=jn;tn+=1){var Yn=sa===tn;Ta.push(de.createElement(Qe,{locale:vn,rootPrefixCls:Ht,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:tn,page:tn,active:Yn,showTitle:St,itemRender:mn}))}sa-1>=Tn*2&&sa!==3&&(Ta[0]=(0,de.cloneElement)(Ta[0],{className:"".concat(Ht,"-item-after-jump-prev")}),Ta.unshift(Pr)),Oa-sa>=Tn*2&&sa!==Oa-2&&(Ta[Ta.length-1]=(0,de.cloneElement)(Ta[Ta.length-1],{className:"".concat(Ht,"-item-before-jump-next")}),Ta.push(zr)),dn!==1&&Ta.unshift(Na),jn!==Oa&&Ta.push(Xe)}var Pn=!this.hasPrev()||!Oa,ua=!this.hasNext()||!Oa,Ha=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},Qr),Ra,Ha?de.createElement("li",{title:St?vn.prev_page:null,onClick:this.prev,tabIndex:Pn?null:0,onKeyPress:this.runIfEnterPrev,className:Be()("".concat(Ht,"-prev"),(0,me.Z)({},"".concat(Ht,"-disabled"),Pn)),"aria-disabled":Pn},Ha):null,Ta,ir?de.createElement("li",{title:St?vn.next_page:null,onClick:this.next,tabIndex:ua?null:0,onKeyPress:this.runIfEnterNext,className:Be()("".concat(Ht,"-next"),(0,me.Z)({},"".concat(Ht,"-disabled"),ua)),"aria-disabled":ua},ir):null,de.createElement(Ae,{disabled:Ct,locale:vn,rootPrefixCls:Ht,selectComponentClass:pa,selectPrefixCls:Kt,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:sa,pageSize:ra,pageSizeOptions:$t,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}}]),Ln}(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 lt=qe,mt=ee(62906),Vt=ee(53124),cn=ee(98675),rt=ee(25378),yt=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),Sn=ee(67968),wn=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"}}}}}},Mn=$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"}}}}},ut=$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)),ut($e)),at($e)),Mn($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 Qt=(0,Sn.Z)("Pagination",$e=>{const Re=(0,wn.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 Ln={};for(var xe in $e)Object.prototype.hasOwnProperty.call($e,xe)&&Re.indexOf(xe)<0&&(Ln[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])&&(Ln[xe[je]]=$e[xe[je]]);return Ln},rn=$e=>{const{prefixCls:Re,selectPrefixCls:Ln,className:xe,rootClassName:je,style:Ht,size:et,locale:Ue,selectComponentClass:Ct,responsive:Pt,showSizeChanger:Zt}=$e,vn=Ot($e,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Nt}=(0,rt.Z)(Pt),{getPrefixCls:Tt,direction:St,pagination:en={}}=de.useContext(Vt.E_),Gt=Tt("pagination",Re),[mn,Qn]=Qt(Gt),xn=Zt!=null?Zt:en.showSizeChanger,Un=de.useMemo(()=>{const Oa=de.createElement("span",{className:`${Gt}-item-ellipsis`},"\u2022\u2022\u2022"),Ta=de.createElement("button",{className:`${Gt}-item-link`,type:"button",tabIndex:-1},St==="rtl"?de.createElement(Te.Z,null):de.createElement(Me.Z,null)),Pr=de.createElement("button",{className:`${Gt}-item-link`,type:"button",tabIndex:-1},St==="rtl"?de.createElement(Me.Z,null):de.createElement(Te.Z,null)),zr=de.createElement("a",{className:`${Gt}-item-link`},de.createElement("div",{className:`${Gt}-item-container`},St==="rtl"?de.createElement(We.Z,{className:`${Gt}-item-link-icon`}):de.createElement(ie,{className:`${Gt}-item-link-icon`}),Oa)),Na=de.createElement("a",{className:`${Gt}-item-link`},de.createElement("div",{className:`${Gt}-item-container`},St==="rtl"?de.createElement(ie,{className:`${Gt}-item-link-icon`}):de.createElement(We.Z,{className:`${Gt}-item-link-icon`}),Oa));return{prevIcon:Ta,nextIcon:Pr,jumpPrevIcon:zr,jumpNextIcon:Na}},[St,Gt]),[pa]=(0,yt.Z)("Pagination",mt.Z),Kt=Object.assign(Object.assign({},pa),Ue),$t=(0,cn.Z)(et),qt=$t==="small"||!!(Nt&&!$t&&Pt),sa=Tt("select",Ln),ra=Be()({[`${Gt}-mini`]:qt,[`${Gt}-rtl`]:St==="rtl"},en==null?void 0:en.className,xe,je,Qn),Hn=Object.assign(Object.assign({},en==null?void 0:en.style),Ht);return mn(de.createElement(lt,Object.assign({},Un,vn,{style:Hn,prefixCls:Gt,selectPrefixCls:sa,className:ra,selectComponentClass:Ct||(qt?ct:Ft),locale:Kt,showSizeChanger:xn})))},Xt=rn},38703:function(ft,st,ee){"use strict";ee.d(st,{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 Pt=Date.now(),Zt=!1;Ue.current.forEach(function(vn){if(vn){Zt=!0;var Nt=vn.style;Nt.transitionDuration=".3s, .3s, .3s, .06s",Ct.current&&Pt-Ct.current<100&&(Nt.transitionDuration="0s, 0s")}}),Zt&&(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),Pt=Ct.className,Zt=Ct.percent,vn=Ct.prefixCls,Nt=Ct.strokeColor,Tt=Ct.strokeLinecap,St=Ct.strokeWidth,en=Ct.style,Gt=Ct.trailColor,mn=Ct.trailWidth,Qn=Ct.transition,xn=(0,Be.Z)(Ct,a);delete xn.gapPosition;var Un=Array.isArray(Zt)?Zt:[Zt],pa=Array.isArray(Nt)?Nt:[Nt],Kt=oe(),$t=St/2,qt=100-St/2,sa="M ".concat(Tt==="round"?$t:0,",").concat($t,`
|
|
L `).concat(Tt==="round"?qt:100,",").concat($t),ra="0 0 100 ".concat(St),Hn=0;return x.createElement("svg",(0,Te.Z)({className:ie()("".concat(vn,"-line"),Pt),viewBox:ra,preserveAspectRatio:"none",style:en},xn),x.createElement("path",{className:"".concat(vn,"-line-trail"),d:sa,strokeLinecap:Tt,stroke:Gt,strokeWidth:mn||St,fillOpacity:"0"}),Un.map(function(Oa,Ta){var Pr=1;switch(Tt){case"round":Pr=1-St/100;break;case"square":Pr=1-St/2/100;break;default:Pr=1;break}var zr={strokeDasharray:"".concat(Oa*Pr,"px, 100px"),strokeDashoffset:"-".concat(Hn,"px"),transition:Qn||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Na=pa[Ta]||pa[pa.length-1];return Hn+=Oa,x.createElement("path",{key:Ta,className:"".concat(vn,"-line-path"),d:sa,strokeLinecap:Tt,stroke:Na,strokeWidth:St,fillOpacity:"0",ref:function(Bt){Kt[Ta]=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),Pt=Ct[0],Zt=Ct[1];return x.useEffect(function(){Zt("rc_progress_".concat(ae()))},[]),et||Pt},he=function(Ue){var Ct=Ue.bg,Pt=Ue.children;return x.createElement("div",{style:{width:"100%",height:"100%",background:Ct}},Pt)};function ve(et,Ue){return Object.keys(et).map(function(Ct){var Pt=parseFloat(Ct),Zt="".concat(Math.floor(Pt*Ue),"%");return"".concat(et[Ct]," ").concat(Zt)})}var Ce=x.forwardRef(function(et,Ue){var Ct=et.prefixCls,Pt=et.color,Zt=et.gradientId,vn=et.radius,Nt=et.style,Tt=et.ptg,St=et.strokeLinecap,en=et.strokeWidth,Gt=et.size,mn=et.gapDegree,Qn=Pt&&(0,E.Z)(Pt)==="object",xn=Qn?"#FFF":void 0,Un=Gt/2,pa=x.createElement("circle",{className:"".concat(Ct,"-circle-path"),r:vn,cx:Un,cy:Un,stroke:xn,strokeLinecap:St,strokeWidth:en,opacity:Tt===0?0:1,style:Nt,ref:Ue});if(!Qn)return pa;var Kt="".concat(Zt,"-conic"),$t=mn?"".concat(180+mn/2,"deg"):"0deg",qt=ve(Pt,(360-mn)/360),sa=ve(Pt,1),ra="conic-gradient(from ".concat($t,", ").concat(qt.join(", "),")"),Hn="linear-gradient(to ".concat(mn?"bottom":"top",", ").concat(sa.join(", "),")");return x.createElement(x.Fragment,null,x.createElement("mask",{id:Kt},pa),x.createElement("foreignObject",{x:0,y:0,width:Gt,height:Gt,mask:"url(#".concat(Kt,")")},x.createElement(he,{bg:Hn},x.createElement(he,{bg:ra}))))}),be=Ce,ye=100,Ae=function(Ue,Ct,Pt,Zt,vn,Nt,Tt,St,en,Gt){var mn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Qn=Pt/100*360*((360-Nt)/360),xn=Nt===0?0:{bottom:0,top:180,left:90,right:-90}[Tt],Un=(100-Zt)/100*Ct;en==="round"&&Zt!==100&&(Un+=Gt/2,Un>=Ct&&(Un=Ct-.01));var pa=ye/2;return{stroke:typeof St=="string"?St:void 0,strokeDasharray:"".concat(Ct,"px ").concat(Ue),strokeDashoffset:Un+mn,transform:"rotate(".concat(vn+Qn+xn,"deg)"),transformOrigin:"".concat(pa,"px ").concat(pa,"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 Qe(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),Pt=Ct.id,Zt=Ct.prefixCls,vn=Ct.steps,Nt=Ct.strokeWidth,Tt=Ct.trailWidth,St=Ct.gapDegree,en=St===void 0?0:St,Gt=Ct.gapPosition,mn=Ct.trailColor,Qn=Ct.strokeLinecap,xn=Ct.style,Un=Ct.className,pa=Ct.strokeColor,Kt=Ct.percent,$t=(0,Be.Z)(Ct,Ne),qt=ye/2,sa=le(Pt),ra="".concat(sa,"-gradient"),Hn=qt-Nt/2,Oa=Math.PI*2*Hn,Ta=en>0?90+en/2:-90,Pr=Oa*((360-en)/360),zr=(0,E.Z)(vn)==="object"?vn:{count:vn,space:2},Na=zr.count,Xe=zr.space,Bt=Qe(Kt),xt=Qe(pa),Tn=xt.find(function(mo){return mo&&(0,E.Z)(mo)==="object"}),pn=Tn&&(0,E.Z)(Tn)==="object",_n=pn?"butt":Qn,Qr=Ae(Oa,Pr,0,100,Ta,en,Gt,mn,_n,Nt),Ra=oe(),br=function(){var Xn=0;return Bt.map(function(ur,pt){var Jt=xt[pt]||xt[xt.length-1],Ut=Ae(Oa,Pr,Xn,ur,Ta,en,Gt,Jt,_n,Nt);return Xn+=ur,x.createElement(be,{key:pt,color:Jt,ptg:ur,radius:Hn,prefixCls:Zt,gradientId:ra,style:Ut,strokeLinecap:_n,strokeWidth:Nt,gapDegree:en,ref:function(jn){Ra[pt]=jn},size:ye})}).reverse()},Vr=function(){var Xn=Math.round(Na*(Bt[0]/100)),ur=100/Na,pt=0;return new Array(Na).fill(null).map(function(Jt,Ut){var dn=Ut<=Xn-1?xt[0]:mn,jn=dn&&(0,E.Z)(dn)==="object"?"url(#".concat(ra,")"):void 0,tn=Ae(Oa,Pr,pt,ur,Ta,en,Gt,dn,"butt",Nt,Xe);return pt+=(Pr-tn.strokeDashoffset+Xe)*100/Pr,x.createElement("circle",{key:Ut,className:"".concat(Zt,"-circle-path"),r:Hn,cx:qt,cy:qt,stroke:jn,strokeWidth:Nt,opacity:1,style:tn,ref:function(Pn){Ra[Ut]=Pn}})})};return x.createElement("svg",(0,Te.Z)({className:ie()("".concat(Zt,"-circle"),Un),viewBox:"0 0 ".concat(ye," ").concat(ye),style:xn,id:Pt,role:"presentation"},$t),!Na&&x.createElement("circle",{className:"".concat(Zt,"-circle-trail"),r:Hn,cx:qt,cy:qt,stroke:mn,strokeLinecap:_n,strokeWidth:Tt||Nt,style:Qr}),Na?Vr():br())},Ge=Le,He={Line:b,Circle:Ge},Ke=ee(83062),qe=ee(47448);function lt(et){return!et||et<0?0:et>100?100:et}function mt(et){let{success:Ue,successPercent:Ct}=et,Pt=Ct;return Ue&&"progress"in Ue&&(Pt=Ue.progress),Ue&&"percent"in Ue&&(Pt=Ue.percent),Pt}const Vt=et=>{let{percent:Ue,success:Ct,successPercent:Pt}=et;const Zt=lt(mt({success:Ct,successPercent:Pt}));return[Zt,lt(lt(Ue)-Zt)]},cn=et=>{let{success:Ue={},strokeColor:Ct}=et;const{strokeColor:Pt}=Ue;return[Pt||qe.presetPrimaryColors.green,Ct||null]},rt=(et,Ue,Ct)=>{var Pt,Zt,vn,Nt;let Tt=-1,St=-1;if(Ue==="step"){const en=Ct.steps,Gt=Ct.strokeWidth;typeof et=="string"||typeof et=="undefined"?(Tt=et==="small"?2:14,St=Gt!=null?Gt:8):typeof et=="number"?[Tt,St]=[et,et]:[Tt=14,St=8]=et,Tt*=en}else if(Ue==="line"){const en=Ct==null?void 0:Ct.strokeWidth;typeof et=="string"||typeof et=="undefined"?St=en||(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=(Zt=(Pt=et[0])!==null&&Pt!==void 0?Pt:et[1])!==null&&Zt!==void 0?Zt:120,St=(Nt=(vn=et[0])!==null&&vn!==void 0?vn:et[1])!==null&&Nt!==void 0?Nt:120));return[Tt,St]},yt=3,Lt=et=>yt/et*100;var Ft=et=>{const{prefixCls:Ue,trailColor:Ct=null,strokeLinecap:Pt="round",gapPosition:Zt,gapDegree:vn,width:Nt=120,type:Tt,children:St,success:en,size:Gt=Nt}=et,[mn,Qn]=rt(Gt,"circle");let{strokeWidth:xn}=et;xn===void 0&&(xn=Math.max(Lt(mn),6));const Un={width:mn,height:Qn,fontSize:mn*.15+6},pa=x.useMemo(()=>{if(vn||vn===0)return vn;if(Tt==="dashboard")return 75},[vn,Tt]),Kt=Zt||Tt==="dashboard"&&"bottom"||void 0,$t=Object.prototype.toString.call(et.strokeColor)==="[object Object]",qt=cn({success:en,strokeColor:et.strokeColor}),sa=ie()(`${Ue}-inner`,{[`${Ue}-circle-gradient`]:$t}),ra=x.createElement(Ge,{percent:Vt(et),strokeWidth:xn,trailWidth:xn,strokeColor:qt,strokeLinecap:Pt,trailColor:Ct,prefixCls:Ue,gapDegree:pa,gapPosition:Kt});return x.createElement("div",{className:sa,style:Un},mn<=20?x.createElement(Ke.Z,{title:St},x.createElement("span",null,ra)):x.createElement(x.Fragment,null,ra,St))},jt=function(et,Ue){var Ct={};for(var Pt in et)Object.prototype.hasOwnProperty.call(et,Pt)&&Ue.indexOf(Pt)<0&&(Ct[Pt]=et[Pt]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Zt=0,Pt=Object.getOwnPropertySymbols(et);Zt<Pt.length;Zt++)Ue.indexOf(Pt[Zt])<0&&Object.prototype.propertyIsEnumerable.call(et,Pt[Zt])&&(Ct[Pt[Zt]]=et[Pt[Zt]]);return Ct};const _e=et=>{let Ue=[];return Object.keys(et).forEach(Ct=>{const Pt=parseFloat(Ct.replace(/%/g,""));isNaN(Pt)||Ue.push({key:Pt,value:et[Ct]})}),Ue=Ue.sort((Ct,Pt)=>Ct.key-Pt.key),Ue.map(Ct=>{let{key:Pt,value:Zt}=Ct;return`${Zt} ${Pt}%`}).join(", ")},Sn=(et,Ue)=>{const{from:Ct=qe.presetPrimaryColors.blue,to:Pt=qe.presetPrimaryColors.blue,direction:Zt=Ue==="rtl"?"to left":"to right"}=et,vn=jt(et,["from","to","direction"]);if(Object.keys(vn).length!==0){const Nt=_e(vn);return{backgroundImage:`linear-gradient(${Zt}, ${Nt})`}}return{backgroundImage:`linear-gradient(${Zt}, ${Ct}, ${Pt})`}};var ha=et=>{const{prefixCls:Ue,direction:Ct,percent:Pt,size:Zt,strokeWidth:vn,strokeColor:Nt,strokeLinecap:Tt="round",children:St,trailColor:en=null,success:Gt}=et,mn=Nt&&typeof Nt!="string"?Sn(Nt,Ct):{backgroundColor:Nt},Qn=Tt==="square"||Tt==="butt"?0:void 0,xn={backgroundColor:en||void 0,borderRadius:Qn},Un=Zt!=null?Zt:[-1,vn||(Zt==="small"?6:8)],[pa,Kt]=rt(Un,"line",{strokeWidth:vn}),$t=Object.assign({width:`${lt(Pt)}%`,height:Kt,borderRadius:Qn},mn),qt=mt(et),sa={width:`${lt(qt)}%`,height:Kt,borderRadius:Qn,backgroundColor:Gt==null?void 0:Gt.strokeColor},ra={width:pa<0?"100%":pa,height:Kt};return x.createElement(x.Fragment,null,x.createElement("div",{className:`${Ue}-outer`,style:ra},x.createElement("div",{className:`${Ue}-inner`,style:xn},x.createElement("div",{className:`${Ue}-bg`,style:$t}),qt!==void 0?x.createElement("div",{className:`${Ue}-success-bg`,style:sa}):null)),St)},at=et=>{const{size:Ue,steps:Ct,percent:Pt=0,strokeWidth:Zt=8,strokeColor:vn,trailColor:Nt=null,prefixCls:Tt,children:St}=et,en=Math.round(Ct*(Pt/100)),Gt=Ue==="small"?2:14,mn=Ue!=null?Ue:[Gt,Zt],[Qn,xn]=rt(mn,"step",{steps:Ct,strokeWidth:Zt}),Un=Qn/Ct,pa=new Array(Ct);for(let Kt=0;Kt<Ct;Kt++){const $t=Array.isArray(vn)?vn[Kt]:vn;pa[Kt]=x.createElement("div",{key:Kt,className:ie()(`${Tt}-steps-item`,{[`${Tt}-steps-item-active`]:Kt<=en-1}),style:{backgroundColor:Kt<=en-1?$t:Nt,width:Un,height:xn}})}return x.createElement("div",{className:`${Tt}-steps-outer`},pa,St)},ut=ee(45930),dt=ee(14747),At=ee(67968),Et=ee(45503);const gt=et=>{const Ue=et?"100%":"-100%";return new ut.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}})},Qt=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}}}}}},rn=et=>{const{componentCls:Ue,iconCls:Ct}=et;return{[Ue]:{[`${Ue}-small&-line, ${Ue}-small&-line ${Ue}-text ${Ct}`]:{fontSize:et.fontSizeSM}}}};var Xt=(0,At.Z)("Progress",et=>{const Ue=et.marginXXS/2,Ct=(0,Et.TS)(et,{progressStepMarginInlineEnd:Ue,progressStepMinWidth:Ue,progressActiveMotionDuration:"2.4s"});return[Qt(Ct),Ot(Ct),bt(Ct),rn(Ct)]},et=>({circleTextColor:et.colorText,defaultColor:et.colorInfo,remainingColor:et.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),$e=function(et,Ue){var Ct={};for(var Pt in et)Object.prototype.hasOwnProperty.call(et,Pt)&&Ue.indexOf(Pt)<0&&(Ct[Pt]=et[Pt]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Zt=0,Pt=Object.getOwnPropertySymbols(et);Zt<Pt.length;Zt++)Ue.indexOf(Pt[Zt])<0&&Object.prototype.propertyIsEnumerable.call(et,Pt[Zt])&&(Ct[Pt[Zt]]=et[Pt[Zt]]);return Ct};const Re=null,Ln=["normal","exception","active","success"];var je=x.forwardRef((et,Ue)=>{const{prefixCls:Ct,className:Pt,rootClassName:Zt,steps:vn,strokeColor:Nt,percent:Tt=0,size:St="default",showInfo:en=!0,type:Gt="line",status:mn,format:Qn,style:xn}=et,Un=$e(et,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),pa=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]),Kt=x.useMemo(()=>!Ln.includes(mn)&&pa>=100?"success":mn||"normal",[mn,pa]),{getPrefixCls:$t,direction:qt,progress:sa}=x.useContext(Me.E_),ra=$t("progress",Ct),[Hn,Oa]=Xt(ra),Ta=x.useMemo(()=>{if(!en)return null;const Bt=mt(et);let xt;const Tn=Qn||(_n=>`${_n}%`),pn=Gt==="line";return Qn||Kt!=="exception"&&Kt!=="success"?xt=Tn(lt(Tt),lt(Bt)):Kt==="exception"?xt=pn?x.createElement(De.Z,null):x.createElement(we.Z,null):Kt==="success"&&(xt=pn?x.createElement(de.Z,null):x.createElement(pe.Z,null)),x.createElement("span",{className:`${ra}-text`,title:typeof xt=="string"?xt:void 0},xt)},[en,Tt,pa,Kt,Gt,ra,Qn]),Pr=Array.isArray(Nt)?Nt[0]:Nt,zr=typeof Nt=="string"||Array.isArray(Nt)?Nt:void 0;let Na;Gt==="line"?Na=vn?x.createElement(at,Object.assign({},et,{strokeColor:zr,prefixCls:ra,steps:vn}),Ta):x.createElement(ha,Object.assign({},et,{strokeColor:Pr,prefixCls:ra,direction:qt}),Ta):(Gt==="circle"||Gt==="dashboard")&&(Na=x.createElement(Ft,Object.assign({},et,{strokeColor:Pr,prefixCls:ra,progressStatus:Kt}),Ta));const Xe=ie()(ra,`${ra}-status-${Kt}`,`${ra}-${Gt==="dashboard"&&"circle"||vn&&"steps"||Gt}`,{[`${ra}-inline-circle`]:Gt==="circle"&&rt(St,"circle")[0]<=20,[`${ra}-show-info`]:en,[`${ra}-${St}`]:typeof St=="string",[`${ra}-rtl`]:qt==="rtl"},sa==null?void 0:sa.className,Pt,Zt,Oa);return Hn(x.createElement("div",Object.assign({ref:Ue,style:Object.assign(Object.assign({},sa==null?void 0:sa.style),xn),className:Xe,role:"progressbar","aria-valuenow":pa},(0,We.Z)(Un,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Na))}),Ht=je},49867:function(ft,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";ee.d(st,{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(Yt){Yt(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(Yt){if(ge===void 0)return Yt;if(!Array.isArray(ge))return Yt[ge];var Zn={};return ge.forEach(function(zn){Zn[zn]=Yt[zn]}),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 Yt(Zn){var zn=Fe(Zn);(0,ke.Z)(It.current,zn,!0)||gn({})}return nt.add(Yt),function(){nt.delete(Yt)}},[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 Yt=vt?{ref:gn}:{},Zn=ie.useRef(0),zn=ie.useRef(Wt),Gn=ge();return Gn!==null?ie.createElement(Ze,(0,ze.Z)({},Wt,Yt)):((!nt||nt(zn.current,Wt))&&(Zn.current+=1),zn.current=Wt,ie.createElement(ue.Provider,{value:Zn.current},ie.createElement(Ze,(0,ze.Z)({},Wt,Yt))))};return vt?ie.forwardRef(It):It}function Ie(Ze,nt){var vt=(0,Be.Yr)(Ze),It=function(Wt,gn){var Yt=vt?{ref:gn}:{};return ge(),ie.createElement(Ze,(0,ze.Z)({},Wt,Yt))};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 Qe(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 lt(){Le={}}function mt(ue,ge,Fe){!ge&&!Le[Fe]&&(ue(!1,Fe),Le[Fe]=!0)}function Vt(ue,ge){mt(Ke,ue,ge)}function cn(ue,ge){mt(qe,ue,ge)}Vt.preMessage=He,Vt.resetWarned=lt,Vt.noteOnce=cn;var rt=Vt;function yt(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 Yt=Object.keys(nt);return Yt.length!==Object.keys(vt).length?!1:Yt.every(function(Zn){return Ze(nt[Zn],vt[Zn],Wt)})}return!1}return Ze(ue,ge)}var Lt=yt;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 Sn(ue){return ue==null?[]:Array.isArray(ue)?ue:[ue]}function wn(ue){var ge=[],Fe={};return ue.forEach(function(Ie){for(var Ze=Ie||{},nt=Ze.key,vt=Ze.dataIndex,It=nt||Sn(vt).join("-")||_e;Fe[It];)It="".concat(It,"_next");Fe[It]=!0,ge.push(It)}),ge}function ha(ue){return ue!=null}function Mn(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=Qe(function(){if(ha(Ie))return[Ie];var Wt=ge==null||ge===""?[]:Array.isArray(ge)?ge:[ge],gn=ct(ue,Wt),Yt=gn,Zn=void 0;if(Ze){var zn=Ze(gn,ue,Fe);Mn(zn)?(Yt=zn.children,Zn=zn.props,vt.renderWithProps=!0):Yt=zn}return[Yt,Zn]},[It,ue,Ie,ge,Ze,Fe],function(Wt,gn){if(nt){var Yt=(0,pe.Z)(Wt,2),Zn=Yt[1],zn=(0,pe.Z)(gn,2),Gn=zn[1];return nt(Gn,Zn)}return vt.renderWithProps?!0:!Lt(Wt,gn,!0)});return Mt}function ut(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=ut(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,Yt=ue.ellipsis,Zn=ue.scope,zn=ue.prefixCls,Gn=ue.className,ta=ue.align,hn=ue.record,Sa=ue.render,la=ue.dataIndex,Ga=ue.renderIndex,gr=ue.shouldCellUpdate,yr=ue.index,nr=ue.rowType,Or=ue.colSpan,Xr=ue.rowSpan,Ya=ue.fixLeft,or=ue.fixRight,$a=ue.firstFixLeft,Ka=ue.lastFixLeft,qa=ue.firstFixRight,Rr=ue.lastFixRight,no=ue.appendNode,_r=ue.additionalProps,xr=_r===void 0?{}:_r,ao=ue.isSticky,ho="".concat(zn,"-cell"),Vo=Te(ae,["supportSticky","allColumnsFixedLeft"]),xo=Vo.supportSticky,Si=Vo.allColumnsFixedLeft,Pi=at(hn,la,Ga,gn,Sa,gr),Jr=(0,pe.Z)(Pi,2),Li=Jr[0],Mo=Jr[1],gi={},li=typeof Ya=="number"&&xo,pl=typeof or=="number"&&xo;li&&(gi.position="sticky",gi.left=Ya),pl&&(gi.position="sticky",gi.right=or);var Er=(ge=(Fe=(Ie=Mo==null?void 0:Mo.colSpan)!==null&&Ie!==void 0?Ie:xr.colSpan)!==null&&Fe!==void 0?Fe:Or)!==null&&ge!==void 0?ge:1,Dr=(Ze=(nt=(vt=Mo==null?void 0:Mo.rowSpan)!==null&&vt!==void 0?vt:xr.rowSpan)!==null&&nt!==void 0?nt:Xr)!==null&&Ze!==void 0?Ze:1,Ar=dt(yr,Dr),hr=(0,pe.Z)(Ar,2),Oo=hr[0],vr=hr[1],Wr=function(ki){var hl;hn&&vr(yr,yr+Dr-1),xr==null||(hl=xr.onMouseEnter)===null||hl===void 0||hl.call(xr,ki)},Bo=function(ki){var hl;hn&&vr(-1,-1),xr==null||(hl=xr.onMouseLeave)===null||hl===void 0||hl.call(xr,ki)};if(Er===0||Dr===0)return null;var vo=(It=xr.title)!==null&&It!==void 0?It:At({rowType:nr,ellipsis:Yt,children:Li}),rl=Ne()(ho,Gn,(Mt={},(0,ye.Z)(Mt,"".concat(ho,"-fix-left"),li&&xo),(0,ye.Z)(Mt,"".concat(ho,"-fix-left-first"),$a&&xo),(0,ye.Z)(Mt,"".concat(ho,"-fix-left-last"),Ka&&xo),(0,ye.Z)(Mt,"".concat(ho,"-fix-left-all"),Ka&&Si&&xo),(0,ye.Z)(Mt,"".concat(ho,"-fix-right"),pl&&xo),(0,ye.Z)(Mt,"".concat(ho,"-fix-right-first"),qa&&xo),(0,ye.Z)(Mt,"".concat(ho,"-fix-right-last"),Rr&&xo),(0,ye.Z)(Mt,"".concat(ho,"-ellipsis"),Yt),(0,ye.Z)(Mt,"".concat(ho,"-with-append"),no),(0,ye.Z)(Mt,"".concat(ho,"-fix-sticky"),(li||pl)&&ao&&xo),(0,ye.Z)(Mt,"".concat(ho,"-row-hover"),!Mo&&Oo),Mt),xr.className,Mo==null?void 0:Mo.className),nl={};ta&&(nl.textAlign=ta);var Ol=(0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)({},gi),xr.style),nl),Mo==null?void 0:Mo.style),Ri=Li;return(0,Ce.Z)(Ri)==="object"&&!Array.isArray(Ri)&&!ie.isValidElement(Ri)&&(Ri=null),Yt&&(Ka||qa)&&(Ri=ie.createElement("span",{className:"".concat(ho,"-content")},Ri)),ie.createElement(Wt,(0,ze.Z)({},Mo,xr,{className:rl,style:Ol,title:vo,scope:Zn,onMouseEnter:Wr,onMouseLeave:Bo,colSpan:Er!==1?Er:null,rowSpan:Dr!==1?Dr:null}),no,Ri)}var gt=ie.memo(Et);function Qt(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,Yt=!1,Zn=!1,zn=!1,Gn=Fe[ge+1],ta=Fe[ue-1],hn=!(nt!=null&&nt.children);if(Ze==="rtl"){if(Mt!==void 0){var Sa=ta&&ta.fixed==="left";zn=!Sa&&hn}else if(Wt!==void 0){var la=Gn&&Gn.fixed==="right";Zn=!la&&hn}}else if(Mt!==void 0){var Ga=Gn&&Gn.fixed==="left";gn=!Ga&&hn}else if(Wt!==void 0){var gr=ta&&ta.fixed==="right";Yt=!gr&&hn}return{fixLeft:Mt,fixRight:Wt,lastFixLeft:gn,firstFixRight:Yt,lastFixRight:Zn,firstFixLeft:zn,isSticky:Ie.isSticky}}var Ot=ie.createContext({}),bt=Ot;function rn(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,Yt=ie.useContext(bt),Zn=Yt.scrollColumnIndex,zn=Yt.stickyOffsets,Gn=Yt.flattenColumns,ta=Yt.columns,hn=Fe+nt-1,Sa=hn+1===Zn?nt+1:nt,la=Qt(Fe,Fe+Sa-1,Gn,zn,gn,ta==null?void 0:ta[Fe]);return ie.createElement(gt,(0,ze.Z)({className:ge,index:Fe,component:"td",prefixCls:Wt,record:null,dataIndex:null,align:It,colSpan:Sa,rowSpan:vt,render:function(){return Ie}},la))}var Xt=ee(45987),$e=["children"];function Re(ue){var ge=ue.children,Fe=(0,Xt.Z)(ue,$e);return ie.createElement("tr",Fe,ge)}function Ln(ue){var ge=ue.children;return ge}Ln.Row=Re,Ln.Cell=rn;var xe=Ln;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 Pt=Ct()?ie.useLayoutEffect:ie.useEffect,Zt=function(ge,Fe){var Ie=React.useRef(!0);Pt(function(){return ge(Ie.current)},Fe),Pt(function(){return Ie.current=!1,function(){Ie.current=!0}},[])},vn=function(ge,Fe){Zt(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 en(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],Yt=Ze!==void 0?Ze:Wt,Zn=vt?vt(Yt):Yt,zn=useEvent(nt),Gn=useState([Yt]),ta=_slicedToArray(Gn,2),hn=ta[0],Sa=ta[1];useLayoutUpdateEffect(function(){var Ga=hn[0];Wt!==Ga&&zn(Wt,Ga)},[hn]),useLayoutUpdateEffect(function(){St(Ze)||gn(Ze)},[Ze]);var la=useEvent(function(Ga,gr){gn(Ga,gr),Sa([Yt],gr)});return[Zn,la]}var Gt=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 xn(){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 Un(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 pa(ue){return!isValidElement(ue)||isFragment(ue)?!1:Un(ue)}function Kt(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]=Kt(It[nt],vt,Fe,Ie),It}function $t(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:Kt(ue,ge,Fe,Ie)}function qt(ue){return _typeof(ue)==="object"&&ue!==null&&Object.getPrototypeOf(ue)===Object.prototype}function sa(ue){return Array.isArray(ue)?[]:{}}var ra=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Hn(){for(var ue=arguments.length,ge=new Array(ue),Fe=0;Fe<ue;Fe++)ge[Fe]=arguments[Fe];var Ie=sa(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||qt(Wt)){if(!Mt.has(Wt)){Mt.add(Wt);var Yt=get(Ie,vt);gn?Ie=$t(Ie,vt,[]):(!Yt||_typeof(Yt)!=="object")&&(Ie=$t(Ie,vt,sa(Wt))),ra(Wt).forEach(function(Zn){nt([].concat(_toConsumableArray(vt),[Zn]),Mt)})}}else Ie=$t(Ie,vt,Wt)}nt([])}),Ie}var Oa=ee(48555),Ta=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},Pr=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(!Pr(ge))return!1;var Ie=document.createElement("div"),Ze=Ie.style[ge];return Ie.style[ge]=Fe,Ie.style[ge]!==Ze};function Na(ue,ge){return!Array.isArray(ue)&&ge!==void 0?zr(ue,ge):Pr(ue)}var Xe;function Bt(ue){if(typeof document=="undefined")return 0;if(ue||Xe===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),Xe=Ze-nt}return Xe}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`,Qr="".concat(pn," ").concat(_n).split(/[\s\n]+/),Ra="aria-",br="data-";function Vr(ue,ge){return ue.indexOf(ge)===0}function mo(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"||Vr(Ze,Ra))||Fe.data&&Vr(Ze,br)||Fe.attr&&Qr.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,Yt=Wt.fixHeader,Zn=Wt.fixColumn,zn=Wt.componentWidth,Gn=Wt.horizonScroll,ta=Fe;return(Mt?Gn&&zn:Zn)&&(ta=ie.createElement("div",{style:{width:zn-(Yt?gn:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ge,"-expanded-row-fixed")},ta)),ie.createElement(Ie,{className:nt,style:{display:vt?null:"none"}},ie.createElement(gt,{component:Ze,prefixCls:ge,colSpan:It},ta))}var Jt=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,Yt=Ze.onRow,Zn=Ze.expandRowByClick,zn=Ze.rowClassName,Gn=vt==="nest",ta=vt==="row"&&(!gn||gn(ue)),hn=ta||Gn,Sa=It&&It.has(ge),la=Mt&&ue&&ue[Mt],Ga=Ue(Wt),gr=Yt==null?void 0:Yt(ue,Fe),yr=gr==null?void 0:gr.onClick,nr=function(or){Zn&&hn&&Wt(ue,or);for(var $a=arguments.length,Ka=new Array($a>1?$a-1:0),qa=1;qa<$a;qa++)Ka[qa-1]=arguments[qa];yr==null||yr.apply(void 0,[or].concat(Ka))},Or;typeof zn=="string"?Or=zn:typeof zn=="function"&&(Or=zn(ue,Fe,Ie));var Xr=wn(nt);return(0,be.Z)((0,be.Z)({},Ze),{},{columnsKey:Xr,nestExpandable:Gn,expanded:Sa,hasNestChildren:la,record:ue,onTriggerExpand:Ga,rowSupportExpand:ta,expandable:hn,rowProps:(0,be.Z)((0,be.Z)({},gr),{},{className:Ne()(Or,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,Yt=ue.indentSize,Zn=ue.expandIcon,zn=ue.expanded,Gn=ue.hasNestChildren,ta=ue.onTriggerExpand,hn=It[Fe],Sa=Mt[Fe],la;Fe===(Wt||0)&&gn&&(la=ie.createElement(ie.Fragment,null,ie.createElement("span",{style:{paddingLeft:"".concat(Yt*Ie,"px")},className:"".concat(vt,"-row-indent indent-level-").concat(Ie)}),Zn({prefixCls:vt,expanded:zn,expandable:Gn,record:nt,onExpand:ta})));var Ga;return ge.onCell&&(Ga=ge.onCell(nt,Ze)),{key:hn,fixedInfo:Sa,appendCellNode:la,additionalCellProps:Ga||{}}}function jn(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,Yt=ue.scopeCellComponent,Zn=Ut(Ie,vt,Ze,Mt),zn=Zn.prefixCls,Gn=Zn.flattenColumns,ta=Zn.expandedRowClassName,hn=Zn.expandedRowRender,Sa=Zn.rowProps,la=Zn.expanded,Ga=Zn.rowSupportExpand,gr=ie.useState(!1),yr=(0,pe.Z)(gr,2),nr=yr[0],Or=yr[1];ie.useEffect(function(){la&&Or(!0)},[la]);var Xr=ie.createElement(Wt,(0,ze.Z)({},Sa,{"data-row-key":vt,className:Ne()(ge,"".concat(zn,"-row"),"".concat(zn,"-row-level-").concat(Mt),Sa==null?void 0:Sa.className),style:(0,be.Z)((0,be.Z)({},Fe),Sa==null?void 0:Sa.style)}),Gn.map(function(Ka,qa){var Rr=Ka.render,no=Ka.dataIndex,_r=Ka.className,xr=dn(Zn,Ka,qa,Mt,Ze),ao=xr.key,ho=xr.fixedInfo,Vo=xr.appendCellNode,xo=xr.additionalCellProps;return ie.createElement(gt,(0,ze.Z)({className:_r,ellipsis:Ka.ellipsis,align:Ka.align,scope:Ka.rowScope,component:Ka.rowScope?Yt:gn,prefixCls:zn,key:ao,record:Ie,index:Ze,renderIndex:nt,dataIndex:no,render:Rr,shouldCellUpdate:Ka.shouldCellUpdate},ho,{appendNode:Vo,additionalProps:xo}))})),Ya;if(Ga&&(nr||la)){var or=hn(Ie,Ze,Mt+1,la),$a=ta&&ta(Ie,Ze,Mt);Ya=ie.createElement(Jt,{expanded:la,className:Ne()("".concat(zn,"-expanded-row"),"".concat(zn,"-expanded-row-level-").concat(Mt+1),$a),prefixCls:zn,component:Wt,cellComponent:gn,colSpan:Gn.length,isEmpty:!1},or)}return ie.createElement(ie.Fragment,null,Xr,Ya)}jn.displayName="BodyRow";var tn=te(jn);function Yn(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 Pn(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(Yn,{key:Ze,columnKey:Ze,onColumnResize:Ie})})))}function ua(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,Yt=Ie.emptyNode,Zn=ur(ge,gn,Wt,Mt),zn=ie.useRef({renderWithProps:!1}),Gn=nt(["body","wrapper"],"tbody"),ta=nt(["body","row"],"tr"),hn=nt(["body","cell"],"td"),Sa=nt(["body","cell"],"th"),la;ge.length?la=Zn.map(function(gr,yr){var nr=gr.record,Or=gr.indent,Xr=gr.index,Ya=Mt(nr,yr);return ie.createElement(tn,{key:Ya,rowKey:Ya,record:nr,index:yr,renderIndex:Xr,rowComponent:ta,cellComponent:hn,scopeCellComponent:Sa,getRowKey:Mt,indent:Or})}):la=ie.createElement(Jt,{expanded:!0,className:"".concat(Ze,"-placeholder"),prefixCls:Ze,component:ta,cellComponent:hn,colSpan:It.length,isEmpty:!0},Yt);var Ga=wn(It);return ie.createElement(jt.Provider,{value:zn.current},ie.createElement(Gn,{className:"".concat(Ze,"-tbody")},Fe&&ie.createElement(Pn,{prefixCls:Ze,columnsKey:Ga,onColumnResize:vt}),la))}ua.displayName="Body";var Ha=te(ua),ir=["expandable"],Mr="RC_TABLE_INTERNAL_COL_DEFINE";function Hr(ue){var ge=ue.expandable,Fe=(0,Xt.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 oo=["columnType"];function zo(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[Mr];if(Mt||gn||vt){var Yt=gn||{},Zn=Yt.columnType,zn=(0,Xt.Z)(Yt,oo);Ze.unshift(ie.createElement("col",(0,ze.Z)({key:It,style:{width:Mt}},zn))),vt=!0}}return ie.createElement("colgroup",null,Ze)}var Kn=zo,Br=ee(74902),To=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function oa(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 Za=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,Yt=ue.stickyTopOffset,Zn=ue.stickyBottomOffset,zn=ue.stickyClassName,Gn=ue.onScroll,ta=ue.maxContentScroll,hn=ue.children,Sa=(0,Xt.Z)(ue,To),la=Te(ae,["prefixCls","scrollbarSize","isSticky"]),Ga=la.prefixCls,gr=la.scrollbarSize,yr=la.isSticky,nr=yr&&!gn?0:gr,Or=ie.useRef(null),Xr=ie.useCallback(function(_r){mn(ge,_r),mn(Or,_r)},[]);ie.useEffect(function(){var _r;function xr(ao){var ho=ao,Vo=ho.currentTarget,xo=ho.deltaX;xo&&(Gn({currentTarget:Vo,scrollLeft:Vo.scrollLeft+xo}),ao.preventDefault())}return(_r=Or.current)===null||_r===void 0||_r.addEventListener("wheel",xr),function(){var ao;(ao=Or.current)===null||ao===void 0||ao.removeEventListener("wheel",xr)}},[]);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(Ga,"-cell-scrollbar")}}},Ka=(0,ie.useMemo)(function(){return nr?[].concat((0,Br.Z)(Ze),[$a]):Ze},[nr,Ze]),qa=(0,ie.useMemo)(function(){return nr?[].concat((0,Br.Z)(nt),[$a]):nt},[nr,nt]),Rr=(0,ie.useMemo)(function(){var _r=Mt.right,xr=Mt.left;return(0,be.Z)((0,be.Z)({},Mt),{},{left:Wt==="rtl"?[].concat((0,Br.Z)(xr.map(function(ao){return ao+nr})),[0]):xr,right:Wt==="rtl"?_r:[].concat((0,Br.Z)(_r.map(function(ao){return ao+nr})),[0]),isSticky:yr})},[nr,Mt,yr]),no=oa(vt,It);return ie.createElement("div",{style:(0,be.Z)({overflow:"hidden"},yr?{top:Yt,bottom:Zn}:{}),ref:Xr,className:Ne()(Fe,(0,ye.Z)({},zn,!!zn))},ie.createElement("table",{style:{tableLayout:"fixed",visibility:Ie||no?null:"hidden"}},(!Ie||!ta||Ya)&&ie.createElement(Kn,{colWidths:no?[].concat((0,Br.Z)(no),[nr]):[],columCount:It+1,columns:qa}),hn((0,be.Z)((0,be.Z)({},Sa),{},{stickyOffsets:Rr,columns:Ka,flattenColumns:qa}))))});Za.displayName="FixedHolder";var mr=ie.memo(Za);function da(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,Yt=Wt.direction,Zn;It&&(Zn=It(ge.map(function(Gn){return Gn.column}),Mt));var zn=wn(ge.map(function(Gn){return Gn.column}));return ie.createElement(Ze,Zn,ge.map(function(Gn,ta){var hn=Gn.column,Sa=Qt(Gn.colStart,Gn.colEnd,Ie,Fe,Yt,hn),la;return hn&&hn.onHeaderCell&&(la=Gn.column.onHeaderCell(hn)),ie.createElement(gt,(0,ze.Z)({},Gn,{scope:hn.title?Gn.colSpan>1?"colgroup":"col":null,ellipsis:hn.ellipsis,align:hn.align,component:hn.title?nt:vt,prefixCls:gn,key:zn[ta]},Sa,{additionalProps:la,rowType:"header"}))}))}da.displayName="HeaderRow";var io=da;function fr(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(Yt){var Zn={key:Yt.key,className:Yt.className||"",children:Yt.title,column:Yt,colStart:Wt},zn=1,Gn=Yt.children;return Gn&&Gn.length>0&&(zn=Fe(Gn,Wt,Mt+1).reduce(function(ta,hn){return ta+hn},0),Zn.hasSubColumns=!0),"colSpan"in Yt&&(zn=Yt.colSpan),"rowSpan"in Yt&&(Zn.rowSpan=Yt.rowSpan),Zn.colSpan=zn,Zn.colEnd=Zn.colStart+zn-1,ge[Mt].push(Zn),Wt+=zn,zn});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 fr(Fe)},[Fe]),Wt=It(["header","wrapper"],"thead"),gn=It(["header","row"],"tr"),Yt=It(["header","cell"],"th"),Zn=It(["header","cell"],"td");return ie.createElement(Wt,{className:"".concat(vt,"-thead")},Mt.map(function(zn,Gn){var ta=ie.createElement(io,{key:Gn,flattenColumns:Ie,cells:zn,stickyOffsets:ge,rowComponent:gn,cellComponent:Yt,tdCellComponent:Zn,onHeaderRow:Ze,index:Gn});return ta}))}var So=te(wo);function Ro(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(Ro(Ie)):(0,Gt.isFragment)(Ie)&&Ie.props?Fe=Fe.concat(Ro(Ie.props.children,ge)):Fe.push(Ie))}),Fe}function Ni(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 qo(ue,ge){return ie.useMemo(function(){if(ge&&ge>0){var Fe=0,Ie=0;ue.forEach(function(Wt){var gn=Ni(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),Yt=Ni(ge,gn.width);if(Yt)gn.width=Yt;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 ul=["children"],Yi=["fixed"];function kn(ue){return Ro(ue).filter(function(ge){return ie.isValidElement(ge)}).map(function(ge){var Fe=ge.key,Ie=ge.props,Ze=Ie.children,nt=(0,Xt.Z)(Ie,ul),vt=(0,be.Z)({key:Fe},nt);return Ze&&(vt.children=kn(Ze)),vt})}function wa(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,Br.Z)(Fe),(0,Br.Z)(wa(Mt,It).map(function(Wt){return(0,be.Z)({fixed:vt},Wt)}))):[].concat((0,Br.Z)(Fe),[(0,be.Z)((0,be.Z)({key:It},Ie),{},{fixed:vt})])},[])}function lo(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 Go(ue){return ue.map(function(ge){var Fe=ge.fixed,Ie=(0,Xt.Z)(ge,Yi),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,Yt=ue.rowExpandable,Zn=ue.expandIconColumnIndex,zn=ue.direction,Gn=ue.expandRowByClick,ta=ue.columnWidth,hn=ue.fixed,Sa=ue.scrollWidth,la=ie.useMemo(function(){return Ie||kn(Ze)},[Ie,Ze]),Ga=ie.useMemo(function(){if(nt){var or,$a=la.slice();if(!$a.includes(x)){var Ka=Zn||0;Ka>=0&&$a.splice(Ka,0,x)}var qa=$a.indexOf(x);$a=$a.filter(function(xr,ao){return xr!==x||ao===qa});var Rr=la[qa],no;(hn==="left"||hn)&&!Zn?no="left":(hn==="right"||hn)&&Zn===la.length?no="right":no=Rr?Rr.fixed:null;var _r=(or={},(0,ye.Z)(or,Mr,{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",ta),(0,ye.Z)(or,"render",function(ao,ho,Vo){var xo=Mt(ho,Vo),Si=vt.has(xo),Pi=Yt?Yt(ho):!0,Jr=gn({prefixCls:Fe,expanded:Si,expandable:Pi,record:ho,onExpand:Wt});return Gn?ie.createElement("span",{onClick:function(Mo){return Mo.stopPropagation()}},Jr):Jr}),or);return $a.map(function(xr){return xr===x?_r:xr})}return la.filter(function(xr){return xr!==x})},[nt,la,Mt,vt,gn,zn]),gr=ie.useMemo(function(){var or=Ga;return ge&&(or=ge(or)),or.length||(or=[{render:function(){return null}}]),or},[ge,Ga,zn]),yr=ie.useMemo(function(){return zn==="rtl"?Go(wa(gr)):wa(gr)},[gr,zn,Sa]),nr=qo(yr,Sa),Or=(0,pe.Z)(nr,2),Xr=Or[0],Ya=Or[1];return[gr,Xr,Ya]}var wi=xi;function si(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 zi(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,Yt=Ie.childrenColumnName,Zn=Ze||si,zn=Yt||"children",Gn=ie.useMemo(function(){return Mt?"row":ue.expandable&&ue.internalHooks===de&&ue.expandable.__PARENT_RENDER_ICON__||ge.some(function(yr){return yr&&(0,Ce.Z)(yr)==="object"&&yr[zn]})?"nest":!1},[!!Mt,ge]),ta=ie.useState(function(){return vt||(It?zi(ge,Fe,zn):[])}),hn=(0,pe.Z)(ta,2),Sa=hn[0],la=hn[1],Ga=ie.useMemo(function(){return new Set(nt||Sa||[])},[nt,Sa]),gr=ie.useCallback(function(yr){var nr=Fe(yr,ge.indexOf(yr)),Or,Xr=Ga.has(nr);Xr?(Ga.delete(nr),Or=(0,Br.Z)(Ga)):Or=[].concat((0,Br.Z)(Ga),[nr]),la(Or),Wt&&Wt(!Xr,yr),gn&&gn(Or)},[Fe,Ga,ge,Wt,gn]);return[Ie,Gn,Ga,Zn,zn,gr]}function ce(ue,ge,Fe,Ie){var Ze=ue.map(function(nt,vt){return Qt(vt,vt,ue,ge,Fe,Ie==null?void 0:Ie[vt])});return Qe(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,Yt=ge.current;vt.current=[],gn.forEach(function(Zn){ge.current=Zn(ge.current)}),nt.current=null,Yt!==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 Je=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 Je}:Wt,Yt=gn()||Je;return ie.useMemo(function(){var Zn=!!ue;return{isSticky:Zn,stickyClassName:Zn?"".concat(ge,"-sticky-holder"):"",offsetHeader:Ze,offsetSummary:vt,offsetScroll:Mt,container:Yt}},[Mt,Ze,vt,ge,Yt])}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 it(ue){var ge=ue.className,Fe=ue.children;return ie.createElement("div",{className:ge},Fe)}var ht=it;function nn(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/,$n={left:!0,top:!0},In={cssFloat:1,styleFloat:1,float:1};function Aa(ue){return ue.nodeType===1?ue.ownerDocument.defaultView.getComputedStyle(ue,null):{}}function va(ue,ge,Fe){if(ge=ge.toLowerCase(),Fe==="auto"){if(ge==="height")return ue.offsetHeight;if(ge==="width")return ue.offsetWidth}return ge in $n||($n[ge]=fn.test(ge)),$n[ge]?parseFloat(Fe)||0:Fe}function Fa(ue,ge){var Fe=arguments.length,Ie=Aa(ue);return ge=In[ge]?"cssFloat"in ue.style?"cssFloat":"styleFloat":ge,Fe===1?Ie:va(ue,ge,Ie[ge]||ue.style[ge])}function Wn(ue,ge,Fe){var Ie=arguments.length;if(ge=In[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)&&Wn(ue,Ze,ge[Ze]);return Aa(ue)}function Cn(ue){return ue===document.body?document.documentElement.clientWidth:ue.offsetWidth}function on(ue){return ue===document.body?window.innerHeight||document.documentElement.clientHeight:ue.offsetHeight}function yn(){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 An(){var ue=document.documentElement.clientWidth,ge=window.innerHeight||document.documentElement.clientHeight;return{width:ue,height:ge}}function ea(){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 Ba=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,Yt=((Ze=nt.current)===null||Ze===void 0?void 0:Ze.clientWidth)||0,Zn=gn&&Yt*(Yt/gn),zn=ie.useRef(),Gn=Pe({scrollLeft:0,isHiddenScrollBar:!1}),ta=(0,pe.Z)(Gn,2),hn=ta[0],Sa=ta[1],la=ie.useRef({delta:0,x:0}),Ga=ie.useState(!1),gr=(0,pe.Z)(Ga,2),yr=gr[0],nr=gr[1],Or=function(){nr(!1)},Xr=function(qa){qa.persist(),la.current.delta=qa.pageX-hn.scrollLeft,la.current.x=0,nr(!0),qa.preventDefault()},Ya=function(qa){var Rr,no=qa||((Rr=window)===null||Rr===void 0?void 0:Rr.event),_r=no.buttons;if(!yr||_r===0){yr&&nr(!1);return}var xr=la.current.x+qa.pageX-la.current.x-la.current.delta;xr<=0&&(xr=0),xr+Zn>=Yt&&(xr=Yt-Zn),vt({scrollLeft:xr/Yt*(gn+2)}),la.current.x=qa.pageX},or=function(){if(nt.current){var qa=za(nt.current).top,Rr=qa+nt.current.offsetHeight,no=Mt===window?document.documentElement.scrollTop+window.innerHeight:za(Mt).top+Mt.clientHeight;Rr-Bt()<=no||qa>=no-It?Sa(function(_r){return(0,be.Z)((0,be.Z)({},_r),{},{isHiddenScrollBar:!0})}):Sa(function(_r){return(0,be.Z)((0,be.Z)({},_r),{},{isHiddenScrollBar:!1})})}},$a=function(qa){Sa(function(Rr){return(0,be.Z)((0,be.Z)({},Rr),{},{scrollLeft:qa/gn*Yt||0})})};return ie.useImperativeHandle(Fe,function(){return{setScrollLeft:$a}}),ie.useEffect(function(){var Ka=nn(document.body,"mouseup",Or,!1),qa=nn(document.body,"mousemove",Ya,!1);return or(),function(){Ka.remove(),qa.remove()}},[Zn,yr]),ie.useEffect(function(){var Ka=nn(Mt,"scroll",or,!1),qa=nn(window,"resize",or,!1);return function(){Ka.remove(),qa.remove()}},[Mt]),ie.useEffect(function(){hn.isHiddenScrollBar||Sa(function(Ka){var qa=nt.current;return qa?(0,be.Z)((0,be.Z)({},Ka),{},{scrollLeft:qa.scrollLeft/qa.scrollWidth*qa.clientWidth}):Ka})},[hn.isHiddenScrollBar]),gn<=Yt||!Zn||hn.isHiddenScrollBar?null:ie.createElement("div",{style:{height:Bt(),width:Yt,bottom:It},className:"".concat(Wt,"-sticky-scroll")},ie.createElement("div",{onMouseDown:Xr,ref:zn,className:Ne()("".concat(Wt,"-sticky-scroll-bar"),(0,ye.Z)({},"".concat(Wt,"-sticky-scroll-bar-active"),yr)),style:{width:"".concat(Zn,"px"),transform:"translate3d(".concat(hn.scrollLeft,"px, 0, 0)")}}))},qn=ie.forwardRef(Ba);function Ea(ue){return null}var Ma=Ea;function La(ue){return null}var er=La,Sr="rc-table",eo=[],Lo={};function ga(){return"No Data"}function ii(ue){var ge,Fe=(0,be.Z)({rowKey:"key",prefixCls:Sr,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,Yt=Fe.direction,Zn=Fe.title,zn=Fe.footer,Gn=Fe.summary,ta=Fe.caption,hn=Fe.id,Sa=Fe.showHeader,la=Fe.components,Ga=Fe.emptyText,gr=Fe.onRow,yr=Fe.onHeaderRow,nr=Fe.internalHooks,Or=Fe.transformColumns,Xr=Fe.internalRefs,Ya=Fe.tailor,or=Fe.sticky,$a=It||eo,Ka=!!$a.length,qa=nr===de,Rr=ie.useCallback(function(Qo,bi){return ct(la,Qo)||bi},[la]),no=ie.useMemo(function(){return typeof Mt=="function"?Mt:function(Qo){var bi=Qo&&Qo[Mt];return bi}},[Mt]),_r=Rr(["body"]),xr=Se(),ao=(0,pe.Z)(xr,3),ho=ao[0],Vo=ao[1],xo=ao[2],Si=jr(Fe,$a,no),Pi=(0,pe.Z)(Si,6),Jr=Pi[0],Li=Pi[1],Mo=Pi[2],gi=Pi[3],li=Pi[4],pl=Pi[5],Er=Wt==null?void 0:Wt.x,Dr=ie.useState(0),Ar=(0,pe.Z)(Dr,2),hr=Ar[0],Oo=Ar[1],vr=wi((0,be.Z)((0,be.Z)((0,be.Z)({},Fe),Jr),{},{expandable:!!Jr.expandedRowRender,columnTitle:Jr.columnTitle,expandedKeys:Mo,getRowKey:no,onTriggerExpand:pl,expandIcon:gi,expandIconColumnIndex:Jr.expandIconColumnIndex,direction:Yt,scrollWidth:qa&&Ya&&typeof Er=="number"?Er:null}),qa?Or:null),Wr=(0,pe.Z)(vr,3),Bo=Wr[0],vo=Wr[1],rl=Wr[2],nl=rl!=null?rl:Er,Ol=ie.useMemo(function(){return{columns:Bo,flattenColumns:vo}},[Bo,vo]),Ri=ie.useRef(),Rl=ie.useRef(),ki=ie.useRef(),hl=ie.useRef(),gu=ie.useRef(),jo=ie.useState(!1),Wo=(0,pe.Z)(jo,2),mi=Wo[0],Zi=Wo[1],Gi=ie.useState(!1),fo=(0,pe.Z)(Gi,2),vl=fo[0],ol=fo[1],bl=Pe(new Map),Gl=(0,pe.Z)(bl,2),Kl=Gl[0],vu=Gl[1],tu=wn(vo),Ml=tu.map(function(Qo){return Kl.get(Qo)}),Sl=ie.useMemo(function(){return Ml},[Ml.join("_")]),sl=tt(Sl,vo.length,Yt),Ki=Wt&&ha(Wt.y),yi=Wt&&ha(nl)||!!Jr.fixed,Ul=yi&&vo.some(function(Qo){var bi=Qo.fixed;return bi}),mu=ie.useRef(),$l=ot(or,Ie),Vl=$l.isSticky,Fu=$l.offsetHeader,Cu=$l.offsetSummary,ro=$l.offsetScroll,ri=$l.stickyClassName,il=$l.container,fi=ie.useMemo(function(){return Gn==null?void 0:Gn($a)},[Gn,$a]),ll=(Ki||Vl)&&ie.isValidElement(fi)&&fi.type===xe&&fi.props.fixed,xl,wl,nu;Ki&&(wl={overflowY:"scroll",maxHeight:Wt.y}),yi&&(xl={overflowX:"auto"},Ki||(wl={overflowY:"hidden"}),nu={width:nl===!0?"auto":nl,minWidth:"100%"});var Du=ie.useCallback(function(Qo,bi){Ta(Ri.current)&&vu(function(Yl){if(Yl.get(Qo)!==bi){var yu=new Map(Yl);return yu.set(Qo,bi),yu}return Yl})},[]),Tu=Oe(null),Bu=(0,pe.Z)(Tu,2),Ru=Bu[0],Au=Bu[1];function Su(Qo,bi){bi&&(typeof bi=="function"?bi(Qo):bi.scrollLeft!==Qo&&(bi.scrollLeft=Qo,bi.scrollLeft!==Qo&&setTimeout(function(){bi.scrollLeft=Qo},0)))}var iu=Ue(function(Qo){var bi=Qo.currentTarget,Yl=Qo.scrollLeft,yu=Yt==="rtl",Eu=typeof Yl=="number"?Yl:bi.scrollLeft,ts=bi||Lo;if(!Au()||Au()===ts){var Gu;Ru(ts),Su(Eu,Rl.current),Su(Eu,ki.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){Zi(!1),ol(!1);return}yu?(Zi(-Eu<_u-Wu),ol(-Eu>0)):(Zi(Eu>0),ol(Eu<_u-Wu))}}),Lu=function(){yi&&ki.current?iu({currentTarget:ki.current}):(Zi(!1),ol(!1))},ku=function(bi){var Yl=bi.width;Yl!==hr&&(Lu(),Oo(Ri.current?Ri.current.offsetWidth:Yl))},Zo=ie.useRef(!1);ie.useEffect(function(){Zo.current&&Lu()},[yi,It,Bo.length]),ie.useEffect(function(){Zo.current=!0},[]);var Cr=ie.useState(0),Ur=(0,pe.Z)(Cr,2),Io=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)&&(ki.current instanceof Element?Ci(Tn(ki.current).width):Ci(Tn(hl.current).width)),lu(Na("position","sticky"))},[]),ie.useEffect(function(){qa&&Xr&&(Xr.body.current=ki.current)});var bu=ie.useCallback(function(Qo){return ie.createElement(ie.Fragment,null,ie.createElement(So,Qo),ll==="top"&&ie.createElement(Ht,Qo,fi))},[ll,fi]),fu=ie.useCallback(function(Qo){return ie.createElement(Ht,Qo,fi)},[fi]),Zl=Rr(["table"],"table"),Nu=ie.useMemo(function(){return gn||(Ul?nl==="max-content"?"auto":"fixed":Ki||Vl||vo.some(function(Qo){var bi=Qo.ellipsis;return bi})?"fixed":"auto")},[Ki,Ul,vo,gn,Vl]),Zu,zu={colWidths:Sl,columCount:vo.length,stickyOffsets:sl,onHeaderRow:yr,fixHeader:Ki,scroll:Wt},Vu=ie.useMemo(function(){return Ka?null:typeof Ga=="function"?Ga():Ga},[Ka,Ga]),Yu=ie.createElement(Ha,{data:$a,measureColumnWidth:Ki||yi||Vl}),Qu=ie.createElement(Kn,{colWidths:vo.map(function(Qo){var bi=Qo.width;return bi}),columns:vo}),Xu=ta!=null?ie.createElement("caption",{className:"".concat(Ie,"-caption")},ta):void 0,is=mo(Fe,{data:!0}),Ju=mo(Fe,{aria:!0});if(Ki||Vl){var Hu;typeof _r=="function"?(Hu=_r($a,{scrollbarSize:Io,ref:ki,onScroll:iu}),zu.colWidths=vo.map(function(Qo,bi){var Yl=Qo.width,yu=bi===vo.length-1?Yl-Io: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:ki,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,!ll&&fi&&ie.createElement(Ht,{stickyOffsets:sl,flattenColumns:vo,columns:Bo},fi)));var qu=(0,be.Z)((0,be.Z)((0,be.Z)({noData:!$a.length,maxContentScroll:yi&&nl==="max-content"},zu),Ol),{},{direction:Yt,stickyClassName:ri,onScroll:iu});Zu=ie.createElement(ie.Fragment,null,Sa!==!1&&ie.createElement(mr,(0,ze.Z)({},qu,{stickyTopOffset:Fu,className:"".concat(Ie,"-header"),ref:Rl}),bu),Hu,ll&&ll!=="top"&&ie.createElement(mr,(0,ze.Z)({},qu,{stickyBottomOffset:Cu,className:"".concat(Ie,"-summary"),ref:gu}),fu),Vl&&ie.createElement(qn,{ref:mu,offsetScroll:ro,scrollBodyRef:ki,onScroll:iu,container:il}))}else Zu=ie.createElement("div",{style:(0,be.Z)((0,be.Z)({},xl),wl),className:Ne()("".concat(Ie,"-content")),onScroll:iu,ref:ki},ie.createElement(Zl,(0,ze.Z)({style:(0,be.Z)((0,be.Z)({},nu),{},{tableLayout:Nu})},Ju),Xu,Qu,Sa!==!1&&ie.createElement(So,(0,ze.Z)({},zu,Ol)),Yu,fi&&ie.createElement(Ht,{stickyOffsets:sl,flattenColumns:vo,columns:Bo},fi)));var ju=ie.createElement("div",(0,ze.Z)({className:Ne()(Ie,Ze,(ge={},(0,ye.Z)(ge,"".concat(Ie,"-rtl"),Yt==="rtl"),(0,ye.Z)(ge,"".concat(Ie,"-ping-left"),mi),(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"),Ki),(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"),vo[0]&&vo[0].fixed),(0,ye.Z)(ge,"".concat(Ie,"-has-fix-right"),vo[vo.length-1]&&vo[vo.length-1].fixed==="right"),ge)),style:vt,id:hn,ref:Ri},is),Zn&&ie.createElement(ht,{className:"".concat(Ie,"-title")},Zn($a)),ie.createElement("div",{ref:hl,className:"".concat(Ie,"-container")},Zu),zn&&ie.createElement(ht,{className:"".concat(Ie,"-footer")},zn($a)));yi&&(ju=ie.createElement(Oa.Z,{onResize:ku},ju));var es=ce(vo,sl,Yt,Bo),ls=ie.useMemo(function(){return{scrollX:nl,prefixCls:Ie,getComponent:Rr,scrollbarSize:Io,direction:Yt,fixedInfoList:es,isSticky:Vl,supportSticky:au,componentWidth:hr,fixHeader:Ki,fixColumn:Ul,horizonScroll:yi,tableLayout:Nu,rowClassName:nt,expandedRowClassName:Jr.expandedRowClassName,expandIcon:gi,expandableType:Li,expandRowByClick:Jr.expandRowByClick,expandedRowRender:Jr.expandedRowRender,onTriggerExpand:pl,expandIconColumnIndex:Jr.expandIconColumnIndex,indentSize:Jr.indentSize,allColumnsFixedLeft:vo.every(function(Qo){return Qo.fixed==="left"}),emptyNode:Vu,columns:Bo,flattenColumns:vo,onColumnResize:Du,hoverStartRow:ho,hoverEndRow:Vo,onHover:xo,rowExpandable:Jr.rowExpandable,onRow:gr,getRowKey:no,expandedKeys:Mo,childrenColumnName:li}},[nl,Ie,Rr,Io,Yt,es,Vl,au,hr,Ki,Ul,yi,Nu,nt,Jr.expandedRowClassName,gi,Li,Jr.expandRowByClick,Jr.expandedRowRender,pl,Jr.expandIconColumnIndex,Jr.indentSize,Vu,Bo,vo,Du,ho,Vo,xo,Jr.rowExpandable,gr,no,Mo,li]);return ie.createElement(ae.Provider,{value:ls},ju)}function ei(ue){return z(ii,ue)}var Fo=ei();Fo.EXPAND_COLUMN=x,Fo.INTERNAL_HOOKS=de,Fo.Column=Ma,Fo.ColumnGroup=er,Fo.Summary=et;var dl=Fo,Hi=ee(73299),pi=Me(null),Fi=Me(null);function Qi(ue,ge,Fe){var Ie=ge||1;return Fe[ue+Ie]-(Fe[ue]||0)}function Xo(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,Yt=ue.getHeight,Zn=Fe.render,zn=Fe.dataIndex,Gn=Fe.className,ta=Fe.width,hn=Te(Fi,["columnsOffset"]),Sa=hn.columnsOffset,la=dn(ge,Fe,Ie,Ze,nt),Ga=la.key,gr=la.fixedInfo,yr=la.appendCellNode,nr=la.additionalCellProps,Or=nr.style,Xr=nr.colSpan,Ya=Xr===void 0?1:Xr,or=nr.rowSpan,$a=or===void 0?1:or,Ka=Ie-1,qa=Qi(Ka,Ya,Sa),Rr=Ya>1?ta-qa:0,no=(0,be.Z)((0,be.Z)((0,be.Z)({},Or),Mt),{},{flex:"0 0 ".concat(qa,"px"),width:"".concat(qa,"px"),marginRight:Rr,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=Yt==null?void 0:Yt($a));var xr=_r?function(){return null}:Zn,ao={};return($a===0||Ya===0)&&(ao.rowSpan=1,ao.colSpan=1),ie.createElement(gt,(0,ze.Z)({className:Ne()(Gn,Wt),ellipsis:Fe.ellipsis,align:Fe.align,scope:Fe.rowScope,component:"div",prefixCls:ge.prefixCls,key:Ga,record:It,index:nt,renderIndex:vt,dataIndex:zn,render:xr,shouldCellUpdate:Fe.shouldCellUpdate},gr,{appendNode:yr,additionalProps:(0,be.Z)((0,be.Z)({},nr),{},{style:no},ao)}))}var cl=Xo,_t=["data","index","className","rowKey","style","extra","getHeight"],kt=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,Xt.Z)(ue,_t),gn=Fe.record,Yt=Fe.indent,Zn=Fe.index,zn=Te(ae,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Gn=zn.scrollX,ta=zn.flattenColumns,hn=zn.prefixCls,Sa=zn.fixColumn,la=zn.componentWidth,Ga=Ut(gn,nt,Ie,Yt),gr=Ga.rowSupportExpand,yr=Ga.expanded,nr=Ga.rowProps,Or=Ga.expandedRowRender,Xr=Ga.expandedRowClassName,Ya;if(gr&&yr){var or=Or(gn,Ie,Yt+1,yr),$a=Xr==null?void 0:Xr(gn,Ie,Yt),Ka={};Sa&&(Ka={style:(0,ye.Z)({},"--virtual-width","".concat(la,"px"))});var qa="".concat(hn,"-expanded-row-cell");Ya=ie.createElement("div",{className:Ne()("".concat(hn,"-expanded-row"),"".concat(hn,"-expanded-row-level-").concat(Yt+1),$a)},ie.createElement(gt,{component:"div",prefixCls:hn,className:Ne()(qa,(0,ye.Z)({},"".concat(qa,"-fixed"),Sa)),additionalProps:Ka},or))}var Rr=(0,be.Z)((0,be.Z)({},vt),{},{width:Gn});It&&(Rr.position="absolute",Rr.pointerEvents="none");var no=ie.createElement("div",(0,ze.Z)({},nr,Wt,{ref:gr?null:ge,className:Ne()(Ze,"".concat(hn,"-row"),nr==null?void 0:nr.className,(0,ye.Z)({},"".concat(hn,"-row-extra"),It)),style:(0,be.Z)((0,be.Z)({},Rr),nr==null?void 0:nr.style)}),ta.map(function(_r,xr){return ie.createElement(cl,{key:xr,rowInfo:Ga,column:_r,colIndex:xr,indent:Yt,index:Ie,renderIndex:Zn,record:gn,inverse:It,getHeight:Mt})}));return gr?ie.createElement("div",{ref:ge},no,Ya):no}),zt=te(kt),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,Yt=Ze.emptyNode,Zn=Ze.scrollX,zn=Te(pi),Gn=zn.scrollY,ta=zn.listItemHeight,hn=ie.useRef(),Sa=ur(Fe,gn,Mt,It),la=ie.useMemo(function(){var Ya=0;return nt.map(function(or){var $a=or.width,Ka=or.key;return Ya+=$a,[Ka,$a,Ya]})},[nt]),Ga=ie.useMemo(function(){return la.map(function(Ya){return Ya[2]})},[la]);ie.useEffect(function(){la.forEach(function(Ya){var or=(0,pe.Z)(Ya,2),$a=or[0],Ka=or[1];vt($a,Ka)})},[la]),ie.useImperativeHandle(ge,function(){var Ya={};return Object.defineProperty(Ya,"scrollLeft",{get:function(){var $a;return(($a=hn.current)===null||$a===void 0?void 0:$a.getScrollInfo().x)||0},set:function($a){var Ka;(Ka=hn.current)===null||Ka===void 0||Ka.scrollTo({left:$a})}}),Ya});var gr=function(or,$a){var Ka,qa=(Ka=Sa[$a])===null||Ka===void 0?void 0:Ka.record,Rr=or.onCell;if(Rr){var no,_r=Rr(qa,$a);return(no=_r==null?void 0:_r.rowSpan)!==null&&no!==void 0?no:1}return 1},yr=function(or){var $a=or.start,Ka=or.end,qa=or.getSize,Rr=or.offsetY;if(Ka<0)return null;for(var no=nt.filter(function(Er){return gr(Er,$a)===0}),_r=$a,xr=function(Dr){if(no=no.filter(function(Ar){return gr(Ar,Dr)===0}),!no.length)return _r=Dr,"break"},ao=$a;ao>=0;ao-=1){var ho=xr(ao);if(ho==="break")break}for(var Vo=nt.filter(function(Er){return gr(Er,Ka)!==1}),xo=Ka,Si=function(Dr){if(Vo=Vo.filter(function(Ar){return gr(Ar,Dr)!==1}),!Vo.length)return xo=Math.max(Dr-1,Ka),"break"},Pi=Ka;Pi<Sa.length;Pi+=1){var Jr=Si(Pi);if(Jr==="break")break}for(var Li=[],Mo=function(Dr){var Ar=Sa[Dr];if(!Ar)return"continue";nt.some(function(hr){return gr(hr,Dr)>1})&&Li.push(Dr)},gi=_r;gi<=xo;gi+=1)var li=Mo(gi);var pl=Li.map(function(Er){var Dr=Sa[Er],Ar=It(Dr.record,Er),hr=function(Wr){var Bo=Er+Wr-1,vo=It(Sa[Bo].record,Bo),rl=qa(Ar,vo);return rl.bottom-rl.top},Oo=qa(Ar);return ie.createElement(Da,{key:Er,data:Dr,rowKey:Ar,index:Er,style:{top:-Rr+Oo.top},extra:!0,getHeight:hr})});return pl},nr=ie.useMemo(function(){return{columnsOffset:Ga}},[Ga]),Or="".concat(Wt,"-tbody"),Xr;return Sa.length?Xr=ie.createElement(Hi.Z,{fullHeight:!1,ref:hn,className:Ne()(Or,"".concat(Or,"-virtual")),height:Gn,itemHeight:ta||24,data:Sa,itemKey:function(or){return It(or.record)},scrollWidth:Zn,onVirtualScroll:function(or){var $a=or.x;Ie({scrollLeft:$a})},extraRender:yr},function(Ya,or,$a){var Ka=It(Ya.record,or);return ie.createElement(Da,(0,ze.Z)({data:Ya,rowKey:Ka,index:or},$a))}):Xr=ie.createElement("div",{className:Ne()("".concat(Wt,"-placeholder"))},ie.createElement(gt,{component:"div",prefixCls:Wt},Yt)),ie.createElement(Fi.Provider,{value:nr},Xr)}),Ia=te(ar),Rn=Ia,Qa=function(ge,Fe){var Ie=Fe.ref,Ze=Fe.onScroll;return ie.createElement(Rn,{ref:Ie,data:ge,onScroll:Ze})},En=100;function ba(ue){var ge=ue.columns,Fe=ue.scroll,Ie=ue.prefixCls,Ze=Ie===void 0?Sr:Ie,nt=ue.className,vt=ue.listItemHeight,It=Fe||{},Mt=It.x,Wt=It.y;typeof Mt!="number"&&(Mt=((ge||[]).length+1)*En),typeof Wt!="number"&&(Wt=500);var gn=ie.useMemo(function(){return{scrollY:Wt,listItemHeight:vt}},[Wt,vt]);return ie.createElement(pi.Provider,{value:gn},ie.createElement(dl,(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 Pa(ue){return z(ba,ue)}var Gr=Pa(),Wa=null;function Ko(ue){return null}var uo=Ko;function Po(ue){return null}var cr=Po,sr=ee(10366),Vn=ee(58375),Ir=ee(53124),oi=ee(88258),ka=ee(98675),ya=ee(25378),Yr=ee(24457),Oi=ee(28452),Jn=ee(57953),pr=ee(46605);function Ca(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=Ca;function ma(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 Fn(ue,ge){return ge?`${ge}-${ue}`:`${ue}`}function $r(ue,ge){return typeof ue=="function"?ue(ge):ue}function wr(ue,ge){const Fe=$r(ue,ge);return Object.prototype.toString.call(Fe)==="[object Object]"?"":Fe}var Lr={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"},so=Lr,Fr=ee(74643),po=function(ge,Fe){return ie.createElement(Fr.Z,(0,ze.Z)({},ge,{ref:Fe,icon:so}))},lr=ie.forwardRef(po),Nr=ee(7699),yo=ee(57838);function Uo(ue){const ge=ie.useRef(ue),Fe=(0,yo.Z)();return[()=>ge.current,Ie=>{ge.current=Ie,Fe()}]}var Nn=ee(71577),fa=ee(84567),rr=ee(85418),na=ee(32983),Ua=ee(68508),Kr=ee(76529),Tr=ee(78045),No=ee(79870),hi=ee(72395),_i=ee(69677);function qi(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(_i.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=qi,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,Br.Z)(ge),(0,Br.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?fa.default:Tr.ZP,Yt={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)?Yt:null:Ve(nt,It.text)?Yt:null:Yt})}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:Yt,triggerFilter:Zn,locale:zn,children:Gn,getPopupContainer:ta}=ue,{filterDropdownOpen:hn,onFilterDropdownOpenChange:Sa,filterResetToDefaultFilteredValue:la,defaultFilteredValue:Ga,filterDropdownVisible:gr,onFilterDropdownVisibleChange:yr}=nt,[nr,Or]=ie.useState(!1),Xr=!!(Yt&&(!((ge=Yt.filteredKeys)===null||ge===void 0)&&ge.length||Yt.forceFiltered)),Ya=vr=>{Or(vr),Sa==null||Sa(vr),yr==null||yr(vr)},or=(Fe=hn!=null?hn:gr)!==null&&Fe!==void 0?Fe:nr,$a=Yt==null?void 0:Yt.filteredKeys,[Ka,qa]=Uo($a||[]),Rr=vr=>{let{selectedKeys:Wr}=vr;qa(Wr)},no=(vr,Wr)=>{let{node:Bo,checked:vo}=Wr;Rr(Mt?{selectedKeys:vr}:{selectedKeys:vo&&Bo.key?[Bo.key]:[]})};ie.useEffect(()=>{nr&&Rr({selectedKeys:$a||[]})},[$a]);const[_r,xr]=ie.useState([]),ao=vr=>{xr(vr)},[ho,Vo]=ie.useState(""),xo=vr=>{const{value:Wr}=vr.target;Vo(Wr)};ie.useEffect(()=>{nr||Vo("")},[nr]);const Si=vr=>{const Wr=vr&&vr.length?vr:null;if(Wr===null&&(!Yt||!Yt.filteredKeys)||(0,Nr.Z)(Wr,Yt==null?void 0:Yt.filteredKeys,!0))return null;Zn({column:nt,key:It,filteredKeys:Wr})},Pi=()=>{Ya(!1),Si(Ka())},Jr=function(){let{confirm:vr,closeDropdown:Wr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};vr&&Si([]),Wr&&Ya(!1),Vo(""),qa(la?(Ga||[]).map(Bo=>String(Bo)):[])},Li=function(){let{closeDropdown:vr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};vr&&Ya(!1),Si(Ka())},Mo=vr=>{vr&&$a!==void 0&&qa($a||[]),Ya(vr),!vr&&!nt.filterDropdown&&Pi()},gi=Ne()({[`${vt}-menu-without-submenu`]:!Ee(nt.filters||[])}),li=vr=>{if(vr.target.checked){const Wr=fe(nt==null?void 0:nt.filters).map(Bo=>String(Bo));qa(Wr)}else qa([])},pl=vr=>{let{filters:Wr}=vr;return(Wr||[]).map((Bo,vo)=>{const rl=String(Bo.value),nl={title:Bo.text,key:Bo.value!==void 0?rl:vo};return Bo.children&&(nl.children=pl({filters:Bo.children})),nl})},Er=vr=>{var Wr;return Object.assign(Object.assign({},vr),{text:vr.title,value:vr.key,children:((Wr=vr.children)===null||Wr===void 0?void 0:Wr.map(Bo=>Er(Bo)))||[]})};let Dr;if(typeof nt.filterDropdown=="function")Dr=nt.filterDropdown({prefixCls:`${vt}-custom`,setSelectedKeys:vr=>Rr({selectedKeys:vr}),selectedKeys:Ka(),confirm:Li,clearFilters:Jr,filters:nt.filters,visible:or,close:()=>{Ya(!1)}});else if(nt.filterDropdown)Dr=nt.filterDropdown;else{const vr=Ka()||[],Wr=()=>(nt.filters||[]).length===0?ie.createElement(na.Z,{image:na.Z.PRESENTED_IMAGE_SIMPLE,description:zn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Wt==="tree"?ie.createElement(ie.Fragment,null,ie.createElement(Pl,{filterSearch:gn,value:ho,onChange:xo,tablePrefixCls:Ie,locale:zn}),ie.createElement("div",{className:`${Ie}-filter-dropdown-tree`},Mt?ie.createElement(fa.default,{checked:vr.length===fe(nt.filters).length,indeterminate:vr.length>0&&vr.length<fe(nt.filters).length,className:`${Ie}-filter-dropdown-checkall`,onChange:li},zn.filterCheckall):null,ie.createElement(No.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Mt,checkStrictly:!Mt,className:`${vt}-menu`,onCheck:no,checkedKeys:vr,selectedKeys:vr,showIcon:!1,treeData:pl({filters:nt.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:ho.trim()?vo=>typeof gn=="function"?gn(ho,Er(vo)):Ve(ho,vo.title):void 0}))):ie.createElement(ie.Fragment,null,ie.createElement(Pl,{filterSearch:gn,value:ho,onChange:xo,tablePrefixCls:Ie,locale:zn}),ie.createElement(Ua.default,{selectable:!0,multiple:Mt,prefixCls:`${vt}-menu`,className:gi,onSelect:Rr,onDeselect:Rr,selectedKeys:vr,getPopupContainer:ta,openKeys:_r,onOpenChange:ao,items:Ye({filters:nt.filters||[],filterSearch:gn,prefixCls:Ze,filteredKeys:Ka(),filterMultiple:Mt,searchValue:ho})})),Bo=()=>la?(0,Nr.Z)((Ga||[]).map(vo=>String(vo)),vr,!0):vr.length===0;Dr=ie.createElement(ie.Fragment,null,Wr(),ie.createElement("div",{className:`${Ze}-dropdown-btns`},ie.createElement(Nn.ZP,{type:"link",size:"small",disabled:Bo(),onClick:()=>Jr()},zn.filterReset),ie.createElement(Nn.ZP,{type:"primary",size:"small",onClick:Pi},zn.filterConfirm)))}nt.filterDropdown&&(Dr=ie.createElement(Kr.J,{selectable:void 0},Dr));const Ar=()=>ie.createElement(se,{className:`${Ze}-dropdown`},Dr);let hr;typeof nt.filterIcon=="function"?hr=nt.filterIcon(Xr):nt.filterIcon?hr=nt.filterIcon:hr=ie.createElement(lr,null);const{direction:Oo}=ie.useContext(Ir.E_);return ie.createElement("div",{className:`${Ze}-column`},ie.createElement("span",{className:`${Ie}-column-title`},Gn),ie.createElement(rr.Z,{dropdownRender:Ar,trigger:["click"],open:or,onOpenChange:Mo,getPopupContainer:ta,placement:Oo==="rtl"?"bottomLeft":"bottomRight"},ie.createElement("span",{role:"button",tabIndex:-1,className:Ne()(`${Ze}-trigger`,{active:Xr}),onClick:vr=>{vr.stopPropagation()}},hr)))}var Dt=Rt;function an(ue,ge,Fe){let Ie=[];return(ue||[]).forEach((Ze,nt)=>{var vt;const It=Fn(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:ma(Ze,It),filteredKeys:Mt,forceFiltered:Ze.filtered})}else Ie.push({column:Ze,key:ma(Ze,It),filteredKeys:ge&&Ze.defaultFilteredValue?Ze.defaultFilteredValue:void 0,forceFiltered:Ze.filtered});"children"in Ze&&(Ie=[].concat((0,Br.Z)(Ie),(0,Br.Z)(an(Ze.children,ge,It))))}),Ie}function un(ue,ge,Fe,Ie,Ze,nt,vt,It){return Fe.map((Mt,Wt)=>{const gn=Fn(Wt,It),{filterMultiple:Yt=!0,filterMode:Zn,filterSearch:zn}=Mt;let Gn=Mt;if(Gn.filters||Gn.filterDropdown){const ta=ma(Gn,gn),hn=Ie.find(Sa=>{let{key:la}=Sa;return ta===la});Gn=Object.assign(Object.assign({},Gn),{title:Sa=>ie.createElement(Dt,{tablePrefixCls:ue,prefixCls:`${ue}-filter`,dropdownPrefixCls:ge,column:Gn,columnKey:ta,filterState:hn,filterMultiple:Yt,filterMode:Zn,filterSearch:zn,triggerFilter:nt,locale:Ze,getPopupContainer:vt},$r(Mt.title,Sa))})}return"children"in Gn&&(Gn=Object.assign(Object.assign({},Gn),{children:un(ue,ge,Gn.children,Ie,Ze,nt,vt,gn)})),Gn})}function bn(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 xa(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)),Yt=gn!==-1?Wt[gn]:Mt;return Ze(Yt,It)})):Fe},ue)}const Bn=ue=>ue.flatMap(ge=>"children"in ge?[ge].concat((0,Br.Z)(Bn(ge.children||[]))):[ge]);function On(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(()=>an(It,!0)),gn=ie.useMemo(()=>{const Gn=an(It,!1);if(Gn.length===0)return Gn;let ta=!0,hn=!0;if(Gn.forEach(Sa=>{let{filteredKeys:la}=Sa;la!==void 0?ta=!1:hn=!1}),ta){const Sa=(It||[]).map((la,Ga)=>ma(la,Fn(Ga)));return Mt.filter(la=>{let{key:Ga}=la;return Sa.includes(Ga)}).map(la=>{const Ga=It[Sa.findIndex(gr=>gr===la.key)];return Object.assign(Object.assign({},la),{column:Object.assign(Object.assign({},la.column),Ga),forceFiltered:Ga.filtered})})}return Gn},[It,Mt]),Yt=ie.useMemo(()=>bn(gn),[gn]),Zn=Gn=>{const ta=gn.filter(hn=>{let{key:Sa}=hn;return Sa!==Gn.key});ta.push(Gn),Wt(ta),Ze(bn(ta),ta)};return[Gn=>un(ge,Fe,Gn,gn,vt,Zn,nt),gn,Yt]}var aa=On;function ia(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 Yt=Fe(Wt,gn);vt.set(Yt,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),Dn=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 ca=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 _a(ue,ge,Fe){const Ie=Fe&&typeof Fe=="object"?Fe:{},{total:Ze=0}=Ie,nt=Dn(Ie,["total"]),[vt,It]=(0,ie.useState)(()=>({current:"defaultCurrent"in nt?nt.defaultCurrent:1,pageSize:"defaultPageSize"in nt?nt.defaultPageSize:ca})),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,zn)=>{It({current:Zn!=null?Zn:1,pageSize:zn||Mt.pageSize})},Yt=(Zn,zn)=>{var Gn;Fe&&((Gn=Fe.onChange)===null||Gn===void 0||Gn.call(Fe,Zn,zn)),gn(Zn,zn),ge(Zn,zn||(Mt==null?void 0:Mt.pageSize))};return Fe===!1?[{},()=>{}]:[Object.assign(Object.assign({},Mt),{onChange:Yt}),gn]}var Xa=_a,tr=ee(42922),Ja=ee(29873),ja=ee(97153),co=ee(83898),kr=ee(5663);const qr={},bo="SELECT_ALL",_o="SELECT_INVERT",$o="SELECT_NONE",vi=[],Ho=(ue,ge)=>{let Fe=[];return(ge||[]).forEach(Ie=>{Fe.push(Ie),Ie&&typeof Ie=="object"&&ue in Ie&&(Fe=[].concat((0,Br.Z)(Fe),(0,Br.Z)(Ho(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:Yt,columnWidth:Zn,type:zn,selections:Gn,fixed:ta,renderCell:hn,hideSelectAll:Sa,checkStrictly:la=!0}=ge||{},{prefixCls:Ga,data:gr,pageData:yr,getRecordByKey:nr,getRowKey:Or,expandType:Xr,childrenColumnName:Ya,locale:or,getPopupContainer:$a}=ue,[Ka,qa]=(0,kr.Z)(Ie||Ze||vi,{value:Ie}),Rr=ie.useRef(new Map),no=(0,ie.useCallback)(Er=>{if(Fe){const Dr=new Map;Er.forEach(Ar=>{let hr=nr(Ar);!hr&&Rr.current.has(Ar)&&(hr=Rr.current.get(Ar)),Dr.set(Ar,hr)}),Rr.current=Dr}},[nr,Fe]);ie.useEffect(()=>{no(Ka)},[Ka]);const{keyEntities:_r}=(0,ie.useMemo)(()=>{if(la)return{keyEntities:null};let Er=gr;if(Fe){const Dr=new Set(gr.map((hr,Oo)=>Or(hr,Oo))),Ar=Array.from(Rr.current).reduce((hr,Oo)=>{let[vr,Wr]=Oo;return Dr.has(vr)?hr:hr.concat(Wr)},[]);Er=[].concat((0,Br.Z)(Er),(0,Br.Z)(Ar))}return(0,co.I8)(Er,{externalGetKey:Or,childrenPropName:Ya})},[gr,Or,la,Ya,Fe]),xr=(0,ie.useMemo)(()=>Ho(Ya,yr),[Ya,yr]),ao=(0,ie.useMemo)(()=>{const Er=new Map;return xr.forEach((Dr,Ar)=>{const hr=Or(Dr,Ar),Oo=(nt?nt(Dr):null)||{};Er.set(hr,Oo)}),Er},[xr,Or,nt]),ho=(0,ie.useCallback)(Er=>{var Dr;return!!(!((Dr=ao.get(Or(Er)))===null||Dr===void 0)&&Dr.disabled)},[ao,Or]),[Vo,xo]=(0,ie.useMemo)(()=>{if(la)return[Ka||[],[]];const{checkedKeys:Er,halfCheckedKeys:Dr}=(0,ja.S)(Ka,!0,_r,ho);return[Er||[],Dr]},[Ka,la,_r,ho]),Si=(0,ie.useMemo)(()=>{const Er=zn==="radio"?Vo.slice(0,1):Vo;return new Set(Er)},[Vo,zn]),Pi=(0,ie.useMemo)(()=>zn==="radio"?new Set:new Set(xo),[xo,zn]),[Jr,Li]=(0,ie.useState)(null);ie.useEffect(()=>{ge||qa(vi)},[!!ge]);const Mo=(0,ie.useCallback)((Er,Dr)=>{let Ar,hr;no(Er),Fe?(Ar=Er,hr=Er.map(Oo=>Rr.current.get(Oo))):(Ar=[],hr=[],Er.forEach(Oo=>{const vr=nr(Oo);vr!==void 0&&(Ar.push(Oo),hr.push(vr))})),qa(Ar),vt==null||vt(Ar,hr,{type:Dr})},[qa,nr,vt,Fe]),gi=(0,ie.useCallback)((Er,Dr,Ar,hr)=>{if(It){const Oo=Ar.map(vr=>nr(vr));It(nr(Er),Dr,Oo,hr)}Mo(Ar,"single")},[It,nr,Mo]),li=(0,ie.useMemo)(()=>!Gn||Sa?null:(Gn===!0?[bo,_o,$o]:Gn).map(Dr=>Dr===bo?{key:"all",text:or.selectionAll,onSelect(){Mo(gr.map((Ar,hr)=>Or(Ar,hr)).filter(Ar=>{const hr=ao.get(Ar);return!(hr!=null&&hr.disabled)||Si.has(Ar)}),"all")}}:Dr===_o?{key:"invert",text:or.selectInvert,onSelect(){const Ar=new Set(Si);yr.forEach((Oo,vr)=>{const Wr=Or(Oo,vr),Bo=ao.get(Wr);Bo!=null&&Bo.disabled||(Ar.has(Wr)?Ar.delete(Wr):Ar.add(Wr))});const hr=Array.from(Ar);Wt&&Wt(hr),Mo(hr,"invert")}}:Dr===$o?{key:"none",text:or.selectNone,onSelect(){gn==null||gn(),Mo(Array.from(Si).filter(Ar=>{const hr=ao.get(Ar);return hr==null?void 0:hr.disabled}),"none")}}:Dr).map(Dr=>Object.assign(Object.assign({},Dr),{onSelect:function(){for(var Ar,hr,Oo=arguments.length,vr=new Array(Oo),Wr=0;Wr<Oo;Wr++)vr[Wr]=arguments[Wr];(hr=Dr.onSelect)===null||hr===void 0||(Ar=hr).call.apply(Ar,[Dr].concat(vr)),Li(null)}})),[Gn,Si,yr,Or,Wt,Mo]);return[(0,ie.useCallback)(Er=>{var Dr;if(!ge)return Er.filter(jo=>jo!==qr);let Ar=(0,Br.Z)(Er);const hr=new Set(Si),Oo=xr.map(Or).filter(jo=>!ao.get(jo).disabled),vr=Oo.every(jo=>hr.has(jo)),Wr=Oo.some(jo=>hr.has(jo)),Bo=()=>{const jo=[];vr?Oo.forEach(mi=>{hr.delete(mi),jo.push(mi)}):Oo.forEach(mi=>{hr.has(mi)||(hr.add(mi),jo.push(mi))});const Wo=Array.from(hr);Mt==null||Mt(!vr,Wo.map(mi=>nr(mi)),jo.map(mi=>nr(mi))),Mo(Wo,"all"),Li(null)};let vo;if(zn!=="radio"){let jo;if(li){const fo={getPopupContainer:$a,items:li.map((vl,ol)=>{const{key:bl,text:Gl,onSelect:Kl}=vl;return{key:bl!=null?bl:ol,onClick:()=>{Kl==null||Kl(Oo)},label:Gl}})};jo=ie.createElement("div",{className:`${Ga}-selection-extra`},ie.createElement(rr.Z,{menu:fo,getPopupContainer:$a},ie.createElement("span",null,ie.createElement(tr.Z,null))))}const Wo=xr.map((fo,vl)=>{const ol=Or(fo,vl),bl=ao.get(ol)||{};return Object.assign({checked:hr.has(ol)},bl)}).filter(fo=>{let{disabled:vl}=fo;return vl}),mi=!!Wo.length&&Wo.length===xr.length,Zi=mi&&Wo.every(fo=>{let{checked:vl}=fo;return vl}),Gi=mi&&Wo.some(fo=>{let{checked:vl}=fo;return vl});vo=!Sa&&ie.createElement("div",{className:`${Ga}-selection`},ie.createElement(fa.default,{checked:mi?Zi:!!xr.length&&vr,indeterminate:mi?!Zi&&Gi:!vr&&Wr,onChange:Bo,disabled:xr.length===0||mi,"aria-label":jo?"Custom selection":"Select all",skipGroup:!0}),jo)}let rl;zn==="radio"?rl=(jo,Wo,mi)=>{const Zi=Or(Wo,mi),Gi=hr.has(Zi);return{node:ie.createElement(Tr.ZP,Object.assign({},ao.get(Zi),{checked:Gi,onClick:fo=>fo.stopPropagation(),onChange:fo=>{hr.has(Zi)||gi(Zi,!0,[Zi],fo.nativeEvent)}})),checked:Gi}}:rl=(jo,Wo,mi)=>{var Zi;const Gi=Or(Wo,mi),fo=hr.has(Gi),vl=Pi.has(Gi),ol=ao.get(Gi);let bl;return Xr==="nest"?bl=vl:bl=(Zi=ol==null?void 0:ol.indeterminate)!==null&&Zi!==void 0?Zi:vl,{node:ie.createElement(fa.default,Object.assign({},ol,{indeterminate:bl,checked:fo,skipGroup:!0,onClick:Gl=>Gl.stopPropagation(),onChange:Gl=>{let{nativeEvent:Kl}=Gl;const{shiftKey:vu}=Kl;let tu=-1,Ml=-1;if(vu&&la){const Sl=new Set([Jr,Gi]);Oo.some((sl,Ki)=>{if(Sl.has(sl))if(tu===-1)tu=Ki;else return Ml=Ki,!0;return!1})}if(Ml!==-1&&tu!==Ml&&la){const Sl=Oo.slice(tu,Ml+1),sl=[];fo?Sl.forEach(yi=>{hr.has(yi)&&(sl.push(yi),hr.delete(yi))}):Sl.forEach(yi=>{hr.has(yi)||(sl.push(yi),hr.add(yi))});const Ki=Array.from(hr);Yt==null||Yt(!fo,Ki.map(yi=>nr(yi)),sl.map(yi=>nr(yi))),Mo(Ki,"multiple")}else{const Sl=Vo;if(la){const sl=fo?(0,Ja._5)(Sl,Gi):(0,Ja.L0)(Sl,Gi);gi(Gi,!fo,sl,Kl)}else{const sl=(0,ja.S)([].concat((0,Br.Z)(Sl),[Gi]),!0,_r,ho),{checkedKeys:Ki,halfCheckedKeys:yi}=sl;let Ul=Ki;if(fo){const mu=new Set(Ki);mu.delete(Gi),Ul=(0,ja.S)(Array.from(mu),{checked:!1,halfCheckedKeys:yi},_r,ho).checkedKeys}gi(Gi,!fo,Ul,Kl)}}Li(fo?null:Gi)}})),checked:fo}};const nl=(jo,Wo,mi)=>{const{node:Zi,checked:Gi}=rl(jo,Wo,mi);return hn?hn(Gi,Wo,mi,Zi):Zi};if(!Ar.includes(qr))if(Ar.findIndex(jo=>{var Wo;return((Wo=jo[Mr])===null||Wo===void 0?void 0:Wo.columnType)==="EXPAND_COLUMN"})===0){const[jo,...Wo]=Ar;Ar=[jo,qr].concat((0,Br.Z)(Wo))}else Ar=[qr].concat((0,Br.Z)(Ar));const Ol=Ar.indexOf(qr);Ar=Ar.filter((jo,Wo)=>jo!==qr||Wo===Ol);const Ri=Ar[Ol-1],Rl=Ar[Ol+1];let ki=ta;ki===void 0&&((Rl==null?void 0:Rl.fixed)!==void 0?ki=Rl.fixed:(Ri==null?void 0:Ri.fixed)!==void 0&&(ki=Ri.fixed)),ki&&Ri&&((Dr=Ri[Mr])===null||Dr===void 0?void 0:Dr.columnType)==="EXPAND_COLUMN"&&Ri.fixed===void 0&&(Ri.fixed=ki);const hl=Ne()(`${Ga}-selection-col`,{[`${Ga}-selection-col-with-dropdown`]:Gn&&zn==="checkbox"}),gu={fixed:ki,width:Zn,className:`${Ga}-selection-column`,title:ge.columnTitle||vo,render:nl,onCell:ge.onCell,[Mr]:{className:hl}};return Ar.map(jo=>jo===qr?gu:jo)},[Or,xr,ge,Vo,Si,Pi,Zn,li,Xr,Jr,ao,Yt,gi,ho]),Si]},Yo=ee(33463),ti=ee(28575),ko=ee(83062);const ni="ascend",Mi="descend";function Ei(ue){return typeof ue.sorter=="object"&&typeof ue.sorter.multiple=="number"?ue.sorter.multiple:!1}function Xi(ue){return typeof ue=="function"?ue:ue&&typeof ue=="object"&&ue.compare?ue.compare:!1}function Di(ue,ge){return ge?ue[ue.indexOf(ge)+1]:ue[0]}function Wi(ue,ge,Fe){let Ie=[];function Ze(nt,vt){Ie.push({column:nt,key:ma(nt,vt),multiplePriority:Ei(nt),sortOrder:nt.sortOrder})}return(ue||[]).forEach((nt,vt)=>{const It=Fn(vt,Fe);nt.children?("sortOrder"in nt&&Ze(nt,It),Ie=[].concat((0,Br.Z)(Ie),(0,Br.Z)(Wi(nt.children,ge,It)))):nt.sorter&&("sortOrder"in nt?Ze(nt,It):ge&&nt.defaultSortOrder&&Ie.push({column:nt,key:ma(nt,It),multiplePriority:Ei(nt),sortOrder:nt.defaultSortOrder}))}),Ie}function di(ue,ge,Fe,Ie,Ze,nt,vt,It){return(ge||[]).map((Mt,Wt)=>{const gn=Fn(Wt,It);let Yt=Mt;if(Yt.sorter){const Zn=Yt.sortDirections||Ze,zn=Yt.showSorterTooltip===void 0?vt:Yt.showSorterTooltip,Gn=ma(Yt,gn),ta=Fe.find(Xr=>{let{key:Ya}=Xr;return Ya===Gn}),hn=ta?ta.sortOrder:null,Sa=Di(Zn,hn);let la;if(Mt.sortIcon)la=Mt.sortIcon({sortOrder:hn});else{const Xr=Zn.includes(ni)&&ie.createElement(ti.Z,{className:Ne()(`${ue}-column-sorter-up`,{active:hn===ni})}),Ya=Zn.includes(Mi)&&ie.createElement(Yo.Z,{className:Ne()(`${ue}-column-sorter-down`,{active:hn===Mi})});la=ie.createElement("span",{className:Ne()(`${ue}-column-sorter`,{[`${ue}-column-sorter-full`]:!!(Xr&&Ya)})},ie.createElement("span",{className:`${ue}-column-sorter-inner`,"aria-hidden":"true"},Xr,Ya))}const{cancelSort:Ga,triggerAsc:gr,triggerDesc:yr}=nt||{};let nr=Ga;Sa===Mi?nr=yr:Sa===ni&&(nr=gr);const Or=typeof zn=="object"?zn:{title:nr};Yt=Object.assign(Object.assign({},Yt),{className:Ne()(Yt.className,{[`${ue}-column-sort`]:hn}),title:Xr=>{const Ya=ie.createElement("div",{className:`${ue}-column-sorters`},ie.createElement("span",{className:`${ue}-column-title`},$r(Mt.title,Xr)),la);return zn?ie.createElement(ko.Z,Object.assign({},Or),Ya):Ya},onHeaderCell:Xr=>{const Ya=Mt.onHeaderCell&&Mt.onHeaderCell(Xr)||{},or=Ya.onClick,$a=Ya.onKeyDown;Ya.onClick=Rr=>{Ie({column:Mt,key:Gn,sortOrder:Sa,multiplePriority:Ei(Mt)}),or==null||or(Rr)},Ya.onKeyDown=Rr=>{Rr.keyCode===xu.Z.ENTER&&(Ie({column:Mt,key:Gn,sortOrder:Sa,multiplePriority:Ei(Mt)}),$a==null||$a(Rr))};const Ka=wr(Mt.title,{}),qa=Ka==null?void 0:Ka.toString();return hn?Ya["aria-sort"]=hn==="ascend"?"ascending":"descending":Ya["aria-label"]=qa||"",Ya.className=Ne()(Ya.className,`${ue}-column-has-sorters`),Ya.tabIndex=0,Mt.ellipsis&&(Ya.title=(Ka!=null?Ka:"").toString()),Ya}})}return"children"in Yt&&(Yt=Object.assign(Object.assign({},Yt),{children:di(ue,Yt.children,Fe,Ie,Ze,nt,vt,gn)})),Yt})}function Bi(ue){const{column:ge,sortOrder:Fe}=ue;return{column:ge,order:Fe,field:ge.dataIndex,columnKey:ge.key}}function Ui(ue){const ge=ue.filter(Fe=>{let{sortOrder:Ie}=Fe;return Ie}).map(Bi);return ge.length===0&&ue.length?Object.assign(Object.assign({},Bi(ue[ue.length-1])),{column:void 0}):ge.length<=1?ge[0]||{}:ge}function el(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 Xi(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:Yt}=Wt,Zn=Xi(gn);if(Zn&&Yt){const zn=Zn(vt,It,Yt);if(zn!==0)return Yt===ni?zn:-zn}}return 0}).map(vt=>{const It=vt[Fe];return It?Object.assign(Object.assign({},vt),{[Fe]:el(It,ge,Fe)}):vt}):Ze}function Ji(ue){let{prefixCls:ge,mergedColumns:Fe,onSorterChange:Ie,sortDirections:Ze,tableLocale:nt,showSorterTooltip:vt}=ue;const[It,Mt]=ie.useState(Wi(Fe,!0)),Wt=ie.useMemo(()=>{let Gn=!0;const ta=Wi(Fe,!1);if(!ta.length)return It;const hn=[];function Sa(Ga){Gn?hn.push(Ga):hn.push(Object.assign(Object.assign({},Ga),{sortOrder:null}))}let la=null;return ta.forEach(Ga=>{la===null?(Sa(Ga),Ga.sortOrder&&(Ga.multiplePriority===!1?Gn=!1:la=!0)):(la&&Ga.multiplePriority!==!1||(Gn=!1),Sa(Ga))}),hn},[Fe,It]),gn=ie.useMemo(()=>{const Gn=Wt.map(ta=>{let{column:hn,sortOrder:Sa}=ta;return{column:hn,order:Sa}});return{sortColumns:Gn,sortColumn:Gn[0]&&Gn[0].column,sortOrder:Gn[0]&&Gn[0].order}},[Wt]);function Yt(Gn){let ta;Gn.multiplePriority===!1||!Wt.length||Wt[0].multiplePriority===!1?ta=[Gn]:ta=[].concat((0,Br.Z)(Wt.filter(hn=>{let{key:Sa}=hn;return Sa!==Gn.key})),[Gn]),Mt(ta),Ie(Ui(ta),ta)}return[Gn=>di(ge,Gn,Wt,Yt,Ze,nt,vt),Wt,gn,()=>Ui(Wt)]}function gl(ue,ge){return ue.map(Fe=>{const Ie=Object.assign({},Fe);return Ie.title=$r(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 Eo=ei((ue,ge)=>{const{_renderTimes:Fe}=ue,{_renderTimes:Ie}=ge;return Fe!==Ie}),Ii=Pa((ue,ge)=>{const{_renderTimes:Fe}=ue,{_renderTimes:Ie}=ge;return Fe!==Ie}),ci=ee(84780),ji=ee(14747),al=ee(67968),Ai=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({},ji.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:Yt,fontSize:Zn,fontSizeSM:zn,lineHeight:Gn,tablePaddingVertical:ta,tablePaddingHorizontal:hn,tableExpandedRowBg:Sa,paddingXXS:la}=ue,Ga=Ie/2-nt,gr=Ga*2+nt*3,yr=`${nt}px ${It} ${Mt}`,nr=la-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:yr,borderRadius:Yt,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:Ga,insetInlineEnd:nr,insetInlineStart:nr,height:nt},"&::after":{top:nr,bottom:nr,insetInlineStart:Ga,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*Gn-nt*3)/2-Math.ceil((zn*1.4-nt*3)/2),marginInlineEnd:vt},[`tr${ge}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Sa}},[`${Fe}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${ge}-expanded-row-fixed`]:{position:"relative",margin:`-${ta}px -${hn}px`,padding:`${ta}px ${hn}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:Yt,tableHeaderIconColor:Zn,fontSizeSM:zn,tablePaddingHorizontal:Gn,borderRadius:ta,motionDurationSlow:hn,colorTextDescription:Sa,colorPrimary:la,tableHeaderFilterActiveBg:Ga,colorTextDisabled:gr,tableFilterDropdownBg:yr,tableFilterDropdownHeight:nr,controlItemBgHover:Or,controlItemBgActive:Xr,boxShadowSecondary:Ya,filterDropdownMenuBg:or}=ue,$a=`${Fe}-dropdown`,Ka=`${ge}-filter-dropdown`,qa=`${Fe}-tree`,Rr=`${Wt}px ${gn} ${Yt}`;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 ${-Gn/2}px`,padding:`0 ${vt}px`,color:Zn,fontSize:zn,borderRadius:ta,cursor:"pointer",transition:`all ${hn}`,"&:hover":{color:Sa,background:Ga},"&.active":{color:la}}}},{[`${Fe}-dropdown`]:{[Ka]:Object.assign(Object.assign({},(0,ji.Wf)(ue)),{minWidth:Ze,backgroundColor:yr,borderRadius:ta,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:zn,textAlign:"center",content:'"Not Found"'}},[`${Ka}-tree`]:{paddingBlock:`${It}px 0`,paddingInline:It,[qa]:{padding:0},[`${qa}-treenode ${qa}-node-content-wrapper:hover`]:{backgroundColor:Or},[`${qa}-treenode-checkbox-checked ${qa}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Xr}}},[`${Ka}-search`]:{padding:It,borderBottom:Rr,"&-input":{input:{minWidth:nt},[Ie]:{color:gr}}},[`${Ka}-checkall`]:{width:"100%",marginBottom:vt,marginInlineStart:vt},[`${Ka}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${It-Wt}px ${It}px`,overflow:"hidden",borderTop:Rr}})}},{[`${Fe}-dropdown ${Ka}, ${Ka}-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"}}}}},$i=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}}}},ai=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:Yt,motionDurationMid:Zn,tableHeaderBg:zn,tableHeaderCellSplitColor:Gn,tableRowHoverBg:ta,tableSelectedRowBg:hn,tableSelectedRowHoverBg:Sa,tableFooterTextColor:la,tableFooterBg:Ga,paddingContentVerticalLG:gr}=ue,yr=`${nt}px ${vt} ${It}`;return{[`${ge}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,ji.dF)()),{[ge]:Object.assign(Object.assign({},(0,ji.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:Yt,fontWeight:Fe,textAlign:"start",background:zn,borderBottom:yr,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:Gn,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:yr,[`
|
|
> ${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:Yt,fontWeight:Fe,textAlign:"start",background:zn,borderBottom:yr,transition:`background ${Zn} ease`},[`
|
|
&${ge}-row:hover > th,
|
|
&${ge}-row:hover > td,
|
|
> th${ge}-cell-row-hover,
|
|
> td${ge}-cell-row-hover
|
|
`]:{background:ta},[`&${ge}-row-selected`]:{"> th, > td":{background:hn},"&:hover > th, &:hover > td":{background:Sa}}}},[`${ge}-footer`]:{padding:`${Ie}px ${Ze}px`,color:la,background:Ga}})}};var hu=(0,al.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:Yt,bodySortBg:Zn,rowHoverBg:zn,rowSelectedBg:Gn,rowSelectedHoverBg:ta,rowExpandedBg:hn,cellPaddingBlock:Sa,cellPaddingInline:la,cellPaddingBlockMD:Ga,cellPaddingInlineMD:gr,cellPaddingBlockSM:yr,cellPaddingInlineSM:nr,borderColor:Or,footerBg:Xr,footerColor:Ya,headerBorderRadius:or,cellFontSize:$a,cellFontSizeMD:Ka,cellFontSizeSM:qa,headerSplitColor:Rr,fixedHeaderSortActiveBg:no,headerFilterHoverBg:_r,filterDropdownBg:xr,expandIconBg:ao,selectionColumnWidth:ho,stickyScrollBarBg:Vo}=ue,xo=new ci.C(Ie),Si=new ci.C(Ze),Pi=2,Jr=(0,Ai.TS)(ue,{tableFontSize:$a,tableBg:vt,tableRadius:or,tablePaddingVertical:Sa,tablePaddingHorizontal:la,tablePaddingVerticalMiddle:Ga,tablePaddingHorizontalMiddle:gr,tablePaddingVerticalSmall:yr,tablePaddingHorizontalSmall:nr,tableBorderColor:Or,tableHeaderTextColor:Wt,tableHeaderBg:Mt,tableFooterTextColor:Ya,tableFooterBg:Xr,tableHeaderCellSplitColor:Rr,tableHeaderSortBg:gn,tableHeaderSortHoverBg:Yt,tableHeaderIconColor:xo.clone().setAlpha(xo.getAlpha()*nt).toRgbString(),tableHeaderIconColorHover:Si.clone().setAlpha(Si.getAlpha()*nt).toRgbString(),tableBodySortBg:Zn,tableFixedHeaderSortActiveBg:no,tableHeaderFilterActiveBg:_r,tableFilterDropdownBg:xr,tableRowHoverBg:zn,tableSelectedRowBg:Gn,tableSelectedRowHoverBg:ta,zIndexTableFixed:Pi,zIndexTableSticky:Pi+1,tableFontSizeMiddle:Ka,tableFontSizeSmall:qa,tableSelectionColumnWidth:ho,tableExpandIconBg:ao,tableExpandColumnWidth:It+2*ue.padding,tableExpandedRowBg:hn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Vo,tableScrollThumbBgHover:ge,tableScrollBg:Fe});return[eu(Jr),yl(Jr),Nl(Jr),Cl(Jr),du(Jr),zl(Jr),_l(Jr),Il(Jr),Nl(Jr),pu(Jr),$i(Jr),Al(Jr),ai(Jr),ml(Jr),Xl(Jr),Ll(Jr),cu(Jr)]},ue=>{const{colorFillAlter:ge,colorBgContainer:Fe,colorTextHeading:Ie,colorFillSecondary:Ze,colorFillContent:nt,controlItemBgActive:vt,controlItemBgActiveHover:It,padding:Mt,paddingSM:Wt,paddingXS:gn,colorBorderSecondary:Yt,borderRadiusLG:Zn,fontSize:zn,controlHeight:Gn,colorTextPlaceholder:ta}=ue,hn=new ci.C(Ze).onBackground(Fe).toHexShortString(),Sa=new ci.C(nt).onBackground(Fe).toHexShortString(),la=new ci.C(ge).onBackground(Fe).toHexShortString();return{headerBg:la,headerColor:Ie,headerSortActiveBg:hn,headerSortHoverBg:Sa,bodySortBg:la,rowHoverBg:la,rowSelectedBg:vt,rowSelectedHoverBg:It,rowExpandedBg:ge,cellPaddingBlock:Mt,cellPaddingInline:Mt,cellPaddingBlockMD:Wt,cellPaddingInlineMD:gn,cellPaddingBlockSM:gn,cellPaddingInlineSM:gn,borderColor:Yt,headerBorderRadius:Zn,footerBg:la,footerColor:Ie,cellFontSize:zn,cellFontSizeMD:zn,cellFontSizeSM:zn,headerSplitColor:Yt,fixedHeaderSortActiveBg:hn,headerFilterHoverBg:nt,filterDropdownMenuBg:Fe,filterDropdownBg:Fe,expandIconBg:Fe,selectionColumnWidth:Gn,stickyScrollBarBg:ta,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:Yt,rowKey:Zn="key",rowClassName:zn,columns:Gn,children:ta,childrenColumnName:hn,onChange:Sa,getPopupContainer:la,loading:Ga,expandIcon:gr,expandable:yr,expandedRowRender:nr,expandIconColumnIndex:Or,indentSize:Xr,scroll:Ya,sortDirections:or,locale:$a,showSorterTooltip:Ka=!0,virtual:qa}=ue,Rr=ie.useMemo(()=>Gn||kn(ta),[Gn,ta]),no=ie.useMemo(()=>Rr.some(ro=>ro.responsive),[Rr]),_r=(0,ya.Z)(no),xr=ie.useMemo(()=>{const ro=new Set(Object.keys(_r).filter(ri=>_r[ri]));return Rr.filter(ri=>!ri.responsive||ri.responsive.some(il=>ro.has(il)))},[Rr,_r]),ao=(0,sr.Z)(ue,["className","style","columns"]),{locale:ho=Yr.Z,direction:Vo,table:xo,renderEmpty:Si,getPrefixCls:Pi,getPopupContainer:Jr}=ie.useContext(Ir.E_),Li=(0,ka.Z)(vt),Mo=Object.assign(Object.assign({},ho.Table),$a),gi=Wt||ou,li=Pi("table",Fe),pl=Pi("dropdown",Mt),Er=Object.assign({childrenColumnName:hn,expandIconColumnIndex:Or},yr),{childrenColumnName:Dr="children"}=Er,Ar=ie.useMemo(()=>gi.some(ro=>ro==null?void 0:ro[Dr])?"nest":nr||yr&&yr.expandedRowRender?"row":null,[gi]),hr={body:ie.useRef()},Oo=ie.useMemo(()=>typeof Zn=="function"?Zn:ro=>ro==null?void 0:ro[Zn],[Zn]),[vr]=ia(gi,Dr,Oo),Wr={},Bo=function(ro,ri){let il=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var fi,ll,xl;const wl=Object.assign(Object.assign({},Wr),ro);il&&((fi=Wr.resetPagination)===null||fi===void 0||fi.call(Wr),!((ll=wl.pagination)===null||ll===void 0)&&ll.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&&hr.body.current&&(0,Vn.Z)(0,{getContainer:()=>hr.body.current}),Sa==null||Sa(wl.pagination,wl.filters,wl.sorter,{currentDataSource:xa(el(gi,wl.sorterStates,Dr),wl.filterStates),action:ri})},vo=(ro,ri)=>{Bo({sorter:ro,sorterStates:ri},"sort",!1)},[rl,nl,Ol,Ri]=Ji({prefixCls:li,mergedColumns:xr,onSorterChange:vo,sortDirections:or||["ascend","descend"],tableLocale:Mo,showSorterTooltip:Ka}),Rl=ie.useMemo(()=>el(gi,nl,Dr),[gi,nl]);Wr.sorter=Ri(),Wr.sorterStates=nl;const ki=(ro,ri)=>{Bo({filters:ro,filterStates:ri},"filter",!0)},[hl,gu,jo]=aa({prefixCls:li,locale:Mo,dropdownPrefixCls:pl,mergedColumns:xr,onFilterChange:ki,getPopupContainer:la||Jr}),Wo=xa(Rl,gu);Wr.filters=jo,Wr.filterStates=gu;const mi=ie.useMemo(()=>{const ro={};return Object.keys(jo).forEach(ri=>{jo[ri]!==null&&(ro[ri]=jo[ri])}),Object.assign(Object.assign({},Ol),{filters:ro})},[Ol,jo]),[Zi]=Fl(mi),Gi=(ro,ri)=>{Bo({pagination:Object.assign(Object.assign({},Wr.pagination),{current:ro,pageSize:ri})},"paginate")},[fo,vl]=Xa(Wo.length,Gi,gn);Wr.pagination=gn===!1?{}:Va(fo,gn),Wr.resetPagination=vl;const ol=ie.useMemo(()=>{if(gn===!1||!fo.pageSize)return Wo;const{current:ro=1,total:ri,pageSize:il=ca}=fo;return Wo.length<ri?Wo.length>il?Wo.slice((ro-1)*il,ro*il):Wo:Wo.slice((ro-1)*il,ro*il)},[!!gn,Wo,fo&&fo.current,fo&&fo.pageSize,fo&&fo.total]),[bl,Gl]=Ao({prefixCls:li,data:Wo,pageData:ol,getRowKey:Oo,getRecordByKey:vr,expandType:Ar,childrenColumnName:Dr,locale:Mo,getPopupContainer:la||Jr},Yt),Kl=(ro,ri,il)=>{let fi;return typeof zn=="function"?fi=Ne()(zn(ro,ri,il)):fi=Ne()(zn),Ne()({[`${li}-row-selected`]:Gl.has(Oo(ro,ri))},fi)};Er.__PARENT_RENDER_ICON__=Er.expandIcon,Er.expandIcon=Er.expandIcon||gr||ln(Mo),Ar==="nest"&&Er.expandIconColumnIndex===void 0?Er.expandIconColumnIndex=Yt?1:0:Er.expandIconColumnIndex>0&&Yt&&(Er.expandIconColumnIndex-=1),typeof Er.indentSize!="number"&&(Er.indentSize=typeof Xr=="number"?Xr:15);const vu=ie.useCallback(ro=>Zi(bl(hl(rl(ro)))),[rl,hl,bl]);let tu,Ml;if(gn!==!1&&(fo!=null&&fo.total)){let ro;fo.size?ro=fo.size:ro=Li==="small"||Li==="middle"?"small":void 0;const ri=ll=>ie.createElement(Oi.Z,Object.assign({},fo,{className:Ne()(`${li}-pagination ${li}-pagination-${ll}`,fo.className),size:ro})),il=Vo==="rtl"?"left":"right",{position:fi}=fo;if(fi!==null&&Array.isArray(fi)){const ll=fi.find(nu=>nu.includes("top")),xl=fi.find(nu=>nu.includes("bottom")),wl=fi.every(nu=>`${nu}`=="none");!ll&&!xl&&!wl&&(Ml=ri(il)),ll&&(tu=ri(ll.toLowerCase().replace("top",""))),xl&&(Ml=ri(xl.toLowerCase().replace("bottom","")))}else Ml=ri(il)}let Sl;typeof Ga=="boolean"?Sl={spinning:Ga}:typeof Ga=="object"&&(Sl=Object.assign({spinning:!0},Ga));const[sl,Ki]=hu(li),[,yi]=(0,pr.Z)(),Ul=Ne()(`${li}-wrapper`,xo==null?void 0:xo.className,{[`${li}-wrapper-rtl`]:Vo==="rtl"},Ie,Ze,Ki),mu=Object.assign(Object.assign({},xo==null?void 0:xo.style),nt),$l=$a&&$a.emptyText||(Si==null?void 0:Si("Table"))||ie.createElement(oi.Z,{componentName:"Table"}),Vl=qa?Ii:Eo,Fu={},Cu=ie.useMemo(()=>{const{fontSize:ro,lineHeight:ri,padding:il,paddingXS:fi,paddingSM:ll}=yi,xl=Math.floor(ro*ri);switch(Li){case"large":return il*2+xl;case"small":return fi*2+xl;default:return ll*2+xl}},[yi,Li]);return qa&&(Fu.listItemHeight=Cu),sl(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,ao,{columns:xr,direction:Vo,expandable:Er,prefixCls:li,className:Ne()({[`${li}-middle`]:Li==="middle",[`${li}-small`]:Li==="small",[`${li}-bordered`]:It,[`${li}-empty`]:gi.length===0}),data:ol,rowKey:Oo,rowClassName:Kl,emptyText:$l,internalHooks:de,internalRefs:hr,transformColumns:vu})),Ml)))};var dr=ie.forwardRef(to);const Co=(ue,ge)=>{const Fe=ie.useRef(0);return Fe.current+=1,ie.createElement(dr,Object.assign({},ue,{ref:ge,_renderTimes:Fe.current}))},Jo=ie.forwardRef(Co);Jo.SELECTION_COLUMN=qr,Jo.EXPAND_COLUMN=x,Jo.SELECTION_ALL=bo,Jo.SELECTION_INVERT=_o,Jo.SELECTION_NONE=$o,Jo.Column=uo,Jo.ColumnGroup=cr,Jo.Summary=et;var Tl=Jo,wu=Tl},79870:function(ft,st,ee){"use strict";ee.d(st,{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,Je={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Pe){case-1:Je.top=0,Je.left=-Oe*Se;break;case 1:Je.bottom=0,Je.left=-Oe*Se;break;case 0:Je.bottom=0,Je.left=Se;break}return b.createElement("div",{style:Je})}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 Qe(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(Je){return Je});return Se.length<=1?Se[0]:function(Je){Pe.forEach(function(ot){Le(ot,Je)})}}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,Je){return Se.length===Je.length&&Se.every(function(ot,wt){return ot===Je[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 lt(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=lt(ae(),typeof window!="undefined"?window:{}),Vt={};if(ae()){var cn=document.createElement("div");Vt=cn.style}var rt={};function yt(ce){if(rt[ce])return rt[ce];var Pe=mt[ce];if(Pe)for(var Oe=Object.keys(Pe),Se=Oe.length,Je=0;Je<Se;Je+=1){var ot=Oe[Je];if(Object.prototype.hasOwnProperty.call(Pe,ot)&&ot in Vt)return rt[ce]=Pe[ot],rt[ce]}return""}var Lt=yt("animationend"),ct=yt("transitionend"),Ft=!!(Lt&&ct),jt=Lt||"animationend",_e=ct||"transitionend";function Sn(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 wn="none",ha="appear",Mn="enter",at="leave",ut="none",dt="prepare",At="start",Et="active",gt="end";function Qt(ce){var Pe=b.useRef(!1),Oe=b.useState(ce),Se=(0,ne.Z)(Oe,2),Je=Se[0],ot=Se[1];b.useEffect(function(){return Pe.current=!1,function(){Pe.current=!0}},[]);function wt(tt,it){it&&Pe.current||ot(tt)}return[Je,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 rn=0,Xt=new Map;function $e(ce){Xt.delete(ce)}var Re=function(Pe){var Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;rn+=1;var Se=rn;function Je(ot){if(ot===0)$e(Se),Pe();else{var wt=Ot(function(){Je(ot-1)});Xt.set(Se,wt)}}return Je(Oe),Se};Re.cancel=function(ce){var Pe=Xt.get(ce);return $e(Pe),bt(Pe)};var Ln=Re,xe=function(){var ce=b.useRef(null);function Pe(){Ln.cancel(ce.current)}function Oe(Se){var Je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Pe();var ot=Ln(function(){Je<=1?Se({isCanceled:function(){return ot!==ce.current}}):Oe(Se,Je-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 Pt(ce){return ce===Et||ce===gt}var Zt=function(ce,Pe){var Oe=Qt(ut),Se=(0,ne.Z)(Oe,2),Je=Se[0],ot=Se[1],wt=xe(),tt=(0,ne.Z)(wt,2),it=tt[0],ht=tt[1];function nn(){ot(dt,!0)}return Ht(function(){if(Je!==ut&&Je!==gt){var fn=et.indexOf(Je),$n=et[fn+1],In=Pe(Je);In===Ue?ot($n,!0):it(function(Aa){function va(){Aa.isCanceled()||ot($n,!0)}In===!0?va():Promise.resolve(In).then(va)})}},[ce,Je]),b.useEffect(function(){return function(){ht()}},[]),[nn,Je]},vn=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 Je(wt){wt&&(wt.removeEventListener(_e,Se),wt.removeEventListener(jt,Se))}function ot(wt){Pe.current&&Pe.current!==wt&&Je(Pe.current),wt&&wt!==Pe.current&&(wt.addEventListener(_e,Se),wt.addEventListener(jt,Se),Pe.current=wt)}return b.useEffect(function(){return function(){Je(Pe.current)}},[]),[ot,Je]};function Nt(ce,Pe,Oe,Se){var Je=Se.motionEnter,ot=Je===void 0?!0:Je,wt=Se.motionAppear,tt=wt===void 0?!0:wt,it=Se.motionLeave,ht=it===void 0?!0:it,nn=Se.motionDeadline,fn=Se.motionLeaveImmediately,$n=Se.onAppearPrepare,In=Se.onEnterPrepare,Aa=Se.onLeavePrepare,va=Se.onAppearStart,Fa=Se.onEnterStart,Wn=Se.onLeaveStart,Cn=Se.onAppearActive,on=Se.onEnterActive,yn=Se.onLeaveActive,An=Se.onAppearEnd,ea=Se.onEnterEnd,za=Se.onLeaveEnd,Ba=Se.onVisibleChanged,qn=Qt(),Ea=(0,ne.Z)(qn,2),Ma=Ea[0],La=Ea[1],er=Qt(wn),Sr=(0,ne.Z)(er,2),eo=Sr[0],Lo=Sr[1],ga=Qt(null),ii=(0,ne.Z)(ga,2),ei=ii[0],Fo=ii[1],dl=(0,b.useRef)(!1),Hi=(0,b.useRef)(null);function pi(){return Oe()}var Fi=(0,b.useRef)(!1);function Qi(ba){var Pa=pi();if(!(ba&&!ba.deadline&&ba.target!==Pa)){var Gr=Fi.current,Wa;eo===ha&&Gr?Wa=An==null?void 0:An(Pa,ba):eo===Mn&&Gr?Wa=ea==null?void 0:ea(Pa,ba):eo===at&&Gr&&(Wa=za==null?void 0:za(Pa,ba)),eo!==wn&&Gr&&Wa!==!1&&(Lo(wn,!0),Fo(null,!0))}}var Xo=vn(Qi),cl=(0,ne.Z)(Xo,1),_t=cl[0],kt=b.useMemo(function(){var ba,Pa,Gr;switch(eo){case ha:return ba={},(0,de.Z)(ba,dt,$n),(0,de.Z)(ba,At,va),(0,de.Z)(ba,Et,Cn),ba;case Mn:return Pa={},(0,de.Z)(Pa,dt,In),(0,de.Z)(Pa,At,Fa),(0,de.Z)(Pa,Et,on),Pa;case at:return Gr={},(0,de.Z)(Gr,dt,Aa),(0,de.Z)(Gr,At,Wn),(0,de.Z)(Gr,Et,yn),Gr;default:return{}}},[eo]),zt=Zt(eo,function(ba){if(ba===dt){var Pa=kt[dt];return Pa?Pa(pi()):Ue}if(Ia in kt){var Gr;Fo(((Gr=kt[Ia])===null||Gr===void 0?void 0:Gr.call(kt,pi(),null))||null)}return Ia===Et&&(_t(pi()),nn>0&&(clearTimeout(Hi.current),Hi.current=setTimeout(function(){Qi({deadline:!0})},nn))),Ct}),Da=(0,ne.Z)(zt,2),ar=Da[0],Ia=Da[1],Rn=Pt(Ia);Fi.current=Rn,Ht(function(){La(Pe);var ba=dl.current;if(dl.current=!0,!!ce){var Pa;!ba&&Pe&&tt&&(Pa=ha),ba&&Pe&&ot&&(Pa=Mn),(ba&&!Pe&&ht||!ba&&fn&&!Pe&&ht)&&(Pa=at),Pa&&(Lo(Pa),ar())}},[Pe]),(0,b.useEffect)(function(){(eo===ha&&!tt||eo===Mn&&!ot||eo===at&&!ht)&&Lo(wn)},[tt,ot,ht]),(0,b.useEffect)(function(){return function(){dl.current=!1,clearTimeout(Hi.current)}},[]);var Qa=b.useRef(!1);(0,b.useEffect)(function(){Ma&&(Qa.current=!0),Ma!==void 0&&eo===wn&&((Qa.current||Ma)&&(Ba==null||Ba(Ma)),Qa.current=!0)},[Ma,eo]);var En=ei;return kt[dt]&&Ia===At&&(En=(0,De.Z)({transition:"none"},En)),[eo,Ia,En,Ma!=null?Ma: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 en(ce){var Pe=ce;(0,pe.Z)(ce)==="object"&&(Pe=ce.transitionSupport);function Oe(Je){return!!(Je.motionName&&Pe)}var Se=b.forwardRef(function(Je,ot){var wt=Je.visible,tt=wt===void 0?!0:wt,it=Je.removeOnLeave,ht=it===void 0?!0:it,nn=Je.forceRender,fn=Je.children,$n=Je.motionName,In=Je.leavedClassName,Aa=Je.eventProps,va=Oe(Je),Fa=(0,b.useRef)(),Wn=(0,b.useRef)();function Cn(){try{return Fa.current instanceof HTMLElement?Fa.current:Ae(Wn.current)}catch(ga){return null}}var on=Nt(va,tt,Cn,Je),yn=(0,ne.Z)(on,4),An=yn[0],ea=yn[1],za=yn[2],Ba=yn[3],qn=b.useRef(Ba);Ba&&(qn.current=!0);var Ea=b.useCallback(function(ga){Fa.current=ga,Le(ot,ga)},[ot]),Ma,La=(0,De.Z)((0,De.Z)({},Aa),{},{visible:tt});if(!fn)Ma=null;else if(An===wn||!Oe(Je))Ba?Ma=fn((0,De.Z)({},La),Ea):!ht&&qn.current&&In?Ma=fn((0,De.Z)((0,De.Z)({},La),{},{className:In}),Ea):nn||!ht&&!In?Ma=fn((0,De.Z)((0,De.Z)({},La),{},{style:{display:"none"}}),Ea):Ma=null;else{var er,Sr;ea===dt?Sr="prepare":Pt(ea)?Sr="active":ea===At&&(Sr="start"),Ma=fn((0,De.Z)((0,De.Z)({},La),{},{className:Be()(Sn($n,An),(er={},(0,de.Z)(er,Sn($n,"".concat(An,"-").concat(Sr)),Sr),(0,de.Z)(er,$n,typeof $n=="string"),er)),style:za}),Ea)}if(b.isValidElement(Ma)&&Ke(Ma)){var eo=Ma,Lo=eo.ref;Lo||(Ma=b.cloneElement(Ma,{ref:Ea}))}return b.createElement(St,{ref:Wn},Ma)});return Se.displayName="CSSMotion",Se}var Gt=en(Ft),mn="add",Qn="keep",xn="remove",Un="removed";function pa(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 Kt(){var ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return ce.map(pa)}function $t(){var ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Oe=[],Se=0,Je=Pe.length,ot=Kt(ce),wt=Kt(Pe);ot.forEach(function(ht){for(var nn=!1,fn=Se;fn<Je;fn+=1){var $n=wt[fn];if($n.key===ht.key){Se<fn&&(Oe=Oe.concat(wt.slice(Se,fn).map(function(In){return(0,De.Z)((0,De.Z)({},In),{},{status:mn})})),Se=fn),Oe.push((0,De.Z)((0,De.Z)({},$n),{},{status:Qn})),Se+=1,nn=!0;break}}nn||Oe.push((0,De.Z)((0,De.Z)({},ht),{},{status:xn}))}),Se<Je&&(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 nn=ht.key;tt[nn]=(tt[nn]||0)+1});var it=Object.keys(tt).filter(function(ht){return tt[ht]>1});return it.forEach(function(ht){Oe=Oe.filter(function(nn){var fn=nn.key,$n=nn.status;return fn!==ht||$n!==xn}),Oe.forEach(function(nn){nn.key===ht&&(nn.status=Qn)})}),Oe}var qt=["component","children","onVisibleChanged","onAllRemoved"],sa=["status"],ra=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Hn(ce){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Gt,Oe=function(Se){(0,Me.Z)(ot,Se);var Je=(0,Te.Z)(ot);function ot(){var wt;(0,ke.Z)(this,ot);for(var tt=arguments.length,it=new Array(tt),ht=0;ht<tt;ht++)it[ht]=arguments[ht];return wt=Je.call.apply(Je,[this].concat(it)),(0,de.Z)((0,We.Z)(wt),"state",{keyEntities:[]}),(0,de.Z)((0,We.Z)(wt),"removeKey",function(nn){var fn=wt.state.keyEntities,$n=fn.map(function(In){return In.key!==nn?In:(0,De.Z)((0,De.Z)({},In),{},{status:Un})});return wt.setState({keyEntities:$n}),$n.filter(function(In){var Aa=In.status;return Aa!==Un}).length}),wt}return(0,ie.Z)(ot,[{key:"render",value:function(){var tt=this,it=this.state.keyEntities,ht=this.props,nn=ht.component,fn=ht.children,$n=ht.onVisibleChanged,In=ht.onAllRemoved,Aa=(0,re.Z)(ht,qt),va=nn||b.Fragment,Fa={};return ra.forEach(function(Wn){Fa[Wn]=Aa[Wn],delete Aa[Wn]}),delete Aa.keys,b.createElement(va,Aa,it.map(function(Wn){var Cn=Wn.status,on=(0,re.Z)(Wn,sa),yn=Cn===mn||Cn===Qn;return b.createElement(Pe,(0,x.Z)({},Fa,{key:on.key,visible:yn,eventProps:on,onVisibleChanged:function(ea){if($n==null||$n(ea,{key:on.key}),!ea){var za=tt.removeKey(on.key);za===0&&In&&In()}}}),fn)}))}}],[{key:"getDerivedStateFromProps",value:function(tt,it){var ht=tt.keys,nn=it.keyEntities,fn=Kt(ht),$n=$t(nn,fn);return{keyEntities:$n.filter(function(In){var Aa=nn.find(function(va){var Fa=va.key;return In.key===Fa});return!(Aa&&Aa.status===Un&&In.status===xn)})}}}]),ot}(b.Component);return(0,de.Z)(Oe,"defaultProps",{component:"div"}),Oe}var Oa=Hn(Ft),Ta=Gt,Pr=ee(56261);function zr(ce,Pe){var Oe=b.useState(!1),Se=(0,ne.Z)(Oe,2),Je=Se[0],ot=Se[1];b.useLayoutEffect(function(){if(Je)return ce(),function(){Pe()}},[Je]),b.useLayoutEffect(function(){return ot(!0),function(){ot(!1)}},[])}var Na=ee(83898),Xe=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Bt=function(Pe,Oe){var Se=Pe.className,Je=Pe.style,ot=Pe.motion,wt=Pe.motionNodes,tt=Pe.motionType,it=Pe.onMotionStart,ht=Pe.onMotionEnd,nn=Pe.active,fn=Pe.treeNodeRequiredProps,$n=(0,re.Z)(Pe,Xe),In=b.useState(!0),Aa=(0,ne.Z)(In,2),va=Aa[0],Fa=Aa[1],Wn=b.useContext(E.k),Cn=Wn.prefixCls,on=wt&&tt!=="hide";he(function(){wt&&on!==va&&Fa(on)},[wt]);var yn=function(){wt&&it()},An=b.useRef(!1),ea=function(){wt&&!An.current&&(An.current=!0,ht())};zr(yn,ea);var za=function(qn){on===qn&&ea()};return wt?b.createElement(Ta,(0,x.Z)({ref:Oe,visible:va},ot,{motionAppear:tt==="show",onVisibleChanged:za}),function(Ba,qn){var Ea=Ba.className,Ma=Ba.style;return b.createElement("div",{ref:qn,className:Be()("".concat(Cn,"-treenode-motion"),Ea),style:Ma},wt.map(function(La){var er=(0,x.Z)({},((0,te.Z)(La.data),La.data)),Sr=La.title,eo=La.key,Lo=La.isStart,ga=La.isEnd;delete er.children;var ii=(0,Na.H8)(eo,fn);return b.createElement(Pr.Z,(0,x.Z)({},er,ii,{title:Sr,active:nn,data:La.data,key:eo,isStart:Lo,isEnd:ga}))}))}):b.createElement(Pr.Z,(0,x.Z)({domRef:Oe,className:Se,style:Je},$n,{active:nn}))};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 Je(ot,wt){var tt=new Map;ot.forEach(function(ht){tt.set(ht,!0)});var it=wt.filter(function(ht){return!tt.has(ht)});return it.length===1?it[0]:null}return Oe<Se?{add:!0,key:Je(ce,Pe)}:{add:!1,key:Je(Pe,ce)}}function _n(ce,Pe,Oe){var Se=ce.findIndex(function(tt){return tt.key===Oe}),Je=ce[Se+1],ot=Pe.findIndex(function(tt){return tt.key===Oe});if(Je){var wt=Pe.findIndex(function(tt){return tt.key===Je.key});return Pe.slice(ot+1,wt)}return Pe.slice(ot+1)}var Qr=["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"],Ra={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},br=function(){},Vr="RC_TREE_MOTION_".concat(Math.random()),mo={key:Vr},Xn={key:Vr,level:0,index:0,pos:"0",node:mo,nodes:[mo]},ur={parent:null,children:[],pos:Xn.pos,data:mo,title:null,key:Vr,isStart:[],isEnd:[]};function pt(ce,Pe,Oe,Se){return Pe===!1||!Oe?ce:ce.slice(0,Math.ceil(Oe/Se)+1)}function Jt(ce){var Pe=ce.key,Oe=ce.pos;return(0,Na.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,Je=ce.selectable,ot=ce.checkable,wt=ce.expandedKeys,tt=ce.selectedKeys,it=ce.checkedKeys,ht=ce.loadedKeys,nn=ce.loadingKeys,fn=ce.halfCheckedKeys,$n=ce.keyEntities,In=ce.disabled,Aa=ce.dragging,va=ce.dragOverNodeKey,Fa=ce.dropPosition,Wn=ce.motion,Cn=ce.height,on=ce.itemHeight,yn=ce.virtual,An=ce.focusable,ea=ce.activeItem,za=ce.focused,Ba=ce.tabIndex,qn=ce.onKeyDown,Ea=ce.onFocus,Ma=ce.onBlur,La=ce.onActiveChange,er=ce.onListChangeStart,Sr=ce.onListChangeEnd,eo=(0,re.Z)(ce,Qr),Lo=b.useRef(null),ga=b.useRef(null);b.useImperativeHandle(Pe,function(){return{scrollTo:function(Po){Lo.current.scrollTo(Po)},getIndentWidth:function(){return ga.current.offsetWidth}}});var ii=b.useState(wt),ei=(0,ne.Z)(ii,2),Fo=ei[0],dl=ei[1],Hi=b.useState(Se),pi=(0,ne.Z)(Hi,2),Fi=pi[0],Qi=pi[1],Xo=b.useState(Se),cl=(0,ne.Z)(Xo,2),_t=cl[0],kt=cl[1],zt=b.useState([]),Da=(0,ne.Z)(zt,2),ar=Da[0],Ia=Da[1],Rn=b.useState(null),Qa=(0,ne.Z)(Rn,2),En=Qa[0],ba=Qa[1],Pa=b.useRef(Se);Pa.current=Se;function Gr(){var uo=Pa.current;Qi(uo),kt(uo),Ia([]),ba(null),Sr()}he(function(){dl(wt);var uo=pn(Fo,wt);if(uo.key!==null)if(uo.add){var Po=Fi.findIndex(function(ka){var ya=ka.key;return ya===uo.key}),cr=pt(_n(Fi,Se,uo.key),yn,Cn,on),sr=Fi.slice();sr.splice(Po+1,0,ur),kt(sr),Ia(cr),ba("show")}else{var Vn=Se.findIndex(function(ka){var ya=ka.key;return ya===uo.key}),Ir=pt(_n(Se,Fi,uo.key),yn,Cn,on),oi=Se.slice();oi.splice(Vn+1,0,ur),kt(oi),Ia(Ir),ba("hide")}else Fi!==Se&&(Qi(Se),kt(Se))},[wt,Se]),b.useEffect(function(){Aa||Gr()},[Aa]);var Wa=Wn?_t:Se,Ko={expandedKeys:wt,selectedKeys:tt,loadedKeys:ht,loadingKeys:nn,checkedKeys:it,halfCheckedKeys:fn,dragOverNodeKey:va,dropPosition:Fa,keyEntities:$n};return b.createElement(b.Fragment,null,za&&ea&&b.createElement("span",{style:Ra,"aria-live":"assertive"},Ut(ea)),b.createElement("div",null,b.createElement("input",{style:Ra,disabled:An===!1||In,tabIndex:An!==!1?Ba:null,onKeyDown:qn,onFocus:Ea,onBlur:Ma,value:"",onChange:br,"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)({},eo,{data:Wa,itemKey:Jt,height:Cn,fullHeight:!1,virtual:yn,itemHeight:on,prefixCls:"".concat(Oe,"-list"),ref:Lo,onVisibleChange:function(Po,cr){var sr=new Set(Po),Vn=cr.filter(function(Ir){return!sr.has(Ir)});Vn.some(function(Ir){return Jt(Ir)===Vr})&&Gr()}}),function(uo){var Po=uo.pos,cr=(0,x.Z)({},((0,te.Z)(uo.data),uo.data)),sr=uo.title,Vn=uo.key,Ir=uo.isStart,oi=uo.isEnd,ka=(0,Na.km)(Vn,Po);delete cr.key,delete cr.children;var ya=(0,Na.H8)(ka,Ko);return b.createElement(Tn,(0,x.Z)({},cr,ya,{title:sr,active:!!ea&&Vn===ea.key,pos:Po,data:uo.data,isStart:Ir,isEnd:oi,motion:Wn,motionNodes:Vn===Vr?ar:null,motionType:En,onMotionStart:er,onMotionEnd:Gr,treeNodeRequiredProps:Ko,onMouseMove:function(){La(null)}}))}))});dn.displayName="NodeList";var jn=dn,tn=ee(29873),Yn=ee(97153),Pn=ee(3596),ua=10,Ha=function(ce){(0,Me.Z)(Oe,ce);var Pe=(0,Te.Z)(Oe);function Oe(){var Se;(0,ke.Z)(this,Oe);for(var Je=arguments.length,ot=new Array(Je),wt=0;wt<Je;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,Na.w$)()},Se.dragStartMousePosition=null,Se.dragNode=void 0,Se.currentMouseOverDroppableNodeKey=null,Se.listRef=b.createRef(),Se.onNodeDragStart=function(tt,it){var ht=Se.state,nn=ht.expandedKeys,fn=ht.keyEntities,$n=Se.props.onDragStart,In=it.props.eventKey;Se.dragNode=it,Se.dragStartMousePosition={x:tt.clientX,y:tt.clientY};var Aa=(0,tn._5)(nn,In);Se.setState({draggingNodeKey:In,dragChildrenKeys:(0,tn.wA)(In,fn),indent:Se.listRef.current.getIndentWidth()}),Se.setExpandedKeys(Aa),window.addEventListener("dragend",Se.onWindowDragEnd),$n==null||$n({event:tt,node:(0,Na.F)(it.props)})},Se.onNodeDragEnter=function(tt,it){var ht=Se.state,nn=ht.expandedKeys,fn=ht.keyEntities,$n=ht.dragChildrenKeys,In=ht.flattenNodes,Aa=ht.indent,va=Se.props,Fa=va.onDragEnter,Wn=va.onExpand,Cn=va.allowDrop,on=va.direction,yn=it.props,An=yn.pos,ea=yn.eventKey,za=(0,We.Z)(Se),Ba=za.dragNode;if(Se.currentMouseOverDroppableNodeKey!==ea&&(Se.currentMouseOverDroppableNodeKey=ea),!Ba){Se.resetDragState();return}var qn=(0,tn.OM)(tt,Ba,it,Aa,Se.dragStartMousePosition,Cn,In,fn,nn,on),Ea=qn.dropPosition,Ma=qn.dropLevelOffset,La=qn.dropTargetKey,er=qn.dropContainerKey,Sr=qn.dropTargetPos,eo=qn.dropAllowed,Lo=qn.dragOverNodeKey;if($n.indexOf(La)!==-1||!eo){Se.resetDragState();return}if(Se.delayedDragEnterLogic||(Se.delayedDragEnterLogic={}),Object.keys(Se.delayedDragEnterLogic).forEach(function(ga){clearTimeout(Se.delayedDragEnterLogic[ga])}),Ba.props.eventKey!==it.props.eventKey&&(tt.persist(),Se.delayedDragEnterLogic[An]=window.setTimeout(function(){if(Se.state.draggingNodeKey!==null){var ga=(0,we.Z)(nn),ii=(0,Pn.Z)(fn,it.props.eventKey);ii&&(ii.children||[]).length&&(ga=(0,tn.L0)(nn,it.props.eventKey)),"expandedKeys"in Se.props||Se.setExpandedKeys(ga),Wn==null||Wn(ga,{node:(0,Na.F)(it.props),expanded:!0,nativeEvent:tt.nativeEvent})}},800)),Ba.props.eventKey===La&&Ma===0){Se.resetDragState();return}Se.setState({dragOverNodeKey:Lo,dropPosition:Ea,dropLevelOffset:Ma,dropTargetKey:La,dropContainerKey:er,dropTargetPos:Sr,dropAllowed:eo}),Fa==null||Fa({event:tt,node:(0,Na.F)(it.props),expandedKeys:nn})},Se.onNodeDragOver=function(tt,it){var ht=Se.state,nn=ht.dragChildrenKeys,fn=ht.flattenNodes,$n=ht.keyEntities,In=ht.expandedKeys,Aa=ht.indent,va=Se.props,Fa=va.onDragOver,Wn=va.allowDrop,Cn=va.direction,on=(0,We.Z)(Se),yn=on.dragNode;if(yn){var An=(0,tn.OM)(tt,yn,it,Aa,Se.dragStartMousePosition,Wn,fn,$n,In,Cn),ea=An.dropPosition,za=An.dropLevelOffset,Ba=An.dropTargetKey,qn=An.dropContainerKey,Ea=An.dropAllowed,Ma=An.dropTargetPos,La=An.dragOverNodeKey;nn.indexOf(Ba)!==-1||!Ea||(yn.props.eventKey===Ba&&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():ea===Se.state.dropPosition&&za===Se.state.dropLevelOffset&&Ba===Se.state.dropTargetKey&&qn===Se.state.dropContainerKey&&Ma===Se.state.dropTargetPos&&Ea===Se.state.dropAllowed&&La===Se.state.dragOverNodeKey||Se.setState({dropPosition:ea,dropLevelOffset:za,dropTargetKey:Ba,dropContainerKey:qn,dropTargetPos:Ma,dropAllowed:Ea,dragOverNodeKey:La}),Fa==null||Fa({event:tt,node:(0,Na.F)(it.props)}))}},Se.onNodeDragLeave=function(tt,it){Se.currentMouseOverDroppableNodeKey===it.props.eventKey&&!tt.currentTarget.contains(tt.relatedTarget)&&(Se.resetDragState(),Se.currentMouseOverDroppableNodeKey=null);var ht=Se.props.onDragLeave;ht==null||ht({event:tt,node:(0,Na.F)(it.props)})},Se.onWindowDragEnd=function(tt){Se.onNodeDragEnd(tt,null,!0),window.removeEventListener("dragend",Se.onWindowDragEnd)},Se.onNodeDragEnd=function(tt,it){var ht=Se.props.onDragEnd;Se.setState({dragOverNodeKey:null}),Se.cleanDragState(),ht==null||ht({event:tt,node:(0,Na.F)(it.props)}),Se.dragNode=null,window.removeEventListener("dragend",Se.onWindowDragEnd)},Se.onNodeDrop=function(tt,it){var ht,nn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,fn=Se.state,$n=fn.dragChildrenKeys,In=fn.dropPosition,Aa=fn.dropTargetKey,va=fn.dropTargetPos,Fa=fn.dropAllowed;if(Fa){var Wn=Se.props.onDrop;if(Se.setState({dragOverNodeKey:null}),Se.cleanDragState(),Aa!==null){var Cn=(0,De.Z)((0,De.Z)({},(0,Na.H8)(Aa,Se.getTreeNodeRequiredProps())),{},{active:((ht=Se.getActiveItem())===null||ht===void 0?void 0:ht.key)===Aa,data:(0,Pn.Z)(Se.state.keyEntities,Aa).node}),on=$n.indexOf(Aa)!==-1;(0,y.ZP)(!on,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var yn=(0,tn.yx)(va),An={event:tt,node:(0,Na.F)(Cn),dragNode:Se.dragNode?(0,Na.F)(Se.dragNode.props):null,dragNodesKeys:[Se.dragNode.props.eventKey].concat($n),dropToGap:In!==0,dropPosition:In+Number(yn[yn.length-1])};nn||Wn==null||Wn(An),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,it){var ht=Se.state,nn=ht.expandedKeys,fn=ht.flattenNodes,$n=it.expanded,In=it.key,Aa=it.isLeaf;if(!(Aa||tt.shiftKey||tt.metaKey||tt.ctrlKey)){var va=fn.filter(function(Wn){return Wn.key===In})[0],Fa=(0,Na.F)((0,De.Z)((0,De.Z)({},(0,Na.H8)(In,Se.getTreeNodeRequiredProps())),{},{data:va.data}));Se.setExpandedKeys($n?(0,tn._5)(nn,In):(0,tn.L0)(nn,In)),Se.onNodeExpand(tt,Fa)}},Se.onNodeClick=function(tt,it){var ht=Se.props,nn=ht.onClick,fn=ht.expandAction;fn==="click"&&Se.triggerExpandActionExpand(tt,it),nn==null||nn(tt,it)},Se.onNodeDoubleClick=function(tt,it){var ht=Se.props,nn=ht.onDoubleClick,fn=ht.expandAction;fn==="doubleClick"&&Se.triggerExpandActionExpand(tt,it),nn==null||nn(tt,it)},Se.onNodeSelect=function(tt,it){var ht=Se.state.selectedKeys,nn=Se.state,fn=nn.keyEntities,$n=nn.fieldNames,In=Se.props,Aa=In.onSelect,va=In.multiple,Fa=it.selected,Wn=it[$n.key],Cn=!Fa;Cn?va?ht=(0,tn.L0)(ht,Wn):ht=[Wn]:ht=(0,tn._5)(ht,Wn);var on=ht.map(function(yn){var An=(0,Pn.Z)(fn,yn);return An?An.node:null}).filter(function(yn){return yn});Se.setUncontrolledState({selectedKeys:ht}),Aa==null||Aa(ht,{event:"select",selected:Cn,node:it,selectedNodes:on,nativeEvent:tt.nativeEvent})},Se.onNodeCheck=function(tt,it,ht){var nn=Se.state,fn=nn.keyEntities,$n=nn.checkedKeys,In=nn.halfCheckedKeys,Aa=Se.props,va=Aa.checkStrictly,Fa=Aa.onCheck,Wn=it.key,Cn,on={event:"check",node:it,checked:ht,nativeEvent:tt.nativeEvent};if(va){var yn=ht?(0,tn.L0)($n,Wn):(0,tn._5)($n,Wn),An=(0,tn._5)(In,Wn);Cn={checked:yn,halfChecked:An},on.checkedNodes=yn.map(function(Ma){return(0,Pn.Z)(fn,Ma)}).filter(function(Ma){return Ma}).map(function(Ma){return Ma.node}),Se.setUncontrolledState({checkedKeys:yn})}else{var ea=(0,Yn.S)([].concat((0,we.Z)($n),[Wn]),!0,fn),za=ea.checkedKeys,Ba=ea.halfCheckedKeys;if(!ht){var qn=new Set(za);qn.delete(Wn);var Ea=(0,Yn.S)(Array.from(qn),{checked:!1,halfCheckedKeys:Ba},fn);za=Ea.checkedKeys,Ba=Ea.halfCheckedKeys}Cn=za,on.checkedNodes=[],on.checkedNodesPositions=[],on.halfCheckedKeys=Ba,za.forEach(function(Ma){var La=(0,Pn.Z)(fn,Ma);if(La){var er=La.node,Sr=La.pos;on.checkedNodes.push(er),on.checkedNodesPositions.push({node:er,pos:Sr})}}),Se.setUncontrolledState({checkedKeys:za},!1,{halfCheckedKeys:Ba})}Fa==null||Fa(Cn,on)},Se.onNodeLoad=function(tt){var it=tt.key,ht=new Promise(function(nn,fn){Se.setState(function($n){var In=$n.loadedKeys,Aa=In===void 0?[]:In,va=$n.loadingKeys,Fa=va===void 0?[]:va,Wn=Se.props,Cn=Wn.loadData,on=Wn.onLoad;if(!Cn||Aa.indexOf(it)!==-1||Fa.indexOf(it)!==-1)return null;var yn=Cn(tt);return yn.then(function(){var An=Se.state.loadedKeys,ea=(0,tn.L0)(An,it);on==null||on(ea,{event:"load",node:tt}),Se.setUncontrolledState({loadedKeys:ea}),Se.setState(function(za){return{loadingKeys:(0,tn._5)(za.loadingKeys,it)}}),nn()}).catch(function(An){if(Se.setState(function(za){return{loadingKeys:(0,tn._5)(za.loadingKeys,it)}}),Se.loadingRetryTimes[it]=(Se.loadingRetryTimes[it]||0)+1,Se.loadingRetryTimes[it]>=ua){var ea=Se.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Se.setUncontrolledState({loadedKeys:(0,tn.L0)(ea,it)}),nn()}fn(An)}),{loadingKeys:(0,tn.L0)(Fa,it)}})});return ht.catch(function(){}),ht},Se.onNodeMouseEnter=function(tt,it){var ht=Se.props.onMouseEnter;ht==null||ht({event:tt,node:it})},Se.onNodeMouseLeave=function(tt,it){var ht=Se.props.onMouseLeave;ht==null||ht({event:tt,node:it})},Se.onNodeContextMenu=function(tt,it){var ht=Se.props.onRightClick;ht&&(tt.preventDefault(),ht({event:tt,node:it}))},Se.onFocus=function(){var tt=Se.props.onFocus;Se.setState({focused:!0});for(var it=arguments.length,ht=new Array(it),nn=0;nn<it;nn++)ht[nn]=arguments[nn];tt==null||tt.apply(void 0,ht)},Se.onBlur=function(){var tt=Se.props.onBlur;Se.setState({focused:!1}),Se.onActiveChange(null);for(var it=arguments.length,ht=new Array(it),nn=0;nn<it;nn++)ht[nn]=arguments[nn];tt==null||tt.apply(void 0,ht)},Se.getTreeNodeRequiredProps=function(){var tt=Se.state,it=tt.expandedKeys,ht=tt.selectedKeys,nn=tt.loadedKeys,fn=tt.loadingKeys,$n=tt.checkedKeys,In=tt.halfCheckedKeys,Aa=tt.dragOverNodeKey,va=tt.dropPosition,Fa=tt.keyEntities;return{expandedKeys:it||[],selectedKeys:ht||[],loadedKeys:nn||[],loadingKeys:fn||[],checkedKeys:$n||[],halfCheckedKeys:In||[],dragOverNodeKey:Aa,dropPosition:va,keyEntities:Fa}},Se.setExpandedKeys=function(tt){var it=Se.state,ht=it.treeData,nn=it.fieldNames,fn=(0,Na.oH)(ht,tt,nn);Se.setUncontrolledState({expandedKeys:tt,flattenNodes:fn},!0)},Se.onNodeExpand=function(tt,it){var ht=Se.state.expandedKeys,nn=Se.state,fn=nn.listChanging,$n=nn.fieldNames,In=Se.props,Aa=In.onExpand,va=In.loadData,Fa=it.expanded,Wn=it[$n.key];if(!fn){var Cn=ht.indexOf(Wn),on=!Fa;if((0,y.ZP)(Fa&&Cn!==-1||!Fa&&Cn===-1,"Expand state not sync with index check"),on?ht=(0,tn.L0)(ht,Wn):ht=(0,tn._5)(ht,Wn),Se.setExpandedKeys(ht),Aa==null||Aa(ht,{node:it,expanded:on,nativeEvent:tt.nativeEvent}),on&&va){var yn=Se.onNodeLoad(it);yn&&yn.then(function(){var An=(0,Na.oH)(Se.state.treeData,ht,$n);Se.setUncontrolledState({flattenNodes:An})}).catch(function(){var An=Se.state.expandedKeys,ea=(0,tn._5)(An,Wn);Se.setExpandedKeys(ea)})}}},Se.onListChangeStart=function(){Se.setUncontrolledState({listChanging:!0})},Se.onListChangeEnd=function(){setTimeout(function(){Se.setUncontrolledState({listChanging:!1})})},Se.onActiveChange=function(tt){var it=Se.state.activeKey,ht=Se.props.onActiveChange;it!==tt&&(Se.setState({activeKey:tt}),tt!==null&&Se.scrollTo({key:tt}),ht==null||ht(tt))},Se.getActiveItem=function(){var tt=Se.state,it=tt.activeKey,ht=tt.flattenNodes;return it===null?null:ht.find(function(nn){var fn=nn.key;return fn===it})||null},Se.offsetActiveKey=function(tt){var it=Se.state,ht=it.flattenNodes,nn=it.activeKey,fn=ht.findIndex(function(Aa){var va=Aa.key;return va===nn});fn===-1&&tt<0&&(fn=ht.length),fn=(fn+tt+ht.length)%ht.length;var $n=ht[fn];if($n){var In=$n.key;Se.onActiveChange(In)}else Se.onActiveChange(null)},Se.onKeyDown=function(tt){var it=Se.state,ht=it.activeKey,nn=it.expandedKeys,fn=it.checkedKeys,$n=it.fieldNames,In=Se.props,Aa=In.onKeyDown,va=In.checkable,Fa=In.selectable;switch(tt.which){case oe.UP:{Se.offsetActiveKey(-1),tt.preventDefault();break}case oe.DOWN:{Se.offsetActiveKey(1),tt.preventDefault();break}}var Wn=Se.getActiveItem();if(Wn&&Wn.data){var Cn=Se.getTreeNodeRequiredProps(),on=Wn.data.isLeaf===!1||!!(Wn.data[$n.children]||[]).length,yn=(0,Na.F)((0,De.Z)((0,De.Z)({},(0,Na.H8)(ht,Cn)),{},{data:Wn.data,active:!0}));switch(tt.which){case oe.LEFT:{on&&nn.includes(ht)?Se.onNodeExpand({},yn):Wn.parent&&Se.onActiveChange(Wn.parent.key),tt.preventDefault();break}case oe.RIGHT:{on&&!nn.includes(ht)?Se.onNodeExpand({},yn):Wn.children&&Wn.children.length&&Se.onActiveChange(Wn.children[0].key),tt.preventDefault();break}case oe.ENTER:case oe.SPACE:{va&&!yn.disabled&&yn.checkable!==!1&&!yn.disableCheckbox?Se.onNodeCheck({},yn,!fn.includes(ht)):!va&&Fa&&!yn.disabled&&yn.selectable!==!1&&Se.onNodeSelect({},yn);break}}}Aa==null||Aa(tt)},Se.setUncontrolledState=function(tt){var it=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 nn=!1,fn=!0,$n={};Object.keys(tt).forEach(function(In){if(In in Se.props){fn=!1;return}nn=!0,$n[In]=tt[In]}),nn&&(!it||fn)&&Se.setState((0,De.Z)((0,De.Z)({},$n),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 Je=this.props.activeKey;Je!==void 0&&Je!==this.state.activeKey&&(this.setState({activeKey:Je}),Je!==null&&this.scrollTo({key:Je}))}},{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 Je,ot=this.state,wt=ot.focused,tt=ot.flattenNodes,it=ot.keyEntities,ht=ot.draggingNodeKey,nn=ot.activeKey,fn=ot.dropLevelOffset,$n=ot.dropContainerKey,In=ot.dropTargetKey,Aa=ot.dropPosition,va=ot.dragOverNodeKey,Fa=ot.indent,Wn=this.props,Cn=Wn.prefixCls,on=Wn.className,yn=Wn.style,An=Wn.showLine,ea=Wn.focusable,za=Wn.tabIndex,Ba=za===void 0?0:za,qn=Wn.selectable,Ea=Wn.showIcon,Ma=Wn.icon,La=Wn.switcherIcon,er=Wn.draggable,Sr=Wn.checkable,eo=Wn.checkStrictly,Lo=Wn.disabled,ga=Wn.motion,ii=Wn.loadData,ei=Wn.filterTreeNode,Fo=Wn.height,dl=Wn.itemHeight,Hi=Wn.virtual,pi=Wn.titleRender,Fi=Wn.dropIndicatorRender,Qi=Wn.onContextMenu,Xo=Wn.onScroll,cl=Wn.direction,_t=Wn.rootClassName,kt=Wn.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:Cn,selectable:qn,showIcon:Ea,icon:Ma,switcherIcon:La,draggable:Da,draggingNodeKey:ht,checkable:Sr,checkStrictly:eo,disabled:Lo,keyEntities:it,dropLevelOffset:fn,dropContainerKey:$n,dropTargetKey:In,dropPosition:Aa,dragOverNodeKey:va,indent:Fa,direction:cl,dropIndicatorRender:Fi,loadData:ii,filterTreeNode:ei,titleRender:pi,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()(Cn,on,_t,(Je={},(0,de.Z)(Je,"".concat(Cn,"-show-line"),An),(0,de.Z)(Je,"".concat(Cn,"-focused"),wt),(0,de.Z)(Je,"".concat(Cn,"-active-focused"),nn!==null),Je)),style:kt},b.createElement(jn,(0,x.Z)({ref:this.listRef,prefixCls:Cn,style:yn,data:tt,disabled:Lo,selectable:qn,checkable:!!Sr,motion:ga,dragging:ht!==null,height:Fo,itemHeight:dl,virtual:Hi,focusable:ea,focused:wt,tabIndex:Ba,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Qi,onScroll:Xo},this.getTreeNodeRequiredProps(),zt))))}}],[{key:"getDerivedStateFromProps",value:function(Je,ot){var wt=ot.prevProps,tt={prevProps:Je};function it(ea){return!wt&&ea in Je||wt&&wt[ea]!==Je[ea]}var ht,nn=ot.fieldNames;if(it("fieldNames")&&(nn=(0,Na.w$)(Je.fieldNames),tt.fieldNames=nn),it("treeData")?ht=Je.treeData:it("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),ht=(0,Na.zn)(Je.children)),ht){tt.treeData=ht;var fn=(0,Na.I8)(ht,{fieldNames:nn});tt.keyEntities=(0,De.Z)((0,de.Z)({},Vr,Xn),fn.keyEntities)}var $n=tt.keyEntities||ot.keyEntities;if(it("expandedKeys")||wt&&it("autoExpandParent"))tt.expandedKeys=Je.autoExpandParent||!wt&&Je.defaultExpandParent?(0,tn.r7)(Je.expandedKeys,$n):Je.expandedKeys;else if(!wt&&Je.defaultExpandAll){var In=(0,De.Z)({},$n);delete In[Vr],tt.expandedKeys=Object.keys(In).map(function(ea){return In[ea].key})}else!wt&&Je.defaultExpandedKeys&&(tt.expandedKeys=Je.autoExpandParent||Je.defaultExpandParent?(0,tn.r7)(Je.defaultExpandedKeys,$n):Je.defaultExpandedKeys);if(tt.expandedKeys||delete tt.expandedKeys,ht||tt.expandedKeys){var Aa=(0,Na.oH)(ht||ot.treeData,tt.expandedKeys||ot.expandedKeys,nn);tt.flattenNodes=Aa}if(Je.selectable&&(it("selectedKeys")?tt.selectedKeys=(0,tn.BT)(Je.selectedKeys,Je):!wt&&Je.defaultSelectedKeys&&(tt.selectedKeys=(0,tn.BT)(Je.defaultSelectedKeys,Je))),Je.checkable){var va;if(it("checkedKeys")?va=(0,tn.E6)(Je.checkedKeys)||{}:!wt&&Je.defaultCheckedKeys?va=(0,tn.E6)(Je.defaultCheckedKeys)||{}:ht&&(va=(0,tn.E6)(Je.checkedKeys)||{checkedKeys:ot.checkedKeys,halfCheckedKeys:ot.halfCheckedKeys}),va){var Fa=va,Wn=Fa.checkedKeys,Cn=Wn===void 0?[]:Wn,on=Fa.halfCheckedKeys,yn=on===void 0?[]:on;if(!Je.checkStrictly){var An=(0,Yn.S)(Cn,!0,$n);Cn=An.checkedKeys,yn=An.halfCheckedKeys}tt.checkedKeys=Cn,tt.halfCheckedKeys=yn}}return it("loadedKeys")&&(tt.loadedKeys=Je.loadedKeys),tt}}]),Oe}(b.Component);Ha.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},Ha.TreeNode=Pr.Z;var ir=Ha,Mr=ir,Hr=ee(73148),oo=ee(56747),zo={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"},Kn=zo,Br=ee(74643),To=function(Pe,Oe){return b.createElement(Br.Z,(0,x.Z)({},Pe,{ref:Oe,icon:Kn}))},oa=b.forwardRef(To),Za=ee(53124),mr=ee(50881),da=ee(33603),io=ee(32157);const fr=4;function wo(ce){const{dropPosition:Pe,dropLevelOffset:Oe,prefixCls:Se,indent:Je,direction:ot="ltr"}=ce,wt=ot==="ltr"?"left":"right",tt=ot==="ltr"?"right":"left",it={[wt]:-Oe*Je+fr,[tt]:0};switch(Pe){case-1:it.top=-3;break;case 1:it.bottom=-3;break;default:it.bottom=-3,it[wt]=Je+fr;break}return b.createElement("div",{style:it,className:`${Se}-drop-indicator`})}var So=ee(99184),Ni=b.forwardRef((ce,Pe)=>{const{getPrefixCls:Oe,direction:Se,virtual:Je,tree:ot}=b.useContext(Za.E_),{prefixCls:wt,className:tt,showIcon:it=!1,showLine:ht,switcherIcon:nn,blockNode:fn=!1,children:$n,checkable:In=!1,selectable:Aa=!0,draggable:va,motion:Fa,style:Wn}=ce,Cn=Oe("tree",wt),on=Oe(),yn=Fa!=null?Fa:Object.assign(Object.assign({},(0,da.Z)(on)),{motionAppear:!1}),An=Object.assign(Object.assign({},ce),{checkable:In,selectable:Aa,showIcon:it,motion:yn,blockNode:fn,showLine:!!ht,dropIndicatorRender:wo}),[ea,za]=(0,io.ZP)(Cn),Ba=b.useMemo(()=>{if(!va)return!1;let Ea={};switch(typeof va){case"function":Ea.nodeDraggable=va;break;case"object":Ea=Object.assign({},va);break;default:break}return Ea.icon!==!1&&(Ea.icon=Ea.icon||b.createElement(mr.Z,null)),Ea},[va]),qn=Ea=>b.createElement(So.Z,{prefixCls:Cn,switcherIcon:nn,treeNodeProps:Ea,showLine:ht});return ea(b.createElement(Mr,Object.assign({itemHeight:20,ref:Pe,virtual:Je},An,{style:Object.assign(Object.assign({},ot==null?void 0:ot.style),Wn),prefixCls:Cn,className:Be()({[`${Cn}-icon-hide`]:!it,[`${Cn}-block-node`]:fn,[`${Cn}-unselectable`]:!Aa,[`${Cn}-rtl`]:Se==="rtl"},ot==null?void 0:ot.className,tt,za),direction:Se,checkable:In&&b.createElement("span",{className:`${Cn}-checkbox-inner`}),selectable:Aa,switcherIcon:qn,draggable:Ba}),$n))}),qo;(function(ce){ce[ce.None=0]="None",ce[ce.Start=1]="Start",ce[ce.End=2]="End"})(qo||(qo={}));function ul(ce,Pe){function Oe(Se){const{key:Je,children:ot}=Se;Pe(Je,Se)!==!1&&ul(ot||[],Pe)}ce.forEach(Oe)}function Yi(ce){let{treeData:Pe,expandedKeys:Oe,startKey:Se,endKey:Je}=ce;const ot=[];let wt=qo.None;if(Se&&Se===Je)return[Se];if(!Se||!Je)return[];function tt(it){return it===Se||it===Je}return ul(Pe,it=>{if(wt===qo.End)return!1;if(tt(it)){if(ot.push(it),wt===qo.None)wt=qo.Start;else if(wt===qo.Start)return wt=qo.End,!1}else wt===qo.Start&&ot.push(it);return Oe.includes(it)}),ot}function kn(ce,Pe){const Oe=(0,we.Z)(Pe),Se=[];return ul(ce,(Je,ot)=>{const wt=Oe.indexOf(Je);return wt!==-1&&(Se.push(ot),Oe.splice(wt,1)),!!Oe.length}),Se}var wa=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 Je=0,Se=Object.getOwnPropertySymbols(ce);Je<Se.length;Je++)Pe.indexOf(Se[Je])<0&&Object.prototype.propertyIsEnumerable.call(ce,Se[Je])&&(Oe[Se[Je]]=ce[Se[Je]]);return Oe};function lo(ce){const{isLeaf:Pe,expanded:Oe}=ce;return Pe?b.createElement(Hr.Z,null):Oe?b.createElement(oo.Z,null):b.createElement(oa,null)}function Go(ce){let{treeData:Pe,children:Oe}=ce;return Pe||(0,Na.zn)(Oe)}const xi=(ce,Pe)=>{var{defaultExpandAll:Oe,defaultExpandParent:Se,defaultExpandedKeys:Je}=ce,ot=wa(ce,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const wt=b.useRef(),tt=b.useRef(),it=()=>{const{keyEntities:Ba}=(0,Na.I8)(Go(ot));let qn;return Oe?qn=Object.keys(Ba):Se?qn=(0,tn.r7)(ot.expandedKeys||Je||[],Ba):qn=ot.expandedKeys||Je,qn},[ht,nn]=b.useState(ot.selectedKeys||ot.defaultSelectedKeys||[]),[fn,$n]=b.useState(()=>it());b.useEffect(()=>{"selectedKeys"in ot&&nn(ot.selectedKeys)},[ot.selectedKeys]),b.useEffect(()=>{"expandedKeys"in ot&&$n(ot.expandedKeys)},[ot.expandedKeys]);const In=(Ba,qn)=>{var Ea;return"expandedKeys"in ot||$n(Ba),(Ea=ot.onExpand)===null||Ea===void 0?void 0:Ea.call(ot,Ba,qn)},Aa=(Ba,qn)=>{var Ea;const{multiple:Ma}=ot,{node:La,nativeEvent:er}=qn,{key:Sr=""}=La,eo=Go(ot),Lo=Object.assign(Object.assign({},qn),{selected:!0}),ga=(er==null?void 0:er.ctrlKey)||(er==null?void 0:er.metaKey),ii=er==null?void 0:er.shiftKey;let ei;Ma&&ga?(ei=Ba,wt.current=Sr,tt.current=ei,Lo.selectedNodes=kn(eo,ei)):Ma&&ii?(ei=Array.from(new Set([].concat((0,we.Z)(tt.current||[]),(0,we.Z)(Yi({treeData:eo,expandedKeys:fn,startKey:Sr,endKey:wt.current}))))),Lo.selectedNodes=kn(eo,ei)):(ei=[Sr],wt.current=Sr,tt.current=ei,Lo.selectedNodes=kn(eo,ei)),(Ea=ot.onSelect)===null||Ea===void 0||Ea.call(ot,ei,Lo),"selectedKeys"in ot||nn(ei)},{getPrefixCls:va,direction:Fa}=b.useContext(Za.E_),{prefixCls:Wn,className:Cn,showIcon:on=!0,expandAction:yn="click"}=ot,An=wa(ot,["prefixCls","className","showIcon","expandAction"]),ea=va("tree",Wn),za=Be()(`${ea}-directory`,{[`${ea}-directory-rtl`]:Fa==="rtl"},Cn);return b.createElement(Ni,Object.assign({icon:lo,ref:Pe,blockNode:!0},An,{showIcon:on,expandAction:yn,prefixCls:ea,className:za,expandedKeys:fn,selectedKeys:ht,onSelect:Aa,onExpand:In}))};var si=b.forwardRef(xi);const zi=Ni;zi.DirectoryTree=si,zi.TreeNode=Pr.Z;var jr=zi},32157:function(ft,st,ee){"use strict";ee.d(st,{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}};st.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,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";ee.d(st,{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,Jt){var Ut="cannot ".concat(pt.method," ").concat(pt.action," ").concat(Jt.status,"'"),dn=new Error(Ut);return dn.status=Jt.status,dn.method=pt.method,dn.url=pt.action,dn}function b(pt){var Jt=pt.responseText||pt.response;if(!Jt)return Jt;try{return JSON.parse(Jt)}catch(Ut){return Jt}}function E(pt){var Jt=new XMLHttpRequest;pt.onProgress&&Jt.upload&&(Jt.upload.onprogress=function(tn){tn.total>0&&(tn.percent=tn.loaded/tn.total*100),pt.onProgress(tn)});var Ut=new FormData;pt.data&&Object.keys(pt.data).forEach(function(jn){var tn=pt.data[jn];if(Array.isArray(tn)){tn.forEach(function(Yn){Ut.append("".concat(jn,"[]"),Yn)});return}Ut.append(jn,tn)}),pt.file instanceof Blob?Ut.append(pt.filename,pt.file,pt.file.name):Ut.append(pt.filename,pt.file),Jt.onerror=function(tn){pt.onError(tn)},Jt.onload=function(){return Jt.status<200||Jt.status>=300?pt.onError(y(pt,Jt),b(Jt)):pt.onSuccess(b(Jt),Jt)},Jt.open(pt.method,pt.action,!0),pt.withCredentials&&"withCredentials"in Jt&&(Jt.withCredentials=!0);var dn=pt.headers||{};return dn["X-Requested-With"]!==null&&Jt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(dn).forEach(function(jn){dn[jn]!==null&&Jt.setRequestHeader(jn,dn[jn])}),Jt.send(Ut),{abort:function(){Jt.abort()}}}var z=+new Date,te=0;function ne(){return"rc-upload-".concat(z,"-").concat(++te)}var re=ee(80334),ae=function(pt,Jt){if(pt&&Jt){var Ut=Array.isArray(Jt)?Jt:Jt.split(","),dn=pt.name||"",jn=pt.type||"",tn=jn.replace(/\/.*$/,"");return Ut.some(function(Yn){var Pn=Yn.trim();if(/^\*(\/\*)?$/.test(Yn))return!0;if(Pn.charAt(0)==="."){var ua=dn.toLowerCase(),Ha=Pn.toLowerCase(),ir=[Ha];return(Ha===".jpg"||Ha===".jpeg")&&(ir=[".jpg",".jpeg"]),ir.some(function(Mr){return ua.endsWith(Mr)})}return/\/\*$/.test(Pn)?tn===Pn.replace(/\/.*$/,""):jn===Pn?!0:/^\w+$/.test(Pn)?((0,re.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Pn,"'.Skip for check.")),!0):!1})}return!0};function le(pt,Jt){var Ut=pt.createReader(),dn=[];function jn(){Ut.readEntries(function(tn){var Yn=Array.prototype.slice.apply(tn);dn=dn.concat(Yn);var Pn=!Yn.length;Pn?Jt(dn):jn()})}jn()}var he=function(Jt,Ut,dn){var jn=function tn(Yn,Pn){Yn&&(Yn.path=Pn||"",Yn.isFile?Yn.file(function(ua){dn(ua)&&(Yn.fullPath&&!ua.webkitRelativePath&&(Object.defineProperties(ua,{webkitRelativePath:{writable:!0}}),ua.webkitRelativePath=Yn.fullPath.replace(/^\//,""),Object.defineProperties(ua,{webkitRelativePath:{writable:!1}})),Ut([ua]))}):Yn.isDirectory&&le(Yn,function(ua){ua.forEach(function(Ha){tn(Ha,"".concat(Pn).concat(Yn.name,"/"))})}))};Jt.forEach(function(tn){jn(tn.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 Jt=(0,Me.Z)(Ut);function Ut(){var dn;(0,ke.Z)(this,Ut);for(var jn=arguments.length,tn=new Array(jn),Yn=0;Yn<jn;Yn++)tn[Yn]=arguments[Yn];return dn=Jt.call.apply(Jt,[this].concat(tn)),dn.state={uid:ne()},dn.reqs={},dn.fileInput=void 0,dn._isMounted=void 0,dn.onChange=function(Pn){var ua=dn.props,Ha=ua.accept,ir=ua.directory,Mr=Pn.target.files,Hr=(0,de.Z)(Mr).filter(function(oo){return!ir||ae(oo,Ha)});dn.uploadFiles(Hr),dn.reset()},dn.onClick=function(Pn){var ua=dn.fileInput;if(ua){var Ha=dn.props,ir=Ha.children,Mr=Ha.onClick;if(ir&&ir.type==="button"){var Hr=ua.parentNode;Hr.focus(),Hr.querySelector("button").blur()}ua.click(),Mr&&Mr(Pn)}},dn.onKeyDown=function(Pn){Pn.key==="Enter"&&dn.onClick(Pn)},dn.onFileDrop=function(Pn){var ua=dn.props.multiple;if(Pn.preventDefault(),Pn.type!=="dragover")if(dn.props.directory)ve(Array.prototype.slice.call(Pn.dataTransfer.items),dn.uploadFiles,function(ir){return ae(ir,dn.props.accept)});else{var Ha=(0,de.Z)(Pn.dataTransfer.files).filter(function(ir){return ae(ir,dn.props.accept)});ua===!1&&(Ha=Ha.slice(0,1)),dn.uploadFiles(Ha)}},dn.uploadFiles=function(Pn){var ua=(0,de.Z)(Pn),Ha=ua.map(function(ir){return ir.uid=ne(),dn.processFile(ir,ua)});Promise.all(Ha).then(function(ir){var Mr=dn.props.onBatchStart;Mr==null||Mr(ir.map(function(Hr){var oo=Hr.origin,zo=Hr.parsedFile;return{file:oo,parsedFile:zo}})),ir.filter(function(Hr){return Hr.parsedFile!==null}).forEach(function(Hr){dn.post(Hr)})})},dn.processFile=function(){var Pn=(0,oe.Z)((0,Be.Z)().mark(function ua(Ha,ir){var Mr,Hr,oo,zo,Kn,Br,To,oa,Za;return(0,Be.Z)().wrap(function(da){for(;;)switch(da.prev=da.next){case 0:if(Mr=dn.props.beforeUpload,Hr=Ha,!Mr){da.next=14;break}return da.prev=3,da.next=6,Mr(Ha,ir);case 6:Hr=da.sent,da.next=12;break;case 9:da.prev=9,da.t0=da.catch(3),Hr=!1;case 12:if(Hr!==!1){da.next=14;break}return da.abrupt("return",{origin:Ha,parsedFile:null,action:null,data:null});case 14:if(oo=dn.props.action,typeof oo!="function"){da.next=21;break}return da.next=18,oo(Ha);case 18:zo=da.sent,da.next=22;break;case 21:zo=oo;case 22:if(Kn=dn.props.data,typeof Kn!="function"){da.next=29;break}return da.next=26,Kn(Ha);case 26:Br=da.sent,da.next=30;break;case 29:Br=Kn;case 30:return To=((0,me.Z)(Hr)==="object"||typeof Hr=="string")&&Hr?Hr:Ha,To instanceof File?oa=To:oa=new File([To],Ha.name,{type:Ha.type}),Za=oa,Za.uid=Ha.uid,da.abrupt("return",{origin:Ha,data:Br,parsedFile:Za,action:zo});case 35:case"end":return da.stop()}},ua,null,[[3,9]])}));return function(ua,Ha){return Pn.apply(this,arguments)}}(),dn.saveFileInput=function(Pn){dn.fileInput=Pn},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(jn){var tn=this,Yn=jn.data,Pn=jn.origin,ua=jn.action,Ha=jn.parsedFile;if(this._isMounted){var ir=this.props,Mr=ir.onStart,Hr=ir.customRequest,oo=ir.name,zo=ir.headers,Kn=ir.withCredentials,Br=ir.method,To=Pn.uid,oa=Hr||E,Za={action:ua,filename:oo,data:Yn,file:Ha,headers:zo,withCredentials:Kn,method:Br||"post",onProgress:function(da){var io=tn.props.onProgress;io==null||io(da,Ha)},onSuccess:function(da,io){var fr=tn.props.onSuccess;fr==null||fr(da,Ha,io),delete tn.reqs[To]},onError:function(da,io){var fr=tn.props.onError;fr==null||fr(da,io,Ha),delete tn.reqs[To]}};Mr(Pn),this.reqs[To]=oa(Za)}}},{key:"reset",value:function(){this.setState({uid:ne()})}},{key:"abort",value:function(jn){var tn=this.reqs;if(jn){var Yn=jn.uid?jn.uid:jn;tn[Yn]&&tn[Yn].abort&&tn[Yn].abort(),delete tn[Yn]}else Object.keys(tn).forEach(function(Pn){tn[Pn]&&tn[Pn].abort&&tn[Pn].abort(),delete tn[Pn]})}},{key:"render",value:function(){var jn,tn=this.props,Yn=tn.component,Pn=tn.prefixCls,ua=tn.className,Ha=tn.disabled,ir=tn.id,Mr=tn.style,Hr=tn.multiple,oo=tn.accept,zo=tn.capture,Kn=tn.children,Br=tn.directory,To=tn.openFileDialogOnClick,oa=tn.onMouseEnter,Za=tn.onMouseLeave,mr=(0,ze.Z)(tn,Ce),da=De()((jn={},(0,Te.Z)(jn,Pn,!0),(0,Te.Z)(jn,"".concat(Pn,"-disabled"),Ha),(0,Te.Z)(jn,ua,ua),jn)),io=Br?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},fr=Ha?{}:{onClick:To?this.onClick:function(){},onKeyDown:To?this.onKeyDown:function(){},onMouseEnter:oa,onMouseLeave:Za,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return x.createElement(Yn,(0,we.Z)({},fr,{className:da,role:"button",style:Mr}),x.createElement("input",(0,we.Z)({},(0,a.Z)(mr,{aria:!0,data:!0}),{id:ir,disabled:Ha,type:"file",ref:this.saveFileInput,onClick:function(So){return So.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:oo},io,{multiple:Hr,onChange:this.onChange},zo!=null?{capture:zo}:{})),Kn)}}]),Ut}(x.Component),ye=be;function Ae(){}var Ne=function(pt){(0,We.Z)(Ut,pt);var Jt=(0,Me.Z)(Ut);function Ut(){var dn;(0,ke.Z)(this,Ut);for(var jn=arguments.length,tn=new Array(jn),Yn=0;Yn<jn;Yn++)tn[Yn]=arguments[Yn];return dn=Jt.call.apply(Jt,[this].concat(tn)),dn.uploader=void 0,dn.saveUploader=function(Pn){dn.uploader=Pn},dn}return(0,ie.Z)(Ut,[{key:"abort",value:function(jn){this.uploader.abort(jn)}},{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 Qe=Ne,Le=Qe,Ge=ee(5663),He=ee(73935),Ke=ee(53124),qe=ee(98866),lt=ee(10110),mt=ee(24457),Vt={icon:function(Jt,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:Jt}}]}},name:"file",theme:"twotone"},cn=Vt,rt=ee(74643),yt=function(Jt,Ut){return x.createElement(rt.Z,(0,we.Z)({},Jt,{ref:Ut,icon:cn}))},Lt=x.forwardRef(yt),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(Jt,Ut){return x.createElement(rt.Z,(0,we.Z)({},Jt,{ref:Ut,icon:jt}))},Sn=x.forwardRef(_e),wn={icon:function(Jt,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:Jt}},{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:Jt}}]}},name:"picture",theme:"twotone"},ha=wn,Mn=function(Jt,Ut){return x.createElement(rt.Z,(0,we.Z)({},Jt,{ref:Ut,icon:ha}))},at=x.forwardRef(Mn),ut=ee(38379),dt=ee(57838),At=ee(33603),Et=ee(96159),gt=ee(71577);function Qt(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,Jt){const Ut=(0,de.Z)(Jt),dn=Ut.findIndex(jn=>{let{uid:tn}=jn;return tn===pt.uid});return dn===-1?Ut.push(pt):Ut[dn]=pt,Ut}function bt(pt,Jt){const Ut=pt.uid!==void 0?"uid":"name";return Jt.filter(dn=>dn[Ut]===pt[Ut])[0]}function rn(pt,Jt){const Ut=pt.uid!==void 0?"uid":"name",dn=Jt.filter(jn=>jn[Ut]!==pt[Ut]);return dn.length===Jt.length?null:dn}const Xt=function(){const Jt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),dn=Jt[Jt.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 Jt=pt.thumbUrl||pt.url||"",Ut=Xt(Jt);return/^data:image\//.test(Jt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Ut)?!0:!(/^data:/.test(Jt)||Ut)},Ln=200;function xe(pt){return new Promise(Jt=>{if(!pt.type||!$e(pt.type)){Jt("");return}const Ut=document.createElement("canvas");Ut.width=Ln,Ut.height=Ln,Ut.style.cssText=`position: fixed; left: 0; top: 0; width: ${Ln}px; height: ${Ln}px; z-index: 9999; display: none;`,document.body.appendChild(Ut);const dn=Ut.getContext("2d"),jn=new Image;if(jn.onload=()=>{const{width:tn,height:Yn}=jn;let Pn=Ln,ua=Ln,Ha=0,ir=0;tn>Yn?(ua=Yn*(Ln/tn),ir=-(ua-Pn)/2):(Pn=tn*(Ln/Yn),Ha=-(Pn-ua)/2),dn.drawImage(jn,Ha,ir,Pn,ua);const Mr=Ut.toDataURL();document.body.removeChild(Ut),window.URL.revokeObjectURL(jn.src),Jt(Mr)},jn.crossOrigin="anonymous",pt.type.startsWith("image/svg+xml")){const tn=new FileReader;tn.onload=()=>{tn.result&&(jn.src=tn.result)},tn.readAsDataURL(pt)}else if(pt.type.startsWith("image/gif")){const tn=new FileReader;tn.onload=()=>{tn.result&&Jt(tn.result)},tn.readAsDataURL(pt)}else jn.src=window.URL.createObjectURL(pt)})}var je=ee(84249),Ht=ee(90674),et=ee(99569),Ue=ee(38703),Ct=ee(83062),Zt=x.forwardRef((pt,Jt)=>{let{prefixCls:Ut,className:dn,style:jn,locale:tn,listType:Yn,file:Pn,items:ua,progress:Ha,iconRender:ir,actionIconRender:Mr,itemRender:Hr,isImgUrl:oo,showPreviewIcon:zo,showRemoveIcon:Kn,showDownloadIcon:Br,previewIcon:To,removeIcon:oa,downloadIcon:Za,onPreview:mr,onDownload:da,onClose:io}=pt;var fr,wo;const{status:So}=Pn,[Ro,Ni]=x.useState(So);x.useEffect(()=>{So!=="removed"&&Ni(So)},[So]);const[qo,ul]=x.useState(!1);x.useEffect(()=>{const tt=setTimeout(()=>{ul(!0)},300);return()=>{clearTimeout(tt)}},[]);const Yi=ir(Pn);let kn=x.createElement("div",{className:`${Ut}-icon`},Yi);if(Yn==="picture"||Yn==="picture-card"||Yn==="picture-circle")if(Ro==="uploading"||!Pn.thumbUrl&&!Pn.url){const tt=De()(`${Ut}-list-item-thumbnail`,{[`${Ut}-list-item-file`]:Ro!=="uploading"});kn=x.createElement("div",{className:tt},Yi)}else{const tt=oo!=null&&oo(Pn)?x.createElement("img",{src:Pn.thumbUrl||Pn.url,alt:Pn.name,className:`${Ut}-list-item-image`,crossOrigin:Pn.crossOrigin}):Yi,it=De()(`${Ut}-list-item-thumbnail`,{[`${Ut}-list-item-file`]:oo&&!oo(Pn)});kn=x.createElement("a",{className:it,onClick:ht=>mr(Pn,ht),href:Pn.url||Pn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},tt)}const wa=De()(`${Ut}-list-item`,`${Ut}-list-item-${Ro}`),lo=typeof Pn.linkProps=="string"?JSON.parse(Pn.linkProps):Pn.linkProps,Go=Kn?Mr((typeof oa=="function"?oa(Pn):oa)||x.createElement(je.Z,null),()=>io(Pn),Ut,tn.removeFile):null,xi=Br&&Ro==="done"?Mr((typeof Za=="function"?Za(Pn):Za)||x.createElement(Ht.Z,null),()=>da(Pn),Ut,tn.downloadFile):null,wi=Yn!=="picture-card"&&Yn!=="picture-circle"&&x.createElement("span",{key:"download-delete",className:De()(`${Ut}-list-item-actions`,{picture:Yn==="picture"})},xi,Go),si=De()(`${Ut}-list-item-name`),zi=Pn.url?[x.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:si,title:Pn.name},lo,{href:Pn.url,onClick:tt=>mr(Pn,tt)}),Pn.name),wi]:[x.createElement("span",{key:"view",className:si,onClick:tt=>mr(Pn,tt),title:Pn.name},Pn.name),wi],jr={pointerEvents:"none",opacity:.5},ce=zo?x.createElement("a",{href:Pn.url||Pn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Pn.url||Pn.thumbUrl?void 0:jr,onClick:tt=>mr(Pn,tt),title:tn.previewFile},typeof To=="function"?To(Pn):To||x.createElement(et.Z,null)):null,Pe=(Yn==="picture-card"||Yn==="picture-circle")&&Ro!=="uploading"&&x.createElement("span",{className:`${Ut}-list-item-actions`},ce,Ro==="done"&&xi,Go),{getPrefixCls:Oe}=x.useContext(Ke.E_),Se=Oe(),Je=x.createElement("div",{className:wa},kn,zi,Pe,qo&&x.createElement(ut.default,{motionName:`${Se}-fade`,visible:Ro==="uploading",motionDeadline:2e3},tt=>{let{className:it}=tt;const ht="percent"in Pn?x.createElement(Ue.Z,Object.assign({},Ha,{type:"line",percent:Pn.percent,"aria-label":Pn["aria-label"],"aria-labelledby":Pn["aria-labelledby"]})):null;return x.createElement("div",{className:De()(`${Ut}-list-item-progress`,it)},ht)})),ot=Pn.response&&typeof Pn.response=="string"?Pn.response:((fr=Pn.error)===null||fr===void 0?void 0:fr.statusText)||((wo=Pn.error)===null||wo===void 0?void 0:wo.message)||tn.uploadError,wt=Ro==="error"?x.createElement(Ct.Z,{title:ot,getPopupContainer:tt=>tt.parentNode},Je):Je;return x.createElement("div",{className:De()(`${Ut}-list-item-container`,dn),style:jn,ref:Jt},Hr?Hr(wt,Pn,ua,{download:da.bind(null,Pn),preview:mr.bind(null,Pn),remove:io.bind(null,Pn)}):wt)});const vn=(pt,Jt)=>{const{listType:Ut="text",previewFile:dn=xe,onPreview:jn,onDownload:tn,onRemove:Yn,locale:Pn,iconRender:ua,isImageUrl:Ha=Re,prefixCls:ir,items:Mr=[],showPreviewIcon:Hr=!0,showRemoveIcon:oo=!0,showDownloadIcon:zo=!1,removeIcon:Kn,previewIcon:Br,downloadIcon:To,progress:oa={size:[-1,2],showInfo:!1},appendAction:Za,appendActionVisible:mr=!0,itemRender:da,disabled:io}=pt,fr=(0,dt.Z)(),[wo,So]=x.useState(!1);x.useEffect(()=>{Ut!=="picture"&&Ut!=="picture-card"&&Ut!=="picture-circle"||(Mr||[]).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||"",fr()}))})},[Ut,Mr,dn]),x.useEffect(()=>{So(!0)},[]);const Ro=(jr,ce)=>{if(jn)return ce==null||ce.preventDefault(),jn(jr)},Ni=jr=>{typeof tn=="function"?tn(jr):jr.url&&window.open(jr.url)},qo=jr=>{Yn==null||Yn(jr)},ul=jr=>{if(ua)return ua(jr,Ut);const ce=jr.status==="uploading",Pe=Ha&&Ha(jr)?x.createElement(at,null):x.createElement(Lt,null);let Oe=ce?x.createElement(ct.Z,null):x.createElement(Sn,null);return Ut==="picture"?Oe=ce?x.createElement(ct.Z,null):Pe:(Ut==="picture-card"||Ut==="picture-circle")&&(Oe=ce?Pn.uploading:Pe),Oe},Yi=(jr,ce,Pe,Oe)=>{const Se={type:"text",size:"small",title:Oe,onClick:Je=>{ce(),(0,Et.l$)(jr)&&jr.props.onClick&&jr.props.onClick(Je)},className:`${Pe}-list-item-action`,disabled:io};if((0,Et.l$)(jr)){const Je=(0,Et.Tm)(jr,Object.assign(Object.assign({},jr.props),{onClick:()=>{}}));return x.createElement(gt.ZP,Object.assign({},Se,{icon:Je}))}return x.createElement(gt.ZP,Object.assign({},Se),x.createElement("span",null,jr))};x.useImperativeHandle(Jt,()=>({handlePreview:Ro,handleDownload:Ni}));const{getPrefixCls:kn}=x.useContext(Ke.E_),wa=kn("upload",ir),lo=kn(),Go=De()(`${wa}-list`,`${wa}-list-${Ut}`),xi=(0,de.Z)(Mr.map(jr=>({key:jr.uid,file:jr})));let si={motionDeadline:2e3,motionName:`${wa}-${Ut==="picture-card"||Ut==="picture-circle"?"animate-inline":"animate"}`,keys:xi,motionAppear:wo};const zi=x.useMemo(()=>{const jr=Object.assign({},(0,At.Z)(lo));return delete jr.onAppearEnd,delete jr.onEnterEnd,delete jr.onLeaveEnd,jr},[lo]);return Ut!=="picture-card"&&Ut!=="picture-circle"&&(si=Object.assign(Object.assign({},zi),si)),x.createElement("div",{className:Go},x.createElement(ut.CSSMotionList,Object.assign({},si,{component:!1}),jr=>{let{key:ce,file:Pe,className:Oe,style:Se}=jr;return x.createElement(Zt,{key:ce,locale:Pn,prefixCls:wa,className:Oe,style:Se,file:Pe,items:Mr,progress:oa,listType:Ut,isImgUrl:Ha,showPreviewIcon:Hr,showRemoveIcon:oo,showDownloadIcon:zo,removeIcon:Kn,previewIcon:Br,downloadIcon:To,iconRender:ul,actionIconRender:Yi,itemRender:da,onPreview:Ro,onDownload:Ni,onClose:qo})}),Za&&x.createElement(ut.default,Object.assign({},si,{visible:mr,forceRender:!0}),jr=>{let{className:ce,style:Pe}=jr;return(0,Et.Tm)(Za,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(vn),St=ee(14747),en=ee(33507),Gt=ee(67968),mn=ee(45503),xn=pt=>{const{componentCls:Jt,iconCls:Ut}=pt;return{[`${Jt}-wrapper`]:{[`${Jt}-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}`,[Jt]:{padding:`${pt.padding}px 0`},[`${Jt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${Jt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${Jt}-disabled):hover`]:{borderColor:pt.colorPrimaryHover},[`p${Jt}-drag-icon`]:{marginBottom:pt.margin,[Ut]:{color:pt.colorPrimary,fontSize:pt.uploadThumbnailSize}},[`p${Jt}-text`]:{margin:`0 0 ${pt.marginXXS}px`,color:pt.colorTextHeading,fontSize:pt.fontSizeLG},[`p${Jt}-hint`]:{color:pt.colorTextDescription,fontSize:pt.fontSize},[`&${Jt}-disabled`]:{cursor:"not-allowed",[`p${Jt}-drag-icon ${Ut},
|
|
p${Jt}-text,
|
|
p${Jt}-hint
|
|
`]:{color:pt.colorTextDisabled}}}}}},pa=pt=>{const{componentCls:Jt,antCls:Ut,iconCls:dn,fontSize:jn,lineHeight:tn}=pt,Yn=`${Jt}-list-item`,Pn=`${Yn}-actions`,ua=`${Yn}-action`,Ha=Math.round(jn*tn);return{[`${Jt}-wrapper`]:{[`${Jt}-list`]:Object.assign(Object.assign({},(0,St.dF)()),{lineHeight:pt.lineHeight,[Yn]:{position:"relative",height:pt.lineHeight*jn,marginTop:pt.marginXS,fontSize:jn,display:"flex",alignItems:"center",transition:`background-color ${pt.motionDurationSlow}`,"&:hover":{backgroundColor:pt.controlItemBgHover},[`${Yn}-name`]:Object.assign(Object.assign({},St.vS),{padding:`0 ${pt.paddingXS}px`,lineHeight:tn,flex:"auto",transition:`all ${pt.motionDurationSlow}`}),[Pn]:{[ua]:{opacity:0},[`${ua}${Ut}-btn-sm`]:{height:Ha,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
|
|
${ua}:focus-visible,
|
|
&.picture ${ua}
|
|
`]:{opacity:1},[dn]:{color:pt.actionsColor,transition:`all ${pt.motionDurationSlow}`},[`&:hover ${dn}`]:{color:pt.colorText}},[`${Jt}-icon ${dn}`]:{color:pt.colorTextDescription,fontSize:jn},[`${Yn}-progress`]:{position:"absolute",bottom:-pt.uploadProgressOffset,width:"100%",paddingInlineStart:jn+pt.paddingXS,fontSize:jn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Yn}:hover ${ua}`]:{opacity:1,color:pt.colorText},[`${Yn}-error`]:{color:pt.colorError,[`${Yn}-name, ${Jt}-icon ${dn}`]:{color:pt.colorError},[Pn]:{[`${dn}, ${dn}:hover`]:{color:pt.colorError},[ua]:{opacity:1}}},[`${Jt}-list-item-container`]:{transition:`opacity ${pt.motionDurationSlow}, height ${pt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Kt=ee(45930),$t=ee(16932);const qt=new Kt.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),sa=new Kt.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Hn=pt=>{const{componentCls:Jt}=pt,Ut=`${Jt}-animate-inline`;return[{[`${Jt}-wrapper`]:{[`${Ut}-appear, ${Ut}-enter, ${Ut}-leave`]:{animationDuration:pt.motionDurationSlow,animationTimingFunction:pt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Ut}-appear, ${Ut}-enter`]:{animationName:qt},[`${Ut}-leave`]:{animationName:sa}}},{[`${Jt}-wrapper`]:(0,$t.J$)(pt)},qt,sa]},Oa=ee(47448),Ta=ee(84780);const Pr=pt=>{const{componentCls:Jt,iconCls:Ut,uploadThumbnailSize:dn,uploadProgressOffset:jn}=pt,tn=`${Jt}-list`,Yn=`${tn}-item`;return{[`${Jt}-wrapper`]:{[`
|
|
${tn}${tn}-picture,
|
|
${tn}${tn}-picture-card,
|
|
${tn}${tn}-picture-circle
|
|
`]:{[Yn]:{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"},[`${Yn}-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"}}),[`${Yn}-progress`]:{bottom:jn,width:`calc(100% - ${pt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:dn+pt.paddingXS}},[`${Yn}-error`]:{borderColor:pt.colorError,[`${Yn}-thumbnail ${Ut}`]:{[`svg path[fill='${Oa.blue[0]}']`]:{fill:pt.colorErrorBg},[`svg path[fill='${Oa.blue.primary}']`]:{fill:pt.colorError}}},[`${Yn}-uploading`]:{borderStyle:"dashed",[`${Yn}-name`]:{marginBottom:jn}}},[`${tn}${tn}-picture-circle ${Yn}`]:{[`&, &::before, ${Yn}-thumbnail`]:{borderRadius:"50%"}}}}},zr=pt=>{const{componentCls:Jt,iconCls:Ut,fontSizeLG:dn,colorTextLightSolid:jn}=pt,tn=`${Jt}-list`,Yn=`${tn}-item`,Pn=pt.uploadPicCardSize;return{[`
|
|
${Jt}-wrapper${Jt}-picture-card-wrapper,
|
|
${Jt}-wrapper${Jt}-picture-circle-wrapper
|
|
`]:Object.assign(Object.assign({},(0,St.dF)()),{display:"inline-block",width:"100%",[`${Jt}${Jt}-select`]:{width:Pn,height:Pn,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}`,[`> ${Jt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Jt}-disabled):hover`]:{borderColor:pt.colorPrimary}},[`${tn}${tn}-picture-card, ${tn}${tn}-picture-circle`]:{[`${tn}-item-container`]:{display:"inline-block",width:Pn,height:Pn,marginBlock:`0 ${pt.marginXS}px`,marginInline:`0 ${pt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Yn]:{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:'" "'}},[`${Yn}:hover`]:{[`&::before, ${Yn}-actions`]:{opacity:1}},[`${Yn}-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"}}},[`${Yn}-actions, ${Yn}-actions:hover`]:{[`${Ut}-eye, ${Ut}-download, ${Ut}-delete`]:{color:new Ta.C(jn).setAlpha(.65).toRgbString(),"&:hover":{color:jn}}},[`${Yn}-thumbnail, ${Yn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Yn}-name`]:{display:"none",textAlign:"center"},[`${Yn}-file + ${Yn}-name`]:{position:"absolute",bottom:pt.margin,display:"block",width:`calc(100% - ${pt.paddingXS*2}px)`},[`${Yn}-uploading`]:{[`&${Yn}`]:{backgroundColor:pt.colorFillAlter},[`&::before, ${Ut}-eye, ${Ut}-download, ${Ut}-delete`]:{display:"none"}},[`${Yn}-progress`]:{bottom:pt.marginXL,width:`calc(100% - ${pt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${Jt}-wrapper${Jt}-picture-circle-wrapper`]:{[`${Jt}${Jt}-select`]:{borderRadius:"50%"}}}};var Xe=pt=>{const{componentCls:Jt}=pt;return{[`${Jt}-rtl`]:{direction:"rtl"}}};const Bt=pt=>{const{componentCls:Jt,colorTextDisabled:Ut}=pt;return{[`${Jt}-wrapper`]:Object.assign(Object.assign({},(0,St.Wf)(pt)),{[Jt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Jt}-select`]:{display:"inline-block"},[`${Jt}-disabled`]:{color:Ut,cursor:"not-allowed"}})}};var xt=(0,Gt.Z)("Upload",pt=>{const{fontSizeHeading3:Jt,fontSize:Ut,lineHeight:dn,lineWidth:jn,controlHeightLG:tn}=pt,Yn=Math.round(Ut*dn),Pn=(0,mn.TS)(pt,{uploadThumbnailSize:Jt*2,uploadProgressOffset:Yn/2+jn,uploadPicCardSize:tn*2.55});return[Bt(Pn),xn(Pn),Pr(Pn),zr(Pn),pa(Pn),Hn(Pn),Xe(Pn),(0,en.Z)(Pn)]},pt=>({actionsColor:pt.colorTextDescription})),Tn=function(pt,Jt,Ut,dn){function jn(tn){return tn instanceof Ut?tn:new Ut(function(Yn){Yn(tn)})}return new(Ut||(Ut=Promise))(function(tn,Yn){function Pn(ir){try{Ha(dn.next(ir))}catch(Mr){Yn(Mr)}}function ua(ir){try{Ha(dn.throw(ir))}catch(Mr){Yn(Mr)}}function Ha(ir){ir.done?tn(ir.value):jn(ir.value).then(Pn,ua)}Ha((dn=dn.apply(pt,Jt||[])).next())})};const pn=`__LIST_IGNORE_${Date.now()}__`,_n=(pt,Jt)=>{const{fileList:Ut,defaultFileList:dn,onRemove:jn,showUploadList:tn=!0,listType:Yn="text",onPreview:Pn,onDownload:ua,onChange:Ha,onDrop:ir,previewFile:Mr,disabled:Hr,locale:oo,iconRender:zo,isImageUrl:Kn,progress:Br,prefixCls:To,className:oa,type:Za="select",children:mr,style:da,itemRender:io,maxCount:fr,data:wo={},multiple:So=!1,action:Ro="",accept:Ni="",supportServerRender:qo=!0,rootClassName:ul}=pt,Yi=x.useContext(qe.Z),kn=Hr!=null?Hr:Yi,[wa,lo]=(0,Ge.Z)(dn||[],{value:Ut,postState:qn=>qn!=null?qn:[]}),[Go,xi]=x.useState("drop"),wi=x.useRef(null);x.useMemo(()=>{const qn=Date.now();(Ut||[]).forEach((Ea,Ma)=>{!Ea.uid&&!Object.isFrozen(Ea)&&(Ea.uid=`__AUTO__${qn}_${Ma}__`)})},[Ut]);const si=(qn,Ea,Ma)=>{let La=(0,de.Z)(Ea),er=!1;fr===1?La=La.slice(-1):fr&&(er=La.length>fr,La=La.slice(0,fr)),(0,He.flushSync)(()=>{lo(La)});const Sr={file:qn,fileList:La};Ma&&(Sr.event=Ma),(!er||La.some(eo=>eo.uid===qn.uid))&&(0,He.flushSync)(()=>{Ha==null||Ha(Sr)})},zi=(qn,Ea)=>Tn(void 0,void 0,void 0,function*(){const{beforeUpload:Ma,transformFile:La}=pt;let er=qn;if(Ma){const Sr=yield Ma(qn,Ea);if(Sr===!1)return!1;if(delete qn[pn],Sr===pn)return Object.defineProperty(qn,pn,{value:!0,configurable:!0}),!1;typeof Sr=="object"&&Sr&&(er=Sr)}return La&&(er=yield La(er)),er}),jr=qn=>{const Ea=qn.filter(er=>!er.file[pn]);if(!Ea.length)return;const Ma=Ea.map(er=>Qt(er.file));let La=(0,de.Z)(wa);Ma.forEach(er=>{La=Ot(er,La)}),Ma.forEach((er,Sr)=>{let eo=er;if(Ea[Sr].parsedFile)er.status="uploading";else{const{originFileObj:Lo}=er;let ga;try{ga=new File([Lo],Lo.name,{type:Lo.type})}catch(ii){ga=new Blob([Lo],{type:Lo.type}),ga.name=Lo.name,ga.lastModifiedDate=new Date,ga.lastModified=new Date().getTime()}ga.uid=er.uid,eo=ga}si(eo,La)})},ce=(qn,Ea,Ma)=>{try{typeof qn=="string"&&(qn=JSON.parse(qn))}catch(Sr){}if(!bt(Ea,wa))return;const La=Qt(Ea);La.status="done",La.percent=100,La.response=qn,La.xhr=Ma;const er=Ot(La,wa);si(La,er)},Pe=(qn,Ea)=>{if(!bt(Ea,wa))return;const Ma=Qt(Ea);Ma.status="uploading",Ma.percent=qn.percent;const La=Ot(Ma,wa);si(Ma,La,qn)},Oe=(qn,Ea,Ma)=>{if(!bt(Ma,wa))return;const La=Qt(Ma);La.error=qn,La.response=Ea,La.status="error";const er=Ot(La,wa);si(La,er)},Se=qn=>{let Ea;Promise.resolve(typeof jn=="function"?jn(qn):jn).then(Ma=>{var La;if(Ma===!1)return;const er=rn(qn,wa);er&&(Ea=Object.assign(Object.assign({},qn),{status:"removed"}),wa==null||wa.forEach(Sr=>{const eo=Ea.uid!==void 0?"uid":"name";Sr[eo]===Ea[eo]&&!Object.isFrozen(Sr)&&(Sr.status="removed")}),(La=wi.current)===null||La===void 0||La.abort(Ea),si(Ea,er))})},Je=qn=>{xi(qn.type),qn.type==="drop"&&(ir==null||ir(qn))};x.useImperativeHandle(Jt,()=>({onBatchStart:jr,onSuccess:ce,onProgress:Pe,onError:Oe,fileList:wa,upload:wi.current}));const{getPrefixCls:ot,direction:wt,upload:tt}=x.useContext(Ke.E_),it=ot("upload",To),ht=Object.assign(Object.assign({onBatchStart:jr,onError:Oe,onProgress:Pe,onSuccess:ce},pt),{data:wo,multiple:So,action:Ro,accept:Ni,supportServerRender:qo,prefixCls:it,disabled:kn,beforeUpload:zi,onChange:void 0});delete ht.className,delete ht.style,(!mr||kn)&&delete ht.id;const[nn,fn]=xt(it),[$n]=(0,lt.Z)("Upload",mt.Z.Upload),{showRemoveIcon:In,showPreviewIcon:Aa,showDownloadIcon:va,removeIcon:Fa,previewIcon:Wn,downloadIcon:Cn}=typeof tn=="boolean"?{}:tn,on=(qn,Ea)=>tn?x.createElement(Tt,{prefixCls:it,listType:Yn,items:wa,previewFile:Mr,onPreview:Pn,onDownload:ua,onRemove:Se,showRemoveIcon:!kn&&In,showPreviewIcon:Aa,showDownloadIcon:va,removeIcon:Fa,previewIcon:Wn,downloadIcon:Cn,iconRender:zo,locale:Object.assign(Object.assign({},$n),oo),isImageUrl:Kn,progress:Br,appendAction:qn,appendActionVisible:Ea,itemRender:io,disabled:kn}):qn,yn=De()(`${it}-wrapper`,oa,ul,fn,tt==null?void 0:tt.className,{[`${it}-rtl`]:wt==="rtl",[`${it}-picture-card-wrapper`]:Yn==="picture-card",[`${it}-picture-circle-wrapper`]:Yn==="picture-circle"}),An=Object.assign(Object.assign({},tt==null?void 0:tt.style),da);if(Za==="drag"){const qn=De()(fn,it,`${it}-drag`,{[`${it}-drag-uploading`]:wa.some(Ea=>Ea.status==="uploading"),[`${it}-drag-hover`]:Go==="dragover",[`${it}-disabled`]:kn,[`${it}-rtl`]:wt==="rtl"});return nn(x.createElement("span",{className:yn},x.createElement("div",{className:qn,style:An,onDrop:Je,onDragOver:Je,onDragLeave:Je},x.createElement(Le,Object.assign({},ht,{ref:wi,className:`${it}-btn`}),x.createElement("div",{className:`${it}-drag-container`},mr))),on()))}const ea=De()(it,`${it}-select`,{[`${it}-disabled`]:kn}),Ba=(qn=>x.createElement("div",{className:ea,style:qn},x.createElement(Le,Object.assign({},ht,{ref:wi}))))(mr?void 0:{display:"none"});return nn(Yn==="picture-card"||Yn==="picture-circle"?x.createElement("span",{className:yn},on(Ba,!!mr)):x.createElement("span",{className:yn},Ba,on()))};var Ra=x.forwardRef(_n),br=function(pt,Jt){var Ut={};for(var dn in pt)Object.prototype.hasOwnProperty.call(pt,dn)&&Jt.indexOf(dn)<0&&(Ut[dn]=pt[dn]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jn=0,dn=Object.getOwnPropertySymbols(pt);jn<dn.length;jn++)Jt.indexOf(dn[jn])<0&&Object.prototype.propertyIsEnumerable.call(pt,dn[jn])&&(Ut[dn[jn]]=pt[dn[jn]]);return Ut},mo=x.forwardRef((pt,Jt)=>{var{style:Ut,height:dn}=pt,jn=br(pt,["style","height"]);return x.createElement(Ra,Object.assign({ref:Jt},jn,{type:"drag",style:Object.assign(Object.assign({},Ut),{height:dn})}))});const Xn=Ra;Xn.Dragger=mo,Xn.LIST_IGNORE=pn;var ur=Xn},97909:function(ft){(function(st,ee){ft.exports=ee()})(this,function(){"use strict";var st=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),Qe=ye-Ne<0,Le=be.clone().add(Ae+(Qe?-1:1),We);return+(-(Ae+(ye-Ne)/(Qe?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 Qe=be.toLowerCase();z[Qe]&&(Ne=Qe),ye&&(z[Qe]=ye,Ne=Qe);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,Qe=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 Qe?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,Qe=!!le.u(Ae)||Ae,Le=le.p(ye),Ge=function(rt,yt){var Lt=le.w(Ne.$u?Date.UTC(Ne.$y,yt,rt):new Date(Ne.$y,yt,rt),Ne);return Qe?Lt:Lt.endOf(ke)},He=function(rt,yt){return le.w(Ne.toDate()[rt].apply(Ne.toDate("s"),(Qe?[0,0,0,0]:[23,59,59,999]).slice(yt)),Ne)},Ke=this.$W,qe=this.$M,lt=this.$D,mt="set"+(this.$u?"UTC":"");switch(Le){case Te:return Qe?Ge(1,0):Ge(31,11);case We:return Qe?Ge(1,qe):Ge(0,qe+1);case ie:var Vt=this.$locale().weekStart||0,cn=(Ke<Vt?Ke+7:Ke)-Vt;return Ge(Qe?lt-cn:lt+(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,Qe=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)[Qe],He=Qe===ke?this.$D+(Ae-this.$W):Ae;if(Qe===We||Qe===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,Qe=this;ye=Number(ye);var Le=le.p(Ae),Ge=function(qe){var lt=ae(Qe);return le.w(lt.date(lt.date()+Math.round(qe*ye)),Qe)};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]=st,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 Qe=ye||"YYYY-MM-DDTHH:mm:ssZ",Le=le.z(this),Ge=this.$H,He=this.$m,Ke=this.$M,qe=Ne.weekdays,lt=Ne.months,mt=Ne.meridiem,Vt=function(yt,Lt,ct,Ft){return yt&&(yt[Lt]||yt(Ae,Qe))||ct[Lt].slice(0,Ft)},cn=function(yt){return le.s(Ge%12||12,yt,"0")},rt=mt||function(yt,Lt,ct){var Ft=yt<12?"AM":"PM";return ct?Ft.toLowerCase():Ft};return Qe.replace(oe,function(yt,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 Vt(Ne.monthsShort,Ke,lt,3);case"MMMM":return Vt(lt,Ke);case"D":return Ae.$D;case"DD":return le.s(Ae.$D,2,"0");case"d":return String(Ae.$W);case"dd":return Vt(Ne.weekdaysMin,Ae.$W,qe,2);case"ddd":return Vt(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}(yt)||Le.replace(":","")})},be.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},be.diff=function(ye,Ae,Ne){var Qe,Le=this,Ge=le.p(Ae),He=ae(ye),Ke=(He.utcOffset()-this.utcOffset())*ee,qe=this-He,lt=function(){return le.m(Le,He)};switch(Ge){case Te:Qe=lt()/12;break;case We:Qe=lt();break;case Me:Qe=lt()/3;break;case ie:Qe=(qe-Ke)/6048e5;break;case ke:Qe=(qe-Ke)/864e5;break;case we:Qe=qe/x;break;case De:Qe=qe/ee;break;case pe:Qe=qe/st;break;default:Qe=qe}return Ne?Qe:le.a(Qe)},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(),Qe=re(ye,Ae,!0);return Qe&&(Ne.$L=Qe),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(st,ee){ft.exports=ee()})(this,function(){"use strict";return function(st,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(st,ee){ft.exports=ee()})(this,function(){"use strict";var st={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]||st[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 Qe=Ne.afternoon;if(Qe!==void 0){var Le=Ne.hours;Qe?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 Qe=ze(Ae)(ye),Le=Qe.year,Ge=Qe.month,He=Qe.day,Ke=Qe.hours,qe=Qe.minutes,lt=Qe.seconds,mt=Qe.milliseconds,Vt=Qe.zone,cn=new Date,rt=He||(Le||Ge?1:cn.getDate()),yt=Le||cn.getFullYear(),Lt=0;Le&&!Ge||(Lt=Ge>0?Ge-1:cn.getMonth());var ct=Ke||0,Ft=qe||0,jt=lt||0,_e=mt||0;return Vt?new Date(Date.UTC(yt,Lt,rt,ct,Ft,jt,_e+60*Vt.offset*1e3)):Ne?new Date(Date.UTC(yt,Lt,rt,ct,Ft,jt,_e)):new Date(yt,Lt,rt,ct,Ft,jt,_e)}catch(Sn){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(st,ee){ft.exports=ee()})(this,function(){"use strict";return function(st,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(st,ee){ft.exports=ee()})(this,function(){"use strict";var st="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(st);if(ie.isBefore(We))return 1}var Me=pe(this).startOf(ee).date(ke).startOf(st).subtract(1,"millisecond"),Te=this.diff(Me,st,!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(st,ee){ft.exports=ee()})(this,function(){"use strict";return function(st,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(st,ee){ft.exports=ee()})(this,function(){"use strict";return function(st,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,st){"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},st.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,st,ee){"use strict";ft.exports=ee(72665)},56261:function(ft,st,ee){"use strict";ee.d(st,{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,Qe="".concat(be,"-indent-unit"),Le=[],Ge=0;Ge<ye;Ge+=1){var He;Le.push(me.createElement("span",{key:Ge,className:ze()(Qe,(He={},(0,de.Z)(He,"".concat(Qe,"-start"),Ae[Ge]),(0,de.Z)(He,"".concat(Qe,"-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),Qe=0;Qe<Ae;Qe++)Ne[Qe]=arguments[Qe];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 lt=!Ke;qe(Le,(0,E.F)(ye.props),lt)}}},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,lt=qe.loadData,mt=qe.onNodeLoad;He||lt&&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,lt=ye.isDisabled(),mt=ye.isCheckable();if(!mt)return null;var Vt=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"),(lt||Ke)&&"".concat(qe,"-checkbox-disabled")),onClick:ye.onCheck},Vt)},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,lt=Ge.icon,mt=Ge.loading,Vt=Ge.data,cn=ye.props.context,rt=cn.prefixCls,yt=cn.showIcon,Lt=cn.icon,ct=cn.loadData,Ft=cn.titleRender,jt=ye.isDisabled(),_e="".concat(rt,"-node-content-wrapper"),Sn;if(yt){var wn=lt||Lt;Sn=wn?me.createElement("span",{className:ze()("".concat(rt,"-iconEle"),"".concat(rt,"-icon__customize"))},typeof wn=="function"?wn(ye.props):wn):ye.renderIcon()}else ct&&mt&&(Sn=ye.renderIcon());var ha;typeof Ke=="function"?ha=Ke(Vt):Ft?ha=Ft(Vt):ha=Ke;var Mn=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},Sn,Mn,ye.renderDropIndicator())},ye.renderDropIndicator=function(){var Le=ye.props,Ge=Le.disabled,He=Le.eventKey,Ke=ye.props.context,qe=Ke.draggable,lt=Ke.dropLevelOffset,mt=Ke.dropPosition,Vt=Ke.prefixCls,cn=Ke.indent,rt=Ke.dropIndicatorRender,yt=Ke.dragOverNodeKey,Lt=Ke.direction,ct=!!qe,Ft=!Ge&&ct&&yt===He,jt=cn!=null?cn:ye.cacheIndent;return ye.cacheIndent=cn,Ft?rt({dropPosition:mt,dropLevelOffset:lt,indent:jt,prefixCls:Vt,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,Qe=Ne.eventKey,Le=Ne.className,Ge=Ne.style,He=Ne.dragOver,Ke=Ne.dragOverGapTop,qe=Ne.dragOverGapBottom,lt=Ne.isLeaf,mt=Ne.isStart,Vt=Ne.isEnd,cn=Ne.expanded,rt=Ne.selected,yt=Ne.checked,Lt=Ne.halfChecked,ct=Ne.loading,Ft=Ne.domRef,jt=Ne.active,_e=Ne.data,Sn=Ne.onMouseMove,wn=Ne.selectable,ha=(0,pe.Z)(Ne,z),Mn=this.props.context,at=Mn.prefixCls,ut=Mn.filterTreeNode,dt=Mn.keyEntities,At=Mn.dropContainerKey,Et=Mn.dropTargetKey,gt=Mn.draggingNodeKey,Qt=this.isDisabled(),Ot=(0,Be.Z)(ha,{aria:!0,data:!0}),bt=(0,b.Z)(dt,Qe)||{},rn=bt.level,Xt=Vt[Vt.length-1],$e=this.isDraggable(),Re=!Qt&&$e,Ln=gt===Qe,xe=wn!==void 0?{"aria-selected":!!wn}: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"),Qt),(0,de.Z)(Ae,"".concat(at,"-treenode-switcher-").concat(cn?"open":"close"),!lt),(0,de.Z)(Ae,"".concat(at,"-treenode-checkbox-checked"),yt),(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"),Xt),(0,de.Z)(Ae,"".concat(at,"-treenode-draggable"),$e),(0,de.Z)(Ae,"dragging",Ln),(0,de.Z)(Ae,"drop-target",Et===Qe),(0,de.Z)(Ae,"drop-container",At===Qe),(0,de.Z)(Ae,"drag-over",!Qt&&He),(0,de.Z)(Ae,"drag-over-gap-top",!Qt&&Ke),(0,de.Z)(Ae,"drag-over-gap-bottom",!Qt&&qe),(0,de.Z)(Ae,"filter-node",ut&&ut((0,E.F)(this.props))),Ae)),style:Ge,draggable:Re,"aria-grabbed":Ln,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:Sn},xe,Ot),me.createElement(y,{prefixCls:at,level:rn,isStart:mt,isEnd:Vt}),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,st,ee){"use strict";ee.d(st,{k:function(){return de}});var x=ee(67294),de=x.createContext(null)},29873:function(ft,st,ee){"use strict";ee.d(st,{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,Qe=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)-Qe),lt=(qe-12)/le,mt=(0,ke.Z)(be,ae.props.eventKey);if(Le<He+Ke/2){var Vt=Ce.findIndex(function(Mn){return Mn.key===mt.key}),cn=Vt<=0?0:Vt-1,rt=Ce[cn].key;mt=(0,ke.Z)(be,rt)}var yt=mt.key,Lt=mt,ct=mt.key,Ft=0,jt=0;if(!ye.includes(yt))for(var _e=0;_e<lt&&me(mt);_e+=1)mt=mt.parent,jt+=1;var Sn=re.props.data,wn=mt.node,ha=!0;return oe(mt)&&mt.level===0&&Le<He+Ke/2&&ve({dragNode:Sn,dropNode:wn,dropPosition:-1})&&mt.key===ae.props.eventKey?Ft=-1:(Lt.children||[]).length&&ye.includes(ct)?ve({dragNode:Sn,dropNode:wn,dropPosition:0})?Ft=0:ha=!1:jt===0?lt>-1.5?ve({dragNode:Sn,dropNode:wn,dropPosition:1})?Ft=1:ha=!1:ve({dragNode:Sn,dropNode:wn,dropPosition:0})?Ft=0:ve({dragNode:Sn,dropNode:wn,dropPosition:1})?Ft=1:ha=!1:ve({dragNode:Sn,dropNode:wn,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,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";ee.d(st,{Z:function(){return x}});function x(de,pe){return de[pe]}},83898:function(ft,st,ee){"use strict";ee.d(st,{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 Qe=String(Ae);warning(!he.has(Qe)||Ae===null||Ae===void 0,"Same 'key' exist in the Tree: ".concat(Qe)),he.set(Qe,!0),ve(Ne,"".concat(be).concat(Qe," > "))})}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),Qe=(0,pe.Z)({key:be},Ne),Le=le(Ae);return Le.length&&(Qe.children=Le),Qe}).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 Qe(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),lt=oe(He[be],qe),mt,Vt=0;Vt<Ce.length;Vt+=1){var cn=Ce[Vt];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:lt,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(lt)?rt.children=Qe(He[ye]||[],rt):rt.children=[],rt})}return Qe(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),Qe=Ne.key,Le=Ne.children,Ge=be||Le,He;ye?typeof ye=="string"?He=function(lt){return lt[ye]}:typeof ye=="function"&&(He=function(lt){return ye(lt)}):He=function(lt,mt){return oe(lt[Qe],mt)};function Ke(qe,lt,mt,Vt){var cn=qe?qe[Ge]:ae,rt=qe?Be(mt.pos,lt):"0",yt=qe?[].concat((0,de.Z)(Vt),[qe]):[];if(qe){var Lt=He(qe,rt),ct={node:qe,index:lt,pos:rt,key:Lt,parentPos:mt.node?mt.pos:null,level:mt.level+1,nodes:yt};le(ct)}cn&&cn.forEach(function(Ft,jt){Ke(Ft,jt,{node:qe,pos:rt,level:mt?mt.level+1:-1},yt)})}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,Qe=be||Ne,Le={},Ge={},He={posEntities:Le,keyEntities:Ge};return he&&(He=he(He)||He),z(ae,function(Ke){var qe=Ke.node,lt=Ke.index,mt=Ke.pos,Vt=Ke.key,cn=Ke.parentPos,rt=Ke.level,yt=Ke.nodes,Lt={node:qe,nodes:yt,index:lt,key:Vt,pos:mt,level:rt},ct=oe(Vt,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:Qe,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,Qe=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&&Qe===0,dragOverGapTop:Ne===ae&&Qe===-1,dragOverGapBottom:Ne===ae&&Qe===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,Qe=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:Qe,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,st,ee){"use strict";ee.d(st,{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,st,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)}st.ZP=ke},81533:function(ft,st){"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},st.isFragment=function(re){return te(re)===De},ee=function(re){return te(re)===a},st.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,st,ee){"use strict";ft.exports=ee(81533)},92389:function(ft,st){"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}}};st.Z=ee},19575:function(ft,st,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 Qe={},Le=0,Ge=Ne.length;Le<Ge;Le++)Qe[Ne.charAt(Le)]=Le;return Qe}(ke),We=String.fromCharCode,Me=function(Ne){if(Ne.length<2){var Qe=Ne.charCodeAt(0);return Qe<128?Ne:Qe<2048?We(192|Qe>>>6)+We(128|Qe&63):We(224|Qe>>>12&15)+We(128|Qe>>>6&63)+We(128|Qe&63)}else{var Qe=65536+(Ne.charCodeAt(0)-55296)*1024+(Ne.charCodeAt(1)-56320);return We(240|Qe>>>18&7)+We(128|Qe>>>12&63)+We(128|Qe>>>6&63)+We(128|Qe&63)}},Te=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ze=function(Ne){return Ne.replace(Te,Me)},Be=function(Ne){var Qe=[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),Qe>=2?"=":ke.charAt(Le>>>6&63),Qe>=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(Qe){return Qe=="+"?"-":"_"}).replace(/=/g,"")},y=function(Ne,Qe){return Qe?a(oe(Ne)):oe(Ne)},b=function(Ne){return y(Ne,!0)},E;pe.Uint8Array&&(E=function(Ne,Qe){for(var Le="",Ge=0,He=Ne.length;Ge<He;Ge+=3){var Ke=Ne[Ge],qe=Ne[Ge+1],lt=Ne[Ge+2],mt=Ke<<16|qe<<8|lt;Le+=ke.charAt(mt>>>18)+ke.charAt(mt>>>12&63)+(typeof qe!="undefined"?ke.charAt(mt>>>6&63):"=")+(typeof lt!="undefined"?ke.charAt(mt&63):"=")}return Qe?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 Qe=(7&Ne.charCodeAt(0))<<18|(63&Ne.charCodeAt(1))<<12|(63&Ne.charCodeAt(2))<<6|63&Ne.charCodeAt(3),Le=Qe-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 Qe=Ne.length,Le=Qe%4,Ge=(Qe>0?ie[Ne.charAt(0)]<<18:0)|(Qe>1?ie[Ne.charAt(1)]<<12:0)|(Qe>2?ie[Ne.charAt(2)]<<6:0)|(Qe>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(Qe){return Qe=="-"?"+":"/"}).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(Qe){return Qe.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(st,x),de!==void 0&&(ft.exports=de)),{Base64:pe.Base64}})},81626:function(ft,st){"use strict";st.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,st){"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},st.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,st,ee){"use strict";ft.exports=ee(46762)},64217:function(ft,st,ee){"use strict";ee.d(st,{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,st,ee){"use strict";Object.defineProperty(st,"__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(Qe){a.scrollComponent=Qe,he&&he(Qe)};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},st.default=ze,ft.exports=st.default},246:function(ft,st,ee){ft.exports=ee(57761)},95742:function(ft,st,ee){"use strict";ee.d(st,{JN:function(){return At},Rp:function(){return te},W8:function(){return Qt}});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(rn,Xt){this.refs[rn]||(this.refs[rn]=[]),this.refs[rn].push(Xt)}},{key:"remove",value:function(rn,Xt){var $e=this.getIndex(rn,Xt);$e!==-1&&this.refs[rn].splice($e,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var rn=this;return this.refs[this.active.collection].find(function(Xt){var $e=Xt.node;return $e.sortableInfo.index==rn.active.index})}},{key:"getIndex",value:function(rn,Xt){return this.refs[rn].indexOf(Xt)}},{key:"getOrderedRefs",value:function(){var rn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[rn].sort(z)}}]),Ot}();function z(Ot,bt){var rn=Ot.node.sortableInfo.index,Xt=bt.node.sortableInfo.index;return rn-Xt}function te(Ot,bt,rn){return Ot=Ot.slice(),Ot.splice(rn<0?Ot.length+rn:rn,0,Ot.splice(bt,1)[0]),Ot}function ne(Ot,bt){return Object.keys(Ot).reduce(function(rn,Xt){return bt.indexOf(Xt)===-1&&(rn[Xt]=Ot[Xt]),rn},{})}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(rn){Ot.style[rn]=bt[rn]})}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,rn){return Math.max(Ot,Math.min(rn,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 rn=bt.displayName||bt.name;return rn?"".concat(Ot,"(").concat(rn,")"):Ot}function Qe(Ot,bt){var rn=Ot.getBoundingClientRect();return{top:rn.top+bt.top,left:rn.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 rn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(Ot){var Xt={left:rn.left+Ot.offsetLeft,top:rn.top+Ot.offsetTop};return Ot.parentNode===bt?Xt:He(Ot.parentNode,bt,Xt)}}function Ke(Ot,bt,rn){return Ot<rn&&Ot>bt?Ot-1:Ot>rn&&Ot<bt?Ot+1:Ot}function qe(Ot){var bt=Ot.lockOffset,rn=Ot.width,Xt=Ot.height,$e=bt,Re=bt,Ln="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),Ln=xe[1]}return y()(isFinite($e)&&isFinite(Re),"lockOffset value should be a finite. Given %s",bt),Ln==="%"&&($e=$e*rn/100,Re=Re*Xt/100),{x:$e,y:Re}}function lt(Ot){var bt=Ot.height,rn=Ot.width,Xt=Ot.lockOffset,$e=Array.isArray(Xt)?Xt:[Xt,Xt];y()($e.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",Xt);var Re=(0,de.Z)($e,2),Ln=Re[0],xe=Re[1];return[qe({height:bt,lockOffset:Ln,width:rn}),qe({height:bt,lockOffset:xe,width:rn})]}function mt(Ot){var bt=window.getComputedStyle(Ot),rn=/(auto|scroll)/,Xt=["overflow","overflowX","overflowY"];return Xt.find(function($e){return rn.test(bt[$e])})}function Vt(Ot){return Ot instanceof HTMLElement?mt(Ot)?Ot:Vt(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},yt={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function Lt(Ot){var bt="input, textarea, select, canvas, [contenteditable]",rn=Ot.querySelectorAll(bt),Xt=Ot.cloneNode(!0),$e=(0,b.Z)(Xt.querySelectorAll(bt));return $e.forEach(function(Re,Ln){if(Re.type!=="file"&&(Re.value=rn[Ln].value),Re.type==="radio"&&Re.name&&(Re.name="__sortableClone__".concat(Re.name)),Re.tagName===yt.Canvas&&rn[Ln].width>0&&rn[Ln].height>0){var xe=Re.getContext("2d");xe.drawImage(rn[Ln],0,0)}}),Xt}function ct(Ot){var bt,rn,Xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return rn=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(Xt.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=Xt.withRef?"wrappedInstance":null;return createElement(Ot,_extends({ref:xe},this.props))}}]),Re}(Component),_defineProperty(bt,"displayName",Ne("sortableHandle",Ot)),rn}function Ft(Ot){return Ot.sortableHandle!=null}var jt=function(){function Ot(bt,rn){(0,De.Z)(this,Ot),this.container=bt,this.onScrollCallback=rn}return(0,we.Z)(Ot,[{key:"clear",value:function(){this.interval!=null&&(clearInterval(this.interval),this.interval=null)}},{key:"update",value:function(rn){var Xt=this,$e=rn.translate,Re=rn.minTranslate,Ln=rn.maxTranslate,xe=rn.width,je=rn.height,Ht={x:0,y:0},et={x:1,y:1},Ue={x:10,y:10},Ct=this.container,Pt=Ct.scrollTop,Zt=Ct.scrollLeft,vn=Ct.scrollHeight,Nt=Ct.scrollWidth,Tt=Ct.clientHeight,St=Ct.clientWidth,en=Pt===0,Gt=vn-Pt-Tt===0,mn=Zt===0,Qn=Nt-Zt-St===0;$e.y>=Ln.y-je/2&&!Gt?(Ht.y=1,et.y=Ue.y*Math.abs((Ln.y-je/2-$e.y)/je)):$e.x>=Ln.x-xe/2&&!Qn?(Ht.x=1,et.x=Ue.x*Math.abs((Ln.x-xe/2-$e.x)/xe)):$e.y<=Re.y+je/2&&!en?(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(){Xt.isAutoScrolling=!0;var xn={left:et.x*Ht.x,top:et.y*Ht.y};Xt.container.scrollTop+=xn.top,Xt.container.scrollLeft+=xn.left,Xt.onScrollCallback(xn)},5))}}]),Ot}();function _e(Ot){var bt=Ot.node;return{height:bt.offsetHeight,width:bt.offsetWidth}}function Sn(Ot){var bt=[yt.Input,yt.Textarea,yt.Select,yt.Option,yt.Button];return!!(bt.indexOf(Ot.target.tagName)!==-1||Ce(Ot.target,function(rn){return rn.contentEditable==="true"}))}var wn={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]},Mn={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:_e,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:ha,shouldCancelStart:Sn,transitionDuration:300,useWindowAsScrollContainer:!1},at=Object.keys(wn);function ut(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 rn=Ot()}catch(Xt){return bt(!0,Xt)}return rn&&rn.then?rn.then(bt.bind(null,!1),bt.bind(null,!0)):bt(!1,value)}function At(Ot){var bt,rn,Xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return rn=bt=function($e){(0,We.Z)(Re,$e);function Re(Ln){var xe;return(0,De.Z)(this,Re),xe=(0,ke.Z)(this,(0,ie.Z)(Re).call(this,Ln)),(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 Pt=xe.props.useDragHandle,Zt=Ct.sortableInfo,vn=Zt.index,Nt=Zt.collection,Tt=Zt.disabled;if(Tt||Pt&&!Ce(je.target,Ft))return;xe.manager.active={collection:Nt,index:vn},!Ge(je)&&je.target.tagName===yt.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),Pt={x:xe.position.x-Ct.x,y:xe.position.y-Ct.y},Zt=Math.abs(Pt.x)+Math.abs(Pt.y);xe.delta=Pt,!et&&(!Ue||Zt>=Ue)?(clearTimeout(xe.cancelTimer),xe.cancelTimer=setTimeout(xe.cancel,0)):et&&Zt>=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 pa=Gt.sortableInfo.index,Kt=Ae(Gt),$t=cn(xe.container),qt=xe.scrollContainer.getBoundingClientRect(),sa=Zt({index:pa,node:Gt,collection:mn});if(xe.node=Gt,xe.margin=Kt,xe.gridGap=$t,xe.width=sa.width,xe.height=sa.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=Gt.getBoundingClientRect(),xe.containerBoundingRect=qt,xe.index=pa,xe.newIndex=pa,xe.axis={x:Pt.indexOf("x")>=0,y:Pt.indexOf("y")>=0},xe.offsetEdge=He(Gt,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(Gt)),le(xe.helper,{boxSizing:"border-box",height:"".concat(xe.height,"px"),left:"".concat(xe.boundingClientRect.left-Kt.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(xe.boundingClientRect.top-Kt.top,"px"),width:"".concat(xe.width,"px")}),Qn&&xe.helper.focus(),Nt&&(xe.sortableGhost=Gt,le(Gt,{opacity:0,visibility:"hidden"})),xe.minTranslate={},xe.maxTranslate={},Qn){var ra=en?{top:0,left:0,width:xe.contentWindow.innerWidth,height:xe.contentWindow.innerHeight}:xe.containerBoundingRect,Hn=ra.top,Oa=ra.left,Ta=ra.width,Pr=ra.height,zr=Hn+Pr,Na=Oa+Ta;xe.axis.x&&(xe.minTranslate.x=Oa-xe.boundingClientRect.left,xe.maxTranslate.x=Na-(xe.boundingClientRect.left+xe.width)),xe.axis.y&&(xe.minTranslate.y=Hn-xe.boundingClientRect.top,xe.maxTranslate.y=zr-(xe.boundingClientRect.top+xe.height))}else xe.axis.x&&(xe.minTranslate.x=(en?0:qt.left)-xe.boundingClientRect.left-xe.width/2,xe.maxTranslate.x=(en?xe.contentWindow.innerWidth:qt.left+qt.width)-xe.boundingClientRect.left-xe.width/2),xe.axis.y&&(xe.minTranslate.y=(en?0:qt.top)-xe.boundingClientRect.top-xe.height/2,xe.maxTranslate.y=(en?xe.contentWindow.innerHeight:qt.top+qt.height)-xe.boundingClientRect.top-xe.height/2);vn&&vn.split(" ").forEach(function(Xe){return xe.helper.classList.add(Xe)}),xe.listenerNode=je.touches?Gt: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(Xe){return xe.listenerNode.addEventListener(Xe,xe.handleSortMove,!1)}),re.end.forEach(function(Xe){return xe.listenerNode.addEventListener(Xe,xe.handleSortEnd,!1)})),xe.setState({sorting:!0,sortingIndex:pa}),St&&St({node:Gt,index:pa,collection:mn,isKeySorting:Qn,nodes:xe.manager.getOrderedRefs(),helper:xe.helper},je),Qn&&xe.keyMove(0)},Ct=xe.props,Pt=Ct.axis,Zt=Ct.getHelperDimensions,vn=Ct.helperClass,Nt=Ct.hideSortableGhost,Tt=Ct.updateBeforeSortStart,St=Ct.onSortStart,en=Ct.useWindowAsScrollContainer,Gt=Ht.node,mn=Ht.collection,Qn=xe.manager.isKeySorting,xn=function(){if(typeof Tt=="function"){xe._awaitingUpdateBeforeSortStart=!0;var Un=dt(function(){var pa=Gt.sortableInfo.index;return Promise.resolve(Tt({collection:mn,index:pa,node:Gt,isKeySorting:Qn},je)).then(function(){})},function(pa,Kt){if(xe._awaitingUpdateBeforeSortStart=!1,pa)throw Kt;return Kt});if(Un&&Un.then)return Un.then(function(){})}}();return xn&&xn.then?xn.then(Ue):Ue(xn)}}();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,Pt=Ct.active.collection,Zt=Ct.isKeySorting,vn=xe.manager.getOrderedRefs();xe.listenerNode&&(Zt?(xe.listenerNode.removeEventListener("wheel",xe.handleKeyEnd,!0),xe.listenerNode.removeEventListener("mousedown",xe.handleKeyEnd,!0),xe.listenerNode.removeEventListener("keydown",xe.handleKeyDown)):(re.move.forEach(function(Gt){return xe.listenerNode.removeEventListener(Gt,xe.handleSortMove)}),re.end.forEach(function(Gt){return xe.listenerNode.removeEventListener(Gt,xe.handleSortEnd)}))),xe.helper.parentNode.removeChild(xe.helper),et&&xe.sortableGhost&&le(xe.sortableGhost,{opacity:"",visibility:""});for(var Nt=0,Tt=vn.length;Nt<Tt;Nt++){var St=vn[Nt],en=St.node;St.edgeOffset=null,St.boundingClientRect=null,he(en,null),ve(en,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:Pt,newIndex:xe.newIndex,oldIndex:xe.index,isKeySorting:Zt,nodes:vn},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,Pt=Ct===void 0?{}:Ct,Zt=(0,pe.Z)({},ha,Pt);xe.manager.active&&!xe.manager.isKeySorting||!xe.manager.active&&(!Zt.lift.includes(Ht)||Ue(je)||!xe.isValidSortingTarget(je))||(je.stopPropagation(),je.preventDefault(),Zt.lift.includes(Ht)&&!xe.manager.active?xe.keyLift(je):Zt.drop.includes(Ht)&&xe.manager.active?xe.keyDrop(je):Zt.cancel.includes(Ht)?(xe.newIndex=xe.manager.active.index,xe.keyDrop(je)):Zt.up.includes(Ht)?xe.keyMove(-1):Zt.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(Zt){return Zt.sortableInfo!=null}),Ue=et.sortableInfo,Ct=Ue.index,Pt=Ue.collection;xe.initialFocusedNode=Ht,xe.manager.isKeySorting=!0,xe.manager.active={index:Ct,collection:Pt},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 Pt=Ke(xe.newIndex,xe.prevIndex,xe.index),Zt=Ht.find(function(Qn){var xn=Qn.node;return xn.sortableInfo.index===Pt}),vn=Zt.node,Nt=xe.containerScrollDelta,Tt=Zt.boundingClientRect||Qe(vn,Nt),St=Zt.translate||{x:0,y:0},en={top:Tt.top+St.y-Nt.top,left:Tt.left+St.x-Nt.left},Gt=Ct<Ue,mn={x:Gt&&xe.axis.x?vn.offsetWidth-xe.width:0,y:Gt&&xe.axis.y?vn.offsetHeight-xe.height:0};xe.handleSortMove({pageX:en.left+mn.x,pageY:en.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)}),ut(Ln),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:Vt(xe.container)||xe.container,xe.autoScroller=new jt(xe.scrollContainer,xe.onAutoScroll),Object.keys(xe.events).forEach(function(Ct){return re[Ct].forEach(function(Pt){return xe.container.addEventListener(Pt,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,Pt=je.keyboardSortingTransitionDuration,Zt=Pt===void 0?Ct:Pt,vn=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 en=lt({height:this.height,lockOffset:et,width:this.width}),Gt=(0,de.Z)(en,2),mn=Gt[0],Qn=Gt[1],xn={x:this.width/2-mn.x,y:this.height/2-mn.y},Un={x:this.width/2-Qn.x,y:this.height/2-Qn.y};St.x=be(this.minTranslate.x+xn.x,this.maxTranslate.x-Un.x,St.x),St.y=be(this.minTranslate.y+xn.y,this.maxTranslate.y-Un.y,St.y)}Ht==="x"?St.y=0:Ht==="y"&&(St.x=0),vn&&Zt&&!Nt&&ve(this.helper,Zt),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,Pt=this.manager.getOrderedRefs(),Zt={left:this.offsetEdge.left+this.translate.x+Ue.left,top:this.offsetEdge.top+this.translate.y+Ue.top},vn=this.manager.isKeySorting,Nt=this.newIndex;this.newIndex=null;for(var Tt=0,St=Pt.length;Tt<St;Tt++){var en=Pt[Tt].node,Gt=en.sortableInfo.index,mn=en.offsetWidth,Qn=en.offsetHeight,xn={height:this.height>Qn?Qn/2:this.height/2,width:this.width>mn?mn/2:this.width/2},Un=vn&&Gt>this.index&&Gt<=Nt,pa=vn&&Gt<this.index&&Gt>=Nt,Kt={x:0,y:0},$t=Pt[Tt].edgeOffset;$t||($t=He(en,this.container),Pt[Tt].edgeOffset=$t,vn&&(Pt[Tt].boundingClientRect=Qe(en,Ue)));var qt=Tt<Pt.length-1&&Pt[Tt+1],sa=Tt>0&&Pt[Tt-1];if(qt&&!qt.edgeOffset&&(qt.edgeOffset=He(qt.node,this.container),vn&&(qt.boundingClientRect=Qe(qt.node,Ue))),Gt===this.index){Ht&&(this.sortableGhost=en,le(en,{opacity:0,visibility:"hidden"}));continue}je&&ve(en,je),this.axis.x?this.axis.y?pa||Gt<this.index&&(Zt.left+Ct.left-xn.width<=$t.left&&Zt.top+Ct.top<=$t.top+xn.height||Zt.top+Ct.top+xn.height<=$t.top)?(Kt.x=this.width+this.marginOffset.x,$t.left+Kt.x>this.containerBoundingRect.width-xn.width&&qt&&(Kt.x=qt.edgeOffset.left-$t.left,Kt.y=qt.edgeOffset.top-$t.top),this.newIndex===null&&(this.newIndex=Gt)):(Un||Gt>this.index&&(Zt.left+Ct.left+xn.width>=$t.left&&Zt.top+Ct.top+xn.height>=$t.top||Zt.top+Ct.top+xn.height>=$t.top+Qn))&&(Kt.x=-(this.width+this.marginOffset.x),$t.left+Kt.x<this.containerBoundingRect.left+xn.width&&sa&&(Kt.x=sa.edgeOffset.left-$t.left,Kt.y=sa.edgeOffset.top-$t.top),this.newIndex=Gt):Un||Gt>this.index&&Zt.left+Ct.left+xn.width>=$t.left?(Kt.x=-(this.width+this.marginOffset.x),this.newIndex=Gt):(pa||Gt<this.index&&Zt.left+Ct.left<=$t.left+xn.width)&&(Kt.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=Gt)):this.axis.y&&(Un||Gt>this.index&&Zt.top+Ct.top+xn.height>=$t.top?(Kt.y=-(this.height+this.marginOffset.y),this.newIndex=Gt):(pa||Gt<this.index&&Zt.top+Ct.top<=$t.top+xn.height)&&(Kt.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=Gt))),he(en,Kt),Pt[Tt].translate=Kt}this.newIndex==null&&(this.newIndex=this.index),vn&&(this.newIndex=Nt);var ra=vn?this.prevIndex:Nt;et&&this.newIndex!==ra&&et({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:ra,isKeySorting:vn,nodes:Pt,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return y()(Xt.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(Xt.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var xe=Xt.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",Mn),(0,Te.Z)(bt,"propTypes",wn),(0,Te.Z)(bt,"childContextTypes",{manager:me().object.isRequired}),rn}var Et={index:me().number.isRequired,collection:me().oneOfType([me().number,me().string]),disabled:me().bool},gt=Object.keys(Et);function Qt(Ot){var bt,rn,Xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return rn=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()(Xt.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=Xt.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}),rn}},25510:function(ft){"use strict";ft.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgWEd4l2WNsYEwMkIYCQnYkQYhZvQYzUgzPdM908/qet26z/2+k3/ee6u6qrtrpkciOiqr/vvnn3ny5MmTJ0+efPz510ajUSMdukMO3CIcqN8i5TgsxiEHggOHAn0oCLcUBw4F+paqzsPCHAr0oQzcUhw4FOhbqjoPC3Mo0IcycEtx4FCgb6nqPCzMoUAfysAtxYFDgb6lqvOwMIcCfSgDtxQHDgX6lqrOw8IcCvShDNxSHDgU6FuqOg8LcyjQhzJwS3HgUKBvqeo8LMyhQB/KwC3FgUOBvqWq87AwhwJ9KAO3FAcOBfqWqs7DwhwK9KEM3FIcOBToW6o6DwtzKNCHMnBLceBQoG+p6jwszKFAH8rALcWBQ4G+parzsDCHAn0oA7cUB5pf6tJ85PmtRwbL7btGKY3mUj6VbDBIaThItepxTGK9kQDLrkY8h5jxPEiNxs7TzHrdVAvYBnGAR+wYBOR7OPOb4B8DV6mn01RxBoW3O8YmjsXUGNU2t7/w2uPzHxtHHHq+aByofSnPtvu1Mxs/NN9q/WR9ptVq9VNqDYapV0upFhc/O1yR5enwIRI9DPiU6txrSHmNMBEIr9TxVCOO+Bt34JGIsSMfWlDgFH8hJeKH8UuKVCe8Naqn+Vq9MzMc/OcPHmn9yhjFoeeLwoEvmYb+yOnUPtdpfXertd1qbnXSTL2JoIziopU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H1TxUA4sBjIijZz/AHqAE6B+UKlsKx4rjce0gq6jgY5UiFgoRORHuzypCFIkTQBLHOV/tZFSmJKxIXlveS/yVwgev9ViMvgAoIuFH8rCUWM+pH/8EUqEt1IFCq0QADZTLPSokmQnC1ylpMT+76P/AB81iEDKSRdjz6umY/dGFNC+191hLOT/ANq70XkD+acvGQ2Qk5PB+Lme+FR89jzYqURhhEZMJ0mE42v+lM5BBcOFPzRaePag5L4/9WVr8YUxRY7/AMKQH7I/1QJoNREf/wAA1uAyCrQfJJPzQgcCIU/zSoU+SgYn41QiPxoeKS0fn/dYP91JJ/ko0ftUDL7NXkoLov8AdViuZJvZKfcTWgeQNIjFyFhzv8chScx5/wBWosYw/wCnZkynIS/m+4C3eHlqSzUEIgI//gj7DyhZLC+0NkhTIKUCXKe0/pV//wAFBIgR1f8AEKN6qX/qKK0Acv8ANBwqHhrAqgVAOQV/CbB8YoDiACdJM/8A2J//2Q=="},36459:function(ft,st,ee){"use strict";ee.d(st,{Z:function(){return x}});function x(de){if(de==null)throw new TypeError("Cannot destructure "+de)}}}]);
|
|
}()); |